cli: managed source service misses the TUI JSX runtime
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 69/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- bun, react, typescript
调研方向
先检查报告中提到的 TSX 配置入口:tui/src/config/index.tsx 和 tui/src/config/v1/index.tsx,然后检查它们的 TypeScript 配置和托管服务启动路径。使用 Bun 1.4.2,在 v2 分支上通过 bun dev .. 复现问题。完成标准是服务注册时没有 react/jsx-dev-runtime 错误,同时根命令保留其 Node 端 AWS 凭证行为。
由索引模型根据 Issue 内容生成。
描述
Description
On the v2 source checkout, bun dev .. starts the managed background service from the requested project directory. Bun then compiles the TUI config TSX entrypoints without packages/tui/tsconfig.json, falls back to react/jsx-dev-runtime, and exits before registering the service.
The earlier report #41324 proposed preserving --conditions=browser, but the root dev command intentionally dropped that condition in #47436 for Node-side AWS credential resolution. The config entrypoints need to declare their own @opentui/solid JSX runtime instead.
Plugins
None required to reproduce.
OpenCode version
v2 at 4617210822bdbb31e5749751afbfb4584ccedac8
Steps to reproduce
- Check out the v2 branch on Windows.
- Install with the pinned Bun 1.4.2.
- Run
bun dev ... - The background service exits with
Cannot find module react/jsx-dev-runtimefrompackages/tui/src/config/index.tsxorpackages/tui/src/config/v1/index.tsx.
Screenshot
No response.
Operating System
Windows 11 x64
Terminal
PowerShell 7
- 主要语言
- TypeScript
- 星标
- 221k
- 派生
- 29.6k
- 平均合并
- 4 小时 53 分钟
- 30 天内合并 PR
- 506
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#59589 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 61/100
anomalyco/opencode#59557 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
anomalyco/opencode#59302 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
anomalyco/opencode#59052 · 2 条评论 ·
维护者通常 1 天内回复
-
auth list hides subpath identity and shows duplicate rows for distinct auth records可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#59040 · 1 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
comp/desktop desktop/shell os/windows P3 tool/file type/bug
难度 2/5 1-3 小时 新手友好度 76/100
NousResearch/hermes-agent#145928 ·
维护者通常 1 天内回复
-
compiler-dom: stringifyStatic renders :disabled="0" as a present attribute可能已有人在做 @DaZuiZui 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 74/100
-
integration:coding-agents
难度 1/5 1 小时以内 新手友好度 83/100
vectorize-io/hindsight#6151 ·
维护者通常 1 天内回复
-
DogFooding
难度 1/5 1 小时以内 新手友好度 88/100
OpenAEV-Platform/openaev#8768 ·
维护者通常 1 天内回复