Use cli for all operations instead of the API
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
首先定位当前重新实现 workspace 更新和其他 API 行为的插件操作,然后检查如何调用 CLI。确定涵盖所有插件的范围,并验证 CLI 失败会将 stderr 暴露为错误消息;该 issue 尚未解决 API 层替代方案。
由索引模型根据 Issue 内容生成。
描述
We have to re-implement logic (like updating a workspace before starting it) and it would be better to just call out to the cli since it already accounts for all that.
It is a lot of surface area to cover (every plugin) any time a feature is added.
If the command errors, show whatever is in stderr as the error message.
An alternative would be to handle these things at the API layer, and maybe there is a case to be made for that.
- 主要语言
- TypeScript
- 星标
- 131
- 派生
- 48
- 平均合并
- 4 天 15 小时
- 30 天内合并 PR
- 17
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/vscode-coder 的其他 Issue
-
coder/vscode-coder#1125 · 1 条评论 · 已指派 1 人 ·
-
tech-debt
coder/vscode-coder#1119 · 1 条评论 · 已指派 1 人 ·
-
enhancement tech-debt
难度 3/5 1-2 天 新手友好度 74/100
coder/vscode-coder#1118 · 1 条评论 ·
-
coder/vscode-coder#1113 · 3 条评论 · 已指派 1 人 ·
-
enhancement tech-debt
难度 5/5 一周以上 新手友好度 45/100
coder/vscode-coder#1112 · 1 条评论 ·
查看 coder/vscode-coder 的全部 Issue
相似的 Issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100