refactor(plugin): update atlas references

Update plugin handlers, commands, and integration points to use 'atlas' agent name. Start-work command and config handler now reference 'atlas'.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
justsisyphus
2026-01-20 15:55:09 +09:00
parent 1224b93f5a
commit a2c3a48cfe
7 changed files with 29 additions and 15 deletions
+1 -1
View File
@@ -569,7 +569,7 @@ export function createSisyphusOrchestratorHook(
}
if (!isCallerOrchestrator(sessionID)) {
log(`[${HOOK_NAME}] Skipped: last agent is not orchestrator-sisyphus`, { sessionID })
log(`[${HOOK_NAME}] Skipped: last agent is not atlas`, { sessionID })
return
}
+2 -2
View File
@@ -379,7 +379,7 @@ describe("start-work hook", () => {
})
describe("session agent management", () => {
test("should update session agent to orchestrator-sisyphus when start-work command is triggered", async () => {
test("should update session agent to atlas when start-work command is triggered", async () => {
// #given
const updateSpy = spyOn(sessionState, "updateSessionAgent")
@@ -395,7 +395,7 @@ describe("start-work hook", () => {
)
// #then
expect(updateSpy).toHaveBeenCalledWith("ses-prometheus-to-sisyphus", "orchestrator-sisyphus")
expect(updateSpy).toHaveBeenCalledWith("ses-prometheus-to-sisyphus", "atlas")
updateSpy.mockRestore()
})
})
+1 -1
View File
@@ -71,7 +71,7 @@ export function createStartWorkHook(ctx: PluginInput) {
sessionID: input.sessionID,
})
updateSessionAgent(input.sessionID, "orchestrator-sisyphus")
updateSessionAgent(input.sessionID, "atlas")
const existingState = readBoulderState(ctx.directory)
const sessionId = input.sessionID