@todoforai/cli 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/todoforai-cli.js +5792 -392
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -67,6 +67,38 @@ todoforai-cli -c # continue most recent todo
|
|
|
67
67
|
todoforai-cli --resume <todo-id> # resume specific todo
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
## IDE integration (ACP)
|
|
71
|
+
|
|
72
|
+
`todoforai-cli acp` speaks the [Agent Client Protocol](https://agentclientprotocol.com) over stdio, so any ACP-capable editor can drive your agent: prompts from the editor chat, file edits as native diffs, permission prompts inline, and shell commands running on your machine through the bridge. One ACP thread = one todo. Requires `todoforai-cli login` first; `--isolated` / `--user-id` are not supported in this mode.
|
|
73
|
+
|
|
74
|
+
**Zed** — `~/.config/zed/settings.json`:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"agent_servers": {
|
|
79
|
+
"TODOforAI": { "type": "custom", "command": "todoforai-cli", "args": ["acp"] }
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Then open the Agent panel → `+` → **TODOforAI**.
|
|
85
|
+
|
|
86
|
+
**JetBrains (IntelliJ, PyCharm, WebStorm… 2025.2+)** — AI Chat → `⋮` → **Add Custom Agent**, which opens `~/.jetbrains/acp.json`:
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"agent_servers": {
|
|
91
|
+
"TODOforAI": { "command": "todoforai-cli", "args": ["acp"] }
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Pick **TODOforAI** from the agent dropdown in AI Chat.
|
|
97
|
+
|
|
98
|
+
**VS Code** — no built-in ACP client yet; install a community ACP client extension (e.g. [`strato-space.acp-plugin`](https://marketplace.visualstudio.com/items?itemName=strato-space.acp-plugin)) and add the same `agent_servers` entry to `settings.json`.
|
|
99
|
+
|
|
100
|
+
`--agent`, `--project` and `--api-url` apply to `acp` as well (e.g. `"args": ["acp", "--agent", "backend"]`). If `todoforai-cli` is not on the editor's `PATH`, use its absolute path (`which todoforai-cli`).
|
|
101
|
+
|
|
70
102
|
## All Options
|
|
71
103
|
|
|
72
104
|
```
|