aos-harness 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aos-harness",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
4
4
|
"description": "Agentic Orchestration System — assemble AI agents into deliberation and execution teams",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"test": "bun run src/index.ts validate"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@aos-harness/adapter-shared": "0.8.
|
|
42
|
-
"@aos-harness/runtime": "0.8.
|
|
41
|
+
"@aos-harness/adapter-shared": "0.8.5",
|
|
42
|
+
"@aos-harness/runtime": "0.8.5",
|
|
43
43
|
"@clack/prompts": "^1.2.0",
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
45
45
|
"js-yaml": "^4.1.0",
|
|
46
46
|
"yaml": "^2.8.3"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@aos-harness/claude-code-adapter": ">=0.8.
|
|
50
|
-
"@aos-harness/codex-adapter": ">=0.8.
|
|
51
|
-
"@aos-harness/gemini-adapter": ">=0.8.
|
|
52
|
-
"@aos-harness/pi-adapter": ">=0.8.
|
|
49
|
+
"@aos-harness/claude-code-adapter": ">=0.8.5 <1.0.0",
|
|
50
|
+
"@aos-harness/codex-adapter": ">=0.8.5 <1.0.0",
|
|
51
|
+
"@aos-harness/gemini-adapter": ">=0.8.5 <1.0.0",
|
|
52
|
+
"@aos-harness/pi-adapter": ">=0.8.5 <1.0.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@aos-harness/claude-code-adapter": {
|
package/src/adapter-session.ts
CHANGED
|
@@ -65,6 +65,7 @@ export interface AdapterSessionConfig {
|
|
|
65
65
|
* also batched to `${platformUrl}/api/sessions/:id/events`.
|
|
66
66
|
*/
|
|
67
67
|
platformUrl?: string;
|
|
68
|
+
agentTimeoutMs?: number;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
function createStreamingPrinter() {
|
|
@@ -523,6 +524,7 @@ export async function runAdapterSession(config: AdapterSessionConfig): Promise<v
|
|
|
523
524
|
response = await adapter.sendMessage(arbiterHandle, kickoff, {
|
|
524
525
|
extraArgs: mcpArgs,
|
|
525
526
|
onStream: (partial) => printer.push(partial),
|
|
527
|
+
timeoutMs: config.agentTimeoutMs,
|
|
526
528
|
});
|
|
527
529
|
} finally {
|
|
528
530
|
clearInterval(heartbeat);
|
package/src/commands/run.ts
CHANGED
|
@@ -519,6 +519,10 @@ ${c.bold(`AOS ${sessionType} Session`)}
|
|
|
519
519
|
useVendorDefaultModel: runtimeModelConfig.useVendorDefaultModel,
|
|
520
520
|
toolPolicy,
|
|
521
521
|
platformUrl: platformUrl ?? undefined,
|
|
522
|
+
agentTimeoutMs:
|
|
523
|
+
typeof profile.error_handling?.agent_timeout_seconds === "number"
|
|
524
|
+
? profile.error_handling.agent_timeout_seconds * 1000
|
|
525
|
+
: undefined,
|
|
522
526
|
});
|
|
523
527
|
}
|
|
524
528
|
}
|