Skip to content

chore: set up Cloud Agent development environment - #4

Draft
jamiesun wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-2cdd
Draft

chore: set up Cloud Agent development environment#4
jamiesun wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-2cdd

Conversation

@jamiesun

Copy link
Copy Markdown
Contributor

目的

为 Cloud Agent 配置 LexSource 的开发环境,验证可以跑 lint/test、灌数据、启动应用并完成一次端到端操作。

变更

  • AGENTS.md:新增 ## Cursor Cloud specific instructions,记录 Bun 运行时来源、bun test 是唯一校验闸门(tsc --noEmit 的测试文件类型噪声不作门禁)、var/ 需先 ingest-fixtures 灌数据、以及端到端手工验证路径。
  • 未改动任何业务代码。

环境配置

  • Bun 1.3.14(与 CI oven-sh/setup-bun 对齐),装在 ~/.bun 并软链到 /usr/local/bin/bun,由 VM 快照保留。
  • Update script:bun install --frozen-lockfile

验证结果

步骤 命令 结果
安装依赖 bun install --frozen-lockfile 56 packages installed
测试 bun test 42 pass / 0 fail(9 文件)
灌数据 bun src/cli.ts ingest-fixtures ingested 3 / failed 0
启动 bun --hot src/server.ts http://127.0.0.1:8787 健康 {"ok":true,"items":3}
Hello World E2E POST /api/intel/ingest → 查可投标 → 导出 Markdown 新标讯 verified、进入可投标列表、Markdown 导出成功

情报台 GUI 演示(加载列表 → 仅可投标过滤 → 详情 → Markdown/Word 导出)已录屏验证通过。

Open in Web Open in Cursor 

Co-authored-by: Jett Wang <jamiesun@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants