@sema-agent/server 7.150.0 → 7.151.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 +185 -0
- package/USAGE.md +53 -25
- package/deploy/sema-up/README.md +7 -1
- package/deploy/sema-up/chart/Chart.yaml +1 -1
- package/deploy/sema-up/chart/templates/NOTES.txt +5 -0
- package/deploy/sema-up/chart/templates/_helpers.tpl +15 -16
- package/deploy/sema-up/chart/templates/server-v4pro.yaml +5 -3
- package/deploy/sema-up/chart/templates/server.yaml +5 -3
- package/deploy/sema-up/chart/values-full-single.yaml +3 -1
- package/deploy/sema-up/chart/values.yaml +8 -1
- package/deploy/sema-up/cluster-up.sh +1 -0
- package/deploy/sema-up/kube-up.sh +1 -1
- package/deploy/sema-up/lib/flagshape.sh +1 -1
- package/deploy/sema-up/lib/helm-values-cluster.py +2 -0
- package/deploy/sema-up/lib/helm-values-kube.py +2 -0
- package/dist/adoption/import.js +3 -3
- package/dist/approval-ask-machine.d.ts +1 -1
- package/dist/approval-card.d.ts +2 -2
- package/dist/approval-gate-currency.d.ts +1 -1
- package/dist/auth-bridge.d.ts +20 -0
- package/dist/auth-bridge.js +9 -0
- package/dist/background-session-reap.d.ts +1 -1
- package/dist/bake-runner/main.d.ts +4 -2
- package/dist/bind-host.d.ts +2 -3
- package/dist/bind-host.js +2 -4
- package/dist/boot/budget-tracing.js +1 -1
- package/dist/boot/engine-lease.d.ts +5 -0
- package/dist/boot/engine-lease.js +1 -0
- package/dist/boot/execution-env.d.ts +8 -14
- package/dist/boot/execution-env.js +54 -17
- package/dist/boot/execution-lane.js +32 -5
- package/dist/boot/late-binds.d.ts +8 -4
- package/dist/boot/late-binds.js +7 -1
- package/dist/boot/memory-consolidation.d.ts +3 -2
- package/dist/boot/memory-consolidation.js +6 -6
- package/dist/boot/reapers.d.ts +5 -0
- package/dist/boot/reapers.js +12 -1
- package/dist/boot/resolve-spec.d.ts +3 -3
- package/dist/boot/resolve-spec.js +31 -22
- package/dist/boot/runner-deps.d.ts +9 -2
- package/dist/boot/runner-deps.js +3 -3
- package/dist/boot/session-age-out.d.ts +36 -0
- package/dist/boot/session-age-out.js +101 -0
- package/dist/boot/session-faces.d.ts +5 -14
- package/dist/boot/session-faces.js +9 -5
- package/dist/boot/stage-01-config.js +2 -0
- package/dist/boot/stage-05-execution-env.d.ts +5 -3
- package/dist/boot/stage-05-execution-env.js +2 -2
- package/dist/boot/stage-06-runners.d.ts +7 -4
- package/dist/boot/stage-06-runners.js +15 -6
- package/dist/boot/stage-07-capability-layer.d.ts +7 -4
- package/dist/boot/stage-07-capability-layer.js +2 -1
- package/dist/boot/stage-08-reapers.d.ts +7 -4
- package/dist/boot/stage-08-reapers.js +4 -2
- package/dist/boot/stage-09-leader.d.ts +11 -5
- package/dist/boot/stage-09-leader.js +12 -3
- package/dist/boot/stage-10-http-server.d.ts +11 -5
- package/dist/boot/stage-10-http-server.js +3 -6
- package/dist/boot/web-admin.js +3 -1
- package/dist/boot/workflow-orchestration.d.ts +7 -2
- package/dist/boot/workflow-orchestration.js +24 -7
- package/dist/bounded-rotation.d.ts +29 -0
- package/dist/bounded-rotation.js +24 -0
- package/dist/capability-facts.d.ts +22 -13
- package/dist/capability-facts.js +28 -18
- package/dist/center-credential.d.ts +25 -6
- package/dist/center-credential.js +25 -5
- package/dist/config-catalog.d.ts +26 -7
- package/dist/config-catalog.js +14 -11
- package/dist/config-invariants.d.ts +2 -1
- package/dist/config-invariants.js +4 -4
- package/dist/config-types.d.ts +10 -4
- package/dist/config.d.ts +51 -2
- package/dist/config.js +35 -24
- package/dist/deployment-shape.d.ts +9 -1
- package/dist/deployment-shape.js +2 -1
- package/dist/device-protocol.d.ts +5 -4
- package/dist/device-protocol.js +1 -1
- package/dist/device-ws-hub.js +3 -2
- package/dist/device-ws-protocol.d.ts +63 -10
- package/dist/device-ws-protocol.js +56 -25
- package/dist/engine-identity.d.ts +19 -7
- package/dist/engine-identity.js +10 -2
- package/dist/entry-mode-clamp-notice.d.ts +2 -1
- package/dist/execution-env-refusal.d.ts +23 -0
- package/dist/execution-env-refusal.js +5 -0
- package/dist/execution-lane-caps.d.ts +3 -1
- package/dist/field-conflict.d.ts +1 -1
- package/dist/file-history-capture.d.ts +11 -4
- package/dist/file-history-capture.js +9 -6
- package/dist/file-history-disclosure.d.ts +7 -5
- package/dist/file-history-disclosure.js +7 -5
- package/dist/fleet/drain-entry.d.ts +4 -0
- package/dist/hooks/hook-runner.js +2 -2
- package/dist/host-lsp-manager.d.ts +2 -2
- package/dist/http/admission.js +17 -2
- package/dist/http/approval-sweeps.js +5 -5
- package/dist/http/checkpoint-ctx.d.ts +2 -0
- package/dist/http/checkpoint-ctx.js +1 -0
- package/dist/http/dispatch.d.ts +2 -1
- package/dist/http/dispatch.js +34 -27
- package/dist/http/durable-run-leg.js +16 -16
- package/dist/http/health-self-report.d.ts +9 -1
- package/dist/http/health-self-report.js +2 -0
- package/dist/http/owner-access.d.ts +31 -11
- package/dist/http/owner-access.js +37 -6
- package/dist/http/resume-ctx-read.js +25 -3
- package/dist/http/resume-legs.d.ts +2 -1
- package/dist/http/resume-legs.js +259 -79
- package/dist/http/route-ctx.d.ts +18 -8
- package/dist/http/route-table.d.ts +1 -1
- package/dist/http/routes/admin-memory-optout.d.ts +1 -1
- package/dist/http/routes/agents-roster.js +2 -3
- package/dist/http/routes/approvals-assistant.js +4 -3
- package/dist/http/routes/background.d.ts +3 -3
- package/dist/http/routes/capabilities.js +8 -5
- package/dist/http/routes/fleet.js +10 -8
- package/dist/http/routes/projects.d.ts +3 -2
- package/dist/http/routes/projects.js +4 -5
- package/dist/http/routes/runs.js +102 -36
- package/dist/http/routes/session-sync.d.ts +4 -3
- package/dist/http/routes/session-sync.js +172 -77
- package/dist/http/routes/sessions-list.js +13 -7
- package/dist/http/routes/sessions.js +10 -6
- package/dist/http/routes/tasks.js +30 -16
- package/dist/http/routes/trace-usage.js +2 -2
- package/dist/http/server.d.ts +21 -27
- package/dist/http/server.js +2 -2
- package/dist/http/submit-ctx.js +5 -4
- package/dist/http/wire-types.d.ts +14 -4
- package/dist/identity-source.d.ts +20 -3
- package/dist/identity-source.js +14 -0
- package/dist/index.d.ts +4 -0
- package/dist/lane-home-probe.d.ts +3 -7
- package/dist/lane-home-probe.js +0 -1
- package/dist/leader/leader.d.ts +2 -1
- package/dist/leg-facts.d.ts +13 -5
- package/dist/leg-facts.js +2 -1
- package/dist/memory-scope.d.ts +5 -4
- package/dist/memory-scope.js +4 -4
- package/dist/memory-sync-client.d.ts +30 -2
- package/dist/memory-sync-client.js +16 -9
- package/dist/observability/err-text.d.ts +7 -0
- package/dist/observability/err-text.js +5 -0
- package/dist/observability/fail-open.d.ts +7 -3
- package/dist/observability/fail-open.js +7 -3
- package/dist/observability/metrics.js +1 -0
- package/dist/orchestration/workflow-notify-journal.d.ts +18 -1
- package/dist/orchestration/workflow-notify-journal.js +12 -1
- package/dist/orchestration/workflow-park-decision.d.ts +70 -18
- package/dist/orchestration/workflow-park-decision.js +49 -10
- package/dist/orchestration/workflow-park-holder.d.ts +65 -0
- package/dist/orchestration/workflow-park-holder.js +98 -0
- package/dist/orchestration/workflow-record-fence.d.ts +36 -0
- package/dist/orchestration/workflow-record-fence.js +42 -0
- package/dist/owner-faces.d.ts +1 -1
- package/dist/parked-decide.d.ts +104 -53
- package/dist/parked-decide.js +153 -117
- package/dist/peer-directory.d.ts +2 -2
- package/dist/peer-inbound-face.d.ts +2 -6
- package/dist/peer-inbound-face.js +0 -3
- package/dist/permission-mode-admission.d.ts +41 -5
- package/dist/permission-mode-admission.js +29 -3
- package/dist/plugins/adoption-log-sql.d.ts +3 -1
- package/dist/plugins/adoption-log-sql.js +7 -1
- package/dist/plugins/approval-ask-store-file.d.ts +10 -2
- package/dist/plugins/approval-ask-store-file.js +8 -0
- package/dist/plugins/approval-ask-store-memory.d.ts +6 -1
- package/dist/plugins/approval-ask-store-memory.js +28 -9
- package/dist/plugins/approval-ask-store-sql.d.ts +43 -2
- package/dist/plugins/approval-ask-store-sql.js +34 -5
- package/dist/plugins/approval-exemption-store.js +3 -0
- package/dist/plugins/approval-nonce-store.js +2 -0
- package/dist/plugins/breaker-state-sql.js +2 -0
- package/dist/plugins/caching-session-store.d.ts +9 -15
- package/dist/plugins/caching-session-store.js +6 -0
- package/dist/plugins/device-store-sql.js +6 -0
- package/dist/plugins/error-origin.d.ts +18 -0
- package/dist/plugins/error-origin.js +10 -0
- package/dist/plugins/execution-placement-sql.js +6 -6
- package/dist/plugins/image-bake-store-sql.js +6 -0
- package/dist/plugins/image-index-sql.js +4 -0
- package/dist/plugins/landed-attendants.d.ts +212 -0
- package/dist/plugins/landed-attendants.js +161 -0
- package/dist/plugins/leader-run-store-sql.js +4 -0
- package/dist/plugins/local-session-live-reference.d.ts +40 -0
- package/dist/plugins/local-session-live-reference.js +39 -0
- package/dist/plugins/local-session-store.d.ts +71 -33
- package/dist/plugins/local-session-store.js +129 -27
- package/dist/plugins/memory-engine-pg.js +4 -0
- package/dist/plugins/memory-engine-sql-apply.js +5 -2
- package/dist/plugins/memory-engine-tidb.js +4 -0
- package/dist/plugins/memory-optout-grant-store-sql.js +4 -0
- package/dist/plugins/memory-sync-store-pg.js +5 -0
- package/dist/plugins/memory-sync-store-tidb.js +5 -0
- package/dist/plugins/one-time-migrations.d.ts +57 -63
- package/dist/plugins/one-time-migrations.js +162 -90
- package/dist/plugins/org-delivery-quota-store.js +4 -1
- package/dist/plugins/outcome-ledger-sql.js +2 -0
- package/dist/plugins/permission-rule-store-sql.js +11 -4
- package/dist/plugins/pg-cost-quota.js +4 -0
- package/dist/plugins/pg-pool.js +24 -1
- package/dist/plugins/pg-rate-limiter.js +2 -0
- package/dist/plugins/posix-shell-fs.d.ts +6 -1
- package/dist/plugins/posix-shell-fs.js +4 -1
- package/dist/plugins/remote-env-adb.d.ts +19 -15
- package/dist/plugins/remote-env-adb.js +41 -15
- package/dist/plugins/remote-env-connect-seat.d.ts +105 -0
- package/dist/plugins/remote-env-connect-seat.js +72 -0
- package/dist/plugins/remote-env-device.d.ts +22 -5
- package/dist/plugins/remote-env-device.js +106 -8
- package/dist/plugins/remote-env-e2b.d.ts +15 -6
- package/dist/plugins/remote-env-e2b.js +42 -32
- package/dist/plugins/remote-env-file-error.js +6 -2
- package/dist/plugins/remote-env-host.d.ts +17 -0
- package/dist/plugins/remote-env-host.js +30 -38
- package/dist/plugins/remote-env-k8s.d.ts +41 -39
- package/dist/plugins/remote-env-k8s.js +53 -30
- package/dist/plugins/remote-env-local-docker.d.ts +13 -8
- package/dist/plugins/remote-env-local-docker.js +34 -41
- package/dist/plugins/remote-env-ssh.d.ts +18 -12
- package/dist/plugins/remote-env-ssh.js +60 -59
- package/dist/plugins/remote-shell.d.ts +98 -1
- package/dist/plugins/remote-shell.js +218 -0
- package/dist/plugins/resume-anchor-store-sql.d.ts +11 -2
- package/dist/plugins/resume-anchor-store-sql.js +12 -5
- package/dist/plugins/retention-lane-store-sql.js +4 -0
- package/dist/plugins/retention-sql.d.ts +20 -2
- package/dist/plugins/retention-sql.js +11 -0
- package/dist/plugins/run-store-sql.d.ts +21 -2
- package/dist/plugins/run-store-sql.js +31 -7
- package/dist/plugins/scenario-prefix-switch-m42.d.ts +1 -1
- package/dist/plugins/scenario-prefix-switch-m42.js +2 -2
- package/dist/plugins/schema-consistency.d.ts +4 -2
- package/dist/plugins/schema-consistency.js +19 -2
- package/dist/plugins/send-file-ledger.js +3 -0
- package/dist/plugins/serving-requirement.d.ts +26 -7
- package/dist/plugins/serving-requirement.js +11 -4
- package/dist/plugins/session-birth.d.ts +6 -2
- package/dist/plugins/session-capture-record-store-sql.js +2 -0
- package/dist/plugins/session-ext-table.d.ts +14 -1
- package/dist/plugins/session-ext-table.js +5 -1
- package/dist/plugins/session-row-sql.d.ts +49 -2
- package/dist/plugins/session-row-sql.js +56 -13
- package/dist/plugins/session-store-sql.d.ts +34 -18
- package/dist/plugins/session-store-sql.js +98 -17
- package/dist/plugins/shared-memory-store-sql.d.ts +1 -0
- package/dist/plugins/shared-memory-store-sql.js +6 -2
- package/dist/plugins/sql-driver.d.ts +2 -1
- package/dist/plugins/sql-driver.js +18 -3
- package/dist/plugins/sql-errors.d.ts +11 -6
- package/dist/plugins/sql-errors.js +5 -6
- package/dist/plugins/stop-then-start-sentence.d.ts +10 -4
- package/dist/plugins/stop-then-start-sentence.js +14 -10
- package/dist/plugins/stop-then-start.d.ts +109 -0
- package/dist/plugins/stop-then-start.js +104 -0
- package/dist/plugins/store-backend.d.ts +40 -13
- package/dist/plugins/store-backend.js +169 -27
- package/dist/plugins/store-boundary.d.ts +57 -0
- package/dist/plugins/store-boundary.js +139 -0
- package/dist/plugins/store-contracts.d.ts +17 -0
- package/dist/plugins/store-fault-sentence-m53.d.ts +7 -0
- package/dist/plugins/store-fault-sentence-m53.js +25 -0
- package/dist/plugins/store-fault.d.ts +26 -7
- package/dist/plugins/store-fault.js +18 -2
- package/dist/plugins/task-attachment-store.js +9 -0
- package/dist/plugins/task-list-store-sql.d.ts +2 -2
- package/dist/plugins/task-list-store-sql.js +10 -8
- package/dist/plugins/tidb-cost-quota.js +4 -0
- package/dist/plugins/tidb-pool.js +2 -1
- package/dist/plugins/tidb-rate-limiter.js +4 -0
- package/dist/plugins/user-input-ledger-sql.js +4 -0
- package/dist/plugins/workflow-run-store-sql.d.ts +28 -10
- package/dist/plugins/workflow-run-store-sql.js +64 -4
- package/dist/plugins/workspace-fill.d.ts +4 -7
- package/dist/plugins/workspace-fill.js +2 -1
- package/dist/plugins/write-behind-counter.js +5 -0
- package/dist/project-context.d.ts +0 -2
- package/dist/project-context.js +4 -8
- package/dist/project-registry.d.ts +46 -0
- package/dist/project-registry.js +44 -0
- package/dist/request-key-closure.js +1 -1
- package/dist/request-value-closure.d.ts +4 -0
- package/dist/request-value-closure.js +10 -0
- package/dist/run-acceptance.d.ts +3 -2
- package/dist/run-acceptance.js +4 -6
- package/dist/run-local.js +1 -0
- package/dist/runs.d.ts +37 -8
- package/dist/runs.js +53 -12
- package/dist/runtime-governance.d.ts +5 -4
- package/dist/security.d.ts +30 -32
- package/dist/security.js +41 -7
- package/dist/server-secret-env.d.ts +12 -10
- package/dist/server-secret-env.js +24 -15
- package/dist/session-bindings.d.ts +82 -0
- package/dist/session-bindings.js +18 -0
- package/dist/session-children-retire.d.ts +2 -2
- package/dist/session-children-retire.js +2 -6
- package/dist/session-deletion.d.ts +16 -1
- package/dist/session-error-wire.d.ts +3 -3
- package/dist/session-error-wire.js +3 -3
- package/dist/session-incarnation.d.ts +10 -0
- package/dist/session-incarnation.js +10 -1
- package/dist/session-kind.d.ts +57 -0
- package/dist/session-kind.js +22 -0
- package/dist/session-row.d.ts +21 -1
- package/dist/session-row.js +7 -1
- package/dist/session-sync-kernel.d.ts +24 -14
- package/dist/session-sync-kernel.js +3 -6
- package/dist/session-sync.d.ts +4 -98
- package/dist/session-sync.js +1 -71
- package/dist/session-titler.d.ts +10 -3
- package/dist/session-titler.js +19 -6
- package/dist/ssh-host-key.d.ts +5 -0
- package/dist/ssh-host-key.js +3 -0
- package/dist/stores-sql/file-history-store-sql.d.ts +52 -2
- package/dist/stores-sql/file-history-store-sql.js +108 -70
- package/dist/stores-sql/pg-session-storage.d.ts +34 -7
- package/dist/stores-sql/pg-session-storage.js +37 -13
- package/dist/stores-sql/retention-store-sql.d.ts +1 -9
- package/dist/stores-sql/retention-store-sql.js +2 -10
- package/dist/stores-sql/session-policy-store-sql.d.ts +30 -7
- package/dist/stores-sql/session-policy-store-sql.js +61 -44
- package/dist/stores-sql/session-write-hooks.d.ts +11 -0
- package/dist/stores-sql/tidb-session-store.d.ts +58 -7
- package/dist/stores-sql/tidb-session-store.js +37 -13
- package/dist/submission-exit.d.ts +3 -2
- package/dist/submission-exit.js +9 -1
- package/dist/task-cwd.d.ts +2 -2
- package/dist/task-settings.d.ts +6 -5
- package/dist/terminal.d.ts +33 -2
- package/dist/terminal.js +139 -9
- package/dist/tool-approval.d.ts +140 -6
- package/dist/tool-approval.js +165 -72
- package/dist/trace/self-minted-wire.d.ts +290 -27
- package/dist/trace/self-minted-wire.js +101 -13
- package/docs/DEVICE-EXECUTOR-PROTOCOL.md +78 -27
- package/package.json +2 -2
- package/wire-changes/server@7.151.0.json +762 -0
- package/dist/http/session-inherit-env.d.ts +0 -36
- package/dist/http/session-inherit-env.js +0 -6
|
@@ -716,6 +716,45 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
716
716
|
};
|
|
717
717
|
};
|
|
718
718
|
};
|
|
719
|
+
/**
|
|
720
|
+
* `GET /health` 的 `center` 段的键集(`center` 本身恒在)。7.121.0 的三键是补登记;`assertionToken`([ref])= web-admin 断言令牌的声明读数,在场 ⇔ 接了中心。
|
|
721
|
+
* 键集属主 = `HealthSelfReport["center"]`(加一键而本表没跟 / 多一个 ⇒ tsc 红)。
|
|
722
|
+
*/
|
|
723
|
+
readonly healthCenterKey: {
|
|
724
|
+
readonly at: "GET /health center";
|
|
725
|
+
readonly members: {
|
|
726
|
+
issuer: {
|
|
727
|
+
attr: string;
|
|
728
|
+
since: string;
|
|
729
|
+
};
|
|
730
|
+
webBaseUrl: {
|
|
731
|
+
attr: string;
|
|
732
|
+
since: string;
|
|
733
|
+
};
|
|
734
|
+
sessionsVisible: {
|
|
735
|
+
attr: string;
|
|
736
|
+
since: string;
|
|
737
|
+
};
|
|
738
|
+
assertionToken: {
|
|
739
|
+
attr: string;
|
|
740
|
+
since: string;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
/** [ref](7.151.0):`GET /health` 自报位 `center.assertionToken` 的两词(声明读数;词表属主 = `http/health-self-report.ts` 的 `ASSERTION_TOKEN_DECLARATION_WORDS`)。 */
|
|
745
|
+
readonly healthAssertionToken: {
|
|
746
|
+
readonly at: "GET /health center.assertionToken";
|
|
747
|
+
readonly members: {
|
|
748
|
+
declared: {
|
|
749
|
+
attr: string;
|
|
750
|
+
since: string;
|
|
751
|
+
};
|
|
752
|
+
absent: {
|
|
753
|
+
attr: string;
|
|
754
|
+
since: string;
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
};
|
|
719
758
|
/** 7.121.0:`GET /health` 自报位 `center.sessionsVisible`(两个布尔 + 一个词;成员按 JSON 字面登记)。 */
|
|
720
759
|
readonly healthSessionsVisible: {
|
|
721
760
|
readonly at: "GET /health center.sessionsVisible";
|
|
@@ -962,6 +1001,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
962
1001
|
attr: string;
|
|
963
1002
|
since: string;
|
|
964
1003
|
};
|
|
1004
|
+
attached: {
|
|
1005
|
+
attr: string;
|
|
1006
|
+
since: string;
|
|
1007
|
+
};
|
|
965
1008
|
handover: {
|
|
966
1009
|
attr: string;
|
|
967
1010
|
since: string;
|
|
@@ -1163,6 +1206,23 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1163
1206
|
attr: string;
|
|
1164
1207
|
since: string;
|
|
1165
1208
|
};
|
|
1209
|
+
sessionKind: {
|
|
1210
|
+
attr: string;
|
|
1211
|
+
since: string;
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* 会话种类的**值闭集**(律 `session-kind.ts`;一个闭集五个 wire 坐标同读):提交体 `sessionKind` · 列表查询 `?sessionKind=` · 列表行 / PATCH 回执的 `sessionKind` · 会话视图的 `sessionKind`
|
|
1217
|
+
* · 能力位 `sessionKinds[]` 的元素。`satisfies` 绑闭集(词表加一个词而本表没跟 ⇒ tsc 红)。
|
|
1218
|
+
*/
|
|
1219
|
+
readonly sessionKind: {
|
|
1220
|
+
readonly at: "POST /v1/tasks · /v1/tasks/stream · /v1/runs 体 sessionKind = GET /v1/sessions?sessionKind= = sessions[].sessionKind = GET /v1/sessions/:id sessionKind = GET /v1/capabilities sessionKinds[](<词> → -)";
|
|
1221
|
+
readonly members: {
|
|
1222
|
+
sidechain: {
|
|
1223
|
+
attr: string;
|
|
1224
|
+
since: string;
|
|
1225
|
+
};
|
|
1166
1226
|
};
|
|
1167
1227
|
};
|
|
1168
1228
|
/**
|
|
@@ -1247,6 +1307,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1247
1307
|
readonly attr: "present-iff the session row's last own workspace_changed frame carried a project";
|
|
1248
1308
|
readonly since: "7.147.0";
|
|
1249
1309
|
};
|
|
1310
|
+
readonly sessionKind: {
|
|
1311
|
+
readonly attr: "present-iff the session was created by a submission that declared sessionKind";
|
|
1312
|
+
readonly since: "7.151.0";
|
|
1313
|
+
};
|
|
1250
1314
|
};
|
|
1251
1315
|
};
|
|
1252
1316
|
/** 会话列表行 `unreadable` 标记的整个键闭集:`errorCode` —— 读口打开这只会话时答的码(open 面那一张码表,与全局兜底同读)。 */
|
|
@@ -1384,23 +1448,6 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1384
1448
|
readonly since: "7.138.0";
|
|
1385
1449
|
};
|
|
1386
1450
|
};
|
|
1387
|
-
readonly retired: {
|
|
1388
|
-
readonly "GET /v1/sessions/:id#messages[].details.authorization.resourceMetadataUrl": {
|
|
1389
|
-
readonly attr: "remote-claimed URL from the endpoint's challenge (deep-scrubbed text)";
|
|
1390
|
-
readonly since: "7.138.0";
|
|
1391
|
-
readonly until: "7.150.0";
|
|
1392
|
-
};
|
|
1393
|
-
readonly "SSE tool_end#structured.authorization(reason \u4EE5\u5916\u7684\u6210\u5458)": {
|
|
1394
|
-
readonly attr: "card members passed through the text redactor (resourceMetadataUrl, a custom card's own members)";
|
|
1395
|
-
readonly since: "7.138.0";
|
|
1396
|
-
readonly until: "7.150.0";
|
|
1397
|
-
};
|
|
1398
|
-
readonly "GET /v1/runs/:id/events#tool_end.structured.authorization(reason \u4EE5\u5916\u7684\u6210\u5458)": {
|
|
1399
|
-
readonly attr: "card members passed through the text redactor (resourceMetadataUrl, a custom card's own members)";
|
|
1400
|
-
readonly since: "7.138.0";
|
|
1401
|
-
readonly until: "7.150.0";
|
|
1402
|
-
};
|
|
1403
|
-
};
|
|
1404
1451
|
};
|
|
1405
1452
|
/** `wiring_manifest.mods[].provenance`(每条腿的清单帧,每行 mod 注册一个出处标签):本服务自铸的注册带 `server`、运维声明的包带 `operator`;与同一行上 `seat` 的座词(`deployment` / `task`)互不相交。 */
|
|
1406
1453
|
readonly wiringModProvenance: {
|
|
@@ -1644,12 +1691,14 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1644
1691
|
};
|
|
1645
1692
|
};
|
|
1646
1693
|
/**
|
|
1647
|
-
* `/decide` 与应答口在 workflow 子代停驻卡上的应答,**持有这张卡的 run
|
|
1648
|
-
* 词表属主 = core `WorkflowParkDeliveryResult`;唯一铸点 = `parked-decide.ts` 的 `
|
|
1649
|
-
*
|
|
1694
|
+
* `/decide` 与应答口在 workflow 子代停驻卡上的应答,**持有这张卡的 run 读作 `running`、决定行在记录栅栏里立住之后**的本进程快路:引擎 `redeemWorkflowParks` 对这条决定的答词 → wire 结局。
|
|
1695
|
+
* 词表属主 = core `WorkflowParkDeliveryResult`;唯一铸点 = `parked-decide.ts` 的 `answerOfHolderRedeem`(`switch` 穷尽);`satisfies Record<WorkflowParkDeliveryResult, …>`(引擎加词而本表没跟 ⇒ tsc 红)。
|
|
1696
|
+
* 决定在唯一仲裁点(记录栅栏)上立住之后,除「卡已离开 pending」外一律答同一张 200 回执 —— 交付在后(持有进程的拉取 / run 的收场送达)。记录栅栏的三只零写拒
|
|
1697
|
+
* (`decide.gate_moved` / `decide.parked_restatement_unsupported` / `decide.claim_lost`,铸点 `answerOfHolderFence`)先于引擎判,不在本集。码全是既有码。
|
|
1698
|
+
* 行为钉:`test/workflow-park-live-redeem.test.ts`、`test/workflow-park-cross-replica.test.ts`。
|
|
1650
1699
|
*/
|
|
1651
1700
|
readonly workflowParkDeliveryResult: {
|
|
1652
|
-
readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run
|
|
1701
|
+
readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 读作 running、决定行已在记录栅栏里立住):引擎答词 → 应答";
|
|
1653
1702
|
readonly members: {
|
|
1654
1703
|
driving: {
|
|
1655
1704
|
attr: string;
|
|
@@ -1677,6 +1726,32 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1677
1726
|
};
|
|
1678
1727
|
};
|
|
1679
1728
|
};
|
|
1729
|
+
/**
|
|
1730
|
+
* 同一只本进程快路上引擎那一答的**四形**(`WorkflowParkDelivery["kind"]`,型属主 = core;铸点同上)。`live` 按上一集逐词读;`suspending` / `not_active` 是本版换答的两形 ——
|
|
1731
|
+
* 上一版它们把决断交给续跑车道(200 体指向宿主新一跑),本版决定已在记录栅栏里立住,答同一张活臂回执(`taskId` = workflow run id),交付由持有进程的拉取或 run 的收场送达完成;
|
|
1732
|
+
* 「收场窗」的判放在管道事实上,不读 `not_active` 的字面。行为钉同上。
|
|
1733
|
+
*/
|
|
1734
|
+
readonly workflowParkDeliveryKind: {
|
|
1735
|
+
readonly at: "POST /v1/approvals/:id/decide · 应答口(workflow 子代停驻卡,持有它的 run 读作 running、决定行已在记录栅栏里立住):引擎答形 → 应答";
|
|
1736
|
+
readonly members: {
|
|
1737
|
+
live: {
|
|
1738
|
+
attr: string;
|
|
1739
|
+
since: string;
|
|
1740
|
+
};
|
|
1741
|
+
suspending: {
|
|
1742
|
+
attr: string;
|
|
1743
|
+
since: string;
|
|
1744
|
+
};
|
|
1745
|
+
not_active: {
|
|
1746
|
+
attr: string;
|
|
1747
|
+
since: string;
|
|
1748
|
+
};
|
|
1749
|
+
not_armed: {
|
|
1750
|
+
attr: string;
|
|
1751
|
+
since: string;
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1680
1755
|
/**
|
|
1681
1756
|
* 400 `request.env_credential_refused`(7.146.0 起;请求 `settings.env` 里有凭据)拒体 `entries[]` 每一条的 `match`:这一条为什么被判成凭据(体另带 `field: "settings.env"`、`entries[].key`;值从不进体)。
|
|
1682
1757
|
* 词表属主 = `task-settings.ts` 的 `SETTINGS_ENV_CREDENTIAL_MATCHES`(唯一铸点 `settingsEnvCredentialIssue`;受理门 / `resolveSpec` 两腿 / 存体续跑预判同调);`satisfies Record<SettingsEnvCredentialMatch, …>`。
|
|
@@ -2563,6 +2638,15 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2563
2638
|
readonly attr: 401;
|
|
2564
2639
|
readonly since: "7.136.0";
|
|
2565
2640
|
};
|
|
2641
|
+
readonly "ALL routes after the auth-bridge pre-authentication (not GET /health)#sso_token_foreign_scope(fleet \u6210\u5458 FLEET_GENERATION \u5728\u573A;\u9A8C\u8FC7\u7B7E\u7684\u767B\u8BB0\u4E2D\u5FC3\u767B\u5F55\u4EE4\u724C scope \u2260 FLEET_SCOPE\u3014\u7F3A\u5E2D = \u7F3A\u7701 scope\u3015;\u540C\u4E00\u679A Bearer \u662F\u672C\u90E8\u7F72 service \u51ED\u636E\u7684\u4E0D\u5728\u6B64\u5217;\u4F53 auth.scope_mismatch)": {
|
|
2642
|
+
readonly attr: 403;
|
|
2643
|
+
readonly since: "7.151.0";
|
|
2644
|
+
};
|
|
2645
|
+
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs|\u5176\u4F59 fail-closed \u5199\u53E3(\u8BA1\u8D39\u63D0\u4EA4 \u00B7 bake \u00B7 \u6539\u5199\u95E8 \u00B7 \u7834\u574F\u6027\u4F1A\u8BDD\u5199)\u4E0E POST /v1/tool-approvals/:id/respond \u7684\u505C\u9A7B\u8D4E\u56DE\u81C2#verified_sign_in_token_without_service_credential(\u90E8\u7F72\u53EA\u63A5\u4E86\u9274\u6743\u6865 \u2014\u2014 AUTH_BRIDGE_ISSUER \u6216\u63A5\u4E86\u4E2D\u5FC3\u7684\u56DE\u9000 issuer \u2014\u2014 \u6CA1\u914D SERVICE_AUTH_TOKEN(S)\u3001\u6CA1\u5F00 ALLOW_UNAUTHED_WRITES;\u8BF7\u6C42\u51FA\u793A\u9274\u6743\u6865\u9A8C\u8FC7\u7684\u767B\u8BB0\u4E2D\u5FC3\u767B\u5F55\u4EE4\u724C;\u6CA1\u5E26\u8FC7\u95E8\u51ED\u636E\u7684\u8BF7\u6C42\u4ECD 503)": {
|
|
2646
|
+
readonly attr: "该口自己的受理(POST /v1/runs 202 · POST /v1/tasks 同步 200 …)";
|
|
2647
|
+
readonly revises: readonly ["errorCode:auth.service_token_required"];
|
|
2648
|
+
readonly since: "7.151.0";
|
|
2649
|
+
};
|
|
2566
2650
|
readonly "ALL principal-reading routes#principal_not_a_name(\u4E3B\u4F53\u5934 / SSO \u4EE4\u724C\u7684 sub / \u76F4\u8FDE\u95E8 JWT \u7684 sub \u4E0D\u662F\u4E00\u4F4D\u4E3B\u4F53\u7684\u540D\u5B57:\u7A7A / \u7A7A\u767D / \u5E26\u63A7\u5236\u3001\u884C\u6BB5\u5206\u9694\u6216\u4E0D\u53EF\u89C1\u683C\u5F0F\u5B57\u7B26;\u4F53 principal_not_a_name)": {
|
|
2567
2651
|
readonly attr: 400;
|
|
2568
2652
|
readonly since: "7.137.0";
|
|
@@ -2879,6 +2963,74 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2879
2963
|
readonly attr: 400;
|
|
2880
2964
|
readonly since: "7.149.0";
|
|
2881
2965
|
};
|
|
2966
|
+
readonly "POST /v1/tasks|/v1/runs#rewindFilesTo_with_cascade(\u65B0\u63D0\u4EA4;\u63D0\u4EA4\u4F53\u540C\u5E26\u975E\u7A7A\u4E32 `rewindFilesTo` \u4E0E `cascade: true` \u2014\u2014 \u68AF\u7EA7\u6BCF\u4E00\u7EA7\u5728\u5F15\u64CE\u73B0\u94F8\u7684\u4F1A\u8BDD\u91CC\u8DD1\u3001\u4E0D\u53D6\u6839,\u6587\u4EF6\u56DE\u9000\u65E0\u5904\u843D\u5730;\u62D2\u5728\u4EFB\u4F55\u526F\u4F5C\u7528\u4E4B\u524D\u3001\u68AF\u5B50\u4E00\u7EA7\u90FD\u4E0D\u8D77;\u4F53 request.field_conflict + reason cascade_verify + fields [rewindFilesTo, cascade];`/v1/tasks/stream` \u4E0A\u5E26 `cascade` \u7684\u63D0\u4EA4\u672C\u6765\u5C31 400(\u540C\u7801),\u4E0D\u5165\u6B64\u9762)": {
|
|
2967
|
+
readonly attr: 400;
|
|
2968
|
+
readonly since: "7.151.0";
|
|
2969
|
+
};
|
|
2970
|
+
readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_redeemed(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4ECD\u5F00\u7740,\u90E8\u7F72\u63A5\u4E86\u505C\u9A7B\u8D4E\u56DE \u2014\u2014 \u975E\u76F4\u8FDE\u95E8;\u4EA4\u4E0E live \u5E94\u7B54\u53E3\u505C\u9A7B\u81C2\u540C\u4E00\u53EA\u8D4E\u56DE;\u4F53 = \u672C\u53E3\u57FA\u672C\u952E + accepted parked_redeemed + \u8D4E\u56DE\u53D7\u7406\u4F53;\u53D7\u7406\u4E4B\u540E\u51B3\u5B9A\u8BB0\u5728\u95EE\u884C\u4E0A)": {
|
|
2971
|
+
readonly attr: 200;
|
|
2972
|
+
readonly revises: readonly ["errorCode:gone.ask_parked"];
|
|
2973
|
+
readonly since: "7.151.0";
|
|
2974
|
+
};
|
|
2975
|
+
readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_standing_same_key(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4E0A\u5DF2\u7AD9\u7740\u4E00\u6B21\u51B3\u5B9A,\u672C\u6B21\u8BF7\u6C42\u7684 idempotencyKey \u5C31\u662F\u95EE\u884C\u4E0A\u8BB0\u5F55\u7684\u90A3\u4E00\u628A;\u4F53 = \u9996\u51B3\u56DE\u653E,\u4E0E DECIDED \u884C\u7684\u56DE\u653E\u540C\u4E00\u53EA\u6E32\u67D3)": {
|
|
2976
|
+
readonly attr: 200;
|
|
2977
|
+
readonly revises: readonly ["errorCode:gone.ask_parked"];
|
|
2978
|
+
readonly since: "7.151.0";
|
|
2979
|
+
};
|
|
2980
|
+
readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_standing_conflict(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4E0A\u5DF2\u7AD9\u7740\u4E00\u6B21\u51B3\u5B9A,\u672C\u6B21\u8BF7\u6C42\u4E0D\u662F\u8BB0\u5F55\u4E0A\u90A3\u4E00\u628A\u952E / \u6CA1\u5E26\u952E;\u4F53 conflict.ask_decided \u56DE\u663E\u9996\u51B3;\u9996\u51B3\u53D6\u95EE\u884C\u4E0A\u7B54\u7684\u5C31\u662F\u95E8\u4E0A\u8FD9\u4E00\u6B21\u7684\u90A3\u4EFD\u8BB0\u5F55,\u5426\u5219\u53D6\u505C\u9A7B\u95E8)": {
|
|
2981
|
+
readonly attr: 409;
|
|
2982
|
+
readonly revises: readonly ["errorCode:gone.ask_parked"];
|
|
2983
|
+
readonly since: "7.151.0";
|
|
2984
|
+
};
|
|
2985
|
+
readonly "POST /v1/tasks/:taskId/asks/:askId/decision#parked_redemption_refused(\u95EE\u5DF2\u8F6C\u505C\u9A7B\u3001\u95E8\u4ECD\u5F00\u7740,\u505C\u9A7B\u8D4E\u56DE\u6CA1\u751F\u6548\u4E14\u95E8\u6B64\u523B\u4ECD\u6CA1\u51B3;\u4F53 = \u8D4E\u56DE\u7684\u62D2\u539F\u6837:429 \u6210\u672C\u914D\u989D + Retry-After / 503 \u670D\u52A1\u51ED\u636E\u6216\u5C31\u7EEA / 409 approval_stale \u6216 conflict.not_resumable / 400 decide_requires_binding / 500;\u8D4E\u56DE\u7684 404 \u6539\u7B54\u672C\u53E3\u7684 not_found.ask)": {
|
|
2986
|
+
readonly attr: "as the shared parked redemption answers (429 / 503 / 409 / 400 / 500; its 404 ⇒ 404 not_found.ask)";
|
|
2987
|
+
readonly revises: readonly ["errorCode:gone.ask_parked"];
|
|
2988
|
+
readonly since: "7.151.0";
|
|
2989
|
+
};
|
|
2990
|
+
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#userAttachments \u7684 path \u6761\u76EE\u5728 e2b / k8s / local-docker / adb \u8F66\u9053\u4E0A(\u76EE\u6807\u7ED9\u5F97\u51FA\u90A3\u4E00\u6B21\u89C2\u6D4B:Linux\u3001\u6302\u7740 /proc\u3001\u6709 timeout / readlink / stat / head / base64)\u4E0E device \u8F66\u9053\u4E0A(\u6267\u884C\u5668\u58F0\u660E\u4FEE\u8BA2\u53F7 \u2265 6 \u4E14\u5728 hello.supports \u58F0\u660E\u4E86 openBound)\u2014\u2014 human_input.attachments[].outcome": {
|
|
2991
|
+
readonly attr: "attached";
|
|
2992
|
+
readonly since: "7.151.0";
|
|
2993
|
+
};
|
|
2994
|
+
readonly "GET /v1/device/ws#instruction kind openBound(server \u2192 executor;\u534F\u8BAE\u4FEE\u8BA2\u53F7 6 \u7684 kind,\u53EA\u6D3E\u53D1\u7ED9\u58F0\u660E\u4FEE\u8BA2\u53F7 \u2265 6 \u4E14 hello.supports \u58F0\u660E\u4E86\u5B83\u7684\u6267\u884C\u5668;args { path, op: open|size|readBytes|list, identity?, kind?, max? })": {
|
|
2995
|
+
readonly attr: "dispatched-iff-declared";
|
|
2996
|
+
readonly since: "7.151.0";
|
|
2997
|
+
};
|
|
2998
|
+
readonly "GET /v1/device/ws#result outcome stat.identity(openBound \u5F00\u7B54\u7684 <device>:<inode>;\u53EF\u9009\u4E32,\u4E0D\u662F\u4E32 \u21D2 bad_shape)": {
|
|
2999
|
+
readonly attr: "accepted";
|
|
3000
|
+
readonly since: "7.151.0";
|
|
3001
|
+
};
|
|
3002
|
+
readonly "POST /v1/sessions/:id/sync/import/:stagingId/entries|POST /v1/sessions/:id/sync/import#landed_occupant_gone(\u6761\u76EE\u5DF2\u63D0\u4EA4 / identical \u77ED\u8DEF\u4E4B\u540E,\u5199\u6587\u4EF6\u5386\u53F2 \u00B7 \u4F1A\u8BDD\u89C4\u5219 \u00B7 \u56DE\u9000\u951A \u00B7 \u884C\u4E24\u4F4D\u7684\u843D\u5B9A\u6BB5\u6BB5\u9996\u9501\u4F1A\u8BDD\u6839\u884C,\u8BFB\u51FA\u843D\u5B9A\u7684\u90A3\u4E00\u4F4D\u4F4F\u5BA2\u5DF2\u4E0D\u5728:\u4F1A\u8BDD\u88AB\u5220\u3001\u6216\u540C id \u88AB\u91CD\u5EFA \u2014\u2014 \u542B\u540C\u4E00\u5C5E\u4E3B;\u6BB5\u4F53\u96F6\u5B57\u8282\u5199;\u4F53 conflict + sync conflict,\u4E0D\u5E26 relation;\u8FD0\u7EF4 warn session_sync_landed_occupant_gone)": {
|
|
3003
|
+
readonly attr: 409;
|
|
3004
|
+
readonly since: "7.151.0";
|
|
3005
|
+
};
|
|
3006
|
+
readonly "POST /v1/sessions/:id/sync/import/:stagingId/entries#staged_commit_occupant_changed(\u6682\u5B58\u63D0\u4EA4\u65F6\u8FD9\u53EA id \u4E0A\u7684\u4F1A\u8BDD\u5DF2\u4E0D\u662F\u7B2C\u4E00\u9636\u6BB5\u95E8\u5224\u8FC7\u7684\u90A3\u4E00\u4F4D\u4F4F\u5BA2:\u5C5E\u4E3B\u6216\u5316\u8EAB\u4E0D\u540C \u2014\u2014 \u542B\u540C\u4E00\u5C5E\u4E3B\u5220\u5EFA;\u63D0\u4EA4\u4E8B\u52A1\u56DE\u6EDA;\u4F53 conflict + \u6682\u5B58\u5BFC\u5165\u4F4F\u5BA2\u5DF2\u53D8\u7684\u56FA\u5B9A\u53E5)": {
|
|
3007
|
+
readonly attr: 409;
|
|
3008
|
+
readonly since: "7.151.0";
|
|
3009
|
+
};
|
|
3010
|
+
readonly "GET /v1/sessions/:id/sync/manifest|/v1/sessions/:id/sync/entries|/v1/sessions/:id/sync/history/blobs/:hash#occupant_changed_after_gate(\u95E8\u8BFB\u5230\u4F4F\u5BA2\u4E4B\u540E\u3001\u7B54\u590D\u53D1\u51FA\u4E4B\u524D\u590D\u5224:\u8FD9\u53EA id \u4E0A\u5DF2\u4E0D\u662F\u95E8\u627F\u8BA4\u7684\u90A3\u4E00\u4F4D \u2014\u2014 \u5220\u4E86 / \u540C id \u91CD\u5EFA;\u542B\u5426\u5B9A\u7B54\u590D 404 not_found.blob;entries \u5728\u5E94\u7B54\u5934\u53D1\u51FA\u4E4B\u524D;\u4F53 not_found.session,\u4E0E\u95E8\u540E\u88AB\u5220\u540C\u4F53)": {
|
|
3011
|
+
readonly attr: 404;
|
|
3012
|
+
readonly since: "7.151.0";
|
|
3013
|
+
};
|
|
3014
|
+
readonly "GET /v1/sessions/:id/sync/entries#occupant_changed_mid_stream(\u5E94\u7B54\u5934\u5DF2\u53D1;\u6BCF\u9875\u4EA4\u51FA\u4E4B\u524D\u590D\u5224\u4E0D\u4E2D \u21D2 \u6D41\u7ED3\u675F\u3001\u4E0D\u5199\u5C3E\u884C = \u622A\u65AD;\u8FD0\u7EF4 info session_sync_pull_occupant_changed)": {
|
|
3015
|
+
readonly attr: 200;
|
|
3016
|
+
readonly since: "7.151.0";
|
|
3017
|
+
};
|
|
3018
|
+
readonly "POST /v1/sessions/:id/sync/plan|POST /v1/sessions/:id/sync/import#occupant_changed_after_gate(\u95E8\u8BFB\u5230\u4F4F\u5BA2\u4E4B\u540E\u3001\u975E\u6545\u969C\u51FA\u53E3\u53D1\u51FA\u4E4B\u524D\u590D\u5224\u5360\u4F4D\u5934:\u5DF2\u4E0D\u662F\u90A3\u4E00\u4F4D;\u542B\u5173\u7CFB\u4F53\u3001422 \u7F3A\u5757\u3001409 \u5199\u8005 / \u6D3B\u8DC3\u62D2;\u4F53 conflict + sync conflict,\u4E0D\u5E26 relation)": {
|
|
3019
|
+
readonly attr: 409;
|
|
3020
|
+
readonly since: "7.151.0";
|
|
3021
|
+
};
|
|
3022
|
+
readonly "POST /v1/sessions/:id/sync/import/:stagingId/entries#pre_commit_activity_occupant_changed(\u63D0\u4EA4\u524D\u7684\u6D3B\u6027\u590D\u67E5:\u95E8\u8BFB\u5230\u4F4F\u5BA2\u3001\u8BFB\u5230\u4E00\u4EFD\u6D3B run / \u6D3B\u5B50\u4EE3\u4E4B\u540E,\u590D\u5224\u8FD9\u53EA id \u4E0A\u5DF2\u4E0D\u662F\u90A3\u4E00\u4F4D \u2014\u2014 \u90A3\u4EFD\u6D3B\u6027\u662F\u522B\u4E00\u4EE3\u7684;\u6682\u5B58\u653E\u6389;\u4F53 conflict + sync conflict,\u4E0D\u5E26 activeTaskId / children)": {
|
|
3023
|
+
readonly attr: 409;
|
|
3024
|
+
readonly since: "7.151.0";
|
|
3025
|
+
};
|
|
3026
|
+
readonly "PATCH /v1/sessions/:id#session_deleting(\u95E8\u90A3\u4E00\u8BFB\u4E4B\u540E\u4F1A\u8BDD\u8FDB\u4E86\u5728\u5220:\u5220\u9664\u56F4\u680F\u5DF2\u7ACB\u3001\u5C1A\u672A\u5220\u51C0;\u884C\u683C\u5224\u5B98\u628A\u5728\u5220\u8BFB\u4F5C\u884C\u4E0D\u5728;\u96F6\u5199;\u4F53 not_found.session)": {
|
|
3027
|
+
readonly attr: 404;
|
|
3028
|
+
readonly since: "7.151.0";
|
|
3029
|
+
};
|
|
3030
|
+
readonly "PUT /v1/sessions/:id/policy#occupant_changed_after_gate(\u95E8\u8BFB\u5230\u7684\u90A3\u4E00\u4F4D\u4F4F\u5BA2\u5728\u5199\u89C4\u5219\u7684\u843D\u5B9A\u6BB5\u6BB5\u9996\u5DF2\u4E0D\u5728:\u5220\u4E86 / \u540C id \u91CD\u5EFA;\u96F6\u5199;\u4F53 not_found.session,\u4E0E\u95E8\u540C\u4F53)": {
|
|
3031
|
+
readonly attr: 404;
|
|
3032
|
+
readonly since: "7.151.0";
|
|
3033
|
+
};
|
|
2882
3034
|
};
|
|
2883
3035
|
readonly retired: {};
|
|
2884
3036
|
};
|
|
@@ -2950,15 +3102,15 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2950
3102
|
};
|
|
2951
3103
|
/**
|
|
2952
3104
|
* `GET /v1/sessions/:id/memory-status` 200 体上本版新出现的顶层键:`memorySync` —— 本部署记忆同步腿的停驻事实(部署事实,不随会话、不随层座 `?scope=`;
|
|
2953
|
-
* 唯一读口 = 同步执行器的 `parked()`)。形 `{ parked: Array
|
|
3105
|
+
* 唯一读口 = 同步执行器的 `parked()`)。形 `{ parked: Array<条目> }`(条目键集 = `memorySyncParkedKey`:`scope` / `wayOut` / 成因 `cause` / 引擎拒时的 `axis` · `found`),`parked: []` = 在同步、没有层停驻;游标盘路径不上 wire。
|
|
2954
3106
|
* `writeHome` / `planes`(7.146.0)—— 会话的记忆写家:引擎给的 canonical 绝对目录(worker 文件系统路径),字节原样;`writeHome` 是店绑定的键(带层座 = 那只店的引擎答案,顶层原样;不带层座 = 引擎在店之间择好的会话级一值,顶层原样;逐店明细 `planes[]` 原样透出每行的 `writeHome`);在场律 = 引擎答了 ∧ 部署形表行 `callerOwnsWorkerDisk`(与能力位 `projectContext` 同一行)。
|
|
2955
3107
|
*/
|
|
2956
3108
|
readonly sessionMemoryStatusKey: {
|
|
2957
3109
|
readonly at: "GET /v1/sessions/:id/memory-status 200 体顶层键(<键> → 在场律)";
|
|
2958
3110
|
readonly members: {
|
|
2959
3111
|
readonly memorySync: {
|
|
2960
|
-
readonly attr: "present-iff this deployment runs a memory sync leg;{parked:[
|
|
2961
|
-
readonly since: "7.
|
|
3112
|
+
readonly attr: "present-iff this deployment runs a memory sync leg;{parked:[entry]} in sync order (entry keys: memorySyncParkedKey);parked:[] ⇔ no layer parked;deployment fact (same for every session, ?scope= not applied)";
|
|
3113
|
+
readonly since: "7.151.0";
|
|
2962
3114
|
};
|
|
2963
3115
|
readonly writeHome: {
|
|
2964
3116
|
readonly attr: "present-iff the engine answered it ∧ the single-user host lane (the capability bit projectContext's range predicate: hosted / sandbox / device / no-hands lanes ⇒ absent);the engine's absolute directory, byte for byte;with ?scope= that store's engine answer;without ?scope= the session-level home the engine chose across the stores (the newest store's own home;absent while any store's reading is unreadable, on a same-instant tie, or when no store names one)";
|
|
@@ -2970,6 +3122,85 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2970
3122
|
};
|
|
2971
3123
|
};
|
|
2972
3124
|
};
|
|
3125
|
+
/**
|
|
3126
|
+
* `memory-status.memorySync.parked[]` 条目的**整个**键集(7.151.0 起登记全集;`scope` / `wayOut` 自 7.141.0 即在 wire 上)。一条条目 = 执行器的一条停驻记录整条原样(型属主 `MemorySyncParkedLayer`,
|
|
3127
|
+
* 唯一铸点 `parkedLayerOf`;运维行 `memory_sync_layer_parked` 从同一条记录投影,另带触发原因 `reason` / 游标盘路径 `cursorPath` / 句子 `note`,这三格不在条目里)。游标的盘路径不上 wire。
|
|
3128
|
+
*/
|
|
3129
|
+
readonly memorySyncParkedKey: {
|
|
3130
|
+
readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[] 条目键(<键> → 在场律)";
|
|
3131
|
+
readonly members: {
|
|
3132
|
+
scope: {
|
|
3133
|
+
attr: string;
|
|
3134
|
+
since: string;
|
|
3135
|
+
};
|
|
3136
|
+
wayOut: {
|
|
3137
|
+
attr: string;
|
|
3138
|
+
since: string;
|
|
3139
|
+
};
|
|
3140
|
+
cause: {
|
|
3141
|
+
attr: string;
|
|
3142
|
+
since: string;
|
|
3143
|
+
};
|
|
3144
|
+
axis: {
|
|
3145
|
+
attr: string;
|
|
3146
|
+
since: string;
|
|
3147
|
+
};
|
|
3148
|
+
found: {
|
|
3149
|
+
attr: string;
|
|
3150
|
+
since: string;
|
|
3151
|
+
};
|
|
3152
|
+
};
|
|
3153
|
+
};
|
|
3154
|
+
/** 停驻成因 `memorySync.parked[].cause` 的闭集(同一只词也在运维行 `memory_sync_layer_parked` 的 `cause` 上)。`cursor_refused` = 同步引擎在游标上拒了这一层(轴与读数见 `axis` / `found`);`cursor_unusable` = 游标文件读不成游标。 */
|
|
3155
|
+
readonly memorySyncParkCause: {
|
|
3156
|
+
readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].cause";
|
|
3157
|
+
readonly members: {
|
|
3158
|
+
cursor_refused: {
|
|
3159
|
+
attr: string;
|
|
3160
|
+
since: string;
|
|
3161
|
+
};
|
|
3162
|
+
cursor_unusable: {
|
|
3163
|
+
attr: string;
|
|
3164
|
+
since: string;
|
|
3165
|
+
};
|
|
3166
|
+
};
|
|
3167
|
+
};
|
|
3168
|
+
/** 引擎拒游标的轴 `memorySync.parked[].axis` 的闭集(词表属主 = 引擎同步报告的拒读数型;`incarnation` = 中心的哪一份状态:中心换了或游标是升级前写下的)。 */
|
|
3169
|
+
readonly memorySyncCursorAxis: {
|
|
3170
|
+
readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].axis";
|
|
3171
|
+
readonly members: {
|
|
3172
|
+
scope: {
|
|
3173
|
+
attr: string;
|
|
3174
|
+
since: string;
|
|
3175
|
+
};
|
|
3176
|
+
peer: {
|
|
3177
|
+
attr: string;
|
|
3178
|
+
since: string;
|
|
3179
|
+
};
|
|
3180
|
+
store: {
|
|
3181
|
+
attr: string;
|
|
3182
|
+
since: string;
|
|
3183
|
+
};
|
|
3184
|
+
incarnation: {
|
|
3185
|
+
attr: string;
|
|
3186
|
+
since: string;
|
|
3187
|
+
};
|
|
3188
|
+
};
|
|
3189
|
+
};
|
|
3190
|
+
/** 游标在被拒那一轴上的读数 `memorySync.parked[].found` 的闭集(词表属主 = 引擎同步报告的拒读数型):`absent` = 游标在那一轴上没有绑定,`other` = 绑着别的值。 */
|
|
3191
|
+
readonly memorySyncCursorFound: {
|
|
3192
|
+
readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].found";
|
|
3193
|
+
readonly members: {
|
|
3194
|
+
absent: {
|
|
3195
|
+
attr: string;
|
|
3196
|
+
since: string;
|
|
3197
|
+
};
|
|
3198
|
+
other: {
|
|
3199
|
+
attr: string;
|
|
3200
|
+
since: string;
|
|
3201
|
+
};
|
|
3202
|
+
};
|
|
3203
|
+
};
|
|
2973
3204
|
/** 停驻层出路 `memorySync.parked[].wayOut` 的闭集(同一只词也在运维行 `memory_sync_layer_parked` 的 `wayOut` 上)。`delete_cursor` = 删掉这一层的同步游标文件,下一轮从空基线重收敛(不推删除)。 */
|
|
2974
3205
|
readonly memorySyncWayOut: {
|
|
2975
3206
|
readonly at: "GET /v1/sessions/:id/memory-status memorySync.parked[].wayOut";
|
|
@@ -3328,6 +3559,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3328
3559
|
readonly refusalSentenceForm: {
|
|
3329
3560
|
readonly at: "拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变)";
|
|
3330
3561
|
readonly members: {
|
|
3562
|
+
readonly "409 conflict#staged_import_commit(\u4F1A\u8BDD\u540C\u6B65\u63A8\u9001\u7B2C\u4E8C\u9636\u6BB5\u7684\u63D0\u4EA4:\u6682\u5B58\u63D0\u4EA4\u7684\u4F4F\u5BA2 CAS \u6CA1\u8FC7)": {
|
|
3563
|
+
readonly attr: "session changed hands while the import streamed (deleted, re-created or re-owned); nothing was imported — start the sync again";
|
|
3564
|
+
readonly since: "7.151.0";
|
|
3565
|
+
};
|
|
3331
3566
|
readonly "401 auth.unauthorized#operator(/metrics* \u00B7 GET /v1/tasks/source-summary)": {
|
|
3332
3567
|
readonly attr: "… send the deployment's service token … without a principal header where this deployment lets its service token act for the deployment itself (GET /health reports it as auth.serviceTokenActsForDeployment; …), or a read-only token this endpoint accepts (…)";
|
|
3333
3568
|
readonly since: "7.146.0";
|
|
@@ -3368,9 +3603,9 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3368
3603
|
readonly attr: "this session's stored state cannot be read: the store does not match what this deployment requires (a table is missing or the database account lacks a privilege), so nothing was exported — retrying will not help until an operator repairs the store";
|
|
3369
3604
|
readonly since: "7.137.0";
|
|
3370
3605
|
};
|
|
3371
|
-
readonly "
|
|
3606
|
+
readonly "env.snapshot_bucket_missing#snapshot_bucket_missing(k8s \u8F66\u9053\u8BFB latest / \u53D6\u5FEB\u7167\u5F52\u6863\u5F97 404 NoSuchBucket;\u5EFA\u8FDE\u7684\u7ACB\u5B9A\u62D2 \u2014\u2014 \u4E0D\u7559 pod\u3014\u8BFB latest \u4E0D\u5EFA,\u53D6\u5F52\u6863\u5EFA\u7684\u90A3\u53EA\u91CA\u653E\u3015,\u6267\u884C\u73AF\u5883\u8BB0\u4F4F\u5B83\u76F4\u5230\u9500\u6BC1)": {
|
|
3372
3607
|
readonly attr: "workspace space pointer read failed (snapshot_bucket_missing): the workspace snapshot bucket <name> (WORKSPACE_SNAPSHOT_BUCKET; default workspaces) does not exist in the object store — refusing to start this run … Ways out: create the bucket, or set WORKSPACE_SNAPSHOT_BUCKET to one that exists, or set WORKSPACE_PERSIST=off …";
|
|
3373
|
-
readonly since: "7.
|
|
3608
|
+
readonly since: "7.151.0";
|
|
3374
3609
|
};
|
|
3375
3610
|
readonly "400 request.field_invalid#images[i].url.credential": {
|
|
3376
3611
|
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";
|
|
@@ -3512,6 +3747,26 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3512
3747
|
readonly attr: "resume blocked by an admission policy change: <同上一句>";
|
|
3513
3748
|
readonly since: "7.147.0";
|
|
3514
3749
|
};
|
|
3750
|
+
readonly "503 auth.service_token_required#task_submissions(\u8BA1\u8D39\u63D0\u4EA4 \u00B7 bake \u00B7 \u6539\u5199\u95E8;\u505C\u9A7B\u8D4E\u56DE\u5E2D\u540C\u53E5)": {
|
|
3751
|
+
readonly attr: "this worker requires a service auth token (set SERVICE_AUTH_TOKEN) or a verified registry sign-in token before accepting task submissions";
|
|
3752
|
+
readonly since: "7.151.0";
|
|
3753
|
+
};
|
|
3754
|
+
readonly "503 auth.service_token_required#destructive_session_writes": {
|
|
3755
|
+
readonly attr: "this worker requires a service auth token (set SERVICE_AUTH_TOKEN) or a verified registry sign-in token before accepting destructive session writes (policy / sync-import / fork / delete)";
|
|
3756
|
+
readonly since: "7.151.0";
|
|
3757
|
+
};
|
|
3758
|
+
readonly "413 request.payload_too_large#store_row_too_large(POST /v1/tasks|/v1/tasks/stream|/v1/runs;\u7EED\u8DD1\u8F93\u5165\u4E00\u884C\u88C5\u4E0D\u4E0B,row / statement / value \u4E09\u5899)": {
|
|
3759
|
+
readonly attr: "the database refused to store this task: it is larger than the database keeps in one row|accepts in one statement|PostgreSQL holds in one value — nothing was run; <出路>";
|
|
3760
|
+
readonly since: "7.151.0";
|
|
3761
|
+
};
|
|
3762
|
+
readonly "adopt_failed|track_failed|snapshot_failed|restore_failed#store_fault(\u6587\u4EF6\u5386\u53F2\u5E97\u7684\u5931\u8D25\u53E5:\u4F1A\u8BDD\u540C\u6B65\u63A8\u9001\u4E0E blob \u4EA4\u6362\u7684\u62D2\u4F53 \u00B7 rewind / restore \u7684\u9010\u6587\u4EF6\u5931\u8D25\u53E5)": {
|
|
3763
|
+
readonly attr: "<动作> failed: <类别句> [original code: <原码>]";
|
|
3764
|
+
readonly since: "7.151.0";
|
|
3765
|
+
};
|
|
3766
|
+
readonly "\u5B50\u4EE3\u5931\u8D25\u53E5#store_fault(tool_end \u5B50\u4EE3\u5361 structured.errorMessage \u00B7 \u540E\u53F0\u5B50\u4EE3\u901A\u544A\u7684 summary \u00B7 GET /v1/runs/:id/subagents/:handle/output \u7684 content / output \u00B7 \u7236\u6A21\u578B\u8BFB\u5230\u7684\u5B50\u4EE3\u62A5\u544A\u884C)": {
|
|
3767
|
+
readonly attr: "<类别句> [original code: <原码>](与 run 终局 terminal.failed.message 同一句)";
|
|
3768
|
+
readonly since: "7.151.0";
|
|
3769
|
+
};
|
|
3515
3770
|
};
|
|
3516
3771
|
};
|
|
3517
3772
|
/**
|
|
@@ -3712,7 +3967,7 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3712
3967
|
* 零加词的语义修订(server 发来的帧意思变了)attr = 变更名;协议文档同一行第三栏写变更全文。
|
|
3713
3968
|
*/
|
|
3714
3969
|
readonly deviceProtocolRevision: {
|
|
3715
|
-
readonly at: "GET /v1/capabilities deviceExecutor.protocolVersion 与 device WS challenge 帧的修订号(<修订号> →
|
|
3970
|
+
readonly at: "GET /v1/capabilities deviceExecutor.protocolVersion 与 device WS challenge 帧的修订号(<修订号> → 它加的词:结局码 `+词`、下发指令 kind `+kind:词`;两张表都零加词的语义修订 → 变更名)";
|
|
3716
3971
|
readonly members: {
|
|
3717
3972
|
1: {
|
|
3718
3973
|
attr: string;
|
|
@@ -3734,6 +3989,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
3734
3989
|
attr: string;
|
|
3735
3990
|
since: string;
|
|
3736
3991
|
};
|
|
3992
|
+
6: {
|
|
3993
|
+
attr: string;
|
|
3994
|
+
since: string;
|
|
3995
|
+
};
|
|
3737
3996
|
};
|
|
3738
3997
|
};
|
|
3739
3998
|
/**
|
|
@@ -4010,6 +4269,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
4010
4269
|
readonly attr: "absent=>WORKSPACE_SNAPSHOT_BUCKET_DEFAULT(not-the-explicit-value)";
|
|
4011
4270
|
readonly since: "7.148.0";
|
|
4012
4271
|
};
|
|
4272
|
+
readonly "GET /v1/config/catalog#rows[ALLOW_UNAUTHED_WRITES].semantics": {
|
|
4273
|
+
readonly attr: "write-gate-admits-requests-without-a-gate-credential(service-token|verified-sign-in-token);submissions+rewrites+destructive-session-writes";
|
|
4274
|
+
readonly since: "7.151.0";
|
|
4275
|
+
};
|
|
4013
4276
|
/**
|
|
4014
4277
|
* MCP 远端失败句在面板与重拨回执上的出口读法:出口座的 `mcp-remote-text` 行(`trace/exit-seat.ts`)—— 与 trace / 通告同一个脱敏器(引擎记号 `[redacted]` = 已抹的值,原样;
|
|
4015
4278
|
* 引擎记号占了方案词位时头值余下的部分照抹;引擎放过的形照抹),界 200(切点不落进记号)。7.137.0 是按记号切开、逐段过 `redactSecrets` 的另一只读法
|