@open-everywhere/core 0.1.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/LICENSE +201 -0
- package/NOTICE +21 -0
- package/README.md +67 -0
- package/agent/access/access-referenced-link-sets.ts +23 -0
- package/agent/access/admin-read-venue.ts +159 -0
- package/agent/access/admin-standing.ts +98 -0
- package/agent/access/analytics-scope.ts +84 -0
- package/agent/access/approval-dedupe.ts +144 -0
- package/agent/access/approval-judge.ts +639 -0
- package/agent/access/approval-preview.ts +118 -0
- package/agent/access/approval-scenarios.ts +48 -0
- package/agent/access/approver-chain.ts +779 -0
- package/agent/access/audience-floor.ts +270 -0
- package/agent/access/aws-output.ts +132 -0
- package/agent/access/aws-screen.ts +198 -0
- package/agent/access/background-tasks.ts +364 -0
- package/agent/access/browser-hosts.ts +151 -0
- package/agent/access/browser-toolkit.ts +271 -0
- package/agent/access/bundle.ts +716 -0
- package/agent/access/capabilities.ts +11 -0
- package/agent/access/chat-dm-grant.ts +241 -0
- package/agent/access/chat-write-grant.ts +194 -0
- package/agent/access/config.ts +132 -0
- package/agent/access/connector-content-origin-state.ts +72 -0
- package/agent/access/connector-credentials.ts +449 -0
- package/agent/access/connector-disclosure.ts +253 -0
- package/agent/access/connector-op-gating.ts +224 -0
- package/agent/access/connector-scope.ts +302 -0
- package/agent/access/consequence.ts +1208 -0
- package/agent/access/credential-bindings-codemod.ts +242 -0
- package/agent/access/credential-endpoints.ts +279 -0
- package/agent/access/credential-grant-ask.ts +115 -0
- package/agent/access/credential-grant-broker.ts +359 -0
- package/agent/access/credential-grant-card.ts +521 -0
- package/agent/access/credential-grant-click.ts +246 -0
- package/agent/access/credential-grant-copy.ts +338 -0
- package/agent/access/credential-grant-flow.ts +735 -0
- package/agent/access/credential-grant-key-shape.ts +59 -0
- package/agent/access/credential-grant-notice.ts +219 -0
- package/agent/access/credential-grant-owner.ts +23 -0
- package/agent/access/credential-grant-reach.ts +81 -0
- package/agent/access/credential-grant-resolution.ts +119 -0
- package/agent/access/credential-grant-revoke.ts +95 -0
- package/agent/access/credential-grant-scope.ts +306 -0
- package/agent/access/credential-grant.ts +284 -0
- package/agent/access/credentials.ts +159 -0
- package/agent/access/dated-read.ts +18 -0
- package/agent/access/delegation-flag.ts +12 -0
- package/agent/access/delegation-mount.ts +28 -0
- package/agent/access/delta.ts +386 -0
- package/agent/access/dispatch-origin-signal.ts +133 -0
- package/agent/access/domain-credentials.ts +115 -0
- package/agent/access/egress-denial-log.ts +111 -0
- package/agent/access/egress-denial-poller.ts +239 -0
- package/agent/access/egress-status.ts +195 -0
- package/agent/access/egress.ts +321 -0
- package/agent/access/enforcement.ts +25 -0
- package/agent/access/eve-patch-probe-boot.ts +91 -0
- package/agent/access/eve-patch-probe.ts +276 -0
- package/agent/access/external-policy.ts +209 -0
- package/agent/access/extra-hosts.ts +31 -0
- package/agent/access/grant-borrow-transport-registry.internal.ts +81 -0
- package/agent/access/grant-room-notice-registry.internal.ts +77 -0
- package/agent/access/grant-schema-pin.ts +38 -0
- package/agent/access/grants-codemod.ts +352 -0
- package/agent/access/group-request.ts +76 -0
- package/agent/access/halt-state.ts +24 -0
- package/agent/access/halt.ts +276 -0
- package/agent/access/host-egress.ts +432 -0
- package/agent/access/human-only-invariants-manifest.ts +172 -0
- package/agent/access/ingestion-binding-manifest.ts +263 -0
- package/agent/access/ingestion-route-inventory.generated.ts +58 -0
- package/agent/access/instructions.ts +89 -0
- package/agent/access/invoker-posture-state.ts +25 -0
- package/agent/access/invoker-posture.ts +96 -0
- package/agent/access/job-posture.ts +83 -0
- package/agent/access/job-session-state.ts +58 -0
- package/agent/access/lean-seat-state.ts +45 -0
- package/agent/access/lean-seat.ts +83 -0
- package/agent/access/lint.ts +638 -0
- package/agent/access/live-delegated-tasks.ts +95 -0
- package/agent/access/loop-breaker.ts +88 -0
- package/agent/access/mcp-call-fence.ts +179 -0
- package/agent/access/member-grant.ts +45 -0
- package/agent/access/member-plane.ts +212 -0
- package/agent/access/native-admin.ts +35 -0
- package/agent/access/native-delegation-state.ts +40 -0
- package/agent/access/network-access.ts +132 -0
- package/agent/access/nullable-optional-fields.ts +184 -0
- package/agent/access/overlay-module.ts +70 -0
- package/agent/access/own-account-gate-manifest.ts +134 -0
- package/agent/access/pane-venue.ts +238 -0
- package/agent/access/pending-delegation-signal.ts +282 -0
- package/agent/access/permission-evidence.ts +627 -0
- package/agent/access/permission-proposal.ts +362 -0
- package/agent/access/platform.ts +14 -0
- package/agent/access/pre-approval-rules.ts +135 -0
- package/agent/access/principal-gate-manifest.ts +830 -0
- package/agent/access/provider-selection-check.ts +130 -0
- package/agent/access/provider-selection.ts +96 -0
- package/agent/access/read-grant.ts +104 -0
- package/agent/access/repo-capabilities.ts +74 -0
- package/agent/access/request.ts +126 -0
- package/agent/access/requester-identity.ts +305 -0
- package/agent/access/requester-messages.ts +52 -0
- package/agent/access/reserved-hosts.ts +11 -0
- package/agent/access/resolver.ts +604 -0
- package/agent/access/resource-capabilities.ts +103 -0
- package/agent/access/resource-grant-manifest.ts +136 -0
- package/agent/access/resource-grant.ts +163 -0
- package/agent/access/result-cap.ts +34 -0
- package/agent/access/result-reduce-model-arm.ts +94 -0
- package/agent/access/result-reduce.ts +104 -0
- package/agent/access/roles.ts +106 -0
- package/agent/access/scope-key.ts +50 -0
- package/agent/access/seat-read-budget.ts +57 -0
- package/agent/access/self-host-egress.ts +103 -0
- package/agent/access/settlement-dispatch-signal.ts +96 -0
- package/agent/access/skill-taint-envelope.ts +94 -0
- package/agent/access/source-gate-manifest.ts +148 -0
- package/agent/access/source-scoped-mount.ts +27 -0
- package/agent/access/subagent-taint.ts +225 -0
- package/agent/access/surface-work-grant.ts +91 -0
- package/agent/access/taint-enforcement.ts +183 -0
- package/agent/access/taint-signal.ts +297 -0
- package/agent/access/taint-tiers.ts +168 -0
- package/agent/access/task-wake-signal.ts +94 -0
- package/agent/access/tenant-admission.ts +191 -0
- package/agent/access/untrusted-projection.ts +273 -0
- package/agent/access/untrusted.ts +132 -0
- package/agent/access/wake-mapping.ts +38 -0
- package/agent/access/web-fetch-fence.ts +81 -0
- package/agent/access/window-gate-manifest.ts +543 -0
- package/agent/access/window-gated.ts +668 -0
- package/agent/access/window-routing.ts +23 -0
- package/agent/access/work-grant.ts +119 -0
- package/agent/access/work-mount-manifest.ts +203 -0
- package/agent/access/worker-capabilities.ts +379 -0
- package/agent/access/worker-capability-index.generated.ts +189 -0
- package/agent/access/worker-continuation.ts +200 -0
- package/agent/access/worker-seat-state.ts +25 -0
- package/agent/access/worker-seat.ts +54 -0
- package/agent/access/worker-toolset-state.ts +65 -0
- package/agent/adapter-api.ts +1795 -0
- package/agent/analytics/compile.ts +461 -0
- package/agent/analytics/execute.ts +166 -0
- package/agent/analytics/registry.ts +302 -0
- package/agent/approvals/access-request.ts +255 -0
- package/agent/approvals/actions.ts +398 -0
- package/agent/approvals/agent-create.ts +272 -0
- package/agent/approvals/arming-context.ts +26 -0
- package/agent/approvals/card-disclosure.ts +53 -0
- package/agent/approvals/card-signal.ts +151 -0
- package/agent/approvals/card-venue.ts +152 -0
- package/agent/approvals/card.ts +121 -0
- package/agent/approvals/chat-dm.ts +63 -0
- package/agent/approvals/chat-post.ts +60 -0
- package/agent/approvals/clicker-floor.ts +106 -0
- package/agent/approvals/decision-authority.internal.ts +114 -0
- package/agent/approvals/decision-wake.ts +122 -0
- package/agent/approvals/domain-exposure.ts +182 -0
- package/agent/approvals/eve-response-policy.ts +48 -0
- package/agent/approvals/flow.ts +2185 -0
- package/agent/approvals/input-response-floor.ts +104 -0
- package/agent/approvals/judge-contradiction.ts +156 -0
- package/agent/approvals/memory-purge.ts +149 -0
- package/agent/approvals/pr-open.ts +172 -0
- package/agent/approvals/review-surface.ts +7 -0
- package/agent/approvals/routine-cancel.ts +57 -0
- package/agent/approvals/routine-create.ts +213 -0
- package/agent/approvals/routine-lifecycle.ts +206 -0
- package/agent/approvals/routine-permission-offer.ts +131 -0
- package/agent/approvals/routine-permission.ts +214 -0
- package/agent/approvals/routine-policy.ts +174 -0
- package/agent/approvals/scope-label.ts +48 -0
- package/agent/approvals/session-checkpoint.ts +80 -0
- package/agent/approvals/session-grant.ts +173 -0
- package/agent/approvals/skill-create.ts +60 -0
- package/agent/approvals/skill-delete.ts +50 -0
- package/agent/approvals/taint-disclosure.ts +42 -0
- package/agent/approvals/ticket-actions.ts +86 -0
- package/agent/approvals/ticket-create.ts +67 -0
- package/agent/approvals/types.ts +48 -0
- package/agent/approvals/webhook-declare.ts +297 -0
- package/agent/approvals/webhook.ts +205 -0
- package/agent/audit/action-registry.ts +1094 -0
- package/agent/audit/audit.ts +105 -0
- package/agent/audit/chain.ts +568 -0
- package/agent/audit/tool-action.ts +286 -0
- package/agent/audit/window-tool-gate.ts +54 -0
- package/agent/audit/worker-toolset.ts +117 -0
- package/agent/blob/hosting.ts +180 -0
- package/agent/channels/access-request-ledger.ts +139 -0
- package/agent/channels/ambient-skip.ts +102 -0
- package/agent/channels/answered-container-ledger.ts +76 -0
- package/agent/channels/approval-card.ts +454 -0
- package/agent/channels/approval-claim-guard.ts +384 -0
- package/agent/channels/attachments.ts +243 -0
- package/agent/channels/aws-sso-callback.ts +9 -0
- package/agent/channels/backscroll-window.ts +145 -0
- package/agent/channels/cancel-note.ts +127 -0
- package/agent/channels/channel-key.ts +56 -0
- package/agent/channels/channel-read.ts +501 -0
- package/agent/channels/chat-turn-audit.ts +23 -0
- package/agent/channels/closing-prose-drop.ts +53 -0
- package/agent/channels/command-registration.ts +165 -0
- package/agent/channels/context-render.ts +206 -0
- package/agent/channels/control-mcp.ts +44 -0
- package/agent/channels/control-read.ts +37 -0
- package/agent/channels/credential-intake-page.ts +12 -0
- package/agent/channels/delegated-provenance.ts +506 -0
- package/agent/channels/dm-audience.ts +346 -0
- package/agent/channels/dm-seat.ts +138 -0
- package/agent/channels/domain-fingerprint.ts +90 -0
- package/agent/channels/egress-spoof.ts +35 -0
- package/agent/channels/engaged-wake.ts +158 -0
- package/agent/channels/engagement.ts +254 -0
- package/agent/channels/entity-actions.ts +186 -0
- package/agent/channels/front-queue.ts +78 -0
- package/agent/channels/generation-retirement.ts +557 -0
- package/agent/channels/halt-per-wake.ts +166 -0
- package/agent/channels/memory-claim-guard.ts +425 -0
- package/agent/channels/name-drop-wake-audit.ts +162 -0
- package/agent/channels/native-wake-retry.ts +62 -0
- package/agent/channels/no-reply-signal.ts +49 -0
- package/agent/channels/normalized-wake.ts +285 -0
- package/agent/channels/oe-oauth-callback.ts +13 -0
- package/agent/channels/own-post-ledger.ts +76 -0
- package/agent/channels/platform-failure.ts +45 -0
- package/agent/channels/policy-pages.ts +15 -0
- package/agent/channels/post-arms.ts +321 -0
- package/agent/channels/proactive-dm-manifest.ts +113 -0
- package/agent/channels/propose-scope.ts +90 -0
- package/agent/channels/question-bridge.ts +594 -0
- package/agent/channels/rate-limit-retry.ts +355 -0
- package/agent/channels/react-signal.ts +26 -0
- package/agent/channels/reaction-ingest.ts +221 -0
- package/agent/channels/read-author-trust.ts +71 -0
- package/agent/channels/read-reach.ts +339 -0
- package/agent/channels/read-scope-audit.ts +127 -0
- package/agent/channels/read-scope-error.ts +5 -0
- package/agent/channels/read-spool.ts +131 -0
- package/agent/channels/reply-edit.ts +208 -0
- package/agent/channels/reply-fold.ts +517 -0
- package/agent/channels/reply-freshness.ts +253 -0
- package/agent/channels/reply-post.ts +502 -0
- package/agent/channels/reply-provenance.ts +804 -0
- package/agent/channels/reply-signal.ts +723 -0
- package/agent/channels/request-claim-guard.ts +532 -0
- package/agent/channels/runtime-code-fingerprint.generated.ts +10 -0
- package/agent/channels/runtime-rotation.ts +224 -0
- package/agent/channels/seat-admission.ts +103 -0
- package/agent/channels/seat-catch-up.ts +482 -0
- package/agent/channels/self-dispatch.ts +349 -0
- package/agent/channels/session-park.ts +252 -0
- package/agent/channels/session-resume.ts +36 -0
- package/agent/channels/session-tail-record.ts +172 -0
- package/agent/channels/session-tail.ts +140 -0
- package/agent/channels/slack-bridge.ts +125 -0
- package/agent/channels/stand-down-silence.ts +110 -0
- package/agent/channels/standing-authority.ts +237 -0
- package/agent/channels/stranded-seat.ts +155 -0
- package/agent/channels/supervisor-complete.ts +141 -0
- package/agent/channels/surface-message-ops.ts +217 -0
- package/agent/channels/task-wake.ts +528 -0
- package/agent/channels/teams-bridge.ts +85 -0
- package/agent/channels/test-wake.ts +12 -0
- package/agent/channels/thread-ownership.ts +70 -0
- package/agent/channels/thread-seat-state.ts +90 -0
- package/agent/channels/ticket-create.ts +171 -0
- package/agent/channels/transcript-relay.ts +9 -0
- package/agent/channels/turn-cancel.ts +431 -0
- package/agent/channels/turn-delivery.ts +484 -0
- package/agent/channels/turn-registry.ts +117 -0
- package/agent/channels/turn-terminal-actions.ts +134 -0
- package/agent/channels/unified-redrive.ts +215 -0
- package/agent/channels/unified-reply.ts +300 -0
- package/agent/channels/unified-supervisor.ts +193 -0
- package/agent/channels/unified-window.ts +1075 -0
- package/agent/channels/unified.ts +1575 -0
- package/agent/channels/wake-accounting.ts +121 -0
- package/agent/channels/wake-arm.ts +244 -0
- package/agent/channels/wake-container.ts +50 -0
- package/agent/channels/wake-envelope.ts +632 -0
- package/agent/channels/wake-origin-codec.ts +96 -0
- package/agent/channels/wake-origin-codecs.ts +4 -0
- package/agent/channels/wake-timing.ts +401 -0
- package/agent/channels/webhook-reveal-page.ts +12 -0
- package/agent/channels/webhooks.ts +216 -0
- package/agent/channels/window-key.ts +439 -0
- package/agent/channels/window-sources.ts +88 -0
- package/agent/channels/work-destinations.ts +48 -0
- package/agent/channels/work-registry.ts +26 -0
- package/agent/channels/work-search.ts +92 -0
- package/agent/commands/core.ts +737 -0
- package/agent/commands/rate.ts +173 -0
- package/agent/connections/auth-retry-memo.ts +115 -0
- package/agent/connections/aws-exec.ts +52 -0
- package/agent/connections/aws-identity.ts +297 -0
- package/agent/connections/aws-sso-callback.ts +103 -0
- package/agent/connections/aws-sso-identity-binding.ts +115 -0
- package/agent/connections/aws-sso-link.ts +40 -0
- package/agent/connections/connector-auth.ts +984 -0
- package/agent/connections/connector-card.ts +447 -0
- package/agent/connections/connector-flags.ts +44 -0
- package/agent/connections/connector-offer.ts +241 -0
- package/agent/connections/connector-transport.ts +131 -0
- package/agent/connections/consent-resume.ts +205 -0
- package/agent/connections/grant-mcp-borrow.ts +334 -0
- package/agent/connections/grant-mcp-transport.ts +64 -0
- package/agent/connections/notion.ts +42 -0
- package/agent/connections/oe-oauth-callback.ts +207 -0
- package/agent/connections/own-account-ask.ts +302 -0
- package/agent/connections/own-account-carriage.ts +99 -0
- package/agent/connections/own-account-gate.ts +361 -0
- package/agent/connections/own-account-vendors.ts +117 -0
- package/agent/connections/user-auth-flow.ts +102 -0
- package/agent/contributions.ts +197 -0
- package/agent/control/auth.ts +663 -0
- package/agent/control/capture-window-read.ts +382 -0
- package/agent/control/delivery-history.ts +558 -0
- package/agent/control/http.ts +169 -0
- package/agent/control/mcp-route.ts +105 -0
- package/agent/control/oauth-clients.ts +278 -0
- package/agent/control/oauth-resource.ts +200 -0
- package/agent/control/oauth-route.ts +397 -0
- package/agent/control/oauth-tokens.ts +222 -0
- package/agent/control/read-route.ts +841 -0
- package/agent/control/server.ts +540 -0
- package/agent/control/test-route.ts +527 -0
- package/agent/control/transcript-export.ts +197 -0
- package/agent/control/transcript-relay.ts +381 -0
- package/agent/control/transcript-render.ts +164 -0
- package/agent/control/views.ts +1289 -0
- package/agent/control/writes.ts +1431 -0
- package/agent/credentials/binding-pr.ts +247 -0
- package/agent/credentials/config-pr-github.ts +197 -0
- package/agent/credentials/config-pr.ts +180 -0
- package/agent/credentials/db-broker.ts +270 -0
- package/agent/credentials/home.ts +83 -0
- package/agent/credentials/intake-page.ts +302 -0
- package/agent/credentials/intake.ts +550 -0
- package/agent/credentials/kv-vault.ts +180 -0
- package/agent/credentials/operator-secrets.ts +396 -0
- package/agent/credentials/page-chrome.ts +59 -0
- package/agent/credentials/page-token.ts +219 -0
- package/agent/credentials/purge.ts +113 -0
- package/agent/credentials/ref.ts +151 -0
- package/agent/credentials/reserved-refs.ts +76 -0
- package/agent/credentials/self-secrets.ts +165 -0
- package/agent/credentials/warm.ts +209 -0
- package/agent/docs/approver-policy.ts +234 -0
- package/agent/docs/capability-map.ts +180 -0
- package/agent/docs/counted-claims.ts +433 -0
- package/agent/docs/registry.ts +184 -0
- package/agent/docs/source-map.ts +174 -0
- package/agent/hooks/approval-raised.ts +37 -0
- package/agent/hooks/approval-settlement.ts +109 -0
- package/agent/hooks/binding-bridge.ts +77 -0
- package/agent/hooks/connector-audit.ts +111 -0
- package/agent/hooks/egress.ts +694 -0
- package/agent/hooks/eve-patch-gate.ts +52 -0
- package/agent/hooks/fire-carriage.ts +44 -0
- package/agent/hooks/fire-toolset.ts +306 -0
- package/agent/hooks/job-posture.ts +82 -0
- package/agent/hooks/lean-seat.ts +233 -0
- package/agent/hooks/learn.ts +199 -0
- package/agent/hooks/link-claim.ts +269 -0
- package/agent/hooks/log-flush.ts +32 -0
- package/agent/hooks/loop-breaker.ts +17 -0
- package/agent/hooks/memory.ts +1250 -0
- package/agent/hooks/native-input-audit.ts +41 -0
- package/agent/hooks/own-account-ask.ts +172 -0
- package/agent/hooks/requester-identity.ts +30 -0
- package/agent/hooks/requester-messages.ts +55 -0
- package/agent/hooks/routine-outcome.ts +252 -0
- package/agent/hooks/routine-silence.ts +38 -0
- package/agent/hooks/session-park.ts +48 -0
- package/agent/hooks/settlement-flush.ts +173 -0
- package/agent/hooks/spawn-taint.ts +1312 -0
- package/agent/hooks/spend.ts +368 -0
- package/agent/hooks/stall-guard.ts +22 -0
- package/agent/hooks/telemetry.ts +90 -0
- package/agent/hooks/turn-anchor.ts +682 -0
- package/agent/hooks/turn-tally.ts +98 -0
- package/agent/hooks/wake-accounting-turn.ts +96 -0
- package/agent/hooks/wake-turn-start.ts +44 -0
- package/agent/hooks/window-routing.ts +51 -0
- package/agent/identity/account-directory.ts +138 -0
- package/agent/identity/account-display-name.ts +178 -0
- package/agent/identity/author-trust.ts +297 -0
- package/agent/identity/binding-bridge.ts +88 -0
- package/agent/identity/binding.ts +1308 -0
- package/agent/identity/bot-display-name.ts +50 -0
- package/agent/identity/bot-name.ts +79 -0
- package/agent/identity/capabilities.ts +79 -0
- package/agent/identity/delegated-binding.ts +130 -0
- package/agent/identity/deployment-identity.ts +105 -0
- package/agent/identity/directory-sync.ts +777 -0
- package/agent/identity/directory.ts +89 -0
- package/agent/identity/display-title.ts +19 -0
- package/agent/identity/frozen-surface-binding.internal.ts +83 -0
- package/agent/identity/group-sync.ts +169 -0
- package/agent/identity/groups-codemod.ts +142 -0
- package/agent/identity/groups-delivery.ts +156 -0
- package/agent/identity/groups.ts +174 -0
- package/agent/identity/link-challenge.ts +147 -0
- package/agent/identity/link-consent.ts +216 -0
- package/agent/identity/link-flow.ts +380 -0
- package/agent/identity/link-initiator.ts +27 -0
- package/agent/identity/link-resolve.ts +227 -0
- package/agent/identity/link-set-ref.ts +33 -0
- package/agent/identity/link-store.ts +889 -0
- package/agent/identity/link-tenant-backfill.ts +79 -0
- package/agent/identity/link-tenant.ts +54 -0
- package/agent/identity/oauth-vault-share.ts +40 -0
- package/agent/identity/platform.ts +48 -0
- package/agent/identity/principal-key-rules.ts +113 -0
- package/agent/identity/principal-key.ts +210 -0
- package/agent/identity/principals.ts +354 -0
- package/agent/identity/surface-key-grammar.ts +142 -0
- package/agent/identity/surface-parity.ts +427 -0
- package/agent/identity/trust-preflight.ts +271 -0
- package/agent/identity/trust.ts +433 -0
- package/agent/identity/wake-trust.ts +217 -0
- package/agent/instructions/access.ts +1239 -0
- package/agent/instructions/seat-prompt.ts +1286 -0
- package/agent/lib/process-registry.ts +52 -0
- package/agent/memory/agents-codemod.ts +443 -0
- package/agent/memory/connector-memory.ts +137 -0
- package/agent/memory/domain.ts +1276 -0
- package/agent/memory/dream/candidates.ts +187 -0
- package/agent/memory/dream/correction.ts +133 -0
- package/agent/memory/dream/judge.ts +174 -0
- package/agent/memory/dream/learn.ts +299 -0
- package/agent/memory/dream/mode3-cluster.ts +151 -0
- package/agent/memory/dream/mode3-last-mile.ts +365 -0
- package/agent/memory/dream/mode3.ts +311 -0
- package/agent/memory/dream/ops.ts +321 -0
- package/agent/memory/dream/proposal.ts +83 -0
- package/agent/memory/dream/recurrence.ts +132 -0
- package/agent/memory/dream/salience.ts +24 -0
- package/agent/memory/dream/skill-proposal-pr.ts +323 -0
- package/agent/memory/dream/supersede-apply.ts +94 -0
- package/agent/memory/dream/tidy.ts +162 -0
- package/agent/memory/graph.ts +178 -0
- package/agent/memory/host-owned-files.ts +3 -0
- package/agent/memory/layout.ts +85 -0
- package/agent/memory/listing.ts +199 -0
- package/agent/memory/markdown.ts +211 -0
- package/agent/memory/partition.ts +66 -0
- package/agent/memory/postgres.ts +497 -0
- package/agent/memory/provenance-mark.ts +318 -0
- package/agent/memory/provenance.ts +28 -0
- package/agent/memory/provider.ts +186 -0
- package/agent/memory/purge-redaction.ts +68 -0
- package/agent/memory/readonly.ts +57 -0
- package/agent/memory/resolve.ts +181 -0
- package/agent/memory/root-fence.ts +54 -0
- package/agent/memory/sandbox-sync.ts +84 -0
- package/agent/memory/selection.ts +120 -0
- package/agent/memory/silo.ts +71 -0
- package/agent/memory/sqlite.ts +206 -0
- package/agent/memory/store.ts +162 -0
- package/agent/memory/sync-timing.ts +223 -0
- package/agent/memory/wake-delta.ts +239 -0
- package/agent/memory/write-evidence.ts +150 -0
- package/agent/memory/write-fence.ts +145 -0
- package/agent/memory/write-intent.ts +205 -0
- package/agent/memory/write-road.ts +159 -0
- package/agent/model/ab-test.ts +374 -0
- package/agent/model/call-capture.ts +414 -0
- package/agent/model/default-model.ts +63 -0
- package/agent/model/model-stamp.ts +162 -0
- package/agent/model/policy.ts +378 -0
- package/agent/model/routing.ts +834 -0
- package/agent/model/step-boundary.ts +560 -0
- package/agent/model/stream-drop-retry.ts +334 -0
- package/agent/model/turn-closeout.ts +299 -0
- package/agent/model/turn-state.ts +461 -0
- package/agent/model/vision.ts +112 -0
- package/agent/observability/ship.ts +394 -0
- package/agent/observability/telemetry.ts +819 -0
- package/agent/observability/turn-clock.ts +96 -0
- package/agent/onboarding/onboarding.ts +98 -0
- package/agent/operational/credential-grant-rows.ts +944 -0
- package/agent/operational/pglite-client.ts +282 -0
- package/agent/operational/post-once.ts +146 -0
- package/agent/operational/postgres.ts +5030 -0
- package/agent/operational/provider.ts +190 -0
- package/agent/operational/sqlite.ts +4007 -0
- package/agent/operational/store.ts +2346 -0
- package/agent/ops/census.ts +1076 -0
- package/agent/ops/probes.ts +69 -0
- package/agent/ops/quickstart.ts +296 -0
- package/agent/ops/server.ts +485 -0
- package/agent/ops/surface-manifest.ts +111 -0
- package/agent/ops/two-role.ts +75 -0
- package/agent/pages/policy-pages.ts +79 -0
- package/agent/plugins/extract.ts +381 -0
- package/agent/plugins/parse.ts +122 -0
- package/agent/plugins/types.ts +147 -0
- package/agent/publish/eve-patch-pack.ts +461 -0
- package/agent/review/blast-radius.ts +282 -0
- package/agent/review/config-facts.ts +200 -0
- package/agent/review/facts-artifact.ts +377 -0
- package/agent/review/facts-cloud-status.ts +288 -0
- package/agent/review/pr-walkthrough.ts +772 -0
- package/agent/review/zip.ts +154 -0
- package/agent/roles/role.ts +228 -0
- package/agent/routines/bound.ts +262 -0
- package/agent/routines/check-in.ts +54 -0
- package/agent/routines/collector.ts +497 -0
- package/agent/routines/declared-permissions.ts +578 -0
- package/agent/routines/disable-notice.ts +181 -0
- package/agent/routines/entity-read.ts +305 -0
- package/agent/routines/event-authz.ts +268 -0
- package/agent/routines/event-match.ts +200 -0
- package/agent/routines/event-model.ts +744 -0
- package/agent/routines/events.ts +201 -0
- package/agent/routines/fire-audit.ts +823 -0
- package/agent/routines/fire-auth.ts +280 -0
- package/agent/routines/fire-carriage.ts +126 -0
- package/agent/routines/fire-creator.ts +86 -0
- package/agent/routines/fire-disclosure.ts +233 -0
- package/agent/routines/fire-eligibility.ts +280 -0
- package/agent/routines/fire-halt.ts +57 -0
- package/agent/routines/fire-message.ts +76 -0
- package/agent/routines/fire-toolset.ts +179 -0
- package/agent/routines/fire-window.ts +604 -0
- package/agent/routines/follow-ups.ts +173 -0
- package/agent/routines/gate.ts +251 -0
- package/agent/routines/github-entity-read.ts +120 -0
- package/agent/routines/github-fanout.ts +88 -0
- package/agent/routines/github-normalizer.ts +248 -0
- package/agent/routines/ingress.ts +855 -0
- package/agent/routines/job.ts +140 -0
- package/agent/routines/jq-filter.ts +387 -0
- package/agent/routines/lifecycle.ts +248 -0
- package/agent/routines/match-stamp.ts +131 -0
- package/agent/routines/outcome-fold.ts +302 -0
- package/agent/routines/partition.ts +27 -0
- package/agent/routines/permission-card-wait.ts +281 -0
- package/agent/routines/permission-card.ts +496 -0
- package/agent/routines/permission-key.ts +54 -0
- package/agent/routines/permission-review.ts +318 -0
- package/agent/routines/policy.ts +304 -0
- package/agent/routines/pre-fire.ts +133 -0
- package/agent/routines/provider-events.ts +430 -0
- package/agent/routines/report.ts +148 -0
- package/agent/routines/routine.ts +949 -0
- package/agent/routines/schedule.ts +209 -0
- package/agent/routines/scheme-name.ts +96 -0
- package/agent/routines/stall.ts +153 -0
- package/agent/routines/store.ts +100 -0
- package/agent/routines/watch.ts +328 -0
- package/agent/sandbox/backend-select.ts +58 -0
- package/agent/sandbox/vercel-create.ts +211 -0
- package/agent/scaffold/app-root.ts +104 -0
- package/agent/scaffold/roster-config.ts +187 -0
- package/agent/scaffold/roster-fs.ts +202 -0
- package/agent/scaffold/roster-plan.ts +880 -0
- package/agent/scaffold/templates.ts +85 -0
- package/agent/scaffold/tool-roster-read.ts +79 -0
- package/agent/scaffold/tool-roster.ts +214 -0
- package/agent/schedules/directory-sync.ts +37 -0
- package/agent/schedules/dispatch.ts +798 -0
- package/agent/schedules/dream-mode3.ts +311 -0
- package/agent/schedules/routine-dispatch.ts +213 -0
- package/agent/schedules/tidy.ts +321 -0
- package/agent/scm/app.ts +150 -0
- package/agent/scm/broker-audit.ts +107 -0
- package/agent/scm/broker.ts +130 -0
- package/agent/scm/capability-fit.ts +164 -0
- package/agent/scm/config-repo-token.ts +44 -0
- package/agent/scm/config.ts +37 -0
- package/agent/scm/contents.ts +162 -0
- package/agent/scm/git.ts +383 -0
- package/agent/scm/github-acting-identity.ts +127 -0
- package/agent/scm/github-search.ts +144 -0
- package/agent/scm/github-work.ts +44 -0
- package/agent/scm/installations.ts +155 -0
- package/agent/scm/issue-actions.ts +234 -0
- package/agent/scm/mint.ts +299 -0
- package/agent/scm/pr-activity.ts +130 -0
- package/agent/scm/pr-diff.ts +143 -0
- package/agent/scm/pr-feedback.ts +335 -0
- package/agent/scm/pr-status.ts +299 -0
- package/agent/scm/pr-watch.ts +162 -0
- package/agent/scm/pr.ts +114 -0
- package/agent/scm/provider.ts +46 -0
- package/agent/scm/refs.ts +142 -0
- package/agent/scm/repo-skills.ts +212 -0
- package/agent/scm/types.ts +50 -0
- package/agent/scm/write-token.ts +41 -0
- package/agent/settings/settings.ts +1525 -0
- package/agent/skills/domain-skills.ts +206 -0
- package/agent/skills/scoped.ts +172 -0
- package/agent/spend/bypass.ts +133 -0
- package/agent/spend/caps.ts +361 -0
- package/agent/spend/check.ts +164 -0
- package/agent/spend/checkpoint.ts +673 -0
- package/agent/spend/dm-mask.ts +134 -0
- package/agent/spend/ingress-gate.ts +349 -0
- package/agent/spend/pricing.ts +584 -0
- package/agent/spend/reporting.ts +900 -0
- package/agent/spend/sandbox-pricing.ts +53 -0
- package/agent/spend/spend.ts +480 -0
- package/agent/spend/stack-pricing.ts +205 -0
- package/agent/spend/store.ts +263 -0
- package/agent/spend/subagent-runs.ts +166 -0
- package/agent/spend/usage-events.ts +144 -0
- package/agent/stall/bash-hang-guard.ts +326 -0
- package/agent/stall/guard.ts +285 -0
- package/agent/status/status.ts +128 -0
- package/agent/subagents/contracts.ts +147 -0
- package/agent/subagents/declared.ts +201 -0
- package/agent/testing/driver-allowlist.ts +239 -0
- package/agent/tools/add_label.ts +68 -0
- package/agent/tools/add_routine_rule.ts +215 -0
- package/agent/tools/agent_version.ts +46 -0
- package/agent/tools/assign.ts +182 -0
- package/agent/tools/aws.ts +175 -0
- package/agent/tools/browser_tools.ts +22 -0
- package/agent/tools/cancel_routine.ts +133 -0
- package/agent/tools/capture_events.ts +54 -0
- package/agent/tools/check_pr_status.ts +72 -0
- package/agent/tools/checkout_repo.ts +172 -0
- package/agent/tools/clear_connector_override.ts +159 -0
- package/agent/tools/clear_spend_limit.ts +199 -0
- package/agent/tools/complete_job.ts +64 -0
- package/agent/tools/complete_thread.ts +134 -0
- package/agent/tools/confirm_link.ts +503 -0
- package/agent/tools/connector.ts +230 -0
- package/agent/tools/create_agent.ts +305 -0
- package/agent/tools/create_routine.ts +487 -0
- package/agent/tools/create_skill.ts +178 -0
- package/agent/tools/create_ticket.ts +187 -0
- package/agent/tools/declare_webhook.ts +362 -0
- package/agent/tools/delete_skill.ts +135 -0
- package/agent/tools/describe_image.ts +302 -0
- package/agent/tools/dm_person.ts +203 -0
- package/agent/tools/edit_reply.ts +195 -0
- package/agent/tools/edit_routine.ts +159 -0
- package/agent/tools/enable_routine.ts +162 -0
- package/agent/tools/explain_permission.ts +59 -0
- package/agent/tools/get_pr_feedback.ts +84 -0
- package/agent/tools/grant_tools.ts +443 -0
- package/agent/tools/halt.ts +172 -0
- package/agent/tools/link_identity.ts +308 -0
- package/agent/tools/list_recent_events.ts +58 -0
- package/agent/tools/list_repos.ts +24 -0
- package/agent/tools/list_routines.ts +152 -0
- package/agent/tools/list_skills.ts +38 -0
- package/agent/tools/list_webhooks.ts +72 -0
- package/agent/tools/memory_admin_list.ts +79 -0
- package/agent/tools/memory_admin_read.ts +95 -0
- package/agent/tools/message_thread_seat.ts +145 -0
- package/agent/tools/no_reply.ts +272 -0
- package/agent/tools/open_pull_request.ts +348 -0
- package/agent/tools/permission_fit_report.ts +190 -0
- package/agent/tools/post_file.ts +416 -0
- package/agent/tools/post_message.ts +169 -0
- package/agent/tools/post_pr_walkthrough.ts +220 -0
- package/agent/tools/purge_memory.ts +361 -0
- package/agent/tools/query_analytics.ts +83 -0
- package/agent/tools/react.ts +201 -0
- package/agent/tools/read_channel.ts +121 -0
- package/agent/tools/read_docs.ts +50 -0
- package/agent/tools/read_file_upload.ts +190 -0
- package/agent/tools/read_routine_transcript.ts +88 -0
- package/agent/tools/read_thread.ts +103 -0
- package/agent/tools/read_thread_seat.ts +91 -0
- package/agent/tools/read_webhook_history.ts +46 -0
- package/agent/tools/read_work_channel.ts +109 -0
- package/agent/tools/read_work_thread.ts +90 -0
- package/agent/tools/record_follow_up.ts +84 -0
- package/agent/tools/record_job_state.ts +49 -0
- package/agent/tools/record_watch_state.ts +47 -0
- package/agent/tools/remove_routine_rule.ts +158 -0
- package/agent/tools/reply.ts +757 -0
- package/agent/tools/report_run_failed.ts +79 -0
- package/agent/tools/request_access.ts +518 -0
- package/agent/tools/request_credential_grant.ts +550 -0
- package/agent/tools/resume.ts +148 -0
- package/agent/tools/revoke_connector.ts +155 -0
- package/agent/tools/revoke_credential_grant.ts +108 -0
- package/agent/tools/revoke_routine_permissions.ts +81 -0
- package/agent/tools/rotate_webhook.ts +185 -0
- package/agent/tools/run_routine_now.ts +120 -0
- package/agent/tools/sandbox_tools.ts +94 -0
- package/agent/tools/search.ts +121 -0
- package/agent/tools/session_cost.ts +135 -0
- package/agent/tools/set_dm_delivery.ts +115 -0
- package/agent/tools/set_spend_limit.ts +529 -0
- package/agent/tools/set_state.ts +179 -0
- package/agent/tools/spawn_thread_session.ts +223 -0
- package/agent/tools/spend_report.ts +440 -0
- package/agent/tools/stand_down.ts +260 -0
- package/agent/tools/subscribe_pr.ts +253 -0
- package/agent/tools/unlink_identity.ts +100 -0
- package/agent/tools/update_status.ts +65 -0
- package/agent/tools/usage_report.ts +103 -0
- package/agent/tools/walk_pr.ts +150 -0
- package/agent/webhooks/achievability.ts +235 -0
- package/agent/webhooks/capture-window.ts +220 -0
- package/agent/webhooks/config.ts +556 -0
- package/agent/webhooks/dispatch.ts +418 -0
- package/agent/webhooks/gate.ts +392 -0
- package/agent/webhooks/handshake-capture.ts +189 -0
- package/agent/webhooks/hooks-codemod.ts +266 -0
- package/agent/webhooks/oe-standard-webhook.ts +563 -0
- package/agent/webhooks/reject-audit.ts +134 -0
- package/agent/webhooks/replay-dedupe.ts +183 -0
- package/agent/webhooks/reveal-page.ts +507 -0
- package/agent/webhooks/secrets.ts +81 -0
- package/agent/webhooks/source-vocabulary.ts +333 -0
- package/agent/webhooks/verifier.ts +324 -0
- package/bin/oe-eve-patch.js +205 -0
- package/bin/oe.js +19 -0
- package/dist/agent/access/access-referenced-link-sets.d.ts +8 -0
- package/dist/agent/access/access-referenced-link-sets.d.ts.map +1 -0
- package/dist/agent/access/access-referenced-link-sets.js +20 -0
- package/dist/agent/access/access-referenced-link-sets.js.map +1 -0
- package/dist/agent/access/admin-read-venue.d.ts +48 -0
- package/dist/agent/access/admin-read-venue.d.ts.map +1 -0
- package/dist/agent/access/admin-read-venue.js +109 -0
- package/dist/agent/access/admin-read-venue.js.map +1 -0
- package/dist/agent/access/admin-standing.d.ts +16 -0
- package/dist/agent/access/admin-standing.d.ts.map +1 -0
- package/dist/agent/access/admin-standing.js +89 -0
- package/dist/agent/access/admin-standing.js.map +1 -0
- package/dist/agent/access/analytics-scope.d.ts +24 -0
- package/dist/agent/access/analytics-scope.d.ts.map +1 -0
- package/dist/agent/access/analytics-scope.js +62 -0
- package/dist/agent/access/analytics-scope.js.map +1 -0
- package/dist/agent/access/approval-dedupe.d.ts +29 -0
- package/dist/agent/access/approval-dedupe.d.ts.map +1 -0
- package/dist/agent/access/approval-dedupe.js +99 -0
- package/dist/agent/access/approval-dedupe.js.map +1 -0
- package/dist/agent/access/approval-judge.d.ts +186 -0
- package/dist/agent/access/approval-judge.d.ts.map +1 -0
- package/dist/agent/access/approval-judge.js +482 -0
- package/dist/agent/access/approval-judge.js.map +1 -0
- package/dist/agent/access/approval-preview.d.ts +27 -0
- package/dist/agent/access/approval-preview.d.ts.map +1 -0
- package/dist/agent/access/approval-preview.js +90 -0
- package/dist/agent/access/approval-preview.js.map +1 -0
- package/dist/agent/access/approval-scenarios.d.ts +18 -0
- package/dist/agent/access/approval-scenarios.d.ts.map +1 -0
- package/dist/agent/access/approval-scenarios.js +27 -0
- package/dist/agent/access/approval-scenarios.js.map +1 -0
- package/dist/agent/access/approver-chain.d.ts +210 -0
- package/dist/agent/access/approver-chain.d.ts.map +1 -0
- package/dist/agent/access/approver-chain.js +585 -0
- package/dist/agent/access/approver-chain.js.map +1 -0
- package/dist/agent/access/audience-floor.d.ts +69 -0
- package/dist/agent/access/audience-floor.d.ts.map +1 -0
- package/dist/agent/access/audience-floor.js +189 -0
- package/dist/agent/access/audience-floor.js.map +1 -0
- package/dist/agent/access/aws-output.d.ts +39 -0
- package/dist/agent/access/aws-output.d.ts.map +1 -0
- package/dist/agent/access/aws-output.js +94 -0
- package/dist/agent/access/aws-output.js.map +1 -0
- package/dist/agent/access/aws-screen.d.ts +24 -0
- package/dist/agent/access/aws-screen.d.ts.map +1 -0
- package/dist/agent/access/aws-screen.js +177 -0
- package/dist/agent/access/aws-screen.js.map +1 -0
- package/dist/agent/access/background-tasks.d.ts +100 -0
- package/dist/agent/access/background-tasks.d.ts.map +1 -0
- package/dist/agent/access/background-tasks.js +288 -0
- package/dist/agent/access/background-tasks.js.map +1 -0
- package/dist/agent/access/browser-hosts.d.ts +37 -0
- package/dist/agent/access/browser-hosts.d.ts.map +1 -0
- package/dist/agent/access/browser-hosts.js +127 -0
- package/dist/agent/access/browser-hosts.js.map +1 -0
- package/dist/agent/access/browser-toolkit.d.ts +48 -0
- package/dist/agent/access/browser-toolkit.d.ts.map +1 -0
- package/dist/agent/access/browser-toolkit.js +240 -0
- package/dist/agent/access/browser-toolkit.js.map +1 -0
- package/dist/agent/access/bundle.d.ts +239 -0
- package/dist/agent/access/bundle.d.ts.map +1 -0
- package/dist/agent/access/bundle.js +454 -0
- package/dist/agent/access/bundle.js.map +1 -0
- package/dist/agent/access/capabilities.d.ts +5 -0
- package/dist/agent/access/capabilities.d.ts.map +1 -0
- package/dist/agent/access/capabilities.js +9 -0
- package/dist/agent/access/capabilities.js.map +1 -0
- package/dist/agent/access/chat-dm-grant.d.ts +47 -0
- package/dist/agent/access/chat-dm-grant.d.ts.map +1 -0
- package/dist/agent/access/chat-dm-grant.js +185 -0
- package/dist/agent/access/chat-dm-grant.js.map +1 -0
- package/dist/agent/access/chat-write-grant.d.ts +35 -0
- package/dist/agent/access/chat-write-grant.d.ts.map +1 -0
- package/dist/agent/access/chat-write-grant.js +153 -0
- package/dist/agent/access/chat-write-grant.js.map +1 -0
- package/dist/agent/access/config.d.ts +117 -0
- package/dist/agent/access/config.d.ts.map +1 -0
- package/dist/agent/access/config.js +16 -0
- package/dist/agent/access/config.js.map +1 -0
- package/dist/agent/access/connector-content-origin-state.d.ts +17 -0
- package/dist/agent/access/connector-content-origin-state.d.ts.map +1 -0
- package/dist/agent/access/connector-content-origin-state.js +73 -0
- package/dist/agent/access/connector-content-origin-state.js.map +1 -0
- package/dist/agent/access/connector-credentials.d.ts +186 -0
- package/dist/agent/access/connector-credentials.d.ts.map +1 -0
- package/dist/agent/access/connector-credentials.js +258 -0
- package/dist/agent/access/connector-credentials.js.map +1 -0
- package/dist/agent/access/connector-disclosure.d.ts +66 -0
- package/dist/agent/access/connector-disclosure.d.ts.map +1 -0
- package/dist/agent/access/connector-disclosure.js +194 -0
- package/dist/agent/access/connector-disclosure.js.map +1 -0
- package/dist/agent/access/connector-op-gating.d.ts +32 -0
- package/dist/agent/access/connector-op-gating.d.ts.map +1 -0
- package/dist/agent/access/connector-op-gating.js +178 -0
- package/dist/agent/access/connector-op-gating.js.map +1 -0
- package/dist/agent/access/connector-scope.d.ts +42 -0
- package/dist/agent/access/connector-scope.d.ts.map +1 -0
- package/dist/agent/access/connector-scope.js +258 -0
- package/dist/agent/access/connector-scope.js.map +1 -0
- package/dist/agent/access/consequence.d.ts +205 -0
- package/dist/agent/access/consequence.d.ts.map +1 -0
- package/dist/agent/access/consequence.js +816 -0
- package/dist/agent/access/consequence.js.map +1 -0
- package/dist/agent/access/credential-bindings-codemod.d.ts +63 -0
- package/dist/agent/access/credential-bindings-codemod.d.ts.map +1 -0
- package/dist/agent/access/credential-bindings-codemod.js +179 -0
- package/dist/agent/access/credential-bindings-codemod.js.map +1 -0
- package/dist/agent/access/credential-endpoints.d.ts +47 -0
- package/dist/agent/access/credential-endpoints.d.ts.map +1 -0
- package/dist/agent/access/credential-endpoints.js +211 -0
- package/dist/agent/access/credential-endpoints.js.map +1 -0
- package/dist/agent/access/credential-grant-ask.d.ts +22 -0
- package/dist/agent/access/credential-grant-ask.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-ask.js +82 -0
- package/dist/agent/access/credential-grant-ask.js.map +1 -0
- package/dist/agent/access/credential-grant-broker.d.ts +85 -0
- package/dist/agent/access/credential-grant-broker.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-broker.js +252 -0
- package/dist/agent/access/credential-grant-broker.js.map +1 -0
- package/dist/agent/access/credential-grant-card.d.ts +98 -0
- package/dist/agent/access/credential-grant-card.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-card.js +447 -0
- package/dist/agent/access/credential-grant-card.js.map +1 -0
- package/dist/agent/access/credential-grant-click.d.ts +43 -0
- package/dist/agent/access/credential-grant-click.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-click.js +190 -0
- package/dist/agent/access/credential-grant-click.js.map +1 -0
- package/dist/agent/access/credential-grant-copy.d.ts +135 -0
- package/dist/agent/access/credential-grant-copy.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-copy.js +276 -0
- package/dist/agent/access/credential-grant-copy.js.map +1 -0
- package/dist/agent/access/credential-grant-flow.d.ts +174 -0
- package/dist/agent/access/credential-grant-flow.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-flow.js +503 -0
- package/dist/agent/access/credential-grant-flow.js.map +1 -0
- package/dist/agent/access/credential-grant-key-shape.d.ts +37 -0
- package/dist/agent/access/credential-grant-key-shape.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-key-shape.js +51 -0
- package/dist/agent/access/credential-grant-key-shape.js.map +1 -0
- package/dist/agent/access/credential-grant-notice.d.ts +29 -0
- package/dist/agent/access/credential-grant-notice.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-notice.js +187 -0
- package/dist/agent/access/credential-grant-notice.js.map +1 -0
- package/dist/agent/access/credential-grant-owner.d.ts +10 -0
- package/dist/agent/access/credential-grant-owner.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-owner.js +16 -0
- package/dist/agent/access/credential-grant-owner.js.map +1 -0
- package/dist/agent/access/credential-grant-reach.d.ts +46 -0
- package/dist/agent/access/credential-grant-reach.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-reach.js +77 -0
- package/dist/agent/access/credential-grant-reach.js.map +1 -0
- package/dist/agent/access/credential-grant-resolution.d.ts +30 -0
- package/dist/agent/access/credential-grant-resolution.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-resolution.js +107 -0
- package/dist/agent/access/credential-grant-resolution.js.map +1 -0
- package/dist/agent/access/credential-grant-revoke.d.ts +33 -0
- package/dist/agent/access/credential-grant-revoke.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-revoke.js +62 -0
- package/dist/agent/access/credential-grant-revoke.js.map +1 -0
- package/dist/agent/access/credential-grant-scope.d.ts +206 -0
- package/dist/agent/access/credential-grant-scope.d.ts.map +1 -0
- package/dist/agent/access/credential-grant-scope.js +282 -0
- package/dist/agent/access/credential-grant-scope.js.map +1 -0
- package/dist/agent/access/credential-grant.d.ts +94 -0
- package/dist/agent/access/credential-grant.d.ts.map +1 -0
- package/dist/agent/access/credential-grant.js +198 -0
- package/dist/agent/access/credential-grant.js.map +1 -0
- package/dist/agent/access/credentials.d.ts +41 -0
- package/dist/agent/access/credentials.d.ts.map +1 -0
- package/dist/agent/access/credentials.js +112 -0
- package/dist/agent/access/credentials.js.map +1 -0
- package/dist/agent/access/dated-read.d.ts +3 -0
- package/dist/agent/access/dated-read.d.ts.map +1 -0
- package/dist/agent/access/dated-read.js +24 -0
- package/dist/agent/access/dated-read.js.map +1 -0
- package/dist/agent/access/delegation-flag.d.ts +5 -0
- package/dist/agent/access/delegation-flag.d.ts.map +1 -0
- package/dist/agent/access/delegation-flag.js +10 -0
- package/dist/agent/access/delegation-flag.js.map +1 -0
- package/dist/agent/access/delegation-mount.d.ts +6 -0
- package/dist/agent/access/delegation-mount.d.ts.map +1 -0
- package/dist/agent/access/delegation-mount.js +30 -0
- package/dist/agent/access/delegation-mount.js.map +1 -0
- package/dist/agent/access/delta.d.ts +103 -0
- package/dist/agent/access/delta.d.ts.map +1 -0
- package/dist/agent/access/delta.js +267 -0
- package/dist/agent/access/delta.js.map +1 -0
- package/dist/agent/access/dispatch-origin-signal.d.ts +19 -0
- package/dist/agent/access/dispatch-origin-signal.d.ts.map +1 -0
- package/dist/agent/access/dispatch-origin-signal.js +130 -0
- package/dist/agent/access/dispatch-origin-signal.js.map +1 -0
- package/dist/agent/access/domain-credentials.d.ts +32 -0
- package/dist/agent/access/domain-credentials.d.ts.map +1 -0
- package/dist/agent/access/domain-credentials.js +78 -0
- package/dist/agent/access/domain-credentials.js.map +1 -0
- package/dist/agent/access/egress-denial-log.d.ts +28 -0
- package/dist/agent/access/egress-denial-log.d.ts.map +1 -0
- package/dist/agent/access/egress-denial-log.js +96 -0
- package/dist/agent/access/egress-denial-log.js.map +1 -0
- package/dist/agent/access/egress-denial-poller.d.ts +56 -0
- package/dist/agent/access/egress-denial-poller.d.ts.map +1 -0
- package/dist/agent/access/egress-denial-poller.js +184 -0
- package/dist/agent/access/egress-denial-poller.js.map +1 -0
- package/dist/agent/access/egress-status.d.ts +61 -0
- package/dist/agent/access/egress-status.d.ts.map +1 -0
- package/dist/agent/access/egress-status.js +130 -0
- package/dist/agent/access/egress-status.js.map +1 -0
- package/dist/agent/access/egress.d.ts +86 -0
- package/dist/agent/access/egress.d.ts.map +1 -0
- package/dist/agent/access/egress.js +236 -0
- package/dist/agent/access/egress.js.map +1 -0
- package/dist/agent/access/enforcement.d.ts +8 -0
- package/dist/agent/access/enforcement.d.ts.map +1 -0
- package/dist/agent/access/enforcement.js +24 -0
- package/dist/agent/access/enforcement.js.map +1 -0
- package/dist/agent/access/eve-patch-probe-boot.d.ts +2 -0
- package/dist/agent/access/eve-patch-probe-boot.d.ts.map +1 -0
- package/dist/agent/access/eve-patch-probe-boot.js +91 -0
- package/dist/agent/access/eve-patch-probe-boot.js.map +1 -0
- package/dist/agent/access/eve-patch-probe.d.ts +57 -0
- package/dist/agent/access/eve-patch-probe.d.ts.map +1 -0
- package/dist/agent/access/eve-patch-probe.js +225 -0
- package/dist/agent/access/eve-patch-probe.js.map +1 -0
- package/dist/agent/access/external-policy.d.ts +95 -0
- package/dist/agent/access/external-policy.d.ts.map +1 -0
- package/dist/agent/access/external-policy.js +154 -0
- package/dist/agent/access/external-policy.js.map +1 -0
- package/dist/agent/access/extra-hosts.d.ts +10 -0
- package/dist/agent/access/extra-hosts.d.ts.map +1 -0
- package/dist/agent/access/extra-hosts.js +28 -0
- package/dist/agent/access/extra-hosts.js.map +1 -0
- package/dist/agent/access/grant-borrow-transport-registry.internal.d.ts +21 -0
- package/dist/agent/access/grant-borrow-transport-registry.internal.d.ts.map +1 -0
- package/dist/agent/access/grant-borrow-transport-registry.internal.js +63 -0
- package/dist/agent/access/grant-borrow-transport-registry.internal.js.map +1 -0
- package/dist/agent/access/grant-room-notice-registry.internal.d.ts +20 -0
- package/dist/agent/access/grant-room-notice-registry.internal.d.ts.map +1 -0
- package/dist/agent/access/grant-room-notice-registry.internal.js +59 -0
- package/dist/agent/access/grant-room-notice-registry.internal.js.map +1 -0
- package/dist/agent/access/grant-schema-pin.d.ts +15 -0
- package/dist/agent/access/grant-schema-pin.d.ts.map +1 -0
- package/dist/agent/access/grant-schema-pin.js +29 -0
- package/dist/agent/access/grant-schema-pin.js.map +1 -0
- package/dist/agent/access/grants-codemod.d.ts +32 -0
- package/dist/agent/access/grants-codemod.d.ts.map +1 -0
- package/dist/agent/access/grants-codemod.js +306 -0
- package/dist/agent/access/grants-codemod.js.map +1 -0
- package/dist/agent/access/group-request.d.ts +13 -0
- package/dist/agent/access/group-request.d.ts.map +1 -0
- package/dist/agent/access/group-request.js +67 -0
- package/dist/agent/access/group-request.js.map +1 -0
- package/dist/agent/access/halt-state.d.ts +7 -0
- package/dist/agent/access/halt-state.d.ts.map +1 -0
- package/dist/agent/access/halt-state.js +23 -0
- package/dist/agent/access/halt-state.js.map +1 -0
- package/dist/agent/access/halt.d.ts +90 -0
- package/dist/agent/access/halt.d.ts.map +1 -0
- package/dist/agent/access/halt.js +239 -0
- package/dist/agent/access/halt.js.map +1 -0
- package/dist/agent/access/host-egress.d.ts +71 -0
- package/dist/agent/access/host-egress.d.ts.map +1 -0
- package/dist/agent/access/host-egress.js +384 -0
- package/dist/agent/access/host-egress.js.map +1 -0
- package/dist/agent/access/human-only-invariants-manifest.d.ts +20 -0
- package/dist/agent/access/human-only-invariants-manifest.d.ts.map +1 -0
- package/dist/agent/access/human-only-invariants-manifest.js +144 -0
- package/dist/agent/access/human-only-invariants-manifest.js.map +1 -0
- package/dist/agent/access/ingestion-binding-manifest.d.ts +41 -0
- package/dist/agent/access/ingestion-binding-manifest.d.ts.map +1 -0
- package/dist/agent/access/ingestion-binding-manifest.js +214 -0
- package/dist/agent/access/ingestion-binding-manifest.js.map +1 -0
- package/dist/agent/access/ingestion-route-inventory.generated.d.ts +13 -0
- package/dist/agent/access/ingestion-route-inventory.generated.d.ts.map +1 -0
- package/dist/agent/access/ingestion-route-inventory.generated.js +46 -0
- package/dist/agent/access/ingestion-route-inventory.generated.js.map +1 -0
- package/dist/agent/access/instructions.d.ts +5 -0
- package/dist/agent/access/instructions.d.ts.map +1 -0
- package/dist/agent/access/instructions.js +72 -0
- package/dist/agent/access/instructions.js.map +1 -0
- package/dist/agent/access/invoker-posture-state.d.ts +8 -0
- package/dist/agent/access/invoker-posture-state.d.ts.map +1 -0
- package/dist/agent/access/invoker-posture-state.js +23 -0
- package/dist/agent/access/invoker-posture-state.js.map +1 -0
- package/dist/agent/access/invoker-posture.d.ts +29 -0
- package/dist/agent/access/invoker-posture.d.ts.map +1 -0
- package/dist/agent/access/invoker-posture.js +70 -0
- package/dist/agent/access/invoker-posture.js.map +1 -0
- package/dist/agent/access/job-posture.d.ts +37 -0
- package/dist/agent/access/job-posture.d.ts.map +1 -0
- package/dist/agent/access/job-posture.js +65 -0
- package/dist/agent/access/job-posture.js.map +1 -0
- package/dist/agent/access/job-session-state.d.ts +13 -0
- package/dist/agent/access/job-session-state.d.ts.map +1 -0
- package/dist/agent/access/job-session-state.js +57 -0
- package/dist/agent/access/job-session-state.js.map +1 -0
- package/dist/agent/access/lean-seat-state.d.ts +12 -0
- package/dist/agent/access/lean-seat-state.d.ts.map +1 -0
- package/dist/agent/access/lean-seat-state.js +35 -0
- package/dist/agent/access/lean-seat-state.js.map +1 -0
- package/dist/agent/access/lean-seat.d.ts +25 -0
- package/dist/agent/access/lean-seat.d.ts.map +1 -0
- package/dist/agent/access/lean-seat.js +66 -0
- package/dist/agent/access/lean-seat.js.map +1 -0
- package/dist/agent/access/lint.d.ts +39 -0
- package/dist/agent/access/lint.d.ts.map +1 -0
- package/dist/agent/access/lint.js +556 -0
- package/dist/agent/access/lint.js.map +1 -0
- package/dist/agent/access/live-delegated-tasks.d.ts +20 -0
- package/dist/agent/access/live-delegated-tasks.d.ts.map +1 -0
- package/dist/agent/access/live-delegated-tasks.js +96 -0
- package/dist/agent/access/live-delegated-tasks.js.map +1 -0
- package/dist/agent/access/loop-breaker.d.ts +26 -0
- package/dist/agent/access/loop-breaker.d.ts.map +1 -0
- package/dist/agent/access/loop-breaker.js +77 -0
- package/dist/agent/access/loop-breaker.js.map +1 -0
- package/dist/agent/access/mcp-call-fence.d.ts +19 -0
- package/dist/agent/access/mcp-call-fence.d.ts.map +1 -0
- package/dist/agent/access/mcp-call-fence.js +180 -0
- package/dist/agent/access/mcp-call-fence.js.map +1 -0
- package/dist/agent/access/member-grant.d.ts +16 -0
- package/dist/agent/access/member-grant.d.ts.map +1 -0
- package/dist/agent/access/member-grant.js +34 -0
- package/dist/agent/access/member-grant.js.map +1 -0
- package/dist/agent/access/member-plane.d.ts +91 -0
- package/dist/agent/access/member-plane.d.ts.map +1 -0
- package/dist/agent/access/member-plane.js +114 -0
- package/dist/agent/access/member-plane.js.map +1 -0
- package/dist/agent/access/native-admin.d.ts +13 -0
- package/dist/agent/access/native-admin.d.ts.map +1 -0
- package/dist/agent/access/native-admin.js +23 -0
- package/dist/agent/access/native-admin.js.map +1 -0
- package/dist/agent/access/native-delegation-state.d.ts +16 -0
- package/dist/agent/access/native-delegation-state.d.ts.map +1 -0
- package/dist/agent/access/native-delegation-state.js +26 -0
- package/dist/agent/access/native-delegation-state.js.map +1 -0
- package/dist/agent/access/network-access.d.ts +23 -0
- package/dist/agent/access/network-access.d.ts.map +1 -0
- package/dist/agent/access/network-access.js +108 -0
- package/dist/agent/access/network-access.js.map +1 -0
- package/dist/agent/access/nullable-optional-fields.d.ts +13 -0
- package/dist/agent/access/nullable-optional-fields.d.ts.map +1 -0
- package/dist/agent/access/nullable-optional-fields.js +190 -0
- package/dist/agent/access/nullable-optional-fields.js.map +1 -0
- package/dist/agent/access/overlay-module.d.ts +20 -0
- package/dist/agent/access/overlay-module.d.ts.map +1 -0
- package/dist/agent/access/overlay-module.js +47 -0
- package/dist/agent/access/overlay-module.js.map +1 -0
- package/dist/agent/access/own-account-gate-manifest.d.ts +23 -0
- package/dist/agent/access/own-account-gate-manifest.d.ts.map +1 -0
- package/dist/agent/access/own-account-gate-manifest.js +109 -0
- package/dist/agent/access/own-account-gate-manifest.js.map +1 -0
- package/dist/agent/access/pane-venue.d.ts +58 -0
- package/dist/agent/access/pane-venue.d.ts.map +1 -0
- package/dist/agent/access/pane-venue.js +177 -0
- package/dist/agent/access/pane-venue.js.map +1 -0
- package/dist/agent/access/pending-delegation-signal.d.ts +38 -0
- package/dist/agent/access/pending-delegation-signal.d.ts.map +1 -0
- package/dist/agent/access/pending-delegation-signal.js +268 -0
- package/dist/agent/access/pending-delegation-signal.js.map +1 -0
- package/dist/agent/access/permission-evidence.d.ts +184 -0
- package/dist/agent/access/permission-evidence.d.ts.map +1 -0
- package/dist/agent/access/permission-evidence.js +412 -0
- package/dist/agent/access/permission-evidence.js.map +1 -0
- package/dist/agent/access/permission-proposal.d.ts +33 -0
- package/dist/agent/access/permission-proposal.d.ts.map +1 -0
- package/dist/agent/access/permission-proposal.js +319 -0
- package/dist/agent/access/permission-proposal.js.map +1 -0
- package/dist/agent/access/platform.d.ts +5 -0
- package/dist/agent/access/platform.d.ts.map +1 -0
- package/dist/agent/access/platform.js +15 -0
- package/dist/agent/access/platform.js.map +1 -0
- package/dist/agent/access/pre-approval-rules.d.ts +44 -0
- package/dist/agent/access/pre-approval-rules.d.ts.map +1 -0
- package/dist/agent/access/pre-approval-rules.js +86 -0
- package/dist/agent/access/pre-approval-rules.js.map +1 -0
- package/dist/agent/access/principal-gate-manifest.d.ts +111 -0
- package/dist/agent/access/principal-gate-manifest.d.ts.map +1 -0
- package/dist/agent/access/principal-gate-manifest.js +718 -0
- package/dist/agent/access/principal-gate-manifest.js.map +1 -0
- package/dist/agent/access/provider-selection-check.d.ts +24 -0
- package/dist/agent/access/provider-selection-check.d.ts.map +1 -0
- package/dist/agent/access/provider-selection-check.js +97 -0
- package/dist/agent/access/provider-selection-check.js.map +1 -0
- package/dist/agent/access/provider-selection.d.ts +21 -0
- package/dist/agent/access/provider-selection.d.ts.map +1 -0
- package/dist/agent/access/provider-selection.js +76 -0
- package/dist/agent/access/provider-selection.js.map +1 -0
- package/dist/agent/access/read-grant.d.ts +13 -0
- package/dist/agent/access/read-grant.d.ts.map +1 -0
- package/dist/agent/access/read-grant.js +96 -0
- package/dist/agent/access/read-grant.js.map +1 -0
- package/dist/agent/access/repo-capabilities.d.ts +30 -0
- package/dist/agent/access/repo-capabilities.d.ts.map +1 -0
- package/dist/agent/access/repo-capabilities.js +60 -0
- package/dist/agent/access/repo-capabilities.js.map +1 -0
- package/dist/agent/access/request.d.ts +17 -0
- package/dist/agent/access/request.d.ts.map +1 -0
- package/dist/agent/access/request.js +110 -0
- package/dist/agent/access/request.js.map +1 -0
- package/dist/agent/access/requester-identity.d.ts +82 -0
- package/dist/agent/access/requester-identity.d.ts.map +1 -0
- package/dist/agent/access/requester-identity.js +275 -0
- package/dist/agent/access/requester-identity.js.map +1 -0
- package/dist/agent/access/requester-messages.d.ts +7 -0
- package/dist/agent/access/requester-messages.d.ts.map +1 -0
- package/dist/agent/access/requester-messages.js +45 -0
- package/dist/agent/access/requester-messages.js.map +1 -0
- package/dist/agent/access/reserved-hosts.d.ts +5 -0
- package/dist/agent/access/reserved-hosts.d.ts.map +1 -0
- package/dist/agent/access/reserved-hosts.js +9 -0
- package/dist/agent/access/reserved-hosts.js.map +1 -0
- package/dist/agent/access/resolver.d.ts +120 -0
- package/dist/agent/access/resolver.d.ts.map +1 -0
- package/dist/agent/access/resolver.js +447 -0
- package/dist/agent/access/resolver.js.map +1 -0
- package/dist/agent/access/resource-capabilities.d.ts +37 -0
- package/dist/agent/access/resource-capabilities.d.ts.map +1 -0
- package/dist/agent/access/resource-capabilities.js +77 -0
- package/dist/agent/access/resource-capabilities.js.map +1 -0
- package/dist/agent/access/resource-grant-manifest.d.ts +21 -0
- package/dist/agent/access/resource-grant-manifest.d.ts.map +1 -0
- package/dist/agent/access/resource-grant-manifest.js +93 -0
- package/dist/agent/access/resource-grant-manifest.js.map +1 -0
- package/dist/agent/access/resource-grant.d.ts +33 -0
- package/dist/agent/access/resource-grant.d.ts.map +1 -0
- package/dist/agent/access/resource-grant.js +131 -0
- package/dist/agent/access/resource-grant.js.map +1 -0
- package/dist/agent/access/result-cap.d.ts +11 -0
- package/dist/agent/access/result-cap.d.ts.map +1 -0
- package/dist/agent/access/result-cap.js +31 -0
- package/dist/agent/access/result-cap.js.map +1 -0
- package/dist/agent/access/result-reduce-model-arm.d.ts +25 -0
- package/dist/agent/access/result-reduce-model-arm.d.ts.map +1 -0
- package/dist/agent/access/result-reduce-model-arm.js +73 -0
- package/dist/agent/access/result-reduce-model-arm.js.map +1 -0
- package/dist/agent/access/result-reduce.d.ts +13 -0
- package/dist/agent/access/result-reduce.d.ts.map +1 -0
- package/dist/agent/access/result-reduce.js +86 -0
- package/dist/agent/access/result-reduce.js.map +1 -0
- package/dist/agent/access/roles.d.ts +26 -0
- package/dist/agent/access/roles.d.ts.map +1 -0
- package/dist/agent/access/roles.js +78 -0
- package/dist/agent/access/roles.js.map +1 -0
- package/dist/agent/access/scope-key.d.ts +43 -0
- package/dist/agent/access/scope-key.d.ts.map +1 -0
- package/dist/agent/access/scope-key.js +36 -0
- package/dist/agent/access/scope-key.js.map +1 -0
- package/dist/agent/access/seat-read-budget.d.ts +17 -0
- package/dist/agent/access/seat-read-budget.d.ts.map +1 -0
- package/dist/agent/access/seat-read-budget.js +53 -0
- package/dist/agent/access/seat-read-budget.js.map +1 -0
- package/dist/agent/access/self-host-egress.d.ts +37 -0
- package/dist/agent/access/self-host-egress.d.ts.map +1 -0
- package/dist/agent/access/self-host-egress.js +63 -0
- package/dist/agent/access/self-host-egress.js.map +1 -0
- package/dist/agent/access/settlement-dispatch-signal.d.ts +22 -0
- package/dist/agent/access/settlement-dispatch-signal.d.ts.map +1 -0
- package/dist/agent/access/settlement-dispatch-signal.js +76 -0
- package/dist/agent/access/settlement-dispatch-signal.js.map +1 -0
- package/dist/agent/access/skill-taint-envelope.d.ts +31 -0
- package/dist/agent/access/skill-taint-envelope.d.ts.map +1 -0
- package/dist/agent/access/skill-taint-envelope.js +80 -0
- package/dist/agent/access/skill-taint-envelope.js.map +1 -0
- package/dist/agent/access/source-gate-manifest.d.ts +14 -0
- package/dist/agent/access/source-gate-manifest.d.ts.map +1 -0
- package/dist/agent/access/source-gate-manifest.js +111 -0
- package/dist/agent/access/source-gate-manifest.js.map +1 -0
- package/dist/agent/access/source-scoped-mount.d.ts +7 -0
- package/dist/agent/access/source-scoped-mount.d.ts.map +1 -0
- package/dist/agent/access/source-scoped-mount.js +26 -0
- package/dist/agent/access/source-scoped-mount.js.map +1 -0
- package/dist/agent/access/subagent-taint.d.ts +44 -0
- package/dist/agent/access/subagent-taint.d.ts.map +1 -0
- package/dist/agent/access/subagent-taint.js +175 -0
- package/dist/agent/access/subagent-taint.js.map +1 -0
- package/dist/agent/access/surface-work-grant.d.ts +20 -0
- package/dist/agent/access/surface-work-grant.d.ts.map +1 -0
- package/dist/agent/access/surface-work-grant.js +84 -0
- package/dist/agent/access/surface-work-grant.js.map +1 -0
- package/dist/agent/access/taint-enforcement.d.ts +46 -0
- package/dist/agent/access/taint-enforcement.d.ts.map +1 -0
- package/dist/agent/access/taint-enforcement.js +141 -0
- package/dist/agent/access/taint-enforcement.js.map +1 -0
- package/dist/agent/access/taint-signal.d.ts +100 -0
- package/dist/agent/access/taint-signal.d.ts.map +1 -0
- package/dist/agent/access/taint-signal.js +236 -0
- package/dist/agent/access/taint-signal.js.map +1 -0
- package/dist/agent/access/taint-tiers.d.ts +64 -0
- package/dist/agent/access/taint-tiers.d.ts.map +1 -0
- package/dist/agent/access/taint-tiers.js +93 -0
- package/dist/agent/access/taint-tiers.js.map +1 -0
- package/dist/agent/access/task-wake-signal.d.ts +9 -0
- package/dist/agent/access/task-wake-signal.d.ts.map +1 -0
- package/dist/agent/access/task-wake-signal.js +86 -0
- package/dist/agent/access/task-wake-signal.js.map +1 -0
- package/dist/agent/access/tenant-admission.d.ts +52 -0
- package/dist/agent/access/tenant-admission.d.ts.map +1 -0
- package/dist/agent/access/tenant-admission.js +154 -0
- package/dist/agent/access/tenant-admission.js.map +1 -0
- package/dist/agent/access/untrusted-projection.d.ts +23 -0
- package/dist/agent/access/untrusted-projection.d.ts.map +1 -0
- package/dist/agent/access/untrusted-projection.js +258 -0
- package/dist/agent/access/untrusted-projection.js.map +1 -0
- package/dist/agent/access/untrusted.d.ts +34 -0
- package/dist/agent/access/untrusted.d.ts.map +1 -0
- package/dist/agent/access/untrusted.js +100 -0
- package/dist/agent/access/untrusted.js.map +1 -0
- package/dist/agent/access/wake-mapping.d.ts +22 -0
- package/dist/agent/access/wake-mapping.d.ts.map +1 -0
- package/dist/agent/access/wake-mapping.js +19 -0
- package/dist/agent/access/wake-mapping.js.map +1 -0
- package/dist/agent/access/web-fetch-fence.d.ts +8 -0
- package/dist/agent/access/web-fetch-fence.d.ts.map +1 -0
- package/dist/agent/access/web-fetch-fence.js +55 -0
- package/dist/agent/access/web-fetch-fence.js.map +1 -0
- package/dist/agent/access/window-gate-manifest.d.ts +75 -0
- package/dist/agent/access/window-gate-manifest.d.ts.map +1 -0
- package/dist/agent/access/window-gate-manifest.js +474 -0
- package/dist/agent/access/window-gate-manifest.js.map +1 -0
- package/dist/agent/access/window-gated.d.ts +111 -0
- package/dist/agent/access/window-gated.d.ts.map +1 -0
- package/dist/agent/access/window-gated.js +611 -0
- package/dist/agent/access/window-gated.js.map +1 -0
- package/dist/agent/access/window-routing.d.ts +16 -0
- package/dist/agent/access/window-routing.d.ts.map +1 -0
- package/dist/agent/access/window-routing.js +11 -0
- package/dist/agent/access/window-routing.js.map +1 -0
- package/dist/agent/access/work-grant.d.ts +39 -0
- package/dist/agent/access/work-grant.d.ts.map +1 -0
- package/dist/agent/access/work-grant.js +76 -0
- package/dist/agent/access/work-grant.js.map +1 -0
- package/dist/agent/access/work-mount-manifest.d.ts +21 -0
- package/dist/agent/access/work-mount-manifest.d.ts.map +1 -0
- package/dist/agent/access/work-mount-manifest.js +149 -0
- package/dist/agent/access/work-mount-manifest.js.map +1 -0
- package/dist/agent/access/worker-capabilities.d.ts +60 -0
- package/dist/agent/access/worker-capabilities.d.ts.map +1 -0
- package/dist/agent/access/worker-capabilities.js +318 -0
- package/dist/agent/access/worker-capabilities.js.map +1 -0
- package/dist/agent/access/worker-capability-index.generated.d.ts +7 -0
- package/dist/agent/access/worker-capability-index.generated.d.ts.map +1 -0
- package/dist/agent/access/worker-capability-index.generated.js +188 -0
- package/dist/agent/access/worker-capability-index.generated.js.map +1 -0
- package/dist/agent/access/worker-continuation.d.ts +7 -0
- package/dist/agent/access/worker-continuation.d.ts.map +1 -0
- package/dist/agent/access/worker-continuation.js +180 -0
- package/dist/agent/access/worker-continuation.js.map +1 -0
- package/dist/agent/access/worker-seat-state.d.ts +8 -0
- package/dist/agent/access/worker-seat-state.d.ts.map +1 -0
- package/dist/agent/access/worker-seat-state.js +24 -0
- package/dist/agent/access/worker-seat-state.js.map +1 -0
- package/dist/agent/access/worker-seat.d.ts +23 -0
- package/dist/agent/access/worker-seat.d.ts.map +1 -0
- package/dist/agent/access/worker-seat.js +47 -0
- package/dist/agent/access/worker-seat.js.map +1 -0
- package/dist/agent/access/worker-toolset-state.d.ts +32 -0
- package/dist/agent/access/worker-toolset-state.d.ts.map +1 -0
- package/dist/agent/access/worker-toolset-state.js +40 -0
- package/dist/agent/access/worker-toolset-state.js.map +1 -0
- package/dist/agent/adapter-api.d.ts +416 -0
- package/dist/agent/adapter-api.d.ts.map +1 -0
- package/dist/agent/adapter-api.js +1147 -0
- package/dist/agent/adapter-api.js.map +1 -0
- package/dist/agent/analytics/compile.d.ts +127 -0
- package/dist/agent/analytics/compile.d.ts.map +1 -0
- package/dist/agent/analytics/compile.js +406 -0
- package/dist/agent/analytics/compile.js.map +1 -0
- package/dist/agent/analytics/execute.d.ts +20 -0
- package/dist/agent/analytics/execute.d.ts.map +1 -0
- package/dist/agent/analytics/execute.js +146 -0
- package/dist/agent/analytics/execute.js.map +1 -0
- package/dist/agent/analytics/registry.d.ts +89 -0
- package/dist/agent/analytics/registry.d.ts.map +1 -0
- package/dist/agent/analytics/registry.js +216 -0
- package/dist/agent/analytics/registry.js.map +1 -0
- package/dist/agent/approvals/access-request.d.ts +53 -0
- package/dist/agent/approvals/access-request.d.ts.map +1 -0
- package/dist/agent/approvals/access-request.js +186 -0
- package/dist/agent/approvals/access-request.js.map +1 -0
- package/dist/agent/approvals/actions.d.ts +95 -0
- package/dist/agent/approvals/actions.d.ts.map +1 -0
- package/dist/agent/approvals/actions.js +293 -0
- package/dist/agent/approvals/actions.js.map +1 -0
- package/dist/agent/approvals/agent-create.d.ts +44 -0
- package/dist/agent/approvals/agent-create.d.ts.map +1 -0
- package/dist/agent/approvals/agent-create.js +205 -0
- package/dist/agent/approvals/agent-create.js.map +1 -0
- package/dist/agent/approvals/arming-context.d.ts +13 -0
- package/dist/agent/approvals/arming-context.d.ts.map +1 -0
- package/dist/agent/approvals/arming-context.js +17 -0
- package/dist/agent/approvals/arming-context.js.map +1 -0
- package/dist/agent/approvals/card-disclosure.d.ts +28 -0
- package/dist/agent/approvals/card-disclosure.d.ts.map +1 -0
- package/dist/agent/approvals/card-disclosure.js +31 -0
- package/dist/agent/approvals/card-disclosure.js.map +1 -0
- package/dist/agent/approvals/card-signal.d.ts +41 -0
- package/dist/agent/approvals/card-signal.d.ts.map +1 -0
- package/dist/agent/approvals/card-signal.js +115 -0
- package/dist/agent/approvals/card-signal.js.map +1 -0
- package/dist/agent/approvals/card-venue.d.ts +55 -0
- package/dist/agent/approvals/card-venue.d.ts.map +1 -0
- package/dist/agent/approvals/card-venue.js +106 -0
- package/dist/agent/approvals/card-venue.js.map +1 -0
- package/dist/agent/approvals/card.d.ts +23 -0
- package/dist/agent/approvals/card.d.ts.map +1 -0
- package/dist/agent/approvals/card.js +99 -0
- package/dist/agent/approvals/card.js.map +1 -0
- package/dist/agent/approvals/chat-dm.d.ts +19 -0
- package/dist/agent/approvals/chat-dm.d.ts.map +1 -0
- package/dist/agent/approvals/chat-dm.js +41 -0
- package/dist/agent/approvals/chat-dm.js.map +1 -0
- package/dist/agent/approvals/chat-post.d.ts +15 -0
- package/dist/agent/approvals/chat-post.d.ts.map +1 -0
- package/dist/agent/approvals/chat-post.js +43 -0
- package/dist/agent/approvals/chat-post.js.map +1 -0
- package/dist/agent/approvals/clicker-floor.d.ts +48 -0
- package/dist/agent/approvals/clicker-floor.d.ts.map +1 -0
- package/dist/agent/approvals/clicker-floor.js +58 -0
- package/dist/agent/approvals/clicker-floor.js.map +1 -0
- package/dist/agent/approvals/decision-authority.internal.d.ts +19 -0
- package/dist/agent/approvals/decision-authority.internal.d.ts.map +1 -0
- package/dist/agent/approvals/decision-authority.internal.js +107 -0
- package/dist/agent/approvals/decision-authority.internal.js.map +1 -0
- package/dist/agent/approvals/decision-wake.d.ts +28 -0
- package/dist/agent/approvals/decision-wake.d.ts.map +1 -0
- package/dist/agent/approvals/decision-wake.js +84 -0
- package/dist/agent/approvals/decision-wake.js.map +1 -0
- package/dist/agent/approvals/domain-exposure.d.ts +27 -0
- package/dist/agent/approvals/domain-exposure.d.ts.map +1 -0
- package/dist/agent/approvals/domain-exposure.js +145 -0
- package/dist/agent/approvals/domain-exposure.js.map +1 -0
- package/dist/agent/approvals/eve-response-policy.d.ts +22 -0
- package/dist/agent/approvals/eve-response-policy.d.ts.map +1 -0
- package/dist/agent/approvals/eve-response-policy.js +27 -0
- package/dist/agent/approvals/eve-response-policy.js.map +1 -0
- package/dist/agent/approvals/flow.d.ts +398 -0
- package/dist/agent/approvals/flow.d.ts.map +1 -0
- package/dist/agent/approvals/flow.js +1722 -0
- package/dist/agent/approvals/flow.js.map +1 -0
- package/dist/agent/approvals/input-response-floor.d.ts +47 -0
- package/dist/agent/approvals/input-response-floor.d.ts.map +1 -0
- package/dist/agent/approvals/input-response-floor.js +56 -0
- package/dist/agent/approvals/input-response-floor.js.map +1 -0
- package/dist/agent/approvals/judge-contradiction.d.ts +56 -0
- package/dist/agent/approvals/judge-contradiction.d.ts.map +1 -0
- package/dist/agent/approvals/judge-contradiction.js +90 -0
- package/dist/agent/approvals/judge-contradiction.js.map +1 -0
- package/dist/agent/approvals/memory-purge.d.ts +2 -0
- package/dist/agent/approvals/memory-purge.d.ts.map +1 -0
- package/dist/agent/approvals/memory-purge.js +128 -0
- package/dist/agent/approvals/memory-purge.js.map +1 -0
- package/dist/agent/approvals/pr-open.d.ts +36 -0
- package/dist/agent/approvals/pr-open.d.ts.map +1 -0
- package/dist/agent/approvals/pr-open.js +134 -0
- package/dist/agent/approvals/pr-open.js.map +1 -0
- package/dist/agent/approvals/review-surface.d.ts +3 -0
- package/dist/agent/approvals/review-surface.d.ts.map +1 -0
- package/dist/agent/approvals/review-surface.js +7 -0
- package/dist/agent/approvals/review-surface.js.map +1 -0
- package/dist/agent/approvals/routine-cancel.d.ts +2 -0
- package/dist/agent/approvals/routine-cancel.d.ts.map +1 -0
- package/dist/agent/approvals/routine-cancel.js +39 -0
- package/dist/agent/approvals/routine-cancel.js.map +1 -0
- package/dist/agent/approvals/routine-create.d.ts +38 -0
- package/dist/agent/approvals/routine-create.d.ts.map +1 -0
- package/dist/agent/approvals/routine-create.js +171 -0
- package/dist/agent/approvals/routine-create.js.map +1 -0
- package/dist/agent/approvals/routine-lifecycle.d.ts +2 -0
- package/dist/agent/approvals/routine-lifecycle.d.ts.map +1 -0
- package/dist/agent/approvals/routine-lifecycle.js +135 -0
- package/dist/agent/approvals/routine-lifecycle.js.map +1 -0
- package/dist/agent/approvals/routine-permission-offer.d.ts +35 -0
- package/dist/agent/approvals/routine-permission-offer.d.ts.map +1 -0
- package/dist/agent/approvals/routine-permission-offer.js +90 -0
- package/dist/agent/approvals/routine-permission-offer.js.map +1 -0
- package/dist/agent/approvals/routine-permission.d.ts +51 -0
- package/dist/agent/approvals/routine-permission.d.ts.map +1 -0
- package/dist/agent/approvals/routine-permission.js +173 -0
- package/dist/agent/approvals/routine-permission.js.map +1 -0
- package/dist/agent/approvals/routine-policy.d.ts +2 -0
- package/dist/agent/approvals/routine-policy.d.ts.map +1 -0
- package/dist/agent/approvals/routine-policy.js +133 -0
- package/dist/agent/approvals/routine-policy.js.map +1 -0
- package/dist/agent/approvals/scope-label.d.ts +11 -0
- package/dist/agent/approvals/scope-label.d.ts.map +1 -0
- package/dist/agent/approvals/scope-label.js +43 -0
- package/dist/agent/approvals/scope-label.js.map +1 -0
- package/dist/agent/approvals/session-checkpoint.d.ts +11 -0
- package/dist/agent/approvals/session-checkpoint.d.ts.map +1 -0
- package/dist/agent/approvals/session-checkpoint.js +60 -0
- package/dist/agent/approvals/session-checkpoint.js.map +1 -0
- package/dist/agent/approvals/session-grant.d.ts +46 -0
- package/dist/agent/approvals/session-grant.d.ts.map +1 -0
- package/dist/agent/approvals/session-grant.js +153 -0
- package/dist/agent/approvals/session-grant.js.map +1 -0
- package/dist/agent/approvals/skill-create.d.ts +2 -0
- package/dist/agent/approvals/skill-create.d.ts.map +1 -0
- package/dist/agent/approvals/skill-create.js +42 -0
- package/dist/agent/approvals/skill-create.js.map +1 -0
- package/dist/agent/approvals/skill-delete.d.ts +2 -0
- package/dist/agent/approvals/skill-delete.d.ts.map +1 -0
- package/dist/agent/approvals/skill-delete.js +38 -0
- package/dist/agent/approvals/skill-delete.js.map +1 -0
- package/dist/agent/approvals/taint-disclosure.d.ts +10 -0
- package/dist/agent/approvals/taint-disclosure.d.ts.map +1 -0
- package/dist/agent/approvals/taint-disclosure.js +36 -0
- package/dist/agent/approvals/taint-disclosure.js.map +1 -0
- package/dist/agent/approvals/ticket-actions.d.ts +27 -0
- package/dist/agent/approvals/ticket-actions.d.ts.map +1 -0
- package/dist/agent/approvals/ticket-actions.js +47 -0
- package/dist/agent/approvals/ticket-actions.js.map +1 -0
- package/dist/agent/approvals/ticket-create.d.ts +19 -0
- package/dist/agent/approvals/ticket-create.d.ts.map +1 -0
- package/dist/agent/approvals/ticket-create.js +46 -0
- package/dist/agent/approvals/ticket-create.js.map +1 -0
- package/dist/agent/approvals/types.d.ts +42 -0
- package/dist/agent/approvals/types.d.ts.map +1 -0
- package/dist/agent/approvals/types.js +3 -0
- package/dist/agent/approvals/types.js.map +1 -0
- package/dist/agent/approvals/webhook-declare.d.ts +55 -0
- package/dist/agent/approvals/webhook-declare.d.ts.map +1 -0
- package/dist/agent/approvals/webhook-declare.js +239 -0
- package/dist/agent/approvals/webhook-declare.js.map +1 -0
- package/dist/agent/approvals/webhook.d.ts +25 -0
- package/dist/agent/approvals/webhook.d.ts.map +1 -0
- package/dist/agent/approvals/webhook.js +156 -0
- package/dist/agent/approvals/webhook.js.map +1 -0
- package/dist/agent/audit/action-registry.d.ts +78 -0
- package/dist/agent/audit/action-registry.d.ts.map +1 -0
- package/dist/agent/audit/action-registry.js +996 -0
- package/dist/agent/audit/action-registry.js.map +1 -0
- package/dist/agent/audit/audit.d.ts +32 -0
- package/dist/agent/audit/audit.d.ts.map +1 -0
- package/dist/agent/audit/audit.js +100 -0
- package/dist/agent/audit/audit.js.map +1 -0
- package/dist/agent/audit/chain.d.ts +196 -0
- package/dist/agent/audit/chain.d.ts.map +1 -0
- package/dist/agent/audit/chain.js +462 -0
- package/dist/agent/audit/chain.js.map +1 -0
- package/dist/agent/audit/tool-action.d.ts +26 -0
- package/dist/agent/audit/tool-action.d.ts.map +1 -0
- package/dist/agent/audit/tool-action.js +271 -0
- package/dist/agent/audit/tool-action.js.map +1 -0
- package/dist/agent/audit/window-tool-gate.d.ts +21 -0
- package/dist/agent/audit/window-tool-gate.d.ts.map +1 -0
- package/dist/agent/audit/window-tool-gate.js +40 -0
- package/dist/agent/audit/window-tool-gate.js.map +1 -0
- package/dist/agent/audit/worker-toolset.d.ts +25 -0
- package/dist/agent/audit/worker-toolset.d.ts.map +1 -0
- package/dist/agent/audit/worker-toolset.js +108 -0
- package/dist/agent/audit/worker-toolset.js.map +1 -0
- package/dist/agent/blob/hosting.d.ts +61 -0
- package/dist/agent/blob/hosting.d.ts.map +1 -0
- package/dist/agent/blob/hosting.js +142 -0
- package/dist/agent/blob/hosting.js.map +1 -0
- package/dist/agent/channels/access-request-ledger.d.ts +36 -0
- package/dist/agent/channels/access-request-ledger.d.ts.map +1 -0
- package/dist/agent/channels/access-request-ledger.js +123 -0
- package/dist/agent/channels/access-request-ledger.js.map +1 -0
- package/dist/agent/channels/ambient-skip.d.ts +19 -0
- package/dist/agent/channels/ambient-skip.d.ts.map +1 -0
- package/dist/agent/channels/ambient-skip.js +88 -0
- package/dist/agent/channels/ambient-skip.js.map +1 -0
- package/dist/agent/channels/answered-container-ledger.d.ts +32 -0
- package/dist/agent/channels/answered-container-ledger.d.ts.map +1 -0
- package/dist/agent/channels/answered-container-ledger.js +70 -0
- package/dist/agent/channels/answered-container-ledger.js.map +1 -0
- package/dist/agent/channels/approval-card.d.ts +266 -0
- package/dist/agent/channels/approval-card.d.ts.map +1 -0
- package/dist/agent/channels/approval-card.js +328 -0
- package/dist/agent/channels/approval-card.js.map +1 -0
- package/dist/agent/channels/approval-claim-guard.d.ts +112 -0
- package/dist/agent/channels/approval-claim-guard.d.ts.map +1 -0
- package/dist/agent/channels/approval-claim-guard.js +324 -0
- package/dist/agent/channels/approval-claim-guard.js.map +1 -0
- package/dist/agent/channels/attachments.d.ts +113 -0
- package/dist/agent/channels/attachments.d.ts.map +1 -0
- package/dist/agent/channels/attachments.js +157 -0
- package/dist/agent/channels/attachments.js.map +1 -0
- package/dist/agent/channels/aws-sso-callback.d.ts +3 -0
- package/dist/agent/channels/aws-sso-callback.d.ts.map +1 -0
- package/dist/agent/channels/aws-sso-callback.js +8 -0
- package/dist/agent/channels/aws-sso-callback.js.map +1 -0
- package/dist/agent/channels/backscroll-window.d.ts +76 -0
- package/dist/agent/channels/backscroll-window.d.ts.map +1 -0
- package/dist/agent/channels/backscroll-window.js +106 -0
- package/dist/agent/channels/backscroll-window.js.map +1 -0
- package/dist/agent/channels/cancel-note.d.ts +45 -0
- package/dist/agent/channels/cancel-note.d.ts.map +1 -0
- package/dist/agent/channels/cancel-note.js +99 -0
- package/dist/agent/channels/cancel-note.js.map +1 -0
- package/dist/agent/channels/channel-key.d.ts +19 -0
- package/dist/agent/channels/channel-key.d.ts.map +1 -0
- package/dist/agent/channels/channel-key.js +53 -0
- package/dist/agent/channels/channel-key.js.map +1 -0
- package/dist/agent/channels/channel-read.d.ts +203 -0
- package/dist/agent/channels/channel-read.d.ts.map +1 -0
- package/dist/agent/channels/channel-read.js +294 -0
- package/dist/agent/channels/channel-read.js.map +1 -0
- package/dist/agent/channels/chat-turn-audit.d.ts +9 -0
- package/dist/agent/channels/chat-turn-audit.d.ts.map +1 -0
- package/dist/agent/channels/chat-turn-audit.js +18 -0
- package/dist/agent/channels/chat-turn-audit.js.map +1 -0
- package/dist/agent/channels/closing-prose-drop.d.ts +34 -0
- package/dist/agent/channels/closing-prose-drop.d.ts.map +1 -0
- package/dist/agent/channels/closing-prose-drop.js +29 -0
- package/dist/agent/channels/closing-prose-drop.js.map +1 -0
- package/dist/agent/channels/command-registration.d.ts +62 -0
- package/dist/agent/channels/command-registration.d.ts.map +1 -0
- package/dist/agent/channels/command-registration.js +128 -0
- package/dist/agent/channels/command-registration.js.map +1 -0
- package/dist/agent/channels/context-render.d.ts +111 -0
- package/dist/agent/channels/context-render.d.ts.map +1 -0
- package/dist/agent/channels/context-render.js +148 -0
- package/dist/agent/channels/context-render.js.map +1 -0
- package/dist/agent/channels/control-mcp.d.ts +3 -0
- package/dist/agent/channels/control-mcp.d.ts.map +1 -0
- package/dist/agent/channels/control-mcp.js +35 -0
- package/dist/agent/channels/control-mcp.js.map +1 -0
- package/dist/agent/channels/control-read.d.ts +3 -0
- package/dist/agent/channels/control-read.d.ts.map +1 -0
- package/dist/agent/channels/control-read.js +21 -0
- package/dist/agent/channels/control-read.js.map +1 -0
- package/dist/agent/channels/credential-intake-page.d.ts +3 -0
- package/dist/agent/channels/credential-intake-page.d.ts.map +1 -0
- package/dist/agent/channels/credential-intake-page.js +11 -0
- package/dist/agent/channels/credential-intake-page.js.map +1 -0
- package/dist/agent/channels/delegated-provenance.d.ts +129 -0
- package/dist/agent/channels/delegated-provenance.d.ts.map +1 -0
- package/dist/agent/channels/delegated-provenance.js +418 -0
- package/dist/agent/channels/delegated-provenance.js.map +1 -0
- package/dist/agent/channels/dm-audience.d.ts +157 -0
- package/dist/agent/channels/dm-audience.d.ts.map +1 -0
- package/dist/agent/channels/dm-audience.js +234 -0
- package/dist/agent/channels/dm-audience.js.map +1 -0
- package/dist/agent/channels/dm-seat.d.ts +68 -0
- package/dist/agent/channels/dm-seat.d.ts.map +1 -0
- package/dist/agent/channels/dm-seat.js +87 -0
- package/dist/agent/channels/dm-seat.js.map +1 -0
- package/dist/agent/channels/domain-fingerprint.d.ts +40 -0
- package/dist/agent/channels/domain-fingerprint.d.ts.map +1 -0
- package/dist/agent/channels/domain-fingerprint.js +94 -0
- package/dist/agent/channels/domain-fingerprint.js.map +1 -0
- package/dist/agent/channels/egress-spoof.d.ts +11 -0
- package/dist/agent/channels/egress-spoof.d.ts.map +1 -0
- package/dist/agent/channels/egress-spoof.js +36 -0
- package/dist/agent/channels/egress-spoof.js.map +1 -0
- package/dist/agent/channels/engaged-wake.d.ts +86 -0
- package/dist/agent/channels/engaged-wake.d.ts.map +1 -0
- package/dist/agent/channels/engaged-wake.js +146 -0
- package/dist/agent/channels/engaged-wake.js.map +1 -0
- package/dist/agent/channels/engagement.d.ts +132 -0
- package/dist/agent/channels/engagement.d.ts.map +1 -0
- package/dist/agent/channels/engagement.js +182 -0
- package/dist/agent/channels/engagement.js.map +1 -0
- package/dist/agent/channels/entity-actions.d.ts +80 -0
- package/dist/agent/channels/entity-actions.d.ts.map +1 -0
- package/dist/agent/channels/entity-actions.js +94 -0
- package/dist/agent/channels/entity-actions.js.map +1 -0
- package/dist/agent/channels/front-queue.d.ts +31 -0
- package/dist/agent/channels/front-queue.d.ts.map +1 -0
- package/dist/agent/channels/front-queue.js +86 -0
- package/dist/agent/channels/front-queue.js.map +1 -0
- package/dist/agent/channels/generation-retirement.d.ts +189 -0
- package/dist/agent/channels/generation-retirement.d.ts.map +1 -0
- package/dist/agent/channels/generation-retirement.js +473 -0
- package/dist/agent/channels/generation-retirement.js.map +1 -0
- package/dist/agent/channels/halt-per-wake.d.ts +53 -0
- package/dist/agent/channels/halt-per-wake.d.ts.map +1 -0
- package/dist/agent/channels/halt-per-wake.js +148 -0
- package/dist/agent/channels/halt-per-wake.js.map +1 -0
- package/dist/agent/channels/memory-claim-guard.d.ts +77 -0
- package/dist/agent/channels/memory-claim-guard.d.ts.map +1 -0
- package/dist/agent/channels/memory-claim-guard.js +389 -0
- package/dist/agent/channels/memory-claim-guard.js.map +1 -0
- package/dist/agent/channels/name-drop-wake-audit.d.ts +93 -0
- package/dist/agent/channels/name-drop-wake-audit.d.ts.map +1 -0
- package/dist/agent/channels/name-drop-wake-audit.js +92 -0
- package/dist/agent/channels/name-drop-wake-audit.js.map +1 -0
- package/dist/agent/channels/native-wake-retry.d.ts +16 -0
- package/dist/agent/channels/native-wake-retry.d.ts.map +1 -0
- package/dist/agent/channels/native-wake-retry.js +44 -0
- package/dist/agent/channels/native-wake-retry.js.map +1 -0
- package/dist/agent/channels/no-reply-signal.d.ts +12 -0
- package/dist/agent/channels/no-reply-signal.d.ts.map +1 -0
- package/dist/agent/channels/no-reply-signal.js +37 -0
- package/dist/agent/channels/no-reply-signal.js.map +1 -0
- package/dist/agent/channels/normalized-wake.d.ts +129 -0
- package/dist/agent/channels/normalized-wake.d.ts.map +1 -0
- package/dist/agent/channels/normalized-wake.js +153 -0
- package/dist/agent/channels/normalized-wake.js.map +1 -0
- package/dist/agent/channels/oe-oauth-callback.d.ts +3 -0
- package/dist/agent/channels/oe-oauth-callback.d.ts.map +1 -0
- package/dist/agent/channels/oe-oauth-callback.js +8 -0
- package/dist/agent/channels/oe-oauth-callback.js.map +1 -0
- package/dist/agent/channels/own-post-ledger.d.ts +35 -0
- package/dist/agent/channels/own-post-ledger.d.ts.map +1 -0
- package/dist/agent/channels/own-post-ledger.js +57 -0
- package/dist/agent/channels/own-post-ledger.js.map +1 -0
- package/dist/agent/channels/platform-failure.d.ts +20 -0
- package/dist/agent/channels/platform-failure.d.ts.map +1 -0
- package/dist/agent/channels/platform-failure.js +42 -0
- package/dist/agent/channels/platform-failure.js.map +1 -0
- package/dist/agent/channels/policy-pages.d.ts +3 -0
- package/dist/agent/channels/policy-pages.d.ts.map +1 -0
- package/dist/agent/channels/policy-pages.js +14 -0
- package/dist/agent/channels/policy-pages.js.map +1 -0
- package/dist/agent/channels/post-arms.d.ts +202 -0
- package/dist/agent/channels/post-arms.d.ts.map +1 -0
- package/dist/agent/channels/post-arms.js +146 -0
- package/dist/agent/channels/post-arms.js.map +1 -0
- package/dist/agent/channels/proactive-dm-manifest.d.ts +28 -0
- package/dist/agent/channels/proactive-dm-manifest.d.ts.map +1 -0
- package/dist/agent/channels/proactive-dm-manifest.js +80 -0
- package/dist/agent/channels/proactive-dm-manifest.js.map +1 -0
- package/dist/agent/channels/propose-scope.d.ts +18 -0
- package/dist/agent/channels/propose-scope.d.ts.map +1 -0
- package/dist/agent/channels/propose-scope.js +91 -0
- package/dist/agent/channels/propose-scope.js.map +1 -0
- package/dist/agent/channels/question-bridge.d.ts +291 -0
- package/dist/agent/channels/question-bridge.d.ts.map +1 -0
- package/dist/agent/channels/question-bridge.js +412 -0
- package/dist/agent/channels/question-bridge.js.map +1 -0
- package/dist/agent/channels/rate-limit-retry.d.ts +157 -0
- package/dist/agent/channels/rate-limit-retry.d.ts.map +1 -0
- package/dist/agent/channels/rate-limit-retry.js +256 -0
- package/dist/agent/channels/rate-limit-retry.js.map +1 -0
- package/dist/agent/channels/react-signal.d.ts +5 -0
- package/dist/agent/channels/react-signal.d.ts.map +1 -0
- package/dist/agent/channels/react-signal.js +25 -0
- package/dist/agent/channels/react-signal.js.map +1 -0
- package/dist/agent/channels/reaction-ingest.d.ts +87 -0
- package/dist/agent/channels/reaction-ingest.d.ts.map +1 -0
- package/dist/agent/channels/reaction-ingest.js +138 -0
- package/dist/agent/channels/reaction-ingest.js.map +1 -0
- package/dist/agent/channels/read-author-trust.d.ts +26 -0
- package/dist/agent/channels/read-author-trust.d.ts.map +1 -0
- package/dist/agent/channels/read-author-trust.js +56 -0
- package/dist/agent/channels/read-author-trust.js.map +1 -0
- package/dist/agent/channels/read-reach.d.ts +156 -0
- package/dist/agent/channels/read-reach.d.ts.map +1 -0
- package/dist/agent/channels/read-reach.js +293 -0
- package/dist/agent/channels/read-reach.js.map +1 -0
- package/dist/agent/channels/read-scope-audit.d.ts +39 -0
- package/dist/agent/channels/read-scope-audit.d.ts.map +1 -0
- package/dist/agent/channels/read-scope-audit.js +88 -0
- package/dist/agent/channels/read-scope-audit.js.map +1 -0
- package/dist/agent/channels/read-scope-error.d.ts +4 -0
- package/dist/agent/channels/read-scope-error.d.ts.map +1 -0
- package/dist/agent/channels/read-scope-error.js +6 -0
- package/dist/agent/channels/read-scope-error.js.map +1 -0
- package/dist/agent/channels/read-spool.d.ts +38 -0
- package/dist/agent/channels/read-spool.d.ts.map +1 -0
- package/dist/agent/channels/read-spool.js +97 -0
- package/dist/agent/channels/read-spool.js.map +1 -0
- package/dist/agent/channels/reply-edit.d.ts +47 -0
- package/dist/agent/channels/reply-edit.d.ts.map +1 -0
- package/dist/agent/channels/reply-edit.js +173 -0
- package/dist/agent/channels/reply-edit.js.map +1 -0
- package/dist/agent/channels/reply-fold.d.ts +186 -0
- package/dist/agent/channels/reply-fold.d.ts.map +1 -0
- package/dist/agent/channels/reply-fold.js +427 -0
- package/dist/agent/channels/reply-fold.js.map +1 -0
- package/dist/agent/channels/reply-freshness.d.ts +69 -0
- package/dist/agent/channels/reply-freshness.d.ts.map +1 -0
- package/dist/agent/channels/reply-freshness.js +208 -0
- package/dist/agent/channels/reply-freshness.js.map +1 -0
- package/dist/agent/channels/reply-post.d.ts +176 -0
- package/dist/agent/channels/reply-post.d.ts.map +1 -0
- package/dist/agent/channels/reply-post.js +407 -0
- package/dist/agent/channels/reply-post.js.map +1 -0
- package/dist/agent/channels/reply-provenance.d.ts +172 -0
- package/dist/agent/channels/reply-provenance.d.ts.map +1 -0
- package/dist/agent/channels/reply-provenance.js +662 -0
- package/dist/agent/channels/reply-provenance.js.map +1 -0
- package/dist/agent/channels/reply-signal.d.ts +141 -0
- package/dist/agent/channels/reply-signal.d.ts.map +1 -0
- package/dist/agent/channels/reply-signal.js +554 -0
- package/dist/agent/channels/reply-signal.js.map +1 -0
- package/dist/agent/channels/request-claim-guard.d.ts +91 -0
- package/dist/agent/channels/request-claim-guard.d.ts.map +1 -0
- package/dist/agent/channels/request-claim-guard.js +457 -0
- package/dist/agent/channels/request-claim-guard.js.map +1 -0
- package/dist/agent/channels/runtime-code-fingerprint.generated.d.ts +2 -0
- package/dist/agent/channels/runtime-code-fingerprint.generated.d.ts.map +1 -0
- package/dist/agent/channels/runtime-code-fingerprint.generated.js +9 -0
- package/dist/agent/channels/runtime-code-fingerprint.generated.js.map +1 -0
- package/dist/agent/channels/runtime-rotation.d.ts +98 -0
- package/dist/agent/channels/runtime-rotation.d.ts.map +1 -0
- package/dist/agent/channels/runtime-rotation.js +178 -0
- package/dist/agent/channels/runtime-rotation.js.map +1 -0
- package/dist/agent/channels/seat-admission.d.ts +61 -0
- package/dist/agent/channels/seat-admission.d.ts.map +1 -0
- package/dist/agent/channels/seat-admission.js +64 -0
- package/dist/agent/channels/seat-admission.js.map +1 -0
- package/dist/agent/channels/seat-catch-up.d.ts +240 -0
- package/dist/agent/channels/seat-catch-up.d.ts.map +1 -0
- package/dist/agent/channels/seat-catch-up.js +353 -0
- package/dist/agent/channels/seat-catch-up.js.map +1 -0
- package/dist/agent/channels/self-dispatch.d.ts +89 -0
- package/dist/agent/channels/self-dispatch.d.ts.map +1 -0
- package/dist/agent/channels/self-dispatch.js +310 -0
- package/dist/agent/channels/self-dispatch.js.map +1 -0
- package/dist/agent/channels/session-park.d.ts +120 -0
- package/dist/agent/channels/session-park.d.ts.map +1 -0
- package/dist/agent/channels/session-park.js +170 -0
- package/dist/agent/channels/session-park.js.map +1 -0
- package/dist/agent/channels/session-resume.d.ts +26 -0
- package/dist/agent/channels/session-resume.d.ts.map +1 -0
- package/dist/agent/channels/session-resume.js +34 -0
- package/dist/agent/channels/session-resume.js.map +1 -0
- package/dist/agent/channels/session-tail-record.d.ts +65 -0
- package/dist/agent/channels/session-tail-record.d.ts.map +1 -0
- package/dist/agent/channels/session-tail-record.js +129 -0
- package/dist/agent/channels/session-tail-record.js.map +1 -0
- package/dist/agent/channels/session-tail.d.ts +90 -0
- package/dist/agent/channels/session-tail.d.ts.map +1 -0
- package/dist/agent/channels/session-tail.js +79 -0
- package/dist/agent/channels/session-tail.js.map +1 -0
- package/dist/agent/channels/slack-bridge.d.ts +56 -0
- package/dist/agent/channels/slack-bridge.d.ts.map +1 -0
- package/dist/agent/channels/slack-bridge.js +80 -0
- package/dist/agent/channels/slack-bridge.js.map +1 -0
- package/dist/agent/channels/stand-down-silence.d.ts +49 -0
- package/dist/agent/channels/stand-down-silence.d.ts.map +1 -0
- package/dist/agent/channels/stand-down-silence.js +101 -0
- package/dist/agent/channels/stand-down-silence.js.map +1 -0
- package/dist/agent/channels/standing-authority.d.ts +69 -0
- package/dist/agent/channels/standing-authority.d.ts.map +1 -0
- package/dist/agent/channels/standing-authority.js +205 -0
- package/dist/agent/channels/standing-authority.js.map +1 -0
- package/dist/agent/channels/stranded-seat.d.ts +73 -0
- package/dist/agent/channels/stranded-seat.d.ts.map +1 -0
- package/dist/agent/channels/stranded-seat.js +107 -0
- package/dist/agent/channels/stranded-seat.js.map +1 -0
- package/dist/agent/channels/supervisor-complete.d.ts +61 -0
- package/dist/agent/channels/supervisor-complete.d.ts.map +1 -0
- package/dist/agent/channels/supervisor-complete.js +86 -0
- package/dist/agent/channels/supervisor-complete.js.map +1 -0
- package/dist/agent/channels/surface-message-ops.d.ts +100 -0
- package/dist/agent/channels/surface-message-ops.d.ts.map +1 -0
- package/dist/agent/channels/surface-message-ops.js +156 -0
- package/dist/agent/channels/surface-message-ops.js.map +1 -0
- package/dist/agent/channels/task-wake.d.ts +116 -0
- package/dist/agent/channels/task-wake.d.ts.map +1 -0
- package/dist/agent/channels/task-wake.js +390 -0
- package/dist/agent/channels/task-wake.js.map +1 -0
- package/dist/agent/channels/teams-bridge.d.ts +55 -0
- package/dist/agent/channels/teams-bridge.d.ts.map +1 -0
- package/dist/agent/channels/teams-bridge.js +25 -0
- package/dist/agent/channels/teams-bridge.js.map +1 -0
- package/dist/agent/channels/test-wake.d.ts +3 -0
- package/dist/agent/channels/test-wake.d.ts.map +1 -0
- package/dist/agent/channels/test-wake.js +11 -0
- package/dist/agent/channels/test-wake.js.map +1 -0
- package/dist/agent/channels/thread-ownership.d.ts +38 -0
- package/dist/agent/channels/thread-ownership.d.ts.map +1 -0
- package/dist/agent/channels/thread-ownership.js +53 -0
- package/dist/agent/channels/thread-ownership.js.map +1 -0
- package/dist/agent/channels/thread-seat-state.d.ts +35 -0
- package/dist/agent/channels/thread-seat-state.d.ts.map +1 -0
- package/dist/agent/channels/thread-seat-state.js +64 -0
- package/dist/agent/channels/thread-seat-state.js.map +1 -0
- package/dist/agent/channels/ticket-create.d.ts +77 -0
- package/dist/agent/channels/ticket-create.d.ts.map +1 -0
- package/dist/agent/channels/ticket-create.js +83 -0
- package/dist/agent/channels/ticket-create.js.map +1 -0
- package/dist/agent/channels/transcript-relay.d.ts +3 -0
- package/dist/agent/channels/transcript-relay.d.ts.map +1 -0
- package/dist/agent/channels/transcript-relay.js +8 -0
- package/dist/agent/channels/transcript-relay.js.map +1 -0
- package/dist/agent/channels/turn-cancel.d.ts +188 -0
- package/dist/agent/channels/turn-cancel.d.ts.map +1 -0
- package/dist/agent/channels/turn-cancel.js +310 -0
- package/dist/agent/channels/turn-cancel.js.map +1 -0
- package/dist/agent/channels/turn-delivery.d.ts +213 -0
- package/dist/agent/channels/turn-delivery.d.ts.map +1 -0
- package/dist/agent/channels/turn-delivery.js +384 -0
- package/dist/agent/channels/turn-delivery.js.map +1 -0
- package/dist/agent/channels/turn-registry.d.ts +47 -0
- package/dist/agent/channels/turn-registry.d.ts.map +1 -0
- package/dist/agent/channels/turn-registry.js +93 -0
- package/dist/agent/channels/turn-registry.js.map +1 -0
- package/dist/agent/channels/turn-terminal-actions.d.ts +22 -0
- package/dist/agent/channels/turn-terminal-actions.d.ts.map +1 -0
- package/dist/agent/channels/turn-terminal-actions.js +128 -0
- package/dist/agent/channels/turn-terminal-actions.js.map +1 -0
- package/dist/agent/channels/unified-redrive.d.ts +74 -0
- package/dist/agent/channels/unified-redrive.d.ts.map +1 -0
- package/dist/agent/channels/unified-redrive.js +141 -0
- package/dist/agent/channels/unified-redrive.js.map +1 -0
- package/dist/agent/channels/unified-reply.d.ts +102 -0
- package/dist/agent/channels/unified-reply.d.ts.map +1 -0
- package/dist/agent/channels/unified-reply.js +247 -0
- package/dist/agent/channels/unified-reply.js.map +1 -0
- package/dist/agent/channels/unified-supervisor.d.ts +100 -0
- package/dist/agent/channels/unified-supervisor.d.ts.map +1 -0
- package/dist/agent/channels/unified-supervisor.js +143 -0
- package/dist/agent/channels/unified-supervisor.js.map +1 -0
- package/dist/agent/channels/unified-window.d.ts +550 -0
- package/dist/agent/channels/unified-window.d.ts.map +1 -0
- package/dist/agent/channels/unified-window.js +731 -0
- package/dist/agent/channels/unified-window.js.map +1 -0
- package/dist/agent/channels/unified.d.ts +251 -0
- package/dist/agent/channels/unified.d.ts.map +1 -0
- package/dist/agent/channels/unified.js +1333 -0
- package/dist/agent/channels/unified.js.map +1 -0
- package/dist/agent/channels/wake-accounting.d.ts +57 -0
- package/dist/agent/channels/wake-accounting.d.ts.map +1 -0
- package/dist/agent/channels/wake-accounting.js +87 -0
- package/dist/agent/channels/wake-accounting.js.map +1 -0
- package/dist/agent/channels/wake-arm.d.ts +80 -0
- package/dist/agent/channels/wake-arm.d.ts.map +1 -0
- package/dist/agent/channels/wake-arm.js +173 -0
- package/dist/agent/channels/wake-arm.js.map +1 -0
- package/dist/agent/channels/wake-container.d.ts +27 -0
- package/dist/agent/channels/wake-container.d.ts.map +1 -0
- package/dist/agent/channels/wake-container.js +33 -0
- package/dist/agent/channels/wake-container.js.map +1 -0
- package/dist/agent/channels/wake-envelope.d.ts +252 -0
- package/dist/agent/channels/wake-envelope.d.ts.map +1 -0
- package/dist/agent/channels/wake-envelope.js +364 -0
- package/dist/agent/channels/wake-envelope.js.map +1 -0
- package/dist/agent/channels/wake-origin-codec.d.ts +77 -0
- package/dist/agent/channels/wake-origin-codec.d.ts.map +1 -0
- package/dist/agent/channels/wake-origin-codec.js +21 -0
- package/dist/agent/channels/wake-origin-codec.js.map +1 -0
- package/dist/agent/channels/wake-origin-codecs.d.ts +2 -0
- package/dist/agent/channels/wake-origin-codecs.d.ts.map +1 -0
- package/dist/agent/channels/wake-origin-codecs.js +4 -0
- package/dist/agent/channels/wake-origin-codecs.js.map +1 -0
- package/dist/agent/channels/wake-timing.d.ts +230 -0
- package/dist/agent/channels/wake-timing.d.ts.map +1 -0
- package/dist/agent/channels/wake-timing.js +256 -0
- package/dist/agent/channels/wake-timing.js.map +1 -0
- package/dist/agent/channels/webhook-reveal-page.d.ts +3 -0
- package/dist/agent/channels/webhook-reveal-page.d.ts.map +1 -0
- package/dist/agent/channels/webhook-reveal-page.js +11 -0
- package/dist/agent/channels/webhook-reveal-page.js.map +1 -0
- package/dist/agent/channels/webhooks.d.ts +5 -0
- package/dist/agent/channels/webhooks.d.ts.map +1 -0
- package/dist/agent/channels/webhooks.js +197 -0
- package/dist/agent/channels/webhooks.js.map +1 -0
- package/dist/agent/channels/window-key.d.ts +187 -0
- package/dist/agent/channels/window-key.d.ts.map +1 -0
- package/dist/agent/channels/window-key.js +379 -0
- package/dist/agent/channels/window-key.js.map +1 -0
- package/dist/agent/channels/window-sources.d.ts +17 -0
- package/dist/agent/channels/window-sources.d.ts.map +1 -0
- package/dist/agent/channels/window-sources.js +86 -0
- package/dist/agent/channels/window-sources.js.map +1 -0
- package/dist/agent/channels/work-destinations.d.ts +8 -0
- package/dist/agent/channels/work-destinations.d.ts.map +1 -0
- package/dist/agent/channels/work-destinations.js +45 -0
- package/dist/agent/channels/work-destinations.js.map +1 -0
- package/dist/agent/channels/work-registry.d.ts +13 -0
- package/dist/agent/channels/work-registry.d.ts.map +1 -0
- package/dist/agent/channels/work-registry.js +23 -0
- package/dist/agent/channels/work-registry.js.map +1 -0
- package/dist/agent/channels/work-search.d.ts +52 -0
- package/dist/agent/channels/work-search.d.ts.map +1 -0
- package/dist/agent/channels/work-search.js +54 -0
- package/dist/agent/channels/work-search.js.map +1 -0
- package/dist/agent/commands/core.d.ts +184 -0
- package/dist/agent/commands/core.d.ts.map +1 -0
- package/dist/agent/commands/core.js +541 -0
- package/dist/agent/commands/core.js.map +1 -0
- package/dist/agent/commands/rate.d.ts +55 -0
- package/dist/agent/commands/rate.d.ts.map +1 -0
- package/dist/agent/commands/rate.js +146 -0
- package/dist/agent/commands/rate.js.map +1 -0
- package/dist/agent/connections/auth-retry-memo.d.ts +28 -0
- package/dist/agent/connections/auth-retry-memo.d.ts.map +1 -0
- package/dist/agent/connections/auth-retry-memo.js +109 -0
- package/dist/agent/connections/auth-retry-memo.js.map +1 -0
- package/dist/agent/connections/aws-exec.d.ts +27 -0
- package/dist/agent/connections/aws-exec.d.ts.map +1 -0
- package/dist/agent/connections/aws-exec.js +22 -0
- package/dist/agent/connections/aws-exec.js.map +1 -0
- package/dist/agent/connections/aws-identity.d.ts +138 -0
- package/dist/agent/connections/aws-identity.d.ts.map +1 -0
- package/dist/agent/connections/aws-identity.js +163 -0
- package/dist/agent/connections/aws-identity.js.map +1 -0
- package/dist/agent/connections/aws-sso-callback.d.ts +33 -0
- package/dist/agent/connections/aws-sso-callback.d.ts.map +1 -0
- package/dist/agent/connections/aws-sso-callback.js +68 -0
- package/dist/agent/connections/aws-sso-callback.js.map +1 -0
- package/dist/agent/connections/aws-sso-identity-binding.d.ts +30 -0
- package/dist/agent/connections/aws-sso-identity-binding.d.ts.map +1 -0
- package/dist/agent/connections/aws-sso-identity-binding.js +95 -0
- package/dist/agent/connections/aws-sso-identity-binding.js.map +1 -0
- package/dist/agent/connections/aws-sso-link.d.ts +18 -0
- package/dist/agent/connections/aws-sso-link.d.ts.map +1 -0
- package/dist/agent/connections/aws-sso-link.js +22 -0
- package/dist/agent/connections/aws-sso-link.js.map +1 -0
- package/dist/agent/connections/connector-auth.d.ts +216 -0
- package/dist/agent/connections/connector-auth.d.ts.map +1 -0
- package/dist/agent/connections/connector-auth.js +745 -0
- package/dist/agent/connections/connector-auth.js.map +1 -0
- package/dist/agent/connections/connector-card.d.ts +61 -0
- package/dist/agent/connections/connector-card.d.ts.map +1 -0
- package/dist/agent/connections/connector-card.js +361 -0
- package/dist/agent/connections/connector-card.js.map +1 -0
- package/dist/agent/connections/connector-flags.d.ts +22 -0
- package/dist/agent/connections/connector-flags.d.ts.map +1 -0
- package/dist/agent/connections/connector-flags.js +40 -0
- package/dist/agent/connections/connector-flags.js.map +1 -0
- package/dist/agent/connections/connector-offer.d.ts +122 -0
- package/dist/agent/connections/connector-offer.d.ts.map +1 -0
- package/dist/agent/connections/connector-offer.js +145 -0
- package/dist/agent/connections/connector-offer.js.map +1 -0
- package/dist/agent/connections/connector-transport.d.ts +55 -0
- package/dist/agent/connections/connector-transport.d.ts.map +1 -0
- package/dist/agent/connections/connector-transport.js +80 -0
- package/dist/agent/connections/connector-transport.js.map +1 -0
- package/dist/agent/connections/consent-resume.d.ts +81 -0
- package/dist/agent/connections/consent-resume.d.ts.map +1 -0
- package/dist/agent/connections/consent-resume.js +142 -0
- package/dist/agent/connections/consent-resume.js.map +1 -0
- package/dist/agent/connections/grant-mcp-borrow.d.ts +116 -0
- package/dist/agent/connections/grant-mcp-borrow.d.ts.map +1 -0
- package/dist/agent/connections/grant-mcp-borrow.js +256 -0
- package/dist/agent/connections/grant-mcp-borrow.js.map +1 -0
- package/dist/agent/connections/grant-mcp-transport.d.ts +13 -0
- package/dist/agent/connections/grant-mcp-transport.d.ts.map +1 -0
- package/dist/agent/connections/grant-mcp-transport.js +50 -0
- package/dist/agent/connections/grant-mcp-transport.js.map +1 -0
- package/dist/agent/connections/notion.d.ts +3 -0
- package/dist/agent/connections/notion.d.ts.map +1 -0
- package/dist/agent/connections/notion.js +35 -0
- package/dist/agent/connections/notion.js.map +1 -0
- package/dist/agent/connections/oe-oauth-callback.d.ts +61 -0
- package/dist/agent/connections/oe-oauth-callback.d.ts.map +1 -0
- package/dist/agent/connections/oe-oauth-callback.js +142 -0
- package/dist/agent/connections/oe-oauth-callback.js.map +1 -0
- package/dist/agent/connections/own-account-ask.d.ts +120 -0
- package/dist/agent/connections/own-account-ask.d.ts.map +1 -0
- package/dist/agent/connections/own-account-ask.js +204 -0
- package/dist/agent/connections/own-account-ask.js.map +1 -0
- package/dist/agent/connections/own-account-carriage.d.ts +33 -0
- package/dist/agent/connections/own-account-carriage.d.ts.map +1 -0
- package/dist/agent/connections/own-account-carriage.js +102 -0
- package/dist/agent/connections/own-account-carriage.js.map +1 -0
- package/dist/agent/connections/own-account-gate.d.ts +105 -0
- package/dist/agent/connections/own-account-gate.d.ts.map +1 -0
- package/dist/agent/connections/own-account-gate.js +305 -0
- package/dist/agent/connections/own-account-gate.js.map +1 -0
- package/dist/agent/connections/own-account-vendors.d.ts +40 -0
- package/dist/agent/connections/own-account-vendors.d.ts.map +1 -0
- package/dist/agent/connections/own-account-vendors.js +106 -0
- package/dist/agent/connections/own-account-vendors.js.map +1 -0
- package/dist/agent/connections/user-auth-flow.d.ts +78 -0
- package/dist/agent/connections/user-auth-flow.d.ts.map +1 -0
- package/dist/agent/connections/user-auth-flow.js +41 -0
- package/dist/agent/connections/user-auth-flow.js.map +1 -0
- package/dist/agent/contributions.d.ts +671 -0
- package/dist/agent/contributions.d.ts.map +1 -0
- package/dist/agent/contributions.js +192 -0
- package/dist/agent/contributions.js.map +1 -0
- package/dist/agent/control/auth.d.ts +291 -0
- package/dist/agent/control/auth.d.ts.map +1 -0
- package/dist/agent/control/auth.js +533 -0
- package/dist/agent/control/auth.js.map +1 -0
- package/dist/agent/control/capture-window-read.d.ts +115 -0
- package/dist/agent/control/capture-window-read.d.ts.map +1 -0
- package/dist/agent/control/capture-window-read.js +302 -0
- package/dist/agent/control/capture-window-read.js.map +1 -0
- package/dist/agent/control/delivery-history.d.ts +163 -0
- package/dist/agent/control/delivery-history.d.ts.map +1 -0
- package/dist/agent/control/delivery-history.js +397 -0
- package/dist/agent/control/delivery-history.js.map +1 -0
- package/dist/agent/control/http.d.ts +13 -0
- package/dist/agent/control/http.d.ts.map +1 -0
- package/dist/agent/control/http.js +131 -0
- package/dist/agent/control/http.js.map +1 -0
- package/dist/agent/control/mcp-route.d.ts +13 -0
- package/dist/agent/control/mcp-route.d.ts.map +1 -0
- package/dist/agent/control/mcp-route.js +100 -0
- package/dist/agent/control/mcp-route.js.map +1 -0
- package/dist/agent/control/oauth-clients.d.ts +145 -0
- package/dist/agent/control/oauth-clients.d.ts.map +1 -0
- package/dist/agent/control/oauth-clients.js +229 -0
- package/dist/agent/control/oauth-clients.js.map +1 -0
- package/dist/agent/control/oauth-resource.d.ts +59 -0
- package/dist/agent/control/oauth-resource.d.ts.map +1 -0
- package/dist/agent/control/oauth-resource.js +168 -0
- package/dist/agent/control/oauth-resource.js.map +1 -0
- package/dist/agent/control/oauth-route.d.ts +50 -0
- package/dist/agent/control/oauth-route.d.ts.map +1 -0
- package/dist/agent/control/oauth-route.js +343 -0
- package/dist/agent/control/oauth-route.js.map +1 -0
- package/dist/agent/control/oauth-tokens.d.ts +88 -0
- package/dist/agent/control/oauth-tokens.d.ts.map +1 -0
- package/dist/agent/control/oauth-tokens.js +171 -0
- package/dist/agent/control/oauth-tokens.js.map +1 -0
- package/dist/agent/control/read-route.d.ts +278 -0
- package/dist/agent/control/read-route.d.ts.map +1 -0
- package/dist/agent/control/read-route.js +761 -0
- package/dist/agent/control/read-route.js.map +1 -0
- package/dist/agent/control/server.d.ts +49 -0
- package/dist/agent/control/server.d.ts.map +1 -0
- package/dist/agent/control/server.js +405 -0
- package/dist/agent/control/server.js.map +1 -0
- package/dist/agent/control/test-route.d.ts +85 -0
- package/dist/agent/control/test-route.d.ts.map +1 -0
- package/dist/agent/control/test-route.js +426 -0
- package/dist/agent/control/test-route.js.map +1 -0
- package/dist/agent/control/transcript-export.d.ts +68 -0
- package/dist/agent/control/transcript-export.d.ts.map +1 -0
- package/dist/agent/control/transcript-export.js +145 -0
- package/dist/agent/control/transcript-export.js.map +1 -0
- package/dist/agent/control/transcript-relay.d.ts +104 -0
- package/dist/agent/control/transcript-relay.d.ts.map +1 -0
- package/dist/agent/control/transcript-relay.js +314 -0
- package/dist/agent/control/transcript-relay.js.map +1 -0
- package/dist/agent/control/transcript-render.d.ts +43 -0
- package/dist/agent/control/transcript-render.d.ts.map +1 -0
- package/dist/agent/control/transcript-render.js +142 -0
- package/dist/agent/control/transcript-render.js.map +1 -0
- package/dist/agent/control/views.d.ts +511 -0
- package/dist/agent/control/views.d.ts.map +1 -0
- package/dist/agent/control/views.js +743 -0
- package/dist/agent/control/views.js.map +1 -0
- package/dist/agent/control/writes.d.ts +15 -0
- package/dist/agent/control/writes.d.ts.map +1 -0
- package/dist/agent/control/writes.js +1309 -0
- package/dist/agent/control/writes.js.map +1 -0
- package/dist/agent/credentials/binding-pr.d.ts +51 -0
- package/dist/agent/credentials/binding-pr.d.ts.map +1 -0
- package/dist/agent/credentials/binding-pr.js +178 -0
- package/dist/agent/credentials/binding-pr.js.map +1 -0
- package/dist/agent/credentials/config-pr-github.d.ts +24 -0
- package/dist/agent/credentials/config-pr-github.d.ts.map +1 -0
- package/dist/agent/credentials/config-pr-github.js +160 -0
- package/dist/agent/credentials/config-pr-github.js.map +1 -0
- package/dist/agent/credentials/config-pr.d.ts +148 -0
- package/dist/agent/credentials/config-pr.d.ts.map +1 -0
- package/dist/agent/credentials/config-pr.js +45 -0
- package/dist/agent/credentials/config-pr.js.map +1 -0
- package/dist/agent/credentials/db-broker.d.ts +82 -0
- package/dist/agent/credentials/db-broker.d.ts.map +1 -0
- package/dist/agent/credentials/db-broker.js +231 -0
- package/dist/agent/credentials/db-broker.js.map +1 -0
- package/dist/agent/credentials/home.d.ts +51 -0
- package/dist/agent/credentials/home.d.ts.map +1 -0
- package/dist/agent/credentials/home.js +43 -0
- package/dist/agent/credentials/home.js.map +1 -0
- package/dist/agent/credentials/intake-page.d.ts +54 -0
- package/dist/agent/credentials/intake-page.d.ts.map +1 -0
- package/dist/agent/credentials/intake-page.js +238 -0
- package/dist/agent/credentials/intake-page.js.map +1 -0
- package/dist/agent/credentials/intake.d.ts +147 -0
- package/dist/agent/credentials/intake.d.ts.map +1 -0
- package/dist/agent/credentials/intake.js +404 -0
- package/dist/agent/credentials/intake.js.map +1 -0
- package/dist/agent/credentials/kv-vault.d.ts +69 -0
- package/dist/agent/credentials/kv-vault.d.ts.map +1 -0
- package/dist/agent/credentials/kv-vault.js +121 -0
- package/dist/agent/credentials/kv-vault.js.map +1 -0
- package/dist/agent/credentials/operator-secrets.d.ts +169 -0
- package/dist/agent/credentials/operator-secrets.d.ts.map +1 -0
- package/dist/agent/credentials/operator-secrets.js +316 -0
- package/dist/agent/credentials/operator-secrets.js.map +1 -0
- package/dist/agent/credentials/page-chrome.d.ts +11 -0
- package/dist/agent/credentials/page-chrome.d.ts.map +1 -0
- package/dist/agent/credentials/page-chrome.js +52 -0
- package/dist/agent/credentials/page-chrome.js.map +1 -0
- package/dist/agent/credentials/page-token.d.ts +73 -0
- package/dist/agent/credentials/page-token.d.ts.map +1 -0
- package/dist/agent/credentials/page-token.js +197 -0
- package/dist/agent/credentials/page-token.js.map +1 -0
- package/dist/agent/credentials/purge.d.ts +54 -0
- package/dist/agent/credentials/purge.d.ts.map +1 -0
- package/dist/agent/credentials/purge.js +82 -0
- package/dist/agent/credentials/purge.js.map +1 -0
- package/dist/agent/credentials/ref.d.ts +72 -0
- package/dist/agent/credentials/ref.d.ts.map +1 -0
- package/dist/agent/credentials/ref.js +110 -0
- package/dist/agent/credentials/ref.js.map +1 -0
- package/dist/agent/credentials/reserved-refs.d.ts +31 -0
- package/dist/agent/credentials/reserved-refs.d.ts.map +1 -0
- package/dist/agent/credentials/reserved-refs.js +70 -0
- package/dist/agent/credentials/reserved-refs.js.map +1 -0
- package/dist/agent/credentials/self-secrets.d.ts +24 -0
- package/dist/agent/credentials/self-secrets.d.ts.map +1 -0
- package/dist/agent/credentials/self-secrets.js +138 -0
- package/dist/agent/credentials/self-secrets.js.map +1 -0
- package/dist/agent/credentials/warm.d.ts +77 -0
- package/dist/agent/credentials/warm.d.ts.map +1 -0
- package/dist/agent/credentials/warm.js +136 -0
- package/dist/agent/credentials/warm.js.map +1 -0
- package/dist/agent/docs/approver-policy.d.ts +70 -0
- package/dist/agent/docs/approver-policy.d.ts.map +1 -0
- package/dist/agent/docs/approver-policy.js +193 -0
- package/dist/agent/docs/approver-policy.js.map +1 -0
- package/dist/agent/docs/capability-map.d.ts +69 -0
- package/dist/agent/docs/capability-map.d.ts.map +1 -0
- package/dist/agent/docs/capability-map.js +142 -0
- package/dist/agent/docs/capability-map.js.map +1 -0
- package/dist/agent/docs/counted-claims.d.ts +61 -0
- package/dist/agent/docs/counted-claims.d.ts.map +1 -0
- package/dist/agent/docs/counted-claims.js +363 -0
- package/dist/agent/docs/counted-claims.js.map +1 -0
- package/dist/agent/docs/registry.d.ts +73 -0
- package/dist/agent/docs/registry.d.ts.map +1 -0
- package/dist/agent/docs/registry.js +157 -0
- package/dist/agent/docs/registry.js.map +1 -0
- package/dist/agent/docs/source-map.d.ts +69 -0
- package/dist/agent/docs/source-map.d.ts.map +1 -0
- package/dist/agent/docs/source-map.js +156 -0
- package/dist/agent/docs/source-map.js.map +1 -0
- package/dist/agent/hooks/approval-raised.d.ts +3 -0
- package/dist/agent/hooks/approval-raised.d.ts.map +1 -0
- package/dist/agent/hooks/approval-raised.js +31 -0
- package/dist/agent/hooks/approval-raised.js.map +1 -0
- package/dist/agent/hooks/approval-settlement.d.ts +5 -0
- package/dist/agent/hooks/approval-settlement.d.ts.map +1 -0
- package/dist/agent/hooks/approval-settlement.js +90 -0
- package/dist/agent/hooks/approval-settlement.js.map +1 -0
- package/dist/agent/hooks/binding-bridge.d.ts +3 -0
- package/dist/agent/hooks/binding-bridge.d.ts.map +1 -0
- package/dist/agent/hooks/binding-bridge.js +63 -0
- package/dist/agent/hooks/binding-bridge.js.map +1 -0
- package/dist/agent/hooks/connector-audit.d.ts +3 -0
- package/dist/agent/hooks/connector-audit.d.ts.map +1 -0
- package/dist/agent/hooks/connector-audit.js +103 -0
- package/dist/agent/hooks/connector-audit.js.map +1 -0
- package/dist/agent/hooks/egress.d.ts +150 -0
- package/dist/agent/hooks/egress.d.ts.map +1 -0
- package/dist/agent/hooks/egress.js +546 -0
- package/dist/agent/hooks/egress.js.map +1 -0
- package/dist/agent/hooks/eve-patch-gate.d.ts +3 -0
- package/dist/agent/hooks/eve-patch-gate.d.ts.map +1 -0
- package/dist/agent/hooks/eve-patch-gate.js +51 -0
- package/dist/agent/hooks/eve-patch-gate.js.map +1 -0
- package/dist/agent/hooks/fire-carriage.d.ts +3 -0
- package/dist/agent/hooks/fire-carriage.d.ts.map +1 -0
- package/dist/agent/hooks/fire-carriage.js +32 -0
- package/dist/agent/hooks/fire-carriage.js.map +1 -0
- package/dist/agent/hooks/fire-toolset.d.ts +48 -0
- package/dist/agent/hooks/fire-toolset.d.ts.map +1 -0
- package/dist/agent/hooks/fire-toolset.js +275 -0
- package/dist/agent/hooks/fire-toolset.js.map +1 -0
- package/dist/agent/hooks/job-posture.d.ts +3 -0
- package/dist/agent/hooks/job-posture.d.ts.map +1 -0
- package/dist/agent/hooks/job-posture.js +82 -0
- package/dist/agent/hooks/job-posture.js.map +1 -0
- package/dist/agent/hooks/lean-seat.d.ts +3 -0
- package/dist/agent/hooks/lean-seat.d.ts.map +1 -0
- package/dist/agent/hooks/lean-seat.js +229 -0
- package/dist/agent/hooks/lean-seat.js.map +1 -0
- package/dist/agent/hooks/learn.d.ts +3 -0
- package/dist/agent/hooks/learn.d.ts.map +1 -0
- package/dist/agent/hooks/learn.js +193 -0
- package/dist/agent/hooks/learn.js.map +1 -0
- package/dist/agent/hooks/link-claim.d.ts +63 -0
- package/dist/agent/hooks/link-claim.d.ts.map +1 -0
- package/dist/agent/hooks/link-claim.js +215 -0
- package/dist/agent/hooks/link-claim.js.map +1 -0
- package/dist/agent/hooks/log-flush.d.ts +3 -0
- package/dist/agent/hooks/log-flush.d.ts.map +1 -0
- package/dist/agent/hooks/log-flush.js +28 -0
- package/dist/agent/hooks/log-flush.js.map +1 -0
- package/dist/agent/hooks/loop-breaker.d.ts +3 -0
- package/dist/agent/hooks/loop-breaker.d.ts.map +1 -0
- package/dist/agent/hooks/loop-breaker.js +16 -0
- package/dist/agent/hooks/loop-breaker.js.map +1 -0
- package/dist/agent/hooks/memory.d.ts +112 -0
- package/dist/agent/hooks/memory.d.ts.map +1 -0
- package/dist/agent/hooks/memory.js +1191 -0
- package/dist/agent/hooks/memory.js.map +1 -0
- package/dist/agent/hooks/native-input-audit.d.ts +7 -0
- package/dist/agent/hooks/native-input-audit.d.ts.map +1 -0
- package/dist/agent/hooks/native-input-audit.js +44 -0
- package/dist/agent/hooks/native-input-audit.js.map +1 -0
- package/dist/agent/hooks/own-account-ask.d.ts +52 -0
- package/dist/agent/hooks/own-account-ask.d.ts.map +1 -0
- package/dist/agent/hooks/own-account-ask.js +162 -0
- package/dist/agent/hooks/own-account-ask.js.map +1 -0
- package/dist/agent/hooks/requester-identity.d.ts +3 -0
- package/dist/agent/hooks/requester-identity.d.ts.map +1 -0
- package/dist/agent/hooks/requester-identity.js +24 -0
- package/dist/agent/hooks/requester-identity.js.map +1 -0
- package/dist/agent/hooks/requester-messages.d.ts +9 -0
- package/dist/agent/hooks/requester-messages.d.ts.map +1 -0
- package/dist/agent/hooks/requester-messages.js +57 -0
- package/dist/agent/hooks/requester-messages.js.map +1 -0
- package/dist/agent/hooks/routine-outcome.d.ts +29 -0
- package/dist/agent/hooks/routine-outcome.d.ts.map +1 -0
- package/dist/agent/hooks/routine-outcome.js +211 -0
- package/dist/agent/hooks/routine-outcome.js.map +1 -0
- package/dist/agent/hooks/routine-silence.d.ts +3 -0
- package/dist/agent/hooks/routine-silence.d.ts.map +1 -0
- package/dist/agent/hooks/routine-silence.js +30 -0
- package/dist/agent/hooks/routine-silence.js.map +1 -0
- package/dist/agent/hooks/session-park.d.ts +3 -0
- package/dist/agent/hooks/session-park.d.ts.map +1 -0
- package/dist/agent/hooks/session-park.js +43 -0
- package/dist/agent/hooks/session-park.js.map +1 -0
- package/dist/agent/hooks/settlement-flush.d.ts +45 -0
- package/dist/agent/hooks/settlement-flush.d.ts.map +1 -0
- package/dist/agent/hooks/settlement-flush.js +146 -0
- package/dist/agent/hooks/settlement-flush.js.map +1 -0
- package/dist/agent/hooks/spawn-taint.d.ts +154 -0
- package/dist/agent/hooks/spawn-taint.d.ts.map +1 -0
- package/dist/agent/hooks/spawn-taint.js +1200 -0
- package/dist/agent/hooks/spawn-taint.js.map +1 -0
- package/dist/agent/hooks/spend.d.ts +92 -0
- package/dist/agent/hooks/spend.d.ts.map +1 -0
- package/dist/agent/hooks/spend.js +343 -0
- package/dist/agent/hooks/spend.js.map +1 -0
- package/dist/agent/hooks/stall-guard.d.ts +3 -0
- package/dist/agent/hooks/stall-guard.d.ts.map +1 -0
- package/dist/agent/hooks/stall-guard.js +22 -0
- package/dist/agent/hooks/stall-guard.js.map +1 -0
- package/dist/agent/hooks/telemetry.d.ts +3 -0
- package/dist/agent/hooks/telemetry.d.ts.map +1 -0
- package/dist/agent/hooks/telemetry.js +93 -0
- package/dist/agent/hooks/telemetry.js.map +1 -0
- package/dist/agent/hooks/turn-anchor.d.ts +35 -0
- package/dist/agent/hooks/turn-anchor.d.ts.map +1 -0
- package/dist/agent/hooks/turn-anchor.js +647 -0
- package/dist/agent/hooks/turn-anchor.js.map +1 -0
- package/dist/agent/hooks/turn-tally.d.ts +32 -0
- package/dist/agent/hooks/turn-tally.d.ts.map +1 -0
- package/dist/agent/hooks/turn-tally.js +69 -0
- package/dist/agent/hooks/turn-tally.js.map +1 -0
- package/dist/agent/hooks/wake-accounting-turn.d.ts +8 -0
- package/dist/agent/hooks/wake-accounting-turn.d.ts.map +1 -0
- package/dist/agent/hooks/wake-accounting-turn.js +88 -0
- package/dist/agent/hooks/wake-accounting-turn.js.map +1 -0
- package/dist/agent/hooks/wake-turn-start.d.ts +3 -0
- package/dist/agent/hooks/wake-turn-start.d.ts.map +1 -0
- package/dist/agent/hooks/wake-turn-start.js +44 -0
- package/dist/agent/hooks/wake-turn-start.js.map +1 -0
- package/dist/agent/hooks/window-routing.d.ts +3 -0
- package/dist/agent/hooks/window-routing.d.ts.map +1 -0
- package/dist/agent/hooks/window-routing.js +52 -0
- package/dist/agent/hooks/window-routing.js.map +1 -0
- package/dist/agent/identity/account-directory.d.ts +52 -0
- package/dist/agent/identity/account-directory.d.ts.map +1 -0
- package/dist/agent/identity/account-directory.js +110 -0
- package/dist/agent/identity/account-directory.js.map +1 -0
- package/dist/agent/identity/account-display-name.d.ts +65 -0
- package/dist/agent/identity/account-display-name.d.ts.map +1 -0
- package/dist/agent/identity/account-display-name.js +156 -0
- package/dist/agent/identity/account-display-name.js.map +1 -0
- package/dist/agent/identity/author-trust.d.ts +106 -0
- package/dist/agent/identity/author-trust.d.ts.map +1 -0
- package/dist/agent/identity/author-trust.js +209 -0
- package/dist/agent/identity/author-trust.js.map +1 -0
- package/dist/agent/identity/binding-bridge.d.ts +26 -0
- package/dist/agent/identity/binding-bridge.d.ts.map +1 -0
- package/dist/agent/identity/binding-bridge.js +75 -0
- package/dist/agent/identity/binding-bridge.js.map +1 -0
- package/dist/agent/identity/binding.d.ts +567 -0
- package/dist/agent/identity/binding.d.ts.map +1 -0
- package/dist/agent/identity/binding.js +1050 -0
- package/dist/agent/identity/binding.js.map +1 -0
- package/dist/agent/identity/bot-display-name.d.ts +19 -0
- package/dist/agent/identity/bot-display-name.d.ts.map +1 -0
- package/dist/agent/identity/bot-display-name.js +47 -0
- package/dist/agent/identity/bot-display-name.js.map +1 -0
- package/dist/agent/identity/bot-name.d.ts +39 -0
- package/dist/agent/identity/bot-name.d.ts.map +1 -0
- package/dist/agent/identity/bot-name.js +77 -0
- package/dist/agent/identity/bot-name.js.map +1 -0
- package/dist/agent/identity/capabilities.d.ts +52 -0
- package/dist/agent/identity/capabilities.d.ts.map +1 -0
- package/dist/agent/identity/capabilities.js +39 -0
- package/dist/agent/identity/capabilities.js.map +1 -0
- package/dist/agent/identity/delegated-binding.d.ts +59 -0
- package/dist/agent/identity/delegated-binding.d.ts.map +1 -0
- package/dist/agent/identity/delegated-binding.js +116 -0
- package/dist/agent/identity/delegated-binding.js.map +1 -0
- package/dist/agent/identity/deployment-identity.d.ts +61 -0
- package/dist/agent/identity/deployment-identity.d.ts.map +1 -0
- package/dist/agent/identity/deployment-identity.js +75 -0
- package/dist/agent/identity/deployment-identity.js.map +1 -0
- package/dist/agent/identity/directory-sync.d.ts +195 -0
- package/dist/agent/identity/directory-sync.d.ts.map +1 -0
- package/dist/agent/identity/directory-sync.js +623 -0
- package/dist/agent/identity/directory-sync.js.map +1 -0
- package/dist/agent/identity/directory.d.ts +73 -0
- package/dist/agent/identity/directory.d.ts.map +1 -0
- package/dist/agent/identity/directory.js +19 -0
- package/dist/agent/identity/directory.js.map +1 -0
- package/dist/agent/identity/display-title.d.ts +12 -0
- package/dist/agent/identity/display-title.d.ts.map +1 -0
- package/dist/agent/identity/display-title.js +14 -0
- package/dist/agent/identity/display-title.js.map +1 -0
- package/dist/agent/identity/frozen-surface-binding.internal.d.ts +8 -0
- package/dist/agent/identity/frozen-surface-binding.internal.d.ts.map +1 -0
- package/dist/agent/identity/frozen-surface-binding.internal.js +90 -0
- package/dist/agent/identity/frozen-surface-binding.internal.js.map +1 -0
- package/dist/agent/identity/group-sync.d.ts +77 -0
- package/dist/agent/identity/group-sync.d.ts.map +1 -0
- package/dist/agent/identity/group-sync.js +128 -0
- package/dist/agent/identity/group-sync.js.map +1 -0
- package/dist/agent/identity/groups-codemod.d.ts +52 -0
- package/dist/agent/identity/groups-codemod.d.ts.map +1 -0
- package/dist/agent/identity/groups-codemod.js +129 -0
- package/dist/agent/identity/groups-codemod.js.map +1 -0
- package/dist/agent/identity/groups-delivery.d.ts +56 -0
- package/dist/agent/identity/groups-delivery.d.ts.map +1 -0
- package/dist/agent/identity/groups-delivery.js +116 -0
- package/dist/agent/identity/groups-delivery.js.map +1 -0
- package/dist/agent/identity/groups.d.ts +74 -0
- package/dist/agent/identity/groups.d.ts.map +1 -0
- package/dist/agent/identity/groups.js +124 -0
- package/dist/agent/identity/groups.js.map +1 -0
- package/dist/agent/identity/link-challenge.d.ts +58 -0
- package/dist/agent/identity/link-challenge.d.ts.map +1 -0
- package/dist/agent/identity/link-challenge.js +136 -0
- package/dist/agent/identity/link-challenge.js.map +1 -0
- package/dist/agent/identity/link-consent.d.ts +79 -0
- package/dist/agent/identity/link-consent.d.ts.map +1 -0
- package/dist/agent/identity/link-consent.js +179 -0
- package/dist/agent/identity/link-consent.js.map +1 -0
- package/dist/agent/identity/link-flow.d.ts +260 -0
- package/dist/agent/identity/link-flow.d.ts.map +1 -0
- package/dist/agent/identity/link-flow.js +327 -0
- package/dist/agent/identity/link-flow.js.map +1 -0
- package/dist/agent/identity/link-initiator.d.ts +16 -0
- package/dist/agent/identity/link-initiator.d.ts.map +1 -0
- package/dist/agent/identity/link-initiator.js +25 -0
- package/dist/agent/identity/link-initiator.js.map +1 -0
- package/dist/agent/identity/link-resolve.d.ts +40 -0
- package/dist/agent/identity/link-resolve.d.ts.map +1 -0
- package/dist/agent/identity/link-resolve.js +195 -0
- package/dist/agent/identity/link-resolve.js.map +1 -0
- package/dist/agent/identity/link-set-ref.d.ts +16 -0
- package/dist/agent/identity/link-set-ref.d.ts.map +1 -0
- package/dist/agent/identity/link-set-ref.js +32 -0
- package/dist/agent/identity/link-set-ref.js.map +1 -0
- package/dist/agent/identity/link-store.d.ts +400 -0
- package/dist/agent/identity/link-store.d.ts.map +1 -0
- package/dist/agent/identity/link-store.js +725 -0
- package/dist/agent/identity/link-store.js.map +1 -0
- package/dist/agent/identity/link-tenant-backfill.d.ts +39 -0
- package/dist/agent/identity/link-tenant-backfill.d.ts.map +1 -0
- package/dist/agent/identity/link-tenant-backfill.js +67 -0
- package/dist/agent/identity/link-tenant-backfill.js.map +1 -0
- package/dist/agent/identity/link-tenant.d.ts +28 -0
- package/dist/agent/identity/link-tenant.d.ts.map +1 -0
- package/dist/agent/identity/link-tenant.js +51 -0
- package/dist/agent/identity/link-tenant.js.map +1 -0
- package/dist/agent/identity/oauth-vault-share.d.ts +29 -0
- package/dist/agent/identity/oauth-vault-share.d.ts.map +1 -0
- package/dist/agent/identity/oauth-vault-share.js +36 -0
- package/dist/agent/identity/oauth-vault-share.js.map +1 -0
- package/dist/agent/identity/platform.d.ts +9 -0
- package/dist/agent/identity/platform.d.ts.map +1 -0
- package/dist/agent/identity/platform.js +48 -0
- package/dist/agent/identity/platform.js.map +1 -0
- package/dist/agent/identity/principal-key-rules.d.ts +23 -0
- package/dist/agent/identity/principal-key-rules.d.ts.map +1 -0
- package/dist/agent/identity/principal-key-rules.js +91 -0
- package/dist/agent/identity/principal-key-rules.js.map +1 -0
- package/dist/agent/identity/principal-key.d.ts +92 -0
- package/dist/agent/identity/principal-key.d.ts.map +1 -0
- package/dist/agent/identity/principal-key.js +197 -0
- package/dist/agent/identity/principal-key.js.map +1 -0
- package/dist/agent/identity/principals.d.ts +145 -0
- package/dist/agent/identity/principals.d.ts.map +1 -0
- package/dist/agent/identity/principals.js +303 -0
- package/dist/agent/identity/principals.js.map +1 -0
- package/dist/agent/identity/surface-key-grammar.d.ts +83 -0
- package/dist/agent/identity/surface-key-grammar.d.ts.map +1 -0
- package/dist/agent/identity/surface-key-grammar.js +138 -0
- package/dist/agent/identity/surface-key-grammar.js.map +1 -0
- package/dist/agent/identity/surface-parity.d.ts +274 -0
- package/dist/agent/identity/surface-parity.d.ts.map +1 -0
- package/dist/agent/identity/surface-parity.js +357 -0
- package/dist/agent/identity/surface-parity.js.map +1 -0
- package/dist/agent/identity/trust-preflight.d.ts +83 -0
- package/dist/agent/identity/trust-preflight.d.ts.map +1 -0
- package/dist/agent/identity/trust-preflight.js +196 -0
- package/dist/agent/identity/trust-preflight.js.map +1 -0
- package/dist/agent/identity/trust.d.ts +217 -0
- package/dist/agent/identity/trust.d.ts.map +1 -0
- package/dist/agent/identity/trust.js +300 -0
- package/dist/agent/identity/trust.js.map +1 -0
- package/dist/agent/identity/wake-trust.d.ts +129 -0
- package/dist/agent/identity/wake-trust.d.ts.map +1 -0
- package/dist/agent/identity/wake-trust.js +159 -0
- package/dist/agent/identity/wake-trust.js.map +1 -0
- package/dist/agent/instructions/access.d.ts +252 -0
- package/dist/agent/instructions/access.d.ts.map +1 -0
- package/dist/agent/instructions/access.js +1200 -0
- package/dist/agent/instructions/access.js.map +1 -0
- package/dist/agent/instructions/seat-prompt.d.ts +354 -0
- package/dist/agent/instructions/seat-prompt.d.ts.map +1 -0
- package/dist/agent/instructions/seat-prompt.js +1143 -0
- package/dist/agent/instructions/seat-prompt.js.map +1 -0
- package/dist/agent/lib/process-registry.d.ts +8 -0
- package/dist/agent/lib/process-registry.d.ts.map +1 -0
- package/dist/agent/lib/process-registry.js +53 -0
- package/dist/agent/lib/process-registry.js.map +1 -0
- package/dist/agent/memory/agents-codemod.d.ts +92 -0
- package/dist/agent/memory/agents-codemod.d.ts.map +1 -0
- package/dist/agent/memory/agents-codemod.js +366 -0
- package/dist/agent/memory/agents-codemod.js.map +1 -0
- package/dist/agent/memory/connector-memory.d.ts +54 -0
- package/dist/agent/memory/connector-memory.d.ts.map +1 -0
- package/dist/agent/memory/connector-memory.js +80 -0
- package/dist/agent/memory/connector-memory.js.map +1 -0
- package/dist/agent/memory/domain.d.ts +384 -0
- package/dist/agent/memory/domain.d.ts.map +1 -0
- package/dist/agent/memory/domain.js +911 -0
- package/dist/agent/memory/domain.js.map +1 -0
- package/dist/agent/memory/dream/candidates.d.ts +35 -0
- package/dist/agent/memory/dream/candidates.d.ts.map +1 -0
- package/dist/agent/memory/dream/candidates.js +149 -0
- package/dist/agent/memory/dream/candidates.js.map +1 -0
- package/dist/agent/memory/dream/correction.d.ts +56 -0
- package/dist/agent/memory/dream/correction.d.ts.map +1 -0
- package/dist/agent/memory/dream/correction.js +109 -0
- package/dist/agent/memory/dream/correction.js.map +1 -0
- package/dist/agent/memory/dream/judge.d.ts +47 -0
- package/dist/agent/memory/dream/judge.d.ts.map +1 -0
- package/dist/agent/memory/dream/judge.js +135 -0
- package/dist/agent/memory/dream/judge.js.map +1 -0
- package/dist/agent/memory/dream/learn.d.ts +79 -0
- package/dist/agent/memory/dream/learn.d.ts.map +1 -0
- package/dist/agent/memory/dream/learn.js +243 -0
- package/dist/agent/memory/dream/learn.js.map +1 -0
- package/dist/agent/memory/dream/mode3-cluster.d.ts +37 -0
- package/dist/agent/memory/dream/mode3-cluster.d.ts.map +1 -0
- package/dist/agent/memory/dream/mode3-cluster.js +123 -0
- package/dist/agent/memory/dream/mode3-cluster.js.map +1 -0
- package/dist/agent/memory/dream/mode3-last-mile.d.ts +134 -0
- package/dist/agent/memory/dream/mode3-last-mile.d.ts.map +1 -0
- package/dist/agent/memory/dream/mode3-last-mile.js +262 -0
- package/dist/agent/memory/dream/mode3-last-mile.js.map +1 -0
- package/dist/agent/memory/dream/mode3.d.ts +82 -0
- package/dist/agent/memory/dream/mode3.d.ts.map +1 -0
- package/dist/agent/memory/dream/mode3.js +236 -0
- package/dist/agent/memory/dream/mode3.js.map +1 -0
- package/dist/agent/memory/dream/ops.d.ts +75 -0
- package/dist/agent/memory/dream/ops.d.ts.map +1 -0
- package/dist/agent/memory/dream/ops.js +302 -0
- package/dist/agent/memory/dream/ops.js.map +1 -0
- package/dist/agent/memory/dream/proposal.d.ts +22 -0
- package/dist/agent/memory/dream/proposal.d.ts.map +1 -0
- package/dist/agent/memory/dream/proposal.js +66 -0
- package/dist/agent/memory/dream/proposal.js.map +1 -0
- package/dist/agent/memory/dream/recurrence.d.ts +38 -0
- package/dist/agent/memory/dream/recurrence.d.ts.map +1 -0
- package/dist/agent/memory/dream/recurrence.js +106 -0
- package/dist/agent/memory/dream/recurrence.js.map +1 -0
- package/dist/agent/memory/dream/salience.d.ts +10 -0
- package/dist/agent/memory/dream/salience.d.ts.map +1 -0
- package/dist/agent/memory/dream/salience.js +16 -0
- package/dist/agent/memory/dream/salience.js.map +1 -0
- package/dist/agent/memory/dream/skill-proposal-pr.d.ts +63 -0
- package/dist/agent/memory/dream/skill-proposal-pr.d.ts.map +1 -0
- package/dist/agent/memory/dream/skill-proposal-pr.js +245 -0
- package/dist/agent/memory/dream/skill-proposal-pr.js.map +1 -0
- package/dist/agent/memory/dream/supersede-apply.d.ts +40 -0
- package/dist/agent/memory/dream/supersede-apply.d.ts.map +1 -0
- package/dist/agent/memory/dream/supersede-apply.js +78 -0
- package/dist/agent/memory/dream/supersede-apply.js.map +1 -0
- package/dist/agent/memory/dream/tidy.d.ts +60 -0
- package/dist/agent/memory/dream/tidy.d.ts.map +1 -0
- package/dist/agent/memory/dream/tidy.js +96 -0
- package/dist/agent/memory/dream/tidy.js.map +1 -0
- package/dist/agent/memory/graph.d.ts +46 -0
- package/dist/agent/memory/graph.d.ts.map +1 -0
- package/dist/agent/memory/graph.js +130 -0
- package/dist/agent/memory/graph.js.map +1 -0
- package/dist/agent/memory/host-owned-files.d.ts +2 -0
- package/dist/agent/memory/host-owned-files.d.ts.map +1 -0
- package/dist/agent/memory/host-owned-files.js +4 -0
- package/dist/agent/memory/host-owned-files.js.map +1 -0
- package/dist/agent/memory/layout.d.ts +8 -0
- package/dist/agent/memory/layout.d.ts.map +1 -0
- package/dist/agent/memory/layout.js +77 -0
- package/dist/agent/memory/layout.js.map +1 -0
- package/dist/agent/memory/listing.d.ts +11 -0
- package/dist/agent/memory/listing.d.ts.map +1 -0
- package/dist/agent/memory/listing.js +169 -0
- package/dist/agent/memory/listing.js.map +1 -0
- package/dist/agent/memory/markdown.d.ts +73 -0
- package/dist/agent/memory/markdown.d.ts.map +1 -0
- package/dist/agent/memory/markdown.js +190 -0
- package/dist/agent/memory/markdown.js.map +1 -0
- package/dist/agent/memory/partition.d.ts +34 -0
- package/dist/agent/memory/partition.d.ts.map +1 -0
- package/dist/agent/memory/partition.js +41 -0
- package/dist/agent/memory/partition.js.map +1 -0
- package/dist/agent/memory/postgres.d.ts +73 -0
- package/dist/agent/memory/postgres.d.ts.map +1 -0
- package/dist/agent/memory/postgres.js +411 -0
- package/dist/agent/memory/postgres.js.map +1 -0
- package/dist/agent/memory/provenance-mark.d.ts +77 -0
- package/dist/agent/memory/provenance-mark.d.ts.map +1 -0
- package/dist/agent/memory/provenance-mark.js +276 -0
- package/dist/agent/memory/provenance-mark.js.map +1 -0
- package/dist/agent/memory/provenance.d.ts +8 -0
- package/dist/agent/memory/provenance.d.ts.map +1 -0
- package/dist/agent/memory/provenance.js +25 -0
- package/dist/agent/memory/provenance.js.map +1 -0
- package/dist/agent/memory/provider.d.ts +76 -0
- package/dist/agent/memory/provider.d.ts.map +1 -0
- package/dist/agent/memory/provider.js +96 -0
- package/dist/agent/memory/provider.js.map +1 -0
- package/dist/agent/memory/purge-redaction.d.ts +29 -0
- package/dist/agent/memory/purge-redaction.d.ts.map +1 -0
- package/dist/agent/memory/purge-redaction.js +65 -0
- package/dist/agent/memory/purge-redaction.js.map +1 -0
- package/dist/agent/memory/readonly.d.ts +25 -0
- package/dist/agent/memory/readonly.d.ts.map +1 -0
- package/dist/agent/memory/readonly.js +46 -0
- package/dist/agent/memory/readonly.js.map +1 -0
- package/dist/agent/memory/resolve.d.ts +49 -0
- package/dist/agent/memory/resolve.d.ts.map +1 -0
- package/dist/agent/memory/resolve.js +136 -0
- package/dist/agent/memory/resolve.js.map +1 -0
- package/dist/agent/memory/root-fence.d.ts +24 -0
- package/dist/agent/memory/root-fence.d.ts.map +1 -0
- package/dist/agent/memory/root-fence.js +46 -0
- package/dist/agent/memory/root-fence.js.map +1 -0
- package/dist/agent/memory/sandbox-sync.d.ts +17 -0
- package/dist/agent/memory/sandbox-sync.d.ts.map +1 -0
- package/dist/agent/memory/sandbox-sync.js +61 -0
- package/dist/agent/memory/sandbox-sync.js.map +1 -0
- package/dist/agent/memory/selection.d.ts +29 -0
- package/dist/agent/memory/selection.d.ts.map +1 -0
- package/dist/agent/memory/selection.js +82 -0
- package/dist/agent/memory/selection.js.map +1 -0
- package/dist/agent/memory/silo.d.ts +39 -0
- package/dist/agent/memory/silo.d.ts.map +1 -0
- package/dist/agent/memory/silo.js +36 -0
- package/dist/agent/memory/silo.js.map +1 -0
- package/dist/agent/memory/sqlite.d.ts +4 -0
- package/dist/agent/memory/sqlite.d.ts.map +1 -0
- package/dist/agent/memory/sqlite.js +196 -0
- package/dist/agent/memory/sqlite.js.map +1 -0
- package/dist/agent/memory/store.d.ts +36 -0
- package/dist/agent/memory/store.d.ts.map +1 -0
- package/dist/agent/memory/store.js +144 -0
- package/dist/agent/memory/store.js.map +1 -0
- package/dist/agent/memory/sync-timing.d.ts +83 -0
- package/dist/agent/memory/sync-timing.d.ts.map +1 -0
- package/dist/agent/memory/sync-timing.js +166 -0
- package/dist/agent/memory/sync-timing.js.map +1 -0
- package/dist/agent/memory/wake-delta.d.ts +96 -0
- package/dist/agent/memory/wake-delta.d.ts.map +1 -0
- package/dist/agent/memory/wake-delta.js +176 -0
- package/dist/agent/memory/wake-delta.js.map +1 -0
- package/dist/agent/memory/write-evidence.d.ts +30 -0
- package/dist/agent/memory/write-evidence.d.ts.map +1 -0
- package/dist/agent/memory/write-evidence.js +137 -0
- package/dist/agent/memory/write-evidence.js.map +1 -0
- package/dist/agent/memory/write-fence.d.ts +30 -0
- package/dist/agent/memory/write-fence.d.ts.map +1 -0
- package/dist/agent/memory/write-fence.js +123 -0
- package/dist/agent/memory/write-fence.js.map +1 -0
- package/dist/agent/memory/write-intent.d.ts +72 -0
- package/dist/agent/memory/write-intent.d.ts.map +1 -0
- package/dist/agent/memory/write-intent.js +197 -0
- package/dist/agent/memory/write-intent.js.map +1 -0
- package/dist/agent/memory/write-road.d.ts +60 -0
- package/dist/agent/memory/write-road.d.ts.map +1 -0
- package/dist/agent/memory/write-road.js +96 -0
- package/dist/agent/memory/write-road.js.map +1 -0
- package/dist/agent/model/ab-test.d.ts +132 -0
- package/dist/agent/model/ab-test.d.ts.map +1 -0
- package/dist/agent/model/ab-test.js +321 -0
- package/dist/agent/model/ab-test.js.map +1 -0
- package/dist/agent/model/call-capture.d.ts +140 -0
- package/dist/agent/model/call-capture.d.ts.map +1 -0
- package/dist/agent/model/call-capture.js +374 -0
- package/dist/agent/model/call-capture.js.map +1 -0
- package/dist/agent/model/default-model.d.ts +13 -0
- package/dist/agent/model/default-model.d.ts.map +1 -0
- package/dist/agent/model/default-model.js +58 -0
- package/dist/agent/model/default-model.js.map +1 -0
- package/dist/agent/model/model-stamp.d.ts +41 -0
- package/dist/agent/model/model-stamp.d.ts.map +1 -0
- package/dist/agent/model/model-stamp.js +160 -0
- package/dist/agent/model/model-stamp.js.map +1 -0
- package/dist/agent/model/policy.d.ts +150 -0
- package/dist/agent/model/policy.d.ts.map +1 -0
- package/dist/agent/model/policy.js +309 -0
- package/dist/agent/model/policy.js.map +1 -0
- package/dist/agent/model/routing.d.ts +210 -0
- package/dist/agent/model/routing.d.ts.map +1 -0
- package/dist/agent/model/routing.js +694 -0
- package/dist/agent/model/routing.js.map +1 -0
- package/dist/agent/model/step-boundary.d.ts +163 -0
- package/dist/agent/model/step-boundary.d.ts.map +1 -0
- package/dist/agent/model/step-boundary.js +491 -0
- package/dist/agent/model/step-boundary.js.map +1 -0
- package/dist/agent/model/stream-drop-retry.d.ts +24 -0
- package/dist/agent/model/stream-drop-retry.d.ts.map +1 -0
- package/dist/agent/model/stream-drop-retry.js +316 -0
- package/dist/agent/model/stream-drop-retry.js.map +1 -0
- package/dist/agent/model/turn-closeout.d.ts +61 -0
- package/dist/agent/model/turn-closeout.d.ts.map +1 -0
- package/dist/agent/model/turn-closeout.js +289 -0
- package/dist/agent/model/turn-closeout.js.map +1 -0
- package/dist/agent/model/turn-state.d.ts +119 -0
- package/dist/agent/model/turn-state.d.ts.map +1 -0
- package/dist/agent/model/turn-state.js +423 -0
- package/dist/agent/model/turn-state.js.map +1 -0
- package/dist/agent/model/vision.d.ts +75 -0
- package/dist/agent/model/vision.d.ts.map +1 -0
- package/dist/agent/model/vision.js +39 -0
- package/dist/agent/model/vision.js.map +1 -0
- package/dist/agent/observability/ship.d.ts +87 -0
- package/dist/agent/observability/ship.d.ts.map +1 -0
- package/dist/agent/observability/ship.js +354 -0
- package/dist/agent/observability/ship.js.map +1 -0
- package/dist/agent/observability/telemetry.d.ts +154 -0
- package/dist/agent/observability/telemetry.d.ts.map +1 -0
- package/dist/agent/observability/telemetry.js +764 -0
- package/dist/agent/observability/telemetry.js.map +1 -0
- package/dist/agent/observability/turn-clock.d.ts +41 -0
- package/dist/agent/observability/turn-clock.d.ts.map +1 -0
- package/dist/agent/observability/turn-clock.js +75 -0
- package/dist/agent/observability/turn-clock.js.map +1 -0
- package/dist/agent/onboarding/onboarding.d.ts +30 -0
- package/dist/agent/onboarding/onboarding.d.ts.map +1 -0
- package/dist/agent/onboarding/onboarding.js +94 -0
- package/dist/agent/onboarding/onboarding.js.map +1 -0
- package/dist/agent/operational/credential-grant-rows.d.ts +626 -0
- package/dist/agent/operational/credential-grant-rows.d.ts.map +1 -0
- package/dist/agent/operational/credential-grant-rows.js +634 -0
- package/dist/agent/operational/credential-grant-rows.js.map +1 -0
- package/dist/agent/operational/pglite-client.d.ts +81 -0
- package/dist/agent/operational/pglite-client.d.ts.map +1 -0
- package/dist/agent/operational/pglite-client.js +255 -0
- package/dist/agent/operational/pglite-client.js.map +1 -0
- package/dist/agent/operational/post-once.d.ts +74 -0
- package/dist/agent/operational/post-once.d.ts.map +1 -0
- package/dist/agent/operational/post-once.js +92 -0
- package/dist/agent/operational/post-once.js.map +1 -0
- package/dist/agent/operational/postgres.d.ts +55 -0
- package/dist/agent/operational/postgres.d.ts.map +1 -0
- package/dist/agent/operational/postgres.js +4052 -0
- package/dist/agent/operational/postgres.js.map +1 -0
- package/dist/agent/operational/provider.d.ts +52 -0
- package/dist/agent/operational/provider.d.ts.map +1 -0
- package/dist/agent/operational/provider.js +166 -0
- package/dist/agent/operational/provider.js.map +1 -0
- package/dist/agent/operational/sqlite.d.ts +21 -0
- package/dist/agent/operational/sqlite.d.ts.map +1 -0
- package/dist/agent/operational/sqlite.js +3170 -0
- package/dist/agent/operational/sqlite.js.map +1 -0
- package/dist/agent/operational/store.d.ts +1953 -0
- package/dist/agent/operational/store.d.ts.map +1 -0
- package/dist/agent/operational/store.js +302 -0
- package/dist/agent/operational/store.js.map +1 -0
- package/dist/agent/ops/census.d.ts +411 -0
- package/dist/agent/ops/census.d.ts.map +1 -0
- package/dist/agent/ops/census.js +701 -0
- package/dist/agent/ops/census.js.map +1 -0
- package/dist/agent/ops/probes.d.ts +20 -0
- package/dist/agent/ops/probes.d.ts.map +1 -0
- package/dist/agent/ops/probes.js +59 -0
- package/dist/agent/ops/probes.js.map +1 -0
- package/dist/agent/ops/quickstart.d.ts +53 -0
- package/dist/agent/ops/quickstart.d.ts.map +1 -0
- package/dist/agent/ops/quickstart.js +247 -0
- package/dist/agent/ops/quickstart.js.map +1 -0
- package/dist/agent/ops/server.d.ts +16 -0
- package/dist/agent/ops/server.d.ts.map +1 -0
- package/dist/agent/ops/server.js +414 -0
- package/dist/agent/ops/server.js.map +1 -0
- package/dist/agent/ops/surface-manifest.d.ts +60 -0
- package/dist/agent/ops/surface-manifest.d.ts.map +1 -0
- package/dist/agent/ops/surface-manifest.js +79 -0
- package/dist/agent/ops/surface-manifest.js.map +1 -0
- package/dist/agent/ops/two-role.d.ts +26 -0
- package/dist/agent/ops/two-role.d.ts.map +1 -0
- package/dist/agent/ops/two-role.js +71 -0
- package/dist/agent/ops/two-role.js.map +1 -0
- package/dist/agent/pages/policy-pages.d.ts +14 -0
- package/dist/agent/pages/policy-pages.d.ts.map +1 -0
- package/dist/agent/pages/policy-pages.js +69 -0
- package/dist/agent/pages/policy-pages.js.map +1 -0
- package/dist/agent/plugins/extract.d.ts +31 -0
- package/dist/agent/plugins/extract.d.ts.map +1 -0
- package/dist/agent/plugins/extract.js +328 -0
- package/dist/agent/plugins/extract.js.map +1 -0
- package/dist/agent/plugins/parse.d.ts +3 -0
- package/dist/agent/plugins/parse.d.ts.map +1 -0
- package/dist/agent/plugins/parse.js +112 -0
- package/dist/agent/plugins/parse.js.map +1 -0
- package/dist/agent/plugins/types.d.ts +105 -0
- package/dist/agent/plugins/types.d.ts.map +1 -0
- package/dist/agent/plugins/types.js +30 -0
- package/dist/agent/plugins/types.js.map +1 -0
- package/dist/agent/publish/eve-patch-pack.d.ts +210 -0
- package/dist/agent/publish/eve-patch-pack.d.ts.map +1 -0
- package/dist/agent/publish/eve-patch-pack.js +377 -0
- package/dist/agent/publish/eve-patch-pack.js.map +1 -0
- package/dist/agent/review/blast-radius.d.ts +83 -0
- package/dist/agent/review/blast-radius.d.ts.map +1 -0
- package/dist/agent/review/blast-radius.js +224 -0
- package/dist/agent/review/blast-radius.js.map +1 -0
- package/dist/agent/review/config-facts.d.ts +69 -0
- package/dist/agent/review/config-facts.d.ts.map +1 -0
- package/dist/agent/review/config-facts.js +155 -0
- package/dist/agent/review/config-facts.js.map +1 -0
- package/dist/agent/review/facts-artifact.d.ts +108 -0
- package/dist/agent/review/facts-artifact.d.ts.map +1 -0
- package/dist/agent/review/facts-artifact.js +288 -0
- package/dist/agent/review/facts-artifact.js.map +1 -0
- package/dist/agent/review/facts-cloud-status.d.ts +90 -0
- package/dist/agent/review/facts-cloud-status.d.ts.map +1 -0
- package/dist/agent/review/facts-cloud-status.js +226 -0
- package/dist/agent/review/facts-cloud-status.js.map +1 -0
- package/dist/agent/review/pr-walkthrough.d.ts +134 -0
- package/dist/agent/review/pr-walkthrough.d.ts.map +1 -0
- package/dist/agent/review/pr-walkthrough.js +641 -0
- package/dist/agent/review/pr-walkthrough.js.map +1 -0
- package/dist/agent/review/zip.d.ts +26 -0
- package/dist/agent/review/zip.d.ts.map +1 -0
- package/dist/agent/review/zip.js +147 -0
- package/dist/agent/review/zip.js.map +1 -0
- package/dist/agent/roles/role.d.ts +95 -0
- package/dist/agent/roles/role.d.ts.map +1 -0
- package/dist/agent/roles/role.js +188 -0
- package/dist/agent/roles/role.js.map +1 -0
- package/dist/agent/routines/bound.d.ts +90 -0
- package/dist/agent/routines/bound.d.ts.map +1 -0
- package/dist/agent/routines/bound.js +233 -0
- package/dist/agent/routines/bound.js.map +1 -0
- package/dist/agent/routines/check-in.d.ts +10 -0
- package/dist/agent/routines/check-in.d.ts.map +1 -0
- package/dist/agent/routines/check-in.js +50 -0
- package/dist/agent/routines/check-in.js.map +1 -0
- package/dist/agent/routines/collector.d.ts +214 -0
- package/dist/agent/routines/collector.d.ts.map +1 -0
- package/dist/agent/routines/collector.js +389 -0
- package/dist/agent/routines/collector.js.map +1 -0
- package/dist/agent/routines/declared-permissions.d.ts +302 -0
- package/dist/agent/routines/declared-permissions.d.ts.map +1 -0
- package/dist/agent/routines/declared-permissions.js +548 -0
- package/dist/agent/routines/declared-permissions.js.map +1 -0
- package/dist/agent/routines/disable-notice.d.ts +75 -0
- package/dist/agent/routines/disable-notice.d.ts.map +1 -0
- package/dist/agent/routines/disable-notice.js +152 -0
- package/dist/agent/routines/disable-notice.js.map +1 -0
- package/dist/agent/routines/entity-read.d.ts +177 -0
- package/dist/agent/routines/entity-read.d.ts.map +1 -0
- package/dist/agent/routines/entity-read.js +178 -0
- package/dist/agent/routines/entity-read.js.map +1 -0
- package/dist/agent/routines/event-authz.d.ts +76 -0
- package/dist/agent/routines/event-authz.d.ts.map +1 -0
- package/dist/agent/routines/event-authz.js +229 -0
- package/dist/agent/routines/event-authz.js.map +1 -0
- package/dist/agent/routines/event-match.d.ts +50 -0
- package/dist/agent/routines/event-match.d.ts.map +1 -0
- package/dist/agent/routines/event-match.js +190 -0
- package/dist/agent/routines/event-match.js.map +1 -0
- package/dist/agent/routines/event-model.d.ts +463 -0
- package/dist/agent/routines/event-model.d.ts.map +1 -0
- package/dist/agent/routines/event-model.js +367 -0
- package/dist/agent/routines/event-model.js.map +1 -0
- package/dist/agent/routines/events.d.ts +85 -0
- package/dist/agent/routines/events.d.ts.map +1 -0
- package/dist/agent/routines/events.js +167 -0
- package/dist/agent/routines/events.js.map +1 -0
- package/dist/agent/routines/fire-audit.d.ts +409 -0
- package/dist/agent/routines/fire-audit.d.ts.map +1 -0
- package/dist/agent/routines/fire-audit.js +571 -0
- package/dist/agent/routines/fire-audit.js.map +1 -0
- package/dist/agent/routines/fire-auth.d.ts +114 -0
- package/dist/agent/routines/fire-auth.d.ts.map +1 -0
- package/dist/agent/routines/fire-auth.js +254 -0
- package/dist/agent/routines/fire-auth.js.map +1 -0
- package/dist/agent/routines/fire-carriage.d.ts +37 -0
- package/dist/agent/routines/fire-carriage.d.ts.map +1 -0
- package/dist/agent/routines/fire-carriage.js +115 -0
- package/dist/agent/routines/fire-carriage.js.map +1 -0
- package/dist/agent/routines/fire-creator.d.ts +26 -0
- package/dist/agent/routines/fire-creator.d.ts.map +1 -0
- package/dist/agent/routines/fire-creator.js +78 -0
- package/dist/agent/routines/fire-creator.js.map +1 -0
- package/dist/agent/routines/fire-disclosure.d.ts +70 -0
- package/dist/agent/routines/fire-disclosure.d.ts.map +1 -0
- package/dist/agent/routines/fire-disclosure.js +193 -0
- package/dist/agent/routines/fire-disclosure.js.map +1 -0
- package/dist/agent/routines/fire-eligibility.d.ts +87 -0
- package/dist/agent/routines/fire-eligibility.d.ts.map +1 -0
- package/dist/agent/routines/fire-eligibility.js +220 -0
- package/dist/agent/routines/fire-eligibility.js.map +1 -0
- package/dist/agent/routines/fire-halt.d.ts +16 -0
- package/dist/agent/routines/fire-halt.d.ts.map +1 -0
- package/dist/agent/routines/fire-halt.js +49 -0
- package/dist/agent/routines/fire-halt.js.map +1 -0
- package/dist/agent/routines/fire-message.d.ts +31 -0
- package/dist/agent/routines/fire-message.d.ts.map +1 -0
- package/dist/agent/routines/fire-message.js +51 -0
- package/dist/agent/routines/fire-message.js.map +1 -0
- package/dist/agent/routines/fire-toolset.d.ts +94 -0
- package/dist/agent/routines/fire-toolset.d.ts.map +1 -0
- package/dist/agent/routines/fire-toolset.js +128 -0
- package/dist/agent/routines/fire-toolset.js.map +1 -0
- package/dist/agent/routines/fire-window.d.ts +230 -0
- package/dist/agent/routines/fire-window.d.ts.map +1 -0
- package/dist/agent/routines/fire-window.js +517 -0
- package/dist/agent/routines/fire-window.js.map +1 -0
- package/dist/agent/routines/follow-ups.d.ts +77 -0
- package/dist/agent/routines/follow-ups.d.ts.map +1 -0
- package/dist/agent/routines/follow-ups.js +134 -0
- package/dist/agent/routines/follow-ups.js.map +1 -0
- package/dist/agent/routines/gate.d.ts +133 -0
- package/dist/agent/routines/gate.d.ts.map +1 -0
- package/dist/agent/routines/gate.js +196 -0
- package/dist/agent/routines/gate.js.map +1 -0
- package/dist/agent/routines/github-entity-read.d.ts +26 -0
- package/dist/agent/routines/github-entity-read.d.ts.map +1 -0
- package/dist/agent/routines/github-entity-read.js +107 -0
- package/dist/agent/routines/github-entity-read.js.map +1 -0
- package/dist/agent/routines/github-fanout.d.ts +23 -0
- package/dist/agent/routines/github-fanout.d.ts.map +1 -0
- package/dist/agent/routines/github-fanout.js +67 -0
- package/dist/agent/routines/github-fanout.js.map +1 -0
- package/dist/agent/routines/github-normalizer.d.ts +20 -0
- package/dist/agent/routines/github-normalizer.d.ts.map +1 -0
- package/dist/agent/routines/github-normalizer.js +253 -0
- package/dist/agent/routines/github-normalizer.js.map +1 -0
- package/dist/agent/routines/ingress.d.ts +128 -0
- package/dist/agent/routines/ingress.d.ts.map +1 -0
- package/dist/agent/routines/ingress.js +703 -0
- package/dist/agent/routines/ingress.js.map +1 -0
- package/dist/agent/routines/job.d.ts +49 -0
- package/dist/agent/routines/job.d.ts.map +1 -0
- package/dist/agent/routines/job.js +122 -0
- package/dist/agent/routines/job.js.map +1 -0
- package/dist/agent/routines/jq-filter.d.ts +94 -0
- package/dist/agent/routines/jq-filter.d.ts.map +1 -0
- package/dist/agent/routines/jq-filter.js +322 -0
- package/dist/agent/routines/jq-filter.js.map +1 -0
- package/dist/agent/routines/lifecycle.d.ts +101 -0
- package/dist/agent/routines/lifecycle.d.ts.map +1 -0
- package/dist/agent/routines/lifecycle.js +231 -0
- package/dist/agent/routines/lifecycle.js.map +1 -0
- package/dist/agent/routines/match-stamp.d.ts +26 -0
- package/dist/agent/routines/match-stamp.d.ts.map +1 -0
- package/dist/agent/routines/match-stamp.js +121 -0
- package/dist/agent/routines/match-stamp.js.map +1 -0
- package/dist/agent/routines/outcome-fold.d.ts +115 -0
- package/dist/agent/routines/outcome-fold.d.ts.map +1 -0
- package/dist/agent/routines/outcome-fold.js +244 -0
- package/dist/agent/routines/outcome-fold.js.map +1 -0
- package/dist/agent/routines/partition.d.ts +5 -0
- package/dist/agent/routines/partition.d.ts.map +1 -0
- package/dist/agent/routines/partition.js +24 -0
- package/dist/agent/routines/partition.js.map +1 -0
- package/dist/agent/routines/permission-card-wait.d.ts +150 -0
- package/dist/agent/routines/permission-card-wait.d.ts.map +1 -0
- package/dist/agent/routines/permission-card-wait.js +213 -0
- package/dist/agent/routines/permission-card-wait.js.map +1 -0
- package/dist/agent/routines/permission-card.d.ts +196 -0
- package/dist/agent/routines/permission-card.d.ts.map +1 -0
- package/dist/agent/routines/permission-card.js +397 -0
- package/dist/agent/routines/permission-card.js.map +1 -0
- package/dist/agent/routines/permission-key.d.ts +25 -0
- package/dist/agent/routines/permission-key.d.ts.map +1 -0
- package/dist/agent/routines/permission-key.js +53 -0
- package/dist/agent/routines/permission-key.js.map +1 -0
- package/dist/agent/routines/permission-review.d.ts +108 -0
- package/dist/agent/routines/permission-review.d.ts.map +1 -0
- package/dist/agent/routines/permission-review.js +215 -0
- package/dist/agent/routines/permission-review.js.map +1 -0
- package/dist/agent/routines/policy.d.ts +146 -0
- package/dist/agent/routines/policy.d.ts.map +1 -0
- package/dist/agent/routines/policy.js +241 -0
- package/dist/agent/routines/policy.js.map +1 -0
- package/dist/agent/routines/pre-fire.d.ts +46 -0
- package/dist/agent/routines/pre-fire.d.ts.map +1 -0
- package/dist/agent/routines/pre-fire.js +111 -0
- package/dist/agent/routines/pre-fire.js.map +1 -0
- package/dist/agent/routines/provider-events.d.ts +115 -0
- package/dist/agent/routines/provider-events.d.ts.map +1 -0
- package/dist/agent/routines/provider-events.js +307 -0
- package/dist/agent/routines/provider-events.js.map +1 -0
- package/dist/agent/routines/report.d.ts +33 -0
- package/dist/agent/routines/report.d.ts.map +1 -0
- package/dist/agent/routines/report.js +122 -0
- package/dist/agent/routines/report.js.map +1 -0
- package/dist/agent/routines/routine.d.ts +774 -0
- package/dist/agent/routines/routine.d.ts.map +1 -0
- package/dist/agent/routines/routine.js +385 -0
- package/dist/agent/routines/routine.js.map +1 -0
- package/dist/agent/routines/schedule.d.ts +70 -0
- package/dist/agent/routines/schedule.d.ts.map +1 -0
- package/dist/agent/routines/schedule.js +187 -0
- package/dist/agent/routines/schedule.js.map +1 -0
- package/dist/agent/routines/scheme-name.d.ts +43 -0
- package/dist/agent/routines/scheme-name.d.ts.map +1 -0
- package/dist/agent/routines/scheme-name.js +73 -0
- package/dist/agent/routines/scheme-name.js.map +1 -0
- package/dist/agent/routines/stall.d.ts +46 -0
- package/dist/agent/routines/stall.d.ts.map +1 -0
- package/dist/agent/routines/stall.js +143 -0
- package/dist/agent/routines/stall.js.map +1 -0
- package/dist/agent/routines/store.d.ts +47 -0
- package/dist/agent/routines/store.d.ts.map +1 -0
- package/dist/agent/routines/store.js +82 -0
- package/dist/agent/routines/store.js.map +1 -0
- package/dist/agent/routines/watch.d.ts +134 -0
- package/dist/agent/routines/watch.d.ts.map +1 -0
- package/dist/agent/routines/watch.js +266 -0
- package/dist/agent/routines/watch.js.map +1 -0
- package/dist/agent/sandbox/backend-select.d.ts +19 -0
- package/dist/agent/sandbox/backend-select.d.ts.map +1 -0
- package/dist/agent/sandbox/backend-select.js +46 -0
- package/dist/agent/sandbox/backend-select.js.map +1 -0
- package/dist/agent/sandbox/vercel-create.d.ts +99 -0
- package/dist/agent/sandbox/vercel-create.d.ts.map +1 -0
- package/dist/agent/sandbox/vercel-create.js +151 -0
- package/dist/agent/sandbox/vercel-create.js.map +1 -0
- package/dist/agent/scaffold/app-root.d.ts +18 -0
- package/dist/agent/scaffold/app-root.d.ts.map +1 -0
- package/dist/agent/scaffold/app-root.js +97 -0
- package/dist/agent/scaffold/app-root.js.map +1 -0
- package/dist/agent/scaffold/roster-config.d.ts +130 -0
- package/dist/agent/scaffold/roster-config.d.ts.map +1 -0
- package/dist/agent/scaffold/roster-config.js +46 -0
- package/dist/agent/scaffold/roster-config.js.map +1 -0
- package/dist/agent/scaffold/roster-fs.d.ts +45 -0
- package/dist/agent/scaffold/roster-fs.d.ts.map +1 -0
- package/dist/agent/scaffold/roster-fs.js +195 -0
- package/dist/agent/scaffold/roster-fs.js.map +1 -0
- package/dist/agent/scaffold/roster-plan.d.ts +167 -0
- package/dist/agent/scaffold/roster-plan.d.ts.map +1 -0
- package/dist/agent/scaffold/roster-plan.js +668 -0
- package/dist/agent/scaffold/roster-plan.js.map +1 -0
- package/dist/agent/scaffold/templates.d.ts +13 -0
- package/dist/agent/scaffold/templates.d.ts.map +1 -0
- package/dist/agent/scaffold/templates.js +73 -0
- package/dist/agent/scaffold/templates.js.map +1 -0
- package/dist/agent/scaffold/tool-roster-read.d.ts +24 -0
- package/dist/agent/scaffold/tool-roster-read.d.ts.map +1 -0
- package/dist/agent/scaffold/tool-roster-read.js +68 -0
- package/dist/agent/scaffold/tool-roster-read.js.map +1 -0
- package/dist/agent/scaffold/tool-roster.d.ts +90 -0
- package/dist/agent/scaffold/tool-roster.d.ts.map +1 -0
- package/dist/agent/scaffold/tool-roster.js +128 -0
- package/dist/agent/scaffold/tool-roster.js.map +1 -0
- package/dist/agent/schedules/directory-sync.d.ts +6 -0
- package/dist/agent/schedules/directory-sync.d.ts.map +1 -0
- package/dist/agent/schedules/directory-sync.js +36 -0
- package/dist/agent/schedules/directory-sync.js.map +1 -0
- package/dist/agent/schedules/dispatch.d.ts +34 -0
- package/dist/agent/schedules/dispatch.d.ts.map +1 -0
- package/dist/agent/schedules/dispatch.js +749 -0
- package/dist/agent/schedules/dispatch.js.map +1 -0
- package/dist/agent/schedules/dream-mode3.d.ts +28 -0
- package/dist/agent/schedules/dream-mode3.d.ts.map +1 -0
- package/dist/agent/schedules/dream-mode3.js +261 -0
- package/dist/agent/schedules/dream-mode3.js.map +1 -0
- package/dist/agent/schedules/routine-dispatch.d.ts +125 -0
- package/dist/agent/schedules/routine-dispatch.d.ts.map +1 -0
- package/dist/agent/schedules/routine-dispatch.js +139 -0
- package/dist/agent/schedules/routine-dispatch.js.map +1 -0
- package/dist/agent/schedules/tidy.d.ts +39 -0
- package/dist/agent/schedules/tidy.d.ts.map +1 -0
- package/dist/agent/schedules/tidy.js +292 -0
- package/dist/agent/schedules/tidy.js.map +1 -0
- package/dist/agent/scm/app.d.ts +55 -0
- package/dist/agent/scm/app.d.ts.map +1 -0
- package/dist/agent/scm/app.js +120 -0
- package/dist/agent/scm/app.js.map +1 -0
- package/dist/agent/scm/broker-audit.d.ts +35 -0
- package/dist/agent/scm/broker-audit.d.ts.map +1 -0
- package/dist/agent/scm/broker-audit.js +94 -0
- package/dist/agent/scm/broker-audit.js.map +1 -0
- package/dist/agent/scm/broker.d.ts +56 -0
- package/dist/agent/scm/broker.d.ts.map +1 -0
- package/dist/agent/scm/broker.js +113 -0
- package/dist/agent/scm/broker.js.map +1 -0
- package/dist/agent/scm/capability-fit.d.ts +59 -0
- package/dist/agent/scm/capability-fit.d.ts.map +1 -0
- package/dist/agent/scm/capability-fit.js +122 -0
- package/dist/agent/scm/capability-fit.js.map +1 -0
- package/dist/agent/scm/config-repo-token.d.ts +3 -0
- package/dist/agent/scm/config-repo-token.d.ts.map +1 -0
- package/dist/agent/scm/config-repo-token.js +43 -0
- package/dist/agent/scm/config-repo-token.js.map +1 -0
- package/dist/agent/scm/config.d.ts +3 -0
- package/dist/agent/scm/config.d.ts.map +1 -0
- package/dist/agent/scm/config.js +36 -0
- package/dist/agent/scm/config.js.map +1 -0
- package/dist/agent/scm/contents.d.ts +54 -0
- package/dist/agent/scm/contents.d.ts.map +1 -0
- package/dist/agent/scm/contents.js +117 -0
- package/dist/agent/scm/contents.js.map +1 -0
- package/dist/agent/scm/git.d.ts +157 -0
- package/dist/agent/scm/git.d.ts.map +1 -0
- package/dist/agent/scm/git.js +318 -0
- package/dist/agent/scm/git.js.map +1 -0
- package/dist/agent/scm/github-acting-identity.d.ts +38 -0
- package/dist/agent/scm/github-acting-identity.d.ts.map +1 -0
- package/dist/agent/scm/github-acting-identity.js +121 -0
- package/dist/agent/scm/github-acting-identity.js.map +1 -0
- package/dist/agent/scm/github-search.d.ts +23 -0
- package/dist/agent/scm/github-search.d.ts.map +1 -0
- package/dist/agent/scm/github-search.js +122 -0
- package/dist/agent/scm/github-search.js.map +1 -0
- package/dist/agent/scm/github-work.d.ts +17 -0
- package/dist/agent/scm/github-work.d.ts.map +1 -0
- package/dist/agent/scm/github-work.js +43 -0
- package/dist/agent/scm/github-work.js.map +1 -0
- package/dist/agent/scm/installations.d.ts +46 -0
- package/dist/agent/scm/installations.d.ts.map +1 -0
- package/dist/agent/scm/installations.js +144 -0
- package/dist/agent/scm/installations.js.map +1 -0
- package/dist/agent/scm/issue-actions.d.ts +41 -0
- package/dist/agent/scm/issue-actions.d.ts.map +1 -0
- package/dist/agent/scm/issue-actions.js +173 -0
- package/dist/agent/scm/issue-actions.js.map +1 -0
- package/dist/agent/scm/mint.d.ts +76 -0
- package/dist/agent/scm/mint.d.ts.map +1 -0
- package/dist/agent/scm/mint.js +253 -0
- package/dist/agent/scm/mint.js.map +1 -0
- package/dist/agent/scm/pr-activity.d.ts +50 -0
- package/dist/agent/scm/pr-activity.d.ts.map +1 -0
- package/dist/agent/scm/pr-activity.js +102 -0
- package/dist/agent/scm/pr-activity.js.map +1 -0
- package/dist/agent/scm/pr-diff.d.ts +61 -0
- package/dist/agent/scm/pr-diff.d.ts.map +1 -0
- package/dist/agent/scm/pr-diff.js +104 -0
- package/dist/agent/scm/pr-diff.js.map +1 -0
- package/dist/agent/scm/pr-feedback.d.ts +87 -0
- package/dist/agent/scm/pr-feedback.d.ts.map +1 -0
- package/dist/agent/scm/pr-feedback.js +230 -0
- package/dist/agent/scm/pr-feedback.js.map +1 -0
- package/dist/agent/scm/pr-status.d.ts +120 -0
- package/dist/agent/scm/pr-status.d.ts.map +1 -0
- package/dist/agent/scm/pr-status.js +199 -0
- package/dist/agent/scm/pr-status.js.map +1 -0
- package/dist/agent/scm/pr-watch.d.ts +26 -0
- package/dist/agent/scm/pr-watch.d.ts.map +1 -0
- package/dist/agent/scm/pr-watch.js +165 -0
- package/dist/agent/scm/pr-watch.js.map +1 -0
- package/dist/agent/scm/pr.d.ts +42 -0
- package/dist/agent/scm/pr.d.ts.map +1 -0
- package/dist/agent/scm/pr.js +73 -0
- package/dist/agent/scm/pr.js.map +1 -0
- package/dist/agent/scm/provider.d.ts +13 -0
- package/dist/agent/scm/provider.d.ts.map +1 -0
- package/dist/agent/scm/provider.js +39 -0
- package/dist/agent/scm/provider.js.map +1 -0
- package/dist/agent/scm/refs.d.ts +65 -0
- package/dist/agent/scm/refs.d.ts.map +1 -0
- package/dist/agent/scm/refs.js +89 -0
- package/dist/agent/scm/refs.js.map +1 -0
- package/dist/agent/scm/repo-skills.d.ts +69 -0
- package/dist/agent/scm/repo-skills.d.ts.map +1 -0
- package/dist/agent/scm/repo-skills.js +170 -0
- package/dist/agent/scm/repo-skills.js.map +1 -0
- package/dist/agent/scm/types.d.ts +40 -0
- package/dist/agent/scm/types.d.ts.map +1 -0
- package/dist/agent/scm/types.js +9 -0
- package/dist/agent/scm/types.js.map +1 -0
- package/dist/agent/scm/write-token.d.ts +10 -0
- package/dist/agent/scm/write-token.d.ts.map +1 -0
- package/dist/agent/scm/write-token.js +40 -0
- package/dist/agent/scm/write-token.js.map +1 -0
- package/dist/agent/settings/settings.d.ts +935 -0
- package/dist/agent/settings/settings.d.ts.map +1 -0
- package/dist/agent/settings/settings.js +1104 -0
- package/dist/agent/settings/settings.js.map +1 -0
- package/dist/agent/skills/domain-skills.d.ts +61 -0
- package/dist/agent/skills/domain-skills.d.ts.map +1 -0
- package/dist/agent/skills/domain-skills.js +174 -0
- package/dist/agent/skills/domain-skills.js.map +1 -0
- package/dist/agent/skills/scoped.d.ts +21 -0
- package/dist/agent/skills/scoped.d.ts.map +1 -0
- package/dist/agent/skills/scoped.js +152 -0
- package/dist/agent/skills/scoped.js.map +1 -0
- package/dist/agent/spend/bypass.d.ts +30 -0
- package/dist/agent/spend/bypass.d.ts.map +1 -0
- package/dist/agent/spend/bypass.js +117 -0
- package/dist/agent/spend/bypass.js.map +1 -0
- package/dist/agent/spend/caps.d.ts +173 -0
- package/dist/agent/spend/caps.d.ts.map +1 -0
- package/dist/agent/spend/caps.js +323 -0
- package/dist/agent/spend/caps.js.map +1 -0
- package/dist/agent/spend/check.d.ts +54 -0
- package/dist/agent/spend/check.d.ts.map +1 -0
- package/dist/agent/spend/check.js +157 -0
- package/dist/agent/spend/check.js.map +1 -0
- package/dist/agent/spend/checkpoint.d.ts +158 -0
- package/dist/agent/spend/checkpoint.d.ts.map +1 -0
- package/dist/agent/spend/checkpoint.js +559 -0
- package/dist/agent/spend/checkpoint.js.map +1 -0
- package/dist/agent/spend/dm-mask.d.ts +61 -0
- package/dist/agent/spend/dm-mask.d.ts.map +1 -0
- package/dist/agent/spend/dm-mask.js +113 -0
- package/dist/agent/spend/dm-mask.js.map +1 -0
- package/dist/agent/spend/ingress-gate.d.ts +143 -0
- package/dist/agent/spend/ingress-gate.d.ts.map +1 -0
- package/dist/agent/spend/ingress-gate.js +217 -0
- package/dist/agent/spend/ingress-gate.js.map +1 -0
- package/dist/agent/spend/pricing.d.ts +251 -0
- package/dist/agent/spend/pricing.d.ts.map +1 -0
- package/dist/agent/spend/pricing.js +454 -0
- package/dist/agent/spend/pricing.js.map +1 -0
- package/dist/agent/spend/reporting.d.ts +313 -0
- package/dist/agent/spend/reporting.d.ts.map +1 -0
- package/dist/agent/spend/reporting.js +674 -0
- package/dist/agent/spend/reporting.js.map +1 -0
- package/dist/agent/spend/sandbox-pricing.d.ts +19 -0
- package/dist/agent/spend/sandbox-pricing.d.ts.map +1 -0
- package/dist/agent/spend/sandbox-pricing.js +50 -0
- package/dist/agent/spend/sandbox-pricing.js.map +1 -0
- package/dist/agent/spend/spend.d.ts +283 -0
- package/dist/agent/spend/spend.d.ts.map +1 -0
- package/dist/agent/spend/spend.js +255 -0
- package/dist/agent/spend/spend.js.map +1 -0
- package/dist/agent/spend/stack-pricing.d.ts +94 -0
- package/dist/agent/spend/stack-pricing.d.ts.map +1 -0
- package/dist/agent/spend/stack-pricing.js +123 -0
- package/dist/agent/spend/stack-pricing.js.map +1 -0
- package/dist/agent/spend/store.d.ts +139 -0
- package/dist/agent/spend/store.d.ts.map +1 -0
- package/dist/agent/spend/store.js +180 -0
- package/dist/agent/spend/store.js.map +1 -0
- package/dist/agent/spend/subagent-runs.d.ts +79 -0
- package/dist/agent/spend/subagent-runs.d.ts.map +1 -0
- package/dist/agent/spend/subagent-runs.js +124 -0
- package/dist/agent/spend/subagent-runs.js.map +1 -0
- package/dist/agent/spend/usage-events.d.ts +79 -0
- package/dist/agent/spend/usage-events.d.ts.map +1 -0
- package/dist/agent/spend/usage-events.js +132 -0
- package/dist/agent/spend/usage-events.js.map +1 -0
- package/dist/agent/stall/bash-hang-guard.d.ts +133 -0
- package/dist/agent/stall/bash-hang-guard.d.ts.map +1 -0
- package/dist/agent/stall/bash-hang-guard.js +303 -0
- package/dist/agent/stall/bash-hang-guard.js.map +1 -0
- package/dist/agent/stall/guard.d.ts +68 -0
- package/dist/agent/stall/guard.d.ts.map +1 -0
- package/dist/agent/stall/guard.js +248 -0
- package/dist/agent/stall/guard.js.map +1 -0
- package/dist/agent/status/status.d.ts +32 -0
- package/dist/agent/status/status.d.ts.map +1 -0
- package/dist/agent/status/status.js +116 -0
- package/dist/agent/status/status.js.map +1 -0
- package/dist/agent/subagents/contracts.d.ts +82 -0
- package/dist/agent/subagents/contracts.d.ts.map +1 -0
- package/dist/agent/subagents/contracts.js +114 -0
- package/dist/agent/subagents/contracts.js.map +1 -0
- package/dist/agent/subagents/declared.d.ts +44 -0
- package/dist/agent/subagents/declared.d.ts.map +1 -0
- package/dist/agent/subagents/declared.js +152 -0
- package/dist/agent/subagents/declared.js.map +1 -0
- package/dist/agent/testing/driver-allowlist.d.ts +103 -0
- package/dist/agent/testing/driver-allowlist.d.ts.map +1 -0
- package/dist/agent/testing/driver-allowlist.js +193 -0
- package/dist/agent/testing/driver-allowlist.js.map +1 -0
- package/dist/agent/tools/add_label.d.ts +52 -0
- package/dist/agent/tools/add_label.d.ts.map +1 -0
- package/dist/agent/tools/add_label.js +63 -0
- package/dist/agent/tools/add_label.js.map +1 -0
- package/dist/agent/tools/add_routine_rule.d.ts +38 -0
- package/dist/agent/tools/add_routine_rule.d.ts.map +1 -0
- package/dist/agent/tools/add_routine_rule.js +182 -0
- package/dist/agent/tools/add_routine_rule.js.map +1 -0
- package/dist/agent/tools/agent_version.d.ts +17 -0
- package/dist/agent/tools/agent_version.d.ts.map +1 -0
- package/dist/agent/tools/agent_version.js +38 -0
- package/dist/agent/tools/agent_version.js.map +1 -0
- package/dist/agent/tools/assign.d.ts +74 -0
- package/dist/agent/tools/assign.d.ts.map +1 -0
- package/dist/agent/tools/assign.js +167 -0
- package/dist/agent/tools/assign.js.map +1 -0
- package/dist/agent/tools/aws.d.ts +33 -0
- package/dist/agent/tools/aws.d.ts.map +1 -0
- package/dist/agent/tools/aws.js +164 -0
- package/dist/agent/tools/aws.js.map +1 -0
- package/dist/agent/tools/browser_tools.d.ts +3 -0
- package/dist/agent/tools/browser_tools.d.ts.map +1 -0
- package/dist/agent/tools/browser_tools.js +21 -0
- package/dist/agent/tools/browser_tools.js.map +1 -0
- package/dist/agent/tools/cancel_routine.d.ts +27 -0
- package/dist/agent/tools/cancel_routine.d.ts.map +1 -0
- package/dist/agent/tools/cancel_routine.js +123 -0
- package/dist/agent/tools/cancel_routine.js.map +1 -0
- package/dist/agent/tools/capture_events.d.ts +17 -0
- package/dist/agent/tools/capture_events.d.ts.map +1 -0
- package/dist/agent/tools/capture_events.js +51 -0
- package/dist/agent/tools/capture_events.js.map +1 -0
- package/dist/agent/tools/check_pr_status.d.ts +52 -0
- package/dist/agent/tools/check_pr_status.d.ts.map +1 -0
- package/dist/agent/tools/check_pr_status.js +66 -0
- package/dist/agent/tools/check_pr_status.js.map +1 -0
- package/dist/agent/tools/checkout_repo.d.ts +3 -0
- package/dist/agent/tools/checkout_repo.d.ts.map +1 -0
- package/dist/agent/tools/checkout_repo.js +158 -0
- package/dist/agent/tools/checkout_repo.js.map +1 -0
- package/dist/agent/tools/clear_connector_override.d.ts +48 -0
- package/dist/agent/tools/clear_connector_override.d.ts.map +1 -0
- package/dist/agent/tools/clear_connector_override.js +134 -0
- package/dist/agent/tools/clear_connector_override.js.map +1 -0
- package/dist/agent/tools/clear_spend_limit.d.ts +51 -0
- package/dist/agent/tools/clear_spend_limit.d.ts.map +1 -0
- package/dist/agent/tools/clear_spend_limit.js +162 -0
- package/dist/agent/tools/clear_spend_limit.js.map +1 -0
- package/dist/agent/tools/complete_job.d.ts +15 -0
- package/dist/agent/tools/complete_job.d.ts.map +1 -0
- package/dist/agent/tools/complete_job.js +59 -0
- package/dist/agent/tools/complete_job.js.map +1 -0
- package/dist/agent/tools/complete_thread.d.ts +8 -0
- package/dist/agent/tools/complete_thread.d.ts.map +1 -0
- package/dist/agent/tools/complete_thread.js +125 -0
- package/dist/agent/tools/complete_thread.js.map +1 -0
- package/dist/agent/tools/confirm_link.d.ts +84 -0
- package/dist/agent/tools/confirm_link.d.ts.map +1 -0
- package/dist/agent/tools/confirm_link.js +437 -0
- package/dist/agent/tools/confirm_link.js.map +1 -0
- package/dist/agent/tools/connector.d.ts +34 -0
- package/dist/agent/tools/connector.d.ts.map +1 -0
- package/dist/agent/tools/connector.js +212 -0
- package/dist/agent/tools/connector.js.map +1 -0
- package/dist/agent/tools/create_agent.d.ts +77 -0
- package/dist/agent/tools/create_agent.d.ts.map +1 -0
- package/dist/agent/tools/create_agent.js +261 -0
- package/dist/agent/tools/create_agent.js.map +1 -0
- package/dist/agent/tools/create_routine.d.ts +95 -0
- package/dist/agent/tools/create_routine.d.ts.map +1 -0
- package/dist/agent/tools/create_routine.js +437 -0
- package/dist/agent/tools/create_routine.js.map +1 -0
- package/dist/agent/tools/create_skill.d.ts +3 -0
- package/dist/agent/tools/create_skill.d.ts.map +1 -0
- package/dist/agent/tools/create_skill.js +157 -0
- package/dist/agent/tools/create_skill.js.map +1 -0
- package/dist/agent/tools/create_ticket.d.ts +70 -0
- package/dist/agent/tools/create_ticket.d.ts.map +1 -0
- package/dist/agent/tools/create_ticket.js +171 -0
- package/dist/agent/tools/create_ticket.js.map +1 -0
- package/dist/agent/tools/declare_webhook.d.ts +70 -0
- package/dist/agent/tools/declare_webhook.d.ts.map +1 -0
- package/dist/agent/tools/declare_webhook.js +321 -0
- package/dist/agent/tools/declare_webhook.js.map +1 -0
- package/dist/agent/tools/delete_skill.d.ts +3 -0
- package/dist/agent/tools/delete_skill.d.ts.map +1 -0
- package/dist/agent/tools/delete_skill.js +125 -0
- package/dist/agent/tools/delete_skill.js.map +1 -0
- package/dist/agent/tools/describe_image.d.ts +72 -0
- package/dist/agent/tools/describe_image.d.ts.map +1 -0
- package/dist/agent/tools/describe_image.js +269 -0
- package/dist/agent/tools/describe_image.js.map +1 -0
- package/dist/agent/tools/dm_person.d.ts +43 -0
- package/dist/agent/tools/dm_person.d.ts.map +1 -0
- package/dist/agent/tools/dm_person.js +190 -0
- package/dist/agent/tools/dm_person.js.map +1 -0
- package/dist/agent/tools/edit_reply.d.ts +56 -0
- package/dist/agent/tools/edit_reply.d.ts.map +1 -0
- package/dist/agent/tools/edit_reply.js +169 -0
- package/dist/agent/tools/edit_reply.js.map +1 -0
- package/dist/agent/tools/edit_routine.d.ts +32 -0
- package/dist/agent/tools/edit_routine.d.ts.map +1 -0
- package/dist/agent/tools/edit_routine.js +143 -0
- package/dist/agent/tools/edit_routine.js.map +1 -0
- package/dist/agent/tools/enable_routine.d.ts +30 -0
- package/dist/agent/tools/enable_routine.d.ts.map +1 -0
- package/dist/agent/tools/enable_routine.js +148 -0
- package/dist/agent/tools/enable_routine.js.map +1 -0
- package/dist/agent/tools/explain_permission.d.ts +27 -0
- package/dist/agent/tools/explain_permission.d.ts.map +1 -0
- package/dist/agent/tools/explain_permission.js +51 -0
- package/dist/agent/tools/explain_permission.js.map +1 -0
- package/dist/agent/tools/get_pr_feedback.d.ts +184 -0
- package/dist/agent/tools/get_pr_feedback.d.ts.map +1 -0
- package/dist/agent/tools/get_pr_feedback.js +77 -0
- package/dist/agent/tools/get_pr_feedback.js.map +1 -0
- package/dist/agent/tools/grant_tools.d.ts +27 -0
- package/dist/agent/tools/grant_tools.d.ts.map +1 -0
- package/dist/agent/tools/grant_tools.js +417 -0
- package/dist/agent/tools/grant_tools.js.map +1 -0
- package/dist/agent/tools/halt.d.ts +71 -0
- package/dist/agent/tools/halt.d.ts.map +1 -0
- package/dist/agent/tools/halt.js +157 -0
- package/dist/agent/tools/halt.js.map +1 -0
- package/dist/agent/tools/link_identity.d.ts +48 -0
- package/dist/agent/tools/link_identity.d.ts.map +1 -0
- package/dist/agent/tools/link_identity.js +283 -0
- package/dist/agent/tools/link_identity.js.map +1 -0
- package/dist/agent/tools/list_recent_events.d.ts +19 -0
- package/dist/agent/tools/list_recent_events.d.ts.map +1 -0
- package/dist/agent/tools/list_recent_events.js +55 -0
- package/dist/agent/tools/list_recent_events.js.map +1 -0
- package/dist/agent/tools/list_repos.d.ts +11 -0
- package/dist/agent/tools/list_repos.d.ts.map +1 -0
- package/dist/agent/tools/list_repos.js +22 -0
- package/dist/agent/tools/list_repos.js.map +1 -0
- package/dist/agent/tools/list_routines.d.ts +88 -0
- package/dist/agent/tools/list_routines.d.ts.map +1 -0
- package/dist/agent/tools/list_routines.js +143 -0
- package/dist/agent/tools/list_routines.js.map +1 -0
- package/dist/agent/tools/list_skills.d.ts +21 -0
- package/dist/agent/tools/list_skills.d.ts.map +1 -0
- package/dist/agent/tools/list_skills.js +34 -0
- package/dist/agent/tools/list_skills.js.map +1 -0
- package/dist/agent/tools/list_webhooks.d.ts +27 -0
- package/dist/agent/tools/list_webhooks.d.ts.map +1 -0
- package/dist/agent/tools/list_webhooks.js +66 -0
- package/dist/agent/tools/list_webhooks.js.map +1 -0
- package/dist/agent/tools/memory_admin_list.d.ts +10 -0
- package/dist/agent/tools/memory_admin_list.d.ts.map +1 -0
- package/dist/agent/tools/memory_admin_list.js +72 -0
- package/dist/agent/tools/memory_admin_list.js.map +1 -0
- package/dist/agent/tools/memory_admin_read.d.ts +17 -0
- package/dist/agent/tools/memory_admin_read.d.ts.map +1 -0
- package/dist/agent/tools/memory_admin_read.js +85 -0
- package/dist/agent/tools/memory_admin_read.js.map +1 -0
- package/dist/agent/tools/message_thread_seat.d.ts +7 -0
- package/dist/agent/tools/message_thread_seat.d.ts.map +1 -0
- package/dist/agent/tools/message_thread_seat.js +133 -0
- package/dist/agent/tools/message_thread_seat.js.map +1 -0
- package/dist/agent/tools/no_reply.d.ts +31 -0
- package/dist/agent/tools/no_reply.d.ts.map +1 -0
- package/dist/agent/tools/no_reply.js +251 -0
- package/dist/agent/tools/no_reply.js.map +1 -0
- package/dist/agent/tools/open_pull_request.d.ts +23 -0
- package/dist/agent/tools/open_pull_request.d.ts.map +1 -0
- package/dist/agent/tools/open_pull_request.js +323 -0
- package/dist/agent/tools/open_pull_request.js.map +1 -0
- package/dist/agent/tools/permission_fit_report.d.ts +63 -0
- package/dist/agent/tools/permission_fit_report.d.ts.map +1 -0
- package/dist/agent/tools/permission_fit_report.js +173 -0
- package/dist/agent/tools/permission_fit_report.js.map +1 -0
- package/dist/agent/tools/post_file.d.ts +7 -0
- package/dist/agent/tools/post_file.d.ts.map +1 -0
- package/dist/agent/tools/post_file.js +372 -0
- package/dist/agent/tools/post_file.js.map +1 -0
- package/dist/agent/tools/post_message.d.ts +32 -0
- package/dist/agent/tools/post_message.d.ts.map +1 -0
- package/dist/agent/tools/post_message.js +158 -0
- package/dist/agent/tools/post_message.js.map +1 -0
- package/dist/agent/tools/post_pr_walkthrough.d.ts +126 -0
- package/dist/agent/tools/post_pr_walkthrough.d.ts.map +1 -0
- package/dist/agent/tools/post_pr_walkthrough.js +200 -0
- package/dist/agent/tools/post_pr_walkthrough.js.map +1 -0
- package/dist/agent/tools/purge_memory.d.ts +105 -0
- package/dist/agent/tools/purge_memory.d.ts.map +1 -0
- package/dist/agent/tools/purge_memory.js +271 -0
- package/dist/agent/tools/purge_memory.js.map +1 -0
- package/dist/agent/tools/query_analytics.d.ts +59 -0
- package/dist/agent/tools/query_analytics.d.ts.map +1 -0
- package/dist/agent/tools/query_analytics.js +80 -0
- package/dist/agent/tools/query_analytics.js.map +1 -0
- package/dist/agent/tools/react.d.ts +23 -0
- package/dist/agent/tools/react.d.ts.map +1 -0
- package/dist/agent/tools/react.js +185 -0
- package/dist/agent/tools/react.js.map +1 -0
- package/dist/agent/tools/read_channel.d.ts +28 -0
- package/dist/agent/tools/read_channel.d.ts.map +1 -0
- package/dist/agent/tools/read_channel.js +118 -0
- package/dist/agent/tools/read_channel.js.map +1 -0
- package/dist/agent/tools/read_docs.d.ts +27 -0
- package/dist/agent/tools/read_docs.d.ts.map +1 -0
- package/dist/agent/tools/read_docs.js +43 -0
- package/dist/agent/tools/read_docs.js.map +1 -0
- package/dist/agent/tools/read_file_upload.d.ts +32 -0
- package/dist/agent/tools/read_file_upload.d.ts.map +1 -0
- package/dist/agent/tools/read_file_upload.js +175 -0
- package/dist/agent/tools/read_file_upload.js.map +1 -0
- package/dist/agent/tools/read_routine_transcript.d.ts +31 -0
- package/dist/agent/tools/read_routine_transcript.d.ts.map +1 -0
- package/dist/agent/tools/read_routine_transcript.js +79 -0
- package/dist/agent/tools/read_routine_transcript.js.map +1 -0
- package/dist/agent/tools/read_thread.d.ts +29 -0
- package/dist/agent/tools/read_thread.d.ts.map +1 -0
- package/dist/agent/tools/read_thread.js +100 -0
- package/dist/agent/tools/read_thread.js.map +1 -0
- package/dist/agent/tools/read_thread_seat.d.ts +7 -0
- package/dist/agent/tools/read_thread_seat.d.ts.map +1 -0
- package/dist/agent/tools/read_thread_seat.js +84 -0
- package/dist/agent/tools/read_thread_seat.js.map +1 -0
- package/dist/agent/tools/read_webhook_history.d.ts +17 -0
- package/dist/agent/tools/read_webhook_history.d.ts.map +1 -0
- package/dist/agent/tools/read_webhook_history.js +45 -0
- package/dist/agent/tools/read_webhook_history.js.map +1 -0
- package/dist/agent/tools/read_work_channel.d.ts +26 -0
- package/dist/agent/tools/read_work_channel.d.ts.map +1 -0
- package/dist/agent/tools/read_work_channel.js +108 -0
- package/dist/agent/tools/read_work_channel.js.map +1 -0
- package/dist/agent/tools/read_work_thread.d.ts +27 -0
- package/dist/agent/tools/read_work_thread.d.ts.map +1 -0
- package/dist/agent/tools/read_work_thread.js +89 -0
- package/dist/agent/tools/read_work_thread.js.map +1 -0
- package/dist/agent/tools/record_follow_up.d.ts +19 -0
- package/dist/agent/tools/record_follow_up.d.ts.map +1 -0
- package/dist/agent/tools/record_follow_up.js +74 -0
- package/dist/agent/tools/record_follow_up.js.map +1 -0
- package/dist/agent/tools/record_job_state.d.ts +15 -0
- package/dist/agent/tools/record_job_state.d.ts.map +1 -0
- package/dist/agent/tools/record_job_state.js +47 -0
- package/dist/agent/tools/record_job_state.js.map +1 -0
- package/dist/agent/tools/record_watch_state.d.ts +15 -0
- package/dist/agent/tools/record_watch_state.d.ts.map +1 -0
- package/dist/agent/tools/record_watch_state.js +45 -0
- package/dist/agent/tools/record_watch_state.js.map +1 -0
- package/dist/agent/tools/remove_routine_rule.d.ts +32 -0
- package/dist/agent/tools/remove_routine_rule.d.ts.map +1 -0
- package/dist/agent/tools/remove_routine_rule.js +142 -0
- package/dist/agent/tools/remove_routine_rule.js.map +1 -0
- package/dist/agent/tools/reply.d.ts +73 -0
- package/dist/agent/tools/reply.d.ts.map +1 -0
- package/dist/agent/tools/reply.js +664 -0
- package/dist/agent/tools/reply.js.map +1 -0
- package/dist/agent/tools/report_run_failed.d.ts +17 -0
- package/dist/agent/tools/report_run_failed.d.ts.map +1 -0
- package/dist/agent/tools/report_run_failed.js +71 -0
- package/dist/agent/tools/report_run_failed.js.map +1 -0
- package/dist/agent/tools/request_access.d.ts +118 -0
- package/dist/agent/tools/request_access.d.ts.map +1 -0
- package/dist/agent/tools/request_access.js +408 -0
- package/dist/agent/tools/request_access.js.map +1 -0
- package/dist/agent/tools/request_credential_grant.d.ts +101 -0
- package/dist/agent/tools/request_credential_grant.d.ts.map +1 -0
- package/dist/agent/tools/request_credential_grant.js +525 -0
- package/dist/agent/tools/request_credential_grant.js.map +1 -0
- package/dist/agent/tools/resume.d.ts +27 -0
- package/dist/agent/tools/resume.d.ts.map +1 -0
- package/dist/agent/tools/resume.js +137 -0
- package/dist/agent/tools/resume.js.map +1 -0
- package/dist/agent/tools/revoke_connector.d.ts +52 -0
- package/dist/agent/tools/revoke_connector.d.ts.map +1 -0
- package/dist/agent/tools/revoke_connector.js +129 -0
- package/dist/agent/tools/revoke_connector.js.map +1 -0
- package/dist/agent/tools/revoke_credential_grant.d.ts +12 -0
- package/dist/agent/tools/revoke_credential_grant.d.ts.map +1 -0
- package/dist/agent/tools/revoke_credential_grant.js +97 -0
- package/dist/agent/tools/revoke_credential_grant.js.map +1 -0
- package/dist/agent/tools/revoke_routine_permissions.d.ts +21 -0
- package/dist/agent/tools/revoke_routine_permissions.d.ts.map +1 -0
- package/dist/agent/tools/revoke_routine_permissions.js +72 -0
- package/dist/agent/tools/revoke_routine_permissions.js.map +1 -0
- package/dist/agent/tools/rotate_webhook.d.ts +37 -0
- package/dist/agent/tools/rotate_webhook.d.ts.map +1 -0
- package/dist/agent/tools/rotate_webhook.js +170 -0
- package/dist/agent/tools/rotate_webhook.js.map +1 -0
- package/dist/agent/tools/run_routine_now.d.ts +23 -0
- package/dist/agent/tools/run_routine_now.d.ts.map +1 -0
- package/dist/agent/tools/run_routine_now.js +106 -0
- package/dist/agent/tools/run_routine_now.js.map +1 -0
- package/dist/agent/tools/sandbox_tools.d.ts +11 -0
- package/dist/agent/tools/sandbox_tools.d.ts.map +1 -0
- package/dist/agent/tools/sandbox_tools.js +75 -0
- package/dist/agent/tools/sandbox_tools.js.map +1 -0
- package/dist/agent/tools/search.d.ts +65 -0
- package/dist/agent/tools/search.d.ts.map +1 -0
- package/dist/agent/tools/search.js +114 -0
- package/dist/agent/tools/search.js.map +1 -0
- package/dist/agent/tools/session_cost.d.ts +39 -0
- package/dist/agent/tools/session_cost.d.ts.map +1 -0
- package/dist/agent/tools/session_cost.js +124 -0
- package/dist/agent/tools/session_cost.js.map +1 -0
- package/dist/agent/tools/set_dm_delivery.d.ts +23 -0
- package/dist/agent/tools/set_dm_delivery.d.ts.map +1 -0
- package/dist/agent/tools/set_dm_delivery.js +106 -0
- package/dist/agent/tools/set_dm_delivery.js.map +1 -0
- package/dist/agent/tools/set_spend_limit.d.ts +156 -0
- package/dist/agent/tools/set_spend_limit.d.ts.map +1 -0
- package/dist/agent/tools/set_spend_limit.js +437 -0
- package/dist/agent/tools/set_spend_limit.js.map +1 -0
- package/dist/agent/tools/set_state.d.ts +74 -0
- package/dist/agent/tools/set_state.d.ts.map +1 -0
- package/dist/agent/tools/set_state.js +166 -0
- package/dist/agent/tools/set_state.js.map +1 -0
- package/dist/agent/tools/spawn_thread_session.d.ts +9 -0
- package/dist/agent/tools/spawn_thread_session.d.ts.map +1 -0
- package/dist/agent/tools/spawn_thread_session.js +204 -0
- package/dist/agent/tools/spawn_thread_session.js.map +1 -0
- package/dist/agent/tools/spend_report.d.ts +180 -0
- package/dist/agent/tools/spend_report.d.ts.map +1 -0
- package/dist/agent/tools/spend_report.js +372 -0
- package/dist/agent/tools/spend_report.js.map +1 -0
- package/dist/agent/tools/stand_down.d.ts +91 -0
- package/dist/agent/tools/stand_down.d.ts.map +1 -0
- package/dist/agent/tools/stand_down.js +245 -0
- package/dist/agent/tools/stand_down.js.map +1 -0
- package/dist/agent/tools/subscribe_pr.d.ts +104 -0
- package/dist/agent/tools/subscribe_pr.d.ts.map +1 -0
- package/dist/agent/tools/subscribe_pr.js +213 -0
- package/dist/agent/tools/subscribe_pr.js.map +1 -0
- package/dist/agent/tools/unlink_identity.d.ts +19 -0
- package/dist/agent/tools/unlink_identity.d.ts.map +1 -0
- package/dist/agent/tools/unlink_identity.js +97 -0
- package/dist/agent/tools/unlink_identity.js.map +1 -0
- package/dist/agent/tools/update_status.d.ts +17 -0
- package/dist/agent/tools/update_status.d.ts.map +1 -0
- package/dist/agent/tools/update_status.js +59 -0
- package/dist/agent/tools/update_status.js.map +1 -0
- package/dist/agent/tools/usage_report.d.ts +59 -0
- package/dist/agent/tools/usage_report.d.ts.map +1 -0
- package/dist/agent/tools/usage_report.js +91 -0
- package/dist/agent/tools/usage_report.js.map +1 -0
- package/dist/agent/tools/walk_pr.d.ts +79 -0
- package/dist/agent/tools/walk_pr.d.ts.map +1 -0
- package/dist/agent/tools/walk_pr.js +133 -0
- package/dist/agent/tools/walk_pr.js.map +1 -0
- package/dist/agent/webhooks/achievability.d.ts +80 -0
- package/dist/agent/webhooks/achievability.d.ts.map +1 -0
- package/dist/agent/webhooks/achievability.js +216 -0
- package/dist/agent/webhooks/achievability.js.map +1 -0
- package/dist/agent/webhooks/capture-window.d.ts +86 -0
- package/dist/agent/webhooks/capture-window.d.ts.map +1 -0
- package/dist/agent/webhooks/capture-window.js +194 -0
- package/dist/agent/webhooks/capture-window.js.map +1 -0
- package/dist/agent/webhooks/config.d.ts +326 -0
- package/dist/agent/webhooks/config.d.ts.map +1 -0
- package/dist/agent/webhooks/config.js +280 -0
- package/dist/agent/webhooks/config.js.map +1 -0
- package/dist/agent/webhooks/dispatch.d.ts +103 -0
- package/dist/agent/webhooks/dispatch.d.ts.map +1 -0
- package/dist/agent/webhooks/dispatch.js +358 -0
- package/dist/agent/webhooks/dispatch.js.map +1 -0
- package/dist/agent/webhooks/gate.d.ts +128 -0
- package/dist/agent/webhooks/gate.d.ts.map +1 -0
- package/dist/agent/webhooks/gate.js +296 -0
- package/dist/agent/webhooks/gate.js.map +1 -0
- package/dist/agent/webhooks/handshake-capture.d.ts +66 -0
- package/dist/agent/webhooks/handshake-capture.d.ts.map +1 -0
- package/dist/agent/webhooks/handshake-capture.js +126 -0
- package/dist/agent/webhooks/handshake-capture.js.map +1 -0
- package/dist/agent/webhooks/hooks-codemod.d.ts +73 -0
- package/dist/agent/webhooks/hooks-codemod.d.ts.map +1 -0
- package/dist/agent/webhooks/hooks-codemod.js +231 -0
- package/dist/agent/webhooks/hooks-codemod.js.map +1 -0
- package/dist/agent/webhooks/oe-standard-webhook.d.ts +153 -0
- package/dist/agent/webhooks/oe-standard-webhook.d.ts.map +1 -0
- package/dist/agent/webhooks/oe-standard-webhook.js +498 -0
- package/dist/agent/webhooks/oe-standard-webhook.js.map +1 -0
- package/dist/agent/webhooks/reject-audit.d.ts +40 -0
- package/dist/agent/webhooks/reject-audit.d.ts.map +1 -0
- package/dist/agent/webhooks/reject-audit.js +99 -0
- package/dist/agent/webhooks/reject-audit.js.map +1 -0
- package/dist/agent/webhooks/replay-dedupe.d.ts +58 -0
- package/dist/agent/webhooks/replay-dedupe.d.ts.map +1 -0
- package/dist/agent/webhooks/replay-dedupe.js +159 -0
- package/dist/agent/webhooks/replay-dedupe.js.map +1 -0
- package/dist/agent/webhooks/reveal-page.d.ts +116 -0
- package/dist/agent/webhooks/reveal-page.d.ts.map +1 -0
- package/dist/agent/webhooks/reveal-page.js +443 -0
- package/dist/agent/webhooks/reveal-page.js.map +1 -0
- package/dist/agent/webhooks/secrets.d.ts +17 -0
- package/dist/agent/webhooks/secrets.d.ts.map +1 -0
- package/dist/agent/webhooks/secrets.js +73 -0
- package/dist/agent/webhooks/secrets.js.map +1 -0
- package/dist/agent/webhooks/source-vocabulary.d.ts +131 -0
- package/dist/agent/webhooks/source-vocabulary.d.ts.map +1 -0
- package/dist/agent/webhooks/source-vocabulary.js +315 -0
- package/dist/agent/webhooks/source-vocabulary.js.map +1 -0
- package/dist/agent/webhooks/verifier.d.ts +251 -0
- package/dist/agent/webhooks/verifier.d.ts.map +1 -0
- package/dist/agent/webhooks/verifier.js +109 -0
- package/dist/agent/webhooks/verifier.js.map +1 -0
- package/dist/scripts/operator-store-connect.d.ts +86 -0
- package/dist/scripts/operator-store-connect.d.ts.map +1 -0
- package/dist/scripts/operator-store-connect.js +218 -0
- package/dist/scripts/operator-store-connect.js.map +1 -0
- package/package.json +3397 -0
- package/patches/eve+0.54.3.patch +129 -0
- package/scripts/eve-framework-tools.ts +367 -0
- package/scripts/oe-cli.ts +293 -0
- package/scripts/oe-secret.ts +278 -0
- package/scripts/oe-wrap-untrusted.ts +63 -0
- package/scripts/operator-store-connect.ts +246 -0
- package/templates/subagents/fresh_eyes_review/agent.ts +37 -0
- package/templates/subagents/fresh_eyes_review/hooks/spend.ts +16 -0
- package/templates/subagents/fresh_eyes_review/instructions.md +52 -0
- package/templates/subagents/fresh_eyes_review/tools/ask_question.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/bash.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/connection_search.ts +52 -0
- package/templates/subagents/fresh_eyes_review/tools/load_skill.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/read_file.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/task_cancel.ts +20 -0
- package/templates/subagents/fresh_eyes_review/tools/todo.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/web_fetch.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/web_search.ts +13 -0
- package/templates/subagents/fresh_eyes_review/tools/write_file.ts +13 -0
- package/tsconfig.build.json +24 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,1308 @@
|
|
|
1
|
+
// SurfaceBinding is the platform-agnostic identity a session runs under: each platform contributes a mapper that translates its native identity into this one shape, and the rest of the system never sees a platform-specific field.
|
|
2
|
+
// Identity lives in session.auth.current.attributes, not in channel.metadata, so a mapper reads those attributes plus channel.kind and this module interprets them into mode, visibility and trust.
|
|
3
|
+
|
|
4
|
+
import type { SessionMode } from "../access/resolver.js";
|
|
5
|
+
import { readBindingBridge, stampBindingBridge, bridgedContext, type BridgedIdentity } from "./binding-bridge.js";
|
|
6
|
+
import { normalizePlatform, platformFromKind } from "./platform.js";
|
|
7
|
+
import { seg, deploymentOrg, ambientWorkspace, ambientSurface } from "./deployment-identity.js";
|
|
8
|
+
import { admitProviderRegistration } from "../access/provider-selection.js";
|
|
9
|
+
import { declaredSurfaceTrust, type SurfaceTrust } from "./trust.js";
|
|
10
|
+
|
|
11
|
+
import { UNNAMED_TENANT } from "./principal-key.js";
|
|
12
|
+
import { bareTokenFromEveContext, classifySessionId, parseWindowToken, sessionGrantKeyFromToken } from "../channels/window-key.js";
|
|
13
|
+
import { sourcesForWindow, decodeSources } from "../channels/window-sources.js";
|
|
14
|
+
import { ROUTINE_MARKER, routinePermissionKeyStamped } from "../routines/routine.js";
|
|
15
|
+
import type { Domain } from "../memory/domain.js";
|
|
16
|
+
import { processRegistryMap } from "../lib/process-registry.js";
|
|
17
|
+
// A LEAF import (OPE-585): access/task-wake-signal.ts reaches only `eve/context`, so it closes no
|
|
18
|
+
// cycle in this module's cone — the same property access/taint-signal.ts's own leaf imports rely on.
|
|
19
|
+
import { taskWakeThisTurn, uningressedTurn } from "../access/task-wake-signal.js";
|
|
20
|
+
import { delegatedBindingAdopted, delegatedBindingThisTurn, delegatedSlotState } from "./delegated-binding.js";
|
|
21
|
+
import { frozenSurfaceBindingFrom } from "./frozen-surface-binding.internal.js";
|
|
22
|
+
|
|
23
|
+
/** Whether a surface's learnings may flow up to shared (workspace/domain) memory. */
|
|
24
|
+
export type Visibility = "public" | "private";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Whether a surface is INSIDE the trust boundary (members are all in-org) or reaches
|
|
28
|
+
* OUTSIDE it (externally shared / Slack Connect / guest members). This is a SEPARATE
|
|
29
|
+
* dimension from visibility: a private channel is still internal; an externally-shared
|
|
30
|
+
* channel is external even if "public" within the workspace.
|
|
31
|
+
*
|
|
32
|
+
* It selects the shared-memory layer (memory/resolve.ts): an `external` channel routes to
|
|
33
|
+
* the read-only `public` pseudo-domain instead of an internal domain, because surfacing
|
|
34
|
+
* internal memory to an outsider is a serious leak. For a DM, `trust` means "is the DM
|
|
35
|
+
* PARTNER internal?" — it picks the DM's shared read layer (internal → `dm`, external →
|
|
36
|
+
* `public`); the per-user DB silo is granted regardless. The gate is fail-closed: when
|
|
37
|
+
* trust can't be positively determined on a real platform (including any DM partner, which
|
|
38
|
+
* we can't yet verify), treat as `external`. See docs/capabilities/memory.md "external/guest gate".
|
|
39
|
+
*/
|
|
40
|
+
export type Trust = "internal" | "external";
|
|
41
|
+
|
|
42
|
+
export interface SurfaceBinding {
|
|
43
|
+
/**
|
|
44
|
+
* The TENANT — the outermost partition key (Claude Tag's "org"). One deployment
|
|
45
|
+
* serves one org today (declared in agent/identity/surfaces.ts, default "default"); a hosted, multi-tenant
|
|
46
|
+
* deployment resolves it per-request (Slack workspace → org lookup, an auth claim, …),
|
|
47
|
+
* which is a dedicated resolver, not this env read — so org is resolved here in
|
|
48
|
+
* bindFrom, not in a per-platform mapper (those translate per-message identity).
|
|
49
|
+
* Every durable store partitions by this: SQLite/Postgres as the `org_id` column
|
|
50
|
+
* (+ RLS), git as the top-level directory.
|
|
51
|
+
*/
|
|
52
|
+
readonly org: string;
|
|
53
|
+
readonly platform: string;
|
|
54
|
+
readonly workspace: string;
|
|
55
|
+
readonly surface: string;
|
|
56
|
+
/**
|
|
57
|
+
* The surface segment to use for DOMAIN + SPEND grain when it differs from `surface`
|
|
58
|
+
* — today only a Discord THREAD, whose `surface` is the thread's own channel id while
|
|
59
|
+
* domains and spend caps are declared against the PARENT channel (backlog item 22:
|
|
60
|
+
* Slack threads share the channel's surface key, so on Slack the two grains coincide
|
|
61
|
+
* and this is absent). Consumers that resolve a channel→domain hop (memory, RBAC,
|
|
62
|
+
* access bundles, model routes) or account/gate spend use `domainSurface ?? surface`;
|
|
63
|
+
* everything CONVERSATIONAL (sessions, engagement, reply targets, the partition
|
|
64
|
+
* surfaceKey that names memory working-copy dirs) deliberately stays on `surface` —
|
|
65
|
+
* a thread keeps its own conversational identity, it just belongs to its parent's
|
|
66
|
+
* domain and budget. Sanitized like `surface` (it becomes a storage/scope key segment).
|
|
67
|
+
*/
|
|
68
|
+
readonly domainSurface?: string;
|
|
69
|
+
readonly mode: SessionMode;
|
|
70
|
+
/**
|
|
71
|
+
* TRUE when {@link mode} was RESOLVED — a platform mapper answered with one, or the operator
|
|
72
|
+
* declared it on `OE_MODE`. ABSENT means the mode is a GAP-FILL: nothing answered, and `channel`
|
|
73
|
+
* is the default that keeps every reader working (OPE-1867).
|
|
74
|
+
*
|
|
75
|
+
* 🔴 IT IS ONLY AS TRUTHFUL AS THE MAPPER, AND TODAY ONLY TEAMS ANSWERS HONESTLY. The flag says
|
|
76
|
+
* a mapper RETURNED a mode, not that the mapper was sure of it. `teamsResolvedMode` returns
|
|
77
|
+
* undefined for a conversation scope it cannot read, so Teams reports its own ignorance;
|
|
78
|
+
* `slackMode` still ends `return "channel"` for an activity with neither a `channel_type` nor a
|
|
79
|
+
* `D`-prefixed id, so Slack reports a default as a resolution. The residual exposure there is
|
|
80
|
+
* small — a Slack DM id starts with `D`, which that mapper's earlier arm catches — but do not
|
|
81
|
+
* read this flag as "every mapper reports provenance". Giving a mapper the Teams treatment is one
|
|
82
|
+
* function per bundle, and the next one to be written should follow `teamsResolvedMode`, never
|
|
83
|
+
* `slackMode`'s tail.
|
|
84
|
+
*
|
|
85
|
+
* 🔴 `mode` IS ALWAYS A USABLE VALUE, AND THIS IS THE ONLY WAY TO TELL THE TWO APART. Most
|
|
86
|
+
* readers want the gap-filled value and should keep reading `mode` alone — a room is the right
|
|
87
|
+
* assumption for visibility, trust and routing, all of which fail closed on their own terms.
|
|
88
|
+
* The reader that must NOT accept a default is the one that PUBLISHES the surface: a turn the
|
|
89
|
+
* mapper could not classify may be a one-to-one conversation, and naming it in a report posted
|
|
90
|
+
* into a room is the disclosure this flag exists to prevent. `hooks/spend.ts` `turnSurfaceMode`
|
|
91
|
+
* is that reader — it returns undefined here, and the row masks as `(unclassified)`.
|
|
92
|
+
*
|
|
93
|
+
* Absent therefore FAILS CLOSED for disclosure, which is why it is a positive flag rather than a
|
|
94
|
+
* `modeGapFilled` negative: a construction site that forgets it masks, it does not publish.
|
|
95
|
+
*/
|
|
96
|
+
readonly modeResolved?: true;
|
|
97
|
+
readonly visibility: Visibility;
|
|
98
|
+
/**
|
|
99
|
+
* Trust boundary of the surface (internal vs external/guest). Gates ALL shared
|
|
100
|
+
* memory in the memory resolver (memory/resolve.ts) — fail-closed to `external`.
|
|
101
|
+
*/
|
|
102
|
+
readonly trust: Trust;
|
|
103
|
+
/** The operator's own declaration for this room, in the declaration's vocabulary (internal or public), or undefined when they declared nothing. It is NOT trust: trust is a join in which the mapper's verdict outranks the declaration, so a gate that must ask whether the operator vouched that everyone here is a member reads this field instead. */
|
|
104
|
+
readonly declaredTrust?: SurfaceTrust;
|
|
105
|
+
readonly principalId?: string;
|
|
106
|
+
/** TRUE when principalId is attribution rather than an actor: the attested creator of a routine fire, or an unattended origin with nobody to name. Every read that turns an identity into a PERMISSION goes through actingPrincipalId, which answers undefined here; reads that only say WHO keep using principalId. */
|
|
107
|
+
readonly principalAttested?: true;
|
|
108
|
+
/** Channel-adapter target for proactive post-back (e.g. `{ channelId }`). */
|
|
109
|
+
readonly target?: Readonly<Record<string, unknown>>;
|
|
110
|
+
/**
|
|
111
|
+
* The thread this turn is anchored on, when the platform has one (Slack: the auth
|
|
112
|
+
* attributes' `thread_ts`, which Eve's adapter falls back to the triggering message's
|
|
113
|
+
* own ts — so a channel mention always carries it). Lets a tool post its side-effects
|
|
114
|
+
* (approval cards etc.) into the SAME thread as the agent's reply instead of as a
|
|
115
|
+
* fresh top-level channel message. NOT part of `target` deliberately: routine
|
|
116
|
+
* post-backs target the channel (a fresh message), never an old thread.
|
|
117
|
+
*/
|
|
118
|
+
readonly threadTs?: string;
|
|
119
|
+
/** The engagement-registry key of this conversation. A mapper sets it only where the platform's key is not the Slack-shaped threadTs, never by reusing threadTs (about twenty consumers read that field as a Slack thread_ts API parameter), and it is not sanitized, because it must match the key the platform's ingress wrote byte for byte. */
|
|
120
|
+
readonly engagementKey?: string;
|
|
121
|
+
/** The room-grain engagement key, for a platform whose wake gate also watches the whole room. It is the stop anchor of last resort, reached only when the engagementKey mark found no row, so a mapper publishes it only where the platform stores a room-grain wake row; it is not sanitized, like engagementKey. */
|
|
122
|
+
readonly roomEngagementKey?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The id of the message this turn is anchored on, for a platform whose reply anchor is NOT a
|
|
125
|
+
* Slack-shaped `threadTs` (OPE-671). `hooks/turn-anchor.ts` reads `threadTs` first and falls back
|
|
126
|
+
* to this field, so the ✋ stop-hand reaction (and the anchor row a reaction event resolves by)
|
|
127
|
+
* gets a real per-message id on Discord instead of always being empty.
|
|
128
|
+
*
|
|
129
|
+
* 🔴 A SEPARATE FIELD, for the SAME reason `engagementKey` is (OPE-661): reusing `threadTs` for a
|
|
130
|
+
* Discord message id would corrupt the ~twenty consumers that read it as a Slack thread_ts API
|
|
131
|
+
* parameter. A mapper sets this only where `threadTs` is absent and a real triggering-message id
|
|
132
|
+
* is known — Discord's gateway relay path; absent on a slash-command interaction (no message) and
|
|
133
|
+
* on Slack (its anchor is already `threadTs`).
|
|
134
|
+
*/
|
|
135
|
+
readonly anchorMessageId?: string;
|
|
136
|
+
/** The container id the stop registry keys this turn's conversation by, when the platform's container is not the post-back target's channelId (Linear an issue, GitHub an issue or PR thread, Teams a reply chain). It is a separate field because about fifteen consumers read target.channelId as a chat channel to post into, and it is PREFERRED over target.channelId when a mapper sets both. */
|
|
137
|
+
readonly anchorChannelId?: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// Structural context — no eve imports, so it's satisfied by HookContext,
|
|
141
|
+
// ToolContext, and DynamicResolveContext alike.
|
|
142
|
+
interface AuthPrincipal {
|
|
143
|
+
readonly attributes?: Readonly<Record<string, string | readonly string[]>>;
|
|
144
|
+
readonly principalId?: string;
|
|
145
|
+
readonly principalType?: string;
|
|
146
|
+
/** eve's own name for the credential family that produced this slot ("app" on a schedule fire).
|
|
147
|
+
* Read ONLY by {@link isScheduleOriginatedAuth}; every other derivation keys on attributes. */
|
|
148
|
+
readonly authenticator?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface BindableContext {
|
|
151
|
+
readonly session?: {
|
|
152
|
+
readonly auth?: {
|
|
153
|
+
readonly current?: AuthPrincipal | null;
|
|
154
|
+
readonly initiator?: AuthPrincipal | null;
|
|
155
|
+
} | null;
|
|
156
|
+
/**
|
|
157
|
+
* eve's TYPED parent linkage, present on a DELEGATED CHILD run and on nothing else
|
|
158
|
+
* (`SessionParent`, seeded into the child's context by execution/runtime-context.js from the run
|
|
159
|
+
* input execution/subagent-tool.js built). Declared here — not only on hooks/spend.ts's
|
|
160
|
+
* `DelegatableContext` — because since OPE-393 it is a security discriminator read by the grain
|
|
161
|
+
* override, the delegation leaf rule, the wake/addressing neutralisation, the memory
|
|
162
|
+
* single-writer rule and the egress identical-binding invariant, all of which take a plain
|
|
163
|
+
* `BindableContext`. Host-set and model-unreachable: `buildSubagentRunInput` destructures only
|
|
164
|
+
* `message`/`outputSchema` off the model's action, so nothing a model writes can produce it.
|
|
165
|
+
*/
|
|
166
|
+
readonly parent?: { readonly sessionId?: string; readonly callId?: string; readonly rootSessionId?: string };
|
|
167
|
+
/** This session's own durable id, distinct from parent.sessionId above. It is named id because every eve context that carries it names it id, and turn.id is session-scoped (turn_0, turn_1, and so on), so a caller that needs a unique per-turn key pairs the two. */
|
|
168
|
+
readonly id?: string;
|
|
169
|
+
};
|
|
170
|
+
readonly channel?: { readonly kind?: string; readonly continuationToken?: string };
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* The GROUP-rung key a mapper's {@link RawIdentity.trustGroup} contributes, or `undefined` when the
|
|
175
|
+
* mapper set nothing or set something malformed (fail-closed: no rung).
|
|
176
|
+
*
|
|
177
|
+
* SHAPE ONLY — core validates `<marker>:<id>` over the same safe charset every key segment uses and
|
|
178
|
+
* learns no vendor word. A value that would need sanitising is REFUSED rather than repaired: `seg()`
|
|
179
|
+
* would strip the colon and silently turn a group key into a surface key that could collide with a
|
|
180
|
+
* real room.
|
|
181
|
+
*/
|
|
182
|
+
function trustGroupKey(
|
|
183
|
+
platform: string,
|
|
184
|
+
workspace: string,
|
|
185
|
+
group: string | undefined,
|
|
186
|
+
): { readonly groupKey: string } | undefined {
|
|
187
|
+
const key = trustGroupKeyFor(`${platform}/${workspace}`, group);
|
|
188
|
+
return key === undefined ? undefined : { groupKey: key };
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* The same GROUP-rung key from a workspace key a caller ALREADY holds — the shape a gate reading a
|
|
193
|
+
* resolved partition has (OPE-1538: the Teams single-window privacy floor). Exported so the rung has
|
|
194
|
+
* ONE spelling: a gate that composed `${workspaceKey}/${group}` by hand would drift from the binding
|
|
195
|
+
* the moment either side's validation changed, and the two must agree or a `public` group carve-out
|
|
196
|
+
* demotes on one plane and not the other. Returns `undefined` on a malformed group, fail-closed.
|
|
197
|
+
*/
|
|
198
|
+
export function trustGroupKeyFor(workspaceKey: string, group: string | undefined): string | undefined {
|
|
199
|
+
if (group === undefined || !/^[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+$/.test(group)) return undefined;
|
|
200
|
+
return `${workspaceKey}/${group}`;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* The ENTERPRISE-rung key a mapper's {@link RawIdentity.trustEnterprise} contributes, or `undefined`
|
|
205
|
+
* when the mapper set nothing (fail-closed: no rung, so the walk reaches nothing it would not have
|
|
206
|
+
* reached before).
|
|
207
|
+
*
|
|
208
|
+
* SPELLED, NOT REFUSED — the opposite of {@link trustGroupKey}, and for a structural reason. A group
|
|
209
|
+
* key needs a colon that `seg()` would strip, so repairing it could silently turn it into a surface
|
|
210
|
+
* key; an enterprise id occupies the TENANT slot, where `seg()` is already the one spelling every
|
|
211
|
+
* other tenant id goes through. An id that cleans to nothing has no key.
|
|
212
|
+
*/
|
|
213
|
+
function trustEnterpriseKey(
|
|
214
|
+
platform: string,
|
|
215
|
+
enterprise: string | undefined,
|
|
216
|
+
): { readonly enterpriseKey: string } | undefined {
|
|
217
|
+
const spelled = seg(enterprise, "");
|
|
218
|
+
if (spelled.length === 0) return undefined;
|
|
219
|
+
return { enterpriseKey: `${platform}/${spelled}` };
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/** The one sanitiser for a platform id used as a key segment: the surface key, the memory partition, the domain roster, every audit row and a resource grant all use this spelling, and a second copy of the charset is how two of them drift apart. It is idempotent, and the 100-character clamp is its only lossy step. */
|
|
223
|
+
export function surfaceKeySegment(value: string | undefined): string {
|
|
224
|
+
return seg(value, "");
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// Re-exported so this module stays the one name callers say for the deployment's org; the
|
|
228
|
+
// definition lives in the leaf `deployment-identity.ts` so a boot-time caller that cannot import
|
|
229
|
+
// the identity layer's graph still reads the SAME spelling (OPE-1438).
|
|
230
|
+
export { deploymentOrg } from "./deployment-identity.js";
|
|
231
|
+
|
|
232
|
+
function authOf(ctx: BindableContext): AuthPrincipal | null {
|
|
233
|
+
return ctx.session?.auth?.current ?? ctx.session?.auth?.initiator ?? null;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// Auth principalId, treating empty string as absent so it falls through to a
|
|
237
|
+
// platform attribute (e.g. Slack's user_id) rather than binding a blank id. Exported (OPE-645) so
|
|
238
|
+
// a chat channel's `turn.started` handler — the one point in a terminal reply's lifecycle where
|
|
239
|
+
// `ctx.session.auth` is still THIS turn's live delivery, not a later queued one — can snapshot the
|
|
240
|
+
// same principal `bindFrom` itself falls back to, without pulling in the whole platform-mapper +
|
|
241
|
+
// binding-bridge machinery `bindFrom` runs (which needs a `channel.kind` a channel event's own ctx
|
|
242
|
+
// never carries).
|
|
243
|
+
export function authPrincipalId(ctx: BindableContext): string | undefined {
|
|
244
|
+
const pid = authOf(ctx)?.principalId;
|
|
245
|
+
return pid && pid.length > 0 ? pid : undefined;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
function attr(a: AuthPrincipal["attributes"], keys: readonly string[]): string | undefined {
|
|
249
|
+
if (!a) return undefined;
|
|
250
|
+
for (const k of keys) {
|
|
251
|
+
const v = a[k];
|
|
252
|
+
if (typeof v === "string" && v.length > 0) return v;
|
|
253
|
+
if (Array.isArray(v) && typeof v[0] === "string" && v[0].length > 0) return v[0];
|
|
254
|
+
}
|
|
255
|
+
return undefined;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// These two host-set attributes carry a triggered fire's stored creator into the binding, and routines/fire-auth.ts is their only writer, off the stored row and a live per-fire recheck of that person's standing. They are attributes rather than eve's auth.principalId on purpose: the creator's id then travels together with principalAttested, so no reader picks up the identity with the flag stripped off.
|
|
259
|
+
|
|
260
|
+
/** Host-set: the STORED creator principal an autonomous fire is bound as ({@link SurfaceBinding.principalAttested}). */
|
|
261
|
+
export const FIRE_PRINCIPAL_ATTR = "oe_fire_principal";
|
|
262
|
+
/** Host-set: the LIVE per-fire verdict on that creator's CURRENT standing. POSITIVE-ONLY — the only
|
|
263
|
+
* value that means anything is the literal `"internal"`; absent/anything else is fail-closed. */
|
|
264
|
+
export const FIRE_PRINCIPAL_TRUST_ATTR = "oe_fire_principal_trust";
|
|
265
|
+
/** Host-set marker that a trigger produced this session and nobody is acting on it; only the literal true counts, and every fire-auth bag builder stamps it. It exists beside the creator stamp because a webhook fire or a creator-less routine row has nobody to name, and it affects the attestation flag only, never trust. */
|
|
266
|
+
export const FIRE_UNATTENDED_ATTR = "oe_fire_unattended";
|
|
267
|
+
|
|
268
|
+
/** The attested creator this delivery carries, or undefined on an ordinary (human-acting) turn. */
|
|
269
|
+
function attestedFirePrincipal(ctx: BindableContext): { readonly id: string; readonly internal: boolean } | undefined {
|
|
270
|
+
const a = authOf(ctx)?.attributes;
|
|
271
|
+
const id = attr(a, [FIRE_PRINCIPAL_ATTR, "oeFirePrincipal"]);
|
|
272
|
+
if (id === undefined) return undefined;
|
|
273
|
+
return { id, internal: attr(a, [FIRE_PRINCIPAL_TRUST_ATTR, "oeFirePrincipalTrust"]) === "internal" };
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** The attested creator id this delivery carries, when it carries one. Use it for AUDIT DETAIL only and never as the reply's author, because the schedule or service principal stays the actor a fired turn speaks as; it is undefined on an ordinary human turn, on a webhook fire and on a creator-less routine row, where there is genuinely nobody to name. */
|
|
277
|
+
export function attestedFireCreatorId(ctx: BindableContext): string | undefined {
|
|
278
|
+
return attestedFirePrincipal(ctx)?.id;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Does this delivery declare an UNATTENDED origin ({@link FIRE_UNATTENDED_ATTR})? Positive-only,
|
|
282
|
+
* like the trust stamp: only the literal `"true"` counts, anything else reads as a live turn. */
|
|
283
|
+
function unattendedOrigin(ctx: BindableContext): boolean {
|
|
284
|
+
return attr(authOf(ctx)?.attributes, [FIRE_UNATTENDED_ATTR, "oeFireUnattended"]) === "true";
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// eve hands every schedule handler this exact auth slot but exports it from no public entry point, so the three fields are restated here and pinned against eve's dist by the integration tier: a rename must fail loudly.
|
|
288
|
+
// Attendedness fails CLOSED over three independent host-set facts, the unattended stamp, the routine marker and eve's schedule auth, and a hit on any one means nobody is acting; no live human turn can produce any of them.
|
|
289
|
+
export const SCHEDULE_APP_AUTHENTICATOR = "app";
|
|
290
|
+
export const SCHEDULE_APP_PRINCIPAL_ID = "eve:app";
|
|
291
|
+
export const SCHEDULE_APP_PRINCIPAL_TYPE = "runtime";
|
|
292
|
+
|
|
293
|
+
/** The auth slot {@link isScheduleOriginatedAuth} reads — structural, so a caller holding a raw eve
|
|
294
|
+
* slot (hooks/fire-carriage.ts) needs no eve type import to pass it. */
|
|
295
|
+
interface ScheduleAuthSlot {
|
|
296
|
+
readonly authenticator?: unknown;
|
|
297
|
+
readonly principalId?: unknown;
|
|
298
|
+
readonly principalType?: unknown;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Was this session started by a SCHEDULE handler? Mirrors eve's own `isScheduleAppAuth` predicate —
|
|
303
|
+
* all three fields, never the attributes — so a session that merely looks app-shaped cannot answer
|
|
304
|
+
* yes, and so the answer survives a fire that arrives with an empty attribute bag.
|
|
305
|
+
*/
|
|
306
|
+
export function isScheduleOriginatedAuth(auth: ScheduleAuthSlot | null | undefined): boolean {
|
|
307
|
+
return (
|
|
308
|
+
auth?.authenticator === SCHEDULE_APP_AUTHENTICATOR &&
|
|
309
|
+
auth?.principalId === SCHEDULE_APP_PRINCIPAL_ID &&
|
|
310
|
+
auth?.principalType === SCHEDULE_APP_PRINCIPAL_TYPE
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/** Is a ROUTINE FIRE's own marker on this delivery? routines/fire-auth.ts is the only writer of it,
|
|
315
|
+
* and it writes it onto nothing but a fire — so its presence alone means nobody is acting. */
|
|
316
|
+
function routineMarkerDelivery(ctx: BindableContext): boolean {
|
|
317
|
+
return attr(authOf(ctx)?.attributes, [ROUTINE_MARKER.id]) !== undefined;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** THE FAIL-CLOSED ATTENDEDNESS FLOOR (OPE-497) — see the block above for why it has three arms. */
|
|
321
|
+
function unattendedDelivery(ctx: BindableContext): boolean {
|
|
322
|
+
return unattendedOrigin(ctx) || routineMarkerDelivery(ctx) || isScheduleOriginatedAuth(authOf(ctx));
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* The principal ACTING on this turn — `binding.principalId` unless it is merely ATTESTED, in which
|
|
327
|
+
* case there is no acting human and the answer is `undefined`.
|
|
328
|
+
*
|
|
329
|
+
* 🔴 THIS IS THE AUTHORITY FENCE (OPE-269). Call it — never `binding.principalId` — anywhere an
|
|
330
|
+
* identity is about to become a PERMISSION: admin standing (access/roles.ts), the personal
|
|
331
|
+
* connector universe (`dm:<principal>`, access/request.ts), and the "a human is in the room asking
|
|
332
|
+
* for this" gates on routine-mutating tools. `principalId` itself stays the honest answer to WHO,
|
|
333
|
+
* which is what audit rows, the spend ledger and an approval card's "asked by" line need.
|
|
334
|
+
*
|
|
335
|
+
* Deliberately a function over the binding rather than a second field: a field would be one more
|
|
336
|
+
* thing every SurfaceBinding literal has to remember to set correctly, and forgetting it would
|
|
337
|
+
* fail OPEN. This derives the answer from the flag the ONE constructor (bindFrom) sets.
|
|
338
|
+
*/
|
|
339
|
+
export function actingPrincipalId(binding: SurfaceBinding): string | undefined {
|
|
340
|
+
return binding.principalAttested ? undefined : binding.principalId;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* IS NOBODY WATCHING THIS TURN? `true` on a routine/webhook/cron fire, `false` on a live human turn.
|
|
345
|
+
* The binding-taking form; `access/request.ts` `unattendedOf(ctx)` is the ctx-taking twin, and the
|
|
346
|
+
* pair mirrors {@link actingPrincipalId} / `actingPrincipalIdOf` deliberately.
|
|
347
|
+
*
|
|
348
|
+
* 🔴 THIS IS A SECURITY CONTROL (OPE-440). The approver chain turns `ask` into `deny` when it reads
|
|
349
|
+
* `true`, so "ask when nobody can answer" IS "deny". Every approval site derives the value through
|
|
350
|
+
* this function or its twin, and `lint:principal-gate` rule 5 refuses any other spelling — reading
|
|
351
|
+
* `binding.principalId` here would answer "a human is present" for every fire, because a fire binds
|
|
352
|
+
* as its routine's attested creator.
|
|
353
|
+
*/
|
|
354
|
+
export function unattendedFrom(binding: SurfaceBinding): boolean {
|
|
355
|
+
return actingPrincipalId(binding) === undefined;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// What a mapper returns — every field optional; bindFrom fills gaps from env/defaults.
|
|
359
|
+
// Exported so a future provider bundle can author its mapper against the same contract and
|
|
360
|
+
// register it via {@link registerIdentityMapper}.
|
|
361
|
+
export interface RawIdentity {
|
|
362
|
+
readonly workspace?: string;
|
|
363
|
+
readonly surface?: string;
|
|
364
|
+
/** Domain/spend-grain surface segment when it differs (see SurfaceBinding.domainSurface). */
|
|
365
|
+
readonly domainSurface?: string;
|
|
366
|
+
readonly mode?: SessionMode;
|
|
367
|
+
readonly visibility?: Visibility;
|
|
368
|
+
/** Trust boundary; a mapper that can't determine it leaves it undefined → bindFrom
|
|
369
|
+
* fails closed to `external` for real platforms (internal only for local/dev). */
|
|
370
|
+
readonly trust?: Trust;
|
|
371
|
+
/**
|
|
372
|
+
* For a DM: set true iff the mapper POSITIVELY verified the partner's trust (a real
|
|
373
|
+
* users.info-style lookup). When false/absent, bindFrom fails the DM closed to external.
|
|
374
|
+
* Lets a verified DM partner light up the `dm` shared layer while unverifiable platforms
|
|
375
|
+
* stay safe. Ignored for channels (their trust is already authoritative or fail-closed).
|
|
376
|
+
*/
|
|
377
|
+
readonly trustVerified?: boolean;
|
|
378
|
+
/** The group rung between the tenant and the surface, as a marked segment of the form marker:id, set by a mapper only where such a container exists (Teams contributes its team id). The marker is the mapper's and never core's, core validates the shape alone, and a malformed value contributes no group key, so the rung is simply absent. */
|
|
379
|
+
readonly trustGroup?: string;
|
|
380
|
+
/** The enterprise rung above the tenant, for a platform that groups several workspaces under one organisation (Slack Enterprise Grid). A mapper sets the raw id and core spells it, an unspellable value contributes no key, and this is the LOWEST rung, so it never overrides the workspace line beneath it. */
|
|
381
|
+
readonly trustEnterprise?: string;
|
|
382
|
+
readonly principalId?: string;
|
|
383
|
+
readonly target?: Readonly<Record<string, unknown>>;
|
|
384
|
+
readonly threadTs?: string;
|
|
385
|
+
/** The engagement-registry key of this conversation, when the platform does not key it by
|
|
386
|
+
* `threadTs` (see {@link SurfaceBinding.engagementKey}). Absent on Slack — its registry key IS
|
|
387
|
+
* the thread ts. */
|
|
388
|
+
readonly engagementKey?: string;
|
|
389
|
+
/** The ROOM-GRAIN engagement key, for a platform whose wake gate also watches the whole room
|
|
390
|
+
* (see {@link SurfaceBinding.roomEngagementKey}). Teams only. */
|
|
391
|
+
readonly roomEngagementKey?: string;
|
|
392
|
+
/** The stop-hand anchor message id, when the platform does not anchor by `threadTs` (see
|
|
393
|
+
* {@link SurfaceBinding.anchorMessageId}). Absent on Slack — its anchor IS the thread ts. */
|
|
394
|
+
readonly anchorMessageId?: string;
|
|
395
|
+
/** The stop registry's CONTAINER id, when the platform's container is not the post-back target's
|
|
396
|
+
* `channelId` (see {@link SurfaceBinding.anchorChannelId}). Absent on Slack and Discord. */
|
|
397
|
+
readonly anchorChannelId?: string;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/** A platform's identity mapper. IdentityMapper is the outward-facing name a provider bundle registers against; Mapper is the terse in-file alias. */
|
|
401
|
+
export type IdentityMapper = (ctx: BindableContext) => RawIdentity;
|
|
402
|
+
type Mapper = IdentityMapper;
|
|
403
|
+
|
|
404
|
+
// The Slack identity mapper lives in the provider-slack bundle and registers at app boot. Unregistered, a slack bind falls back to bindLocal, the fail-closed default every unregistered platform gets.
|
|
405
|
+
|
|
406
|
+
// The Linear identity mapper lives in the provider-linear bundle and registers at app boot; its contract is surface = the TEAM (the silo grain), issue = the post-back anchor, fail-closed private visibility, demotion-only guest trust.
|
|
407
|
+
// currentTurnIssue below stays in core, because the neutral entity-actions spine reads it.
|
|
408
|
+
|
|
409
|
+
// The Teams identity mapper lives in the provider-teams bundle and registers at app boot.
|
|
410
|
+
|
|
411
|
+
// The GitHub chat-surface identity mapper lives in the provider-github bundle and registers at app boot: workspace = owner, surface = repo, mode = channel.
|
|
412
|
+
|
|
413
|
+
// The Discord identity mapper lives in the provider-discord bundle and registers at app boot.
|
|
414
|
+
|
|
415
|
+
// The Notion identity mapper lives in the provider-notion bundle and registers at app boot.
|
|
416
|
+
|
|
417
|
+
// This mapper names no workspace and no surface on purpose: carriesPlatformIdentity runs it, and a value the deployment declares about itself must never make an identity-less delivery look like it carried a surface.
|
|
418
|
+
// The ambient workspace and surface are gap-fillers applied in bindFrom; the mode, visibility and trust stand-ins stay on env, because they are clamped enums rather than identifiers.
|
|
419
|
+
const ENV_MODES: ReadonlySet<string> = new Set(["channel", "dm", "mpim"]);
|
|
420
|
+
|
|
421
|
+
const bindLocal: Mapper = (ctx) => {
|
|
422
|
+
const envMode = process.env.OE_MODE;
|
|
423
|
+
const envVis = process.env.OE_VISIBILITY;
|
|
424
|
+
const envTrust = process.env.OE_TRUST; // dev/test override for the memory gate
|
|
425
|
+
return {
|
|
426
|
+
workspace: undefined,
|
|
427
|
+
surface: undefined,
|
|
428
|
+
// OPE-1867: UNDEFINED when the operator declared nothing, rather than the old blind "channel".
|
|
429
|
+
// The effective mode is unchanged — bindFrom's own `?? "channel"` tail supplies it — but the
|
|
430
|
+
// binding can now say the value was GAP-FILLED. Declaring `OE_MODE` is a resolution: the
|
|
431
|
+
// operator answered for the surface, which is exactly what a mapper does.
|
|
432
|
+
mode: envMode && ENV_MODES.has(envMode) ? (envMode as SessionMode) : undefined,
|
|
433
|
+
visibility: envVis === "private" ? "private" : "public",
|
|
434
|
+
// Only honour OE_TRUST when explicitly set; otherwise leave undefined so bindFrom's
|
|
435
|
+
// platform-aware default applies (internal for local, external for unknown platforms).
|
|
436
|
+
trust: envTrust === "external" ? "external" : envTrust === "internal" ? "internal" : undefined,
|
|
437
|
+
principalId: authPrincipalId(ctx) ?? process.env.OE_PRINCIPAL,
|
|
438
|
+
target: undefined,
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
// The mapper registry is process-global, not module-private: a provider may register from one module identity while bindFrom reads from another. A missing mapper falls back to bindLocal, fail closed and silent, so a split registry looks exactly like an uninstalled platform; local is the hardcoded fallback and never a registry key.
|
|
443
|
+
const MAPPERS = processRegistryMap<Mapper>("identity-mappers.v1");
|
|
444
|
+
|
|
445
|
+
/** Register or replace one platform's identity mapper. A provider bundle calls this once at boot, so adding a platform needs no downstream change. */
|
|
446
|
+
export function registerIdentityMapper(platform: string, mapper: IdentityMapper): void {
|
|
447
|
+
if (!admitProviderRegistration(platform, "identity-mapper")) return;
|
|
448
|
+
MAPPERS.set(platform, mapper);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Every platform that has REGISTERED a mapper, sorted. Read by `lint:surface-parity` to hold the
|
|
453
|
+
* §7.1 identity-mapper row to what the bundles actually registered. Distinct from asking `bindFrom`
|
|
454
|
+
* about a platform, which answers for every string by falling back to `bindLocal`.
|
|
455
|
+
*/
|
|
456
|
+
export function registeredIdentityMapperPlatforms(): readonly string[] {
|
|
457
|
+
return [...MAPPERS.keys()].sort();
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Resolve the full surface binding from runtime context. Platform is `channel.kind`
|
|
462
|
+
* (the channel's `kindHint`, e.g. "slack") or OE_PLATFORM, defaulting to
|
|
463
|
+
* "local". The platform's mapper supplies identity; anything it leaves undefined
|
|
464
|
+
* falls back to env stand-ins, then to stable defaults (so the key stays constant
|
|
465
|
+
* across `eve dev` runs and cross-session recall is testable today).
|
|
466
|
+
*/
|
|
467
|
+
/** eve exposes a channel kind in two forms: the bare platform inside tool and step contexts, and a namespaced channel:slack inside lifecycle and hook contexts. Every kind comparison goes through platformFromKind, because a raw equality check silently fails in hook contexts; that bug shipped once, as the identity line falling back to generic. */
|
|
468
|
+
/** eve derives a session's kind from the channel file's slug, not from its kindHint, so a platform served by a file not named after it binds as the slug and misses the mapper registry (measured 2026-07-06: gateway sessions bound as discord-gateway). Alias every such channel file in identity/platform.ts. */
|
|
469
|
+
// An eve subagent child runs this bundle, but eve replaces its adapter, so its channel kind is subagent and it inherits the PARENT's whole auth attribute bag: every inherited host stamp describes the parent, not the child.
|
|
470
|
+
// Three host-set discriminators identify a child, the typed session.parent, the channel kind and the subagent continuation token, and the predicate ORs them because each surface exposes a different subset; a false negative leaves a child on the parent's grain, wake identity and delegation route.
|
|
471
|
+
|
|
472
|
+
/** eve's framework channel kind for a built-in/declared subagent child (`FRAMEWORK_CHANNEL_KINDS`). */
|
|
473
|
+
export const SUBAGENT_CHANNEL_KIND = "subagent";
|
|
474
|
+
|
|
475
|
+
/** The PARENT session id eve's typed linkage names, or undefined on a root run. Read through a local
|
|
476
|
+
* cast (the {@link currentTurnId} precedent) so no eve type reaches this module. */
|
|
477
|
+
export function subagentParentSessionId(ctx: BindableContext): string | undefined {
|
|
478
|
+
const id = ctx.session?.parent?.sessionId;
|
|
479
|
+
return typeof id === "string" && id.length > 0 ? id : undefined;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/** The seat a delegated worker was spawned from: eve's rootSessionId, or the immediate parent.sessionId when the linkage names no root. A verb whose effect belongs to the CONVERSATION keys on this and not on currentSessionId, which names the one-shot run that ends before a person answers; it reads eve's typed session.parent only, never the continuation token, whose greedy subagent parse yields a scope key that names no session. */
|
|
483
|
+
export function delegationRootSessionId(ctx: BindableContext): string | undefined {
|
|
484
|
+
try {
|
|
485
|
+
const parent = ctx.session?.parent;
|
|
486
|
+
const root = parent?.rootSessionId;
|
|
487
|
+
if (typeof root === "string" && root.length > 0) return root;
|
|
488
|
+
return subagentParentSessionId(ctx);
|
|
489
|
+
} catch {
|
|
490
|
+
return undefined;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Is THIS context an eve-minted SUBAGENT CHILD run (built-in `agent` or a declared subagent)?
|
|
496
|
+
* See the block above for the three discriminators and why the OR is the safe shape. PURE and
|
|
497
|
+
* fail-soft — never throws, so it is callable from every gate that must narrow on it.
|
|
498
|
+
*/
|
|
499
|
+
export function isSubagentChildContext(ctx: BindableContext): boolean {
|
|
500
|
+
try {
|
|
501
|
+
if (subagentParentSessionId(ctx) !== undefined) return true;
|
|
502
|
+
// RAW kind, deliberately not channelPlatform — that function RESOLVES a subagent context to its
|
|
503
|
+
// parent's origin platform (that is its job below), so asking it here would always answer "slack".
|
|
504
|
+
// Same reasoning as isUnifiedWindowContext's raw read.
|
|
505
|
+
if (platformFromKind(ctx.channel?.kind) === SUBAGENT_CHANNEL_KIND) return true;
|
|
506
|
+
return classifySessionId(ctx.channel?.continuationToken).kind === "subagent";
|
|
507
|
+
} catch {
|
|
508
|
+
return false;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export function channelPlatform(ctx: BindableContext): string | undefined {
|
|
513
|
+
// A subagent child takes an origin hop: eve copies the parent's whole auth bag, so reading the inherited platform stamp resolves the PARENT's mapper against the PARENT's attributes and the two bindings come out identical, which is the invariant hooks/egress.ts enforces because the child shares the parent's sandbox.
|
|
514
|
+
// Fail-closed with no stamp (no mapper, then bindLocal), and this arm runs BEFORE the unified arm, so a child of a non-unified session that carries the stamp is healed too.
|
|
515
|
+
if (platformFromKind(ctx.channel?.kind) === SUBAGENT_CHANNEL_KIND) {
|
|
516
|
+
const delegated = delegatedBindingThisTurn(currentTurnId(ctx));
|
|
517
|
+
if (delegated !== undefined) return normalizePlatform(delegated.platform);
|
|
518
|
+
const inherited = attr(authOf(ctx)?.attributes, ["oe_platform", "oePlatform"]);
|
|
519
|
+
return inherited ? normalizePlatform(inherited) : SUBAGENT_CHANNEL_KIND;
|
|
520
|
+
}
|
|
521
|
+
const kind = platformFromKind(ctx.channel?.kind ?? process.env.OE_PLATFORM);
|
|
522
|
+
// SINGLE-WINDOW unified sessions (channels/unified.ts): the channel is synthetic — the REAL
|
|
523
|
+
// platform is per-DELIVERY, stamped into the auth attributes by the surface's diversion
|
|
524
|
+
// (channels/unified-window.ts stampUnifiedWindowAuth). Resolving it here means every
|
|
525
|
+
// downstream consumer (the MAPPERS registry, partitions, capabilities) sees the ORIGINATING
|
|
526
|
+
// surface exactly as it would on that surface's own channel — the auth attributes ARE that
|
|
527
|
+
// surface's own capture. Fail-closed: no stamp → "unified" (no mapper → bindLocal → the
|
|
528
|
+
// env-stand-in partition, same as any unknown kind — never a guessed platform). Unreachable
|
|
529
|
+
// when the feature is off (no unified channel session exists), so flag-off is byte-identical.
|
|
530
|
+
if (kind === "unified") {
|
|
531
|
+
const stamped = attr(authOf(ctx)?.attributes, ["oe_platform", "oePlatform"]);
|
|
532
|
+
return stamped ? normalizePlatform(stamped) : kind;
|
|
533
|
+
}
|
|
534
|
+
return kind;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/** Is this context a session on the synthetic single-window `unified` channel (channels/
|
|
538
|
+
* unified.ts)? Checks the RAW kind — deliberately NOT {@link channelPlatform}, which resolves a
|
|
539
|
+
* unified session to its per-delivery ORIGIN platform (that is its job). Used by the reply
|
|
540
|
+
* tool to select its map-addressed unified variant. */
|
|
541
|
+
export function isUnifiedWindowContext(ctx: BindableContext): boolean {
|
|
542
|
+
return platformFromKind(ctx.channel?.kind) === "unified";
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* The origin surface of the delivery driving this turn, resolvable from a tool-execute context, which carries no channel object at all, so every gate written against ctx.channel answers undefined inside an execute.
|
|
547
|
+
* The three arms weaken in order: channelPlatform, the per-delivery platform stamp, then bindFrom. local is not an origin and reports undefined, which a caller treats as a REFUSAL, never as a pass.
|
|
548
|
+
*/
|
|
549
|
+
export function turnOriginPlatform(ctx: BindableContext): string | undefined {
|
|
550
|
+
const live = channelPlatform(ctx);
|
|
551
|
+
if (live !== undefined) return live;
|
|
552
|
+
const stamped = attr(authOf(ctx)?.attributes, ["oe_platform", "oePlatform"]);
|
|
553
|
+
if (stamped) return normalizePlatform(stamped);
|
|
554
|
+
const bound = bindFrom(ctx).platform;
|
|
555
|
+
return bound === "local" ? undefined : bound;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* The wake id of the delivery driving THIS turn (the `oe_wake_id` auth stamp
|
|
560
|
+
* channels/unified-window.ts writes). eve rewrites `session.auth.current` from each delivery's
|
|
561
|
+
* auth and coalesces a multi-delivery turn to the LAST delivery's auth, so this is the current
|
|
562
|
+
* turn's wake — the authority fence the single-window reply tool validates against so a model
|
|
563
|
+
* can't target a wakeId from a prior turn or another conversation.
|
|
564
|
+
*
|
|
565
|
+
* THIS IS THE TURN'S ADDRESS, and three classes of turn are refused one here rather than at each of
|
|
566
|
+
* the many consumers: a subagent child (OPE-393), a background-task settlement that has read a
|
|
567
|
+
* terminal view (OPE-585 — it answers under the TASK's own id), and a settlement that has read none
|
|
568
|
+
* (OPE-597 — it answers `undefined`). Undefined off the single-window path too (no stamp). */
|
|
569
|
+
export function currentWakeId(ctx: BindableContext): string | undefined {
|
|
570
|
+
// 🔴 A SUBAGENT CHILD HAS NO WAKE IDENTITY (OPE-393). MEASURED 2026-08-11: the child's auth bag
|
|
571
|
+
// carries the PARENT's `oe_wake_id` byte-identically (its `turn.tool_gated` audit rows were stamped
|
|
572
|
+
// with the parent's wakeId), so a child holding `reply` held a VALID address into the human's live
|
|
573
|
+
// thread — it could speak into a conversation that never asked it anything, bypassing the seat's
|
|
574
|
+
// fold-in entirely. A child's output has exactly one legitimate route: the subagent-result leg back
|
|
575
|
+
// to its parent.
|
|
576
|
+
//
|
|
577
|
+
// NEUTRALISED AT THE SOURCE rather than at each consumer, because the consumers are many and the
|
|
578
|
+
// fail directions are already right: `reply` refuses (resolveAnswerableReplyTarget cannot resolve a
|
|
579
|
+
// target from `undefined`), `no_reply`/`react`/`complete_thread`/`spawn_*` degrade
|
|
580
|
+
// to "no wake", and every audit row writes `wakeId: null`. One neutralisation, no consumer left to
|
|
581
|
+
// forget. {@link currentTurnAddressing} / {@link currentTurnAddressed} are neutralised the same way
|
|
582
|
+
// just below — the addressing stamp is the other half of the same inherited claim.
|
|
583
|
+
if (isSubagentChildContext(ctx)) return undefined;
|
|
584
|
+
// 🔴 A BACKGROUND-TASK SETTLEMENT WAKE HAS NO STAMP OF ITS OWN (OPE-585). MEASURED 2026-08-15:
|
|
585
|
+
// eve wakes the delegating parent through the session's own command hook with NO auth
|
|
586
|
+
// (`wakeTaskParentStep`), and eve writes the turn's auth only when a delivery brings one — so the
|
|
587
|
+
// task-woken turn inherits the PREVIOUS wake's `oe_wake_id` and holds a live address into
|
|
588
|
+
// whichever conversation happened to run last. The settlement edge installs the task's OWN
|
|
589
|
+
// host-minted wake id (channels/task-wake.ts), and it wins here, at the source, for the same
|
|
590
|
+
// reason the subagent-child neutralisation above is at the source: the consumers are many.
|
|
591
|
+
//
|
|
592
|
+
// TURN-SCOPED, so the override cannot outlive the turn that adopted it — the slot refuses to
|
|
593
|
+
// answer for any turn but the one stamped into it, and an unreadable turn id answers `undefined`,
|
|
594
|
+
// which falls straight through to the inherited stamp (the pre-OPE-585 behaviour).
|
|
595
|
+
const turnId = currentTurnId(ctx);
|
|
596
|
+
const adopted = taskWakeThisTurn(turnId);
|
|
597
|
+
if (adopted !== undefined) return adopted;
|
|
598
|
+
// A turn that meets no settlement edge holds no address of its own: it kept the previous delivery's wake id and could reply into a conversation that asked nothing, so the honest answer is none. Every consumer then refuses or throws an instructive error, except the question bridge, which drops a worker's question with an audit row and no model-visible error.
|
|
599
|
+
if (uningressedTurn(turnId)) return undefined;
|
|
600
|
+
return inheritedWakeStampOf(ctx);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* The RAW `oe_wake_id` auth stamp, with every override in {@link currentWakeId} bypassed.
|
|
605
|
+
*
|
|
606
|
+
* Two callers, both of which want the stamp as a FACT rather than as an address:
|
|
607
|
+
* • the `unified.task_wake` audit row's `inheritedWakeId` field — the stale id the turn would
|
|
608
|
+
* otherwise have replied under, which is what makes the defect countable after the fix;
|
|
609
|
+
* • {@link deliveryStampOf}, as its fallback.
|
|
610
|
+
*
|
|
611
|
+
* 🔴 NEVER USE THIS TO ADDRESS A REPLY. It is exactly the value OPE-393, OPE-585 and OPE-597 each
|
|
612
|
+
* decided a turn may not speak under; {@link currentWakeId} is the only reader that answers that
|
|
613
|
+
* question.
|
|
614
|
+
*
|
|
615
|
+
* 🔴 ONE READER USES IT TO NAME, NEVER TO POST (OPE-1869), and the distinction is the whole licence.
|
|
616
|
+
* `hooks/spawn-taint.ts` offers this stamp as a delegated read's SECOND provenance address, because
|
|
617
|
+
* the seat REPLIES under it while the settling turn answers under the task's own minted wake. It is
|
|
618
|
+
* not a post target there and it is not trusted on sight: `channels/delegated-provenance.ts`
|
|
619
|
+
* `delegatedSecondAddress` reads both wake rows back and admits the stamp only where they resolve to
|
|
620
|
+
* the same conversation — which is what keeps OPE-585's "whichever conversation ran last" out.
|
|
621
|
+
*/
|
|
622
|
+
export function inheritedWakeStampOf(ctx: BindableContext): string | undefined {
|
|
623
|
+
return attr(authOf(ctx)?.attributes, ["oe_wake_id", "oeWakeId"]);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/** The per-delivery discriminator the turn boundary compares: a value byte-identical to the previous turn's proves this turn brought no delivery of its own. It falls back to the raw wake stamp for a bag written before the nonce existed, and it stays pure and override-free, because the boundary must read what eve delivered rather than what a later edge installed. */
|
|
627
|
+
export function deliveryStampOf(ctx: BindableContext): string | undefined {
|
|
628
|
+
return attr(authOf(ctx)?.attributes, ["oe_delivery_id", "oeDeliveryId"]) ?? inheritedWakeStampOf(ctx);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/** The eve turn id, read off the session handle rather than the auth bag. It is turn-constant, and undefined outside an active turn compares unequal to any stored id, so the same-turn re-accept fence fails closed; it is present on tool and hook callback contexts but ABSENT on the step.started resolver context, where a caller falls back to the resolver event's own turnId field. */
|
|
632
|
+
export function currentTurnId(ctx: BindableContext): string | undefined {
|
|
633
|
+
const turn = (ctx as { session?: { turn?: { id?: string } } }).session?.turn;
|
|
634
|
+
return typeof turn?.id === "string" && turn.id.length > 0 ? turn.id : undefined;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/** This session's own durable id; sessionId is a defensive fallback that no measured eve context uses. Pair it with currentTurnId for a unique key, because eve mints turn ids as turn_0, turn_1 and so on, so two warm sessions collide on turn number alone. */
|
|
638
|
+
export function currentSessionId(ctx: BindableContext): string | undefined {
|
|
639
|
+
const session = (ctx as { session?: { id?: unknown; sessionId?: unknown } }).session;
|
|
640
|
+
const id = session?.id;
|
|
641
|
+
if (typeof id === "string" && id.length > 0) return id;
|
|
642
|
+
const legacy = session?.sessionId;
|
|
643
|
+
return typeof legacy === "string" && legacy.length > 0 ? legacy : undefined;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* The BARE window token of the session THIS delivery woke (the host-set `oe_window_token` stamp,
|
|
648
|
+
* channels/unified-window.ts OE_WINDOW_TOKEN_ATTR — stamped by divertToUnifiedWindow on every
|
|
649
|
+
* delivery). The FALLBACK identity channel for `ctx.channel.continuationToken`, which is
|
|
650
|
+
* session-static and can be ABSENT at tool-execute time on a resumed seat (the live-found
|
|
651
|
+
* 2026-07-16 refusal on a legitimate standing window) — per-wake auth attributes are fresh on
|
|
652
|
+
* every delivery, exactly like the oe_grain stamp that survived the same turn. Host-set only,
|
|
653
|
+
* unforgeable (§AUTH-ATTRIBUTE PROVENANCE, channels/unified-window.ts); the stamp names the
|
|
654
|
+
* DISPATCHED-TO session (a task worker's stamp is its task
|
|
655
|
+
* token), so grain/recursion classification over it stays truthful. Undefined off the
|
|
656
|
+
* single-window path (no stamp).
|
|
657
|
+
*/
|
|
658
|
+
export function currentWindowToken(ctx: BindableContext): string | undefined {
|
|
659
|
+
return attr(authOf(ctx)?.attributes, ["oe_window_token", "oeWindowToken"]);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* The bare session/window token THIS turn runs under — the key a per-session "Approve for session"
|
|
664
|
+
* memo is stored/consulted under (OPE-53 pr.open, OPE-11 connector writes). Prefers the live
|
|
665
|
+
* continuation token (namespace-stripped), falling back to the host-set window-token stamp
|
|
666
|
+
* ({@link currentWindowToken}) — `ctx.channel` can be blank at tool-execute on a resumed seat.
|
|
667
|
+
* Undefined ⇒ the turn's session can't be identified, so session-approval is simply never
|
|
668
|
+
* offered/consulted for it (safe: a card is always minted). Shared by open_pull_request.ts's
|
|
669
|
+
* propose path so the key is derived identically wherever it is consulted.
|
|
670
|
+
*
|
|
671
|
+
* TASK-grain wakes collapse to their PARENT window ({@link sessionGrantKeyFromToken}): on the
|
|
672
|
+
* unified topology every wake runs in a spawned task session whose token embeds the wakeId, so
|
|
673
|
+
* keying the memo on the raw token made every wake a different "session" and a grant could never
|
|
674
|
+
* be seen again (live-caught 2026-07-25: S-PR-SESSION leg 2 drew a fresh card on a granted window).
|
|
675
|
+
* The conversation the human granted is the WINDOW; the task is plumbing.
|
|
676
|
+
*/
|
|
677
|
+
export function proposingSessionId(ctx: BindableContext): string | undefined {
|
|
678
|
+
// A ROUTINE FIRE keys on the ROUTINE, not on the throwaway session it happens to run in
|
|
679
|
+
// (OPE-152). This ONE swap is the whole run-time half: every consult site and the click path's
|
|
680
|
+
// memo write already read this function (or the frozen `sessionId` it produced), so a grant a
|
|
681
|
+
// human gives an unattended flow outlives the fire, and the next fire finds it. The key is
|
|
682
|
+
// host-set on the fire's auth bag off the STORED row (routines/fire-auth.ts), so it carries the
|
|
683
|
+
// routine's live generation — and an `edit_routine` therefore hands the next fire a different
|
|
684
|
+
// key, invalidating the whole standing set with no sweep.
|
|
685
|
+
const routineKey = routinePermissionKeyStamped(authOf(ctx)?.attributes);
|
|
686
|
+
if (routineKey !== undefined) return routineKey;
|
|
687
|
+
// A native subagent child keys its PARENT's session-approval memo deliberately: delegating a piece of the work must not escape a card the human declined, nor ask them again for one they approved, and one memo means a revoke takes both sides back at once.
|
|
688
|
+
// The arm is explicit because a hook context would otherwise key a different memo than a tool context; a dispatched task worker is a separate session and still asks its own cards.
|
|
689
|
+
if (isSubagentChildContext(ctx)) {
|
|
690
|
+
const inherited = currentWindowToken(ctx);
|
|
691
|
+
if (inherited !== undefined) return sessionGrantKeyFromToken(inherited);
|
|
692
|
+
}
|
|
693
|
+
const raw = (ctx as { channel?: { continuationToken?: unknown } }).channel?.continuationToken;
|
|
694
|
+
const token = bareTokenFromEveContext(raw) ?? currentWindowToken(ctx);
|
|
695
|
+
return token === undefined ? undefined : sessionGrantKeyFromToken(token);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* The ADDRESSING of the delivery driving THIS turn (`oe_addressing`, written by
|
|
700
|
+
* channels/unified-window.ts stampUnifiedWindowAuth ONLY for an addressed `direct-mention` wake).
|
|
701
|
+
* It marks the wake as OWED a reply, which is what the envelope tells the seat. It is NOT a delivery
|
|
702
|
+
* path: since OPE-1982 the unified channel's completion handler drops a turn's closing prose on EVERY
|
|
703
|
+
* addressing and re-drives it once towards the `reply` tool, so it no longer selects a route.
|
|
704
|
+
* 🔴 IT IS STILL LOAD-BEARING IN THREE PLACES, and reading it as audit-only is how a later change
|
|
705
|
+
* moves a tool gate without noticing: it classifies the drop row's `addressing` field (an owed
|
|
706
|
+
* answer nobody received stays countable apart from ambient chatter); `hooks/job-posture.ts` reads
|
|
707
|
+
* `direct-mention` as a HUMAN PRINCIPAL in the turn, which feeds the job-session tool restriction;
|
|
708
|
+
* and `access/analytics-scope.ts`'s `isAmbientNonAddressedTurn` degrades analytics rows mode to
|
|
709
|
+
* aggregates without it. Undefined off the single-window path or for a non-addressed (watch) wake.
|
|
710
|
+
*/
|
|
711
|
+
export function currentTurnAddressing(ctx: BindableContext): string | undefined {
|
|
712
|
+
// A SUBAGENT CHILD inherits this stamp verbatim too (OPE-393) — see {@link currentWakeId}. Nobody
|
|
713
|
+
// addressed the child; a brief was handed to it. Neutralised for the same reason and in the same
|
|
714
|
+
// direction: every consumer treats absence as "ambient / no requestor", which is the narrower
|
|
715
|
+
// answer (connector disclosure's leg 2 stops running, the job hook stops reading a human into the
|
|
716
|
+
// room, the analytics ambient test is unreachable at `task` grain).
|
|
717
|
+
if (isSubagentChildContext(ctx)) return undefined;
|
|
718
|
+
return attr(authOf(ctx)?.attributes, ["oe_addressing", "oeAddressing"]);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Was the delivery driving THIS turn ADDRESSED to the agent (a `direct`/addressed wake — @mention,
|
|
723
|
+
* DM, or a surface's name-drop), as opposed to a judged/ambient/channel-watch wake? Reads the
|
|
724
|
+
* host-set `oe_addressed` auth stamp a surface dispatch writes on its direct wakes (identity/
|
|
725
|
+
* bot-name.ts OE_ADDRESSED_ATTR), OR the single-window `oe_addressing="direct-mention"`/`"direct"`
|
|
726
|
+
* stamp (stampUnifiedWindowAuth) which already means addressed.
|
|
727
|
+
*
|
|
728
|
+
* 🔴 AUTHORITATIVE AND FAIL-CLOSED. This is the signal the link-claim hook gates its relaxed
|
|
729
|
+
* `link <code>` recognition on (hooks/link-claim.ts): an addressed single-author body may carry a
|
|
730
|
+
* leading address token, a judged multi-author ENVELOPE may not (that is the F1 attack surface). The
|
|
731
|
+
* stamp is HOST-SET (§AUTH-ATTRIBUTE PROVENANCE, channels/unified-window.ts) — a model or untrusted
|
|
732
|
+
* body cannot forge it — and a MISSING stamp reads as NOT addressed ⇒ the strict whole-message anchor
|
|
733
|
+
* applies ⇒ nothing regresses on a surface that has not (yet) stamped it.
|
|
734
|
+
*/
|
|
735
|
+
export function currentTurnAddressed(ctx: BindableContext): boolean {
|
|
736
|
+
// The third inherited addressing claim (OPE-393) — `oe_addressed` rides the same verbatim copy.
|
|
737
|
+
// A child was never addressed by anyone, and this stamp's one consumer (hooks/link-claim.ts) uses
|
|
738
|
+
// it to RELAX a recogniser, so answering false is the fail-closed direction.
|
|
739
|
+
if (isSubagentChildContext(ctx)) return false;
|
|
740
|
+
const a = authOf(ctx)?.attributes;
|
|
741
|
+
const flag = attr(a, ["oe_addressed", "oeAddressed"]);
|
|
742
|
+
if (flag !== undefined) return flag === "1" || flag.toLowerCase() === "true";
|
|
743
|
+
const addressing = attr(a, ["oe_addressing", "oeAddressing"]);
|
|
744
|
+
return addressing === "direct-mention" || addressing === "direct";
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/** The platform-resolved integration name stamped on THIS delivery's auth (identity/bot-name.ts
|
|
748
|
+
* OE_BOT_NAME_ATTR), when a surface with a live integration name set it (Notion). Feeds the
|
|
749
|
+
* addressed link-claim recogniser's name-token set so a name-drop that matches the deployment's
|
|
750
|
+
* ACTUAL integration name is stripped even without OE_AGENT_* configured. Undefined ⇒ the recogniser
|
|
751
|
+
* falls back to the env/brand tokens only. */
|
|
752
|
+
export function currentTurnBotName(ctx: BindableContext): string | undefined {
|
|
753
|
+
return attr(authOf(ctx)?.attributes, ["oe_bot_name", "oeBotName"]);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* The Linear ISSUE the delivery driving THIS turn is anchored to (`issue_id`, falling back to
|
|
758
|
+
* `issue_identifier`) — the authoritative per-wake issue the surface's identity capture stowed
|
|
759
|
+
* (channels/linear-identity.ts buildLinearAuth), the SAME source the Linear supervisor's turn.started
|
|
760
|
+
* reply-target snapshot reads. This is the DEFAULT issue for read_linear_issue: unlike Notion (whose
|
|
761
|
+
* binding.surface IS the page being read), a Linear session's `surface` is the TEAM (the silo grain,
|
|
762
|
+
* see bindLinear) — the CONTAINER, not the entity — so `bindFrom(ctx).surface` is the wrong default
|
|
763
|
+
* (it would fetch a team id as an issue). The issue lives in the auth attributes, not `surface`;
|
|
764
|
+
* reading it here is the authoritative anchor, NOT a guess derived from the team. Undefined when no
|
|
765
|
+
* issue was stamped (e.g. a unified turn whose stamp omits it) ⇒ the tool requires an explicit arg.
|
|
766
|
+
*/
|
|
767
|
+
export function currentTurnIssue(ctx: BindableContext): string | undefined {
|
|
768
|
+
return attr(authOf(ctx)?.attributes, ["issue_id", "issueId", "issue_identifier", "issueIdentifier"]);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* The Notion PAGE the delivery driving THIS turn is anchored to — `page_id`, the raw per-wake stamp
|
|
773
|
+
* the surface's identity capture stows (channels/notion-identity.ts, whose `pageId` is "the page the
|
|
774
|
+
* comment lives on").
|
|
775
|
+
*
|
|
776
|
+
* 🔴 THE RAW ATTRIBUTE, NOT `bindFrom(ctx).surface`, AND THE DIFFERENCE IS THE POINT. A Notion
|
|
777
|
+
* session's `surface` IS the page, but it is the SANITIZED partition segment — `seg()`-passed, and
|
|
778
|
+
* defaulted to a placeholder on an under-identified event — so it is a partition key, not an id you
|
|
779
|
+
* can compare against one a Notion API call returned. `channels/read-reach.ts` compares exactly that
|
|
780
|
+
* way, to decide whether a record's id already appeared in the room, so it needs the id the host
|
|
781
|
+
* stamped. Undefined on every turn woken somewhere other than a Notion page.
|
|
782
|
+
*/
|
|
783
|
+
export function currentTurnPage(ctx: BindableContext): string | undefined {
|
|
784
|
+
return attr(authOf(ctx)?.attributes, ["page_id", "pageId"]);
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/** The raw Linear organization id off this turn's auth attributes: the credential SELECTOR a Linear tool call needs, because a Linear token is workspace-scoped and the exact organization id is the registry key. It is deliberately not the binding's sanitized workspace segment, and it is undefined when this turn stamped no organization, where the caller falls back to the org-free credential chain. */
|
|
788
|
+
export function currentTurnOrganization(ctx: BindableContext): string | undefined {
|
|
789
|
+
return attr(authOf(ctx)?.attributes, ["organization_id", "organizationId"]);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* The GitHub issue/PR the delivery driving THIS turn is anchored to — owner + repo + exactly one of
|
|
794
|
+
* issue/PR number, read off THIS turn's RAW auth attributes rather than a stored session-open
|
|
795
|
+
* snapshot, so a unified session's per-delivery GitHub turn resolves its OWN anchor (mirrors
|
|
796
|
+
* {@link currentTurnIssue}'s Linear counterpart). Reads the same attributes bindGitHub interprets,
|
|
797
|
+
* but DIRECTLY (not via the resolved binding.target) so it stays CORE-SELF-CONTAINED after the
|
|
798
|
+
* github chat-surface mapper moved into @open-everywhere/provider-github (OPE-114 stage 4): the
|
|
799
|
+
* githubEntityAdapter / SCM plane stay in core and must not depend on a bundle registration. The
|
|
800
|
+
* platform gate is kind-derived (bindFrom's platform comes from the channel kind, not the mapper).
|
|
801
|
+
* Undefined when this turn isn't a GitHub delivery, or the webhook carried no owner/repo/number —
|
|
802
|
+
* the caller (entity-ref default resolution) then requires an explicit ref rather than guessing.
|
|
803
|
+
*/
|
|
804
|
+
export function currentTurnGithubTarget(ctx: BindableContext): { owner: string; repo: string; number: number; isPr: boolean } | undefined {
|
|
805
|
+
// Kind-derived platform gate (channelPlatform resolves the originating surface from the channel
|
|
806
|
+
// kind — or the unified-window oe_platform stamp — WITHOUT the mapper registry), so this stays
|
|
807
|
+
// core-self-contained regardless of whether the github bundle's mapper is registered.
|
|
808
|
+
if (channelPlatform(ctx) !== "github") return undefined;
|
|
809
|
+
const a = authOf(ctx)?.attributes;
|
|
810
|
+
const owner = attr(a, ["owner"]);
|
|
811
|
+
const repo = attr(a, ["repo"]);
|
|
812
|
+
if (!owner || !repo) return undefined;
|
|
813
|
+
// Anchor selection mirrors the GitHub mapper, and exactly one anchor is emitted.
|
|
814
|
+
const conversationKind = attr(a, ["conversation_kind", "conversationKind"]);
|
|
815
|
+
const issueNumber = attr(a, ["issue_number", "issueNumber"]);
|
|
816
|
+
const pullRequestNumber = attr(a, ["pull_request_number", "pullRequestNumber"]);
|
|
817
|
+
const isPrKind = conversationKind === "pull_request" || conversationKind === "review_thread";
|
|
818
|
+
if (isPrKind && pullRequestNumber) return { owner, repo, number: Number(pullRequestNumber), isPr: true };
|
|
819
|
+
if (issueNumber) return { owner, repo, number: Number(issueNumber), isPr: false };
|
|
820
|
+
if (pullRequestNumber) return { owner, repo, number: Number(pullRequestNumber), isPr: true };
|
|
821
|
+
return undefined;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Per-turn surface fence for a per-surface read tool, called inside execute: a cross-surface session carries turns from several surfaces while the session.started mount gate saw only the opener's origin, so this requires THIS turn's origin to equal the tool's surface and throws on anything else.
|
|
826
|
+
* It fails closed hard: a turn whose origin cannot be named at all is refused, never waved through.
|
|
827
|
+
*/
|
|
828
|
+
/** OPE-732 — thrown by {@link assertTurnSurface}. Lets the five async call sites distinguish this
|
|
829
|
+
* fence's refusal from any other thrown Error (without parsing message text) and audit it before
|
|
830
|
+
* rethrowing. `assertTurnSurface` itself stays PURE and synchronous — no store access, no signature
|
|
831
|
+
* change — the audit write happens at each async caller. Deliberately no `.name` override: `String(err)`
|
|
832
|
+
* stays "Error: …", so every existing message-regex `assert.throws` assertion is unaffected. */
|
|
833
|
+
export class TurnOriginFenceError extends Error {
|
|
834
|
+
constructor(message: string, readonly surface: string) {
|
|
835
|
+
super(message);
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export function assertTurnSurface(ctx: BindableContext, surface: string): void {
|
|
840
|
+
const origin = turnOriginPlatform(ctx);
|
|
841
|
+
if (origin === surface) return;
|
|
842
|
+
throw new TurnOriginFenceError(
|
|
843
|
+
origin === undefined
|
|
844
|
+
? `this tool reads ${surface}, but this turn's origin surface could not be resolved — a per-surface read only runs on a turn this deployment can place on ${surface}.`
|
|
845
|
+
: `this tool reads ${surface}, but the message that woke this turn came from ${origin} — ` +
|
|
846
|
+
`on a cross-surface session a per-surface read tool only runs on a turn from its OWN surface (what you can recall across surfaces is the shared context, not another surface's live reads).`,
|
|
847
|
+
surface,
|
|
848
|
+
);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* The GRAIN of a session — what sets its HANDS (window-tool-gating-design §D/§S3). A STANDING ambient
|
|
853
|
+
* watcher (the unified window / a per-channel or ticketing supervisor / the root DM seat) narrows to
|
|
854
|
+
* conversational hands and delegates heavy work; a THREAD seat (a persistent conversational presence
|
|
855
|
+
* spawned by spawn_thread_session, Stage T2) is likewise narrow; only a TASK (thread-scoped worker,
|
|
856
|
+
* the one-shot spawn) keeps the FULL wide-hands kit. Grain — not source count —
|
|
857
|
+
* determines the toolset (the invariant that supersedes `sources.length===1 ⇒ full`).
|
|
858
|
+
*
|
|
859
|
+
* NATIVE (a raw `@mention` seat) WAS a full-kit grain (Stage C); under the narrowing (flag
|
|
860
|
+
* delegation.oneshotAgent) it is a CONVERSATIONAL-ROOT grain that delegates through `agent`, so it
|
|
861
|
+
* LOSES the wide hands (see access/window-gate-manifest.ts `fullKit()`). The grain enum is unchanged; what
|
|
862
|
+
* moved is wide-hands membership. Conversational-root grains = standing/native/thread; the ONLY grain
|
|
863
|
+
* with wide hands is `task` (the one-shot worker — a credential-correct new session, both agent modes).
|
|
864
|
+
*/
|
|
865
|
+
export type WindowGrain = "standing" | "task" | "native" | "thread";
|
|
866
|
+
|
|
867
|
+
/** Classify a raw continuation token's grain from its shape alone (the BACKSTOP signal). Delegates to
|
|
868
|
+
* the ONE typed codec {@link classifySessionId} (channels/window-key.ts) — which strips eve's
|
|
869
|
+
* `unified:<raw>` send-prefix, tests task (`t/`) + thread-seat (`s/`) window tokens BEFORE the
|
|
870
|
+
* standing `:oe-sup:g` suffix, and fail-softs a non-string / unrecognised token to "native" (full
|
|
871
|
+
* hands, the pre-gate default). Byte-identical to the former inline classifier (task→task,
|
|
872
|
+
* thread-seat→thread, window/container-supervisor→standing, else→native), pinned by
|
|
873
|
+
* scripts/session-id-codec-test.ts. A thread-seat token still fails CLOSED to `thread` (narrow),
|
|
874
|
+
* never `task`, so a lost `oe_grain` stamp cannot re-widen a thread seat. */
|
|
875
|
+
function classifyTokenGrain(token: unknown): WindowGrain {
|
|
876
|
+
return classifySessionId(token).grain;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* The grain the HOST STAMPED on this delivery, unreconciled, or `undefined` when no stamp reads as a grain.
|
|
881
|
+
*
|
|
882
|
+
* 🔴 IT IS NOT {@link windowGrainOf}, AND THE DIFFERENCE IS THE POINT. On a DELEGATED CHILD, `windowGrainOf`
|
|
883
|
+
* answers `task` by the subagent-child override, while eve copies the PARENT's whole auth bag into the child —
|
|
884
|
+
* so the stamp there describes the SEAT the worker was spawned from, and this is the one reader of that fact.
|
|
885
|
+
* A caller asking what THIS session's own hands are takes `windowGrainOf` and never this: the reconciliation
|
|
886
|
+
* below (the spoof/bug guard) is exactly what this function skips.
|
|
887
|
+
*
|
|
888
|
+
* Host-set and model-unreachable (channels/unified-window.ts §AUTH-ATTRIBUTE PROVENANCE). An unrecognised value
|
|
889
|
+
* answers `undefined` rather than a guess, so a caller must state what it does with an unreadable stamp.
|
|
890
|
+
*/
|
|
891
|
+
export function stampedWindowGrainOf(ctx: BindableContext): WindowGrain | undefined {
|
|
892
|
+
const stamped = attr(authOf(ctx)?.attributes, ["oe_grain", "oeGrain"]);
|
|
893
|
+
return stamped === "standing" || stamped === "task" || stamped === "native" || stamped === "thread" ? stamped : undefined;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* The grain of THIS session. PRIMARY = the host-stamped `oe_grain` auth attribute
|
|
898
|
+
* (channels/unified-window.ts stampUnifiedWindowAuth / channels/unified.ts dispatchTaskWindow) — set
|
|
899
|
+
* by OE host code at dispatch, never model-authored, so it is unforgeable and stable for the session's
|
|
900
|
+
* life (verified + source-cited ONCE in channels/unified-window.ts §AUTH-ATTRIBUTE PROVENANCE). BACKSTOP = {@link classifyTokenGrain} (the token shape). PURE — a function of the stamp and the
|
|
901
|
+
* token only (no eve, no store) — so each grain is mint-and-assert testable, exactly as §S3 requires.
|
|
902
|
+
*
|
|
903
|
+
* SPOOF/BUG guard, fail-CLOSED to NARROW: if the stamp claims a FULL grain (task/native) while the
|
|
904
|
+
* token independently classifies a NARROWER grain, the wider claim LOSES. A stamped task grain on a
|
|
905
|
+
* non-task token is a bug, not a capability grant.
|
|
906
|
+
*
|
|
907
|
+
* The one deliberate exception is the DEGRADATION case: a blank/unreadable token (the known
|
|
908
|
+
* session.started degradation, §S3 fragile point) is NOT a positive narrow signal — it is the ABSENCE
|
|
909
|
+
* of the token, so the stamp stays primary (a legit async worker whose `t/` token degraded keeps its
|
|
910
|
+
* `task` grain). This is why the guard distinguishes an ABSENT/blank token (stamp wins) from a token
|
|
911
|
+
* that is PRESENT and positively classifies `native` (a real `cse_…` @mention seat — a `task` stamp
|
|
912
|
+
* there is a bug/forge, since a legit worker always rides a `t/` token — so it is narrowed). Closes the
|
|
913
|
+
* T2 asymmetry the adversarial review flagged (F2): `task` on a present native token no longer keeps
|
|
914
|
+
* wide hands, WITHOUT regressing the degraded-worker path (blank token).
|
|
915
|
+
*/
|
|
916
|
+
export function windowGrainOf(ctx: BindableContext): WindowGrain {
|
|
917
|
+
// A subagent child is task grain, overriding any inherited grain stamp: measured, a child of a standing seat resolved standing and was stripped to the conversational roster.
|
|
918
|
+
// It sits FIRST, above the stamp-versus-token reconciliation, because neither the stamp nor the token describes this session; task hands are not a widening, because the child is credentialed identically to its parent and holds no delegation route and no wake identity.
|
|
919
|
+
if (isSubagentChildContext(ctx)) return "task";
|
|
920
|
+
const rawToken = ctx.channel?.continuationToken;
|
|
921
|
+
const stamped = stampedWindowGrainOf(ctx);
|
|
922
|
+
const tokenGrain = classifyTokenGrain(rawToken);
|
|
923
|
+
// A token is a POSITIVE signal only when it is actually present; a non-string/empty token is the
|
|
924
|
+
// degradation sentinel (classifyTokenGrain also returns "native" for it), where the stamp stays primary.
|
|
925
|
+
const tokenPresent = typeof rawToken === "string" && rawToken.length > 0;
|
|
926
|
+
if (stamped !== undefined) {
|
|
927
|
+
// SPOOF/BUG guard, fail-CLOSED to NARROW: a stamp claiming a grain WIDER than the token positively
|
|
928
|
+
// shows LOSES. ORIGINAL (Stage-C, preserved byte-identical): a task/native stamp on a positively-
|
|
929
|
+
// STANDING token → standing. EXTENDED (Stage T2): a `task` stamp (the sole wide-hands grain) on a
|
|
930
|
+
// positively-narrow THREAD-seat token → thread; and (F2) on a PRESENT native token → native — a
|
|
931
|
+
// forged/buggy wide stamp never re-widens a narrow seat. A blank token (tokenPresent === false)
|
|
932
|
+
// takes none of these branches, so the stamp stays primary for the degraded legit worker.
|
|
933
|
+
if ((stamped === "task" || stamped === "native") && tokenGrain === "standing") return "standing";
|
|
934
|
+
if (stamped === "task" && tokenGrain === "thread") return "thread";
|
|
935
|
+
if (stamped === "task" && tokenGrain === "native" && tokenPresent) return "native";
|
|
936
|
+
return stamped;
|
|
937
|
+
}
|
|
938
|
+
return tokenGrain;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* The short WORKER TASK LABEL stamped on a task-window worker's OPENING delivery (OPE-508, the reply
|
|
943
|
+
* display-name/prefix TIER signal) — a PURE read of the `oe_task_label` auth attribute, mirroring
|
|
944
|
+
* {@link windowGrainOf}'s attribute-read style but with no token-shape backstop (there is no text to
|
|
945
|
+
* recover from a token — only the host stamp carries it). Undefined on every non-worker turn, and on
|
|
946
|
+
* a worker turn woken by a LATER message in its own thread (the stamp is not re-derived on a resumed
|
|
947
|
+
* wake, unlike `oe_grain` — see channels/unified-window.ts's OE_TASK_LABEL_ATTR header). Callers that
|
|
948
|
+
* need a bracket on every worker turn regardless fall back to a generic label when this is undefined
|
|
949
|
+
* — see channels/turn-delivery.ts's {@link ReplierLabel}-producing `replierLabelFor`.
|
|
950
|
+
*/
|
|
951
|
+
export function windowTaskLabelOf(ctx: BindableContext): string | undefined {
|
|
952
|
+
return attr(authOf(ctx)?.attributes, ["oe_task_label"]);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/** The sources vector stamped on THIS delivery: a pure read of the host-set stamp, with no config and no store. Undefined when the stamp is absent, on a normal non-unified session or a resumed pre-stamp session, and the caller then picks the fallback. */
|
|
956
|
+
export function windowSourcesOf(ctx: BindableContext): readonly string[] | undefined {
|
|
957
|
+
const a = authOf(ctx)?.attributes;
|
|
958
|
+
if (!a) return undefined;
|
|
959
|
+
const decoded = decodeSources(a["oe_sources"] ?? a["oeSources"]);
|
|
960
|
+
return decoded.length > 0 ? decoded : undefined;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/** The sources vector for this session, fail-closed: the host stamp first, then a recompute from the continuation token's window and domain plus the domain config, then the single origin platform, never empty and never a wider set. domains is injected so the resolver stays pure and testable. */
|
|
964
|
+
export function resolveWindowSources(ctx: BindableContext, domains: readonly Domain[]): readonly string[] {
|
|
965
|
+
const stamped = windowSourcesOf(ctx);
|
|
966
|
+
if (stamped) return stamped;
|
|
967
|
+
// Both fallbacks have to work inside an execute, where ctx.channel is absent: the window-token stamp stands in for the continuation token, and turnOriginPlatform for the origin. A resolver context carries both, so resolve-time behaviour is unchanged; eve namespaces a window-channel send with a unified prefix, so strip it before parsing the token.
|
|
968
|
+
const tok = ctx.channel?.continuationToken ?? currentWindowToken(ctx);
|
|
969
|
+
const raw = typeof tok === "string" && tok.startsWith("unified:") ? tok.slice("unified:".length) : tok;
|
|
970
|
+
const key = parseWindowToken(raw);
|
|
971
|
+
if (key) {
|
|
972
|
+
const recomputed = sourcesForWindow(key.windowId, key.domain, domains);
|
|
973
|
+
if (recomputed.length > 0) return recomputed;
|
|
974
|
+
}
|
|
975
|
+
const origin = turnOriginPlatform(ctx);
|
|
976
|
+
return origin ? [origin] : [];
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/** Resolve a bridged, identity-less context through the same platform hop the live path uses. That heals a stamped raw channel slug and adds the unified-to-origin hop, so the bridged fallback binds the REAL origin surface instead of unified, which resolved no mapper and desynced memory writes from reads on the very channel the bridge exists to keep in sync. */
|
|
980
|
+
export function bindBridged(bridged: BridgedIdentity): { platform: string; raw: RawIdentity } {
|
|
981
|
+
const bctx = bridgedContext(bridged);
|
|
982
|
+
const platform = seg(channelPlatform(bctx), "local");
|
|
983
|
+
const raw = (MAPPERS.get(platform) ?? bindLocal)(bctx);
|
|
984
|
+
return { platform, raw };
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* The platform + {@link RawIdentity} a LIVE context resolves through the mapper registry — the first
|
|
989
|
+
* hop of {@link bindFrom}, factored out so {@link carriesPlatformIdentity} answers "does this
|
|
990
|
+
* context carry a platform identity?" with the SAME two lines that ask it. Normalizing the kind (see
|
|
991
|
+
* {@link channelPlatform}) is what makes the mapper registry match in BOTH forms: without it the
|
|
992
|
+
* hook path resolves no mapper and fails closed to `external`, desyncing memory READS (hook) from
|
|
993
|
+
* WRITES (tool) on the very same internal channel. (`seg` would turn the ":" into "-", so the strip
|
|
994
|
+
* happens BEFORE the sanitize.)
|
|
995
|
+
*/
|
|
996
|
+
function rawIdentityFrom(ctx: BindableContext): { platform: string; raw: RawIdentity } {
|
|
997
|
+
const platform = seg(channelPlatform(ctx), "local");
|
|
998
|
+
return { platform, raw: (MAPPERS.get(platform) ?? bindLocal)(ctx) };
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Does this context carry a PLATFORM IDENTITY of its own — a workspace or a surface its platform
|
|
1003
|
+
* mapper can read off the delivered auth attributes?
|
|
1004
|
+
*
|
|
1005
|
+
* This is the exact question {@link bindFrom}'s bridged fallback asks, exported because it is also
|
|
1006
|
+
* the question {@link refreshBindingStamp} asks on both sides of its downgrade test.
|
|
1007
|
+
* A bag can be non-empty and still answer FALSE: the OE window stamps (`oe_platform`, `oe_wake_id`,
|
|
1008
|
+
* `oe_grain`, `oe_window_token`, `oe_sources`) are host metadata about the delivery, not the
|
|
1009
|
+
* platform's own identity attributes (Slack's `team_id`/`channel_id`, Discord's `guild_id`, …).
|
|
1010
|
+
*/
|
|
1011
|
+
export function carriesPlatformIdentity(ctx: BindableContext): boolean {
|
|
1012
|
+
return namesASurface(rawIdentityFrom(ctx).raw);
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/** Did a mapper resolve either half of a surface address off this identity? The ONE spelling of the
|
|
1016
|
+
* test — {@link bindFrom}'s bridged-fallback trigger, {@link carriesPlatformIdentity} and
|
|
1017
|
+
* {@link refreshBindingStamp}'s downgrade test all read it, so the three cannot drift apart. */
|
|
1018
|
+
function namesASurface(raw: RawIdentity): boolean {
|
|
1019
|
+
return raw.workspace !== undefined || raw.surface !== undefined;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/** The one production entry point for the binding bridge. A stamp that names a surface may not be replaced by a context that names none, but the rule is a DOWNGRADE test only: the same bag carries a fire's attested creator and unattended marker, and refusing an identity-less fire's write would hand its tool contexts an ATTENDED reading. */
|
|
1023
|
+
export function refreshBindingStamp(ctx: BindableContext): "stamped" | "kept" {
|
|
1024
|
+
if (!carriesPlatformIdentity(ctx)) {
|
|
1025
|
+
const established = readBindingBridge();
|
|
1026
|
+
if (established !== null && namesASurface(bindBridged(established).raw)) return "kept";
|
|
1027
|
+
}
|
|
1028
|
+
stampBindingBridge(ctx);
|
|
1029
|
+
return "stamped";
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
// The bridge is a session-scoped slot and eve gives a native subagent child a NEW durable session, so a child inherits the delivery's auth bag and nothing else; the heal writes the platform's own attributes back onto that bag, and it rides the four eve dist facts that scripts/native-subagent-test.ts section D9 pins.
|
|
1033
|
+
// It may never copy a host stamp of either prefix: a stale wake id is the cross-conversation address that was refused three times, and a stale routine marker would widen a live seat to the fire posture.
|
|
1034
|
+
|
|
1035
|
+
/** The two prefixes every HOST-set auth stamp uses. The heal copies neither — see the block above. */
|
|
1036
|
+
const HOST_STAMP_PREFIXES: readonly string[] = ["oe_", "open_everywhere_"];
|
|
1037
|
+
|
|
1038
|
+
/** What one {@link healDeliveryIdentity} pass did. `unwritable` is the LOUD arm and the only one a
|
|
1039
|
+
* caller should report: the write WAS attempted and the read-back says it did not land (a frozen or
|
|
1040
|
+
* cloned bag). `no-delivery` is its quiet twin — there was no auth slot to write to at all, which is
|
|
1041
|
+
* every context that never carried a delivery. */
|
|
1042
|
+
export type DeliveryHealOutcome = "not-needed" | "healed" | "no-stamp" | "cross-platform" | "no-delivery" | "unwritable";
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Write the session's established platform identity back onto THIS delivery's auth attributes, so a subagent child's verbatim inherited copy sees the identity the seat already binds.
|
|
1046
|
+
* It can only restore, never escalate: it runs only when the delivery names no surface, writes only keys the bag lacks, repeats bindFrom's cross-platform fence, and derives its answer from a read-back, so a frozen or cloned bag reports unwritable rather than a false healed.
|
|
1047
|
+
*/
|
|
1048
|
+
export function healDeliveryIdentity(ctx: BindableContext): DeliveryHealOutcome {
|
|
1049
|
+
try {
|
|
1050
|
+
if (carriesPlatformIdentity(ctx)) return "not-needed";
|
|
1051
|
+
const bridged = readBindingBridge();
|
|
1052
|
+
if (bridged === null) return "no-stamp";
|
|
1053
|
+
const hop = bindBridged(bridged);
|
|
1054
|
+
if (!namesASurface(hop.raw)) return "no-stamp";
|
|
1055
|
+
const platform = seg(channelPlatform(ctx), "local");
|
|
1056
|
+
if (MAPPERS.get(platform) !== undefined && hop.platform !== platform) return "cross-platform";
|
|
1057
|
+
const auth = authOf(ctx) as { attributes?: Record<string, string | readonly string[]> } | null;
|
|
1058
|
+
if (auth === null) return "no-delivery";
|
|
1059
|
+
if (auth.attributes === undefined) auth.attributes = {};
|
|
1060
|
+
const bag = auth.attributes;
|
|
1061
|
+
for (const [key, value] of Object.entries(bridged.attributes)) {
|
|
1062
|
+
if (HOST_STAMP_PREFIXES.some((p) => key.startsWith(p))) continue;
|
|
1063
|
+
if (bag[key] !== undefined) continue;
|
|
1064
|
+
bag[key] = value;
|
|
1065
|
+
}
|
|
1066
|
+
// THE READ-BACK, not a count of assignments: it asks the question the caller actually has.
|
|
1067
|
+
return carriesPlatformIdentity(ctx) ? "healed" : "unwritable";
|
|
1068
|
+
} catch {
|
|
1069
|
+
return "unwritable";
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* The fail-closed backstop for a child that lost its parent's binding: the heal depends on a mutation of an eve-owned object surviving into the child, and a release that freezes or clones the bag takes it away silently, leaving the child on the org-default partition with no grants and the wrong memory partition.
|
|
1075
|
+
* Narrow on purpose: true only when the inherited platform stamp resolves a REGISTERED mapper and the child still names no surface, so eve dev, evals and unit contexts can never trip it.
|
|
1076
|
+
*/
|
|
1077
|
+
export function subagentBindingLost(ctx: BindableContext): boolean {
|
|
1078
|
+
try {
|
|
1079
|
+
if (!isSubagentChildContext(ctx)) return false;
|
|
1080
|
+
if (delegatedBindingThisTurn(currentTurnId(ctx)) !== undefined) return false;
|
|
1081
|
+
if (MAPPERS.get(seg(channelPlatform(ctx), "local")) === undefined) return false;
|
|
1082
|
+
if (carriesPlatformIdentity(ctx)) return false;
|
|
1083
|
+
const bridged = readBindingBridge();
|
|
1084
|
+
return bridged === null || !namesASurface(bindBridged(bridged).raw);
|
|
1085
|
+
} catch {
|
|
1086
|
+
return false; // fail-soft: an unreadable context must not kill a session on a guess
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Does {@link bindFrom} answer this context with the `subagent/…/unresolved` sentinel, and why?
|
|
1092
|
+
* `undefined` for every context that is not a delegated child, or that holds its dispatch binding.
|
|
1093
|
+
* `no-context` is the eve-context-scope class (OPE-2106): the slot holds the binding, but the caller
|
|
1094
|
+
* runs outside eve's context and cannot read it. `empty` is a child whose slot holds nothing.
|
|
1095
|
+
*/
|
|
1096
|
+
export function delegatedBindingUnresolved(ctx: BindableContext): "empty" | "no-context" | undefined {
|
|
1097
|
+
try {
|
|
1098
|
+
if (!isSubagentChildContext(ctx)) return undefined;
|
|
1099
|
+
if (delegatedBindingThisTurn(currentTurnId(ctx)) !== undefined) return undefined;
|
|
1100
|
+
const state = delegatedSlotState();
|
|
1101
|
+
return state === "adopted" ? undefined : state;
|
|
1102
|
+
} catch {
|
|
1103
|
+
return undefined;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export function bindFrom(ctx: BindableContext): SurfaceBinding {
|
|
1108
|
+
// An internal continuation (today, an approval decision wake) carries the exact binding frozen
|
|
1109
|
+
// from the wake that proposed the action. Its rendered trigger is system-authored and its live
|
|
1110
|
+
// auth intentionally carries no clicker's platform identity, so the ordinary mapper road would
|
|
1111
|
+
// otherwise fall through to the ambient/env stand-in. Admit only the strict host stamp, on the
|
|
1112
|
+
// synthetic unified channel, for this deployment and the same stamped origin platform.
|
|
1113
|
+
if (isUnifiedWindowContext(ctx)) {
|
|
1114
|
+
const frozen = frozenSurfaceBindingFrom(ctx);
|
|
1115
|
+
if (frozen !== undefined && frozen.org === deploymentOrg() && normalizePlatform(frozen.platform) === channelPlatform(ctx)) return frozen;
|
|
1116
|
+
}
|
|
1117
|
+
// A delayed native child can start after a sibling surface has replaced the standing seat's
|
|
1118
|
+
// current auth. Its dispatch wake is the authority: hooks/binding-bridge.ts restores that
|
|
1119
|
+
// host-captured binding before any worker tool or access resolver runs. The child session is
|
|
1120
|
+
// dedicated to that dispatch; approval/input resumes remain under the same authority.
|
|
1121
|
+
if (isSubagentChildContext(ctx)) {
|
|
1122
|
+
const delegated = delegatedBindingThisTurn(currentTurnId(ctx));
|
|
1123
|
+
if (delegated !== undefined) return delegated;
|
|
1124
|
+
// Until the async lifecycle hook resolves the durable dispatch snapshot, a native child has no
|
|
1125
|
+
// surface authority. Never let an earlier hook consume Eve's launch-time auth: on a shared seat
|
|
1126
|
+
// it may belong to a later sibling wake. The sentinel also answers a caller that runs outside
|
|
1127
|
+
// eve's context scope, where the slot cannot be read (see delegatedBindingUnresolved).
|
|
1128
|
+
if (!delegatedBindingAdopted()) {
|
|
1129
|
+
return {
|
|
1130
|
+
org: deploymentOrg(),
|
|
1131
|
+
platform: "subagent",
|
|
1132
|
+
workspace: UNNAMED_TENANT,
|
|
1133
|
+
surface: "unresolved",
|
|
1134
|
+
// No `modeResolved` (OPE-1867), deliberately: this sentinel names no real conversation, so
|
|
1135
|
+
// `channel` is the fail-closed default and never a classification. A report must not
|
|
1136
|
+
// publish `subagent//unresolved` as a room on the strength of it.
|
|
1137
|
+
mode: "channel",
|
|
1138
|
+
visibility: "private",
|
|
1139
|
+
trust: "external",
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
let { platform, raw } = rawIdentityFrom(ctx);
|
|
1144
|
+
// The attested creator of a triggered fire (OPE-269), read BEFORE the bridged fallback and
|
|
1145
|
+
// re-read from the bridge below — a fire whose tool contexts arrive identity-less must not lose
|
|
1146
|
+
// its creator (it would silently fall back to eve's `eve:app` schedule principal, which is the
|
|
1147
|
+
// pre-OPE-269 behaviour this exists to replace).
|
|
1148
|
+
let fire = attestedFirePrincipal(ctx);
|
|
1149
|
+
// The unattended-origin marker (OPE-278) — read alongside the creator stamp, from the same bag,
|
|
1150
|
+
// for the same reason: a fire whose tool contexts arrive identity-less must not lose it (the
|
|
1151
|
+
// fallback would silently hand its non-empty service id back to every presence gate). Since
|
|
1152
|
+
// OPE-497 the read is the three-armed FAIL-CLOSED floor, so the loss of one attribute — or of the
|
|
1153
|
+
// whole bag — can no longer answer "a human is present".
|
|
1154
|
+
let unattended = unattendedDelivery(ctx);
|
|
1155
|
+
// Identity-less context (no platform ids at all — tool contexts of send()-created
|
|
1156
|
+
// sessions arrive like this in prod): fall back to the identity a hook of THIS
|
|
1157
|
+
// session stamped, instead of silently binding the env-default "dev" partition.
|
|
1158
|
+
// See identity/binding-bridge.ts. Real contexts (mention path, hooks) never trigger
|
|
1159
|
+
// this — their mapper resolves at least a workspace or surface.
|
|
1160
|
+
if (!namesASurface(raw)) {
|
|
1161
|
+
const bridged = readBindingBridge();
|
|
1162
|
+
if (bridged) {
|
|
1163
|
+
const hop = bindBridged(bridged);
|
|
1164
|
+
// 🔴 THE CROSS-PLATFORM FENCE (OPE-603). A standing window seat can serve SEVERAL platforms at
|
|
1165
|
+
// once (a cross-surface domain), so "the identity this session last established" is only the
|
|
1166
|
+
// right answer when this delivery names the SAME platform. The delivery names it in its own
|
|
1167
|
+
// `oe_platform` stamp, which is host-set and unforgeable, so the test is cheap and honest.
|
|
1168
|
+
// It applies ONLY when the live context resolved a REGISTERED platform: the classic bridged
|
|
1169
|
+
// case — a `send()`-created session whose tool context carries no stamp at all — resolves the
|
|
1170
|
+
// synthetic "unified"/"subagent" kind, which has no mapper, and it must still bridge (that is
|
|
1171
|
+
// the whole reason the bridge exists). A genuine mismatch refuses the hop and falls to the env
|
|
1172
|
+
// stand-in, i.e. fail-closed to `external` — never a neighbouring surface's grants.
|
|
1173
|
+
if (MAPPERS.get(platform) === undefined || hop.platform === platform) {
|
|
1174
|
+
({ platform, raw } = hop);
|
|
1175
|
+
// The bridge stamps the whole attribute bag verbatim, so the fire stamps ride it — and they
|
|
1176
|
+
// ride TOGETHER, which is what keeps a bridged fire attested rather than fail-open. The
|
|
1177
|
+
// unattended marker takes the identical ride: same bag, same verbatim carriage — and the
|
|
1178
|
+
// bridge carries `authenticator` too (OPE-497), so the schedule-auth arm of the floor below
|
|
1179
|
+
// survives the reconstitution rather than being the one arm a bridged fire loses.
|
|
1180
|
+
fire ??= attestedFirePrincipal(bridgedContext(bridged));
|
|
1181
|
+
unattended ||= unattendedDelivery(bridgedContext(bridged));
|
|
1182
|
+
console.warn(
|
|
1183
|
+
`[open-everywhere:binding-bridge] context carried no platform identity — bound via the session's stamped ${platform} identity`,
|
|
1184
|
+
);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
const local = bindLocal(ctx); // gap-filler for missing fields
|
|
1189
|
+
// OPE-1867 — THE MODE, AND WHETHER ANYTHING ACTUALLY RESOLVED IT. `resolvedMode` is undefined
|
|
1190
|
+
// exactly when neither the platform mapper nor an `OE_MODE` declaration could classify this
|
|
1191
|
+
// conversation; `mode` then gap-fills `channel` so every reader keeps a usable value, and
|
|
1192
|
+
// `modeResolved` is what lets the one reader that PUBLISHES a surface refuse the default.
|
|
1193
|
+
const resolvedMode = raw.mode ?? local.mode;
|
|
1194
|
+
const mode = resolvedMode ?? "channel";
|
|
1195
|
+
// Resolve the storage keys up-front (same derivation as memory/partition.ts) so the
|
|
1196
|
+
// per-surface trust allowlist can be consulted against the EXACT key it'll be filed
|
|
1197
|
+
// under. A workspace-level vouch (`<platform>/<workspace>`) covers every surface under
|
|
1198
|
+
// it; a surface-level vouch narrows to one. See identity/trust.ts.
|
|
1199
|
+
// The fallback literal is identity/principal-key.ts's UNNAMED_TENANT, imported rather than
|
|
1200
|
+
// re-typed: the principal composer REFUSES that exact string as a tenant rung (OPE-309), so the
|
|
1201
|
+
// two spellings must not be able to drift apart.
|
|
1202
|
+
// The deployment's declared AMBIENT room is the last rung before the built-in defaults, and it
|
|
1203
|
+
// is read HERE rather than in `bindLocal` on purpose (OPE-1545): a value the deployment declares
|
|
1204
|
+
// about itself fills a gap, and must never make an identity-less delivery look like it carried a
|
|
1205
|
+
// surface — see the bindLocal header, and `carriesPlatformIdentity` below it.
|
|
1206
|
+
const workspace = seg(raw.workspace ?? ambientWorkspace(), UNNAMED_TENANT);
|
|
1207
|
+
const surface = seg(raw.surface ?? ambientSurface(), "default");
|
|
1208
|
+
// The DOMAIN grain, resolved here (not only at the return below) because a declaration written on
|
|
1209
|
+
// the CONTAINER — the Discord channel a thread lives in, the Teams channel a conversation belongs
|
|
1210
|
+
// to — must reach the room inside it. Raw surface first: an exact declaration on the room itself
|
|
1211
|
+
// always beats one on its container.
|
|
1212
|
+
const domainSurfaceSeg = raw.domainSurface ? seg(raw.domainSurface, surface) : undefined;
|
|
1213
|
+
const declared = declaredSurfaceTrust({
|
|
1214
|
+
tenantKey: `${platform}/${workspace}`,
|
|
1215
|
+
surfaceKeys:
|
|
1216
|
+
domainSurfaceSeg !== undefined && domainSurfaceSeg !== surface
|
|
1217
|
+
? [`${platform}/${workspace}/${surface}`, `${platform}/${workspace}/${domainSurfaceSeg}`]
|
|
1218
|
+
: [`${platform}/${workspace}/${surface}`],
|
|
1219
|
+
...(trustGroupKey(platform, workspace, raw.trustGroup) ?? {}),
|
|
1220
|
+
...(trustEnterpriseKey(platform, raw.trustEnterprise) ?? {}),
|
|
1221
|
+
});
|
|
1222
|
+
const vouched = declared === "internal" ? ("internal" as const) : undefined;
|
|
1223
|
+
// The operator's public declaration sits ABOVE the mapper because it maps to external, the floor: it can only lower, so it is safe by construction, and the matching internal promotion stays BELOW the mapper, so uncertainty never resolves up.
|
|
1224
|
+
// DMs and group DMs are out of scope, because there trust asks whether the PARTNER is internal; a public declaration leaves vouched undefined and the DM gate fails the partner closed.
|
|
1225
|
+
const declaredExternal = mode === "channel" && declared === "public" ? ("external" as const) : undefined;
|
|
1226
|
+
// The LIVE per-fire verdict on a triggered fire's attested creator (OPE-269) — POSITIVE-ONLY, so
|
|
1227
|
+
// it can only ever raise a surface that would otherwise fail closed, never demote one the mapper
|
|
1228
|
+
// positively verified. That ordering is why a CHANNEL fire is untouched by this: its mapper
|
|
1229
|
+
// verdict (`trust_checked`/`is_ext_shared`, stamped by the dispatcher's own live
|
|
1230
|
+
// conversations.info recheck) is already positive, so it wins on the left.
|
|
1231
|
+
const fireTrust: Trust | undefined = fire?.internal === true ? "internal" : undefined;
|
|
1232
|
+
// Trust precedence, and the DEMOTE-ABOVE / PROMOTE-BELOW asymmetry is the whole of it:
|
|
1233
|
+
// 1. the operator's `public` DECLARATION (a demotion to the floor — can only ever lower);
|
|
1234
|
+
// 2. the platform mapper's own verdict (a real membership check, or a positively-external
|
|
1235
|
+
// Slack channel that must STAY external);
|
|
1236
|
+
// 3. the fire's live creator recheck;
|
|
1237
|
+
// 4. this deploy's per-surface `internal` declaration (a PROMOTION — "deny by default,
|
|
1238
|
+
// allow-list exceptions", and it must stay below the mapper);
|
|
1239
|
+
// 5. the blanket OE_TRUST env;
|
|
1240
|
+
// 6. a platform-aware default — `internal` for local/dev (so memory works under `eve dev` and
|
|
1241
|
+
// tests), `external` for any real platform (FAIL CLOSED on the gate).
|
|
1242
|
+
let trust = declaredExternal ?? raw.trust ?? fireTrust ?? vouched ?? local.trust ?? (platform === "local" ? "internal" : "external");
|
|
1243
|
+
// For a DM, trust means is the DM PARTNER an internal member, because it selects the DM's shared read layer.
|
|
1244
|
+
// A mapper's positive verification, an explicit vouch of this DM's key, a blanket OE_TRUST of internal, or a fire whose creator was re-verified internal THIS FIRE are honoured; anything else fails closed to external, and the per-user DB silo is granted regardless.
|
|
1245
|
+
if (
|
|
1246
|
+
mode === "dm" &&
|
|
1247
|
+
platform !== "local" &&
|
|
1248
|
+
process.env.OE_TRUST !== "internal" &&
|
|
1249
|
+
!raw.trustVerified &&
|
|
1250
|
+
vouched !== "internal" &&
|
|
1251
|
+
fire?.internal !== true
|
|
1252
|
+
) {
|
|
1253
|
+
trust = "external";
|
|
1254
|
+
}
|
|
1255
|
+
return {
|
|
1256
|
+
// Tenant: deployment-level today (env), a per-request lookup when hosted. See the
|
|
1257
|
+
// SurfaceBinding.org doc for why this isn't a per-platform mapper concern.
|
|
1258
|
+
org: deploymentOrg(),
|
|
1259
|
+
platform,
|
|
1260
|
+
workspace,
|
|
1261
|
+
surface,
|
|
1262
|
+
// Domain/spend grain (see the field doc): sanitized like `surface` (it builds scope
|
|
1263
|
+
// keys). Only surfaced when the mapper actually resolved one AND it differs from the
|
|
1264
|
+
// surface itself — a degenerate equal value would just be noise for consumers.
|
|
1265
|
+
domainSurface: domainSurfaceSeg !== undefined && domainSurfaceSeg !== surface ? domainSurfaceSeg : undefined,
|
|
1266
|
+
mode,
|
|
1267
|
+
// Spread conditionally, like every other optional field on this object: an unresolved mode
|
|
1268
|
+
// omits the key rather than carrying an explicit `undefined`, so a deep-equal over a binding
|
|
1269
|
+
// does not start seeing a new key on a surface nothing classified.
|
|
1270
|
+
...(resolvedMode === undefined ? {} : { modeResolved: true as const }),
|
|
1271
|
+
visibility: raw.visibility ?? local.visibility ?? "public",
|
|
1272
|
+
trust,
|
|
1273
|
+
// The operator's declaration, BEFORE the join above folded it in behind the mapper. Spread
|
|
1274
|
+
// conditionally so an undeclared room omits the key entirely rather than carrying an explicit
|
|
1275
|
+
// `undefined` — every other optional field on this object does the same, and a deep-equal over a
|
|
1276
|
+
// binding must not start seeing a new key on a deployment that declared nothing.
|
|
1277
|
+
...(declared === undefined ? {} : { declaredTrust: declared }),
|
|
1278
|
+
// The attested creator WINS over the mapper (OPE-269). It has to: on a fire the mapper reads
|
|
1279
|
+
// eve's schedule principal off the auth slot (`eve:app`, channel/schedule-auth.js) and that is a
|
|
1280
|
+
// non-empty string, so a lower-precedence stamp would never be reached. The pairing with
|
|
1281
|
+
// `principalAttested` below is what makes this safe — see that field's doc.
|
|
1282
|
+
principalId: fire?.id ?? raw.principalId ?? local.principalId,
|
|
1283
|
+
// ATTESTED on an attested-creator fire — and on ANY unattended origin (OPE-278), even one with
|
|
1284
|
+
// nobody to name. The webhook fire's `webhook:<hookId>` (and a creator-less row's `eve:app`)
|
|
1285
|
+
// stays on `principalId` for audit/provenance; what the marker removes is only its ability to
|
|
1286
|
+
// answer "is a human here, acting" — actingPrincipalId returns undefined for both.
|
|
1287
|
+
...(fire || unattended ? { principalAttested: true as const } : {}),
|
|
1288
|
+
target: raw.target,
|
|
1289
|
+
// Not seg()-sanitized: a thread ts ("1234.5678") is a Slack API parameter, never a
|
|
1290
|
+
// storage path segment, and it comes from the platform's own verified event payload.
|
|
1291
|
+
threadTs: raw.threadTs,
|
|
1292
|
+
// Not seg()-sanitized either, and for a stricter reason than threadTs: this key must equal, byte
|
|
1293
|
+
// for byte, the key the platform's own ingress passed to markThreadEngaged. A repaired value
|
|
1294
|
+
// would address a row that no wake gate ever reads.
|
|
1295
|
+
engagementKey: raw.engagementKey,
|
|
1296
|
+
// The ROOM-grain opt-in (OPE-1511). It carries the platform's own raw room id for the audit
|
|
1297
|
+
// trail; the room row's ADDRESS is never taken from here but derived from the partition
|
|
1298
|
+
// (`channels/engagement.ts` roomEngagementAddress), so the wake that writes the row and the
|
|
1299
|
+
// stop that marks it cannot drift apart on two spellings of one id.
|
|
1300
|
+
roomEngagementKey: raw.roomEngagementKey,
|
|
1301
|
+
// Not seg()-sanitized, for the same reason: must equal, byte for byte, the real message id a
|
|
1302
|
+
// reaction event carries (turnAnchorKey matches on it exactly).
|
|
1303
|
+
anchorMessageId: raw.anchorMessageId,
|
|
1304
|
+
// Not seg()-sanitized, for the same reason again: the stop trigger names the platform's own raw
|
|
1305
|
+
// container id, and `turnChannelKey` matches on it exactly.
|
|
1306
|
+
anchorChannelId: raw.anchorChannelId,
|
|
1307
|
+
};
|
|
1308
|
+
}
|