fix(agents): use lowercase agent names in API calls

- atlas/index.ts: agent: 'Atlas' -> 'atlas'
- start-work/index.ts: updateSessionAgent(..., 'Atlas') -> 'atlas'
- builtin-commands/commands.ts: agent: 'Atlas' -> 'atlas'
- Updated tests to match lowercase convention
This commit is contained in:
justsisyphus
2026-01-24 02:39:12 +09:00
parent 1c562a95d5
commit 7ed7bf5c66
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ export function createAtlasHook(
await ctx.client.session.prompt({
path: { id: sessionID },
body: {
agent: "Atlas",
agent: "atlas",
...(model !== undefined ? { model } : {}),
parts: [{ type: "text", text: prompt }],
},