@zvada/agent-server 0.3.21 → 0.3.23
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/CHANGELOG.md +332 -0
- package/README.md +2 -1
- package/dist/types/accounts/chatgpt.d.ts +1 -1
- package/dist/types/accounts/chatgpt.d.ts.map +1 -1
- package/dist/types/accounts/http.d.ts +2 -4
- package/dist/types/accounts/http.d.ts.map +1 -1
- package/dist/types/client/client.d.ts +37 -11
- package/dist/types/client/client.d.ts.map +1 -1
- package/dist/types/client/connection.d.ts +66 -13
- package/dist/types/client/connection.d.ts.map +1 -1
- package/dist/types/client/index.d.ts +1 -1
- package/dist/types/client/index.d.ts.map +1 -1
- package/dist/types/client/logins.d.ts +4 -3
- package/dist/types/client/logins.d.ts.map +1 -1
- package/dist/types/client/streams.d.ts +9 -3
- package/dist/types/client/streams.d.ts.map +1 -1
- package/dist/types/client/turns.d.ts +1 -1
- package/dist/types/client/turns.d.ts.map +1 -1
- package/dist/types/core/agents/acp/acp-agent.d.ts +34 -1
- package/dist/types/core/agents/acp/acp-agent.d.ts.map +1 -1
- package/dist/types/core/agents/acp/adapter.d.ts.map +1 -1
- package/dist/types/core/agents/acp/client.d.ts +12 -3
- package/dist/types/core/agents/acp/client.d.ts.map +1 -1
- package/dist/types/core/agents/acp/mappings.d.ts +8 -2
- package/dist/types/core/agents/acp/mappings.d.ts.map +1 -1
- package/dist/types/core/agents/base.d.ts +22 -8
- package/dist/types/core/agents/base.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/adapter.d.ts +7 -0
- package/dist/types/core/agents/claude-code/adapter.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/approvals.d.ts +4 -1
- package/dist/types/core/agents/claude-code/approvals.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/claude-agent.d.ts +16 -5
- package/dist/types/core/agents/claude-code/claude-agent.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/events.d.ts +9 -1
- package/dist/types/core/agents/claude-code/events.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/login.d.ts +4 -1
- package/dist/types/core/agents/claude-code/login.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/mcp.d.ts +21 -7
- package/dist/types/core/agents/claude-code/mcp.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/models.d.ts +5 -1
- package/dist/types/core/agents/claude-code/models.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/options.d.ts +10 -4
- package/dist/types/core/agents/claude-code/options.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/outcome.d.ts +3 -5
- package/dist/types/core/agents/claude-code/outcome.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/results.d.ts +16 -0
- package/dist/types/core/agents/claude-code/results.d.ts.map +1 -0
- package/dist/types/core/agents/claude-code/sdk-pair.d.ts +13 -0
- package/dist/types/core/agents/claude-code/sdk-pair.d.ts.map +1 -0
- package/dist/types/core/agents/claude-code/session.d.ts +50 -12
- package/dist/types/core/agents/claude-code/session.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/spend.d.ts +2 -1
- package/dist/types/core/agents/claude-code/spend.d.ts.map +1 -1
- package/dist/types/core/agents/claude-code/tools.d.ts +26 -3
- package/dist/types/core/agents/claude-code/tools.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/adapter.d.ts +2 -2
- package/dist/types/core/agents/codex-app-server/adapter.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/client.d.ts +21 -2
- package/dist/types/core/agents/codex-app-server/client.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/codex-agent.d.ts +61 -14
- package/dist/types/core/agents/codex-app-server/codex-agent.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/commands.d.ts +2 -2
- package/dist/types/core/agents/codex-app-server/commands.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/credentials.d.ts +5 -1
- package/dist/types/core/agents/codex-app-server/credentials.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/effort.d.ts +2 -1
- package/dist/types/core/agents/codex-app-server/effort.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/homes.d.ts +26 -5
- package/dist/types/core/agents/codex-app-server/homes.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/items.d.ts +27 -2
- package/dist/types/core/agents/codex-app-server/items.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/login.d.ts +4 -1
- package/dist/types/core/agents/codex-app-server/login.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/mcp.d.ts +45 -20
- package/dist/types/core/agents/codex-app-server/mcp.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/models.d.ts +3 -10
- package/dist/types/core/agents/codex-app-server/models.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/options.d.ts +32 -5
- package/dist/types/core/agents/codex-app-server/options.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/plan-approval.d.ts +2 -1
- package/dist/types/core/agents/codex-app-server/plan-approval.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/protocol.d.ts +16 -3
- package/dist/types/core/agents/codex-app-server/protocol.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/requests.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/session.d.ts +70 -33
- package/dist/types/core/agents/codex-app-server/session.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/subagents.d.ts +9 -4
- package/dist/types/core/agents/codex-app-server/subagents.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/thread-settings.d.ts +3 -2
- package/dist/types/core/agents/codex-app-server/thread-settings.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/turn-items.d.ts +2 -1
- package/dist/types/core/agents/codex-app-server/turn-items.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/turn.d.ts +37 -8
- package/dist/types/core/agents/codex-app-server/turn.d.ts.map +1 -1
- package/dist/types/core/agents/codex-app-server/user-login.d.ts +28 -0
- package/dist/types/core/agents/codex-app-server/user-login.d.ts.map +1 -0
- package/dist/types/core/agents/credentials.d.ts +3 -1
- package/dist/types/core/agents/credentials.d.ts.map +1 -1
- package/dist/types/core/agents/diffs.d.ts +9 -0
- package/dist/types/core/agents/diffs.d.ts.map +1 -0
- package/dist/types/core/agents/elicitation.d.ts +3 -2
- package/dist/types/core/agents/elicitation.d.ts.map +1 -1
- package/dist/types/core/agents/login.d.ts +6 -0
- package/dist/types/core/agents/login.d.ts.map +1 -1
- package/dist/types/core/agents/mcp-config.d.ts +0 -4
- package/dist/types/core/agents/mcp-config.d.ts.map +1 -1
- package/dist/types/core/agents/plan.d.ts +2 -13
- package/dist/types/core/agents/plan.d.ts.map +1 -1
- package/dist/types/core/agents/process-pool.d.ts +193 -0
- package/dist/types/core/agents/process-pool.d.ts.map +1 -0
- package/dist/types/core/agents/scripted/adapter.d.ts +68 -0
- package/dist/types/core/agents/scripted/adapter.d.ts.map +1 -0
- package/dist/types/core/agents/scripted/mcp-call.d.ts +56 -0
- package/dist/types/core/agents/scripted/mcp-call.d.ts.map +1 -0
- package/dist/types/core/agents/scripted/scripted-agent.d.ts +73 -0
- package/dist/types/core/agents/scripted/scripted-agent.d.ts.map +1 -0
- package/dist/types/core/agents/scripted/scripts.d.ts +29 -0
- package/dist/types/core/agents/scripted/scripts.d.ts.map +1 -0
- package/dist/types/core/agents/scripted/steps.d.ts +132 -0
- package/dist/types/core/agents/scripted/steps.d.ts.map +1 -0
- package/dist/types/core/agents/session-agent.d.ts +49 -6
- package/dist/types/core/agents/session-agent.d.ts.map +1 -1
- package/dist/types/core/diagnostics.d.ts +4 -1
- package/dist/types/core/diagnostics.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +6 -1
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/presets.d.ts +32 -6
- package/dist/types/core/presets.d.ts.map +1 -1
- package/dist/types/core/processes/lifeline.d.ts +0 -20
- package/dist/types/core/processes/lifeline.d.ts.map +1 -1
- package/dist/types/core/provision/index.d.ts +2 -2
- package/dist/types/core/provision/index.d.ts.map +1 -1
- package/dist/types/core/provision/install-build.d.ts +2 -1
- package/dist/types/core/provision/install-build.d.ts.map +1 -1
- package/dist/types/core/provision/npm.d.ts +20 -8
- package/dist/types/core/provision/npm.d.ts.map +1 -1
- package/dist/types/core/provision/provisioner.d.ts +4 -1
- package/dist/types/core/provision/provisioner.d.ts.map +1 -1
- package/dist/types/core/provision/tools.d.ts +2 -1
- package/dist/types/core/provision/tools.d.ts.map +1 -1
- package/dist/types/core/runtime/agent-runtime.d.ts +18 -9
- package/dist/types/core/runtime/agent-runtime.d.ts.map +1 -1
- package/dist/types/core/runtime/event-processor.d.ts +5 -1
- package/dist/types/core/runtime/event-processor.d.ts.map +1 -1
- package/dist/types/core/runtime/harness-clis.d.ts +9 -0
- package/dist/types/core/runtime/harness-clis.d.ts.map +1 -1
- package/dist/types/core/runtime/harness-logins.d.ts +33 -5
- package/dist/types/core/runtime/harness-logins.d.ts.map +1 -1
- package/dist/types/core/runtime/model-lists.d.ts +2 -0
- package/dist/types/core/runtime/model-lists.d.ts.map +1 -1
- package/dist/types/core/runtime/permission-policy.d.ts +5 -3
- package/dist/types/core/runtime/permission-policy.d.ts.map +1 -1
- package/dist/types/core/runtime/request-broker.d.ts +2 -1
- package/dist/types/core/runtime/request-broker.d.ts.map +1 -1
- package/dist/types/core/runtime/turn.d.ts +14 -1
- package/dist/types/core/runtime/turn.d.ts.map +1 -1
- package/dist/types/core/utils/deadline.d.ts +6 -0
- package/dist/types/core/utils/deadline.d.ts.map +1 -1
- package/dist/types/core/utils/errors.d.ts +15 -1
- package/dist/types/core/utils/errors.d.ts.map +1 -1
- package/dist/types/operator/index.d.ts +11 -0
- package/dist/types/operator/index.d.ts.map +1 -0
- package/dist/types/operator/mcp.d.ts +33 -0
- package/dist/types/operator/mcp.d.ts.map +1 -0
- package/dist/types/operator/operator.d.ts +206 -0
- package/dist/types/operator/operator.d.ts.map +1 -0
- package/dist/types/operator/render.d.ts +89 -0
- package/dist/types/operator/render.d.ts.map +1 -0
- package/dist/types/operator/view.d.ts +44 -0
- package/dist/types/operator/view.d.ts.map +1 -0
- package/dist/types/protocol/auth.d.ts +54 -24
- package/dist/types/protocol/auth.d.ts.map +1 -1
- package/dist/types/protocol/clis.d.ts +14 -7
- package/dist/types/protocol/clis.d.ts.map +1 -1
- package/dist/types/protocol/config.d.ts +2 -0
- package/dist/types/protocol/config.d.ts.map +1 -1
- package/dist/types/protocol/conversation.d.ts +40 -3
- package/dist/types/protocol/conversation.d.ts.map +1 -1
- package/dist/types/protocol/credentials.d.ts +7 -0
- package/dist/types/protocol/credentials.d.ts.map +1 -1
- package/dist/types/protocol/execution.d.ts +2 -1
- package/dist/types/protocol/execution.d.ts.map +1 -1
- package/dist/types/protocol/factories.d.ts +12 -2
- package/dist/types/protocol/factories.d.ts.map +1 -1
- package/dist/types/protocol/harness.d.ts +6 -2
- package/dist/types/protocol/harness.d.ts.map +1 -1
- package/dist/types/protocol/history.d.ts +19 -0
- package/dist/types/protocol/history.d.ts.map +1 -1
- package/dist/types/protocol/lifecycle.d.ts +47 -8
- package/dist/types/protocol/lifecycle.d.ts.map +1 -1
- package/dist/types/protocol/model-catalog.d.ts.map +1 -1
- package/dist/types/protocol/models.d.ts +3 -0
- package/dist/types/protocol/models.d.ts.map +1 -1
- package/dist/types/protocol/parts.d.ts +14 -0
- package/dist/types/protocol/parts.d.ts.map +1 -1
- package/dist/types/protocol/plan.d.ts +20 -0
- package/dist/types/protocol/plan.d.ts.map +1 -0
- package/dist/types/protocol/tool-state.d.ts +12 -0
- package/dist/types/protocol/tool-state.d.ts.map +1 -1
- package/dist/types/protocol/wire-api.d.ts +129 -23
- package/dist/types/protocol/wire-api.d.ts.map +1 -1
- package/dist/types/protocol/wire.d.ts +70 -10
- package/dist/types/protocol/wire.d.ts.map +1 -1
- package/dist/types/server/acp/binding.d.ts +6 -1
- package/dist/types/server/acp/binding.d.ts.map +1 -1
- package/dist/types/server/acp/translate.d.ts +33 -7
- package/dist/types/server/acp/translate.d.ts.map +1 -1
- package/dist/types/server/agent-server.d.ts +6 -0
- package/dist/types/server/agent-server.d.ts.map +1 -1
- package/dist/types/server/feedback.d.ts +2 -1
- package/dist/types/server/feedback.d.ts.map +1 -1
- package/dist/types/server/install.d.ts +11 -0
- package/dist/types/server/install.d.ts.map +1 -1
- package/dist/types/server/session-gate.d.ts +2 -1
- package/dist/types/server/session-gate.d.ts.map +1 -1
- package/dist/types/server/session-store.d.ts +1 -0
- package/dist/types/server/session-store.d.ts.map +1 -1
- package/dist/types/server/subscriptions.d.ts +2 -1
- package/dist/types/server/subscriptions.d.ts.map +1 -1
- package/dist/types/server/transports.d.ts.map +1 -1
- package/dist/types/sync/fit.d.ts +8 -7
- package/dist/types/sync/fit.d.ts.map +1 -1
- package/dist/types/sync/history-sqlite.d.ts.map +1 -1
- package/dist/types/sync/index.d.ts +1 -0
- package/dist/types/sync/index.d.ts.map +1 -1
- package/dist/types/sync/journal-sqlite.d.ts +2 -1
- package/dist/types/sync/journal-sqlite.d.ts.map +1 -1
- package/dist/types/sync/journal.d.ts +11 -3
- package/dist/types/sync/journal.d.ts.map +1 -1
- package/dist/types/sync/projection.d.ts +6 -0
- package/dist/types/sync/projection.d.ts.map +1 -1
- package/dist/types/sync/recovery.d.ts +2 -1
- package/dist/types/sync/recovery.d.ts.map +1 -1
- package/dist/types/sync/schema.d.ts +10 -0
- package/dist/types/sync/schema.d.ts.map +1 -1
- package/dist/types/sync/sql.d.ts +2 -1
- package/dist/types/sync/sql.d.ts.map +1 -1
- package/dist/types/sync/worker.d.ts.map +1 -1
- package/docs/consuming.md +464 -40
- package/docs/deploy.md +36 -8
- package/docs/durable-sessions.md +35 -5
- package/docs/harnesses.md +396 -30
- package/package.json +11 -1
- package/src/accounts/chatgpt.ts +2 -2
- package/src/accounts/http.ts +2 -16
- package/src/client/client.ts +92 -31
- package/src/client/connection.ts +113 -22
- package/src/client/index.ts +1 -0
- package/src/client/logins.ts +24 -15
- package/src/client/streams.ts +12 -4
- package/src/client/turns.ts +1 -1
- package/src/core/agents/acp/acp-agent.ts +181 -52
- package/src/core/agents/acp/adapter.ts +9 -1
- package/src/core/agents/acp/client.ts +16 -4
- package/src/core/agents/acp/mappings.ts +27 -0
- package/src/core/agents/base.ts +25 -10
- package/src/core/agents/claude-code/adapter.ts +47 -17
- package/src/core/agents/claude-code/approvals.ts +6 -5
- package/src/core/agents/claude-code/claude-agent.ts +60 -30
- package/src/core/agents/claude-code/events.ts +11 -1
- package/src/core/agents/claude-code/login.ts +14 -2
- package/src/core/agents/claude-code/mcp.ts +31 -15
- package/src/core/agents/claude-code/models.ts +7 -2
- package/src/core/agents/claude-code/options.ts +11 -3
- package/src/core/agents/claude-code/outcome.ts +10 -2
- package/src/core/agents/claude-code/results.ts +73 -0
- package/src/core/agents/claude-code/sdk-pair.ts +66 -0
- package/src/core/agents/claude-code/session.ts +166 -37
- package/src/core/agents/claude-code/spend.ts +1 -1
- package/src/core/agents/claude-code/tools.ts +108 -12
- package/src/core/agents/codex-app-server/adapter.ts +37 -12
- package/src/core/agents/codex-app-server/client.ts +69 -10
- package/src/core/agents/codex-app-server/codex-agent.ts +141 -55
- package/src/core/agents/codex-app-server/commands.ts +2 -2
- package/src/core/agents/codex-app-server/credentials.ts +10 -5
- package/src/core/agents/codex-app-server/effort.ts +1 -1
- package/src/core/agents/codex-app-server/homes.ts +59 -10
- package/src/core/agents/codex-app-server/items.ts +219 -31
- package/src/core/agents/codex-app-server/login.ts +14 -2
- package/src/core/agents/codex-app-server/mcp.ts +142 -26
- package/src/core/agents/codex-app-server/models.ts +9 -8
- package/src/core/agents/codex-app-server/options.ts +79 -11
- package/src/core/agents/codex-app-server/plan-approval.ts +1 -1
- package/src/core/agents/codex-app-server/protocol.ts +14 -4
- package/src/core/agents/codex-app-server/requests.ts +14 -6
- package/src/core/agents/codex-app-server/session.ts +156 -81
- package/src/core/agents/codex-app-server/subagents.ts +21 -14
- package/src/core/agents/codex-app-server/thread-settings.ts +18 -8
- package/src/core/agents/codex-app-server/turn-items.ts +1 -1
- package/src/core/agents/codex-app-server/turn.ts +96 -35
- package/src/core/agents/codex-app-server/user-login.ts +107 -0
- package/src/core/agents/credentials.ts +5 -2
- package/src/core/agents/diffs.ts +25 -0
- package/src/core/agents/elicitation.ts +2 -2
- package/src/core/agents/login.ts +6 -0
- package/src/core/agents/mcp-config.ts +2 -2
- package/src/core/agents/plan.ts +3 -19
- package/src/core/agents/process-pool.ts +432 -0
- package/src/core/agents/scripted/adapter.ts +142 -0
- package/src/core/agents/scripted/mcp-call.ts +134 -0
- package/src/core/agents/scripted/scripted-agent.ts +418 -0
- package/src/core/agents/scripted/scripts.ts +171 -0
- package/src/core/agents/scripted/steps.ts +127 -0
- package/src/core/agents/session-agent.ts +105 -8
- package/src/core/diagnostics.ts +9 -1
- package/src/core/index.ts +12 -0
- package/src/core/presets.ts +99 -14
- package/src/core/processes/lifeline.ts +99 -25
- package/src/core/provision/index.ts +1 -2
- package/src/core/provision/install-build.ts +4 -1
- package/src/core/provision/npm.ts +309 -97
- package/src/core/provision/provisioner.ts +22 -8
- package/src/core/provision/tools.ts +44 -19
- package/src/core/runtime/agent-runtime.ts +70 -34
- package/src/core/runtime/event-processor.ts +18 -2
- package/src/core/runtime/harness-clis.ts +36 -1
- package/src/core/runtime/harness-logins.ts +82 -31
- package/src/core/runtime/model-lists.ts +1 -1
- package/src/core/runtime/permission-policy.ts +4 -3
- package/src/core/runtime/request-broker.ts +1 -1
- package/src/core/runtime/turn.ts +53 -3
- package/src/core/utils/deadline.ts +23 -0
- package/src/core/utils/errors.ts +24 -4
- package/src/operator/index.ts +40 -0
- package/src/operator/mcp.ts +171 -0
- package/src/operator/operator.ts +782 -0
- package/src/operator/render.ts +473 -0
- package/src/operator/view.ts +82 -0
- package/src/protocol/auth.ts +30 -23
- package/src/protocol/clis.ts +12 -4
- package/src/protocol/credentials.ts +19 -0
- package/src/protocol/execution.ts +5 -0
- package/src/protocol/factories.ts +25 -3
- package/src/protocol/harness.ts +11 -1
- package/src/protocol/history.ts +20 -0
- package/src/protocol/lifecycle.ts +10 -1
- package/src/protocol/model-catalog.ts +19 -8
- package/src/protocol/parts.ts +12 -1
- package/src/protocol/plan.ts +35 -0
- package/src/protocol/tool-state.ts +14 -1
- package/src/protocol/wire.ts +14 -0
- package/src/server/acp/binding.ts +113 -22
- package/src/server/acp/translate.ts +161 -8
- package/src/server/agent-server.ts +10 -1
- package/src/server/bin.ts +83 -9
- package/src/server/feedback.ts +1 -1
- package/src/server/install.ts +82 -4
- package/src/server/session-gate.ts +1 -1
- package/src/server/session-store.ts +5 -1
- package/src/server/subscriptions.ts +1 -1
- package/src/server/transports.ts +14 -0
- package/src/sync/fit.ts +115 -28
- package/src/sync/history-sqlite.ts +6 -2
- package/src/sync/index.ts +1 -0
- package/src/sync/journal-sqlite.ts +20 -2
- package/src/sync/journal.ts +10 -2
- package/src/sync/projection.ts +10 -0
- package/src/sync/recovery.ts +11 -4
- package/src/sync/schema.ts +7 -5
- package/src/sync/sql.ts +1 -1
- package/src/sync/worker.ts +4 -0
- package/dist/types/core/agents/claude-code/session-pool.d.ts +0 -36
- package/dist/types/core/agents/claude-code/session-pool.d.ts.map +0 -1
- package/dist/types/core/agents/session-pool.d.ts +0 -41
- package/dist/types/core/agents/session-pool.d.ts.map +0 -1
- package/src/core/agents/claude-code/session-pool.ts +0 -136
- package/src/core/agents/session-pool.ts +0 -111
package/dist/types/sync/fit.d.ts
CHANGED
|
@@ -10,17 +10,18 @@ export declare const PAGE_SLACK_BYTES = 128;
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const REPLAY_PAGE_BYTES: number;
|
|
12
12
|
/**
|
|
13
|
-
* `event` cut down to `maxBytes`: its longest strings (usually a tool's
|
|
14
|
-
* are truncated with a visible marker until it fits
|
|
15
|
-
*
|
|
13
|
+
* `event` cut down to `maxBytes`: its longest strings (usually a tool's
|
|
14
|
+
* output) are truncated with a visible marker until it fits, and an image or
|
|
15
|
+
* file it cannot keep whole is replaced by text saying what it was. `undefined`
|
|
16
|
+
* when only short strings remain. An event that already fits is returned as is.
|
|
16
17
|
*/
|
|
17
18
|
export declare function fitEvent<T>(event: T, maxBytes?: number): T | undefined;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* `value` with its largest images and files replaced by text saying what they
|
|
21
|
+
* were (as `fitEvent` replaces them) until it fits `maxBytes`, or until none
|
|
22
|
+
* is left. Nothing else is changed. A value that already fits is returned as is.
|
|
22
23
|
*/
|
|
23
|
-
export declare function
|
|
24
|
+
export declare function omitBinaries<T>(value: T, maxBytes: number, where: string): T;
|
|
24
25
|
/** An event of a session: what a journal records (only a pre-session `error` lacks one). */
|
|
25
26
|
export type SessionEvent = LifecycleEvent & {
|
|
26
27
|
sessionId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fit.d.ts","sourceRoot":"","sources":["../../../src/sync/fit.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"fit.d.ts","sourceRoot":"","sources":["../../../src/sync/fit.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,cAAc,EAOnB,MAAM,sBAAsB,CAAC;AAK9B,8FAA8F;AAC9F,eAAO,MAAM,eAAe,QAAgC,CAAC;AAC7D,4GAA4G;AAC5G,eAAO,MAAM,gBAAgB,MAAM,CAAC;AACpC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,QAAgC,CAAC;AAyG/D;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,SAAkB,GAAG,CAAC,GAAG,SAAS,CAG/E;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,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,cAAc,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAO,GAC7D,iBAAiB;CA6BpB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { JournalError, type SessionJournal } from "./journal.ts";
|
|
2
|
+
export { JOURNAL_SCHEMA_VERSION } from "./schema.ts";
|
|
2
3
|
export { type FollowHistoryOptions, type HistoryTransfer, type HistoryTransferOptions, followHistory, openHistory, transferHistory, } from "./history.ts";
|
|
3
4
|
export { type HistorySync, type HistorySyncOptions, type HistorySyncState, type HistorySyncStatus, type SyncBarrierOptions, startHistorySync, } from "./worker.ts";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sync/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,aAAa,EACb,WAAW,EACX,eAAe,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,gBAAgB,GAChB,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sync/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EACN,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,aAAa,EACb,WAAW,EACX,eAAe,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,gBAAgB,GAChB,MAAM,aAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DurableSession, type LifecycleEvent, type MessagePartDeltaEvent, type RunRequest, type TurnReceipt, type WireEventEnvelope } from "../protocol/index.ts";
|
|
1
|
+
import { type DurableSession, type LastTurn, type LifecycleEvent, type MessagePartDeltaEvent, type RunRequest, type TurnReceipt, type WireEventEnvelope } from "../protocol/index.ts";
|
|
2
2
|
import { SqliteHistory } from "./history-sqlite.ts";
|
|
3
3
|
import { type ClaimOptions, type NativeProcessRecord, type SessionJournal, type StoredNativeProcess } from "./journal.ts";
|
|
4
4
|
import { type SqlConnection } from "./sql.ts";
|
|
@@ -19,6 +19,7 @@ export declare class SqliteJournal implements SessionJournal {
|
|
|
19
19
|
private ref;
|
|
20
20
|
claim(options?: ClaimOptions): () => void;
|
|
21
21
|
session(sessionId: string): DurableSession | undefined;
|
|
22
|
+
lastTurn(sessionId: string): LastTurn | undefined;
|
|
22
23
|
turn(sessionId: string, turnId: string): TurnReceipt | undefined;
|
|
23
24
|
admission(request: RunRequest): "new" | "duplicate";
|
|
24
25
|
admit(request: RunRequest): "new" | "duplicate";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journal-sqlite.d.ts","sourceRoot":"","sources":["../../../src/sync/journal-sqlite.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,cAAc,EAEnB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAE1B,KAAK,UAAU,EAGf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EAKtB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACN,KAAK,YAAY,EAEjB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,MAAM,cAAc,CAAC;AAIt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C;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE;IAsBpD;;4EAEwE;IACxE,OAAO,CAAC,kBAAkB;IAqC1B;6EACyE;IACzE,OAAO,CAAC,WAAW;IAoBnB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO;IAmBnE,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAGtC,YAAY,CAAC,MAAM,EAAE,mBAAmB,GAAG,MAAM;IAajD,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAG9B,eAAe,IAAI,mBAAmB,EAAE;IAWxC,KAAK,IAAI,IAAI;CAIb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AgentHarness, type DurableSession, type LifecycleEvent, type MessagePartDeltaEvent, type RunRequest, type TurnReceipt, type WireErrorName, type WireEventEnvelope, WireRefusal } from "../protocol/index.ts";
|
|
1
|
+
import { type AgentHarness, type DurableSession, type LastTurn, type LifecycleEvent, type MessagePartDeltaEvent, type RunRequest, type TurnReceipt, type WireErrorName, type WireEventEnvelope, WireRefusal } from "../protocol/index.ts";
|
|
2
2
|
/**
|
|
3
3
|
* What a journal refuses, as opposed to failing to store: the request itself
|
|
4
4
|
* is the problem, nothing was written, and the journal stays usable. Any other
|
|
@@ -8,7 +8,7 @@ import { type AgentHarness, type DurableSession, type LifecycleEvent, type Messa
|
|
|
8
8
|
export declare class JournalError extends WireRefusal<JournalRefusal, Record<string, unknown>> {
|
|
9
9
|
readonly name = "JournalError";
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
type JournalRefusal = Extract<WireErrorName, "turnConflict" | "turnActive" | "sessionClosed" | "recoveryRequired" | "resumeRequired" | "unknownSession" | "historyConflict" | "invalidParams">;
|
|
12
12
|
/**
|
|
13
13
|
* A native process an owner of this journal started for a session: what a
|
|
14
14
|
* restart verifies and stops before it decides whether to fence. The same
|
|
@@ -59,7 +59,13 @@ export interface SessionJournal {
|
|
|
59
59
|
* `not_verified`. Either way until `confirmStopped`. Returns the release.
|
|
60
60
|
*/
|
|
61
61
|
claim(options?: ClaimOptions): () => void;
|
|
62
|
+
/** What it knows of the session, less `lastTurn`: every admission and append reads it. */
|
|
62
63
|
session(sessionId: string): DurableSession | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* The session's admitted turn, or else the ended one whose `turn.ended` is
|
|
66
|
+
* latest, for `session/get`. Undefined before its first turn.
|
|
67
|
+
*/
|
|
68
|
+
lastTurn(sessionId: string): LastTurn | undefined;
|
|
63
69
|
turn(sessionId: string, turnId: string): TurnReceipt | undefined;
|
|
64
70
|
/** Whether this journal already admitted the turn. Throws `turnConflict` for other input. */
|
|
65
71
|
admission(request: RunRequest): "new" | "duplicate";
|
|
@@ -71,7 +77,8 @@ export interface SessionJournal {
|
|
|
71
77
|
*/
|
|
72
78
|
admit(request: RunRequest): "new" | "duplicate";
|
|
73
79
|
/** Commits `event`, or, when its content cannot be stored, a copy cut down to
|
|
74
|
-
* fit
|
|
80
|
+
* fit (a binary that does not fit is replaced whole by a marker, never cut)
|
|
81
|
+
* or a notice in its place. Deliver what it returns. Throws only when
|
|
75
82
|
* storage itself fails. */
|
|
76
83
|
append(event: LifecycleEvent): WireEventEnvelope;
|
|
77
84
|
/**
|
|
@@ -104,4 +111,5 @@ export interface SessionJournal {
|
|
|
104
111
|
nativeProcesses(): StoredNativeProcess[];
|
|
105
112
|
close(): void;
|
|
106
113
|
}
|
|
114
|
+
export {};
|
|
107
115
|
//# sourceMappingURL=journal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journal.d.ts","sourceRoot":"","sources":["../../../src/sync/journal.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,WAAW,EACX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AAI,CAAC;IACvC;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,mBAAmB,GAAG,MAAM,CAAC;IAClD,4CAA4C;IAC5C,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,8DAA8D;IAC9D,eAAe,IAAI,mBAAmB,EAAE,CAAC;IACzC,KAAK,IAAI,IAAI,CAAC;CACd"}
|
|
@@ -5,6 +5,12 @@ import { type ConversationState, type HistoryCheckpoint } from "../protocol/inde
|
|
|
5
5
|
* history is read in pages instead.
|
|
6
6
|
*/
|
|
7
7
|
export declare function projectionFold(maxRecords?: number): (conversation: ConversationState, event: unknown) => ConversationState;
|
|
8
|
+
/**
|
|
9
|
+
* `checkpoint` with its largest images and files replaced by text saying what
|
|
10
|
+
* they were until it fits a history page (`omitBinaries`): binaries alone never
|
|
11
|
+
* make a checkpoint too large to keep. The events keep what they kept.
|
|
12
|
+
*/
|
|
13
|
+
export declare function fitCheckpoint(checkpoint: HistoryCheckpoint): HistoryCheckpoint;
|
|
8
14
|
/** A checkpoint fits a history page, as all history does: no store keeps, and no reader takes, a larger one. */
|
|
9
15
|
export declare function checkCheckpointBytes(checkpoint: HistoryCheckpoint): void;
|
|
10
16
|
//# sourceMappingURL=projection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../src/sync/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EAEtB,KAAK,iBAAiB,EAKtB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../src/sync/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EAEtB,KAAK,iBAAiB,EAKtB,MAAM,sBAAsB,CAAC;AAM9B;;;;GAIG;AACH,wBAAgB,cAAc,CAC7B,UAAU,SAAyB,GACjC,CAAC,YAAY,EAAE,iBAAiB,EAAE,KAAK,EAAE,OAAO,KAAK,iBAAiB,CAQxE;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,iBAAiB,GAAG,iBAAiB,CAE9E;AAED,gHAAgH;AAChH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAGxE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HarnessId, type RecoveryReason } from "../protocol/index.ts";
|
|
2
2
|
import type { SessionEvent } from "./fit.ts";
|
|
3
3
|
/** A turn a server restart cut off, as the journal holds it. */
|
|
4
|
-
|
|
4
|
+
interface CutOffTurn {
|
|
5
5
|
sessionId: string;
|
|
6
6
|
turnId: string;
|
|
7
7
|
/** The session's harness, which a turn cut off before its first event never named. */
|
|
@@ -22,4 +22,5 @@ export interface CutOffTurn {
|
|
|
22
22
|
* `turn.ended`. `history` is the session's committed events, oldest first.
|
|
23
23
|
*/
|
|
24
24
|
export declare function recoveryFacts(history: Iterable<unknown>, turn: CutOffTurn): SessionEvent[];
|
|
25
|
+
export {};
|
|
25
26
|
//# sourceMappingURL=recovery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recovery.d.ts","sourceRoot":"","sources":["../../../src/sync/recovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,cAAc,EAMnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,gEAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"recovery.d.ts","sourceRoot":"","sources":["../../../src/sync/recovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,cAAc,EAMnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,gEAAgE;AAChE,UAAU,UAAU;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,OAAO,EAAE,SAAS,CAAC;IACnB,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,cAAc,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,UAAU,GAAG,YAAY,EAAE,CA2F1F"}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import type { Db } from "./sql.ts";
|
|
2
|
+
/** The journal format, kept in `user_version`. An empty file gets this schema;
|
|
3
|
+
* a file of another version is refused, never migrated. Version 6 keeps a
|
|
4
|
+
* streaming part's tail as one row per delta, since with no checkpoints the
|
|
5
|
+
* tail is the whole part; version 5 keeps the native processes its owners
|
|
6
|
+
* started, and why a fence could not be lifted; version 4 keeps each
|
|
7
|
+
* streaming part's unsnapshotted tail for recovery; version 3 stored no token
|
|
8
|
+
* deltas (wire v3); version 2 journals kept them at their own seq. Exported
|
|
9
|
+
* from `./sync`, which loads no SQLite driver: a product that starts a new
|
|
10
|
+
* journal file per schema names the file from it. */
|
|
11
|
+
export declare const JOURNAL_SCHEMA_VERSION = 6;
|
|
2
12
|
/** Create or check the schema; returns the store's identity, minting it once. */
|
|
3
13
|
export declare function openSchema(db: Db, newId: () => string): string;
|
|
4
14
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/sync/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/sync/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAEnC;;;;;;;;qDAQqD;AACrD,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAqDxC,iFAAiF;AACjF,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,MAAM,GAAG,MAAM,CAa9D"}
|
package/dist/types/sync/sql.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type SqlValue = string | number | null;
|
|
2
2
|
/** The shared implementation uses only positional scalar bindings. */
|
|
3
3
|
export interface SqlStatement {
|
|
4
4
|
run(...params: SqlValue[]): unknown;
|
|
@@ -35,4 +35,5 @@ export declare class Db {
|
|
|
35
35
|
close(): void;
|
|
36
36
|
private statement;
|
|
37
37
|
}
|
|
38
|
+
export {};
|
|
38
39
|
//# sourceMappingURL=sql.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../../src/sync/sql.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../../src/sync/sql.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEvC,sEAAsE;AACtE,MAAM,WAAW,YAAY;IAC5B,GAAG,CAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IACpC,GAAG,CAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IACpC,GAAG,CAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC;IACtC,OAAO,CAAC,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;IAClD,QAAQ,CAAC,IAAI,IAAI,CAAC;CAClB;AACD,wEAAwE;AACxE,MAAM,WAAW,aAAa;IAC7B,IAAI,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