@sema-agent/server 7.146.0 → 7.148.0
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/MIGRATION.md +1423 -24
- package/README.md +21 -8
- package/README.zh-CN.md +15 -9
- package/USAGE.md +537 -216
- package/deploy/facts/lanes.json +7 -0
- package/deploy/sema-up/README.md +18 -7
- package/deploy/sema-up/chart/templates/NOTES.txt +1 -1
- package/deploy/sema-up/chart/templates/_helpers.tpl +42 -4
- package/deploy/sema-up/chart/templates/server-v4pro.yaml +5 -4
- package/deploy/sema-up/chart/templates/server.yaml +5 -4
- package/deploy/sema-up/chart/values.yaml +4 -3
- package/deploy/sema-up/cluster-up.sh +75 -176
- package/deploy/sema-up/kube-up.sh +29 -49
- package/deploy/sema-up/lib/chart-run.sh +23 -0
- package/deploy/sema-up/lib/dataroot.sh +3 -3
- package/deploy/sema-up/lib/flagshape.sh +4 -0
- package/deploy/sema-up/lib/health.sh +62 -13
- package/deploy/sema-up/lib/helm-values-cluster.py +18 -0
- package/deploy/sema-up/lib/helm-values-kube.py +35 -0
- package/deploy/sema-up/lib/lanes.json +2 -5
- package/deploy/sema-up/lib/regcred.py +8 -0
- package/deploy/sema-up/lib/remote/helm-install.sh +3 -0
- package/deploy/sema-up/lib/remote/image-import.sh +6 -0
- package/deploy/sema-up/lib/remote/machine-precheck.sh +11 -0
- package/deploy/sema-up/lib/remote/region-probe.sh +3 -0
- package/deploy/sema-up/lib/remote/stack-ready.sh +26 -0
- package/deploy/sema-up/lib/remote/vxlan-guard.sh +8 -0
- package/deploy/sema-up/lib/render-stack.py +17 -0
- package/deploy/sema-up/lib/shell-text.sh +87 -0
- package/deploy/sema-up/lib/usage-flags.txt +10 -0
- package/deploy/sema-up/lib/usage-head.txt +1 -0
- package/deploy/sema-up/lib/usage-tail.txt +13 -0
- package/deploy/sema-up/preflight.sh +10 -8
- package/deploy/sema-up/sema-up.sh +26 -48
- package/deploy/sema-up/smoke.sh +7 -6
- package/deploy/sema-up/stack/compose.dataroot.yaml +3 -0
- package/deploy/sema-up/stack/compose.yaml +18 -5
- package/deploy/sema-up/stack/sema-stack-cluster.yaml +25 -3
- package/dist/adoption/plan.d.ts +24 -0
- package/dist/adoption/plan.js +53 -1
- package/dist/adoption/runner.d.ts +10 -1
- package/dist/adoption/runner.js +36 -16
- package/dist/adoption/wire.d.ts +3 -3
- package/dist/approval-card.d.ts +32 -34
- package/dist/approval-gate-currency.js +3 -2
- package/dist/approval-reconciler.d.ts +4 -13
- package/dist/approval-reconciler.js +2 -2
- package/dist/approval.d.ts +16 -14
- package/dist/approval.js +3 -3
- package/dist/audit.d.ts +10 -3
- package/dist/audit.js +17 -9
- package/dist/auth-bridge.d.ts +0 -14
- package/dist/auth-bridge.js +0 -7
- package/dist/auto-mode-face.d.ts +10 -7
- package/dist/auto-mode-face.js +7 -4
- package/dist/background-agent-name.d.ts +19 -1
- package/dist/background-agent-name.js +12 -2
- package/dist/background-session-reap.d.ts +1 -1
- package/dist/bake-runner/main.js +9 -6
- package/dist/bench/s1/arms.js +6 -5
- package/dist/bench/s1/live-deps.js +8 -3
- package/dist/bench/s1/run-firm.js +6 -5
- package/dist/bind-host.d.ts +25 -0
- package/dist/bind-host.js +25 -0
- package/dist/boot/adoption.d.ts +3 -0
- package/dist/boot/adoption.js +1 -0
- package/dist/boot/crash-last.js +2 -1
- package/dist/boot/deployment-mods.d.ts +1 -1
- package/dist/boot/device-lane.js +5 -5
- package/dist/boot/engine-lease.d.ts +12 -11
- package/dist/boot/execution-env.d.ts +19 -8
- package/dist/boot/execution-env.js +80 -62
- package/dist/boot/execution-lane.d.ts +37 -9
- package/dist/boot/execution-lane.js +74 -20
- package/dist/boot/exit-boundary.d.ts +3 -3
- package/dist/boot/exit-boundary.js +6 -5
- package/dist/boot/exit-last.js +2 -1
- package/dist/boot/fatal-exit.d.ts +3 -5
- package/dist/boot/fatal-exit.js +2 -2
- package/dist/boot/governance-seams.d.ts +2 -2
- package/dist/boot/leader.d.ts +15 -0
- package/dist/boot/leader.js +18 -16
- package/dist/boot/memory-boundary.d.ts +11 -11
- package/dist/boot/memory-boundary.js +3 -3
- package/dist/boot/memory-consolidation.d.ts +50 -53
- package/dist/boot/memory-consolidation.js +11 -18
- package/dist/boot/org-memory.js +4 -3
- package/dist/boot/parked-revive-gate.d.ts +1 -1
- package/dist/boot/parked-revive-gate.js +3 -3
- package/dist/boot/reapers.d.ts +4 -3
- package/dist/boot/reapers.js +20 -17
- package/dist/boot/resolve-spec.d.ts +5 -3
- package/dist/boot/resolve-spec.js +133 -165
- package/dist/boot/retention-lane.d.ts +7 -45
- package/dist/boot/retention-lane.js +2 -2
- package/dist/boot/runner-deps.d.ts +28 -7
- package/dist/boot/runner-deps.js +11 -4
- package/dist/boot/runtime-caps.d.ts +2 -2
- package/dist/boot/runtime-caps.js +16 -2
- package/dist/boot/session-faces.d.ts +17 -7
- package/dist/boot/session-faces.js +122 -96
- package/dist/boot/shutdown.d.ts +5 -4
- package/dist/boot/shutdown.js +6 -4
- package/dist/boot/stage-01-config.d.ts +1 -1
- package/dist/boot/stage-01-config.js +14 -2
- package/dist/boot/stage-02-web-admin-pull.d.ts +2 -1
- package/dist/boot/stage-02-web-admin-pull.js +15 -8
- package/dist/boot/stage-03-store-backend.d.ts +4 -1
- package/dist/boot/stage-03-store-backend.js +4 -3
- package/dist/boot/stage-04-stores.d.ts +3 -1
- package/dist/boot/stage-04-stores.js +2 -2
- package/dist/boot/stage-05-execution-env.d.ts +9 -5
- package/dist/boot/stage-05-execution-env.js +5 -5
- package/dist/boot/stage-06-runners.d.ts +13 -15
- package/dist/boot/stage-06-runners.js +24 -18
- package/dist/boot/stage-07-capability-layer.d.ts +14 -11
- package/dist/boot/stage-07-capability-layer.js +9 -12
- package/dist/boot/stage-08-reapers.d.ts +14 -11
- package/dist/boot/stage-08-reapers.js +3 -3
- package/dist/boot/stage-09-leader.d.ts +16 -18
- package/dist/boot/stage-09-leader.js +12 -4
- package/dist/boot/stage-10-http-server.d.ts +16 -18
- package/dist/boot/stage-10-http-server.js +9 -5
- package/dist/boot/store-evidence.d.ts +20 -0
- package/dist/boot/store-evidence.js +13 -0
- package/dist/boot/stores.d.ts +12 -0
- package/dist/boot/stores.js +39 -17
- package/dist/boot/task-list-lane.d.ts +4 -4
- package/dist/boot/web-admin.d.ts +4 -2
- package/dist/boot/web-admin.js +58 -38
- package/dist/boot/webfetch-summarize-lane.d.ts +1 -1
- package/dist/boot-reclaim.d.ts +3 -1
- package/dist/boot-reclaim.js +1 -1
- package/dist/brain.d.ts +7 -18
- package/dist/brain.js +5 -17
- package/dist/budget.js +6 -6
- package/dist/capabilities/center-plugins.d.ts +9 -1
- package/dist/capabilities/center-plugins.js +37 -11
- package/dist/capabilities/center-wiring.js +1 -1
- package/dist/capabilities/composite-members.d.ts +3 -2
- package/dist/capabilities/composite-members.js +3 -2
- package/dist/capabilities/execution-lane.d.ts +7 -7
- package/dist/capabilities/execution-lane.js +2 -2
- package/dist/capabilities/hands-lane.d.ts +1 -1
- package/dist/capabilities/repo-tools.d.ts +2 -0
- package/dist/capabilities/repo-tools.js +14 -12
- package/dist/capabilities/scenarios.d.ts +38 -33
- package/dist/capabilities/scenarios.js +24 -25
- package/dist/capabilities/settings-contract.d.ts +29 -0
- package/dist/capabilities/settings-contract.js +14 -0
- package/dist/capabilities/skills.d.ts +6 -6
- package/dist/capabilities/tool-defer.d.ts +1 -1
- package/dist/capability-facts.d.ts +69 -4
- package/dist/capability-facts.js +77 -5
- package/dist/card-void.d.ts +4 -4
- package/dist/card-void.js +1 -1
- package/dist/center-credential-renewer.d.ts +6 -2
- package/dist/center-credential-renewer.js +10 -5
- package/dist/config-catalog.d.ts +16 -1
- package/dist/config-catalog.js +68 -61
- package/dist/config-dir-trust.d.ts +37 -4
- package/dist/config-dir-trust.js +88 -44
- package/dist/config-invariants.d.ts +58 -4
- package/dist/config-invariants.js +104 -23
- package/dist/config-lkg.d.ts +24 -2
- package/dist/config-lkg.js +22 -9
- package/dist/config-provider.d.ts +9 -9
- package/dist/config-provider.js +25 -108
- package/dist/config-pull-failure.d.ts +50 -0
- package/dist/config-pull-failure.js +48 -0
- package/dist/config-types.d.ts +215 -202
- package/dist/config.d.ts +69 -14
- package/dist/config.js +188 -96
- package/dist/degenerate-instrument.js +1 -1
- package/dist/delegated-session-owner.d.ts +1 -1
- package/dist/deleted-session-ids.d.ts +3 -2
- package/dist/deploy-facts.js +3 -2
- package/dist/deployment-governance.d.ts +3 -3
- package/dist/deployment-shape.d.ts +51 -16
- package/dist/deployment-shape.js +31 -6
- package/dist/egress-redirect.d.ts +25 -7
- package/dist/egress-redirect.js +20 -2
- package/dist/elicitation.d.ts +6 -5
- package/dist/elicitation.js +23 -22
- package/dist/engine-identity.d.ts +28 -0
- package/dist/engine-identity.js +10 -0
- package/dist/entry-problems.d.ts +5 -7
- package/dist/entry-problems.js +1 -1
- package/dist/env-facts.d.ts +7 -5
- package/dist/env-facts.js +12 -7
- package/dist/env-witness.d.ts +7 -0
- package/dist/env-witness.js +16 -0
- package/dist/execution-config-root.d.ts +5 -5
- package/dist/execution-config-root.js +5 -5
- package/dist/execution-env-purpose.d.ts +14 -0
- package/dist/execution-env-purpose.js +29 -0
- package/dist/execution-lane-caps.d.ts +53 -103
- package/dist/execution-lane-caps.js +51 -83
- package/dist/execution-placement.d.ts +65 -9
- package/dist/execution-placement.js +58 -0
- package/dist/field-conflict.d.ts +7 -11
- package/dist/field-conflict.js +3 -3
- package/dist/file-history-capture.d.ts +3 -3
- package/dist/file-history-disclosure.d.ts +2 -2
- package/dist/file-history-disclosure.js +1 -0
- package/dist/fleet/drain-entry.d.ts +17 -10
- package/dist/fleet/drain-entry.js +1 -1
- package/dist/fleet/fleet-bus.d.ts +21 -3
- package/dist/fleet/fleet-bus.js +35 -25
- package/dist/fleet/fleet-reconciler.js +2 -2
- package/dist/fleet/serving-lease.js +6 -7
- package/dist/fleet-client.js +3 -3
- package/dist/fleet-lease.d.ts +0 -1
- package/dist/fleet-lease.js +4 -5
- package/dist/history-anchor.d.ts +42 -0
- package/dist/history-anchor.js +34 -0
- package/dist/hitl-delivery.d.ts +90 -0
- package/dist/hitl-delivery.js +98 -0
- package/dist/hooks/classic-stations.d.ts +8 -11
- package/dist/hooks/classic-stations.js +0 -7
- package/dist/hooks/command-spawn.d.ts +1 -4
- package/dist/hooks/command-spawn.js +0 -11
- package/dist/hooks/hook-llm.d.ts +5 -1
- package/dist/hooks/hook-llm.js +24 -15
- package/dist/hooks/hook-runner.d.ts +119 -65
- package/dist/hooks/hook-runner.js +415 -217
- package/dist/host-lsp-manager.d.ts +22 -8
- package/dist/host-lsp-manager.js +4 -1
- package/dist/http/active-run-conflict.d.ts +2 -43
- package/dist/http/active-run-conflict.js +3 -7
- package/dist/http/admission.d.ts +4 -18
- package/dist/http/admission.js +75 -78
- package/dist/http/approval-sweeps.d.ts +5 -8
- package/dist/http/approval-sweeps.js +55 -30
- package/dist/http/caller-trust.d.ts +8 -10
- package/dist/http/caller-trust.js +1 -2
- package/dist/http/checkpoint-ctx.d.ts +17 -0
- package/dist/http/checkpoint-ctx.js +6 -0
- package/dist/http/claim-heartbeat.d.ts +49 -0
- package/dist/http/claim-heartbeat.js +46 -0
- package/dist/http/claim-latency.d.ts +10 -0
- package/dist/http/claim-latency.js +12 -0
- package/dist/http/claimed-run.d.ts +4 -3
- package/dist/http/dispatch.d.ts +8 -1
- package/dist/http/dispatch.js +77 -31
- package/dist/http/durable-run-leg.d.ts +3 -3
- package/dist/http/durable-run-leg.js +18 -12
- package/dist/http/execution-context.d.ts +18 -42
- package/dist/http/execution-context.js +11 -5
- package/dist/http/health-reader.d.ts +36 -0
- package/dist/http/health-reader.js +21 -0
- package/dist/http/health-self-report.d.ts +9 -9
- package/dist/http/health-self-report.js +4 -4
- package/dist/http/idempotency.d.ts +9 -5
- package/dist/http/idempotency.js +4 -4
- package/dist/http/memory-compliance-failure-reply.d.ts +15 -16
- package/dist/http/memory-compliance-failure-reply.js +7 -2
- package/dist/http/memory-face-fault-reply.d.ts +67 -0
- package/dist/http/memory-face-fault-reply.js +71 -0
- package/dist/http/memory-store-refusal-reply.d.ts +3 -3
- package/dist/http/memory-store-refusal-reply.js +6 -0
- package/dist/http/owner-access.d.ts +391 -56
- package/dist/http/owner-access.js +372 -33
- package/dist/http/principal-gate.d.ts +26 -94
- package/dist/http/principal-gate.js +24 -81
- package/dist/http/refusal-body.d.ts +35 -2
- package/dist/http/refusal-body.js +34 -0
- package/dist/http/request-guards.d.ts +10 -14
- package/dist/http/request-guards.js +34 -68
- package/dist/http/resume-composition.d.ts +37 -0
- package/dist/http/resume-composition.js +18 -0
- package/dist/http/resume-ctx-read.d.ts +35 -12
- package/dist/http/resume-ctx-read.js +25 -6
- package/dist/http/resume-legs.d.ts +24 -24
- package/dist/http/resume-legs.js +260 -171
- package/dist/http/retired-skill-manifest.d.ts +1 -1
- package/dist/http/rewind-files-reply.d.ts +34 -0
- package/dist/http/rewind-files-reply.js +36 -0
- package/dist/http/route-ctx.d.ts +56 -47
- package/dist/http/route-table.js +2 -0
- package/dist/http/routes/a2a-serve.d.ts +43 -5
- package/dist/http/routes/a2a-serve.js +58 -37
- package/dist/http/routes/admin-config-refresh.js +2 -2
- package/dist/http/routes/admin-drain.js +2 -2
- package/dist/http/routes/admin-memory-optout.js +4 -3
- package/dist/http/routes/adoption.d.ts +3 -0
- package/dist/http/routes/adoption.js +17 -10
- package/dist/http/routes/agents-roster.js +13 -7
- package/dist/http/routes/approvals-assistant.js +73 -88
- package/dist/http/routes/attachments.js +2 -2
- package/dist/http/routes/background.d.ts +3 -3
- package/dist/http/routes/background.js +9 -17
- package/dist/http/routes/capabilities.js +23 -20
- package/dist/http/routes/config-catalog.js +2 -2
- package/dist/http/routes/devices.d.ts +3 -3
- package/dist/http/routes/devices.js +5 -5
- package/dist/http/routes/diagnostics.d.ts +27 -3
- package/dist/http/routes/diagnostics.js +27 -21
- package/dist/http/routes/engine.js +2 -2
- package/dist/http/routes/fleet.js +5 -3
- package/dist/http/routes/images.js +10 -6
- package/dist/http/routes/leader.d.ts +7 -2
- package/dist/http/routes/leader.js +12 -3
- package/dist/http/routes/mcp-reconnect.d.ts +1 -1
- package/dist/http/routes/mcp-reconnect.js +7 -15
- package/dist/http/routes/memory-bundle.js +4 -7
- package/dist/http/routes/memory-compliance.js +4 -4
- package/dist/http/routes/memory-consolidation.js +6 -9
- package/dist/http/routes/memory-origin.d.ts +3 -1
- package/dist/http/routes/memory-origin.js +7 -8
- package/dist/http/routes/memory-policy.js +17 -12
- package/dist/http/routes/notify-wake.js +12 -20
- package/dist/http/routes/observability.js +3 -3
- package/dist/http/routes/principal-inbox.d.ts +1 -1
- package/dist/http/routes/principal-inbox.js +2 -2
- package/dist/http/routes/projects.d.ts +70 -0
- package/dist/http/routes/projects.js +87 -0
- package/dist/http/routes/retention-ops.js +6 -9
- package/dist/http/routes/rules.js +50 -7
- package/dist/http/routes/run-memory-capture.d.ts +2 -2
- package/dist/http/routes/run-memory-capture.js +6 -12
- package/dist/http/routes/run-permission-mode.d.ts +2 -2
- package/dist/http/routes/run-permission-mode.js +10 -17
- package/dist/http/routes/runs.js +148 -233
- package/dist/http/routes/session-memory-sync.d.ts +2 -2
- package/dist/http/routes/session-memory-sync.js +7 -13
- package/dist/http/routes/session-sync.d.ts +4 -2
- package/dist/http/routes/session-sync.js +48 -30
- package/dist/http/routes/sessions-list.d.ts +3 -3
- package/dist/http/routes/sessions-list.js +9 -9
- package/dist/http/routes/sessions.d.ts +7 -1
- package/dist/http/routes/sessions.js +177 -112
- package/dist/http/routes/shared-memory.js +6 -6
- package/dist/http/routes/side-query.js +2 -2
- package/dist/http/routes/tasks.js +144 -122
- package/dist/http/routes/trace-usage.d.ts +0 -12
- package/dist/http/routes/trace-usage.js +40 -46
- package/dist/http/routes/workflows.d.ts +39 -4
- package/dist/http/routes/workflows.js +42 -14
- package/dist/http/run-concurrency-cap.d.ts +20 -12
- package/dist/http/run-concurrency-cap.js +39 -26
- package/dist/http/run-read-face.d.ts +3 -5
- package/dist/http/run-read-face.js +8 -13
- package/dist/http/send.d.ts +12 -3
- package/dist/http/send.js +42 -6
- package/dist/http/server.d.ts +63 -50
- package/dist/http/server.js +52 -16
- package/dist/http/sse-log.d.ts +17 -10
- package/dist/http/sse-log.js +7 -7
- package/dist/http/stored-body-replay.d.ts +17 -3
- package/dist/http/stored-body-replay.js +11 -2
- package/dist/http/submit-ctx.d.ts +16 -8
- package/dist/http/submit-ctx.js +6 -2
- package/dist/http/submit-replay.d.ts +19 -6
- package/dist/http/submit-replay.js +18 -6
- package/dist/http/sync-submit-body.d.ts +3 -4
- package/dist/http/sync-submit-body.js +4 -5
- package/dist/http/wire-types.d.ts +23 -13
- package/dist/identity-source.d.ts +36 -5
- package/dist/identity-source.js +27 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/instruction-source-notice.d.ts +1 -1
- package/dist/key-resolver.d.ts +32 -0
- package/dist/key-resolver.js +23 -9
- package/dist/leader/diffup.js +2 -1
- package/dist/leader/endpoint.d.ts +26 -5
- package/dist/leader/endpoint.js +154 -14
- package/dist/leader/fanout.d.ts +3 -0
- package/dist/leader/fanout.js +78 -63
- package/dist/leader/leader.d.ts +16 -0
- package/dist/leader/leader.js +43 -3
- package/dist/leader/merge.d.ts +9 -1
- package/dist/leader/merge.js +16 -1
- package/dist/leader/repair-wire.js +1 -1
- package/dist/leader/wire.d.ts +36 -3
- package/dist/leader/wire.js +59 -18
- package/dist/lsp-evict.d.ts +6 -4
- package/dist/lsp-evict.js +2 -3
- package/dist/memory-embedder-reembed.d.ts +38 -0
- package/dist/memory-embedder-reembed.js +20 -0
- package/dist/memory-incident-sink.d.ts +0 -28
- package/dist/memory-incident-sink.js +5 -0
- package/dist/memory-operator-faces.d.ts +5 -4
- package/dist/memory-operator-faces.js +1 -1
- package/dist/memory-scope.d.ts +31 -4
- package/dist/memory-scope.js +65 -16
- package/dist/memory-store-refusal.d.ts +20 -4
- package/dist/memory-store-refusal.js +1 -1
- package/dist/memory-sync-client.d.ts +5 -2
- package/dist/memory-sync-client.js +19 -14
- package/dist/memory-sync.js +1 -1
- package/dist/model-compat.d.ts +51 -28
- package/dist/model-compat.js +55 -23
- package/dist/model-context-window.d.ts +18 -0
- package/dist/model-context-window.js +2 -0
- package/dist/model-entry-headers.d.ts +46 -4
- package/dist/model-entry-headers.js +2 -2
- package/dist/model-entry-refusal.d.ts +46 -17
- package/dist/model-entry-refusal.js +47 -27
- package/dist/model-plane-face.d.ts +19 -11
- package/dist/model-plane-face.js +9 -1
- package/dist/model-plane-probe.d.ts +2 -0
- package/dist/model-plane-probe.js +17 -0
- package/dist/model-provider.d.ts +3 -3
- package/dist/model-route-endpoint.d.ts +9 -5
- package/dist/model-route-endpoint.js +29 -7
- package/dist/model-select.d.ts +16 -0
- package/dist/model-select.js +4 -0
- package/dist/mountinfo.d.ts +37 -0
- package/dist/mountinfo.js +47 -0
- package/dist/namespaced-rule-name.d.ts +28 -2
- package/dist/namespaced-rule-name.js +10 -1
- package/dist/net-address.d.ts +1 -1
- package/dist/observability/corrupt-read-seat.d.ts +4 -4
- package/dist/observability/corrupt-read-seat.js +5 -3
- package/dist/observability/fail-open.d.ts +75 -47
- package/dist/observability/fail-open.js +77 -47
- package/dist/observability/logger.d.ts +22 -1
- package/dist/observability/logger.js +89 -12
- package/dist/observability/metrics.d.ts +2 -0
- package/dist/observability/metrics.js +5 -4
- package/dist/observability/otel-exporter.js +2 -1
- package/dist/observability/principal-context.d.ts +14 -7
- package/dist/observability/principal-context.js +8 -3
- package/dist/observability/run-terminal.d.ts +7 -1
- package/dist/observability/run-terminal.js +5 -2
- package/dist/observability/secret-env-scrub.d.ts +30 -4
- package/dist/observability/secret-env-scrub.js +15 -3
- package/dist/orchestration/hardened-vm-runner.d.ts +1 -0
- package/dist/orchestration/hardened-vm-runner.js +11 -5
- package/dist/orchestration/hardened-vm-worker-runner.d.ts +0 -14
- package/dist/orchestration/hardened-vm-worker-runner.js +5 -0
- package/dist/orchestration/hardened-vm-worker.js +2 -1
- package/dist/orchestration/workflow-agent-session-index.d.ts +7 -12
- package/dist/orchestration/workflow-agent-session-index.js +1 -6
- package/dist/orchestration/workflow-completion-inbox.d.ts +29 -9
- package/dist/orchestration/workflow-completion-inbox.js +65 -46
- package/dist/org-delivery-gate.d.ts +5 -4
- package/dist/org-delivery-gate.js +7 -6
- package/dist/org-memory-admission.d.ts +5 -2
- package/dist/org-memory-admission.js +25 -10
- package/dist/outbound-dispatcher.d.ts +1 -1
- package/dist/outbound-dispatcher.js +6 -12
- package/dist/owner-brands.d.ts +81 -0
- package/dist/owner-brands.js +42 -0
- package/dist/owner-faces.d.ts +531 -0
- package/dist/owner-faces.js +126 -0
- package/dist/parked-decide.d.ts +100 -31
- package/dist/parked-decide.js +162 -48
- package/dist/parked-revive-surface.d.ts +14 -4
- package/dist/parked-revive-surface.js +5 -4
- package/dist/peer-directory.d.ts +6 -8
- package/dist/peer-directory.js +3 -2
- package/dist/permission-rule-vocab.d.ts +53 -8
- package/dist/permission-rule-vocab.js +30 -2
- package/dist/plugins/adoption-log-sql.d.ts +0 -22
- package/dist/plugins/adoption-log-sql.js +5 -3
- package/dist/plugins/approval-ask-retired-delete-by-task-m50.d.ts +7 -0
- package/dist/plugins/approval-ask-retired-delete-by-task-m50.js +17 -0
- package/dist/plugins/approval-ask-store-file.d.ts +28 -9
- package/dist/plugins/approval-ask-store-file.js +74 -18
- package/dist/plugins/approval-ask-store-memory.d.ts +17 -7
- package/dist/plugins/approval-ask-store-memory.js +35 -12
- package/dist/plugins/approval-ask-store-sql.d.ts +42 -20
- package/dist/plugins/approval-ask-store-sql.js +44 -11
- package/dist/plugins/approval-exemption-skill-m46.d.ts +20 -0
- package/dist/plugins/approval-exemption-skill-m46.js +25 -0
- package/dist/plugins/approval-exemption-store.d.ts +6 -1
- package/dist/plugins/approval-exemption-store.js +14 -0
- package/dist/plugins/approval-nonce-store.d.ts +39 -12
- package/dist/plugins/approval-nonce-store.js +72 -23
- package/dist/plugins/blob-backend.d.ts +40 -195
- package/dist/plugins/blob-backend.js +41 -234
- package/dist/plugins/caching-session-store.d.ts +22 -5
- package/dist/plugins/caching-session-store.js +43 -4
- package/dist/plugins/checkpoint-index-columns.d.ts +33 -6
- package/dist/plugins/checkpoint-index-columns.js +39 -3
- package/dist/plugins/checkpoint-store-face.d.ts +84 -11
- package/dist/plugins/checkpoint-store-face.js +18 -1
- package/dist/plugins/device-store-sql.d.ts +2 -2
- package/dist/plugins/device-store-sql.js +6 -10
- package/dist/plugins/ensure-index.d.ts +13 -1
- package/dist/plugins/ensure-index.js +154 -21
- package/dist/plugins/ensure-schema-lock-policy.d.ts +0 -15
- package/dist/plugins/ensure-schema-lock-policy.js +3 -2
- package/dist/plugins/execution-lane-rename-m40.d.ts +20 -0
- package/dist/plugins/execution-lane-rename-m40.js +10 -0
- package/dist/plugins/execution-placement-sql.d.ts +63 -88
- package/dist/plugins/execution-placement-sql.js +94 -54
- package/dist/plugins/file-run-store.d.ts +89 -35
- package/dist/plugins/file-run-store.js +197 -142
- package/dist/plugins/host-platform.d.ts +24 -3
- package/dist/plugins/host-platform.js +15 -1
- package/dist/plugins/image-bake-store-sql.js +2 -0
- package/dist/plugins/imported-layer-root-retirement.d.ts +19 -10
- package/dist/plugins/imported-layer-root-retirement.js +4 -8
- package/dist/plugins/inbox-payload-column.d.ts +14 -0
- package/dist/plugins/inbox-payload-column.js +13 -0
- package/dist/plugins/k8s-pod-reaper.d.ts +1 -3
- package/dist/plugins/k8s-pod-reaper.js +0 -1
- package/dist/plugins/leader-run-store-sql.d.ts +22 -0
- package/dist/plugins/leader-run-store-sql.js +34 -4
- package/dist/plugins/local-checkpoint-store.d.ts +63 -23
- package/dist/plugins/local-checkpoint-store.js +204 -81
- package/dist/plugins/local-data-dir-modes-m39.d.ts +48 -0
- package/dist/plugins/local-data-dir-modes-m39.js +183 -0
- package/dist/plugins/local-docker-capacity.d.ts +93 -0
- package/dist/plugins/local-docker-capacity.js +194 -0
- package/dist/plugins/local-docker-reaper.d.ts +92 -0
- package/dist/plugins/local-docker-reaper.js +102 -0
- package/dist/plugins/local-engine-high-water.d.ts +13 -0
- package/dist/plugins/local-engine-high-water.js +62 -0
- package/dist/plugins/local-session-store.d.ts +442 -143
- package/dist/plugins/local-session-store.js +941 -289
- package/dist/plugins/local-session-window.d.ts +3 -2
- package/dist/plugins/local-session-window.js +3 -2
- package/dist/plugins/local-sidecar-quarantine.js +3 -2
- package/dist/plugins/local-task-attachment-store.d.ts +20 -1
- package/dist/plugins/local-task-attachment-store.js +32 -12
- package/dist/plugins/memory-embedder-fingerprint.d.ts +33 -10
- package/dist/plugins/memory-embedder-fingerprint.js +52 -12
- package/dist/plugins/memory-embedder.d.ts +1 -1
- package/dist/plugins/memory-embedder.js +11 -9
- package/dist/plugins/memory-engine-pg.d.ts +7 -5
- package/dist/plugins/memory-engine-pg.js +18 -9
- package/dist/plugins/memory-engine-sql-apply.d.ts +21 -8
- package/dist/plugins/memory-engine-sql-apply.js +7 -9
- package/dist/plugins/memory-engine-tidb.d.ts +12 -7
- package/dist/plugins/memory-engine-tidb.js +18 -10
- package/dist/plugins/memory-optout-grant-store-sql.d.ts +1 -1
- package/dist/plugins/memory-optout-grant-store-sql.js +3 -3
- package/dist/plugins/memory-run-store.d.ts +39 -27
- package/dist/plugins/memory-run-store.js +72 -70
- package/dist/plugins/one-time-migration-marker.d.ts +10 -0
- package/dist/plugins/one-time-migration-marker.js +7 -0
- package/dist/plugins/one-time-migrations.d.ts +325 -74
- package/dist/plugins/one-time-migrations.js +705 -230
- package/dist/plugins/org-delivery-quota-store.js +2 -1
- package/dist/plugins/owner-only-file-mode.d.ts +29 -0
- package/dist/plugins/owner-only-file-mode.js +141 -0
- package/dist/plugins/permission-rule-store-file.d.ts +11 -11
- package/dist/plugins/permission-rule-store-file.js +14 -2
- package/dist/plugins/permission-rule-store-sql.d.ts +4 -63
- package/dist/plugins/permission-rule-store-sql.js +6 -86
- package/dist/plugins/pg-pool.d.ts +3 -32
- package/dist/plugins/pg-pool.js +27 -11
- package/dist/plugins/release-version.d.ts +20 -0
- package/dist/plugins/release-version.js +28 -0
- package/dist/plugins/remote-env-adb.d.ts +20 -4
- package/dist/plugins/remote-env-adb.js +39 -11
- package/dist/plugins/remote-env-e2b.d.ts +19 -28
- package/dist/plugins/remote-env-e2b.js +40 -29
- package/dist/plugins/remote-env-host.d.ts +11 -10
- package/dist/plugins/remote-env-host.js +40 -27
- package/dist/plugins/remote-env-k8s.d.ts +45 -47
- package/dist/plugins/remote-env-k8s.js +122 -62
- package/dist/plugins/remote-env-local-docker.d.ts +152 -15
- package/dist/plugins/remote-env-local-docker.js +370 -75
- package/dist/plugins/remote-env-ssh.d.ts +8 -2
- package/dist/plugins/remote-env-ssh.js +26 -24
- package/dist/plugins/remote-scratchpad.js +4 -0
- package/dist/plugins/remote-shell.d.ts +59 -30
- package/dist/plugins/remote-shell.js +175 -62
- package/dist/plugins/retention-declaration.d.ts +37 -0
- package/dist/plugins/retention-declaration.js +9 -0
- package/dist/plugins/retention-deployment.d.ts +158 -0
- package/dist/plugins/retention-deployment.js +119 -0
- package/dist/plugins/retention-lane-store-sql.d.ts +74 -4
- package/dist/plugins/retention-lane-store-sql.js +103 -1
- package/dist/plugins/retention-sql.d.ts +29 -0
- package/dist/plugins/retention-sql.js +8 -0
- package/dist/plugins/run-preview-m45.d.ts +11 -0
- package/dist/plugins/run-preview-m45.js +19 -0
- package/dist/plugins/run-store-sql.d.ts +56 -68
- package/dist/plugins/run-store-sql.js +127 -116
- package/dist/plugins/s3-answer.d.ts +2 -1
- package/dist/plugins/sandbox-reaper.d.ts +26 -0
- package/dist/plugins/sandbox-reaper.js +2 -0
- package/dist/plugins/scenario-prefix-switch-m42.d.ts +54 -0
- package/dist/plugins/scenario-prefix-switch-m42.js +55 -0
- package/dist/plugins/scheduler-support.d.ts +16 -1
- package/dist/plugins/scheduler-support.js +22 -2
- package/dist/plugins/schema-consistency.d.ts +42 -15
- package/dist/plugins/schema-consistency.js +213 -13
- package/dist/plugins/schema-drift-sentence.d.ts +4 -1
- package/dist/plugins/schema-drift-sentence.js +4 -4
- package/dist/plugins/schema-ensure-legs.d.ts +10 -1
- package/dist/plugins/schema-ensure-legs.js +12 -2
- package/dist/plugins/schema-indexes.js +3 -0
- package/dist/plugins/schema-live-columns.d.ts +14 -5
- package/dist/plugins/schema-live-columns.js +10 -10
- package/dist/plugins/send-user-file.js +2 -1
- package/dist/plugins/session-birth.d.ts +37 -0
- package/dist/plugins/session-birth.js +38 -0
- package/dist/plugins/session-epoch-anchor.d.ts +40 -12
- package/dist/plugins/session-epoch-anchor.js +33 -11
- package/dist/plugins/session-ext-table.d.ts +98 -0
- package/dist/plugins/session-ext-table.js +134 -0
- package/dist/plugins/session-fork.d.ts +16 -2
- package/dist/plugins/session-fork.js +3 -0
- package/dist/plugins/session-ownership.d.ts +1 -1
- package/dist/plugins/session-placement.d.ts +22 -16
- package/dist/plugins/session-placement.js +15 -12
- package/dist/plugins/session-row-sql.d.ts +20 -7
- package/dist/plugins/session-row-sql.js +16 -8
- package/dist/plugins/session-run-rollup.d.ts +29 -0
- package/dist/plugins/session-run-rollup.js +40 -0
- package/dist/plugins/session-store-sql.d.ts +157 -0
- package/dist/plugins/session-store-sql.js +398 -0
- package/dist/plugins/session-withdraw-sql.d.ts +36 -0
- package/dist/plugins/session-withdraw-sql.js +42 -0
- package/dist/plugins/session-workspace-cell.d.ts +2 -2
- package/dist/plugins/session-workspace-cell.js +2 -2
- package/dist/plugins/shared-memory-store-sql.d.ts +10 -69
- package/dist/plugins/shared-memory-store-sql.js +15 -14
- package/dist/plugins/shell-sentinel-owner-m48.d.ts +20 -0
- package/dist/plugins/shell-sentinel-owner-m48.js +3 -0
- package/dist/plugins/snapshot-bucket-presence.d.ts +2 -1
- package/dist/plugins/snapshot-bucket-presence.js +1 -1
- package/dist/plugins/sql-driver.d.ts +24 -8
- package/dist/plugins/sql-driver.js +43 -9
- package/dist/plugins/sql-errors.d.ts +35 -5
- package/dist/plugins/sql-errors.js +55 -3
- package/dist/plugins/sql-json-column.d.ts +8 -7
- package/dist/plugins/sql-json-column.js +10 -6
- package/dist/plugins/store-backend.d.ts +114 -18
- package/dist/plugins/store-backend.js +340 -87
- package/dist/plugins/store-contracts.d.ts +97 -30
- package/dist/plugins/store-contracts.js +23 -1
- package/dist/plugins/store-fault.d.ts +28 -2
- package/dist/plugins/store-fault.js +20 -2
- package/dist/plugins/task-attachment-store.d.ts +21 -11
- package/dist/plugins/task-attachment-store.js +37 -19
- package/dist/plugins/task-list-store-sql.d.ts +1 -1
- package/dist/plugins/text-column-capacity.d.ts +21 -0
- package/dist/plugins/text-column-capacity.js +5 -0
- package/dist/plugins/tidb-pool.d.ts +3 -2
- package/dist/plugins/tidb-pool.js +42 -39
- package/dist/plugins/user-input-ledger-sql.d.ts +1 -1
- package/dist/plugins/web-search.js +5 -3
- package/dist/plugins/workflow-run-store-sql.d.ts +6 -1
- package/dist/plugins/workflow-run-store-sql.js +11 -5
- package/dist/principal-jwt.d.ts +4 -4
- package/dist/principal-jwt.js +20 -5
- package/dist/principal-shape.d.ts +41 -0
- package/dist/principal-shape.js +19 -0
- package/dist/question.d.ts +13 -23
- package/dist/question.js +21 -39
- package/dist/read-face-posture.d.ts +6 -6
- package/dist/read-face-posture.js +2 -2
- package/dist/request-declaration-refusal.d.ts +35 -12
- package/dist/request-declaration-refusal.js +21 -9
- package/dist/request-form.d.ts +58 -0
- package/dist/request-form.js +72 -0
- package/dist/request-image-urls.d.ts +8 -2
- package/dist/request-image-urls.js +2 -1
- package/dist/request-images.d.ts +20 -0
- package/dist/request-images.js +59 -0
- package/dist/request-key-closure.d.ts +6 -7
- package/dist/request-key-closure.js +15 -2
- package/dist/request-value-closure.d.ts +5 -5
- package/dist/request-value-closure.js +1 -1
- package/dist/resource-suspend.d.ts +7 -16
- package/dist/resource-suspend.js +1 -1
- package/dist/retired-name-host-notice.d.ts +21 -0
- package/dist/retired-name-host-notice.js +12 -0
- package/dist/rule-entry-list.d.ts +2 -2
- package/dist/rule-entry-list.js +3 -4
- package/dist/rule-issue-reading.d.ts +58 -0
- package/dist/rule-issue-reading.js +14 -0
- package/dist/rules-consent.d.ts +46 -16
- package/dist/rules-consent.js +102 -53
- package/dist/run-acceptance.d.ts +3 -1
- package/dist/run-acceptance.js +3 -0
- package/dist/run-local.d.ts +14 -6
- package/dist/run-local.js +109 -93
- package/dist/run-stale-default.d.ts +7 -0
- package/dist/run-stale-default.js +2 -0
- package/dist/runs.d.ts +73 -44
- package/dist/runs.js +65 -43
- package/dist/runtime-caps-resolver.d.ts +36 -14
- package/dist/runtime-caps-resolver.js +31 -14
- package/dist/runtime-governance.d.ts +2 -2
- package/dist/runtime-governance.js +5 -3
- package/dist/sealed-key-layout.d.ts +12 -6
- package/dist/sealed-key-layout.js +5 -1
- package/dist/sealed-key.d.ts +12 -2
- package/dist/sealed-key.js +116 -26
- package/dist/security.d.ts +133 -161
- package/dist/security.js +163 -59
- package/dist/sema-config-dir.d.ts +20 -0
- package/dist/sema-config-dir.js +27 -2
- package/dist/server-secret-env.d.ts +23 -5
- package/dist/server-secret-env.js +14 -4
- package/dist/service-version.d.ts +2 -1
- package/dist/service-version.js +2 -2
- package/dist/session-children-retire.d.ts +7 -5
- package/dist/session-children-retire.js +7 -2
- package/dist/session-deletion.d.ts +88 -0
- package/dist/session-deletion.js +8 -0
- package/dist/session-erase.d.ts +145 -0
- package/dist/session-erase.js +115 -0
- package/dist/session-error-wire.d.ts +6 -6
- package/dist/session-error-wire.js +1 -1
- package/dist/session-incarnation.d.ts +60 -10
- package/dist/session-incarnation.js +19 -2
- package/dist/session-policy-wire.d.ts +6 -3
- package/dist/session-policy-wire.js +11 -1
- package/dist/session-resident-background.d.ts +29 -47
- package/dist/session-resident-background.js +77 -8
- package/dist/session-row.d.ts +3 -2
- package/dist/session-rules-seat.d.ts +12 -0
- package/dist/session-rules-seat.js +19 -0
- package/dist/session-sync-kernel.d.ts +1 -1
- package/dist/session-titler.d.ts +7 -15
- package/dist/session-titler.js +1 -1
- package/dist/session-workspace.d.ts +11 -2
- package/dist/session-workspace.js +5 -0
- package/dist/sighup-idle.d.ts +1 -1
- package/dist/spec-fields.d.ts +57 -3
- package/dist/spec-fields.js +72 -51
- package/dist/store-posture.d.ts +138 -21
- package/dist/store-posture.js +188 -3
- package/dist/stored-request-hooks-m20.d.ts +3 -2
- package/dist/stored-request-hooks-m20.js +21 -16
- package/dist/stores-sql/background-agent-store-sql.d.ts +11 -2
- package/dist/stores-sql/background-agent-store-sql.js +73 -20
- package/dist/stores-sql/blob-index-sql.d.ts +148 -0
- package/dist/stores-sql/blob-index-sql.js +154 -0
- package/dist/stores-sql/checkpoint-store-sql.d.ts +34 -29
- package/dist/stores-sql/checkpoint-store-sql.js +86 -71
- package/dist/{plugins → stores-sql}/file-history-store-sql.d.ts +23 -11
- package/dist/{plugins → stores-sql}/file-history-store-sql.js +23 -18
- package/dist/stores-sql/mailbox-store-sql.d.ts +7 -4
- package/dist/stores-sql/mailbox-store-sql.js +31 -32
- package/dist/{plugins → stores-sql}/pg-session-storage.d.ts +30 -81
- package/dist/{plugins → stores-sql}/pg-session-storage.js +123 -244
- package/dist/{plugins → stores-sql}/retention-store-sql.d.ts +197 -223
- package/dist/{plugins → stores-sql}/retention-store-sql.js +148 -207
- package/dist/{plugins → stores-sql}/session-event-payload.d.ts +1 -1
- package/dist/{plugins → stores-sql}/session-event-payload.js +1 -1
- package/dist/stores-sql/session-policy-store-sql.d.ts +33 -11
- package/dist/stores-sql/session-policy-store-sql.js +44 -36
- package/dist/stores-sql/session-write-hooks.d.ts +65 -0
- package/dist/stores-sql/session-write-hooks.js +2 -0
- package/dist/{plugins → stores-sql}/tidb-session-storage.d.ts +14 -15
- package/dist/{plugins → stores-sql}/tidb-session-storage.js +22 -28
- package/dist/{plugins → stores-sql}/tidb-session-store.d.ts +67 -138
- package/dist/{plugins → stores-sql}/tidb-session-store.js +130 -200
- package/dist/stores-sql/tool-result-store-sql.d.ts +1 -1
- package/dist/stores-sql/tool-result-store-sql.js +1 -1
- package/dist/stores-sql/windowed-session-storage.d.ts +61 -0
- package/dist/stores-sql/windowed-session-storage.js +70 -0
- package/dist/submission-exit.d.ts +50 -0
- package/dist/submission-exit.js +108 -0
- package/dist/task-a2a.d.ts +7 -1
- package/dist/task-a2a.js +18 -17
- package/dist/task-cwd.d.ts +31 -3
- package/dist/task-cwd.js +25 -1
- package/dist/task-mcp.d.ts +11 -3
- package/dist/task-mcp.js +16 -19
- package/dist/task-settings.d.ts +23 -14
- package/dist/task-settings.js +35 -13
- package/dist/terminal.d.ts +25 -43
- package/dist/terminal.js +31 -11
- package/dist/tool-approval.d.ts +152 -137
- package/dist/tool-approval.js +199 -199
- package/dist/trace/core-keyset-guard.d.ts +22 -9
- package/dist/trace/core-vocab-wire.d.ts +95 -0
- package/dist/trace/core-vocab-wire.js +15 -0
- package/dist/trace/engine-notice-wire.d.ts +1 -1
- package/dist/trace/engine-notice-wire.js +2 -0
- package/dist/trace/exit-seat.d.ts +52 -4
- package/dist/trace/exit-seat.js +43 -36
- package/dist/trace/extension-call-face.d.ts +3 -2
- package/dist/trace/extension-call-face.js +3 -1
- package/dist/trace/ledger-events.d.ts +4 -7
- package/dist/trace/ledger-sink.d.ts +1 -30
- package/dist/trace/ledger-sink.js +0 -11
- package/dist/trace/model-segment.d.ts +5 -5
- package/dist/trace/model-segment.js +5 -5
- package/dist/trace/project.d.ts +88 -58
- package/dist/trace/project.js +64 -28
- package/dist/trace/redact.d.ts +124 -28
- package/dist/trace/redact.js +936 -328
- package/dist/trace/self-minted-wire.d.ts +750 -29
- package/dist/trace/self-minted-wire.js +262 -25
- package/dist/trace/sema-provenance.d.ts +45 -41
- package/dist/trace/sema-provenance.js +81 -10
- package/dist/trace/task-notification-facets.d.ts +70 -2
- package/dist/trace/task-notification-facets.js +71 -1
- package/dist/trace/wire-projection-faces.d.ts +43 -8
- package/dist/trace/wire-projection-faces.js +28 -3
- package/dist/unread-request-members.d.ts +66 -0
- package/dist/unread-request-members.js +41 -0
- package/dist/upstream-body.d.ts +23 -0
- package/dist/upstream-body.js +16 -0
- package/dist/url-refusal.d.ts +3 -3
- package/dist/url-refusal.js +11 -4
- package/dist/user-authored-text.d.ts +1 -1
- package/dist/user-input-ledger.d.ts +7 -8
- package/dist/user-input-ledger.js +1 -1
- package/dist/web-admin-client/apply-effective.d.ts +6 -3
- package/dist/web-admin-client/apply-effective.js +33 -40
- package/dist/web-admin-client/apply-ledger.d.ts +16 -7
- package/dist/web-admin-client/apply-ledger.js +5 -2
- package/dist/web-admin-client/candidate-gate.d.ts +35 -3
- package/dist/web-admin-client/candidate-gate.js +53 -5
- package/dist/web-admin-client/center-request.d.ts +6 -3
- package/dist/web-admin-client/center-request.js +17 -16
- package/dist/web-admin-client/effective-keys.d.ts +1 -1
- package/dist/web-admin-client/effective-keys.js +1 -2
- package/dist/web-admin-client/entry-metadata.d.ts +8 -0
- package/dist/web-admin-client/entry-metadata.js +13 -0
- package/dist/web-admin-client/facade.d.ts +1 -1
- package/dist/web-admin-client/http-client.d.ts +2 -1
- package/dist/web-admin-client/http-client.js +40 -13
- package/dist/web-admin-client/mcp-revocation.d.ts +1 -1
- package/dist/web-admin-client/mcp-revocation.js +2 -1
- package/dist/web-admin-client/read-warnings.d.ts +1 -0
- package/dist/web-admin-client/read-warnings.js +1 -0
- package/dist/web-admin-client/restart-signal.js +13 -6
- package/dist/web-admin-client/skills-mcp.d.ts +22 -8
- package/dist/web-admin-client/skills-mcp.js +26 -21
- package/dist/web-admin-client/types.d.ts +35 -51
- package/dist/workspace-space.d.ts +3 -2
- package/docs/DEVICE-EXECUTOR-PROTOCOL.md +4 -4
- package/package.json +16 -12
- package/scripts/drain-check-local.mjs +118 -173
- package/scripts/drain-check.mysql.sql +20 -16
- package/scripts/drain-check.pg.sql +20 -16
- package/wire-changes/server@7.147.0.json +813 -0
- package/wire-changes/server@7.148.0.json +1517 -0
- package/dist/http/memory-control-plane-corrupt-reply.d.ts +0 -25
- package/dist/http/memory-control-plane-corrupt-reply.js +0 -19
- package/dist/http/memory-layer-reply.d.ts +0 -30
- package/dist/http/memory-layer-reply.js +0 -24
- package/dist/lsp/e2b-bridge.d.ts +0 -57
- package/dist/lsp/e2b-bridge.js +0 -139
- package/dist/lsp/e2b-manager.d.ts +0 -93
- package/dist/lsp/e2b-manager.js +0 -178
- package/dist/lsp/lsp-frames.d.ts +0 -14
- package/dist/lsp/lsp-frames.js +0 -25
- package/dist/lsp/manager.d.ts +0 -129
- package/dist/lsp/manager.js +0 -127
- package/dist/lsp/types.d.ts +0 -12
- package/dist/lsp/types.js +0 -2
- package/dist/lsp/ws-transport.d.ts +0 -40
- package/dist/lsp/ws-transport.js +0 -210
|
@@ -33,6 +33,17 @@ export const SELF_MINTED_WIRE = {
|
|
|
33
33
|
client_disconnected: { attr: "-", since: "7.112.0" },
|
|
34
34
|
ask_park_grace_exhausted: { attr: "-", since: "7.112.0" },
|
|
35
35
|
cancel_verb: { attr: "-", since: "7.112.0" },
|
|
36
|
+
stall_verdict: { attr: "-", since: "7.148.0" },
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
runStallVerdictFace: {
|
|
40
|
+
at: "run 流死亡终帧键 · 会话占用冲突体键",
|
|
41
|
+
members: {
|
|
42
|
+
"GET /v1/runs/:id/events#failed.errorCode(死亡判决的终帧从行合成时恒在场 = 行上的码 run.stalled / run.orphaned;本连接已投账本终帧则不合成)": { attr: "verdict", since: "7.148.0" },
|
|
43
|
+
},
|
|
44
|
+
retired: {
|
|
45
|
+
"409 conflict.session_active_run#stale(只为 true 时在场)": { attr: "true-only", since: "7.37.0", until: "7.148.0" },
|
|
46
|
+
"POST /v1/tasks/stream done.result(conflict.session_active_run)#stale(只为 true 时在场)": { attr: "true-only", since: "7.37.0", until: "7.148.0" },
|
|
36
47
|
},
|
|
37
48
|
},
|
|
38
49
|
sessionMemoryEraseStatus: {
|
|
@@ -46,6 +57,7 @@ export const SELF_MINTED_WIRE = {
|
|
|
46
57
|
"memory.erasure_selector_mismatch": { attr: 409, since: "7.108.0" },
|
|
47
58
|
"memory.erasure_census_incomplete": { attr: 409, since: "7.108.0" },
|
|
48
59
|
"internal.memory_control_plane_corrupt": { attr: 500, since: "7.108.0" },
|
|
60
|
+
"request.memory_layer": { attr: 400, revises: ["errorCode:internal.error"], since: "7.148.0" },
|
|
49
61
|
},
|
|
50
62
|
},
|
|
51
63
|
askTerminalReason: {
|
|
@@ -156,6 +168,16 @@ export const SELF_MINTED_WIRE = {
|
|
|
156
168
|
http: { attr: "-", since: "7.141.0" },
|
|
157
169
|
},
|
|
158
170
|
},
|
|
171
|
+
settingsContractHookEntryType: {
|
|
172
|
+
at: "GET /v1/capabilities settingsContract.hookEntryFields",
|
|
173
|
+
members: {
|
|
174
|
+
command: { attr: "-", since: "7.147.0" },
|
|
175
|
+
prompt: { attr: "-", since: "7.147.0" },
|
|
176
|
+
agent: { attr: "-", since: "7.147.0" },
|
|
177
|
+
http: { attr: "-", since: "7.147.0" },
|
|
178
|
+
mcp_tool: { attr: "-", since: "7.147.0" },
|
|
179
|
+
},
|
|
180
|
+
},
|
|
159
181
|
credentialPlaneSandboxGitState: {
|
|
160
182
|
at: "GET /v1/capabilities credentialPlane.sandboxGit.state",
|
|
161
183
|
members: {
|
|
@@ -248,9 +270,42 @@ export const SELF_MINTED_WIRE = {
|
|
|
248
270
|
members: {
|
|
249
271
|
http: { attr: "always within inflightBreakdown", since: "7.146.0" },
|
|
250
272
|
leader: { attr: "always within inflightBreakdown", since: "7.146.0" },
|
|
273
|
+
backgroundAgents: { attr: "always within inflightBreakdown", since: "7.147.0" },
|
|
251
274
|
sessionResident: { attr: "always within inflightBreakdown", since: "7.146.0" },
|
|
252
275
|
},
|
|
253
276
|
},
|
|
277
|
+
healthSandboxCapacityKey: {
|
|
278
|
+
at: "GET /health sandboxCapacity",
|
|
279
|
+
members: {
|
|
280
|
+
lane: { attr: "always within sandboxCapacity", since: "7.148.0" },
|
|
281
|
+
limit: { attr: "always within sandboxCapacity", since: "7.148.0" },
|
|
282
|
+
inUse: { attr: "always within sandboxCapacity (null until a successful daemon reading)", since: "7.148.0" },
|
|
283
|
+
readAt: { attr: "always within sandboxCapacity (null until the first daemon reading)", since: "7.148.0" },
|
|
284
|
+
waiting: { attr: "always within sandboxCapacity", since: "7.148.0" },
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
healthStoreKey: {
|
|
288
|
+
at: "GET /health store",
|
|
289
|
+
members: {
|
|
290
|
+
durability: { attr: "always", since: "7.148.0" },
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
storeDurability: {
|
|
294
|
+
at: "GET /health store.durability · GET /v1/capabilities store.durability",
|
|
295
|
+
members: {
|
|
296
|
+
durable: { attr: "-", since: "7.148.0" },
|
|
297
|
+
ephemeral: { attr: "-", since: "7.148.0" },
|
|
298
|
+
unknown: { attr: "-", since: "7.148.0" },
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
healthAutoBackgroundOnTimeout: {
|
|
302
|
+
at: "GET /health autoBackgroundOnTimeout",
|
|
303
|
+
members: {
|
|
304
|
+
armed: { attr: "-", since: "7.148.0" },
|
|
305
|
+
off: { attr: "-", since: "7.148.0" },
|
|
306
|
+
unsupported: { attr: "-", since: "7.148.0" },
|
|
307
|
+
},
|
|
308
|
+
},
|
|
254
309
|
healthEngineLeaseKey: {
|
|
255
310
|
at: "GET /health engineLease",
|
|
256
311
|
members: {
|
|
@@ -313,6 +368,18 @@ export const SELF_MINTED_WIRE = {
|
|
|
313
368
|
at: "GET /v1/models models[] 行键(<键> → 在场律)",
|
|
314
369
|
members: {
|
|
315
370
|
supportsThinkingOff: { attr: "always", since: "7.138.0" },
|
|
371
|
+
thinkingLevelMap: { attr: "present-iff declared", since: "7.147.0" },
|
|
372
|
+
defaultThinking: { attr: "present-iff declared", since: "7.148.0" },
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
modelsRowAnthropicCompatKey: {
|
|
376
|
+
at: "GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律)",
|
|
377
|
+
members: {
|
|
378
|
+
thinkingMode: { attr: "present-iff declared", since: "7.147.0" },
|
|
379
|
+
effortLevels: { attr: "present-iff declared non-empty", since: "7.147.0" },
|
|
380
|
+
supportsTemperature: { attr: "present-iff declared", since: "7.147.0" },
|
|
381
|
+
contextManagement: { attr: "present-iff declared", since: "7.147.0" },
|
|
382
|
+
interleavedThinking: { attr: "present-iff declared", since: "7.147.0" },
|
|
316
383
|
},
|
|
317
384
|
},
|
|
318
385
|
sessionBackgroundRowKey: {
|
|
@@ -328,12 +395,55 @@ export const SELF_MINTED_WIRE = {
|
|
|
328
395
|
unreadable: { attr: "present-iff the session head's leaf cannot be read (the file backend: the archive header is corrupt / truncated, or the archive cannot be read); the SQL backends never carry it; PATCH answers 500 for such a session before writing, so its 200 / 409 rows never carry it", since: "7.142.0" },
|
|
329
396
|
},
|
|
330
397
|
},
|
|
398
|
+
projectRowKey: {
|
|
399
|
+
at: "GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律)",
|
|
400
|
+
members: {
|
|
401
|
+
id: { attr: "always", since: "7.147.0" },
|
|
402
|
+
displayName: { attr: "always", since: "7.147.0" },
|
|
403
|
+
goal: { attr: "present-iff registered", since: "7.147.0" },
|
|
404
|
+
contextItems: { attr: "present-iff registered", since: "7.147.0" },
|
|
405
|
+
gitRemotes: { attr: "always", since: "7.147.0" },
|
|
406
|
+
defaultScopes: { attr: "always", since: "7.147.0" },
|
|
407
|
+
notes: { attr: "present-iff registered", since: "7.147.0" },
|
|
408
|
+
icon: { attr: "present-iff registered", since: "7.147.0" },
|
|
409
|
+
color: { attr: "present-iff registered", since: "7.147.0" },
|
|
410
|
+
registeredBy: { attr: "always", since: "7.147.0" },
|
|
411
|
+
registeredAt: { attr: "always", since: "7.147.0" },
|
|
412
|
+
archivedAt: { attr: "present-iff archived", since: "7.147.0" },
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
projectsListBodyKey: {
|
|
416
|
+
at: "GET /v1/projects 200 体顶层键(<键> → 在场律)",
|
|
417
|
+
members: {
|
|
418
|
+
projects: { attr: "always", since: "7.147.0" },
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
sessionViewKey: {
|
|
422
|
+
at: "GET /v1/sessions/:id 体顶层键(本版新出现;<键> → 在场律)",
|
|
423
|
+
members: {
|
|
424
|
+
projectId: { attr: "present-iff the session row's last own workspace_changed frame carried a project", since: "7.147.0" },
|
|
425
|
+
},
|
|
426
|
+
},
|
|
331
427
|
sessionsListRowUnreadableKey: {
|
|
332
428
|
at: "GET /v1/sessions sessions[].unreadable 键(<键> → 在场律)",
|
|
333
429
|
members: {
|
|
334
430
|
errorCode: { attr: "always; the errorCode GET /v1/sessions/:id answers for the same session (corrupt_session | internal.error today)", since: "7.142.0" },
|
|
335
431
|
},
|
|
336
432
|
},
|
|
433
|
+
inboxPayloadTruncatedFrame: {
|
|
434
|
+
at: "停驻补投帧(下一次开流 drain)键(<帧>#<键> → 在场律)",
|
|
435
|
+
members: {
|
|
436
|
+
"task_notification#payloadTruncated": { attr: "present-iff the parked entry's payload exceeded the inbox byte budget (minimal form)", since: "7.147.0" },
|
|
437
|
+
"workflow_complete#payloadTruncated": { attr: "present-iff the parked entry's payload exceeded the inbox byte budget (minimal form)", since: "7.147.0" },
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
inboxPayloadTruncatedKey: {
|
|
441
|
+
at: "停驻补投帧 payloadTruncated 的键",
|
|
442
|
+
members: {
|
|
443
|
+
droppedKeys: { attr: "always", since: "7.147.0" },
|
|
444
|
+
bytes: { attr: "always", since: "7.147.0" },
|
|
445
|
+
},
|
|
446
|
+
},
|
|
337
447
|
toolEndGateDispositionKey: {
|
|
338
448
|
at: "tool_end gate.disposition 键(<臂>#<键> → 在场律)",
|
|
339
449
|
members: {
|
|
@@ -378,25 +488,37 @@ export const SELF_MINTED_WIRE = {
|
|
|
378
488
|
"approval_request#requestedBy": { attr: "present-iff extension-initiated call", since: "7.138.0" },
|
|
379
489
|
},
|
|
380
490
|
},
|
|
381
|
-
|
|
382
|
-
at: "400 request.field_conflict
|
|
491
|
+
fieldConflictReason: {
|
|
492
|
+
at: "400 / 409 / 422 request.field_conflict reason",
|
|
383
493
|
members: {
|
|
384
|
-
cascade_verify: { attr: "-", since: "7.
|
|
385
|
-
image_profile: { attr: "-", since: "7.
|
|
386
|
-
resume_anchor: { attr: "-", since: "7.
|
|
387
|
-
system_prompt_fold: { attr: "-", since: "7.
|
|
388
|
-
file_history_restore: { attr: "-", since: "7.
|
|
389
|
-
skills_disabled: { attr: "-", since: "7.
|
|
390
|
-
existing_session: { attr: "-", since: "7.
|
|
391
|
-
fork_target: { attr: "-", since: "7.
|
|
392
|
-
scratchpad_root: { attr: "-", since: "7.
|
|
393
|
-
ask_answer: { attr: "-", since: "7.
|
|
394
|
-
policy_person_ask: { attr: "-", since: "7.
|
|
395
|
-
plan_edit: { attr: "-", since: "7.
|
|
396
|
-
plan_mode_after: { attr: "-", since: "7.
|
|
397
|
-
bound_call_door: { attr: "-", since: "7.
|
|
398
|
-
remember_decision: { attr: "-", since: "7.
|
|
399
|
-
approval_feedback: { attr: "-", since: "7.
|
|
494
|
+
cascade_verify: { attr: "-", revises: ["selfMinted.fieldConflictKind:cascade_verify"], since: "7.148.0" },
|
|
495
|
+
image_profile: { attr: "-", revises: ["selfMinted.fieldConflictKind:image_profile"], since: "7.148.0" },
|
|
496
|
+
resume_anchor: { attr: "-", revises: ["selfMinted.fieldConflictKind:resume_anchor"], since: "7.148.0" },
|
|
497
|
+
system_prompt_fold: { attr: "-", revises: ["selfMinted.fieldConflictKind:system_prompt_fold"], since: "7.148.0" },
|
|
498
|
+
file_history_restore: { attr: "-", revises: ["selfMinted.fieldConflictKind:file_history_restore"], since: "7.148.0" },
|
|
499
|
+
skills_disabled: { attr: "-", revises: ["selfMinted.fieldConflictKind:skills_disabled"], since: "7.148.0" },
|
|
500
|
+
existing_session: { attr: "-", revises: ["selfMinted.fieldConflictKind:existing_session"], since: "7.148.0" },
|
|
501
|
+
fork_target: { attr: "-", revises: ["selfMinted.fieldConflictKind:fork_target"], since: "7.148.0" },
|
|
502
|
+
scratchpad_root: { attr: "-", revises: ["selfMinted.fieldConflictKind:scratchpad_root"], since: "7.148.0" },
|
|
503
|
+
ask_answer: { attr: "-", revises: ["selfMinted.fieldConflictKind:ask_answer"], since: "7.148.0" },
|
|
504
|
+
policy_person_ask: { attr: "-", revises: ["selfMinted.fieldConflictKind:policy_person_ask"], since: "7.148.0" },
|
|
505
|
+
plan_edit: { attr: "-", revises: ["selfMinted.fieldConflictKind:plan_edit"], since: "7.148.0" },
|
|
506
|
+
plan_mode_after: { attr: "-", revises: ["selfMinted.fieldConflictKind:plan_mode_after"], since: "7.148.0" },
|
|
507
|
+
bound_call_door: { attr: "-", revises: ["selfMinted.fieldConflictKind:bound_call_door"], since: "7.148.0" },
|
|
508
|
+
remember_decision: { attr: "-", revises: ["selfMinted.fieldConflictKind:remember_decision"], since: "7.148.0" },
|
|
509
|
+
approval_feedback: { attr: "-", revises: ["selfMinted.fieldConflictKind:approval_feedback"], since: "7.148.0" },
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
hooksRefusalReason: {
|
|
513
|
+
at: "400 request.field_invalid reason(settings.hooks 面)",
|
|
514
|
+
members: {
|
|
515
|
+
dead_alias: { attr: "-", since: "7.148.0" },
|
|
516
|
+
over_budget: { attr: "-", since: "7.148.0" },
|
|
517
|
+
budget_exceeded: { attr: "-", since: "7.148.0" },
|
|
518
|
+
invalid_regex: { attr: "-", since: "7.148.0" },
|
|
519
|
+
unsupported_entry_type: { attr: "-", since: "7.148.0" },
|
|
520
|
+
unnamed_refusal: { attr: "-", since: "7.148.0" },
|
|
521
|
+
wire_key_invalid: { attr: "-", since: "7.148.0" },
|
|
400
522
|
},
|
|
401
523
|
},
|
|
402
524
|
limitRefusalReason: {
|
|
@@ -408,7 +530,7 @@ export const SELF_MINTED_WIRE = {
|
|
|
408
530
|
},
|
|
409
531
|
},
|
|
410
532
|
entryProblemServerReason: {
|
|
411
|
-
at: "400/409/422
|
|
533
|
+
at: "400/409/422 problems[].reason · 受理应答 warnings[].reason(本仓自铸的词)",
|
|
412
534
|
members: {
|
|
413
535
|
not_in_roster: { attr: "-", since: "7.133.0" },
|
|
414
536
|
home_unresolvable: { attr: "-", since: "7.133.0" },
|
|
@@ -422,9 +544,30 @@ export const SELF_MINTED_WIRE = {
|
|
|
422
544
|
},
|
|
423
545
|
},
|
|
424
546
|
rateExceededReason: {
|
|
425
|
-
at: "429 limit.rate_exceeded reason(在飞 run
|
|
547
|
+
at: "429 limit.rate_exceeded reason(在飞 run 并发帽 / 沙箱容量;其余产地不带 reason)",
|
|
426
548
|
members: {
|
|
427
549
|
run_concurrency_cap: { attr: "-", since: "7.146.0" },
|
|
550
|
+
sandbox_capacity: { attr: "-", since: "7.148.0" },
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
parkedRollbackWord: {
|
|
554
|
+
at: "409 decide.revive_rejected / 500 decide.revive_failed / 422 parked_resume.startup_failed / 409 decide.agent_definition_unavailable rollback(本次 decide 那一次补滚时认领的去向)",
|
|
555
|
+
members: {
|
|
556
|
+
rolled_back: { attr: "-", since: "1.267.0" },
|
|
557
|
+
failed: { attr: "-", since: "1.267.0" },
|
|
558
|
+
retry: { attr: "-", since: "1.267.0" },
|
|
559
|
+
lost: { attr: "-", since: "1.267.0" },
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
workflowParkDeliveryResult: {
|
|
563
|
+
at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 在本进程里跑):引擎答词 → 应答",
|
|
564
|
+
members: {
|
|
565
|
+
driving: { attr: "200 {taskId: <workflow runId>, status: resuming, decision}(无结清证据)", since: "7.148.0" },
|
|
566
|
+
already_taken: { attr: "同一决定 ⇒ 首张回执原样回放;另一个决定 ⇒ 409 decide.claim_lost", since: "7.148.0" },
|
|
567
|
+
settled: { attr: "409 decide.gate_moved", since: "7.148.0" },
|
|
568
|
+
not_parked_here: { attr: "409 decide.gate_moved", since: "7.148.0" },
|
|
569
|
+
unreadable: { attr: "503 decide.store_unreachable", since: "7.148.0" },
|
|
570
|
+
kept_parked: { attr: "400 decide.parked_restatement_unsupported(只在决断带续跑重述键时可达)", since: "7.148.0" },
|
|
428
571
|
},
|
|
429
572
|
},
|
|
430
573
|
settingsEnvCredentialMatch: {
|
|
@@ -435,12 +578,11 @@ export const SELF_MINTED_WIRE = {
|
|
|
435
578
|
},
|
|
436
579
|
},
|
|
437
580
|
inheritEnvRefusalReason: {
|
|
438
|
-
at: "400 request.field_invalid reason(inheritEnv 的值形 /
|
|
581
|
+
at: "400 request.field_invalid reason(inheritEnv 的值形 / 车道两类拒;另带 field: \"inheritEnv\")",
|
|
439
582
|
members: {
|
|
440
583
|
unknown_word: { attr: "-", since: "7.137.0" },
|
|
441
584
|
not_a_string: { attr: "-", since: "7.137.0" },
|
|
442
585
|
lane_not_host: { attr: "-", since: "7.137.0" },
|
|
443
|
-
no_authorizer_session: { attr: "-", since: "7.137.0" },
|
|
444
586
|
},
|
|
445
587
|
},
|
|
446
588
|
projectBundleInvalidReason: {
|
|
@@ -464,6 +606,19 @@ export const SELF_MINTED_WIRE = {
|
|
|
464
606
|
"POST /v1/runs|/v1/tasks Idempotency-Key#conflict.run_exists": { attr: 409, since: "7.125.0" },
|
|
465
607
|
"POST /v1/runs|/v1/tasks Idempotency-Key#conflict.idempotency_payload_mismatch": { attr: 409, since: "7.126.0" },
|
|
466
608
|
"POST /v1/tasks|/v1/tasks/stream#replay_first_answer_envelope(同键重放的体 = 首答的信封 + replay: true:终局 = 引擎结果(result 是串),停驻 = 结果 + 回执三键,行还在跑 = 回执三键;流式腿放进 done.result)": { attr: 200, since: "7.142.0" },
|
|
609
|
+
"POST /v1/tasks|/v1/tasks/stream#replay_bit_one_rule(replay: true ⇔ 200 结局不是本次请求产出的:读行重放 + 在飞合流的跟随方,两腿同读;拒绝永不带位;流式终帧 done.replay = done.result.replay)": { attr: 200, revises: ["selfMinted.submitIdempotency:POST /v1/tasks#replay"], since: "7.148.0" },
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
leaderStopFace: {
|
|
613
|
+
at: "leader 停止面(<端点>#<形> → 应答状态 / 键在场律)",
|
|
614
|
+
members: {
|
|
615
|
+
"POST /v1/leader/:id/cancel#running(翻耐久取消旗;驱动副本当场或下一个存活心跳拍中止;体 leaderRunId + status:cancelling + cancelRequested:true)": { attr: 202, since: "7.148.0" },
|
|
616
|
+
"POST /v1/leader/:id/cancel#terminal(幂等;过期这条 run 留下的待决 worker 停驻;体 leaderRunId + 终局 status + cancelRequested + note)": { attr: 202, since: "7.148.0" },
|
|
617
|
+
"POST /v1/leader/:id/cancel#not_visible(不存在 / 不是你的;与 GET 同一 not_found.leader_run)": { attr: 404, since: "7.148.0" },
|
|
618
|
+
"POST /v1/leader/:id/cancel#terminal_parks_settled_concurrently(终局臂过期 worker 停驻时 CAS 输给并发的决断 / 过期;conflict.approval_settled)": { attr: 409, since: "7.148.0" },
|
|
619
|
+
"GET /v1/leader/:id|?idempotencyKey#cancelRequested": { attr: "always (the durable cancel flag; flips only while running)", since: "7.148.0" },
|
|
620
|
+
"GET /v1/leader/:id|?idempotencyKey#errorCode": { attr: "present-iff the run stopped at an abort checkpoint by the cancel verb (value cancelled)", since: "7.148.0" },
|
|
621
|
+
"GET /v1/leader/:id|?idempotencyKey#result.stopped": { attr: "present-iff (true) the run stopped at an abort checkpoint", since: "7.148.0" },
|
|
467
622
|
},
|
|
468
623
|
},
|
|
469
624
|
builtinScenario: {
|
|
@@ -504,6 +659,21 @@ export const SELF_MINTED_WIRE = {
|
|
|
504
659
|
effectiveValueWithheld: { attr: "present-iff", since: "7.133.0" },
|
|
505
660
|
},
|
|
506
661
|
},
|
|
662
|
+
autoModeRefusedBy: {
|
|
663
|
+
at: "GET /v1/capabilities permissionModeAuto.refusedBy(仅 reason:org_denied 且中心亲口拒时在场)",
|
|
664
|
+
members: {
|
|
665
|
+
"center.autoMode": { attr: "-", since: "7.148.0" },
|
|
666
|
+
"center.allowAutoMode": { attr: "-", since: "7.148.0" },
|
|
667
|
+
both: { attr: "-", since: "7.148.0" },
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
configCatalogCredentialPolicy: {
|
|
671
|
+
at: "GET /v1/config/catalog rows[].credentialPolicy(url 型行恒在场)",
|
|
672
|
+
members: {
|
|
673
|
+
refuse: { attr: "-", since: "7.148.0" },
|
|
674
|
+
mask: { attr: "-", since: "7.148.0" },
|
|
675
|
+
},
|
|
676
|
+
},
|
|
507
677
|
modelsResponseKey: {
|
|
508
678
|
at: "GET /v1/models 应答体顶层键(<键> → 在场律)",
|
|
509
679
|
members: {
|
|
@@ -688,6 +858,7 @@ export const SELF_MINTED_WIRE = {
|
|
|
688
858
|
"POST /v1/sessions/:id/fork#stamped_archive(DB_BACKEND=local;源存档仍带更早版本写下的属主戳;零写;体 conflict.session_archive_stamped + 带戳存档的固定句)": { attr: 409, since: "7.144.0" },
|
|
689
859
|
"POST /v1/sessions/:id/sync/import/:stagingId/entries#stamped_archive(DB_BACKEND=local;提交落在仍带属主戳的存档上,改日志的各形推送同答;行净零写;体 conflict.session_archive_stamped + 带戳存档的固定句)": { attr: 409, since: "7.144.0" },
|
|
690
860
|
"POST /v1/sessions/:id/sync/import#stamped_archive(DB_BACKEND=local;第一阶段按 id 分类出 fork / stale 且没带同意,目的端存档仍带属主戳;不开暂存、不拿租约、不写存档;体 conflict.session_archive_stamped + 带戳存档的固定句,不带 relation)": { attr: 409, since: "7.145.0" },
|
|
861
|
+
"POST /v1/sessions/:id/sync/plan#stamped_archive(DB_BACKEND=local;干跑按 id 分类出 fork / stale,目的端存档仍带属主戳;此刻读,不开暂存、不拿租约、不写存档;体 conflict.session_archive_stamped + 带戳存档的固定句,不带 relation)": { attr: 409, since: "7.147.0" },
|
|
691
862
|
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#images_url_credential(新提交;体 request.field_invalid + field images[i].url + reason url_userinfo|url_credential_param)": { attr: 400, since: "7.136.0" },
|
|
692
863
|
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_malformed(新提交;列表不是数组 / 条目不是对象 / 键值判不出形;体 request.field_invalid)": { attr: 400, since: "7.136.0" },
|
|
693
864
|
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_unknown_key(新提交;词表外的键;体 request.body_shape + unknownKeys)": { attr: 400, since: "7.136.0" },
|
|
@@ -745,11 +916,24 @@ export const SELF_MINTED_WIRE = {
|
|
|
745
916
|
"GET /v1/capabilities/mcp#engine_name_collision(中心声明两台归一后同挂一个工具命名空间前缀,引擎在任何传输被触碰之前整集拒;体 config.mcp_server_name_collision + 引擎原句;与同步提交腿同一张码 → 状态表)": { attr: 409, since: "7.143.0" },
|
|
746
917
|
"POST /v1/tasks#engine_name_collision(同步腿;同一份声明集被引擎整集拒;零工作的拒;体 config.mcp_server_name_collision)": { attr: 409, since: "7.143.0" },
|
|
747
918
|
"POST /v1/rules/local-import/prepare#tightening_write_failed(一条收下的 deny / ask 写不进店;这一批的放行扣下、没有票;体 state.rule_write_failed + committed,同 POST /v1/rules)": { attr: 503, since: "7.143.0" },
|
|
919
|
+
"POST /v1/rules/cc-import/prepare|POST /v1/rules/local-import/prepare#record_store_refused(审批记录店建这次导入的记录失败,引擎答店拒臂;没有票、没有放行落店 —— local-import 这一批收下的 deny / ask 可能已当场落店;体 state.rule_write_failed + committed;重发同一请求即重铸)": { attr: 503, since: "7.147.0" },
|
|
748
920
|
"POST /v1/rules/cc-import/redeem#member_refused(兑付走完、引擎的完整成员表里有被拒的成员;体 = 回执 { members, rev },那几行 outcome refused(引擎答 committed no;7.145.0 为 indeterminate + store_refused)+ reason = 引擎拒因码(RuleRefusalCode)+ detail 引擎原话;票用掉,同票再兑 404)": { attr: 200, since: "7.145.0" },
|
|
749
921
|
"POST /v1/rules/cc-import/redeem|POST /v1/rules/local-import/redeem#member_outcome_unknown(兑付走完、引擎的完整成员表里有一员答 committed unknown:写抛 / 读回读不出 / 记 dot 的 CAS 或 dot 分配失败;不落定,认领放回;体 state.rule_import_retry + retryAfterSec;同票重来即重走)": { attr: 503, since: "7.146.0" },
|
|
750
922
|
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env 带凭据条目(名字是本引擎的凭据变量 / 值是秘密形;新提交;体 request.env_credential_refused + field settings.env + entries[{ key, match }],值不回显)": { attr: 400, since: "7.146.0" },
|
|
751
923
|
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#sessionId 是本进程删过的会话 id、根会话行上的住客不是删前属主(新提交;授权口登记之后、执行上下文解析器步 ①;体 conflict.session_id_retired,不回显 id / 属主)": { attr: 409, since: "7.146.0" },
|
|
752
924
|
"POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#根会话 id 是本进程删过的会话 id、行上的住客不是删前属主(续跑家族 / 停驻赎回 / 工作流决断后的宿主新轮;认领之前,卡仍待决;体 resume_blocked_by_policy + blockedBy conflict.session_id_retired + retriable)": { attr: 409, since: "7.146.0" },
|
|
925
|
+
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#scenario_assignment_unavailable(新提交;部署接了配置中心、请求带主体,而中心答不出这位主体的场景裁定:不可达 / 超时 / 答复读不出 / 指派两键形不对或只发一键;点名与不点名同拒;零 run;体 state.scenario_assignment_unavailable + permanence: transient,无 detail)": { attr: 503, since: "7.147.0" },
|
|
926
|
+
"GET /v1/capabilities/mcp|/v1/sessions/:id/a2a#scenario_assignment_unavailable(与提交腿同一只场景门;缺席与点名的场景名同拒;整面;体同上)": { attr: 503, since: "7.147.0" },
|
|
927
|
+
"POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#scenario_assignment_unavailable(续跑家族经装配的那几条;认领之前,卡仍待决;不折 resume_blocked_by_policy;体 state.scenario_assignment_unavailable + permanence: transient + retriable)": { attr: 503, since: "7.147.0" },
|
|
928
|
+
"POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env 有成员不是帽内的串(新提交;只在采纳 env 的车道上:单用户 host / device,或采纳请求体 hooks 且请求带着 hooks;零 run;体 request.field_invalid + field settings.env,句子点名坐标、不回显值)": { attr: 400, since: "7.147.0" },
|
|
929
|
+
"POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#stored_unread_members(续跑将要跑的那一份体 —— 存量体,重述键在场时盖过重述之后 —— 里有本版读者读不出、而本部署本会采纳的成员:settings.hooks / settings.env / 其余 settings 延后键 / mcpServers[i].transport / a2aPeers[i].headers;认领之前,卡仍待决;体 resume_blocked_by_policy + blockedBy request.field_invalid + field + retriable)": { attr: 409, since: "7.147.0" },
|
|
930
|
+
"POST /v1/runs/:id/steer#stored_unread_members(run 已终态、铸唤醒卡之前;同一只判;不铸卡;体 resume_blocked_by_policy + blockedBy request.field_invalid + field,不带 retriable)": { attr: 409, since: "7.147.0" },
|
|
931
|
+
"POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review|/v1/runs/:id/steer|/v1/runs/:id/permission-mode#resume_context_read_failed(读这条会话的续跑上下文失败:库断连 / 拒连 / 超时、缺表 / 权限拒、认不出的库错;拒在任何状态改动之前,卡仍待决、终态 steer 不铸卡;体 state.resume_context_unreadable)": { attr: 503, revises: ["errorCode:conflict.resume_context_unavailable"], since: "7.148.0" },
|
|
932
|
+
"POST /v1/approvals/:sessionId/decide#parked_agent_definition_unavailable(停驻赎回;行上的代理类型不在赎回面委派工具的名册里:逐请求 `agents` 定义 / 停驻后被撤的部署定义 / 名叫 fork 的定义;approve 与 deny 同答;认领回滚、委派工具零调用、卡仍待决;体 decide.agent_definition_unavailable + taskId + rollback)": { attr: 409, since: "7.148.0" },
|
|
933
|
+
"POST /v1/runs/:id/interrupt#body_with_fields(体带任何顶层键 —— 含早先版本受理的 text;非对象体同答;判在查 run 之前:任何 run 状态、属主、存在与否同一只体;体 request.body_shape + unknownKeys(键全在此)+ unsupportedKeys(恒空))": { attr: 400, revises: ["selfMinted.endpointFaceStatus:POST /v1/runs/:id/interrupt#text_live(带 text 的体打在本副本在飞的 run 上 = 引擎 steer 档位 now;202 体 { taskId, status, delivery: queued-immediate, messageId, note })"], since: "7.148.0" },
|
|
934
|
+
},
|
|
935
|
+
retired: {
|
|
936
|
+
"POST /v1/runs/:id/interrupt#text_live(带 text 的体打在本副本在飞的 run 上 = 引擎 steer 档位 now;202 体 { taskId, status, delivery: queued-immediate, messageId, note })": { attr: 202, since: "7.52.0", until: "7.148.0" },
|
|
753
937
|
},
|
|
754
938
|
},
|
|
755
939
|
ruleImportReceiptKey: {
|
|
@@ -816,6 +1000,34 @@ export const SELF_MINTED_WIRE = {
|
|
|
816
1000
|
"409 conflict.session_memory_unobserved#reason": { attr: "always;closed set sessionMemoryUnobservedReason, judged in read order (no settled run → the latest settled run's observation gives no read set: empty observation or memory not mounted → no leaf);the message is a function of reason", since: "7.143.0" },
|
|
817
1001
|
},
|
|
818
1002
|
},
|
|
1003
|
+
ownerFaceAnswer: {
|
|
1004
|
+
at: "属主门的逐口答复(<口>#<调用方 × 行> → 状态 errorCode;其余各口的码与句逐字不变)",
|
|
1005
|
+
members: {
|
|
1006
|
+
"POST /v1/tasks · /v1/tasks/stream · /v1/runs (sessionId)#others-owned-session": { attr: "404 resume.session_not_found (requireExistingSession: session does not exist (resume.session_not_found)), same body as a missing session; was 403 auth.forbidden (named caller) / 401 auth.unauthorized (no principal)", revises: ["errorCode:auth.forbidden", "errorCode:auth.unauthorized"], since: "7.148.0" },
|
|
1007
|
+
"POST /v1/tasks · /v1/tasks/stream · /v1/runs (sessionId)#ownerless-placed-session": { attr: "404 resume.session_not_found at the owner gate, same body as a missing session (assemblies without an execution seat too); not judged when the session's archive cannot be read", since: "7.148.0" },
|
|
1008
|
+
"POST /v1/assistant/tasks/:id/plan_review#direct-door-valid-proof-others-task": { attr: "401 principal_unverified (principal proof required), same body as a missing row; was 404 not_found.run (task not found)", revises: ["errorCode:not_found.run"], since: "7.148.0" },
|
|
1009
|
+
"GET|PUT /v1/sessions/:id/policy#ownerless-placed-session-non-fleet-non-operator": { attr: "404 not_found.session (session not found), same body as a missing session; was 409 conflict.session_ownerless", revises: ["errorCode:conflict.session_ownerless"], since: "7.148.0" },
|
|
1010
|
+
"run / session read faces#deployment-service-credential-no-principal-users-rows": { attr: "200 on GET /v1/runs/:id · /v1/runs/:id/events · /v1/sessions/:id · /head · /events · /memory-status · /execution-placement (unless SERVICE_TOKEN_ACTS_FOR_DEPLOYMENT=false); was 404, or 401 auth.principal_required where a principal is required", revises: ["errorCode:auth.principal_required", "errorCode:not_found.run", "errorCode:not_found.session"], since: "7.148.0" },
|
|
1011
|
+
"GET /v1/runs/:id · /v1/runs/:id/events#dev-open-principal-header-not-owner": { attr: "200 (the principal header is a label on a deployment without an identity boundary); was 404 not_found.run", revises: ["errorCode:not_found.run"], since: "7.148.0" },
|
|
1012
|
+
"owner-only session ports#unreadable-archive-ownerless-session-fleet-or-operator": { attr: "answered as on a readable archive: background · background/stop · notify · mcp/reconnect · execution-placement · approval exemptions list / revoke (the gate skips the placement read only when both hypotheses admit the caller); was 500 corrupt_session", revises: ["errorCode:corrupt_session"], since: "7.148.0" },
|
|
1013
|
+
"run faces#row-without-owner-cell-no-fleet-no-operator": { attr: "the face's missing-row answer for every caller without a fleet or operator qualification on that face; was: a caller without a principal passed on some faces (absent equals absent)", since: "7.148.0" },
|
|
1014
|
+
"POST /v1/tool-approvals/:id/respond#ask-not-visible-to-caller(查无 / 不是调用方的 / 行读不出 / 本 worker 没有问账)": { attr: "404 not_found.ask (no such approval ask (never existed, no longer kept, or not yours)), one body for every form, no state facts — the durable decision door's word; was 404 tool_approval.not_pending with cause unknown_or_other_replica (no cause on a worker without an ask ledger)", revises: ["errorCode:tool_approval.not_pending", "selfMinted.notPendingCause:unknown_or_other_replica"], since: "7.148.0" },
|
|
1015
|
+
"GET /v1/tool-approvals/:id#ask-not-visible-to-caller(查无 / 不是调用方的 / 行读不出 / 本 worker 没有问账)": { attr: "404 not_found.ask, the same body as the respond door; was 404 tool_approval.not_pending with cause unknown_or_other_replica (no cause on a worker without an ask ledger)", revises: ["errorCode:tool_approval.not_pending", "selfMinted.notPendingCause:unknown_or_other_replica"], since: "7.148.0" },
|
|
1016
|
+
"GET /v1/workflows/:id · /journal · /stream · POST /v1/workflows/:id/agents/:label/steer#session-assertion-mismatch": { attr: "404 not_found.workflow (workflow not found), same body as a missing workflow; was 404 not_found.run (workflow not found)", revises: ["errorCode:not_found.run"], since: "7.148.0" },
|
|
1017
|
+
},
|
|
1018
|
+
},
|
|
1019
|
+
sessionRewindFilesWire: {
|
|
1020
|
+
at: "POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律)",
|
|
1021
|
+
members: {
|
|
1022
|
+
"body#to": { attr: "required;a rewind handle this server minted (a prompt's taskId or a message's eventId), 1..255 chars;translated by the same anchor reader as the submit body's rewindFilesTo;unknown ⇒ 404 rewind_files_to.unknown_event", since: "7.147.0" },
|
|
1023
|
+
"body#dryRun": { attr: "optional boolean;true ⇒ preview only, no file written;any other key ⇒ 400 request.body_shape", since: "7.147.0" },
|
|
1024
|
+
"body#acceptPartialRestore": { attr: "not accepted ⇒ 400 request.body_shape (the engine's out-of-run rewind has no partial-restore policy; a partial restore answers 200 with restore.outcome partial)", since: "7.147.0" },
|
|
1025
|
+
"200#dryRun": { attr: "always;the engine RewindFilesResult discriminant verbatim", since: "7.147.0" },
|
|
1026
|
+
"200#preview": { attr: "present-iff dryRun true;engine FileHistoryDiffStats verbatim, or null when the store gives no stats (null is not zero stats)", since: "7.147.0" },
|
|
1027
|
+
"200#restore": { attr: "present-iff dryRun false;engine restore ledger (outcome complete | partial, filesChanged, identicalSkipped, refused[], failed[], modeNotPreserved?, error?), path and reason leaves redacted;error = { errorCode, message, permanence? } (the engine member code is spelled errorCode on the wire)", since: "7.147.0" },
|
|
1028
|
+
"409 conflict.session_active_run#activeTaskId": { attr: "always on this face;the run holding the session's durable claim (the message names it too)", since: "7.147.0" },
|
|
1029
|
+
},
|
|
1030
|
+
},
|
|
819
1031
|
adoptionImportOutcome: {
|
|
820
1032
|
at: "POST /v1/adoption/:id/sessions 200 results[].outcome",
|
|
821
1033
|
members: {
|
|
@@ -866,6 +1078,19 @@ export const SELF_MINTED_WIRE = {
|
|
|
866
1078
|
no_leaf: { attr: "-", since: "7.143.0" },
|
|
867
1079
|
},
|
|
868
1080
|
},
|
|
1081
|
+
declarationRefusalBodyKey: {
|
|
1082
|
+
at: "400 request.field_invalid 的声明列表拒体(<键> → 在场律;mcpServers · a2aPeers · images)",
|
|
1083
|
+
members: {
|
|
1084
|
+
field: { attr: "always on a list-level, entry-level, key-value or URL-credential refusal; the body coordinate the sentence names (mcpServers[i].<path> · a2aPeers[i] · images)", since: "7.148.0" },
|
|
1085
|
+
index: { attr: "present-iff the refusal is entry-level (entry not an object · a key value · URL credential): the entry's position in the list; absent on list-level and over_cap refusals", since: "7.148.0" },
|
|
1086
|
+
},
|
|
1087
|
+
},
|
|
1088
|
+
notBooleanRefusalBodyKey: {
|
|
1089
|
+
at: "400 request.field_invalid 的「必须是布尔」一族拒体(<键> → 在场律)",
|
|
1090
|
+
members: {
|
|
1091
|
+
field: { attr: "always; the body coordinate the sentence names (e.g. promptLean · attachments.mcpUnavailable · settings.ultracode · resilience.allowDegrade)", since: "7.148.0" },
|
|
1092
|
+
},
|
|
1093
|
+
},
|
|
869
1094
|
decideRequiresBindingBodyKey: {
|
|
870
1095
|
at: "400 decide_requires_binding 拒体(<键> → 在场律)",
|
|
871
1096
|
members: {
|
|
@@ -877,6 +1102,7 @@ export const SELF_MINTED_WIRE = {
|
|
|
877
1102
|
members: {
|
|
878
1103
|
"401 auth.unauthorized#operator(/metrics* · GET /v1/tasks/source-summary)": { attr: "… send the deployment's service token … without a principal header where this deployment lets its service token act for the deployment itself (GET /health reports it as auth.serviceTokenActsForDeployment; …), or a read-only token this endpoint accepts (…)", since: "7.146.0" },
|
|
879
1104
|
"422 invalid_entries#row_contract(会话同步推送第二阶段;收编批量导入同句进逐元素 detail)": { attr: "malformed entry (id and parentId must be strings of 1-64 characters, type a string of 1-32 characters)", since: "7.146.0" },
|
|
1105
|
+
"404 not_found.run#a*/wa* id(compact · detach · 子代动词口;各 run 口的非属主臂)": { attr: "run not found — \"<id>\" looks like an agent handle (a*/wa* domain) … (the handle hint, same sentence as the missing-row arm)", revises: ["errorCode:not_found.run"], since: "7.148.0" },
|
|
880
1106
|
"409 decide.row_unrevivable#no_root_anchor": { attr: "ends: deny it to close the card (the agent then ends as failed)", since: "7.136.0" },
|
|
881
1107
|
"400 request.field_invalid#mcpServers.over_cap(受理口 · POST /v1/capabilities/mcp/probe 同句)": { attr: "head: <field> has <count> entries — at most <cap> are accepted", since: "7.136.0" },
|
|
882
1108
|
"400 request.field_invalid#a2aPeers.over_cap": { attr: "tail: 声明列表拒绝骨架的句尾(与 mcpServers 共用 request-declaration-refusal)", since: "7.136.0" },
|
|
@@ -886,6 +1112,11 @@ export const SELF_MINTED_WIRE = {
|
|
|
886
1112
|
"503 state.file_history_unreadable#store_deployment_fault(会话同步三条拉取口)": { attr: "this session's stored state cannot be read: the store does not match what this deployment requires (a table is missing or the database account lacks a privilege), so nothing was exported — retrying will not help until an operator repairs the store", since: "7.137.0" },
|
|
887
1113
|
"connect_failed(run 失败终局)#snapshot_bucket_missing(k8s 车道读 latest 得 404 NoSuchBucket;连沙箱失败,一只 pod 都不建)": { attr: "workspace space pointer read failed (snapshot_bucket_missing): the workspace snapshot bucket <name> (WORKSPACE_SNAPSHOT_BUCKET; default workspaces) does not exist in the object store — refusing to start this run … Ways out: create the bucket, or set WORKSPACE_SNAPSHOT_BUCKET to one that exists, or set WORKSPACE_PERSIST=off …", since: "7.136.0" },
|
|
888
1114
|
"400 request.field_invalid#images[i].url.credential": { attr: "<field> <规则句> — the URL is kept as written (a parked task's resume context, logs), while images[i] can carry the image bytes inline: send { data, mimeType } instead of a URL that holds the credential", since: "7.136.0" },
|
|
1115
|
+
"400 request.field_invalid#images.not_array": { attr: "head: images is <shape>, not an array of image entries", since: "7.148.0" },
|
|
1116
|
+
"400 request.field_invalid#images[i].not_object": { attr: "head: images[i] is <shape>, not an image entry (an object)", revises: ["errorCode:internal.error"], since: "7.148.0" },
|
|
1117
|
+
"400 request.field_invalid#images[i].<key>.unusable": { attr: "<field> is not a usable declaration — must be a string (…) — got <shape>. The request is refused rather than handing the engine an image it cannot read: … Fix the entry (an image is either { data, mimeType } or { url }).", since: "7.148.0" },
|
|
1118
|
+
"400 request.body_shape#images[i].unknown_key": { attr: "body: unrecognized key(s) on an image entry — refused rather than dropped …; Accepted: <keys of the form>", since: "7.148.0" },
|
|
1119
|
+
"400 request.field_invalid#settings.env.compose": { attr: "settings.env cannot be composed into a child process environment — <the engine's verdict, sanitized>. The request is refused rather than accepted into a task whose hooks and shell would fail to start: fix or remove the variable concerned", since: "7.148.0" },
|
|
889
1120
|
"400 request.field_invalid#settings.permissions.deny|ask.bad_entry": { attr: "<field>[<index>] is neither a non-empty rule string nor a { \"rule\", \"layer\" } entry (…) — every entry must be one. …", since: "7.141.0" },
|
|
890
1121
|
"400 request.field_invalid#settings.permissions.allow.bad_entry": { attr: "<field>[<index>] is neither a rule string nor a { \"rule\", \"layer\" } entry (…) — every entry must be one. …", since: "7.143.0" },
|
|
891
1122
|
"400 request.field_invalid#a2aPeers.not_array": { attr: "head: a2aPeers is <shape>, not an array of A2A peer declarations", since: "7.136.0" },
|
|
@@ -913,6 +1144,8 @@ export const SELF_MINTED_WIRE = {
|
|
|
913
1144
|
"409 conflict.session_memory_unobserved#run_result_missing|run_result_unobserved": { attr: "the latest settled run in this session has no memory observation on record, and an earlier run is never read in its place — run another task in this session (…), then sync", since: "7.143.0" },
|
|
914
1145
|
"409 conflict.session_memory_unobserved#memory_not_mounted": { attr: "memory was configured for the latest settled run in this session but did not mount, so which memory this session reads is unknown, and an earlier run is never read in its place — run another task in this session (…), then sync", since: "7.143.0" },
|
|
915
1146
|
"409 conflict.session_memory_unobserved#no_leaf": { attr: "this session has no transcript yet, so there is no revision to sync from — run a task in it (…), then sync", since: "7.143.0" },
|
|
1147
|
+
"400 request.field_invalid#unread_request_members(新提交:settings.env 有成员不是帽内的串;嵌入方直调装配时四座同句)": { attr: "this request carries a member|members this server version's readers cannot take as written, on a deployment that would apply it|them: <坐标,至多 8 处>[ (and <n> more)] — running it would silently leave that member|those members out (a hook that guards a tool, an MCP server's credentials); submit it again with this member|these members in the current form", since: "7.147.0" },
|
|
1148
|
+
"409 resume_blocked_by_policy#unread_members(续跑四门 · steer 铸唤醒卡之前)": { attr: "resume blocked by an admission policy change: <同上一句>", since: "7.147.0" },
|
|
916
1149
|
},
|
|
917
1150
|
},
|
|
918
1151
|
decisionBodyKey: {
|
|
@@ -1044,7 +1277,7 @@ export const SELF_MINTED_WIRE = {
|
|
|
1044
1277
|
"GET /v1/config/catalog#rows[MCP_ELICITATION_TTL_MS].derivedDefaultNote": { attr: "default-window-source:server", since: "7.136.0" },
|
|
1045
1278
|
"GET /v1/config/catalog#rows[ANTHROPIC_API_KEY].semantics": { attr: "x-api-key-only;mutually-exclusive;both-set-refuses-boot", since: "7.136.0" },
|
|
1046
1279
|
"GET /v1/config/catalog#rows[ANTHROPIC_AUTH_TOKEN].semantics": { attr: "bearer-only;mutually-exclusive;both-set-refuses-boot", since: "7.136.0" },
|
|
1047
|
-
"GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_BUCKET].semantics": { attr: "boot-checks-bucket;runtime-latest-no-such-bucket-fails-run", since: "7.
|
|
1280
|
+
"GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_BUCKET].semantics": { attr: "boot-checks-bucket;runtime-latest-no-such-bucket-fails-run;default-name-shared-with-MINIO_BUCKET", since: "7.148.0" },
|
|
1048
1281
|
"GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].semantics": { attr: "multi-segment-prefix;bad-segment-refuses-boot", since: "7.136.0" },
|
|
1049
1282
|
"GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].derivedDefaultNote": { attr: "absent=>kata", since: "7.136.0" },
|
|
1050
1283
|
"GET /v1/config/catalog#rows[K8S_SANDBOX_ENV].semantics": { attr: "values-only-in-the-pod-own-secret;role-needs-secrets-create;denied-refuses-boot;own-credential-name-refuses-boot", since: "7.139.0" },
|
|
@@ -1058,6 +1291,8 @@ export const SELF_MINTED_WIRE = {
|
|
|
1058
1291
|
"GET /v1/config/catalog#rows[DEVICE_RELAY_URL].derivedDefaultNote": { attr: "no-default;absent-refuses-boot", since: "7.141.0" },
|
|
1059
1292
|
"GET /v1/config/catalog#rows[DEVICE_RELAY_URL].enumValues": { attr: "none(echoed-verbatim)", since: "7.141.0" },
|
|
1060
1293
|
"GET /v1/config/catalog#rows[MODEL_ROUTER_ID].derivedDefaultNote": { attr: "absent=>classifier-role-in-served-table", since: "7.143.0" },
|
|
1294
|
+
"GET /v1/config/catalog#rows[MINIO_BUCKET].semantics": { attr: "leader-diff-out-bucket;independent-of-WORKSPACE_SNAPSHOT_BUCKET", since: "7.148.0" },
|
|
1295
|
+
"GET /v1/config/catalog#rows[MINIO_BUCKET].derivedDefaultNote": { attr: "absent=>WORKSPACE_SNAPSHOT_BUCKET_DEFAULT(not-the-explicit-value)", since: "7.148.0" },
|
|
1061
1296
|
"GET /v1/sessions/:id/mcp#servers[].error": { attr: "exit-seat:mcp-remote-text(engine-mark=masked-value)+truncate:200", since: "7.138.0" },
|
|
1062
1297
|
"POST /v1/sessions/:id/mcp/reconnect#reason|status.error|listingIncomplete.error": { attr: "exit-seat:mcp-remote-text(engine-mark=masked-value)+truncate:200", since: "7.138.0" },
|
|
1063
1298
|
"GET /v1/config/catalog#rows[MODEL_VISION].semantics": { attr: "names-engine-notice:model.capability_downgraded", since: "7.137.0" },
|
|
@@ -1065,12 +1300,14 @@ export const SELF_MINTED_WIRE = {
|
|
|
1065
1300
|
"GET /v1/config/catalog#rows[MODEL_CHEAP_VISION].semantics": { attr: "names-engine-notice:model.capability_downgraded", since: "7.137.0" },
|
|
1066
1301
|
"GET /v1/sessions/:id/memory-status#committedCount|foldedCount|lastCaptureAt|captureOptedOut|optOutSource(不带层座)": { attr: "engine-deployment-fold(memory.deployment_status.fold:sum|latest|any-record⇒true+record|all-false⇒false|else optOutSource:fault);store set = stores on disk;one-store⇒identity", since: "7.140.0" },
|
|
1067
1302
|
"GET /v1/models#modelPlane.catalog(refused 的模型面那一半)": { attr: "latest-arrival", since: "7.143.0" },
|
|
1068
|
-
"SSE text_delta#delta": { attr: "live-hold:same-redactor-stream(
|
|
1069
|
-
"SSE reasoning_delta#delta": { attr: "live-hold:same-redactor-stream(
|
|
1303
|
+
"SSE text_delta#delta": { attr: "live-hold:same-redactor-stream(open-judgment-frontier);concat=segment-end-content;remainder-frame-without-eventId", since: "7.143.0" },
|
|
1304
|
+
"SSE reasoning_delta#delta": { attr: "live-hold:same-redactor-stream(open-judgment-frontier);concat=segment-end-content;remainder-frame-without-eventId", since: "7.143.0" },
|
|
1070
1305
|
"GET /v1/runs/:id/subagents/:handle/stream#reasoning_end.content": { attr: "whole-segment-for-late-subscriber", since: "7.143.0" },
|
|
1071
1306
|
"SSE text_delta#delta(文字段的状态跨文字块)": { attr: "segment-scoped-redactor-state;text_end=block-delivery-not-segment-close;block-end-as-ended-vs-whole-differs=live-as-ended+ledger-whole+hold-diverged+1", since: "7.144.0" },
|
|
1072
1307
|
"SSE text_end#content(接在同段前缀之后判)": { attr: "engine-block-content;judged-after-segment-prefix", since: "7.144.0" },
|
|
1073
1308
|
"GET /v1/runs/:id/events#text.text(段文本含只有 text_end 的块)": { attr: "segment-text=block-texts-concat;end-only-block=text_end.content", since: "7.144.0" },
|
|
1309
|
+
"POST /v1/approvals/:sessionId/decide|/v1/assistant/tasks/:id/plan_review|/v1/assistant/tasks/:id/resume|/v1/sessions/:id/wake#errorCode(引擎拒 checkpoint.invalid_outcome)": { attr: "decision-cause⇒cause-code;row-own(reason)|no-cause⇒checkpoint.invalid_outcome", since: "7.147.0" },
|
|
1310
|
+
"POST /v1/approvals/:sessionId/decide#errorCode(这一行自己的拒:读行臂 / 门型守卫之前)": { attr: "rowVerdict.code+reason+retriable:true(engine-judge;before-gate)", since: "7.147.0" },
|
|
1074
1311
|
},
|
|
1075
1312
|
},
|
|
1076
1313
|
};
|
|
@@ -1,45 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* [ref](a)(core 7.2.0 / [ref] 片6 d1):`task_notification` 帧上 `_sema_provenance` typed 归因侧记的
|
|
3
|
-
*
|
|
4
|
-
* (`orchestration/workflow-completion-inbox.ts` 的 `taskNotificationInboxEntry`)
|
|
2
|
+
* [ref](a)(core 7.2.0 / [ref] 片6 d1)· [ref](会话箱车道三 lane 同批翻):`task_notification` 帧上 `_sema_provenance` typed 归因侧记的
|
|
3
|
+
* **单点**投影判据 —— live 三腿(`trace/project.ts` 的 `taskNotificationEventData`)与 park 半场
|
|
4
|
+
* (`orchestration/workflow-completion-inbox.ts` 的 `taskNotificationInboxEntry`)共用,两腿同判(park 腿的 drain 直接 spread extras 成帧、
|
|
5
|
+
* 不再经 project.ts,判据必须在入库前做,而且只能有一份)。一只 wire 键一个判据文件:同帧三只会话箱载体在 `task-notification-facets.ts`。
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* (
|
|
7
|
+
* 规则与那三只载体同一条:逐成员挑(绝不 spread)、在场才带、**在场却读不出 ⇒ 整键丢并计一次**(`dropProjectedFace`,NP-5)、缺席不计;
|
|
8
|
+
* 身份 / 地址 / 闭集词 / 计数 / 时刻逐字,展示 / 自由文本成员经出口座(座由腿给:{@link FrameTextSeat})。
|
|
9
|
+
* · `kind` —— **闭集**:wire 上只许出现 core 词表里的 lane 词。两向锚([ref]/[ref] 同纪律):`satisfies` 保「表内无词表外的词」(core 删 / 改词
|
|
10
|
+
* ⇒ 编译红),穷举断言保「词表无表外的词」(core 加 lane ⇒ 编译红 —— 新词必须由人处置:它是渲染判别键,静默透传一个未知 lane 等于替 core 声明一种
|
|
11
|
+
* 渲染形)。运行期词表外的值(上游漂了 / 载荷被改过)⇒ 整键丢并计一次,消费端退回老形卡;同帧载体不受牵连(它们是渲染判别,不是 lane 词)。
|
|
12
|
+
* · `from` / `taskId` / `seq` 必需,`agentType` 可选(本 mount 的 agent_message lane 恒缺席,在场即逐字)。
|
|
13
|
+
* · `peerMeta` —— 两种箱记录 lane 上 store 记录的 typed peer 元数据(core:「the store record's typed peer metadata, verbatim (authority; a notice
|
|
14
|
+
* frame's `peerMeta.notice` is the typed notice, its carrier holds only the rendered line)」)。逐成员:`fromSession` / `fromRoot` / `fromScope`
|
|
15
|
+
* 身份 / 寻址串逐字;`fromMode` / `kind` 闭集取 core 导出的 `MAILBOX_PEER_FROM_MODES` / `MAILBOX_PEER_RECORD_KINDS`(不手抄,[ref]);`urgent` 布尔;
|
|
16
|
+
* `notice` 见下。**`senderKey` / `gateReceiptId` / `occupant` / `fromOccupant` 不读不投**(登记在 `wire-projection-faces.ts` 的
|
|
17
|
+
* `task_notification_peer_meta` 行,一条律:凭据 / 身份令牌类 —— 准入闸的发信方键、跨主体投递闸的回执号、收发两方会话的化身令牌;
|
|
18
|
+
* 与顶层 `peer.senderKey` 同律,安全轴 fail-closed)。
|
|
19
|
+
* · `peerMeta.notice` —— 回执 / idle 通告的 typed 正体:`state` 必需、**开集串逐字**(core 型 `string`;新词原样过境,kind↔state 的配对是 drain 的判,
|
|
20
|
+
* 本服务不复判);`refSeq` / `finishedAt` 非负有限数(与 core 存储校验同界);`recipient` / `target`(展示标签)、`detail`(目标会话的那一行)、
|
|
21
|
+
* `dropReason` 是别处来的文本 ⇒ 经座。
|
|
22
|
+
* 不跨成员判(哪个 lane 带 `peerMeta`、哪个 lane 配哪只载体):那是产生者的律,core 在铸点守;本服务只判每个成员自己的形。
|
|
12
23
|
*/
|
|
13
|
-
import type
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
taskId: string;
|
|
39
|
-
seq: number;
|
|
40
|
-
agentType?: string;
|
|
41
|
-
}
|
|
42
|
-
/** 逐成员挑取(绝不 spread —— core 给侧记加成员时必须经 keyset 门处置,见 `trace/core-keyset-guard.ts` ①);
|
|
43
|
-
* 返回 undefined = 闭集外 / 形不合 ⇒ 调用方丢整键。`agentType` 缺席不编(本 mount 恒缺席,在场即透传)。 */
|
|
44
|
-
export declare function semaProvenanceOrAbsent(p: SemaProvenanceInput): SemaProvenance | undefined;
|
|
24
|
+
import { type MailboxPeerMeta, type MailboxPeerNoticeMeta, type SemaProvenance } from "@sema-agent/core";
|
|
25
|
+
import { type SafeText } from "./exit-seat.js";
|
|
26
|
+
import { type FaceExcluded, type FrameTextSeat } from "./task-notification-facets.js";
|
|
27
|
+
/** wire 放行的 lane 词 = core 词表全员(会话箱车道三词自 [ref] 起与 `agent_message` 同簿;不再有「有意不放行」的第二簿)。 */
|
|
28
|
+
export declare const SEMA_PROVENANCE_KINDS: readonly ["agent_message", "cross_session_message", "cross_session_notice", "inbox_notice"];
|
|
29
|
+
type NoticeText = "recipient" | "dropReason" | "detail" | "target";
|
|
30
|
+
/** `peerMeta.notice` 的 wire 形:core 型减登记表排除;展示 / 自由文本成员是出口座铸的 {@link SafeText}。 */
|
|
31
|
+
export type PeerNoticeWire = Omit<MailboxPeerNoticeMeta, NoticeText | FaceExcluded<"task_notification_peer_notice">> & {
|
|
32
|
+
[K in Exclude<NoticeText, FaceExcluded<"task_notification_peer_notice">>]?: SafeText;
|
|
33
|
+
};
|
|
34
|
+
/** `peerMeta` 的 wire 形:core 型减登记表排除(`senderKey` / `gateReceiptId` / `occupant` / `fromOccupant`)。 */
|
|
35
|
+
export type PeerMetaWire = Omit<MailboxPeerMeta, "notice" | FaceExcluded<"task_notification_peer_meta">> & {
|
|
36
|
+
notice?: PeerNoticeWire;
|
|
37
|
+
};
|
|
38
|
+
/** 侧记的 wire 形:core 型减登记表排除(今天零排除)。 */
|
|
39
|
+
export type SemaProvenanceWire = Omit<SemaProvenance, "peerMeta" | FaceExcluded<"task_notification_provenance">> & {
|
|
40
|
+
peerMeta?: PeerMetaWire;
|
|
41
|
+
};
|
|
42
|
+
/** `_sema_provenance` 这一只键(在场才铸;读不出 ⇒ 整键丢并计一次)。两腿入参的形不是 core 类型:运行期载荷先当 `unknown` 收、判过形才成 typed。 */
|
|
43
|
+
export declare function semaProvenanceFields(n: {
|
|
44
|
+
_sema_provenance?: unknown;
|
|
45
|
+
}, seat: FrameTextSeat): {
|
|
46
|
+
_sema_provenance?: SemaProvenanceWire;
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
45
49
|
//# sourceMappingURL=sema-provenance.d.ts.map
|