|
1 | 1 | # ACP TODO |
2 | 2 |
|
3 | | -- [ ] Expose more ACP session lifecycle methods in [client.ts](/Users/raunak/Documents/GitHub/Acode/src/lib/acp/client.ts): `loadSession`, `authenticate`, `setSessionMode`, `setSessionConfigOption`, `unstable_resumeSession`, `unstable_listSessions`, and `unstable_forkSession`. |
4 | | -- [ ] Handle the remaining ACP session update types in [session.ts](/Users/raunak/Documents/GitHub/Acode/src/lib/acp/session.ts): `agent_thought_chunk`, `available_commands_update`, `current_mode_update`, `config_option_update`, `session_info_update`, and `usage_update`. |
5 | | -- [ ] Add ACP authentication flow to the UI in [acp.js](/Users/raunak/Documents/GitHub/Acode/src/pages/acp/acp.js), including `authMethods` handling and auth-required error flow. |
6 | | -- [ ] Implement client-side ACP `fs/*` handlers and register them from the ACP page or a dedicated integration layer. |
| 3 | +- [x] Expose the shipped ACP session lifecycle methods in [client.ts](/Users/raunak/Documents/GitHub/Acode/src/lib/acp/client.ts): `loadSession`, `authenticate`, `setSessionMode`, `setSessionModel`, `setSessionConfigOption`, and `unstable_listSessions`. |
| 4 | +- [ ] Expose the remaining unstable ACP lifecycle methods in [client.ts](/Users/raunak/Documents/GitHub/Acode/src/lib/acp/client.ts): `unstable_resumeSession` and `unstable_forkSession`. |
| 5 | +- [ ] Handle the remaining ACP session update types in [session.ts](/Users/raunak/Documents/GitHub/Acode/src/lib/acp/session.ts): `agent_thought_chunk`, `available_commands_update`, `session_info_update`, and `usage_update`. |
| 6 | +- [x] Add ACP authentication flow to the UI in [acp.js](/Users/raunak/Documents/GitHub/Acode/src/pages/acp/acp.js), including `authMethods` handling, auth-required retries, and auth URL fallbacks. |
| 7 | +- [ ] Investigate the provider-specific ChatGPT ACP auth hang where `authenticate(methodId: "chatgpt")` does not send any follow-up ACP response or extension traffic. |
| 8 | +- [x] Implement client-side ACP `fs/*` handlers and register them from the ACP page. |
7 | 9 | - [ ] Implement client-side ACP `terminal/*` handlers and register them from the ACP page or a dedicated integration layer. |
8 | | -- [ ] Expand the ACP prompt composer beyond text-only prompts to support images, audio, embedded resources, and resource links where supported by agent capabilities. |
9 | | -- [ ] Add session persistence/resume UI so the ACP page is not limited to `session/new` on every connect. |
10 | | -- [ ] Surface more ACP metadata in the UI: current mode, config options, usage/token stats, session info, and available commands. |
| 10 | +- [x] Expand the ACP prompt composer beyond text-only prompts to support images, audio, and resource links where supported by agent capabilities. |
| 11 | +- [x] Add basic session persistence/resume UI via ACP history and `loadSession`. |
| 12 | +- [ ] Surface more ACP metadata in the UI: usage/token stats, session info, and available commands. |
11 | 13 | - [ ] Consider whether ACP transport should remain WebSocket-only or support additional transport types. |
12 | | -- [ ] Add runtime verification against a real ACP server, not just TypeScript validation. |
| 14 | +- [ ] Add broader runtime verification against real ACP servers, especially terminal flows and provider-specific auth variants. |
0 commit comments