Repository navigation
t3 thread: add archive, settle, and delete subcommands
#27428
Replies: 1 comment
|
We built this (and a bit past it) on a fork, so consolidating here rather than in a second thread — I opened #27972 a day after this one before finding it. Branch: https://github.com/dmitryrechkin/t3code/tree/feat/plat-240-cli-commands (on top of What it does, and how it maps to the tools that already exist:
On delete: I left it out for the reason you give — no MCP tool exposes One small server change came with it: Focused tests: 34 in Not upstreamed yet — waiting on approval, per CONTRIBUTING. |
Uh oh!
There was an error while loading. Please reload this page.
t3 threadcanlist/start/send/show, so scripts and outside orchestrators can create threads but can't clean them up. Bots that run many jobs leave dozens of finished threads behind (see also #27117, one auth session per call).cli/thread.tsalready opens an MCP session to/mcp, andt3_thread_organizesupportssettle | archive | unarchive(and pin/snooze). Proposal:The first three map directly to
t3_thread_organize. Delete currently has no MCP tool (only thethread.deleteorchestration command), so this needs either at3_thread_deletetool (or adeleteaction) requiringorchestration:operate, or delete stays out of scope. Exit non-zero on active turns, consistent with #23451. Settle/archive of an active thread should error instead of breaking the turn (#15135).All reactions