@sema-agent/server 7.144.0 → 7.146.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 +621 -0
- package/README.md +3 -0
- package/README.zh-CN.md +1 -0
- package/USAGE.md +233 -54
- package/deploy/facts/CHANGES.json +25 -0
- package/deploy/facts/README.md +57 -0
- package/deploy/facts/lanes.json +54 -0
- package/deploy/facts/lanes.schema.json +57 -0
- package/deploy/facts/sandbox-rbac.json +113 -0
- package/deploy/facts/sandbox-rbac.schema.json +74 -0
- package/deploy/facts/sealed-key.json +9 -0
- package/deploy/facts/sealed-key.schema.json +52 -0
- package/deploy/sema-up/chart/templates/_helpers.tpl +19 -0
- package/deploy/sema-up/chart/templates/sandbox-rbac.yaml +47 -7
- package/deploy/sema-up/chart/templates/server-v4pro.yaml +4 -0
- package/deploy/sema-up/chart/templates/server.yaml +4 -0
- package/deploy/sema-up/chart/values.yaml +7 -0
- package/deploy/sema-up/stack/sema-stack-cluster.yaml +30 -14
- package/dist/adoption/import-limits.d.ts +6 -0
- package/dist/adoption/import-limits.js +7 -0
- package/dist/adoption/import.d.ts +62 -0
- package/dist/adoption/import.js +107 -0
- package/dist/adoption/wire.d.ts +52 -0
- package/dist/adoption/wire.js +9 -0
- package/dist/approval-ask-machine.d.ts +2 -2
- package/dist/approval-card.d.ts +3 -12
- package/dist/approval-card.js +0 -4
- package/dist/approval-gate-currency.d.ts +1 -1
- package/dist/approval-gate-currency.js +1 -1
- package/dist/approval-reconciler.d.ts +1 -1
- package/dist/audit.d.ts +2 -21
- package/dist/audit.js +0 -9
- package/dist/boot/deployment-mods.d.ts +11 -1
- package/dist/boot/deployment-mods.js +15 -2
- package/dist/boot/device-lane.js +2 -0
- package/dist/boot/engine-lease.d.ts +193 -21
- package/dist/boot/engine-lease.js +146 -20
- package/dist/boot/execution-env.d.ts +4 -0
- package/dist/boot/execution-env.js +12 -0
- package/dist/boot/exit-boundary.d.ts +50 -0
- package/dist/boot/exit-boundary.js +32 -0
- package/dist/boot/exit-last.d.ts +20 -4
- package/dist/boot/exit-last.js +21 -4
- package/dist/boot/governance-seams.js +1 -0
- package/dist/boot/memory-consolidation.d.ts +29 -17
- package/dist/boot/memory-consolidation.js +26 -15
- package/dist/boot/reapers.d.ts +12 -4
- package/dist/boot/reapers.js +39 -15
- package/dist/boot/resolve-spec.d.ts +2 -0
- package/dist/boot/resolve-spec.js +38 -15
- package/dist/boot/runner-deps.js +1 -1
- package/dist/boot/session-faces.d.ts +1 -1
- package/dist/boot/session-faces.js +6 -4
- package/dist/boot/shutdown.js +27 -9
- package/dist/boot/stage-01-config.js +1 -1
- package/dist/boot/stage-03-store-backend.d.ts +1 -0
- package/dist/boot/stage-03-store-backend.js +2 -2
- package/dist/boot/stage-04-stores.d.ts +1 -0
- package/dist/boot/stage-05-execution-env.d.ts +3 -0
- package/dist/boot/stage-05-execution-env.js +3 -3
- package/dist/boot/stage-06-runners.d.ts +3 -0
- package/dist/boot/stage-06-runners.js +11 -10
- package/dist/boot/stage-07-capability-layer.d.ts +3 -0
- package/dist/boot/stage-07-capability-layer.js +7 -2
- package/dist/boot/stage-08-reapers.d.ts +3 -0
- package/dist/boot/stage-08-reapers.js +3 -3
- package/dist/boot/stage-09-leader.d.ts +4 -1
- package/dist/boot/stage-10-http-server.d.ts +4 -1
- package/dist/boot/stage-10-http-server.js +4 -3
- package/dist/boot/stores.d.ts +1 -0
- package/dist/boot/stores.js +35 -19
- package/dist/boot/workflow-orchestration.d.ts +1 -1
- package/dist/boot/workflow-orchestration.js +2 -1
- package/dist/capabilities/composite-members.d.ts +3 -1
- package/dist/capabilities/composite-members.js +3 -1
- package/dist/capabilities/scenarios.d.ts +2 -2
- package/dist/capability-facts.d.ts +18 -1
- package/dist/capability-facts.js +25 -7
- package/dist/checkpoint-ctx-seal-m28.d.ts +1 -1
- package/dist/config-catalog.js +13 -4
- package/dist/config-d-migration.d.ts +3 -2
- package/dist/config-provider.d.ts +2 -2
- package/dist/config-types.d.ts +43 -4
- package/dist/config.d.ts +6 -1
- package/dist/config.js +67 -11
- package/dist/deleted-session-ids.d.ts +19 -0
- package/dist/deleted-session-ids.js +26 -0
- package/dist/deploy-facts.d.ts +155 -0
- package/dist/deploy-facts.js +94 -0
- package/dist/device-ws-hub.d.ts +48 -3
- package/dist/device-ws-hub.js +48 -2
- package/dist/error-code-family.d.ts +35 -0
- package/dist/error-code-family.js +26 -0
- package/dist/fleet/drain-entry.d.ts +39 -3
- package/dist/fleet/drain-entry.js +6 -0
- package/dist/fleet/fleet-bus.d.ts +15 -4
- package/dist/fleet/fleet-bus.js +17 -3
- package/dist/hooks/branch-transcript.d.ts +1 -1
- package/dist/hooks/branch-transcript.js +1 -0
- package/dist/hooks/classic-stations.d.ts +25 -8
- package/dist/hooks/classic-stations.js +29 -3
- package/dist/hooks/hook-runner.d.ts +33 -16
- package/dist/hooks/hook-runner.js +166 -73
- package/dist/hooks/hook-source.d.ts +14 -2
- package/dist/hooks/hook-source.js +8 -0
- package/dist/http/active-run-conflict.d.ts +1 -1
- package/dist/http/active-run-conflict.js +1 -1
- package/dist/http/admission.js +13 -2
- package/dist/http/checkpoint-ctx.d.ts +60 -71
- package/dist/http/checkpoint-ctx.js +35 -40
- package/dist/http/dispatch.js +18 -2
- package/dist/http/durable-run-leg.d.ts +5 -0
- package/dist/http/durable-run-leg.js +8 -6
- package/dist/http/execution-context.d.ts +4 -0
- package/dist/http/execution-context.js +9 -0
- package/dist/http/health-self-report.d.ts +6 -2
- package/dist/http/health-self-report.js +3 -2
- package/dist/http/memory-compliance-failure-reply.d.ts +1 -1
- package/dist/http/memory-compliance-failure-reply.js +2 -15
- package/dist/http/memory-control-plane-corrupt-reply.d.ts +25 -0
- package/dist/http/memory-control-plane-corrupt-reply.js +19 -0
- package/dist/http/principal-gate.d.ts +35 -12
- package/dist/http/principal-gate.js +16 -12
- package/dist/http/request-guards.d.ts +1 -1
- package/dist/http/request-guards.js +5 -5
- package/dist/http/resume-legs.d.ts +22 -0
- package/dist/http/resume-legs.js +31 -20
- package/dist/http/route-ctx.d.ts +26 -10
- package/dist/http/route-table.js +2 -0
- package/dist/http/routes/adoption.d.ts +11 -0
- package/dist/http/routes/adoption.js +80 -6
- package/dist/http/routes/agents-roster.js +1 -0
- package/dist/http/routes/approvals-assistant.d.ts +20 -1
- package/dist/http/routes/approvals-assistant.js +29 -7
- package/dist/http/routes/background.js +1 -0
- package/dist/http/routes/capabilities.js +4 -1
- package/dist/http/routes/diagnostics.d.ts +9 -14
- package/dist/http/routes/diagnostics.js +10 -20
- package/dist/http/routes/engine.d.ts +31 -0
- package/dist/http/routes/engine.js +81 -0
- package/dist/http/routes/memory-bundle.js +3 -0
- package/dist/http/routes/memory-consolidation.js +3 -5
- package/dist/http/routes/memory-origin.d.ts +1 -1
- package/dist/http/routes/memory-origin.js +2 -4
- package/dist/http/routes/memory-policy.js +5 -1
- package/dist/http/routes/observability.js +3 -6
- package/dist/http/routes/rules.d.ts +1 -1
- package/dist/http/routes/rules.js +5 -2
- package/dist/http/routes/runs.js +7 -3
- package/dist/http/routes/session-sync.js +24 -25
- package/dist/http/routes/sessions-list.d.ts +1 -1
- package/dist/http/routes/sessions.js +4 -0
- package/dist/http/routes/tasks.js +35 -14
- package/dist/http/routes/trace-usage.js +1 -1
- package/dist/http/run-concurrency-cap.d.ts +86 -0
- package/dist/http/run-concurrency-cap.js +54 -0
- package/dist/http/run-meta.d.ts +14 -7
- package/dist/http/run-meta.js +5 -2
- package/dist/http/server.d.ts +27 -16
- package/dist/http/server.js +21 -3
- package/dist/http/stored-body-replay.d.ts +9 -6
- package/dist/http/stored-body-replay.js +19 -5
- package/dist/http/submit-ctx.d.ts +12 -0
- package/dist/http/submit-ctx.js +23 -0
- package/dist/http/wire-types.d.ts +8 -3
- package/dist/json-body-limit.d.ts +8 -0
- package/dist/json-body-limit.js +2 -0
- package/dist/leader/diffout.d.ts +1 -1
- package/dist/local-data-root.d.ts +2 -2
- package/dist/memory-operator-faces.d.ts +9 -4
- package/dist/memory-scope-stores.d.ts +9 -7
- package/dist/memory-scope-stores.js +3 -14
- package/dist/memory-scope.d.ts +36 -0
- package/dist/memory-scope.js +32 -1
- package/dist/net-address.d.ts +53 -0
- package/dist/net-address.js +111 -0
- package/dist/observability/fail-open.d.ts +28 -12
- package/dist/observability/fail-open.js +28 -12
- package/dist/orchestration/workflow-notify-journal.js +2 -3
- package/dist/org-delivery-gate.js +1 -1
- package/dist/peer-directory.d.ts +6 -12
- package/dist/peer-directory.js +5 -1
- package/dist/plugins/approval-ask-store-file.d.ts +16 -2
- package/dist/plugins/approval-ask-store-file.js +21 -1
- package/dist/plugins/approval-ask-store-memory.d.ts +8 -2
- package/dist/plugins/approval-ask-store-memory.js +11 -8
- package/dist/plugins/caching-session-store.d.ts +6 -1
- package/dist/plugins/caching-session-store.js +6 -0
- package/dist/plugins/checkpoint-store-face.d.ts +426 -0
- package/dist/plugins/checkpoint-store-face.js +152 -0
- package/dist/plugins/file-run-store.d.ts +13 -7
- package/dist/plugins/file-run-store.js +12 -13
- package/dist/plugins/fork-routing-session-store.d.ts +6 -2
- package/dist/plugins/fork-routing-session-store.js +2 -2
- package/dist/plugins/imported-layer-root-retirement.d.ts +10 -8
- package/dist/plugins/local-checkpoint-store.d.ts +16 -5
- package/dist/plugins/local-checkpoint-store.js +25 -6
- package/dist/plugins/local-session-store.d.ts +80 -21
- package/dist/plugins/local-session-store.js +79 -22
- package/dist/plugins/memory-engine-pg.d.ts +29 -6
- package/dist/plugins/memory-engine-pg.js +96 -214
- package/dist/plugins/memory-engine-sql-apply.d.ts +121 -0
- package/dist/plugins/memory-engine-sql-apply.js +358 -0
- package/dist/plugins/memory-engine-tidb.d.ts +35 -9
- package/dist/plugins/memory-engine-tidb.js +97 -227
- package/dist/plugins/memory-key-guards.d.ts +1 -1
- package/dist/plugins/memory-origin-law.d.ts +3 -3
- package/dist/plugins/memory-run-store.d.ts +2 -0
- package/dist/plugins/memory-run-store.js +6 -0
- package/dist/plugins/one-time-migrations.d.ts +32 -56
- package/dist/plugins/one-time-migrations.js +27 -119
- package/dist/plugins/permission-rule-store-file.d.ts +17 -3
- package/dist/plugins/permission-rule-store-file.js +8 -1
- package/dist/plugins/pg-pool.js +1 -1
- package/dist/plugins/pg-session-storage.d.ts +17 -4
- package/dist/plugins/pg-session-storage.js +8 -4
- package/dist/plugins/run-store-sql.d.ts +4 -0
- package/dist/plugins/run-store-sql.js +5 -2
- package/dist/plugins/schema-ensure-legs.js +2 -2
- package/dist/plugins/session-fork.d.ts +31 -9
- package/dist/plugins/session-fork.js +3 -2
- package/dist/plugins/session-placement.d.ts +4 -2
- package/dist/plugins/session-store.d.ts +1 -1
- package/dist/plugins/sql-json-column.d.ts +5 -1
- package/dist/plugins/store-backend.d.ts +11 -8
- package/dist/plugins/store-backend.js +8 -7
- package/dist/plugins/store-contracts.d.ts +1 -11
- package/dist/plugins/store-contracts.js +0 -9
- package/dist/plugins/store-sweep.d.ts +63 -0
- package/dist/plugins/store-sweep.js +48 -0
- package/dist/plugins/tidb-pool.js +1 -1
- package/dist/plugins/tidb-session-store.d.ts +16 -3
- package/dist/plugins/tidb-session-store.js +8 -4
- package/dist/prompt-screen.d.ts +18 -0
- package/dist/prompt-screen.js +5 -0
- package/dist/rules-consent.d.ts +56 -51
- package/dist/rules-consent.js +86 -14
- package/dist/run-acceptance.d.ts +40 -10
- package/dist/run-acceptance.js +38 -5
- package/dist/run-cancel-context.d.ts +4 -1
- package/dist/run-cancel-context.js +2 -1
- package/dist/runs.js +2 -2
- package/dist/sandbox-egress-policy.js +6 -11
- package/dist/sandbox-rbac-rules.d.ts +88 -0
- package/dist/sandbox-rbac-rules.js +80 -0
- package/dist/sealed-key-layout.d.ts +17 -0
- package/dist/sealed-key-layout.js +4 -0
- package/dist/sealed-key.js +5 -5
- package/dist/security.d.ts +48 -9
- package/dist/security.js +9 -2
- package/dist/session-agent.d.ts +39 -0
- package/dist/session-agent.js +16 -0
- package/dist/session-error-wire.d.ts +4 -4
- package/dist/session-notify-door.d.ts +5 -3
- package/dist/session-resident-background.d.ts +57 -0
- package/dist/session-resident-background.js +20 -0
- package/dist/session-sync-kernel.d.ts +53 -14
- package/dist/session-sync-kernel.js +70 -1
- package/dist/session-sync.d.ts +5 -3
- package/dist/session-workspace.d.ts +1 -0
- package/dist/session-workspace.js +1 -0
- package/dist/sighup-idle.d.ts +9 -7
- package/dist/sighup-idle.js +4 -5
- package/dist/spec-fields.d.ts +16 -0
- package/dist/spec-fields.js +7 -0
- package/dist/stored-request-env-credentials-m38.d.ts +3 -0
- package/dist/stored-request-env-credentials-m38.js +8 -0
- package/dist/stored-request-prompt-profile-m30.d.ts +1 -1
- package/dist/{plugins → stores-sql}/checkpoint-store-sql.d.ts +33 -429
- package/dist/{plugins → stores-sql}/checkpoint-store-sql.js +70 -209
- package/dist/{plugins → stores-sql}/mailbox-store-sql.d.ts +2 -2
- package/dist/{plugins → stores-sql}/mailbox-store-sql.js +4 -4
- package/dist/{plugins → stores-sql}/roster-store-sql.d.ts +2 -2
- package/dist/{plugins → stores-sql}/roster-store-sql.js +1 -1
- package/dist/{plugins → stores-sql}/tool-result-store-sql.d.ts +2 -2
- package/dist/{plugins → stores-sql}/tool-result-store-sql.js +6 -6
- package/dist/{plugins → stores-sql}/workflow-journal-store-sql.d.ts +7 -12
- package/dist/{plugins → stores-sql}/workflow-journal-store-sql.js +3 -8
- package/dist/task-settings.d.ts +59 -4
- package/dist/task-settings.js +50 -4
- package/dist/tool-approval.d.ts +2 -2
- package/dist/trace/core-keyset-guard.d.ts +8 -7
- 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 +6 -0
- package/dist/trace/exit-seat.js +1 -0
- package/dist/trace/model-segment.d.ts +3 -2
- package/dist/trace/model-segment.js +16 -8
- package/dist/trace/project.js +9 -0
- package/dist/trace/redact.d.ts +79 -4
- package/dist/trace/redact.js +523 -123
- package/dist/trace/self-minted-wire.d.ts +391 -1
- package/dist/trace/self-minted-wire.js +145 -0
- package/dist/trace/wire-projection-faces.d.ts +1 -1
- package/dist/trace/wire-projection-faces.js +1 -1
- package/dist/usage-analytics.d.ts +4 -0
- package/package.json +12 -4
- package/scripts/drain-check-local.mjs +8 -29
- package/scripts/drain-check.mysql.sql +3 -24
- package/scripts/drain-check.pg.sql +3 -24
- package/skills/update-config.md +1 -1
- package/wire-changes/server@7.145.0.json +146 -0
- package/wire-changes/server@7.146.0.json +3221 -0
- package/dist/approval-batch-census.d.ts +0 -27
- package/dist/approval-batch-census.js +0 -27
|
@@ -561,6 +561,31 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
561
561
|
};
|
|
562
562
|
};
|
|
563
563
|
};
|
|
564
|
+
/**
|
|
565
|
+
* `GET /health` 的 `auth` 段的键集(恒在场,`auth` 本身恒在)。7.121.0 的三键是补登记;`serviceTokenActsForDeployment` = 出示 service 凭据、不报主体的调用方
|
|
566
|
+
* 在这台部署上代不代部署本人(配了 service 凭据 ∧ 声明位 `SERVICE_TOKEN_ACTS_FOR_DEPLOYMENT`;门 `actsForDeployment` 读同一格)。
|
|
567
|
+
*/
|
|
568
|
+
readonly healthAuthKey: {
|
|
569
|
+
readonly at: "GET /health auth";
|
|
570
|
+
readonly members: {
|
|
571
|
+
required: {
|
|
572
|
+
attr: string;
|
|
573
|
+
since: string;
|
|
574
|
+
};
|
|
575
|
+
kinds: {
|
|
576
|
+
attr: string;
|
|
577
|
+
since: string;
|
|
578
|
+
};
|
|
579
|
+
identityAttach: {
|
|
580
|
+
attr: string;
|
|
581
|
+
since: string;
|
|
582
|
+
};
|
|
583
|
+
serviceTokenActsForDeployment: {
|
|
584
|
+
attr: string;
|
|
585
|
+
since: string;
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
};
|
|
564
589
|
/** 7.121.0:`GET /health` 自报位 `auth.identityAttach`。 */
|
|
565
590
|
readonly healthIdentityAttach: {
|
|
566
591
|
readonly at: "GET /health auth.identityAttach";
|
|
@@ -653,6 +678,28 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
653
678
|
};
|
|
654
679
|
};
|
|
655
680
|
};
|
|
681
|
+
/**
|
|
682
|
+
* `GET /health` 的 `inflightBreakdown` 段(7.146.0):`inflight` 的分项 —— `http` = 本副本 HTTP 腿(在飞 run 集 + 没有登记身份的同步计费腿 + admission 期的非探针请求),`leader` = leader 口的后台 run,
|
|
683
|
+
* `sessionResident` = 会话驻留的后台 shell / monitor(活过起它的那一条腿;不含 retain 行)。`inflight`(总数)恒等于三项之和(同一次读、`inflightTotal` 一处求和);判停读的阻断集 = `http + leader`(不上 wire),驻留项只报不阻断。
|
|
684
|
+
* present-iff `inflight` 在场(`drainState` 装了的部署);键集属主 = `InflightBreakdown`(加一键而本表没跟 ⇒ tsc 红)。
|
|
685
|
+
*/
|
|
686
|
+
readonly healthInflightBreakdownKey: {
|
|
687
|
+
readonly at: "GET /health inflightBreakdown";
|
|
688
|
+
readonly members: {
|
|
689
|
+
http: {
|
|
690
|
+
attr: string;
|
|
691
|
+
since: string;
|
|
692
|
+
};
|
|
693
|
+
leader: {
|
|
694
|
+
attr: string;
|
|
695
|
+
since: string;
|
|
696
|
+
};
|
|
697
|
+
sessionResident: {
|
|
698
|
+
attr: string;
|
|
699
|
+
since: string;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
};
|
|
656
703
|
/**
|
|
657
704
|
* `GET /health` 的 `engineLease` 段(7.141.0):引擎附着租约窗 —— `lingerMs` = 自退腿会执行的**最短**静默窗(父活着的窗与孤儿窗取小),`tickMs` = 自退检查采样拍。
|
|
658
705
|
* present-iff 本进程装了租约腿(`ENGINE_AUTO_EXIT` 开或 `SEMA_PARENT_PID` 在场)∧ 腿还在观察 ∧ 窗会到期;键集属主 = `EngineLeaseFacts`(加一键而本表没跟 ⇒ tsc 红)。
|
|
@@ -668,6 +715,129 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
668
715
|
attr: string;
|
|
669
716
|
since: string;
|
|
670
717
|
};
|
|
718
|
+
firstAttach: {
|
|
719
|
+
attr: string;
|
|
720
|
+
since: string;
|
|
721
|
+
};
|
|
722
|
+
lane: {
|
|
723
|
+
attr: string;
|
|
724
|
+
since: string;
|
|
725
|
+
};
|
|
726
|
+
handover: {
|
|
727
|
+
attr: string;
|
|
728
|
+
since: string;
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* `GET /health` 的 `engineLease.firstAttach` 格(7.146.0):首次附着前的宽限窗 —— `windowMs` = 生效的候首触窗 `max(owned 窗, ENGINE_FIRST_ATTACH_MS)`,
|
|
734
|
+
* `since` = 窗开始(装配那一拍,epoch ms),`attachedAt` = 首个非探针请求的时刻(epoch ms;`null` = 还没有过)。键集属主 = `EngineLeaseFirstAttachFacts`(加一键而本表没跟 ⇒ tsc 红)。
|
|
735
|
+
*/
|
|
736
|
+
readonly healthEngineLeaseFirstAttachKey: {
|
|
737
|
+
readonly at: "GET /health engineLease.firstAttach";
|
|
738
|
+
readonly members: {
|
|
739
|
+
windowMs: {
|
|
740
|
+
attr: string;
|
|
741
|
+
since: string;
|
|
742
|
+
};
|
|
743
|
+
since: {
|
|
744
|
+
attr: string;
|
|
745
|
+
since: string;
|
|
746
|
+
};
|
|
747
|
+
attachedAt: {
|
|
748
|
+
attr: string;
|
|
749
|
+
since: string;
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
/** `GET /health` 的 `engineLease.handover` 格:交接车道的事实 —— 进入时刻(epoch ms)、缘由、交接窗、退出边界此刻会硬收的后台 shell 数。只在 handover 车道在场;键集属主 = `EngineHandoverFacts`。 */
|
|
754
|
+
readonly healthEngineLeaseHandoverKey: {
|
|
755
|
+
readonly at: "GET /health engineLease.handover";
|
|
756
|
+
readonly members: {
|
|
757
|
+
since: {
|
|
758
|
+
attr: string;
|
|
759
|
+
since: string;
|
|
760
|
+
};
|
|
761
|
+
reason: {
|
|
762
|
+
attr: string;
|
|
763
|
+
since: string;
|
|
764
|
+
};
|
|
765
|
+
lingerMs: {
|
|
766
|
+
attr: string;
|
|
767
|
+
since: string;
|
|
768
|
+
};
|
|
769
|
+
backgroundShells: {
|
|
770
|
+
attr: string;
|
|
771
|
+
since: string;
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
/** 附着租约的车道词(`/health.engineLease.lane`、`POST /v1/engine/handover` · `POST /v1/engine/attach` 200 体的 `lane`、`exit-last.json` 的 `lane`)。 */
|
|
776
|
+
readonly engineLane: {
|
|
777
|
+
readonly at: "engine lease lane(/health engineLease.lane · POST /v1/engine/handover|attach lane · exit-last.json lane)";
|
|
778
|
+
readonly members: {
|
|
779
|
+
handover: {
|
|
780
|
+
attr: string;
|
|
781
|
+
since: string;
|
|
782
|
+
};
|
|
783
|
+
orphan: {
|
|
784
|
+
attr: string;
|
|
785
|
+
since: string;
|
|
786
|
+
};
|
|
787
|
+
awaitingFirstAttach: {
|
|
788
|
+
attr: string;
|
|
789
|
+
since: string;
|
|
790
|
+
};
|
|
791
|
+
owned: {
|
|
792
|
+
attr: string;
|
|
793
|
+
since: string;
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
/** 交接缘由闭集(交接口体的 `reason`、`/health.engineLease.handover.reason`)。 */
|
|
798
|
+
readonly engineHandoverReason: {
|
|
799
|
+
readonly at: "POST /v1/engine/handover reason · /health engineLease.handover.reason";
|
|
800
|
+
readonly members: {
|
|
801
|
+
background_exit: {
|
|
802
|
+
attr: string;
|
|
803
|
+
since: string;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
/** `POST /v1/engine/handover` 200 体的键集(唯一铸点 = 租约腿交接门的 `enter`)。 */
|
|
808
|
+
readonly engineHandoverReplyKey: {
|
|
809
|
+
readonly at: "POST /v1/engine/handover 200 体键(<键> → 在场律)";
|
|
810
|
+
readonly members: {
|
|
811
|
+
lane: {
|
|
812
|
+
attr: string;
|
|
813
|
+
since: string;
|
|
814
|
+
};
|
|
815
|
+
since: {
|
|
816
|
+
attr: string;
|
|
817
|
+
since: string;
|
|
818
|
+
};
|
|
819
|
+
lingerMs: {
|
|
820
|
+
attr: string;
|
|
821
|
+
since: string;
|
|
822
|
+
};
|
|
823
|
+
backgroundShells: {
|
|
824
|
+
attr: string;
|
|
825
|
+
since: string;
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
/** `POST /v1/engine/attach` 200 体的键集(唯一铸点 = 租约腿交接门的 `attach`)。 */
|
|
830
|
+
readonly engineAttachReplyKey: {
|
|
831
|
+
readonly at: "POST /v1/engine/attach 200 体键(<键> → 在场律)";
|
|
832
|
+
readonly members: {
|
|
833
|
+
lane: {
|
|
834
|
+
attr: string;
|
|
835
|
+
since: string;
|
|
836
|
+
};
|
|
837
|
+
handedOverForMs: {
|
|
838
|
+
attr: string;
|
|
839
|
+
since: string;
|
|
840
|
+
};
|
|
671
841
|
};
|
|
672
842
|
};
|
|
673
843
|
/** `GET /v1/models` 的 `models[]` 行键(只登本版新出现的键;行的其余键不是本版新上 wire):`supportsThinkingOff` —— 「这只模型的推理能不能关」,恒在场的布尔,值 = 引擎唯一读法 `thinkingOffSpelled(条目)`。 */
|
|
@@ -939,6 +1109,39 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
939
1109
|
};
|
|
940
1110
|
};
|
|
941
1111
|
};
|
|
1112
|
+
/**
|
|
1113
|
+
* 429 `limit.rate_exceeded` 拒体的机读 `reason`(7.146.0 起;码是旧的、`reason` 键是新的 —— 其余 `limit.rate_exceeded` 的产地不带它)。词表属主 = `http/run-concurrency-cap.ts` 的
|
|
1114
|
+
* `RATE_EXCEEDED_REASONS`(唯一铸点 `runConcurrencyRefusalOf`);`satisfies Record<RateExceededReason, …>`。`run_concurrency_cap` = 本副本在飞 run 已到并发帽
|
|
1115
|
+
* (`RUN_MAX_CONCURRENT` / `RUN_MAX_CONCURRENT_PER_PRINCIPAL`;新提交的四个口,幂等重放之后),体另带 `retryAfterSec: 5`。
|
|
1116
|
+
*/
|
|
1117
|
+
readonly rateExceededReason: {
|
|
1118
|
+
readonly at: "429 limit.rate_exceeded reason(在飞 run 并发帽;其余产地不带 reason)";
|
|
1119
|
+
readonly members: {
|
|
1120
|
+
run_concurrency_cap: {
|
|
1121
|
+
attr: string;
|
|
1122
|
+
since: string;
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
/**
|
|
1127
|
+
* 400 `request.env_credential_refused`(7.146.0 起;请求 `settings.env` 里有凭据)拒体 `entries[]` 每一条的 `match`:这一条为什么被判成凭据(体另带 `field: "settings.env"`、`entries[].key`;值从不进体)。
|
|
1128
|
+
* 词表属主 = `task-settings.ts` 的 `SETTINGS_ENV_CREDENTIAL_MATCHES`(唯一铸点 `settingsEnvCredentialIssue`;受理门 / `resolveSpec` 两腿 / 存体续跑预判同调);`satisfies Record<SettingsEnvCredentialMatch, …>`。
|
|
1129
|
+
* `name` = 名字是本引擎的凭据变量(配置目录 `secret` 行 ∪ 模型条目 `apiKeyEnv`,比名不分大小写);`value_shape` = 值是秘密形;两者都中报 `name`。续跑口 409 `resume_blocked_by_policy`(`blockedBy` = 本码)随体同一组机读位。
|
|
1130
|
+
* 行为钉:`test/settings-env-credential.test.ts`。
|
|
1131
|
+
*/
|
|
1132
|
+
readonly settingsEnvCredentialMatch: {
|
|
1133
|
+
readonly at: "400 request.env_credential_refused entries[].match(settings.env 里被判成凭据的条目;续跑口 409 resume_blocked_by_policy 同一组机读位)";
|
|
1134
|
+
readonly members: {
|
|
1135
|
+
name: {
|
|
1136
|
+
attr: string;
|
|
1137
|
+
since: string;
|
|
1138
|
+
};
|
|
1139
|
+
value_shape: {
|
|
1140
|
+
attr: string;
|
|
1141
|
+
since: string;
|
|
1142
|
+
};
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
942
1145
|
/**
|
|
943
1146
|
* `inheritEnv` 的三只 400 `request.field_invalid`(值形 / 车道 / 无会话)拒体的 `reason`(体另带 `field: "inheritEnv"`;一种拒因一个词)。词表属主 = `request-value-closure.ts` 的
|
|
944
1147
|
* `INHERIT_ENV_REFUSAL_REASONS`(唯一铸点 `inheritEnvFacts`;受理门与 resolveSpec 两腿只经它出机读位);`satisfies Record<InheritEnvRefusalReason, …>`。
|
|
@@ -1328,7 +1531,8 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1328
1531
|
/**
|
|
1329
1532
|
* 运维队列行与订阅流 `pending` 帧(停驻门族)上的 `rowVerdict`(7.144.0;core 7.62.0 [ref]):这一行**本引擎续不续得了** —— core 判官 `judgeCheckpointRow` 对这一行字节的判决,
|
|
1330
1533
|
* 与助手收件箱行的同名位、续跑第一级的拒同一个读者、同一答(逐字投,本服务不重算)。`satisfies Record<Extract<keyof PendingCheckpoint, "rowVerdict">, …>`:行形改名 / 删键而本表没跟 ⇒ tsc 红。
|
|
1331
|
-
* 在场律 `present-iff`:LOCAL 后端恒在;SQL
|
|
1534
|
+
* 在场律 `present-iff`:LOCAL 后端恒在;SQL 后端只在「两次读之间行离开待决」或「两次读之间行的字节变了」时缺席 —— 缺席不是 `ok`。
|
|
1535
|
+
* 字节读不成一只检查点的行(7.145.0 起)判官照答(恒 `damaged`,计数)、在场 —— 7.144.x 这一形缺席。
|
|
1332
1536
|
*/
|
|
1333
1537
|
readonly approvalQueueRowVerdict: {
|
|
1334
1538
|
readonly at: "GET /v1/approvals pending[] 行 · GET /v1/approvals/stream pending 帧(停驻门族)的 rowVerdict";
|
|
@@ -1339,6 +1543,21 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1339
1543
|
};
|
|
1340
1544
|
};
|
|
1341
1545
|
};
|
|
1546
|
+
/**
|
|
1547
|
+
* 运维队列停驻行(`kind: "checkpoint"`)与订阅流 `pending` 帧上的 `agent` —— 行的会话(`sessionId`)在委派树里的位置 `{ id?, parentSessionId?, rootSessionId? }`,
|
|
1548
|
+
* 与 `GET /v1/sessions/:sessionId` 体顶层的同名键同一只读口(`session-agent.ts` 的 `readSessionAgent`)、同一只投影,逐值同答。
|
|
1549
|
+
* 在场律 `present-iff`:这一次列表读到行的会话是一只 placed 委派子代(会话行上存着引擎写下的委派元组);宿主会话、同步委派的子代、`fork` 型后台子代、
|
|
1550
|
+
* 不存元组的店、那一读没读成(F 类 `server.approvals.queue-row-agent-unreadable`)⇒ 缺席 —— 缺席读作「这台 server 没有说」。`satisfies` 绑行形:删键 / 改名而本表没跟 ⇒ tsc 红。
|
|
1551
|
+
*/
|
|
1552
|
+
readonly approvalQueueRowAgent: {
|
|
1553
|
+
readonly at: "GET /v1/approvals pending[] 行 · GET /v1/approvals/stream pending 帧(停驻门族)的 agent";
|
|
1554
|
+
readonly members: {
|
|
1555
|
+
agent: {
|
|
1556
|
+
attr: string;
|
|
1557
|
+
since: string;
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1342
1561
|
/**
|
|
1343
1562
|
* 运维审批队列 `pending[]` 的**行族闭集**(7.143.0):每一行 / 每一帧(`pending` 与 `resolved`)恒带 `kind`,消费方先按它分支。
|
|
1344
1563
|
* `satisfies Record<ApprovalQueueKind, …>`(闭集属主 = `approval-queue-kind.ts` 的 `APPROVAL_QUEUE_KINDS`;加一族而本表没跟 ⇒ tsc 红)。
|
|
@@ -1653,6 +1872,10 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1653
1872
|
readonly attr: 409;
|
|
1654
1873
|
readonly since: "7.144.0";
|
|
1655
1874
|
};
|
|
1875
|
+
readonly "POST /v1/sessions/:id/sync/import#stamped_archive(DB_BACKEND=local;\u7B2C\u4E00\u9636\u6BB5\u6309 id \u5206\u7C7B\u51FA fork / stale \u4E14\u6CA1\u5E26\u540C\u610F,\u76EE\u7684\u7AEF\u5B58\u6863\u4ECD\u5E26\u5C5E\u4E3B\u6233;\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)": {
|
|
1876
|
+
readonly attr: 409;
|
|
1877
|
+
readonly since: "7.145.0";
|
|
1878
|
+
};
|
|
1656
1879
|
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)": {
|
|
1657
1880
|
readonly attr: 400;
|
|
1658
1881
|
readonly since: "7.136.0";
|
|
@@ -1881,6 +2104,67 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1881
2104
|
readonly attr: 503;
|
|
1882
2105
|
readonly since: "7.143.0";
|
|
1883
2106
|
};
|
|
2107
|
+
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
|
+
readonly attr: 200;
|
|
2109
|
+
readonly since: "7.145.0";
|
|
2110
|
+
};
|
|
2111
|
+
readonly "POST /v1/rules/cc-import/redeem|POST /v1/rules/local-import/redeem#member_outcome_unknown(\u5151\u4ED8\u8D70\u5B8C\u3001\u5F15\u64CE\u7684\u5B8C\u6574\u6210\u5458\u8868\u91CC\u6709\u4E00\u5458\u7B54 committed unknown:\u5199\u629B / \u8BFB\u56DE\u8BFB\u4E0D\u51FA / \u8BB0 dot \u7684 CAS \u6216 dot \u5206\u914D\u5931\u8D25;\u4E0D\u843D\u5B9A,\u8BA4\u9886\u653E\u56DE;\u4F53 state.rule_import_retry + retryAfterSec;\u540C\u7968\u91CD\u6765\u5373\u91CD\u8D70)": {
|
|
2112
|
+
readonly attr: 503;
|
|
2113
|
+
readonly since: "7.146.0";
|
|
2114
|
+
};
|
|
2115
|
+
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env \u5E26\u51ED\u636E\u6761\u76EE(\u540D\u5B57\u662F\u672C\u5F15\u64CE\u7684\u51ED\u636E\u53D8\u91CF / \u503C\u662F\u79D8\u5BC6\u5F62;\u65B0\u63D0\u4EA4;\u4F53 request.env_credential_refused + field settings.env + entries[{ key, match }],\u503C\u4E0D\u56DE\u663E)": {
|
|
2116
|
+
readonly attr: 400;
|
|
2117
|
+
readonly since: "7.146.0";
|
|
2118
|
+
};
|
|
2119
|
+
readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#sessionId \u662F\u672C\u8FDB\u7A0B\u5220\u8FC7\u7684\u4F1A\u8BDD id\u3001\u6839\u4F1A\u8BDD\u884C\u4E0A\u7684\u4F4F\u5BA2\u4E0D\u662F\u5220\u524D\u5C5E\u4E3B(\u65B0\u63D0\u4EA4;\u6388\u6743\u53E3\u767B\u8BB0\u4E4B\u540E\u3001\u6267\u884C\u4E0A\u4E0B\u6587\u89E3\u6790\u5668\u6B65 \u2460;\u4F53 conflict.session_id_retired,\u4E0D\u56DE\u663E id / \u5C5E\u4E3B)": {
|
|
2120
|
+
readonly attr: 409;
|
|
2121
|
+
readonly since: "7.146.0";
|
|
2122
|
+
};
|
|
2123
|
+
readonly "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#\u6839\u4F1A\u8BDD id \u662F\u672C\u8FDB\u7A0B\u5220\u8FC7\u7684\u4F1A\u8BDD id\u3001\u884C\u4E0A\u7684\u4F4F\u5BA2\u4E0D\u662F\u5220\u524D\u5C5E\u4E3B(\u7EED\u8DD1\u5BB6\u65CF / \u505C\u9A7B\u8D4E\u56DE / \u5DE5\u4F5C\u6D41\u51B3\u65AD\u540E\u7684\u5BBF\u4E3B\u65B0\u8F6E;\u8BA4\u9886\u4E4B\u524D,\u5361\u4ECD\u5F85\u51B3;\u4F53 resume_blocked_by_policy + blockedBy conflict.session_id_retired + retriable)": {
|
|
2124
|
+
readonly attr: 409;
|
|
2125
|
+
readonly since: "7.146.0";
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
/**
|
|
2130
|
+
* `POST /v1/rules/cc-import/redeem` 200 回执的顶层键(<键> → 在场律)。规则导入两只 redeem 口同一张回执、同一个铸点(`http/routes/rules.ts` 的 `sendImportReceipt`),
|
|
2131
|
+
* 键集属主 = `rules-consent.ts` 的 `ImportOutcome`(`satisfies` 穷举:回执加一键而本表没跟 / 登的键不在回执里 ⇒ tsc 红)。`POST /v1/rules/local-import/redeem` 早于本表就是这一形,
|
|
2132
|
+
* 本表的 `since` 记的是 cc-import 口换上这一形的版本;cc-import 口此前那一形的唯一顶层键 `result` 记在 `retired`。钉 test/rules-import-receipt.test.ts(两口逐字节同形)、
|
|
2133
|
+
* test/permission-rules-lane.test.ts(cc-import 200 体全等)。
|
|
2134
|
+
*/
|
|
2135
|
+
readonly ruleImportReceiptKey: {
|
|
2136
|
+
readonly at: "POST /v1/rules/cc-import/redeem 200 回执顶层键(<键> → 在场律;与 POST /v1/rules/local-import/redeem 同形)";
|
|
2137
|
+
readonly members: {
|
|
2138
|
+
members: {
|
|
2139
|
+
attr: string;
|
|
2140
|
+
since: string;
|
|
2141
|
+
};
|
|
2142
|
+
rev: {
|
|
2143
|
+
attr: string;
|
|
2144
|
+
since: string;
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
/** 同上回执 `members[]` 一行的键(<键> → 在场律)。键集属主 = `ImportOutcomeMember`(`satisfies` 穷举),唯一投影 = `rules-consent.ts` 的 `buildImportOutcomeMembers`(两口同调)。 */
|
|
2149
|
+
readonly ruleImportReceiptMemberKey: {
|
|
2150
|
+
readonly at: "POST /v1/rules/cc-import/redeem 200 回执 members[] 行键(<键> → 在场律;与 POST /v1/rules/local-import/redeem 同形)";
|
|
2151
|
+
readonly members: {
|
|
2152
|
+
key: {
|
|
2153
|
+
attr: string;
|
|
2154
|
+
since: string;
|
|
2155
|
+
};
|
|
2156
|
+
outcome: {
|
|
2157
|
+
attr: string;
|
|
2158
|
+
since: string;
|
|
2159
|
+
};
|
|
2160
|
+
reason: {
|
|
2161
|
+
attr: string;
|
|
2162
|
+
since: string;
|
|
2163
|
+
};
|
|
2164
|
+
detail: {
|
|
2165
|
+
attr: string;
|
|
2166
|
+
since: string;
|
|
2167
|
+
};
|
|
1884
2168
|
};
|
|
1885
2169
|
};
|
|
1886
2170
|
/**
|
|
@@ -1911,6 +2195,7 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1911
2195
|
/**
|
|
1912
2196
|
* `GET /v1/sessions/:id/memory-status` 200 体上本版新出现的顶层键:`memorySync` —— 本部署记忆同步腿的停驻事实(部署事实,不随会话、不随层座 `?scope=`;
|
|
1913
2197
|
* 唯一读口 = 同步执行器的 `parked()`)。形 `{ parked: Array<{ scope, wayOut }> }`,`parked: []` = 在同步、没有层停驻;游标盘路径不上 wire。
|
|
2198
|
+
* `writeHome` / `planes`(7.146.0)—— 会话的记忆写家:引擎给的 canonical 绝对目录(worker 文件系统路径),字节原样;`writeHome` 是店绑定的键(带层座 = 那只店的引擎答案,顶层原样;不带层座 = 引擎在店之间择好的会话级一值,顶层原样;逐店明细 `planes[]` 原样透出每行的 `writeHome`);在场律 = 引擎答了 ∧ 部署形表行 `callerOwnsWorkerDisk`(与能力位 `projectContext` 同一行)。
|
|
1914
2199
|
*/
|
|
1915
2200
|
readonly sessionMemoryStatusKey: {
|
|
1916
2201
|
readonly at: "GET /v1/sessions/:id/memory-status 200 体顶层键(<键> → 在场律)";
|
|
@@ -1919,6 +2204,14 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
1919
2204
|
readonly attr: "present-iff this deployment runs a memory sync leg;{parked:[{scope,wayOut}]} in sync order;parked:[] ⇔ no layer parked;deployment fact (same for every session, ?scope= not applied)";
|
|
1920
2205
|
readonly since: "7.141.0";
|
|
1921
2206
|
};
|
|
2207
|
+
readonly writeHome: {
|
|
2208
|
+
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)";
|
|
2209
|
+
readonly since: "7.146.0";
|
|
2210
|
+
};
|
|
2211
|
+
readonly planes: {
|
|
2212
|
+
readonly attr: "present-iff no ?scope= ∧ the single-user host lane (same predicate as writeHome);[{plane:\"project\"|\"personal\", writeHome?}] one row per store in the engine's store order, each row the engine's own answer for that store (writeHome verbatim, absent when that store names none);the rows' other keys are not on the wire";
|
|
2213
|
+
readonly since: "7.146.0";
|
|
2214
|
+
};
|
|
1922
2215
|
};
|
|
1923
2216
|
};
|
|
1924
2217
|
/** 停驻层出路 `memorySync.parked[].wayOut` 的闭集(同一只词也在运维行 `memory_sync_layer_parked` 的 `wayOut` 上)。`delete_cursor` = 删掉这一层的同步游标文件,下一轮从空基线重收敛(不推删除)。 */
|
|
@@ -2006,6 +2299,87 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2006
2299
|
};
|
|
2007
2300
|
};
|
|
2008
2301
|
};
|
|
2302
|
+
/**
|
|
2303
|
+
* 收编批量导入 `POST /v1/adoption/:id/sessions` 逐元素结局的 `outcome`(三词闭集;属主 = `adoption/wire.ts` 的 `AdoptionImportResult` 判别联合 ——
|
|
2304
|
+
* 联合加一臂而本表没跟 / 多一个词 ⇒ tsc 红)。
|
|
2305
|
+
*/
|
|
2306
|
+
readonly adoptionImportOutcome: {
|
|
2307
|
+
readonly at: "POST /v1/adoption/:id/sessions 200 results[].outcome";
|
|
2308
|
+
readonly members: {
|
|
2309
|
+
imported: {
|
|
2310
|
+
attr: string;
|
|
2311
|
+
since: string;
|
|
2312
|
+
};
|
|
2313
|
+
already_imported: {
|
|
2314
|
+
attr: string;
|
|
2315
|
+
since: string;
|
|
2316
|
+
};
|
|
2317
|
+
rejected: {
|
|
2318
|
+
attr: string;
|
|
2319
|
+
since: string;
|
|
2320
|
+
};
|
|
2321
|
+
};
|
|
2322
|
+
};
|
|
2323
|
+
/** 同口 `outcome: "rejected"` 的 `code`(三词闭集;属主 = `adoption/wire.ts` 的 `ADOPTION_IMPORT_REJECT_CODES`,与结局联合的拒臂两向编译钉)。属性 = 这一臂多带的键。 */
|
|
2324
|
+
readonly adoptionImportRejectCode: {
|
|
2325
|
+
readonly at: "POST /v1/adoption/:id/sessions 200 results[].code(present-iff outcome rejected)";
|
|
2326
|
+
readonly members: {
|
|
2327
|
+
too_large: {
|
|
2328
|
+
attr: string;
|
|
2329
|
+
since: string;
|
|
2330
|
+
};
|
|
2331
|
+
invalid_envelope: {
|
|
2332
|
+
attr: string;
|
|
2333
|
+
since: string;
|
|
2334
|
+
};
|
|
2335
|
+
duplicate_client_session_id: {
|
|
2336
|
+
attr: string;
|
|
2337
|
+
since: string;
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
/** 同口的体与结局键(`<面>#<键>` → 读法 / 在场律)。 */
|
|
2342
|
+
readonly adoptionImportWire: {
|
|
2343
|
+
readonly at: "POST /v1/adoption/:id/sessions(<面>#<键> → 读法 / 在场律)";
|
|
2344
|
+
readonly members: {
|
|
2345
|
+
readonly "body#sessions": {
|
|
2346
|
+
readonly attr: "required;the only key;array of envelopes;length > adoptionImport.maxSessions ⇒ 400 request.field_invalid (field sessions, reason over_cap)";
|
|
2347
|
+
readonly since: "7.146.0";
|
|
2348
|
+
};
|
|
2349
|
+
readonly "body.sessions[]#clientSessionId": {
|
|
2350
|
+
readonly attr: "required;string 1-255 chars;idempotency key with the adoption id";
|
|
2351
|
+
readonly since: "7.146.0";
|
|
2352
|
+
};
|
|
2353
|
+
readonly "body.sessions[]#entries": {
|
|
2354
|
+
readonly attr: "required;array of session entries oldest first;the only other key (any extra key ⇒ that element invalid_envelope)";
|
|
2355
|
+
readonly since: "7.146.0";
|
|
2356
|
+
};
|
|
2357
|
+
readonly "200#results": {
|
|
2358
|
+
readonly attr: "always;one per element, same order";
|
|
2359
|
+
readonly since: "7.146.0";
|
|
2360
|
+
};
|
|
2361
|
+
readonly "200.results[]#clientSessionId": {
|
|
2362
|
+
readonly attr: "always except invalid_envelope on an unreadable envelope";
|
|
2363
|
+
readonly since: "7.146.0";
|
|
2364
|
+
};
|
|
2365
|
+
readonly "200.results[]#sessionId": {
|
|
2366
|
+
readonly attr: "present-iff imported | already_imported;the cloud session id derived from (adoptionId, clientSessionId)";
|
|
2367
|
+
readonly since: "7.146.0";
|
|
2368
|
+
};
|
|
2369
|
+
readonly "200.results[]#count": {
|
|
2370
|
+
readonly attr: "present-iff code too_large";
|
|
2371
|
+
readonly since: "7.146.0";
|
|
2372
|
+
};
|
|
2373
|
+
readonly "200.results[]#cap": {
|
|
2374
|
+
readonly attr: "present-iff code too_large";
|
|
2375
|
+
readonly since: "7.146.0";
|
|
2376
|
+
};
|
|
2377
|
+
readonly "200.results[]#detail": {
|
|
2378
|
+
readonly attr: "present-iff code invalid_envelope";
|
|
2379
|
+
readonly since: "7.146.0";
|
|
2380
|
+
};
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2009
2383
|
/** 中心侧同步口(`<面>#<键>` → 读法 / 在场律)。只登本版新出现的(路径版本段、主张、答复游标的化身、化身拒答两键)。 */
|
|
2010
2384
|
readonly centralMemorySyncWire: {
|
|
2011
2385
|
readonly at: "POST /v2/memory/sync/:scope(<面>#<键> → 读法 / 在场律)";
|
|
@@ -2081,6 +2455,14 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2081
2455
|
readonly refusalSentenceForm: {
|
|
2082
2456
|
readonly at: "拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变)";
|
|
2083
2457
|
readonly members: {
|
|
2458
|
+
readonly "401 auth.unauthorized#operator(/metrics* \u00B7 GET /v1/tasks/source-summary)": {
|
|
2459
|
+
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 (…)";
|
|
2460
|
+
readonly since: "7.146.0";
|
|
2461
|
+
};
|
|
2462
|
+
readonly "422 invalid_entries#row_contract(\u4F1A\u8BDD\u540C\u6B65\u63A8\u9001\u7B2C\u4E8C\u9636\u6BB5;\u6536\u7F16\u6279\u91CF\u5BFC\u5165\u540C\u53E5\u8FDB\u9010\u5143\u7D20 detail)": {
|
|
2463
|
+
readonly attr: "malformed entry (id and parentId must be strings of 1-64 characters, type a string of 1-32 characters)";
|
|
2464
|
+
readonly since: "7.146.0";
|
|
2465
|
+
};
|
|
2084
2466
|
readonly "409 decide.row_unrevivable#no_root_anchor": {
|
|
2085
2467
|
readonly attr: "ends: deny it to close the card (the agent then ends as failed)";
|
|
2086
2468
|
readonly since: "7.136.0";
|
|
@@ -2409,6 +2791,14 @@ export declare const SELF_MINTED_WIRE: {
|
|
|
2409
2791
|
readonly attr: "memory";
|
|
2410
2792
|
readonly since: "7.142.0";
|
|
2411
2793
|
};
|
|
2794
|
+
readonly DEVICE_TRUSTED_PROXY_CIDRS: {
|
|
2795
|
+
readonly attr: "orchestration";
|
|
2796
|
+
readonly since: "7.146.0";
|
|
2797
|
+
};
|
|
2798
|
+
readonly SERVICE_TOKEN_ACTS_FOR_DEPLOYMENT: {
|
|
2799
|
+
readonly attr: "auth";
|
|
2800
|
+
readonly since: "7.146.0";
|
|
2801
|
+
};
|
|
2412
2802
|
};
|
|
2413
2803
|
};
|
|
2414
2804
|
/**
|