@x-otto/runtime 0.0.1-alpha.0 → 0.0.1-alpha.10

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/README.md CHANGED
@@ -63,13 +63,14 @@ runtime.hookRegistry.register(defineHook({
63
63
  | Field | Default | Description |
64
64
  |-------|---------|-------------|
65
65
  | `workspaceDir` | `process.cwd()` | Workspace root |
66
- | `providerRegistry` | `createDefaultProviderRegistry()` | LLM provider registry |
66
+ | `providerRegistry` | `createProviderRegistry()` | LLM provider registry (empty registry; providers loaded by host plugins) |
67
67
  | `hookRegistry` | `createHookRegistry({preset:'default'})` | Hook container |
68
68
  | `clock` | system clock | Deterministic clock (replay feed) |
69
69
  | `traceStore` | `MemoryAppendLog` | Trace storage backend |
70
70
  | `checkpointStore` | `MemoryAppendLog` | Checkpoint storage backend |
71
71
  | `memory` | `undefined` | Auto memory compression port |
72
72
  | `maxSessions` | env `SESSION_MAX`(50) | Session pool capacity |
73
+ | `idleTimeoutMs` | env `SESSION_IDLE_TIMEOUT_MS` | Idle session timeout |
73
74
  | `storage` | `{kind:'in-memory'}` | Persistence backend (disk/remote/custom) |
74
75
 
75
76
  ### `AgentRuntime`
@@ -86,7 +87,7 @@ runtime.hookRegistry.register(defineHook({
86
87
 
87
88
  ### `RUNTIME_DEFAULTS`
88
89
 
89
- Single source of truth for cross-layer defaults: `{ maxToolTurns: 25 }` (references `ENGINE_DEFAULTS`).
90
+ Single source of truth for cross-layer defaults: `{ maxToolTurns: 120 }` (references `ENGINE_DEFAULTS` from `@x-otto/agent`).
90
91
 
91
92
  ### Process & Fleet Governance
92
93
 
@@ -98,7 +99,7 @@ Single source of truth for cross-layer defaults: `{ maxToolTurns: 25 }` (referen
98
99
 
99
100
  ## Dependencies
100
101
 
101
- - Internal: `@x-otto/agent`, `@x-otto/ai`, `@x-otto/devtools`, `@x-otto/env`, `@x-otto/hooks`, `@x-otto/persistence`, `@x-otto/prompt`, `@x-otto/session`, `@x-otto/session-contract`, `@x-otto/shared`
102
+ - Internal: `@x-otto/agent`, `@x-otto/ai`, `@x-otto/devtools`, `@x-otto/env`, `@x-otto/hooks`, `@x-otto/interchange`, `@x-otto/persistence`, `@x-otto/prompt`, `@x-otto/session`, `@x-otto/session-contract`, `@x-otto/shared`
102
103
  - External: `node:crypto`, `node:fs/promises`, `node:path`, `node:child_process`
103
104
 
104
105
  ## Related