CLI: add --mode to `t3 thread send` (auto | queue | steer | restart)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- cli
调研方向
从 threadSendCommand(位于 apps/server/src/cli/thread.ts)开始,追踪它如何调用 t3_thread_send 并处理 --wait。添加指定的 --mode 标志,保持 queue 为默认值,并传递所选的模式。完成标准是四种模式均可用,且 --wait 仍会等待返回的 runId。
由索引模型根据 Issue 内容生成。
描述
t3_thread_send accepts mode: "auto" | "queue" | "steer" | "restart", but t3 thread send always sends mode: "queue" (apps/server/src/cli/thread.ts, threadSendCommand). Scripts that drive T3 from outside can therefore only queue a new turn; they cannot steer a running one.
Use case. We bridge Slack threads to T3 threads: a daemon runs t3 thread send <id> --wait - for each new message in a bound Slack thread. When someone adds a correction while the agent is mid-turn ("actually, check staging, not prod"), queueing makes the agent finish the wrong turn first. auto (start if idle, steer if running) is the behaviour we want, and the server already implements it.
Proposal. A --mode <auto|queue|steer|restart> flag on t3 thread send, defaulting to queue so current behaviour is unchanged, passed through to t3_thread_send. With --wait, wait on the runId the send returns (for steer that is the running turn), as today.
Related: #29863 (--effort on start/send).
- 主要语言
- TypeScript
- 星标
- 24.8k
- 派生
- 6.4k
- 平均合并
- 20 小时 2 分钟
- 30 天内合并 PR
- 164
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
pingdotgg/t3code#31718 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug]: Redesign tab bars ignore clicks on Linux: hidden chat layers keep window drag regions可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
[Bug]: Opening a file on Windows spawns powershell -EncodedCommand, which AVG and Avast block as malware可能已有人在做 @juliusmarminge 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
pingdotgg/t3code#30954 · 1 条评论 ·
维护者通常 1 天内回复
-
needs more info
难度 2/5 1-3 小时 新手友好度 79/100
pingdotgg/t3code#30685 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
ArcGIS Maps SDK for JavaScript c-carousel calcite-design-tokens enhancement impact - p3 - not time sensitive needs triage
难度 2/5 1-3 小时 新手友好度 68/100
Esri/calcite-design-system#15565 ·
维护者通常 1 天内回复
-
customer-reported question
难度 2/5 1-3 小时 新手友好度 66/100
Azure/azure-rest-api-specs#48017 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/TypeScript#65370 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
ts-graphviz/ts-graphviz#1904 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复