@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
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
/** 一个自铸 wire
|
|
1
|
+
/** 一个自铸 wire 值成员的登记(`revises` 见文件头注:本版修订的行点名它修订的上一 tag 那几项)。 */
|
|
2
2
|
export interface SelfMintedWireMember {
|
|
3
3
|
readonly attr: string | number;
|
|
4
|
+
readonly revises?: readonly string[];
|
|
4
5
|
readonly since: string;
|
|
5
6
|
}
|
|
6
|
-
/**
|
|
7
|
-
export interface SelfMintedRetiredMember
|
|
7
|
+
/** 一个**退役**成员的登记:`attr` / `since` 同 {@link SelfMintedWireMember},多一格 `until`(它退出 wire 的那一版;见文件头注 `retired`);退役成员不带 `revises`。 */
|
|
8
|
+
export interface SelfMintedRetiredMember {
|
|
9
|
+
readonly attr: string | number;
|
|
10
|
+
readonly since: string;
|
|
8
11
|
readonly until: string;
|
|
9
12
|
}
|
|
10
13
|
export declare const SELF_MINTED_WIRE: {
|
|
@@ -92,6 +95,36 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
92
95
|
attr: string;
|
|
93
96
|
since: string;
|
|
94
97
|
};
|
|
98
|
+
stall_verdict: {
|
|
99
|
+
attr: string;
|
|
100
|
+
since: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* run 存活判决单源(7.148.0)在 wire 上的两处变化:run 流的死亡终帧(从行合成,`routes/runs.ts` 的 run 流 provider `closingFrameOf`)多带行上的码;
|
|
106
|
+
* 会话占用冲突的两张脸(409 体 / 流式提交的冲突终帧,键集属主 `http/active-run-conflict.ts` 的 `ActiveRunConflictBody` / `ActiveRunConflictDoneResult`)删 `stale`
|
|
107
|
+
* —— 心跳过期的持有者在认领冲突处已被判死、认领已放,409 只点名活着的持有者。
|
|
108
|
+
*/
|
|
109
|
+
readonly runStallVerdictFace: {
|
|
110
|
+
readonly at: "run 流死亡终帧键 · 会话占用冲突体键";
|
|
111
|
+
readonly members: {
|
|
112
|
+
readonly "GET /v1/runs/:id/events#failed.errorCode(\u6B7B\u4EA1\u5224\u51B3\u7684\u7EC8\u5E27\u4ECE\u884C\u5408\u6210\u65F6\u6052\u5728\u573A = \u884C\u4E0A\u7684\u7801 run.stalled / run.orphaned;\u672C\u8FDE\u63A5\u5DF2\u6295\u8D26\u672C\u7EC8\u5E27\u5219\u4E0D\u5408\u6210)": {
|
|
113
|
+
readonly attr: "verdict";
|
|
114
|
+
readonly since: "7.148.0";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
readonly retired: {
|
|
118
|
+
readonly "409 conflict.session_active_run#stale(\u53EA\u4E3A true \u65F6\u5728\u573A)": {
|
|
119
|
+
readonly attr: "true-only";
|
|
120
|
+
readonly since: "7.37.0";
|
|
121
|
+
readonly until: "7.148.0";
|
|
122
|
+
};
|
|
123
|
+
readonly "POST /v1/tasks/stream done.result(conflict.session_active_run)#stale(\u53EA\u4E3A true \u65F6\u5728\u573A)": {
|
|
124
|
+
readonly attr: "true-only";
|
|
125
|
+
readonly since: "7.37.0";
|
|
126
|
+
readonly until: "7.148.0";
|
|
127
|
+
};
|
|
95
128
|
};
|
|
96
129
|
};
|
|
97
130
|
/**
|
|
@@ -133,6 +166,11 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
133
166
|
readonly attr: 500;
|
|
134
167
|
readonly since: "7.108.0";
|
|
135
168
|
};
|
|
169
|
+
readonly "request.memory_layer": {
|
|
170
|
+
readonly attr: 400;
|
|
171
|
+
readonly revises: readonly ["errorCode:internal.error"];
|
|
172
|
+
readonly since: "7.148.0";
|
|
173
|
+
};
|
|
136
174
|
};
|
|
137
175
|
};
|
|
138
176
|
/**
|
|
@@ -188,7 +226,8 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
188
226
|
};
|
|
189
227
|
/**
|
|
190
228
|
* 晚答 `POST /v1/tool-approvals/:id/respond` 的 `404 tool_approval.not_pending` 体的 `cause`:行 `VOID` / `DENIED` ⇒ 行上那个成因词(同决断口 410,同一列);
|
|
191
|
-
* 另有一个 404 专属词 `unknown_or_other_replica`(7.40.0 起,换副本 /
|
|
229
|
+
* 另有一个 404 专属词 `unknown_or_other_replica`(7.40.0 起,换副本 / 换端点重试才有意义;7.148.0 起只对属主出:行仍待决而本副本没有在等它的登记 ——
|
|
230
|
+
* 看不见这只问的调用方拿 `404 not_found.ask`,见 `ownerFaceAnswer`)。7.124.0 起旧词 `voided` / `denied` 退役(被具体成因词取代,零别名)。
|
|
192
231
|
*/
|
|
193
232
|
readonly notPendingCause: {
|
|
194
233
|
readonly at: "POST /v1/tool-approvals/:id/respond · GET /v1/tool-approvals/:id 404 tool_approval.not_pending cause";
|
|
@@ -477,6 +516,32 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
477
516
|
};
|
|
478
517
|
};
|
|
479
518
|
};
|
|
519
|
+
/** 7.147.0:能力位 `settingsContract.hookEntryFields` 的键(契约 hook 条目型,每型一列字段名,契约型序;恒在场、不随部署形变)。 */
|
|
520
|
+
readonly settingsContractHookEntryType: {
|
|
521
|
+
readonly at: "GET /v1/capabilities settingsContract.hookEntryFields";
|
|
522
|
+
readonly members: {
|
|
523
|
+
command: {
|
|
524
|
+
attr: string;
|
|
525
|
+
since: string;
|
|
526
|
+
};
|
|
527
|
+
prompt: {
|
|
528
|
+
attr: string;
|
|
529
|
+
since: string;
|
|
530
|
+
};
|
|
531
|
+
agent: {
|
|
532
|
+
attr: string;
|
|
533
|
+
since: string;
|
|
534
|
+
};
|
|
535
|
+
http: {
|
|
536
|
+
attr: string;
|
|
537
|
+
since: string;
|
|
538
|
+
};
|
|
539
|
+
mcp_tool: {
|
|
540
|
+
attr: string;
|
|
541
|
+
since: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
};
|
|
480
545
|
/** 7.137.0:能力位 `credentialPlane.sandboxGit.state`(成员 git 凭据平面开 / 关;判官 `judgeSandboxGitPlane`)。 */
|
|
481
546
|
readonly credentialPlaneSandboxGitState: {
|
|
482
547
|
readonly at: "GET /v1/capabilities credentialPlane.sandboxGit.state";
|
|
@@ -679,8 +744,9 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
679
744
|
};
|
|
680
745
|
};
|
|
681
746
|
/**
|
|
682
|
-
* `GET /health` 的 `inflightBreakdown` 段(7.146.0):`inflight` 的分项 —— `http` = 本副本 HTTP 腿(在飞 run 集 + 没有登记身份的同步计费腿 + admission 期的非探针请求)
|
|
683
|
-
* `sessionResident` = 会话驻留的后台 shell / monitor(活过起它的那一条腿;不含 retain 行)
|
|
747
|
+
* `GET /health` 的 `inflightBreakdown` 段(7.146.0;`backgroundAgents` 7.147.0):`inflight` 的分项 —— `http` = 本副本 HTTP 腿(在飞 run 集 + 没有登记身份的同步计费腿 + admission 期的非探针请求),
|
|
748
|
+
* `leader` = leader 口的后台 run,`backgroundAgents` = 活过起它的那一条腿、仍在跑的后台子代理(停驻的不计),`sessionResident` = 会话驻留的后台 shell / monitor(活过起它的那一条腿;不含 retain 行)。
|
|
749
|
+
* `inflight`(总数)恒等于四项之和(同一次读、`inflightTotal` 一处求和);判停读的阻断集 = `http + leader + backgroundAgents`(不上 wire),驻留 shell 项只报不阻断。
|
|
684
750
|
* present-iff `inflight` 在场(`drainState` 装了的部署);键集属主 = `InflightBreakdown`(加一键而本表没跟 ⇒ tsc 红)。
|
|
685
751
|
*/
|
|
686
752
|
readonly healthInflightBreakdownKey: {
|
|
@@ -694,12 +760,94 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
694
760
|
attr: string;
|
|
695
761
|
since: string;
|
|
696
762
|
};
|
|
763
|
+
backgroundAgents: {
|
|
764
|
+
attr: string;
|
|
765
|
+
since: string;
|
|
766
|
+
};
|
|
697
767
|
sessionResident: {
|
|
698
768
|
attr: string;
|
|
699
769
|
since: string;
|
|
700
770
|
};
|
|
701
771
|
};
|
|
702
772
|
};
|
|
773
|
+
/**
|
|
774
|
+
* `GET /health` 的 `store` 段(7.148.0):店活不活得过容器 / Pod 替换 —— 数据根 · 封签钥匙目录 · 接线时的 file 记忆根三根取最弱;与 caps `store.durability` 同一只装配值、同一拍铸。
|
|
775
|
+
* 恒在场(没有装配值的宿主取诚实下限 `ephemeral`);键集属主 = `HealthStoreSection`(加一键而本表没跟 ⇒ tsc 红)。修前的顶层布尔 `durable`(降级时才带)同版删 —— 顶层键不在本表,删的读法写在 MIGRATION。
|
|
776
|
+
*/
|
|
777
|
+
/**
|
|
778
|
+
* `GET /health` 的 `sandboxCapacity` 格(7.148.0):local-docker 车道容器帽 —— present-iff `DOCKER_MAX_CONTAINERS` > 0(闸在场);
|
|
779
|
+
* 闸自己铸(`plugins/local-docker-capacity.ts`),键集属主 = `HealthSandboxCapacitySection`(加一键而本表没跟 ⇒ tsc 红)。`inUse` / `readAt` 是闸最近一次读 daemon 的投影。
|
|
780
|
+
*/
|
|
781
|
+
readonly healthSandboxCapacityKey: {
|
|
782
|
+
readonly at: "GET /health sandboxCapacity";
|
|
783
|
+
readonly members: {
|
|
784
|
+
lane: {
|
|
785
|
+
attr: string;
|
|
786
|
+
since: string;
|
|
787
|
+
};
|
|
788
|
+
limit: {
|
|
789
|
+
attr: string;
|
|
790
|
+
since: string;
|
|
791
|
+
};
|
|
792
|
+
inUse: {
|
|
793
|
+
attr: string;
|
|
794
|
+
since: string;
|
|
795
|
+
};
|
|
796
|
+
readAt: {
|
|
797
|
+
attr: string;
|
|
798
|
+
since: string;
|
|
799
|
+
};
|
|
800
|
+
waiting: {
|
|
801
|
+
attr: string;
|
|
802
|
+
since: string;
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
readonly healthStoreKey: {
|
|
807
|
+
readonly at: "GET /health store";
|
|
808
|
+
readonly members: {
|
|
809
|
+
durability: {
|
|
810
|
+
attr: string;
|
|
811
|
+
since: string;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
/** 店的持久性三态(`/health.store.durability`、caps `store.durability`、诊断 `storeDurability.durability` / `roots[].verdict` 同一闭集;属主 = `store-posture.ts` 的 `STORE_DURABILITIES`)。 */
|
|
816
|
+
readonly storeDurability: {
|
|
817
|
+
readonly at: "GET /health store.durability · GET /v1/capabilities store.durability";
|
|
818
|
+
readonly members: {
|
|
819
|
+
durable: {
|
|
820
|
+
attr: string;
|
|
821
|
+
since: string;
|
|
822
|
+
};
|
|
823
|
+
ephemeral: {
|
|
824
|
+
attr: string;
|
|
825
|
+
since: string;
|
|
826
|
+
};
|
|
827
|
+
unknown: {
|
|
828
|
+
attr: string;
|
|
829
|
+
since: string;
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
/** 前台命令超时转后台在本车道上生不生效的三词(`/health.autoBackgroundOnTimeout`,恒在场;属主 = `capability-facts.ts` 的 `AUTO_BACKGROUND_ON_TIMEOUT_WORDS`,唯一铸点 `autoBackgroundOnTimeoutWord`)。 */
|
|
834
|
+
readonly healthAutoBackgroundOnTimeout: {
|
|
835
|
+
readonly at: "GET /health autoBackgroundOnTimeout";
|
|
836
|
+
readonly members: {
|
|
837
|
+
armed: {
|
|
838
|
+
attr: string;
|
|
839
|
+
since: string;
|
|
840
|
+
};
|
|
841
|
+
off: {
|
|
842
|
+
attr: string;
|
|
843
|
+
since: string;
|
|
844
|
+
};
|
|
845
|
+
unsupported: {
|
|
846
|
+
attr: string;
|
|
847
|
+
since: string;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
};
|
|
703
851
|
/**
|
|
704
852
|
* `GET /health` 的 `engineLease` 段(7.141.0):引擎附着租约窗 —— `lingerMs` = 自退腿会执行的**最短**静默窗(父活着的窗与孤儿窗取小),`tickMs` = 自退检查采样拍。
|
|
705
853
|
* present-iff 本进程装了租约腿(`ENGINE_AUTO_EXIT` 开或 `SEMA_PARENT_PID` 在场)∧ 腿还在观察 ∧ 窗会到期;键集属主 = `EngineLeaseFacts`(加一键而本表没跟 ⇒ tsc 红)。
|
|
@@ -848,6 +996,40 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
848
996
|
readonly attr: "always";
|
|
849
997
|
readonly since: "7.138.0";
|
|
850
998
|
};
|
|
999
|
+
readonly thinkingLevelMap: {
|
|
1000
|
+
readonly attr: "present-iff declared";
|
|
1001
|
+
readonly since: "7.147.0";
|
|
1002
|
+
};
|
|
1003
|
+
readonly defaultThinking: {
|
|
1004
|
+
readonly attr: "present-iff declared";
|
|
1005
|
+
readonly since: "7.148.0";
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
/** `GET /v1/models` 的 anthropic-messages 行上 `compat` 的键(本版起这条线路的声明生效、上 wire —— 此前 anthropic 条目的 compat 一律被丢;键集 = core `AnthropicMessagesCompat`)。 */
|
|
1010
|
+
readonly modelsRowAnthropicCompatKey: {
|
|
1011
|
+
readonly at: "GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律)";
|
|
1012
|
+
readonly members: {
|
|
1013
|
+
thinkingMode: {
|
|
1014
|
+
attr: string;
|
|
1015
|
+
since: string;
|
|
1016
|
+
};
|
|
1017
|
+
effortLevels: {
|
|
1018
|
+
attr: string;
|
|
1019
|
+
since: string;
|
|
1020
|
+
};
|
|
1021
|
+
supportsTemperature: {
|
|
1022
|
+
attr: string;
|
|
1023
|
+
since: string;
|
|
1024
|
+
};
|
|
1025
|
+
contextManagement: {
|
|
1026
|
+
attr: string;
|
|
1027
|
+
since: string;
|
|
1028
|
+
};
|
|
1029
|
+
interleavedThinking: {
|
|
1030
|
+
attr: string;
|
|
1031
|
+
since: string;
|
|
1032
|
+
};
|
|
851
1033
|
};
|
|
852
1034
|
};
|
|
853
1035
|
/** `GET /v1/sessions/:id/background` 的 `rows[]` 上本版新出现的键:`sessionId` —— 后台 agent 行的子会话 id(引擎绑定之后才在,别的行型恒缺席;只是 id,不授读权)。 */
|
|
@@ -874,6 +1056,86 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
874
1056
|
};
|
|
875
1057
|
};
|
|
876
1058
|
};
|
|
1059
|
+
/**
|
|
1060
|
+
* 项目登记簿读面(`GET /v1/projects` 的 `projects[]` = `GET /v1/projects/:id` 的 200 体)的行键全集:settings-schema `ProjectRegistration` 的原键原名 + 本面铸的 `id`。
|
|
1061
|
+
* `satisfies` 绑处置表(`http/routes/projects.ts` 的 `PROJECT_ROW_DISPOSITIONS`):settings-schema 给登记加键 ⇒ 处置表先红,表态之后这里再红。
|
|
1062
|
+
*/
|
|
1063
|
+
readonly projectRowKey: {
|
|
1064
|
+
readonly at: "GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律)";
|
|
1065
|
+
readonly members: {
|
|
1066
|
+
id: {
|
|
1067
|
+
attr: string;
|
|
1068
|
+
since: string;
|
|
1069
|
+
};
|
|
1070
|
+
displayName: {
|
|
1071
|
+
attr: string;
|
|
1072
|
+
since: string;
|
|
1073
|
+
};
|
|
1074
|
+
goal: {
|
|
1075
|
+
attr: string;
|
|
1076
|
+
since: string;
|
|
1077
|
+
};
|
|
1078
|
+
contextItems: {
|
|
1079
|
+
attr: string;
|
|
1080
|
+
since: string;
|
|
1081
|
+
};
|
|
1082
|
+
gitRemotes: {
|
|
1083
|
+
attr: string;
|
|
1084
|
+
since: string;
|
|
1085
|
+
};
|
|
1086
|
+
defaultScopes: {
|
|
1087
|
+
attr: string;
|
|
1088
|
+
since: string;
|
|
1089
|
+
};
|
|
1090
|
+
notes: {
|
|
1091
|
+
attr: string;
|
|
1092
|
+
since: string;
|
|
1093
|
+
};
|
|
1094
|
+
icon: {
|
|
1095
|
+
attr: string;
|
|
1096
|
+
since: string;
|
|
1097
|
+
};
|
|
1098
|
+
color: {
|
|
1099
|
+
attr: string;
|
|
1100
|
+
since: string;
|
|
1101
|
+
};
|
|
1102
|
+
registeredBy: {
|
|
1103
|
+
attr: string;
|
|
1104
|
+
since: string;
|
|
1105
|
+
};
|
|
1106
|
+
registeredAt: {
|
|
1107
|
+
attr: string;
|
|
1108
|
+
since: string;
|
|
1109
|
+
};
|
|
1110
|
+
archivedAt: {
|
|
1111
|
+
attr: string;
|
|
1112
|
+
since: string;
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
/** `GET /v1/projects` 200 体的顶层键(闭集;体是路由里的内联字面量 —— 行的键集在 `projectRowKey`)。 */
|
|
1117
|
+
readonly projectsListBodyKey: {
|
|
1118
|
+
readonly at: "GET /v1/projects 200 体顶层键(<键> → 在场律)";
|
|
1119
|
+
readonly members: {
|
|
1120
|
+
readonly projects: {
|
|
1121
|
+
readonly attr: "always";
|
|
1122
|
+
readonly since: "7.147.0";
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
/**
|
|
1127
|
+
* 会话视图 `GET /v1/sessions/:id` 体顶层本版新出现的键:`projectId` —— 会话行上最后一帧 `workspace_changed` 的 `project.id`(引擎对这只会话最后一条自己的腿的项目判决;
|
|
1128
|
+
* 唯一读口 `session-workspace.ts` 的 `readSessionProjectId`)。体是视图读面拼出来的(`boot/session-faces.ts`),没有可 `satisfies` 的具名型;在场律由视图读面的钉证。
|
|
1129
|
+
*/
|
|
1130
|
+
readonly sessionViewKey: {
|
|
1131
|
+
readonly at: "GET /v1/sessions/:id 体顶层键(本版新出现;<键> → 在场律)";
|
|
1132
|
+
readonly members: {
|
|
1133
|
+
readonly projectId: {
|
|
1134
|
+
readonly attr: "present-iff the session row's last own workspace_changed frame carried a project";
|
|
1135
|
+
readonly since: "7.147.0";
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
877
1139
|
/** 会话列表行 `unreadable` 标记的整个键闭集:`errorCode` —— 读口打开这只会话时答的码(open 面那一张码表,与全局兜底同读)。 */
|
|
878
1140
|
readonly sessionsListRowUnreadableKey: {
|
|
879
1141
|
readonly at: "GET /v1/sessions sessions[].unreadable 键(<键> → 在场律)";
|
|
@@ -884,6 +1146,34 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
884
1146
|
};
|
|
885
1147
|
};
|
|
886
1148
|
};
|
|
1149
|
+
/** 停驻补投帧上被裁标记 `payloadTruncated` 的出现面(<帧>#<键> → 在场律):条目扩展键的 UTF-8 字节越过收件条目预算(最窄后端的 `payload` 列容量)⇒ 补投帧是最小形并带它;live 帧不带。 */
|
|
1150
|
+
readonly inboxPayloadTruncatedFrame: {
|
|
1151
|
+
readonly at: "停驻补投帧(下一次开流 drain)键(<帧>#<键> → 在场律)";
|
|
1152
|
+
readonly members: {
|
|
1153
|
+
readonly "task_notification#payloadTruncated": {
|
|
1154
|
+
readonly attr: "present-iff the parked entry's payload exceeded the inbox byte budget (minimal form)";
|
|
1155
|
+
readonly since: "7.147.0";
|
|
1156
|
+
};
|
|
1157
|
+
readonly "workflow_complete#payloadTruncated": {
|
|
1158
|
+
readonly attr: "present-iff the parked entry's payload exceeded the inbox byte budget (minimal form)";
|
|
1159
|
+
readonly since: "7.147.0";
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
/** `payloadTruncated` 的键集(恒两键):`droppedKeys` = 被丢的键名(全形键序;末尾的 `summary` = 帧上的 `summary` 是扣下原句后的受信句),`bytes` = 全形扩展键的 UTF-8 字节数。 */
|
|
1164
|
+
readonly inboxPayloadTruncatedKey: {
|
|
1165
|
+
readonly at: "停驻补投帧 payloadTruncated 的键";
|
|
1166
|
+
readonly members: {
|
|
1167
|
+
droppedKeys: {
|
|
1168
|
+
attr: string;
|
|
1169
|
+
since: string;
|
|
1170
|
+
};
|
|
1171
|
+
bytes: {
|
|
1172
|
+
attr: string;
|
|
1173
|
+
since: string;
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
887
1177
|
/** `tool_end` 帧 `gate.disposition`(denied 臂)上的键(<臂>#<键> → 在场律;回放面 `GET /v1/runs/:id/events` 同读):`extension` —— hook 层拒且拒者的扩展注册名已知时 = 那张注册的名字(过出口座)。 */
|
|
888
1178
|
readonly toolEndGateDispositionKey: {
|
|
889
1179
|
readonly at: "tool_end gate.disposition 键(<臂>#<键> → 在场律)";
|
|
@@ -981,74 +1271,129 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
981
1271
|
};
|
|
982
1272
|
};
|
|
983
1273
|
/**
|
|
984
|
-
* `request.field_conflict`
|
|
985
|
-
* 词表属主 = `field-conflict.ts` 的 `
|
|
986
|
-
* 契约附录 A 的 `request.field_conflict` 行逐个列这些词(`test/field-conflict-detail.test.ts` 钉)
|
|
1274
|
+
* `request.field_conflict` 拒体根上的 `reason`(字段之间互斥 / 互为前置的哪一类;`fields` = 请求体坐标,不在本表 —— 它不是闭集)。
|
|
1275
|
+
* 词表属主 = `field-conflict.ts` 的 `FIELD_CONFLICT_REASONS`:`satisfies Record<FieldConflictReason, …>`,加词而本行没跟 / 多一个词 ⇒ tsc 红。
|
|
1276
|
+
* 契约附录 A 的 `request.field_conflict` 行逐个列这些词(`test/field-conflict-detail.test.ts` 钉)。同一组词 7.133.0–7.147.0 在 `detail.kind`(集名 `fieldConflictKind`,
|
|
1277
|
+
* 随拒体版式律退役);`since` 记的是它们出现在根上 `reason` 的那一版。
|
|
987
1278
|
*/
|
|
988
|
-
readonly
|
|
989
|
-
readonly at: "400 request.field_conflict
|
|
1279
|
+
readonly fieldConflictReason: {
|
|
1280
|
+
readonly at: "400 / 409 / 422 request.field_conflict reason";
|
|
990
1281
|
readonly members: {
|
|
991
1282
|
cascade_verify: {
|
|
992
1283
|
attr: string;
|
|
1284
|
+
revises: string[];
|
|
993
1285
|
since: string;
|
|
994
1286
|
};
|
|
995
1287
|
image_profile: {
|
|
996
1288
|
attr: string;
|
|
1289
|
+
revises: string[];
|
|
997
1290
|
since: string;
|
|
998
1291
|
};
|
|
999
1292
|
resume_anchor: {
|
|
1000
1293
|
attr: string;
|
|
1294
|
+
revises: string[];
|
|
1001
1295
|
since: string;
|
|
1002
1296
|
};
|
|
1003
1297
|
system_prompt_fold: {
|
|
1004
1298
|
attr: string;
|
|
1299
|
+
revises: string[];
|
|
1005
1300
|
since: string;
|
|
1006
1301
|
};
|
|
1007
1302
|
file_history_restore: {
|
|
1008
1303
|
attr: string;
|
|
1304
|
+
revises: string[];
|
|
1009
1305
|
since: string;
|
|
1010
1306
|
};
|
|
1011
1307
|
skills_disabled: {
|
|
1012
1308
|
attr: string;
|
|
1309
|
+
revises: string[];
|
|
1013
1310
|
since: string;
|
|
1014
1311
|
};
|
|
1015
1312
|
existing_session: {
|
|
1016
1313
|
attr: string;
|
|
1314
|
+
revises: string[];
|
|
1017
1315
|
since: string;
|
|
1018
1316
|
};
|
|
1019
1317
|
fork_target: {
|
|
1020
1318
|
attr: string;
|
|
1319
|
+
revises: string[];
|
|
1021
1320
|
since: string;
|
|
1022
1321
|
};
|
|
1023
1322
|
scratchpad_root: {
|
|
1024
1323
|
attr: string;
|
|
1324
|
+
revises: string[];
|
|
1025
1325
|
since: string;
|
|
1026
1326
|
};
|
|
1027
1327
|
ask_answer: {
|
|
1028
1328
|
attr: string;
|
|
1329
|
+
revises: string[];
|
|
1029
1330
|
since: string;
|
|
1030
1331
|
};
|
|
1031
1332
|
policy_person_ask: {
|
|
1032
1333
|
attr: string;
|
|
1334
|
+
revises: string[];
|
|
1033
1335
|
since: string;
|
|
1034
1336
|
};
|
|
1035
1337
|
plan_edit: {
|
|
1036
1338
|
attr: string;
|
|
1339
|
+
revises: string[];
|
|
1037
1340
|
since: string;
|
|
1038
1341
|
};
|
|
1039
1342
|
plan_mode_after: {
|
|
1040
1343
|
attr: string;
|
|
1344
|
+
revises: string[];
|
|
1041
1345
|
since: string;
|
|
1042
1346
|
};
|
|
1043
1347
|
bound_call_door: {
|
|
1044
1348
|
attr: string;
|
|
1349
|
+
revises: string[];
|
|
1045
1350
|
since: string;
|
|
1046
1351
|
};
|
|
1047
1352
|
remember_decision: {
|
|
1048
1353
|
attr: string;
|
|
1354
|
+
revises: string[];
|
|
1049
1355
|
since: string;
|
|
1050
1356
|
};
|
|
1051
1357
|
approval_feedback: {
|
|
1358
|
+
attr: string;
|
|
1359
|
+
revises: string[];
|
|
1360
|
+
since: string;
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
/**
|
|
1365
|
+
* `settings.hooks` 拒体根上的 `reason` 里**本仓自铸**的词(死别名 / 单次求值超预算 / 受理总额度用尽 / 正则编不过 / 本仓不执行的条目类型 / 分类器说拒却没点名 / 本仓 wire 键形错)。
|
|
1366
|
+
* 词表属主 = `hooks/hook-runner.ts` 的判决型(`HooksServerRefusalReason`);其余 `reason` 是契约包分类器的码原样(属主在契约包)与帽的量纲词(`limitRefusalReason`)。
|
|
1367
|
+
* 7.147.0 及以前同一组词在 `detail.reason`、未登记;`since` 记的是它们出现在根上 `reason` 的那一版。
|
|
1368
|
+
*/
|
|
1369
|
+
readonly hooksRefusalReason: {
|
|
1370
|
+
readonly at: "400 request.field_invalid reason(settings.hooks 面)";
|
|
1371
|
+
readonly members: {
|
|
1372
|
+
dead_alias: {
|
|
1373
|
+
attr: string;
|
|
1374
|
+
since: string;
|
|
1375
|
+
};
|
|
1376
|
+
over_budget: {
|
|
1377
|
+
attr: string;
|
|
1378
|
+
since: string;
|
|
1379
|
+
};
|
|
1380
|
+
budget_exceeded: {
|
|
1381
|
+
attr: string;
|
|
1382
|
+
since: string;
|
|
1383
|
+
};
|
|
1384
|
+
invalid_regex: {
|
|
1385
|
+
attr: string;
|
|
1386
|
+
since: string;
|
|
1387
|
+
};
|
|
1388
|
+
unsupported_entry_type: {
|
|
1389
|
+
attr: string;
|
|
1390
|
+
since: string;
|
|
1391
|
+
};
|
|
1392
|
+
unnamed_refusal: {
|
|
1393
|
+
attr: string;
|
|
1394
|
+
since: string;
|
|
1395
|
+
};
|
|
1396
|
+
wire_key_invalid: {
|
|
1052
1397
|
attr: string;
|
|
1053
1398
|
since: string;
|
|
1054
1399
|
};
|
|
@@ -1076,11 +1421,11 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1076
1421
|
};
|
|
1077
1422
|
};
|
|
1078
1423
|
/**
|
|
1079
|
-
* 条目问题机读位(
|
|
1424
|
+
* 条目问题机读位(拒体根上的 `problems[]` · 受理应答 `warnings[]`)的 `reason` 里**本仓自铸**的词;词表属主 = `entry-problems.ts` 的 `SERVER_ENTRY_PROBLEM_REASONS`,`satisfies Record<ServerEntryProblemReason, …>`。
|
|
1080
1425
|
* 其余 `reason` 是引擎的词原样(条目读法的原因词、名字判官的判词、规则文法的码),词表属主在 core,不进本表。
|
|
1081
1426
|
*/
|
|
1082
1427
|
readonly entryProblemServerReason: {
|
|
1083
|
-
readonly at: "400/409/422
|
|
1428
|
+
readonly at: "400/409/422 problems[].reason · 受理应答 warnings[].reason(本仓自铸的词)";
|
|
1084
1429
|
readonly members: {
|
|
1085
1430
|
not_in_roster: {
|
|
1086
1431
|
attr: string;
|
|
@@ -1111,16 +1456,81 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1111
1456
|
};
|
|
1112
1457
|
/**
|
|
1113
1458
|
* 429 `limit.rate_exceeded` 拒体的机读 `reason`(7.146.0 起;码是旧的、`reason` 键是新的 —— 其余 `limit.rate_exceeded` 的产地不带它)。词表属主 = `http/run-concurrency-cap.ts` 的
|
|
1114
|
-
* `RATE_EXCEEDED_REASONS`(唯一铸点 `
|
|
1115
|
-
* (`RUN_MAX_CONCURRENT` / `RUN_MAX_CONCURRENT_PER_PRINCIPAL`;新提交的四个口,幂等重放之后)
|
|
1459
|
+
* `RATE_EXCEEDED_REASONS`(唯一铸点 `rateExceededRefusalOf`);`satisfies Record<RateExceededReason, …>`。`run_concurrency_cap` = 本副本在飞 run 已到并发帽
|
|
1460
|
+
* (`RUN_MAX_CONCURRENT` / `RUN_MAX_CONCURRENT_PER_PRINCIPAL`;新提交的四个口,幂等重放之后);`sandbox_capacity`(7.148.0)= local-docker 车道容器帽前已有起动在等空位
|
|
1461
|
+
* (`DOCKER_MAX_CONTAINERS`;同四个口、同位);体都另带 `retryAfterSec: 5`。
|
|
1116
1462
|
*/
|
|
1117
1463
|
readonly rateExceededReason: {
|
|
1118
|
-
readonly at: "429 limit.rate_exceeded reason(在飞 run
|
|
1464
|
+
readonly at: "429 limit.rate_exceeded reason(在飞 run 并发帽 / 沙箱容量;其余产地不带 reason)";
|
|
1119
1465
|
readonly members: {
|
|
1120
1466
|
run_concurrency_cap: {
|
|
1121
1467
|
attr: string;
|
|
1122
1468
|
since: string;
|
|
1123
1469
|
};
|
|
1470
|
+
sandbox_capacity: {
|
|
1471
|
+
attr: string;
|
|
1472
|
+
since: string;
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
/**
|
|
1477
|
+
* 停驻赎回腿四只拒体(`409 decide.revive_rejected` / `500 decide.revive_failed` / `422 parked_resume.startup_failed` / `409 decide.agent_definition_unavailable`)上的 `rollback`:本次 decide 那一次补滚时,认领的去向。
|
|
1478
|
+
* 词 = 引擎回滚口的处置词原样(型属主 = `parked-decide.ts` 的 `ParkedClaimRollbackDisposition`,从 core 推导);`satisfies Record<ParkedClaimRollbackDisposition, …>`。
|
|
1479
|
+
* 自这只键上 wire 起就是这四词(7.148.0 补登记,值零变化);每词的读法在契约 parked 赎回段。行为钉:`test/parked-decide-leg.test.ts` [ref] 组。
|
|
1480
|
+
*/
|
|
1481
|
+
readonly parkedRollbackWord: {
|
|
1482
|
+
readonly at: "409 decide.revive_rejected / 500 decide.revive_failed / 422 parked_resume.startup_failed / 409 decide.agent_definition_unavailable rollback(本次 decide 那一次补滚时认领的去向)";
|
|
1483
|
+
readonly members: {
|
|
1484
|
+
rolled_back: {
|
|
1485
|
+
attr: string;
|
|
1486
|
+
since: string;
|
|
1487
|
+
};
|
|
1488
|
+
failed: {
|
|
1489
|
+
attr: string;
|
|
1490
|
+
since: string;
|
|
1491
|
+
};
|
|
1492
|
+
retry: {
|
|
1493
|
+
attr: string;
|
|
1494
|
+
since: string;
|
|
1495
|
+
};
|
|
1496
|
+
lost: {
|
|
1497
|
+
attr: string;
|
|
1498
|
+
since: string;
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
/**
|
|
1503
|
+
* `/decide` 与应答口在 workflow 子代停驻卡上的应答,**持有这张卡的 run 还在本进程里跑**时:引擎 `redeemWorkflowParks` 对这条决定的答词 → wire 结局。
|
|
1504
|
+
* 词表属主 = core `WorkflowParkDeliveryResult`;唯一铸点 = `parked-decide.ts` 的 `answerOfParkDelivery`(`switch` 穷尽);`satisfies Record<WorkflowParkDeliveryResult, …>`(引擎加词而本表没跟 ⇒ tsc 红)。
|
|
1505
|
+
* run 已不能收(引擎答 `not_active` / 挂起收场)⇒ 不在本集:那是既有续跑车道的应答。码全是既有码,本集登记的是「这个词落哪个码」。行为钉:`test/workflow-park-live-redeem.test.ts`。
|
|
1506
|
+
*/
|
|
1507
|
+
readonly workflowParkDeliveryResult: {
|
|
1508
|
+
readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 在本进程里跑):引擎答词 → 应答";
|
|
1509
|
+
readonly members: {
|
|
1510
|
+
driving: {
|
|
1511
|
+
attr: string;
|
|
1512
|
+
since: string;
|
|
1513
|
+
};
|
|
1514
|
+
already_taken: {
|
|
1515
|
+
attr: string;
|
|
1516
|
+
since: string;
|
|
1517
|
+
};
|
|
1518
|
+
settled: {
|
|
1519
|
+
attr: string;
|
|
1520
|
+
since: string;
|
|
1521
|
+
};
|
|
1522
|
+
not_parked_here: {
|
|
1523
|
+
attr: string;
|
|
1524
|
+
since: string;
|
|
1525
|
+
};
|
|
1526
|
+
unreadable: {
|
|
1527
|
+
attr: string;
|
|
1528
|
+
since: string;
|
|
1529
|
+
};
|
|
1530
|
+
kept_parked: {
|
|
1531
|
+
attr: string;
|
|
1532
|
+
since: string;
|
|
1533
|
+
};
|
|
1124
1534
|
};
|
|
1125
1535
|
};
|
|
1126
1536
|
/**
|
|
@@ -1143,13 +1553,13 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1143
1553
|
};
|
|
1144
1554
|
};
|
|
1145
1555
|
/**
|
|
1146
|
-
* `inheritEnv`
|
|
1556
|
+
* `inheritEnv` 的两类 400 `request.field_invalid`(值形 / 车道)拒体的 `reason`(体另带 `field: "inheritEnv"`;一种拒因一个词)。词表属主 = `request-value-closure.ts` 的
|
|
1147
1557
|
* `INHERIT_ENV_REFUSAL_REASONS`(唯一铸点 `inheritEnvFacts`;受理门与 resolveSpec 两腿只经它出机读位);`satisfies Record<InheritEnvRefusalReason, …>`。
|
|
1148
|
-
* `unknown_word` = 是字符串但不在受理词表;`not_a_string` = 根本不是字符串;`lane_not_host` = `"all"` 落在非 host
|
|
1558
|
+
* `unknown_word` = 是字符串但不在受理词表;`not_a_string` = 根本不是字符串;`lane_not_host` = `"all"` 落在非 host 车道。
|
|
1149
1559
|
* 422 `request.host_posture_refused` 不在这组(姿态拒,不带 `field` / `reason`)。行为钉:`test/inherit-env-request-key.test.ts`。
|
|
1150
1560
|
*/
|
|
1151
1561
|
readonly inheritEnvRefusalReason: {
|
|
1152
|
-
readonly at: "400 request.field_invalid reason(inheritEnv 的值形 /
|
|
1562
|
+
readonly at: "400 request.field_invalid reason(inheritEnv 的值形 / 车道两类拒;另带 field: \"inheritEnv\")";
|
|
1153
1563
|
readonly members: {
|
|
1154
1564
|
unknown_word: {
|
|
1155
1565
|
attr: string;
|
|
@@ -1163,10 +1573,6 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1163
1573
|
attr: string;
|
|
1164
1574
|
since: string;
|
|
1165
1575
|
};
|
|
1166
|
-
no_authorizer_session: {
|
|
1167
|
-
attr: string;
|
|
1168
|
-
since: string;
|
|
1169
|
-
};
|
|
1170
1576
|
};
|
|
1171
1577
|
};
|
|
1172
1578
|
/**
|
|
@@ -1210,6 +1616,7 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1210
1616
|
* 提交幂等(契约 §0.7:幂等 = 资源行上的唯一键)上 wire 的面:同步腿读行重放体的 `replay` 键、两只按键读的读口、
|
|
1211
1617
|
* `Idempotency-Key` 命中一条读不到 / 不是这次 taskId 所指的行时的 409(7.125.0);同键异体(绑定那一行的请求体与这次不同)的 409(7.126.0);
|
|
1212
1618
|
* 同键重放体的信封(7.142.0 起 = 首答的信封;此前 = run 行读面,退役成员记在 `retired`)。
|
|
1619
|
+
* `replay` 位的在场律(7.148.0 起一条:200 结局不是本次请求产出的 —— 读行重放与在飞合流的跟随方;拒绝永不带)。
|
|
1213
1620
|
* 行为由 `test/submit-idempotency-one-ledger.test.ts` 钉。
|
|
1214
1621
|
*/
|
|
1215
1622
|
readonly submitIdempotency: {
|
|
@@ -1239,6 +1646,49 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1239
1646
|
readonly attr: 200;
|
|
1240
1647
|
readonly since: "7.142.0";
|
|
1241
1648
|
};
|
|
1649
|
+
readonly "POST /v1/tasks|/v1/tasks/stream#replay_bit_one_rule(replay: true \u21D4 200 \u7ED3\u5C40\u4E0D\u662F\u672C\u6B21\u8BF7\u6C42\u4EA7\u51FA\u7684:\u8BFB\u884C\u91CD\u653E + \u5728\u98DE\u5408\u6D41\u7684\u8DDF\u968F\u65B9,\u4E24\u817F\u540C\u8BFB;\u62D2\u7EDD\u6C38\u4E0D\u5E26\u4F4D;\u6D41\u5F0F\u7EC8\u5E27 done.replay = done.result.replay)": {
|
|
1650
|
+
readonly attr: 200;
|
|
1651
|
+
readonly revises: readonly ["selfMinted.submitIdempotency:POST /v1/tasks#replay"];
|
|
1652
|
+
readonly since: "7.148.0";
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
/**
|
|
1657
|
+
* leader run 的停止面(与 run / 镜像构建同一条停止律):取消口 `POST /v1/leader/:id/cancel` 的逐形答,与 leader 读面(`GET /v1/leader/:id` /
|
|
1658
|
+
* `GET /v1/leader?idempotencyKey=`)多出的两键、终局结果多出的一键。唯一铸点 = `leader/endpoint.ts` 的 `cancel` / `getBody` 与 `leader/leader.ts` 的
|
|
1659
|
+
* `stoppedResult`。行为由 `test/leader-stop-surface.test.ts` 钉。
|
|
1660
|
+
*/
|
|
1661
|
+
readonly leaderStopFace: {
|
|
1662
|
+
readonly at: "leader 停止面(<端点>#<形> → 应答状态 / 键在场律)";
|
|
1663
|
+
readonly members: {
|
|
1664
|
+
readonly "POST /v1/leader/:id/cancel#running(\u7FFB\u8010\u4E45\u53D6\u6D88\u65D7;\u9A71\u52A8\u526F\u672C\u5F53\u573A\u6216\u4E0B\u4E00\u4E2A\u5B58\u6D3B\u5FC3\u8DF3\u62CD\u4E2D\u6B62;\u4F53 leaderRunId + status:cancelling + cancelRequested:true)": {
|
|
1665
|
+
readonly attr: 202;
|
|
1666
|
+
readonly since: "7.148.0";
|
|
1667
|
+
};
|
|
1668
|
+
readonly "POST /v1/leader/:id/cancel#terminal(\u5E42\u7B49;\u8FC7\u671F\u8FD9\u6761 run \u7559\u4E0B\u7684\u5F85\u51B3 worker \u505C\u9A7B;\u4F53 leaderRunId + \u7EC8\u5C40 status + cancelRequested + note)": {
|
|
1669
|
+
readonly attr: 202;
|
|
1670
|
+
readonly since: "7.148.0";
|
|
1671
|
+
};
|
|
1672
|
+
readonly "POST /v1/leader/:id/cancel#not_visible(\u4E0D\u5B58\u5728 / \u4E0D\u662F\u4F60\u7684;\u4E0E GET \u540C\u4E00 not_found.leader_run)": {
|
|
1673
|
+
readonly attr: 404;
|
|
1674
|
+
readonly since: "7.148.0";
|
|
1675
|
+
};
|
|
1676
|
+
readonly "POST /v1/leader/:id/cancel#terminal_parks_settled_concurrently(\u7EC8\u5C40\u81C2\u8FC7\u671F worker \u505C\u9A7B\u65F6 CAS \u8F93\u7ED9\u5E76\u53D1\u7684\u51B3\u65AD / \u8FC7\u671F;conflict.approval_settled)": {
|
|
1677
|
+
readonly attr: 409;
|
|
1678
|
+
readonly since: "7.148.0";
|
|
1679
|
+
};
|
|
1680
|
+
readonly "GET /v1/leader/:id|?idempotencyKey#cancelRequested": {
|
|
1681
|
+
readonly attr: "always (the durable cancel flag; flips only while running)";
|
|
1682
|
+
readonly since: "7.148.0";
|
|
1683
|
+
};
|
|
1684
|
+
readonly "GET /v1/leader/:id|?idempotencyKey#errorCode": {
|
|
1685
|
+
readonly attr: "present-iff the run stopped at an abort checkpoint by the cancel verb (value cancelled)";
|
|
1686
|
+
readonly since: "7.148.0";
|
|
1687
|
+
};
|
|
1688
|
+
readonly "GET /v1/leader/:id|?idempotencyKey#result.stopped": {
|
|
1689
|
+
readonly attr: "present-iff (true) the run stopped at an abort checkpoint";
|
|
1690
|
+
readonly since: "7.148.0";
|
|
1691
|
+
};
|
|
1242
1692
|
};
|
|
1243
1693
|
};
|
|
1244
1694
|
/**
|
|
@@ -1339,6 +1789,45 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1339
1789
|
};
|
|
1340
1790
|
};
|
|
1341
1791
|
};
|
|
1792
|
+
/**
|
|
1793
|
+
* 7.148.0:`GET /v1/capabilities` 的 `permissionModeAuto.refusedBy` —— 中心拒 auto 的是哪一键(闭集 `AutoModeRefusedBy`,属主 `runtime-caps-resolver.ts`,唯一判 `autoModeRefusedByOf`;
|
|
1794
|
+
* 引擎拒位读同一只判)。只在 `reason: "org_denied"` 且中心亲口拒了时出键(中心硬失败的 fail-closed 拒、本地 deny 都不带)。`satisfies Record<AutoModeRefusedBy, …>`:词表加一员而本表没跟 ⇒ 编译红。
|
|
1795
|
+
*/
|
|
1796
|
+
readonly autoModeRefusedBy: {
|
|
1797
|
+
readonly at: "GET /v1/capabilities permissionModeAuto.refusedBy(仅 reason:org_denied 且中心亲口拒时在场)";
|
|
1798
|
+
readonly members: {
|
|
1799
|
+
"center.autoMode": {
|
|
1800
|
+
attr: string;
|
|
1801
|
+
since: string;
|
|
1802
|
+
};
|
|
1803
|
+
"center.allowAutoMode": {
|
|
1804
|
+
attr: string;
|
|
1805
|
+
since: string;
|
|
1806
|
+
};
|
|
1807
|
+
both: {
|
|
1808
|
+
attr: string;
|
|
1809
|
+
since: string;
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1813
|
+
/**
|
|
1814
|
+
* 7.148.0:`GET /v1/config/catalog` url 型行的凭据处置披露 `rows[].credentialPolicy`(闭集 `UrlCredentialPolicy`,属主 `config-catalog.ts`)—— url 行恒在场、其余行恒缺席。
|
|
1815
|
+
* `refuse` = 本部署读这根键时带凭据起服拒;`mask` = 配置层照收、回显过 display-safe 尺。列是披露,判在各座位;两者由 `test/config-catalog-credential-policy.test.ts` 逐行锁住。
|
|
1816
|
+
* `satisfies Record<UrlCredentialPolicy, …>`:词表加一员而本表没跟 ⇒ 编译红。
|
|
1817
|
+
*/
|
|
1818
|
+
readonly configCatalogCredentialPolicy: {
|
|
1819
|
+
readonly at: "GET /v1/config/catalog rows[].credentialPolicy(url 型行恒在场)";
|
|
1820
|
+
readonly members: {
|
|
1821
|
+
refuse: {
|
|
1822
|
+
attr: string;
|
|
1823
|
+
since: string;
|
|
1824
|
+
};
|
|
1825
|
+
mask: {
|
|
1826
|
+
attr: string;
|
|
1827
|
+
since: string;
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
};
|
|
1342
1831
|
/**
|
|
1343
1832
|
* `GET /v1/models` 应答体的顶层键(闭集;`src/http/routes/capabilities.ts` 的 `sendJson(res, 200, {…})` 字面量)。属性 = 在场律:`always` 恒在场(零条也出键),`present-iff` 条件成立才出键
|
|
1344
1833
|
* (缺席不下「无」的结论——也可能是更早的 server)。`since` = 该键上 wire 的起始版本(`models` / `default` / `defaultModel` 在本仓首个 tag 就有)。
|
|
@@ -1876,6 +2365,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1876
2365
|
readonly attr: 409;
|
|
1877
2366
|
readonly since: "7.145.0";
|
|
1878
2367
|
};
|
|
2368
|
+
readonly "POST /v1/sessions/:id/sync/plan#stamped_archive(DB_BACKEND=local;\u5E72\u8DD1\u6309 id \u5206\u7C7B\u51FA fork / stale,\u76EE\u7684\u7AEF\u5B58\u6863\u4ECD\u5E26\u5C5E\u4E3B\u6233;\u6B64\u523B\u8BFB,\u4E0D\u5F00\u6682\u5B58\u3001\u4E0D\u62FF\u79DF\u7EA6\u3001\u4E0D\u5199\u5B58\u6863;\u4F53 conflict.session_archive_stamped + \u5E26\u6233\u5B58\u6863\u7684\u56FA\u5B9A\u53E5,\u4E0D\u5E26 relation)": {
|
|
2369
|
+
readonly attr: 409;
|
|
2370
|
+
readonly since: "7.147.0";
|
|
2371
|
+
};
|
|
1879
2372
|
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#images_url_credential(\u65B0\u63D0\u4EA4;\u4F53 request.field_invalid + field images[i].url + reason url_userinfo|url_credential_param)": {
|
|
1880
2373
|
readonly attr: 400;
|
|
1881
2374
|
readonly since: "7.136.0";
|
|
@@ -2104,6 +2597,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2104
2597
|
readonly attr: 503;
|
|
2105
2598
|
readonly since: "7.143.0";
|
|
2106
2599
|
};
|
|
2600
|
+
readonly "POST /v1/rules/cc-import/prepare|POST /v1/rules/local-import/prepare#record_store_refused(\u5BA1\u6279\u8BB0\u5F55\u5E97\u5EFA\u8FD9\u6B21\u5BFC\u5165\u7684\u8BB0\u5F55\u5931\u8D25,\u5F15\u64CE\u7B54\u5E97\u62D2\u81C2;\u6CA1\u6709\u7968\u3001\u6CA1\u6709\u653E\u884C\u843D\u5E97 \u2014\u2014 local-import \u8FD9\u4E00\u6279\u6536\u4E0B\u7684 deny / ask \u53EF\u80FD\u5DF2\u5F53\u573A\u843D\u5E97;\u4F53 state.rule_write_failed + committed;\u91CD\u53D1\u540C\u4E00\u8BF7\u6C42\u5373\u91CD\u94F8)": {
|
|
2601
|
+
readonly attr: 503;
|
|
2602
|
+
readonly since: "7.147.0";
|
|
2603
|
+
};
|
|
2107
2604
|
readonly "POST /v1/rules/cc-import/redeem#member_refused(\u5151\u4ED8\u8D70\u5B8C\u3001\u5F15\u64CE\u7684\u5B8C\u6574\u6210\u5458\u8868\u91CC\u6709\u88AB\u62D2\u7684\u6210\u5458;\u4F53 = \u56DE\u6267 { members, rev },\u90A3\u51E0\u884C outcome refused(\u5F15\u64CE\u7B54 committed no;7.145.0 \u4E3A indeterminate + store_refused)+ reason = \u5F15\u64CE\u62D2\u56E0\u7801(RuleRefusalCode)+ detail \u5F15\u64CE\u539F\u8BDD;\u7968\u7528\u6389,\u540C\u7968\u518D\u5151 404)": {
|
|
2108
2605
|
readonly attr: 200;
|
|
2109
2606
|
readonly since: "7.145.0";
|
|
@@ -2124,6 +2621,51 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2124
2621
|
readonly attr: 409;
|
|
2125
2622
|
readonly since: "7.146.0";
|
|
2126
2623
|
};
|
|
2624
|
+
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#scenario_assignment_unavailable(\u65B0\u63D0\u4EA4;\u90E8\u7F72\u63A5\u4E86\u914D\u7F6E\u4E2D\u5FC3\u3001\u8BF7\u6C42\u5E26\u4E3B\u4F53,\u800C\u4E2D\u5FC3\u7B54\u4E0D\u51FA\u8FD9\u4F4D\u4E3B\u4F53\u7684\u573A\u666F\u88C1\u5B9A:\u4E0D\u53EF\u8FBE / \u8D85\u65F6 / \u7B54\u590D\u8BFB\u4E0D\u51FA / \u6307\u6D3E\u4E24\u952E\u5F62\u4E0D\u5BF9\u6216\u53EA\u53D1\u4E00\u952E;\u70B9\u540D\u4E0E\u4E0D\u70B9\u540D\u540C\u62D2;\u96F6 run;\u4F53 state.scenario_assignment_unavailable + permanence: transient,\u65E0 detail)": {
|
|
2625
|
+
readonly attr: 503;
|
|
2626
|
+
readonly since: "7.147.0";
|
|
2627
|
+
};
|
|
2628
|
+
readonly "GET /v1/capabilities/mcp|/v1/sessions/:id/a2a#scenario_assignment_unavailable(\u4E0E\u63D0\u4EA4\u817F\u540C\u4E00\u53EA\u573A\u666F\u95E8;\u7F3A\u5E2D\u4E0E\u70B9\u540D\u7684\u573A\u666F\u540D\u540C\u62D2;\u6574\u9762;\u4F53\u540C\u4E0A)": {
|
|
2629
|
+
readonly attr: 503;
|
|
2630
|
+
readonly since: "7.147.0";
|
|
2631
|
+
};
|
|
2632
|
+
readonly "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#scenario_assignment_unavailable(\u7EED\u8DD1\u5BB6\u65CF\u7ECF\u88C5\u914D\u7684\u90A3\u51E0\u6761;\u8BA4\u9886\u4E4B\u524D,\u5361\u4ECD\u5F85\u51B3;\u4E0D\u6298 resume_blocked_by_policy;\u4F53 state.scenario_assignment_unavailable + permanence: transient + retriable)": {
|
|
2633
|
+
readonly attr: 503;
|
|
2634
|
+
readonly since: "7.147.0";
|
|
2635
|
+
};
|
|
2636
|
+
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env \u6709\u6210\u5458\u4E0D\u662F\u5E3D\u5185\u7684\u4E32(\u65B0\u63D0\u4EA4;\u53EA\u5728\u91C7\u7EB3 env \u7684\u8F66\u9053\u4E0A:\u5355\u7528\u6237 host / device,\u6216\u91C7\u7EB3\u8BF7\u6C42\u4F53 hooks \u4E14\u8BF7\u6C42\u5E26\u7740 hooks;\u96F6 run;\u4F53 request.field_invalid + field settings.env,\u53E5\u5B50\u70B9\u540D\u5750\u6807\u3001\u4E0D\u56DE\u663E\u503C)": {
|
|
2637
|
+
readonly attr: 400;
|
|
2638
|
+
readonly since: "7.147.0";
|
|
2639
|
+
};
|
|
2640
|
+
readonly "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#stored_unread_members(\u7EED\u8DD1\u5C06\u8981\u8DD1\u7684\u90A3\u4E00\u4EFD\u4F53 \u2014\u2014 \u5B58\u91CF\u4F53,\u91CD\u8FF0\u952E\u5728\u573A\u65F6\u76D6\u8FC7\u91CD\u8FF0\u4E4B\u540E \u2014\u2014 \u91CC\u6709\u672C\u7248\u8BFB\u8005\u8BFB\u4E0D\u51FA\u3001\u800C\u672C\u90E8\u7F72\u672C\u4F1A\u91C7\u7EB3\u7684\u6210\u5458:settings.hooks / settings.env / \u5176\u4F59 settings \u5EF6\u540E\u952E / mcpServers[i].transport / a2aPeers[i].headers;\u8BA4\u9886\u4E4B\u524D,\u5361\u4ECD\u5F85\u51B3;\u4F53 resume_blocked_by_policy + blockedBy request.field_invalid + field + retriable)": {
|
|
2641
|
+
readonly attr: 409;
|
|
2642
|
+
readonly since: "7.147.0";
|
|
2643
|
+
};
|
|
2644
|
+
readonly "POST /v1/runs/:id/steer#stored_unread_members(run \u5DF2\u7EC8\u6001\u3001\u94F8\u5524\u9192\u5361\u4E4B\u524D;\u540C\u4E00\u53EA\u5224;\u4E0D\u94F8\u5361;\u4F53 resume_blocked_by_policy + blockedBy request.field_invalid + field,\u4E0D\u5E26 retriable)": {
|
|
2645
|
+
readonly attr: 409;
|
|
2646
|
+
readonly since: "7.147.0";
|
|
2647
|
+
};
|
|
2648
|
+
readonly "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(\u8BFB\u8FD9\u6761\u4F1A\u8BDD\u7684\u7EED\u8DD1\u4E0A\u4E0B\u6587\u5931\u8D25:\u5E93\u65AD\u8FDE / \u62D2\u8FDE / \u8D85\u65F6\u3001\u7F3A\u8868 / \u6743\u9650\u62D2\u3001\u8BA4\u4E0D\u51FA\u7684\u5E93\u9519;\u62D2\u5728\u4EFB\u4F55\u72B6\u6001\u6539\u52A8\u4E4B\u524D,\u5361\u4ECD\u5F85\u51B3\u3001\u7EC8\u6001 steer \u4E0D\u94F8\u5361;\u4F53 state.resume_context_unreadable)": {
|
|
2649
|
+
readonly attr: 503;
|
|
2650
|
+
readonly revises: readonly ["errorCode:conflict.resume_context_unavailable"];
|
|
2651
|
+
readonly since: "7.148.0";
|
|
2652
|
+
};
|
|
2653
|
+
readonly "POST /v1/approvals/:sessionId/decide#parked_agent_definition_unavailable(\u505C\u9A7B\u8D4E\u56DE;\u884C\u4E0A\u7684\u4EE3\u7406\u7C7B\u578B\u4E0D\u5728\u8D4E\u56DE\u9762\u59D4\u6D3E\u5DE5\u5177\u7684\u540D\u518C\u91CC:\u9010\u8BF7\u6C42 `agents` \u5B9A\u4E49 / \u505C\u9A7B\u540E\u88AB\u64A4\u7684\u90E8\u7F72\u5B9A\u4E49 / \u540D\u53EB fork \u7684\u5B9A\u4E49;approve \u4E0E deny \u540C\u7B54;\u8BA4\u9886\u56DE\u6EDA\u3001\u59D4\u6D3E\u5DE5\u5177\u96F6\u8C03\u7528\u3001\u5361\u4ECD\u5F85\u51B3;\u4F53 decide.agent_definition_unavailable + taskId + rollback)": {
|
|
2654
|
+
readonly attr: 409;
|
|
2655
|
+
readonly since: "7.148.0";
|
|
2656
|
+
};
|
|
2657
|
+
readonly "POST /v1/runs/:id/interrupt#body_with_fields(\u4F53\u5E26\u4EFB\u4F55\u9876\u5C42\u952E \u2014\u2014 \u542B\u65E9\u5148\u7248\u672C\u53D7\u7406\u7684 text;\u975E\u5BF9\u8C61\u4F53\u540C\u7B54;\u5224\u5728\u67E5 run \u4E4B\u524D:\u4EFB\u4F55 run \u72B6\u6001\u3001\u5C5E\u4E3B\u3001\u5B58\u5728\u4E0E\u5426\u540C\u4E00\u53EA\u4F53;\u4F53 request.body_shape + unknownKeys(\u952E\u5168\u5728\u6B64)+ unsupportedKeys(\u6052\u7A7A))": {
|
|
2658
|
+
readonly attr: 400;
|
|
2659
|
+
readonly revises: readonly ["selfMinted.endpointFaceStatus:POST /v1/runs/:id/interrupt#text_live(带 text 的体打在本副本在飞的 run 上 = 引擎 steer 档位 now;202 体 { taskId, status, delivery: queued-immediate, messageId, note })"];
|
|
2660
|
+
readonly since: "7.148.0";
|
|
2661
|
+
};
|
|
2662
|
+
};
|
|
2663
|
+
readonly retired: {
|
|
2664
|
+
readonly "POST /v1/runs/:id/interrupt#text_live(\u5E26 text \u7684\u4F53\u6253\u5728\u672C\u526F\u672C\u5728\u98DE\u7684 run \u4E0A = \u5F15\u64CE steer \u6863\u4F4D now;202 \u4F53 { taskId, status, delivery: queued-immediate, messageId, note })": {
|
|
2665
|
+
readonly attr: 202;
|
|
2666
|
+
readonly since: "7.52.0";
|
|
2667
|
+
readonly until: "7.148.0";
|
|
2668
|
+
};
|
|
2127
2669
|
};
|
|
2128
2670
|
};
|
|
2129
2671
|
/**
|
|
@@ -2145,7 +2687,7 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2145
2687
|
};
|
|
2146
2688
|
};
|
|
2147
2689
|
};
|
|
2148
|
-
/** 同上回执 `members[]` 一行的键(<键> → 在场律)。键集属主 = `ImportOutcomeMember`(`satisfies` 穷举),唯一投影 = `rules-consent.ts` 的 `
|
|
2690
|
+
/** 同上回执 `members[]` 一行的键(<键> → 在场律)。键集属主 = `ImportOutcomeMember`(`satisfies` 穷举),唯一投影 = `rules-consent.ts` 的 `settleImportWalk`(两口同调)。 */
|
|
2149
2691
|
readonly ruleImportReceiptMemberKey: {
|
|
2150
2692
|
readonly at: "POST /v1/rules/cc-import/redeem 200 回执 members[] 行键(<键> → 在场律;与 POST /v1/rules/local-import/redeem 同形)";
|
|
2151
2693
|
readonly members: {
|
|
@@ -2169,7 +2711,7 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2169
2711
|
};
|
|
2170
2712
|
/**
|
|
2171
2713
|
* 记忆动词的**层座**(`<端点>#<查询串 | 体>.scope` → 读法):不点名层的动词(条目 id / 会话 id / 店级账本)多一个可选的 `scope`,只用来定店;唯一读法 =
|
|
2172
|
-
* `http/memory-
|
|
2714
|
+
* `http/memory-face-fault-reply.ts` 的 `readLayerSeat`(在场而不是非空串 ⇒ 400、面不调)。只登本版新增的座。
|
|
2173
2715
|
*/
|
|
2174
2716
|
readonly memoryLayerSeatKey: {
|
|
2175
2717
|
readonly at: "记忆动词的层座(<端点>#<query | body>.scope → 读法;只登本版新增的)";
|
|
@@ -2299,6 +2841,98 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2299
2841
|
};
|
|
2300
2842
|
};
|
|
2301
2843
|
};
|
|
2844
|
+
/** run 外只恢复代码口的 wire 面(`<面>#<键>` → 读法 / 在场律)。200 体 = 引擎 `Runner.rewindFiles` 的结果原样(键属主在引擎);本仓只脱敏文本叶,不加汇总键。 */
|
|
2845
|
+
readonly ownerFaceAnswer: {
|
|
2846
|
+
readonly at: "属主门的逐口答复(<口>#<调用方 × 行> → 状态 errorCode;其余各口的码与句逐字不变)";
|
|
2847
|
+
readonly members: {
|
|
2848
|
+
readonly "POST /v1/tasks \u00B7 /v1/tasks/stream \u00B7 /v1/runs (sessionId)#others-owned-session": {
|
|
2849
|
+
readonly 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)";
|
|
2850
|
+
readonly revises: readonly ["errorCode:auth.forbidden", "errorCode:auth.unauthorized"];
|
|
2851
|
+
readonly since: "7.148.0";
|
|
2852
|
+
};
|
|
2853
|
+
readonly "POST /v1/tasks \u00B7 /v1/tasks/stream \u00B7 /v1/runs (sessionId)#ownerless-placed-session": {
|
|
2854
|
+
readonly 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";
|
|
2855
|
+
readonly since: "7.148.0";
|
|
2856
|
+
};
|
|
2857
|
+
readonly "POST /v1/assistant/tasks/:id/plan_review#direct-door-valid-proof-others-task": {
|
|
2858
|
+
readonly attr: "401 principal_unverified (principal proof required), same body as a missing row; was 404 not_found.run (task not found)";
|
|
2859
|
+
readonly revises: readonly ["errorCode:not_found.run"];
|
|
2860
|
+
readonly since: "7.148.0";
|
|
2861
|
+
};
|
|
2862
|
+
readonly "GET|PUT /v1/sessions/:id/policy#ownerless-placed-session-non-fleet-non-operator": {
|
|
2863
|
+
readonly attr: "404 not_found.session (session not found), same body as a missing session; was 409 conflict.session_ownerless";
|
|
2864
|
+
readonly revises: readonly ["errorCode:conflict.session_ownerless"];
|
|
2865
|
+
readonly since: "7.148.0";
|
|
2866
|
+
};
|
|
2867
|
+
readonly "run / session read faces#deployment-service-credential-no-principal-users-rows": {
|
|
2868
|
+
readonly 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";
|
|
2869
|
+
readonly revises: readonly ["errorCode:auth.principal_required", "errorCode:not_found.run", "errorCode:not_found.session"];
|
|
2870
|
+
readonly since: "7.148.0";
|
|
2871
|
+
};
|
|
2872
|
+
readonly "GET /v1/runs/:id \u00B7 /v1/runs/:id/events#dev-open-principal-header-not-owner": {
|
|
2873
|
+
readonly attr: "200 (the principal header is a label on a deployment without an identity boundary); was 404 not_found.run";
|
|
2874
|
+
readonly revises: readonly ["errorCode:not_found.run"];
|
|
2875
|
+
readonly since: "7.148.0";
|
|
2876
|
+
};
|
|
2877
|
+
readonly "owner-only session ports#unreadable-archive-ownerless-session-fleet-or-operator": {
|
|
2878
|
+
readonly 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";
|
|
2879
|
+
readonly revises: readonly ["errorCode:corrupt_session"];
|
|
2880
|
+
readonly since: "7.148.0";
|
|
2881
|
+
};
|
|
2882
|
+
readonly "run faces#row-without-owner-cell-no-fleet-no-operator": {
|
|
2883
|
+
readonly 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)";
|
|
2884
|
+
readonly since: "7.148.0";
|
|
2885
|
+
};
|
|
2886
|
+
readonly "POST /v1/tool-approvals/:id/respond#ask-not-visible-to-caller(\u67E5\u65E0 / \u4E0D\u662F\u8C03\u7528\u65B9\u7684 / \u884C\u8BFB\u4E0D\u51FA / \u672C worker \u6CA1\u6709\u95EE\u8D26)": {
|
|
2887
|
+
readonly 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)";
|
|
2888
|
+
readonly revises: readonly ["errorCode:tool_approval.not_pending", "selfMinted.notPendingCause:unknown_or_other_replica"];
|
|
2889
|
+
readonly since: "7.148.0";
|
|
2890
|
+
};
|
|
2891
|
+
readonly "GET /v1/tool-approvals/:id#ask-not-visible-to-caller(\u67E5\u65E0 / \u4E0D\u662F\u8C03\u7528\u65B9\u7684 / \u884C\u8BFB\u4E0D\u51FA / \u672C worker \u6CA1\u6709\u95EE\u8D26)": {
|
|
2892
|
+
readonly 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)";
|
|
2893
|
+
readonly revises: readonly ["errorCode:tool_approval.not_pending", "selfMinted.notPendingCause:unknown_or_other_replica"];
|
|
2894
|
+
readonly since: "7.148.0";
|
|
2895
|
+
};
|
|
2896
|
+
readonly "GET /v1/workflows/:id \u00B7 /journal \u00B7 /stream \u00B7 POST /v1/workflows/:id/agents/:label/steer#session-assertion-mismatch": {
|
|
2897
|
+
readonly attr: "404 not_found.workflow (workflow not found), same body as a missing workflow; was 404 not_found.run (workflow not found)";
|
|
2898
|
+
readonly revises: readonly ["errorCode:not_found.run"];
|
|
2899
|
+
readonly since: "7.148.0";
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
};
|
|
2903
|
+
readonly sessionRewindFilesWire: {
|
|
2904
|
+
readonly at: "POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律)";
|
|
2905
|
+
readonly members: {
|
|
2906
|
+
readonly "body#to": {
|
|
2907
|
+
readonly 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";
|
|
2908
|
+
readonly since: "7.147.0";
|
|
2909
|
+
};
|
|
2910
|
+
readonly "body#dryRun": {
|
|
2911
|
+
readonly attr: "optional boolean;true ⇒ preview only, no file written;any other key ⇒ 400 request.body_shape";
|
|
2912
|
+
readonly since: "7.147.0";
|
|
2913
|
+
};
|
|
2914
|
+
readonly "body#acceptPartialRestore": {
|
|
2915
|
+
readonly 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)";
|
|
2916
|
+
readonly since: "7.147.0";
|
|
2917
|
+
};
|
|
2918
|
+
readonly "200#dryRun": {
|
|
2919
|
+
readonly attr: "always;the engine RewindFilesResult discriminant verbatim";
|
|
2920
|
+
readonly since: "7.147.0";
|
|
2921
|
+
};
|
|
2922
|
+
readonly "200#preview": {
|
|
2923
|
+
readonly attr: "present-iff dryRun true;engine FileHistoryDiffStats verbatim, or null when the store gives no stats (null is not zero stats)";
|
|
2924
|
+
readonly since: "7.147.0";
|
|
2925
|
+
};
|
|
2926
|
+
readonly "200#restore": {
|
|
2927
|
+
readonly 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)";
|
|
2928
|
+
readonly since: "7.147.0";
|
|
2929
|
+
};
|
|
2930
|
+
readonly "409 conflict.session_active_run#activeTaskId": {
|
|
2931
|
+
readonly attr: "always on this face;the run holding the session's durable claim (the message names it too)";
|
|
2932
|
+
readonly since: "7.147.0";
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
};
|
|
2302
2936
|
/**
|
|
2303
2937
|
* 收编批量导入 `POST /v1/adoption/:id/sessions` 逐元素结局的 `outcome`(三词闭集;属主 = `adoption/wire.ts` 的 `AdoptionImportResult` 判别联合 ——
|
|
2304
2938
|
* 联合加一臂而本表没跟 / 多一个词 ⇒ tsc 红)。
|
|
@@ -2435,6 +3069,36 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2435
3069
|
};
|
|
2436
3070
|
};
|
|
2437
3071
|
};
|
|
3072
|
+
/**
|
|
3073
|
+
* 声明列表三座(`mcpServers` · `a2aPeers` · `images`)的 `request.field_invalid` 拒体上本版新增的键(`<键>` → 在场律)。唯一铸点 = 拒绝骨架 `request-declaration-refusal.ts`
|
|
3074
|
+
* (`field` 由判官原因的键路径铸、`index` 由骨架的循环铸;拒体没有可 `satisfies` 的全集型,行为由对应 CHANGELOG 条的钉证)。`reason`(URL 带凭据 / 撞帽两形)与 `count` / `cap`(撞帽)早于本表、不在这里。
|
|
3075
|
+
*/
|
|
3076
|
+
readonly declarationRefusalBodyKey: {
|
|
3077
|
+
readonly at: "400 request.field_invalid 的声明列表拒体(<键> → 在场律;mcpServers · a2aPeers · images)";
|
|
3078
|
+
readonly members: {
|
|
3079
|
+
readonly field: {
|
|
3080
|
+
readonly 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)";
|
|
3081
|
+
readonly since: "7.148.0";
|
|
3082
|
+
};
|
|
3083
|
+
readonly index: {
|
|
3084
|
+
readonly 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";
|
|
3085
|
+
readonly since: "7.148.0";
|
|
3086
|
+
};
|
|
3087
|
+
};
|
|
3088
|
+
};
|
|
3089
|
+
/**
|
|
3090
|
+
* 受理门「`<坐标> must be a boolean`」一族的 `400 request.field_invalid` 拒体上本版新增的键(`<键>` → 在场律)。唯一铸点 = `http/admission.ts` 的 `refuseNotBoolean`
|
|
3091
|
+
* (句子与机读位一处铸;拒体没有可 `satisfies` 的全集型,行为由对应 CHANGELOG 条的钉证 —— 铸点是源码普查钉住的唯一一处)。
|
|
3092
|
+
*/
|
|
3093
|
+
readonly notBooleanRefusalBodyKey: {
|
|
3094
|
+
readonly at: "400 request.field_invalid 的「必须是布尔」一族拒体(<键> → 在场律)";
|
|
3095
|
+
readonly members: {
|
|
3096
|
+
readonly field: {
|
|
3097
|
+
readonly attr: "always; the body coordinate the sentence names (e.g. promptLean · attachments.mcpUnavailable · settings.ultracode · resilience.allowDegrade)";
|
|
3098
|
+
readonly since: "7.148.0";
|
|
3099
|
+
};
|
|
3100
|
+
};
|
|
3101
|
+
};
|
|
2438
3102
|
/**
|
|
2439
3103
|
* `400 decide_requires_binding` 拒体上的键里本版新增的(`<键>` → 在场律)。唯一铸点 = 续跑腿的决断绑定判官 `decidedActionOf`(`http/resume-legs.ts`)判不过的那一臂;
|
|
2440
3104
|
* `bindingEnforced` 早于本表、不在这里。
|
|
@@ -2463,6 +3127,11 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2463
3127
|
readonly attr: "malformed entry (id and parentId must be strings of 1-64 characters, type a string of 1-32 characters)";
|
|
2464
3128
|
readonly since: "7.146.0";
|
|
2465
3129
|
};
|
|
3130
|
+
readonly "404 not_found.run#a*/wa* id(compact \u00B7 detach \u00B7 \u5B50\u4EE3\u52A8\u8BCD\u53E3;\u5404 run \u53E3\u7684\u975E\u5C5E\u4E3B\u81C2)": {
|
|
3131
|
+
readonly attr: "run not found — \"<id>\" looks like an agent handle (a*/wa* domain) … (the handle hint, same sentence as the missing-row arm)";
|
|
3132
|
+
readonly revises: readonly ["errorCode:not_found.run"];
|
|
3133
|
+
readonly since: "7.148.0";
|
|
3134
|
+
};
|
|
2466
3135
|
readonly "409 decide.row_unrevivable#no_root_anchor": {
|
|
2467
3136
|
readonly attr: "ends: deny it to close the card (the agent then ends as failed)";
|
|
2468
3137
|
readonly since: "7.136.0";
|
|
@@ -2499,6 +3168,27 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2499
3168
|
readonly 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";
|
|
2500
3169
|
readonly since: "7.136.0";
|
|
2501
3170
|
};
|
|
3171
|
+
readonly "400 request.field_invalid#images.not_array": {
|
|
3172
|
+
readonly attr: "head: images is <shape>, not an array of image entries";
|
|
3173
|
+
readonly since: "7.148.0";
|
|
3174
|
+
};
|
|
3175
|
+
readonly "400 request.field_invalid#images[i].not_object": {
|
|
3176
|
+
readonly attr: "head: images[i] is <shape>, not an image entry (an object)";
|
|
3177
|
+
readonly revises: readonly ["errorCode:internal.error"];
|
|
3178
|
+
readonly since: "7.148.0";
|
|
3179
|
+
};
|
|
3180
|
+
readonly "400 request.field_invalid#images[i].<key>.unusable": {
|
|
3181
|
+
readonly 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 }).";
|
|
3182
|
+
readonly since: "7.148.0";
|
|
3183
|
+
};
|
|
3184
|
+
readonly "400 request.body_shape#images[i].unknown_key": {
|
|
3185
|
+
readonly attr: "body: unrecognized key(s) on an image entry — refused rather than dropped …; Accepted: <keys of the form>";
|
|
3186
|
+
readonly since: "7.148.0";
|
|
3187
|
+
};
|
|
3188
|
+
readonly "400 request.field_invalid#settings.env.compose": {
|
|
3189
|
+
readonly 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";
|
|
3190
|
+
readonly since: "7.148.0";
|
|
3191
|
+
};
|
|
2502
3192
|
readonly "400 request.field_invalid#settings.permissions.deny|ask.bad_entry": {
|
|
2503
3193
|
readonly attr: "<field>[<index>] is neither a non-empty rule string nor a { \"rule\", \"layer\" } entry (…) — every entry must be one. …";
|
|
2504
3194
|
readonly since: "7.141.0";
|
|
@@ -2607,6 +3297,14 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2607
3297
|
readonly attr: "this session has no transcript yet, so there is no revision to sync from — run a task in it (…), then sync";
|
|
2608
3298
|
readonly since: "7.143.0";
|
|
2609
3299
|
};
|
|
3300
|
+
readonly "400 request.field_invalid#unread_request_members(\u65B0\u63D0\u4EA4:settings.env \u6709\u6210\u5458\u4E0D\u662F\u5E3D\u5185\u7684\u4E32;\u5D4C\u5165\u65B9\u76F4\u8C03\u88C5\u914D\u65F6\u56DB\u5EA7\u540C\u53E5)": {
|
|
3301
|
+
readonly 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";
|
|
3302
|
+
readonly since: "7.147.0";
|
|
3303
|
+
};
|
|
3304
|
+
readonly "409 resume_blocked_by_policy#unread_members(\u7EED\u8DD1\u56DB\u95E8 \u00B7 steer \u94F8\u5524\u9192\u5361\u4E4B\u524D)": {
|
|
3305
|
+
readonly attr: "resume blocked by an admission policy change: <同上一句>";
|
|
3306
|
+
readonly since: "7.147.0";
|
|
3307
|
+
};
|
|
2610
3308
|
};
|
|
2611
3309
|
};
|
|
2612
3310
|
/**
|
|
@@ -3034,8 +3732,8 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3034
3732
|
readonly since: "7.136.0";
|
|
3035
3733
|
};
|
|
3036
3734
|
readonly "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_BUCKET].semantics": {
|
|
3037
|
-
readonly attr: "boot-checks-bucket;runtime-latest-no-such-bucket-fails-run";
|
|
3038
|
-
readonly since: "7.
|
|
3735
|
+
readonly attr: "boot-checks-bucket;runtime-latest-no-such-bucket-fails-run;default-name-shared-with-MINIO_BUCKET";
|
|
3736
|
+
readonly since: "7.148.0";
|
|
3039
3737
|
};
|
|
3040
3738
|
readonly "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].semantics": {
|
|
3041
3739
|
readonly attr: "multi-segment-prefix;bad-segment-refuses-boot";
|
|
@@ -3091,6 +3789,15 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3091
3789
|
readonly attr: "absent=>classifier-role-in-served-table";
|
|
3092
3790
|
readonly since: "7.143.0";
|
|
3093
3791
|
};
|
|
3792
|
+
/** 7.148.0:两只桶行改述关系 —— `MINIO_BUCKET` = leader diff-out 桶(此前误写「leader 工作区快照桶」),缺席 = 工作区快照桶的缺省名常量、不跟随 `WORKSPACE_SNAPSHOT_BUCKET` 的显式值;工作区快照桶行补「缺省名与 leader 桶共用」(那一行在上面 7.136.0 段里,原地改 attr)。 */
|
|
3793
|
+
readonly "GET /v1/config/catalog#rows[MINIO_BUCKET].semantics": {
|
|
3794
|
+
readonly attr: "leader-diff-out-bucket;independent-of-WORKSPACE_SNAPSHOT_BUCKET";
|
|
3795
|
+
readonly since: "7.148.0";
|
|
3796
|
+
};
|
|
3797
|
+
readonly "GET /v1/config/catalog#rows[MINIO_BUCKET].derivedDefaultNote": {
|
|
3798
|
+
readonly attr: "absent=>WORKSPACE_SNAPSHOT_BUCKET_DEFAULT(not-the-explicit-value)";
|
|
3799
|
+
readonly since: "7.148.0";
|
|
3800
|
+
};
|
|
3094
3801
|
/**
|
|
3095
3802
|
* MCP 远端失败句在面板与重拨回执上的出口读法:出口座的 `mcp-remote-text` 行(`trace/exit-seat.ts`)—— 与 trace / 通告同一个脱敏器(引擎记号 `[redacted]` = 已抹的值,原样;
|
|
3096
3803
|
* 引擎记号占了方案词位时头值余下的部分照抹;引擎放过的形照抹),界 200(切点不落进记号)。7.137.0 是按记号切开、逐段过 `redactSecrets` 的另一只读法
|
|
@@ -3146,11 +3853,11 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3146
3853
|
* 钉 test/live-model-text-redact.test.ts、test/live-model-text-hold-law.test.ts。
|
|
3147
3854
|
*/
|
|
3148
3855
|
readonly "SSE text_delta#delta": {
|
|
3149
|
-
readonly attr: "live-hold:same-redactor-stream(
|
|
3856
|
+
readonly attr: "live-hold:same-redactor-stream(open-judgment-frontier);concat=segment-end-content;remainder-frame-without-eventId";
|
|
3150
3857
|
readonly since: "7.143.0";
|
|
3151
3858
|
};
|
|
3152
3859
|
readonly "SSE reasoning_delta#delta": {
|
|
3153
|
-
readonly attr: "live-hold:same-redactor-stream(
|
|
3860
|
+
readonly attr: "live-hold:same-redactor-stream(open-judgment-frontier);concat=segment-end-content;remainder-frame-without-eventId";
|
|
3154
3861
|
readonly since: "7.143.0";
|
|
3155
3862
|
};
|
|
3156
3863
|
/** 7.143.0:子代 tail 面的 `reasoning_end.content` = 整段(登记册随开着的段活着,没人听时也攒原文);此前只覆盖订阅者开始听之后的那一截。钉 test/live-model-text-redact.test.ts tail 组。 */
|
|
@@ -3180,6 +3887,20 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3180
3887
|
readonly attr: "segment-text=block-texts-concat;end-only-block=text_end.content";
|
|
3181
3888
|
readonly since: "7.144.0";
|
|
3182
3889
|
};
|
|
3890
|
+
/**
|
|
3891
|
+
* 7.147.0:续跑家族唯一组句器(`http/resume-legs.ts` `checkpointRefusalAnswer`)对引擎 `checkpoint.invalid_outcome` 拒的码 —— 有决断成因 ⇒ 成因的码(`field` 的角色;审阅门上不带判别位 ⇒
|
|
3892
|
+
* `resume_outcome_invalid`),这一行自己的拒(`reason` 在场)与无成因的拒 ⇒ 引擎原码(= 行上 `rowVerdict.code`)。此前 `policy_ask` 门上无 `field` 一律借 `approval_binding_mismatch`、其余门一律借
|
|
3893
|
+
* `resume_outcome_invalid`。钉 test/decision-refusal-row-own-code.test.ts ①④⑤。
|
|
3894
|
+
*/
|
|
3895
|
+
readonly "POST /v1/approvals/:sessionId/decide|/v1/assistant/tasks/:id/plan_review|/v1/assistant/tasks/:id/resume|/v1/sessions/:id/wake#errorCode(\u5F15\u64CE\u62D2 checkpoint.invalid_outcome)": {
|
|
3896
|
+
readonly attr: "decision-cause⇒cause-code;row-own(reason)|no-cause⇒checkpoint.invalid_outcome";
|
|
3897
|
+
readonly since: "7.147.0";
|
|
3898
|
+
};
|
|
3899
|
+
/** 7.147.0:决断口停在续跑之前的两臂(读行臂的「体读不成检查点」、门型守卫之前判官判非 `ok`)答这一行自己的拒,码 = 判官的码(经同一只组句器);此前 `conflict.checkpoint_unreadable` / `gate_not_tool_approval`。钉同上 ②③。 */
|
|
3900
|
+
readonly "POST /v1/approvals/:sessionId/decide#errorCode(\u8FD9\u4E00\u884C\u81EA\u5DF1\u7684\u62D2:\u8BFB\u884C\u81C2 / \u95E8\u578B\u5B88\u536B\u4E4B\u524D)": {
|
|
3901
|
+
readonly attr: "rowVerdict.code+reason+retriable:true(engine-judge;before-gate)";
|
|
3902
|
+
readonly since: "7.147.0";
|
|
3903
|
+
};
|
|
3183
3904
|
};
|
|
3184
3905
|
};
|
|
3185
3906
|
};
|