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.
@@ -58,7 +58,7 @@ constraints:
58
58
  max: 8
59
59
 
60
60
  error_handling:
61
- agent_timeout_seconds: 120
61
+ agent_timeout_seconds: 3600 # Strategic deliberations can legitimately run 2-60 minutes per agent turn
62
62
  retry_policy:
63
63
  max_retries: 2
64
64
  backoff: exponential
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aos-harness",
3
- "version": "0.8.4",
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.4",
42
- "@aos-harness/runtime": "0.8.4",
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.4 <1.0.0",
50
- "@aos-harness/codex-adapter": ">=0.8.4 <1.0.0",
51
- "@aos-harness/gemini-adapter": ">=0.8.4 <1.0.0",
52
- "@aos-harness/pi-adapter": ">=0.8.4 <1.0.0"
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": {
@@ -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);
@@ -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
  }