refactor(background-agent): normalize task ID field naming
Rename BackgroundTask and attempt ID fields to camelCase across background-agent consumers while moving BackgroundManager construction to a single config object. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -161,8 +161,8 @@ describe("syncPollTimeoutMs threading", () => {
|
||||
}
|
||||
|
||||
const mockManager = {
|
||||
launch: async () => ({ id: "task_001", sessionID: "ses_unstable", status: "running" }),
|
||||
getTask: () => ({ id: "task_001", sessionID: "ses_unstable", status: "running" }),
|
||||
launch: async () => ({ id: "task_001", sessionId: "ses_unstable", status: "running" }),
|
||||
getTask: () => ({ id: "task_001", sessionId: "ses_unstable", status: "running" }),
|
||||
}
|
||||
|
||||
const result = await executeUnstableAgentTask(
|
||||
|
||||
Reference in New Issue
Block a user