mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 21:03:19 +00:00
WP14: Create main-new.ts and cli-new.ts using AgentSession and new modes
This commit is contained in:
parent
7890fb836a
commit
e9f6de7cb8
3 changed files with 1274 additions and 10 deletions
|
|
@ -1390,16 +1390,16 @@ npx tsx src/cli-new.ts # interactive mode
|
|||
3. Manual test: `npx tsx src/cli-new.ts --mode json "hello"` works
|
||||
4. Manual test: `npx tsx src/cli-new.ts --mode rpc` works
|
||||
|
||||
- [ ] Copy main.ts to main-new.ts
|
||||
- [ ] Remove `runSingleShotMode()` from main-new.ts
|
||||
- [ ] Remove `runRpcMode()` from main-new.ts
|
||||
- [ ] Remove `executeRpcBashCommand()` from main-new.ts
|
||||
- [ ] Import and use `runPrintMode` from modes
|
||||
- [ ] Import and use `runRpcMode` from modes
|
||||
- [ ] Create `AgentSession` in main()
|
||||
- [ ] Update mode routing to use new functions
|
||||
- [ ] Create cli-new.ts
|
||||
- [ ] Verify with `npm run check`
|
||||
- [x] Copy main.ts to main-new.ts
|
||||
- [x] Remove `runSingleShotMode()` from main-new.ts
|
||||
- [x] Remove `runRpcMode()` from main-new.ts
|
||||
- [x] Remove `executeRpcBashCommand()` from main-new.ts
|
||||
- [x] Import and use `runPrintMode` from modes
|
||||
- [x] Import and use `runRpcMode` from modes
|
||||
- [x] Create `AgentSession` in main()
|
||||
- [x] Update mode routing to use new functions
|
||||
- [x] Create cli-new.ts
|
||||
- [x] Verify with `npm run check`
|
||||
- [ ] Manual test all three modes via cli-new.ts
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue