[bug] @step-cli/agent-sdk 未加入构建管线

Open Beginner friendly
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
node.js, typescript

Research direction

Start by running pnpm build:packages and inspect the workspace build configuration for how packages/agent-sdk is included. Check extensions/realtime-voice/src/bridge/coding-bridge.ts and then run pnpm build; done means packages/agent-sdk/dist/ contains build output and the unresolved import warning is gone.

Written by the indexing model from the issue text.

Description

status/needs-triage type/bug
step-realtime-cli 版本

1.0.0

Node 版本 & OS

Fedora44 node.js v24.16.0

复现步骤
  1. 在项目根目录执行 pnpm build:packages
  2. 查看 packages/agent-sdk/dist/ — 目录不存在
  3. 执行 pnpm build
  4. 观察输出,可见 warning: Could not resolve '@step-cli/agent-sdk' in extensions/realtime-voice/src/bridge/coding-bridge.ts
期望行为

pnpm build:packages 应构建所有 workspace 包,包括 @step-cli/agent-sdkpackages/agent-sdk/dist/ 应包含构建产物,pnpm build 不应有 unresolved import warning

实际行为

packages/agent-sdk/dist/ 不存在,pnpm build 产生 unresolved import warning。任何使用标准 Node 解析(非 tsconfig paths)的外部工具无法正确引用该包。当前依赖 tsconfig paths + tsdown 的 noExternal 内联才在最终 bundle 中正常工作

日志 / 堆栈

截图(可选)

No response

自检
  • 我已搜索 existing issues,确认这不是重复问题
  • 我已阅读 CONTRIBUTING.md
Dominant language
TypeScript
Stars
54
Forks
20
Avg merge
2h 58m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stepfun-ai/Step-Code

All issues in stepfun-ai/Step-Code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.