@desplega.ai/agent-swarm 2.5.4 → 2.6.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/README.md +2 -2
- package/dist/{acp-adapter-ek38cwsv.js → acp-adapter-dgfakfpw.js} +9 -9
- package/dist/{actions-92mepq03.js → actions-fbqma8aa.js} +21 -21
- package/dist/{amp-adapter-9gaxg015.js → amp-adapter-en0jy6hs.js} +4 -4
- package/dist/{app-ctn8gsgx.js → app-k8a5cgpp.js} +3 -3
- package/dist/{assistant-zyr5kz47.js → assistant-a16433gr.js} +29 -25
- package/dist/{boot-reembed-dwzfttdr.js → boot-reembed-6c1sjfnr.js} +1 -1
- package/dist/{boot-reembed-w75maga2.js → boot-reembed-f4nn561n.js} +1 -1
- package/dist/{boot-scrub-sweep-e9kq43kf.js → boot-scrub-sweep-d4w9gajf.js} +4 -4
- package/dist/{boot-seeds-x28v3fhb.js → boot-seeds-9bmkspyw.js} +4 -4
- package/dist/{claude-adapter-f0afqnne.js → claude-adapter-nys1kjxa.js} +9 -9
- package/dist/{claude-managed-adapter-x81a7r65.js → claude-managed-adapter-55207973.js} +2 -2
- package/dist/{claude-managed-setup-bqzwjd9x.js → claude-managed-setup-3cm35gey.js} +10 -3
- package/dist/{claude-sdk-session-7b7whkaq.js → claude-sdk-session-nw5yd8cp.js} +11 -11
- package/dist/{cli-c61mbdds.js → cli-03gg9pd1.js} +4 -4
- package/dist/{cli-kxpfx2xr.js → cli-0z1xjzwa.js} +2 -2
- package/dist/cli-1tem6ns9.js +894 -0
- package/dist/{cli-jbnn4vxb.js → cli-24j1jeeb.js} +3 -3
- package/dist/{cli-pzatvw94.js → cli-2sjhpsns.js} +2 -2
- package/dist/{cli-dew6x255.js → cli-39aet655.js} +2 -2
- package/dist/{cli-g1cw7xtt.js → cli-39rrw8yp.js} +1 -1
- package/dist/{cli-x0f2v69c.js → cli-3aqd4jaa.js} +12 -7
- package/dist/{cli-gbfxp48k.js → cli-3fwqy71j.js} +15 -15
- package/dist/{cli-7p4jxgtt.js → cli-3gfvmzht.js} +6 -6
- package/dist/{cli-03vpq45j.js → cli-3ndmpxxv.js} +2 -2
- package/dist/{cli-asq5ydm4.js → cli-4hxrf0p4.js} +131 -50
- package/dist/{cli-mz9afxxf.js → cli-4rf0f5vg.js} +15 -3
- package/dist/{cli-k4tjsdx9.js → cli-5rj83bam.js} +272 -195
- package/dist/{cli-sbwsxvtd.js → cli-5sckpqcx.js} +2 -2
- package/dist/{cli-cz5nmdxt.js → cli-683y0b3a.js} +2 -2
- package/dist/{cli-ethgy7ha.js → cli-6y51ryva.js} +2 -2
- package/dist/{cli-n4c8e3s5.js → cli-708wdy32.js} +1 -1
- package/dist/{cli-pasyvjmm.js → cli-737pyqxr.js} +1 -1
- package/dist/{cli-gx4rm0qx.js → cli-7enjwya9.js} +1 -1
- package/dist/{cli-6x9ma5w5.js → cli-803188pb.js} +1 -1
- package/dist/{cli-hh5we352.js → cli-9abdgn5t.js} +7 -7
- package/dist/{cli-ff1tm9n9.js → cli-a2rr0fmg.js} +1 -1
- package/dist/{cli-c952c7ac.js → cli-a34pr3w1.js} +2 -2
- package/dist/{cli-s682zgqz.js → cli-abkm71vr.js} +1 -1
- package/dist/{cli-mmhj8vd7.js → cli-ag2yrnt5.js} +11 -2
- package/dist/{cli-bvpgr9ny.js → cli-aj8djyqt.js} +5 -5
- package/dist/{cli-gwhjmh8g.js → cli-art7c1zh.js} +5 -5
- package/dist/{cli-5bnsc0e1.js → cli-az25fn5f.js} +4 -4
- package/dist/{cli-9s05422w.js → cli-bqztfyve.js} +1 -1
- package/dist/{cli-bn0rewsy.js → cli-c081bj3b.js} +2 -2
- package/dist/{cli-1r5ad7j5.js → cli-c2habvsf.js} +12 -12
- package/dist/{cli-64mh9mf3.js → cli-ca6banwz.js} +69 -17
- package/dist/{cli-25n3mv5d.js → cli-cz37jqss.js} +5 -5
- package/dist/{cli-6n8axjv1.js → cli-d2dpf95n.js} +2 -2
- package/dist/{cli-gn5af0x5.js → cli-emhjcj2y.js} +11 -11
- package/dist/{cli-6a1xg1p7.js → cli-esakngh8.js} +2 -2
- package/dist/{cli-ha9rmwgq.js → cli-fb8m699c.js} +2 -2
- package/dist/{cli-4b2z6n0m.js → cli-ffvsj2qw.js} +17 -8
- package/dist/{cli-abs8ndtr.js → cli-g20jjwt4.js} +26 -26
- package/dist/{cli-jb30dzvk.js → cli-g8ka5j4j.js} +446 -164
- package/dist/{cli-19202kew.js → cli-gf95q3bm.js} +5 -5
- package/dist/{cli-eftzyh9y.js → cli-gnsb1zxa.js} +2 -2
- package/dist/{cli-nwyw3zhg.js → cli-gxee0bqa.js} +1 -1
- package/dist/{cli-e42vss7b.js → cli-hfeb68z4.js} +5 -5
- package/dist/{cli-g9vd9ece.js → cli-k21gx5ht.js} +14 -16
- package/dist/{cli-tsma7p8v.js → cli-kf4jree9.js} +2 -2
- package/dist/{cli-dabehxhp.js → cli-kt907da6.js} +1 -1
- package/dist/{cli-wx2nj19m.js → cli-m5a9m0ak.js} +6 -6
- package/dist/{cli-621ce7kw.js → cli-m70bajzr.js} +3 -3
- package/dist/{cli-9j129brq.js → cli-mtnj4fwa.js} +6 -6
- package/dist/{cli-xzfq4at3.js → cli-mvjz5an3.js} +15 -11
- package/dist/{cli-277c31dw.js → cli-n7asmce6.js} +225 -3
- package/dist/{cli-xtrz6bzs.js → cli-nn6vx2mq.js} +1 -1
- package/dist/{cli-2655k16q.js → cli-nq677csy.js} +1 -1
- package/dist/{cli-0shx9j93.js → cli-pfk92eqz.js} +2 -2
- package/dist/{cli-wghjkr0e.js → cli-sqma6vw1.js} +10 -7
- package/dist/{cli-nzfnt2gs.js → cli-tf1n0r0b.js} +1 -1
- package/dist/{cli-qqzmjxkf.js → cli-v49fkghp.js} +11 -6
- package/dist/{cli-x77gen2p.js → cli-w2656ka1.js} +7 -7
- package/dist/{cli-5kqnemen.js → cli-yvy48785.js} +1 -1
- package/dist/{cli-m4ecdxvz.js → cli-zqne1qcj.js} +7 -7
- package/dist/cli.js +17 -17
- package/dist/{codex-adapter-wch12q99.js → codex-adapter-d95q4qsn.js} +7 -7
- package/dist/{codex-login-rn7c5gxt.js → codex-login-8cg0vhf2.js} +1 -1
- package/dist/{codex-session-runner-41pfcr95.js → codex-session-runner-gdwd8h0c.js} +8 -8
- package/dist/{commands-9849dkj6.js → commands-jqmgk54b.js} +2 -2
- package/dist/{controller-ja0sd95p.js → controller-z3jq589f.js} +4 -4
- package/dist/{controllers-connect-xp05dj6x.js → controllers-connect-r2za39ef.js} +23 -23
- package/dist/{cursor-adapter-623qxqew.js → cursor-adapter-4mr4jgkw.js} +2 -2
- package/dist/{db-47vj40dy.js → db-ppv2tze7.js} +3 -3
- package/dist/{db-w759qmx0.js → db-w36wwb5g.js} +4 -2
- package/dist/{devin-adapter-4ycy4vrf.js → devin-adapter-byen2cxt.js} +1 -1
- package/dist/{dispatcher-7b8e4z2j.js → dispatcher-pv5h77vf.js} +20 -20
- package/dist/{docker-s84hjs91.js → docker-fdzyewpz.js} +2 -2
- package/dist/{dsh-adapter-2ezw3xea.js → dsh-adapter-d4pdpb3r.js} +2 -2
- package/dist/{e2b-9gkdhm3c.js → e2b-222hsajc.js} +2 -2
- package/dist/{e2b-cjtf8k1z.js → e2b-fn3zacvt.js} +2 -2
- package/dist/{easter-egg-3d-e4qv8dxj.js → easter-egg-3d-4sp4dvmc.js} +1 -1
- package/dist/{event-bus-3z78ep5n.js → event-bus-pghg8hqy.js} +1 -1
- package/dist/{execute-0xpz8950.js → execute-jev839y1.js} +1 -1
- package/dist/{external-channel-e2s028da.js → external-channel-y6nkzhnn.js} +2 -2
- package/dist/{grok-adapter-ys7gaqee.js → grok-adapter-t08b9ntm.js} +10 -10
- package/dist/handlers-eqsnmv95.js +41 -0
- package/dist/{heartbeat-w3mntghj.js → heartbeat-vn31xwdk.js} +23 -23
- package/dist/{hook-g7kvv6x9.js → hook-6d0zbvvt.js} +6 -6
- package/dist/{hook-3jjywnpb.js → hook-cpjs8q51.js} +8 -8
- package/dist/{http-tkp7d4kb.js → http-9c6medda.js} +856 -99
- package/dist/{index-xdaahthb.js → index-38t35h0n.js} +20 -20
- package/dist/{index-3n8m9ea2.js → index-g6k9tctj.js} +1 -1
- package/dist/{index-1ef1myq2.js → index-k0yt1tvq.js} +20 -20
- package/dist/{index-31ceyf42.js → index-pkma1yf8.js} +1 -1
- package/dist/{index-q7m26kvs.js → index-qhjf2htm.js} +13 -10
- package/dist/index-yqgbfgaj.js +43 -0
- package/dist/{keepalive-v4ta8wgg.js → keepalive-em0117bp.js} +4 -4
- package/dist/lead-23e7z59t.js +79 -0
- package/dist/{maintenance-84n1ex21.js → maintenance-kbme3qy9.js} +1 -1
- package/dist/{oauth-refresh-sweep-vjnnandw.js → oauth-refresh-sweep-xysj4yse.js} +3 -3
- package/dist/{onboard-sfmpe4np.js → onboard-p6q0vz97.js} +3 -3
- package/dist/{opencode-adapter-jmpst4q4.js → opencode-adapter-esv3k9yn.js} +7 -7
- package/dist/{otel-impl-v6cc0zve.js → otel-impl-54qhqh1z.js} +2 -2
- package/dist/{pi-mono-adapter-fk8fkcf6.js → pi-mono-adapter-mymbwhj0.js} +10 -10
- package/dist/{pricing-refresh-fsk1e1zc.js → pricing-refresh-yb75wv33.js} +3 -3
- package/dist/{rbac-roles-prmkdnkw.js → rbac-roles-1vp2mw4p.js} +2 -2
- package/dist/{rbac-roles-zxmxqa39.js → rbac-roles-dexhc9x8.js} +1 -1
- package/dist/render-v2-tjay5hhf.js +16 -0
- package/dist/{resume-frdtgfa0.js → resume-8ayf37g5.js} +9 -9
- package/dist/{runtime-bt5pkpm1.js → runtime-hqe5cqcd.js} +1 -1
- package/dist/{session-access-fpez4y5q.js → session-access-fdhp987s.js} +4 -4
- package/dist/session-source-backfill-qgtc86z1.js +110 -0
- package/dist/{setup-mq6m3m8q.js → setup-4rrmqcq3.js} +1 -1
- package/dist/{virtual-modules-mnfbh5mr.js → virtual-modules-52km00d6.js} +2 -2
- package/dist/{work-objects-kfahhjsq.js → work-objects-p28fgd70.js} +23 -23
- package/dist/worker-e3w7vye1.js +79 -0
- package/dist/{x-pbpezr0s.js → x-wxrzvzx8.js} +2 -2
- package/openapi.json +1274 -32
- package/package.json +1 -1
- package/src/assets/source-key.ts +95 -0
- package/src/be/db/api-keys.ts +80 -0
- package/src/be/db/session-labels.ts +28 -0
- package/src/be/db/session-moves.ts +5 -6
- package/src/be/db/session-tree.ts +153 -14
- package/src/be/db/tasks/read.ts +11 -0
- package/src/be/db/tasks/write.ts +6 -1
- package/src/be/db/workflow-runs.ts +183 -1
- package/src/be/db-retention.ts +61 -6
- package/src/be/db.ts +59 -114
- package/src/be/memory/providers/openai-embedding.ts +5 -1
- package/src/be/migrations/244_api_key_validation.sql +4 -0
- package/src/be/onboarding.ts +4 -0
- package/src/be/scripts/typecheck.ts +1 -1
- package/src/be/session-source-backfill.ts +163 -0
- package/src/be/swarm-config-guard.ts +1 -0
- package/src/comb/review-batch.ts +28 -1
- package/src/comb/templates.ts +7 -2
- package/src/commands/claude-managed-setup.ts +7 -1
- package/src/commands/credential-refresh.ts +76 -1
- package/src/commands/credential-wait.ts +2 -2
- package/src/commands/provider-credentials.ts +210 -170
- package/src/commands/runner.ts +25 -4
- package/src/extensions/apply-task-create.ts +8 -1
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/extensions/contract.ts +5 -0
- package/src/http/all-routes.ts +2 -0
- package/src/http/api-keys.ts +53 -0
- package/src/http/assets.ts +15 -0
- package/src/http/codex-oauth-accounts.ts +191 -0
- package/src/http/comb.ts +15 -2
- package/src/http/config.ts +1 -1
- package/src/http/core.ts +6 -0
- package/src/http/fleet-benchmark.ts +5 -2
- package/src/http/index.ts +11 -0
- package/src/http/integrations.ts +5 -1
- package/src/http/kv.ts +8 -3
- package/src/http/onboarding.ts +6 -1
- package/src/http/pool-keys.ts +354 -0
- package/src/http/sessions.ts +37 -12
- package/src/http/stats.ts +1 -0
- package/src/http/status.ts +26 -12
- package/src/http/tasks.ts +3 -0
- package/src/http/used-by.ts +7 -2
- package/src/http/workflows.ts +78 -9
- package/src/integrations/chat-sdk/inbound.ts +27 -0
- package/src/kv-reserved-namespaces.ts +19 -0
- package/src/providers/acp-targets.ts +1 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +5 -1
- package/src/providers/claude-managed-adapter.ts +16 -9
- package/src/providers/codex-adapter.ts +71 -11
- package/src/scheduler/scheduler.ts +3 -2
- package/src/scripts-runtime/swarm-sdk.ts +7 -1
- package/src/scripts-runtime/types/stdlib.d.ts +1 -1
- package/src/scripts-runtime/types/swarm-extension.d.ts +17 -8
- package/src/scripts-runtime/types/swarm-sdk.d.ts +1 -1
- package/src/slack/assistant.ts +7 -0
- package/src/slack/channel-labels.ts +74 -0
- package/src/slack/handlers.ts +8 -0
- package/src/slack/inbound-files.ts +5 -2
- package/src/slack/thread-buffer.ts +4 -0
- package/src/tasks/sibling-awareness.ts +12 -3
- package/src/telemetry-context.ts +5 -6
- package/src/telemetry-identity.ts +3 -3
- package/src/tests/api-keys-validation.test.ts +170 -0
- package/src/tests/claude-managed-adapter.test.ts +46 -0
- package/src/tests/claude-routes-e2e.test.ts +7 -2
- package/src/tests/codex-credential-pools.test.ts +120 -0
- package/src/tests/codex-gateway-route.test.ts +165 -0
- package/src/tests/codex-oauth-accounts.test.ts +357 -0
- package/src/tests/comb-review-batch.test.ts +63 -2
- package/src/tests/config-pool-keys.test.ts +533 -0
- package/src/tests/credential-check.test.ts +290 -2
- package/src/tests/credential-refresh.test.ts +172 -1
- package/src/tests/db-retention.test.ts +9 -3
- package/src/tests/db-task-read-contract.test.ts +1 -0
- package/src/tests/db-task-write-contract.test.ts +1 -3
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/extensions-pre-task.test.ts +53 -1
- package/src/tests/fixtures/extensions/record-task-create/hooks.ts +9 -0
- package/src/tests/fixtures/extensions/record-task-create/manifest.json +7 -0
- package/src/tests/fleet-benchmark.test.ts +8 -0
- package/src/tests/get-workflow-run-tool.test.ts +98 -0
- package/src/tests/integrations-http.test.ts +32 -2
- package/src/tests/internal-ai/complete-structured.test.ts +37 -1
- package/src/tests/internal-ai/credentials.test.ts +23 -0
- package/src/tests/kv-http.test.ts +32 -0
- package/src/tests/kv-tool.test.ts +25 -0
- package/src/tests/multi-runtime-registration.test.ts +12 -12
- package/src/tests/onboarding.test.ts +108 -1
- package/src/tests/openai-embedding-credentials.test.ts +35 -0
- package/src/tests/openrouter-attribution-call-sites.test.ts +2 -2
- package/src/tests/org-website.test.ts +36 -0
- package/src/tests/provider-key-probes.test.ts +181 -0
- package/src/tests/rbac-e2e-helpers.test.ts +88 -1
- package/src/tests/rbac-e2e-helpers.ts +36 -11
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/script-runs-retention.test.ts +212 -0
- package/src/tests/sdk-allowlist.test.ts +39 -0
- package/src/tests/session-source-backfill.test.ts +429 -0
- package/src/tests/session-source-keys.test.ts +236 -0
- package/src/tests/session-source-labels.test.ts +419 -0
- package/src/tests/sessions-detail-batch.test.ts +2 -0
- package/src/tests/sessions-move.test.ts +131 -0
- package/src/tests/sessions-tree.test.ts +299 -2
- package/src/tests/slack-inbound-files.test.ts +103 -23
- package/src/tests/status.test.ts +101 -18
- package/src/tests/tasks-workflow-run-filter.test.ts +146 -0
- package/src/tests/test-net.ts +31 -0
- package/src/tests/transcription.test.ts +8 -0
- package/src/tests/used-by-route.test.ts +11 -0
- package/src/tests/workflow-cascade-cancel.test.ts +172 -0
- package/src/tests/workflow-http-v2.test.ts +131 -0
- package/src/tests/workflow-step-order.test.ts +92 -0
- package/src/tests/workflow-sub-workflow.test.ts +30 -0
- package/src/tools/get-tasks.ts +8 -0
- package/src/tools/kv/kv-read-auth.ts +4 -2
- package/src/tools/task-action.ts +1 -1
- package/src/tools/workflows/get-workflow-run.ts +14 -4
- package/src/types.ts +24 -0
- package/src/utils/company-profile.ts +51 -1
- package/src/utils/credentials.ts +5 -2
- package/src/utils/internal-ai/complete-structured.ts +5 -0
- package/src/utils/internal-ai/credentials.ts +4 -3
- package/src/utils/provider-key-probes.ts +328 -0
- package/src/utils/transcription.ts +4 -1
- package/src/workflows/executors/sub-workflow.ts +8 -1
- package/templates/ai-toolbox.manifest.json +2 -2
- package/templates/skills/researching/content.md +2 -0
- package/templates/skills/swarm-scripts/SKILL.md +1 -0
- package/templates/skills/swarm-scripts/content.md +1 -0
- package/dist/cli-7421jzsw.js +0 -84
- package/dist/cli-e45e4m6b.js +0 -413
- package/dist/cli-zw88zjba.js +0 -307
- package/dist/handlers-wy1dr6ja.js +0 -41
- package/dist/index-nmm79qgr.js +0 -43
- package/dist/lead-sawnyqxk.js +0 -79
- package/dist/render-v2-pjwxvnkw.js +0 -12
- package/dist/worker-v5e5rxj3.js +0 -79
|
@@ -17,6 +17,8 @@ import {
|
|
|
17
17
|
agentContextKey,
|
|
18
18
|
pageContextKey,
|
|
19
19
|
init_context_key,
|
|
20
|
+
sessionSourceKey,
|
|
21
|
+
init_source_key,
|
|
20
22
|
checkSlackRoutingCoherence,
|
|
21
23
|
init_slack_routing,
|
|
22
24
|
beginRequestAuthScope,
|
|
@@ -111,6 +113,8 @@ import {
|
|
|
111
113
|
cancelTask2,
|
|
112
114
|
getRecentlyCancelledTasksForAgent2,
|
|
113
115
|
updateTaskProgress2,
|
|
116
|
+
getWorkflowRunSummary,
|
|
117
|
+
getWorkflowRunStepsSlimByRunId,
|
|
114
118
|
getRunLineageBlock,
|
|
115
119
|
getWorkflowRunStatus,
|
|
116
120
|
disarmWorkflowTreeRetries,
|
|
@@ -339,19 +343,19 @@ import {
|
|
|
339
343
|
recordInlineScriptRun2,
|
|
340
344
|
exports_db,
|
|
341
345
|
init_db3
|
|
342
|
-
} from "./cli-
|
|
346
|
+
} from "./cli-g8ka5j4j.js";
|
|
343
347
|
import {
|
|
344
348
|
getUserGrant2,
|
|
345
349
|
init_rbac_roles
|
|
346
|
-
} from "./cli-
|
|
350
|
+
} from "./cli-a2rr0fmg.js";
|
|
347
351
|
import {
|
|
348
352
|
ensurePricingSeeded2,
|
|
349
353
|
ensureRbacSeeded2,
|
|
350
354
|
ensureModelProfilesSeeded2
|
|
351
|
-
} from "./cli-
|
|
355
|
+
} from "./cli-03gg9pd1.js";
|
|
352
356
|
import {
|
|
353
357
|
loadModelsDevCache
|
|
354
|
-
} from "./cli-
|
|
358
|
+
} from "./cli-5sckpqcx.js";
|
|
355
359
|
import {
|
|
356
360
|
buildCatalogEntries,
|
|
357
361
|
listModelCatalog,
|
|
@@ -361,16 +365,16 @@ import {
|
|
|
361
365
|
loadModelsCatalog,
|
|
362
366
|
requestModelCatalogRefresh2,
|
|
363
367
|
startPricingRefreshLoop2
|
|
364
|
-
} from "./cli-
|
|
368
|
+
} from "./cli-aj8djyqt.js";
|
|
365
369
|
import {
|
|
366
370
|
ampPinProviderError,
|
|
367
371
|
ampPinCatalogError,
|
|
368
372
|
ampModelError
|
|
369
|
-
} from "./cli-
|
|
373
|
+
} from "./cli-bqztfyve.js";
|
|
370
374
|
import {
|
|
371
375
|
workflowEventBus2,
|
|
372
376
|
init_event_bus
|
|
373
|
-
} from "./cli-
|
|
377
|
+
} from "./cli-kt907da6.js";
|
|
374
378
|
import {
|
|
375
379
|
notifyAutomationPreflightFailure,
|
|
376
380
|
isNeedsSetupFailure,
|
|
@@ -435,7 +439,7 @@ import {
|
|
|
435
439
|
definitionNodeIds,
|
|
436
440
|
validateDefinition,
|
|
437
441
|
applyDefinitionPatch
|
|
438
|
-
} from "./cli-
|
|
442
|
+
} from "./cli-3fwqy71j.js";
|
|
439
443
|
import {
|
|
440
444
|
require_dist2,
|
|
441
445
|
publicEndpointSsrfOptions,
|
|
@@ -495,14 +499,14 @@ import {
|
|
|
495
499
|
deleteApp,
|
|
496
500
|
typecheckScript,
|
|
497
501
|
parseSkillContent
|
|
498
|
-
} from "./cli-
|
|
502
|
+
} from "./cli-3gfvmzht.js";
|
|
499
503
|
import {
|
|
500
504
|
buildAuthorizationUrl,
|
|
501
505
|
onAuthorizationRefreshed,
|
|
502
506
|
ensureAuthorizationTokenOrThrow,
|
|
503
507
|
ensureToken,
|
|
504
508
|
ensureTokenOrThrow
|
|
505
|
-
} from "./cli-
|
|
509
|
+
} from "./cli-kf4jree9.js";
|
|
506
510
|
import {
|
|
507
511
|
detachedProcessGroup,
|
|
508
512
|
registerProcessGroup,
|
|
@@ -536,14 +540,14 @@ import {
|
|
|
536
540
|
getSlackApp2,
|
|
537
541
|
startSlackApp2,
|
|
538
542
|
stopSlackApp2
|
|
539
|
-
} from "./cli-
|
|
543
|
+
} from "./cli-g20jjwt4.js";
|
|
540
544
|
import {
|
|
541
545
|
slackCode,
|
|
542
546
|
slackMissingScopeMessage,
|
|
543
547
|
withAutoJoin,
|
|
544
548
|
externalChannelToolError2,
|
|
545
549
|
getChannelBlockReason2
|
|
546
|
-
} from "./cli-
|
|
550
|
+
} from "./cli-gnsb1zxa.js";
|
|
547
551
|
import {
|
|
548
552
|
shapeApprovalResolution,
|
|
549
553
|
SubWorkflowExecutor,
|
|
@@ -562,7 +566,7 @@ import {
|
|
|
562
566
|
recoverResolvedWaitState2,
|
|
563
567
|
resumeFromChildRun2,
|
|
564
568
|
initWaitBusSubscriptions2
|
|
565
|
-
} from "./cli-
|
|
569
|
+
} from "./cli-3aqd4jaa.js";
|
|
566
570
|
import {
|
|
567
571
|
duplicateGuardedQueryKey,
|
|
568
572
|
parseQueryParams,
|
|
@@ -589,7 +593,7 @@ import {
|
|
|
589
593
|
isPublicRoute,
|
|
590
594
|
findRoute,
|
|
591
595
|
route
|
|
592
|
-
} from "./cli-
|
|
596
|
+
} from "./cli-art7c1zh.js";
|
|
593
597
|
import {
|
|
594
598
|
FilesError,
|
|
595
599
|
providerPath,
|
|
@@ -600,7 +604,7 @@ import {
|
|
|
600
604
|
import {
|
|
601
605
|
getRuntimePool2,
|
|
602
606
|
init_db
|
|
603
|
-
} from "./cli-
|
|
607
|
+
} from "./cli-gf95q3bm.js";
|
|
604
608
|
import {
|
|
605
609
|
getMemoryRaterNames,
|
|
606
610
|
REFERENCES_SOURCE_MAX_LENGTH,
|
|
@@ -611,7 +615,7 @@ import {
|
|
|
611
615
|
COMPOSIO_HTTP_METHODS,
|
|
612
616
|
executeComposioRequest,
|
|
613
617
|
composioArgsFromParts
|
|
614
|
-
} from "./cli-
|
|
618
|
+
} from "./cli-737pyqxr.js";
|
|
615
619
|
import {
|
|
616
620
|
require_fast_deep_equal
|
|
617
621
|
} from "./cli-bhp11egn.js";
|
|
@@ -625,7 +629,7 @@ import {
|
|
|
625
629
|
import {
|
|
626
630
|
canProvisionKind,
|
|
627
631
|
init_runtime_providers
|
|
628
|
-
} from "./cli-
|
|
632
|
+
} from "./cli-39aet655.js";
|
|
629
633
|
import {
|
|
630
634
|
findUserById,
|
|
631
635
|
findUserByExternalId,
|
|
@@ -640,7 +644,7 @@ import {
|
|
|
640
644
|
resolveSessionToken,
|
|
641
645
|
fingerprintApiKey,
|
|
642
646
|
init_users
|
|
643
|
-
} from "./cli-
|
|
647
|
+
} from "./cli-esakngh8.js";
|
|
644
648
|
import {
|
|
645
649
|
isRbacEnabled,
|
|
646
650
|
decideAdmission,
|
|
@@ -652,6 +656,7 @@ import {
|
|
|
652
656
|
} from "./cli-4rvr7zfx.js";
|
|
653
657
|
import {
|
|
654
658
|
normalizeAssetKey,
|
|
659
|
+
sessionGroupKey,
|
|
655
660
|
parseAssetKey,
|
|
656
661
|
canWriteAssetKey,
|
|
657
662
|
init_key,
|
|
@@ -709,7 +714,7 @@ import {
|
|
|
709
714
|
KvNamespaceSchema,
|
|
710
715
|
KvKeySchema,
|
|
711
716
|
init_types
|
|
712
|
-
} from "./cli-
|
|
717
|
+
} from "./cli-4rf0f5vg.js";
|
|
713
718
|
import {
|
|
714
719
|
generateDefaultClaudeMd2,
|
|
715
720
|
generateDefaultSoulMd2,
|
|
@@ -718,15 +723,19 @@ import {
|
|
|
718
723
|
taskAttachmentFetchCommand,
|
|
719
724
|
taskAttachmentDisplayUrl,
|
|
720
725
|
init_task_attachment_links
|
|
721
|
-
} from "./cli-
|
|
726
|
+
} from "./cli-hfeb68z4.js";
|
|
727
|
+
import {
|
|
728
|
+
isSteeringEnabled2,
|
|
729
|
+
init_steering_enabled
|
|
730
|
+
} from "./cli-4sydckyj.js";
|
|
722
731
|
import {
|
|
723
732
|
getSlackConfiguration,
|
|
724
733
|
init_config
|
|
725
734
|
} from "./cli-qeaq3j6t.js";
|
|
726
735
|
import {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
} from "./cli-
|
|
736
|
+
selectCredential,
|
|
737
|
+
init_credentials
|
|
738
|
+
} from "./cli-1tem6ns9.js";
|
|
730
739
|
import {
|
|
731
740
|
findInterpolationTokens,
|
|
732
741
|
interpolate,
|
|
@@ -778,7 +787,7 @@ import {
|
|
|
778
787
|
import {
|
|
779
788
|
init_package,
|
|
780
789
|
package_default
|
|
781
|
-
} from "./cli-
|
|
790
|
+
} from "./cli-nn6vx2mq.js";
|
|
782
791
|
import {
|
|
783
792
|
realtimeBus,
|
|
784
793
|
init_bus
|
|
@@ -812,7 +821,7 @@ import {
|
|
|
812
821
|
registerVolatileSecret,
|
|
813
822
|
registerSensitiveKeyName,
|
|
814
823
|
init_secret_scrubber
|
|
815
|
-
} from "./cli-
|
|
824
|
+
} from "./cli-708wdy32.js";
|
|
816
825
|
import {
|
|
817
826
|
isAlias,
|
|
818
827
|
parseAlias,
|
|
@@ -826,7 +835,7 @@ import {
|
|
|
826
835
|
openAICompatibleProviderIds,
|
|
827
836
|
claudeCatalogModelId,
|
|
828
837
|
init_src2
|
|
829
|
-
} from "./cli-
|
|
838
|
+
} from "./cli-gxee0bqa.js";
|
|
830
839
|
import {
|
|
831
840
|
__toESM,
|
|
832
841
|
__commonJS,
|
|
@@ -20528,7 +20537,7 @@ function startRetryPoller(registry, intervalMs = 5000) {
|
|
|
20528
20537
|
if (!waiting)
|
|
20529
20538
|
continue;
|
|
20530
20539
|
if (result.waitFor === "workflow.child.finished") {
|
|
20531
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
20540
|
+
const { resumeFromChildRun } = await import("./resume-8ayf37g5.js");
|
|
20532
20541
|
await resumeFromChildRun(step.id, registry);
|
|
20533
20542
|
}
|
|
20534
20543
|
} else {
|
|
@@ -21211,7 +21220,7 @@ class NotifyExecutor extends BaseExecutor {
|
|
|
21211
21220
|
}
|
|
21212
21221
|
}
|
|
21213
21222
|
case "slack": {
|
|
21214
|
-
const { getSlackApp } = await import("./app-
|
|
21223
|
+
const { getSlackApp } = await import("./app-k8a5cgpp.js");
|
|
21215
21224
|
const app = getSlackApp();
|
|
21216
21225
|
if (!app) {
|
|
21217
21226
|
return {
|
|
@@ -24595,7 +24604,7 @@ function setPreloadedTools(server, names) {
|
|
|
24595
24604
|
async function applyPreToolCall(name, args, requestInfo, inputSchema) {
|
|
24596
24605
|
if (requestInfo.callOrigin !== "mcp")
|
|
24597
24606
|
return { args };
|
|
24598
|
-
const dispatcher = await import("./dispatcher-
|
|
24607
|
+
const dispatcher = await import("./dispatcher-pv5h77vf.js");
|
|
24599
24608
|
const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
|
|
24600
24609
|
validateModify: async (data) => {
|
|
24601
24610
|
const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
|
|
@@ -25207,7 +25216,13 @@ function bridgeRequestFor(name, args) {
|
|
|
25207
25216
|
const id = typeof body.id === "string" ? body.id : undefined;
|
|
25208
25217
|
if (!id)
|
|
25209
25218
|
throw new Error("workflow_getRun requires string `id`");
|
|
25210
|
-
|
|
25219
|
+
if (body.fields !== undefined && body.fields !== "full" && body.fields !== "slim") {
|
|
25220
|
+
throw new Error('workflow_getRun `fields` must be "full" or "slim"');
|
|
25221
|
+
}
|
|
25222
|
+
return {
|
|
25223
|
+
method: "GET",
|
|
25224
|
+
path: appendQuery(`/api/workflow-runs/${encodeURIComponent(id)}`, { fields: body.fields })
|
|
25225
|
+
};
|
|
25211
25226
|
}
|
|
25212
25227
|
case "workflow_delete": {
|
|
25213
25228
|
const id = typeof body.id === "string" ? body.id : undefined;
|
|
@@ -26750,7 +26765,8 @@ async function applyPreTaskCreate(args) {
|
|
|
26750
26765
|
description: args.description,
|
|
26751
26766
|
options: args.options,
|
|
26752
26767
|
origin,
|
|
26753
|
-
requestInfo: args.requestInfo
|
|
26768
|
+
requestInfo: args.requestInfo,
|
|
26769
|
+
...args.slack ? { slack: args.slack } : {}
|
|
26754
26770
|
}, {
|
|
26755
26771
|
skipExtensionId: creatingExtensionId,
|
|
26756
26772
|
transformModify: ({ data, currentPayload, extension }) => {
|
|
@@ -26956,7 +26972,8 @@ async function prepareTaskWithSiblingAwareness(description, options, args = {})
|
|
|
26956
26972
|
description,
|
|
26957
26973
|
options,
|
|
26958
26974
|
origin: args.origin ?? "rest",
|
|
26959
|
-
allowCustomModel: args.allowCustomModel
|
|
26975
|
+
allowCustomModel: args.allowCustomModel,
|
|
26976
|
+
slack: args.slack
|
|
26960
26977
|
});
|
|
26961
26978
|
if (preCreate.kind === "blocked") {
|
|
26962
26979
|
throw new TaskCreationBlockedError(preCreate.reason, preCreate.extension);
|
|
@@ -32322,8 +32339,31 @@ function resetDiscordGatewayHealth() {
|
|
|
32322
32339
|
|
|
32323
32340
|
// src/integrations/chat-sdk/inbound.ts
|
|
32324
32341
|
init_zod();
|
|
32342
|
+
init_key();
|
|
32343
|
+
init_source_key();
|
|
32325
32344
|
init_db3();
|
|
32326
32345
|
|
|
32346
|
+
// src/be/db/session-labels.ts
|
|
32347
|
+
init_db3();
|
|
32348
|
+
var NAMESPACE = "session-labels";
|
|
32349
|
+
async function getSessionLabels(keys) {
|
|
32350
|
+
if (keys.length === 0)
|
|
32351
|
+
return {};
|
|
32352
|
+
const rows = await getDbClient2().query(`SELECT key, value FROM kv_entries
|
|
32353
|
+
WHERE namespace = ? AND key IN (${keys.map(() => "?").join(", ")})
|
|
32354
|
+
AND (expires_at IS NULL OR expires_at > ?)`, [NAMESPACE, ...keys, Date.now()]);
|
|
32355
|
+
return Object.fromEntries(rows.map((row) => [row.key, row.value]));
|
|
32356
|
+
}
|
|
32357
|
+
async function rememberSessionLabel(key, label, ttlMs) {
|
|
32358
|
+
await upsertKv2({
|
|
32359
|
+
namespace: NAMESPACE,
|
|
32360
|
+
key,
|
|
32361
|
+
value: label,
|
|
32362
|
+
valueType: "string",
|
|
32363
|
+
expiresAt: ttlMs === undefined ? null : Date.now() + ttlMs
|
|
32364
|
+
});
|
|
32365
|
+
}
|
|
32366
|
+
|
|
32327
32367
|
// src/be/unmapped-identities.ts
|
|
32328
32368
|
init_db3();
|
|
32329
32369
|
var TTL_MS = 30 * 24 * 60 * 60 * 1000;
|
|
@@ -32427,6 +32467,7 @@ function backingProviderId(attachment) {
|
|
|
32427
32467
|
}
|
|
32428
32468
|
|
|
32429
32469
|
// src/utils/transcription.ts
|
|
32470
|
+
init_credentials();
|
|
32430
32471
|
init_secret_scrubber();
|
|
32431
32472
|
var TRANSCRIPTION_TIMEOUT_MS = 60000;
|
|
32432
32473
|
var TRANSCRIPTION_API_KEY_ENV = "TRANSCRIPTION_API_KEY";
|
|
@@ -32489,7 +32530,8 @@ function resolveTranscriptionConfig() {
|
|
|
32489
32530
|
const candidates = pinned ? AUTO_DETECT_ORDER.filter((name) => name === pinned) : AUTO_DETECT_ORDER;
|
|
32490
32531
|
for (const name of candidates) {
|
|
32491
32532
|
const { keyEnv } = PROVIDERS[name];
|
|
32492
|
-
const
|
|
32533
|
+
const value = envValue(keyEnv);
|
|
32534
|
+
const apiKey = value ? selectCredential(value, undefined, keyEnv).selected : undefined;
|
|
32493
32535
|
if (apiKey)
|
|
32494
32536
|
return { provider: name, apiKey, keyEnv, source: "auto" };
|
|
32495
32537
|
}
|
|
@@ -33571,6 +33613,16 @@ async function targetFromExtension(target) {
|
|
|
33571
33613
|
}
|
|
33572
33614
|
}
|
|
33573
33615
|
}
|
|
33616
|
+
function chatSourceLabel(adapter, item) {
|
|
33617
|
+
if (adapter !== "telegram" && adapter !== "discord")
|
|
33618
|
+
return;
|
|
33619
|
+
const { facts } = item;
|
|
33620
|
+
if (facts.chatType === "dm" || item.isDirectMessage)
|
|
33621
|
+
return facts.from ? `DM · ${facts.from}` : undefined;
|
|
33622
|
+
if (adapter === "telegram" && (facts.chatType === "group" || facts.chatType === "supergroup"))
|
|
33623
|
+
return facts.title || undefined;
|
|
33624
|
+
return;
|
|
33625
|
+
}
|
|
33574
33626
|
async function flushChatThread(threadId, items, immediate) {
|
|
33575
33627
|
let __stack = [];
|
|
33576
33628
|
try {
|
|
@@ -33688,6 +33740,7 @@ ${combined}` : combined;
|
|
|
33688
33740
|
const latestActive = await getLatestActiveTaskByContextKey2(contextKey, "chat");
|
|
33689
33741
|
const dependsOn = !immediate && latestActive ? [latestActive.id] : undefined;
|
|
33690
33742
|
let created = 0;
|
|
33743
|
+
let sourceKey = null;
|
|
33691
33744
|
for (const match of target.matches) {
|
|
33692
33745
|
const options = {
|
|
33693
33746
|
agentId: match.agent?.id ?? null,
|
|
@@ -33708,6 +33761,7 @@ ${combined}` : combined;
|
|
|
33708
33761
|
};
|
|
33709
33762
|
try {
|
|
33710
33763
|
const { task, unattached } = await createChatTaskWithFiles(description, options, inbound);
|
|
33764
|
+
sourceKey ??= sessionSourceKey(task);
|
|
33711
33765
|
created++;
|
|
33712
33766
|
console.log(`[chat-sdk] ${threadId}: task ${task.id} for ${match.agent ? `agent ${match.agent.id}` : "no agent (queued)"} (${match.matchedText}, dependsOn: ${dependsOn?.join(", ") ?? "none"}${unattached.length ? `, ${unattached.length} file(s) not attached` : ""})`);
|
|
33713
33767
|
} catch (error) {
|
|
@@ -33718,6 +33772,12 @@ ${combined}` : combined;
|
|
|
33718
33772
|
}
|
|
33719
33773
|
}
|
|
33720
33774
|
}
|
|
33775
|
+
const label = chatSourceLabel(adapter, requester);
|
|
33776
|
+
if (sourceKey && label) {
|
|
33777
|
+
await rememberSessionLabel(sessionGroupKey(sourceKey), label).catch(() => {
|
|
33778
|
+
console.warn("[chat-sdk] Could not save a session source label");
|
|
33779
|
+
});
|
|
33780
|
+
}
|
|
33721
33781
|
if (created > 0) {
|
|
33722
33782
|
await rememberChatThreadRequester(threadId, requester.userId);
|
|
33723
33783
|
await subscribe(thread);
|
|
@@ -35026,7 +35086,7 @@ async function notifySlack(text) {
|
|
|
35026
35086
|
return;
|
|
35027
35087
|
}
|
|
35028
35088
|
try {
|
|
35029
|
-
const { getSlackApp } = await import("./app-
|
|
35089
|
+
const { getSlackApp } = await import("./app-k8a5cgpp.js");
|
|
35030
35090
|
const app = getSlackApp();
|
|
35031
35091
|
if (!app) {
|
|
35032
35092
|
console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
|
|
@@ -35097,7 +35157,7 @@ async function deleteJiraWebhook(webhookId) {
|
|
|
35097
35157
|
console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
|
|
35098
35158
|
}
|
|
35099
35159
|
async function overwriteWebhookIds(next) {
|
|
35100
|
-
const { getDbClient } = await import("./db-
|
|
35160
|
+
const { getDbClient } = await import("./db-w36wwb5g.js");
|
|
35101
35161
|
await getDbClient().transaction(async (tx) => {
|
|
35102
35162
|
const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
|
|
35103
35163
|
if (!row) {
|
|
@@ -108450,6 +108510,10 @@ var SCALAR_HTML = `<!DOCTYPE html>
|
|
|
108450
108510
|
|
|
108451
108511
|
// src/http/core.ts
|
|
108452
108512
|
var injectedEnvOriginals = new Map;
|
|
108513
|
+
function getDeploymentEnvValue(key) {
|
|
108514
|
+
const tracked = injectedEnvOriginals.get(key);
|
|
108515
|
+
return tracked && process.env[key] === tracked.injected ? tracked.original : process.env[key];
|
|
108516
|
+
}
|
|
108453
108517
|
async function loadGlobalConfigsIntoEnv(override = false) {
|
|
108454
108518
|
const globalConfigs = await getInjectableGlobalConfigs2();
|
|
108455
108519
|
const updated = [];
|
|
@@ -108492,7 +108556,7 @@ async function reloadGlobalConfigsAndIntegrations() {
|
|
|
108492
108556
|
return runWithoutRequestAuth(() => reloadGlobalConfigsAndIntegrationsInner());
|
|
108493
108557
|
}
|
|
108494
108558
|
async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
108495
|
-
const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-
|
|
108559
|
+
const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-g6k9tctj.js");
|
|
108496
108560
|
const wasEmbeddingsConfigured = getEmbeddingProvider().isConfigured();
|
|
108497
108561
|
const updated = await loadGlobalConfigsIntoEnv(true);
|
|
108498
108562
|
await syncTelemetryEnabled("settings").catch((err) => {
|
|
@@ -108508,10 +108572,10 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
|
108508
108572
|
integrations.push("embeddings");
|
|
108509
108573
|
}
|
|
108510
108574
|
if (!wasEmbeddingsConfigured && isEmbeddingsConfigured) {
|
|
108511
|
-
import("./boot-reembed-
|
|
108575
|
+
import("./boot-reembed-f4nn561n.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
108512
108576
|
console.error("[config-reload] memory backfill failed (non-fatal):", err);
|
|
108513
108577
|
});
|
|
108514
|
-
import("./boot-reembed-
|
|
108578
|
+
import("./boot-reembed-6c1sjfnr.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
108515
108579
|
console.error("[config-reload] script backfill failed (non-fatal):", err);
|
|
108516
108580
|
});
|
|
108517
108581
|
}
|
|
@@ -118184,6 +118248,7 @@ var getTasksInputSchema = object2({
|
|
|
118184
118248
|
tags: array2(string2()).optional().describe("Filter by any matching tag."),
|
|
118185
118249
|
search: string2().optional().describe("Search in task description."),
|
|
118186
118250
|
scheduleId: string2().uuid().optional().describe("Filter by schedule ID to find tasks created by a specific schedule."),
|
|
118251
|
+
workflowRunId: string2().uuid().optional().describe("Filter by workflow run ID to find the tasks of a single run."),
|
|
118187
118252
|
key: AssetKeySchema.optional().describe("Filter by exact logical namespace."),
|
|
118188
118253
|
keyPrefix: AssetKeySchema.optional().describe("Filter by namespace subtree."),
|
|
118189
118254
|
includeHeartbeat: boolean().optional().describe("Include heartbeat/system tasks in results (excluded by default)."),
|
|
@@ -118228,6 +118293,7 @@ async function getTasksHandler(ctx, {
|
|
|
118228
118293
|
tags,
|
|
118229
118294
|
search,
|
|
118230
118295
|
scheduleId,
|
|
118296
|
+
workflowRunId,
|
|
118231
118297
|
key,
|
|
118232
118298
|
keyPrefix,
|
|
118233
118299
|
includeHeartbeat,
|
|
@@ -118245,6 +118311,7 @@ async function getTasksHandler(ctx, {
|
|
|
118245
118311
|
tags,
|
|
118246
118312
|
search,
|
|
118247
118313
|
scheduleId,
|
|
118314
|
+
workflowRunId,
|
|
118248
118315
|
key,
|
|
118249
118316
|
keyPrefix,
|
|
118250
118317
|
includeHeartbeat,
|
|
@@ -118287,6 +118354,8 @@ async function getTasksHandler(ctx, {
|
|
|
118287
118354
|
filters.push(`search='${search}'`);
|
|
118288
118355
|
if (scheduleId)
|
|
118289
118356
|
filters.push(`scheduleId='${scheduleId}'`);
|
|
118357
|
+
if (workflowRunId)
|
|
118358
|
+
filters.push(`workflowRunId='${workflowRunId}'`);
|
|
118290
118359
|
if (key)
|
|
118291
118360
|
filters.push(`key='${key}'`);
|
|
118292
118361
|
if (keyPrefix)
|
|
@@ -118503,11 +118572,19 @@ var RESERVED_FAMILIES = new Map([
|
|
|
118503
118572
|
["comb", "namespace is reserved for Comb; use POST /api/comb/review-batches"],
|
|
118504
118573
|
["heartbeat-checklist", "namespace is reserved for heartbeat checklist receipts"],
|
|
118505
118574
|
["worker", "namespace is reserved for worker nudges"],
|
|
118506
|
-
["slack-external-alert", "namespace is reserved for Slack external channel alerts"]
|
|
118575
|
+
["slack-external-alert", "namespace is reserved for Slack external channel alerts"],
|
|
118576
|
+
[
|
|
118577
|
+
"session-labels",
|
|
118578
|
+
"namespace is reserved for session source labels; GET /api/session-tree returns them"
|
|
118579
|
+
]
|
|
118507
118580
|
]);
|
|
118581
|
+
var PRIVATE_FAMILIES = new Set(["session-labels"]);
|
|
118508
118582
|
function reservedNamespaceError(namespace) {
|
|
118509
118583
|
return RESERVED_FAMILIES.get(namespace.split(":", 1)[0] ?? "") ?? null;
|
|
118510
118584
|
}
|
|
118585
|
+
function privateNamespaceError(namespace) {
|
|
118586
|
+
return PRIVATE_FAMILIES.has(namespace.split(":", 1)[0] ?? "") ? reservedNamespaceError(namespace) : null;
|
|
118587
|
+
}
|
|
118511
118588
|
function reservedRoomKeyError(key) {
|
|
118512
118589
|
return key.startsWith("_room/") ? "room snapshot keys are reserved; use the room endpoints" : null;
|
|
118513
118590
|
}
|
|
@@ -118612,7 +118689,7 @@ init_types();
|
|
|
118612
118689
|
|
|
118613
118690
|
// src/tools/kv/kv-read-auth.ts
|
|
118614
118691
|
function kvReadAuthError(namespace, info) {
|
|
118615
|
-
return mcpOverflowAuthError(namespace, info.agentId);
|
|
118692
|
+
return privateNamespaceError(namespace) ?? mcpOverflowAuthError(namespace, info.agentId);
|
|
118616
118693
|
}
|
|
118617
118694
|
|
|
118618
118695
|
// src/tools/kv/kv-get.ts
|
|
@@ -133149,13 +133226,14 @@ async function downloadSlackFile(file, token, path) {
|
|
|
133149
133226
|
return `download failed (${errorText2(error)})`;
|
|
133150
133227
|
}
|
|
133151
133228
|
}
|
|
133152
|
-
async function createSlackTaskWithFiles(description, options, inbound) {
|
|
133229
|
+
async function createSlackTaskWithFiles(description, options, inbound, slack) {
|
|
133153
133230
|
noteSlackInboundSideEffect("task_created");
|
|
133231
|
+
const context = { origin: "slack", slack };
|
|
133154
133232
|
if (inbound.fetched.length === 0) {
|
|
133155
|
-
const task = await createTaskWithSiblingAwareness(description, options,
|
|
133233
|
+
const task = await createTaskWithSiblingAwareness(description, options, context);
|
|
133156
133234
|
return { task, unattached: inbound.failed };
|
|
133157
133235
|
}
|
|
133158
|
-
const task = await createTaskWithSiblingAwareness(description, { ...options, status: "draft" },
|
|
133236
|
+
const task = await createTaskWithSiblingAwareness(description, { ...options, status: "draft" }, context);
|
|
133159
133237
|
const unattached = [...inbound.failed];
|
|
133160
133238
|
const lease = setInterval(() => {
|
|
133161
133239
|
refreshDraftTaskLease2(task.id).catch((error) => console.warn(`[Slack] could not renew the draft lease of task ${task.id}: ${errorText2(error)}`));
|
|
@@ -135447,7 +135525,7 @@ async function emitBudgetRefusalSideEffects(ctx, inserted) {
|
|
|
135447
135525
|
console.warn(`[budget-refusal-notify] Failed to create follow-up task for budget refusal (task=${ctx.task.id.slice(0, 8)}): ${err}`);
|
|
135448
135526
|
}
|
|
135449
135527
|
}
|
|
135450
|
-
import("./event-bus-
|
|
135528
|
+
import("./event-bus-pghg8hqy.js").then(({ workflowEventBus }) => {
|
|
135451
135529
|
workflowEventBus.emit("task.budget_refused", {
|
|
135452
135530
|
taskId: ctx.task.id,
|
|
135453
135531
|
agentId: ctx.agentId,
|
|
@@ -135479,7 +135557,7 @@ var TaskActionSchema = _enum2([
|
|
|
135479
135557
|
var taskActionInputSchema = object2({
|
|
135480
135558
|
action: TaskActionSchema.describe("The action to perform: 'create' creates an unassigned task, 'claim' takes a task from pool, 'release' returns task to pool, 'accept' accepts offered task, 'reject' declines offered task, 'to_backlog' moves task to backlog, 'from_backlog' moves task from backlog to pool."),
|
|
135481
135559
|
task: string2().min(1).optional().describe("Task description (required for 'create')."),
|
|
135482
|
-
key: AssetKeySchema.optional().describe("Logical namespace for a created task.
|
|
135560
|
+
key: AssetKeySchema.optional().describe("Logical namespace for a created task. Default: the Slack or chat source key of the task (for example shared/slack/<channel>/thread:<ts>/), else shared/task:<id>/."),
|
|
135483
135561
|
taskType: string2().max(50).optional().describe("Task type (e.g., 'bug', 'feature')."),
|
|
135484
135562
|
tags: array2(string2()).optional().describe("Tags for filtering (e.g., ['urgent', 'frontend'])."),
|
|
135485
135563
|
priority: number2().int().min(0).max(100).optional().describe("Priority 0-100, default 50."),
|
|
@@ -136633,6 +136711,7 @@ var registerGetWorkflowTool = (server) => {
|
|
|
136633
136711
|
// src/tools/workflows/get-workflow-run.ts
|
|
136634
136712
|
init_zod();
|
|
136635
136713
|
init_db3();
|
|
136714
|
+
init_workflow_runs();
|
|
136636
136715
|
var STEP_VALUE_CAP = 400;
|
|
136637
136716
|
function stepValuePreview(value) {
|
|
136638
136717
|
if (value === undefined || value === null)
|
|
@@ -136664,19 +136743,21 @@ var registerGetWorkflowRunTool = (server) => {
|
|
|
136664
136743
|
annotations: { destructiveHint: false },
|
|
136665
136744
|
description: "Get details of a workflow run by ID, including all steps and their statuses.",
|
|
136666
136745
|
inputSchema: object2({
|
|
136667
|
-
id: string2().uuid().describe("Workflow run ID")
|
|
136746
|
+
id: string2().uuid().describe("Workflow run ID"),
|
|
136747
|
+
fields: _enum2(["full", "slim"]).optional().describe("`slim` omits run.context and each step's input (a context snapshot per step, large in runs with loops). Outputs, errors and retry fields stay. Default: full.")
|
|
136668
136748
|
}),
|
|
136669
136749
|
outputSchema: swarmToolOutputSchema({
|
|
136670
136750
|
run: unknown().optional(),
|
|
136671
136751
|
steps: array2(unknown()).optional()
|
|
136672
136752
|
})
|
|
136673
|
-
}, async ({ id }) => {
|
|
136753
|
+
}, async ({ id, fields }) => {
|
|
136674
136754
|
try {
|
|
136675
|
-
const
|
|
136755
|
+
const slim = fields === "slim";
|
|
136756
|
+
const run = slim ? await getWorkflowRunSummary(id) : await getWorkflowRun2(id, "display");
|
|
136676
136757
|
if (!run) {
|
|
136677
136758
|
return toolErr(`Workflow run not found: ${id}`, { data: { steps: [] } });
|
|
136678
136759
|
}
|
|
136679
|
-
const steps = await getWorkflowRunStepsByRunId2(id, "display");
|
|
136760
|
+
const steps = slim ? await getWorkflowRunStepsSlimByRunId(id) : await getWorkflowRunStepsByRunId2(id, "display");
|
|
136680
136761
|
return toolOk(`Run ${id} status: ${run.status}.`, {
|
|
136681
136762
|
details: renderSteps(steps),
|
|
136682
136763
|
data: { run, steps }
|
|
@@ -137545,4 +137626,4 @@ async function createServer(opts = {}) {
|
|
|
137545
137626
|
return server;
|
|
137546
137627
|
}
|
|
137547
137628
|
|
|
137548
|
-
export { DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCErrorResponse, JSONRPCMessageSchema, isInitializeRequest, McpServer, isGitHubEnabled, initGitHub, verifyWebhookSignature, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, resolveIdentity, renderIdentity, createAdditiveBuffer, taskModelPin, resumedTaskModelSelection, listHarnessModelSupport, recordHarnessModelSupport, agentRanModel, getAgentHarnessCliVersion, setAgentHarnessCliVersion, sanitizeModelTierOverrides, parseModelTierOverridesHeader, setAgentModelTierOverrides, previewModelTiers, recordClaimModelResolution, harnessModelErrorFor, poolTaskRunsOnHarness, explicitModelError, explicitModelErrorForAgent, referencedBundlePaths, skillDirs, TaskCreationBlockedError, recordUnmappedIdentity, MAX_TASK_ATTACHMENT_BYTES, recordTaskAttachmentUpload, scopeFromAttachment, backingProviderId, transcribeAudioNotes, buildEffectiveText, bufferedFileFailures, fetchSlackFiles, createSlackTaskWithFiles, notifySlackFileFailures, isRuntimePoolWakeable, isAgentReachable, hasOtherUserMention, broadcastMatches, routeMessage, extractTaskFromMessage, extractSlackMessageText, recoverIncompleteRuns, handleWebhookTrigger, verifyHmacSignature, WebhookError, snapshotAndUpdateWorkflow, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, getExecutorRegistry2, initWorkflows2, dispatchScheduleTarget, calculateNextRun2, startScheduler2, stopScheduler2, runScheduleNow2, ExtensionAssetConflictError, ExtensionOwnershipError, getExtensionFiles, getExtensionById, getExtensionByName, listExtensions, listExtensionVersions, updateExtensionMeta, listExtensionRuns, SDK_ALLOWLIST, mcpToolNameForSdkMethod, mcpOverflowAuthError, hasKvViewArgs, resolveKvView, toolErr, createToolRegistrar, handleMcpBridge, Redacted, SCRIPT_SDK_RESPONSE_LIMIT_BYTES, readScriptSdkJsonResponse, ExtensionConfigError, ExtensionLifecycleError, setExtensionLoopbackBaseUrl, enableExtension, disableExtension, activateVersion, ExtensionAssetsInvalidError, installExtensionWithAssets, uninstallExtension, reloadExtension, loadEnabledExtensions, stopExtensionRuntime, ExtensionAbortedError2, isRegistered2, isExtensionAgentId2, getExtensionBridgeToken2, resolveBridgeCallOrigin2, extensionIdForAgent2, runContext2, registerLoaded2, unregister2, listRegistered2, dispatchPre2, dispatchPost2, stripSiblingBlock, createTaskWithSiblingAwareness, isInboxAllowed, isSenderAllowed, handleMessageReceived, isAzureDevOpsEnabled, initAzureDevOps, verifyAzureDevOpsWebhook, repointTrackerSyncBySwarmId, isAzureDevOpsUrl, canonicalAzureDevOpsRepoUrl, parseAzureDevOpsRepoUrl, createdPullRequestOf, commentedPayloadOf, handlePullRequestCreated, handlePullRequestCommented, handleWorkItemCreated, handleWorkItemUpdated, handleWorkItemCommented, handleWorkItemDeleted, handleWorkItemRestored, initAzureDevOpsOutbound, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, getTelemetryIngestAnchor, initApiTelemetry, syncTelemetryEnabled, isBitbucketEnabled, initBitbucket, verifyBitbucketWebhook, isDuplicateDelivery, markDeliveryProcessed, pullRequestEventOf, pullRequestCommentEventOf, handlePullRequestCreated2, handlePullRequestCommentCreated, handlePullRequestClosed, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2, handleNote, handlePipeline, isChatSdkEnabled, getChatSdkConfig, errorMessage, resolveAdapterApiUrl, trackBackground, TelegramBotApiError, callTelegramBotApi, isTrustedTeamsServiceUrl, isChatSdkStopping, startChatSdk, getChatInstance, isChatAdapterConfigured, getChatSdkHealth, stopChatSdk, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, registerJiraWebhook, deleteJiraWebhook, isJiraEnabled, initJira, handleJiraWebhook, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, isLinearEnabled, initLinear, isCookieSafePageId, extractPageSession, extractLegacyPageSession, extractAndVerifyCookie, pageSessionSetCookies, resolveHttpRequestAuth, loadGlobalConfigsIntoEnv, reloadGlobalConfigsAndIntegrations, scheduleIntegrationsReload, handleCore, MCP_MAX_TOOL_INPUT_ELEMENTS, MCP_MAX_REQUEST_BODY_BYTES, userCtx, requestPrincipal, agentFirstPrincipal, rejectGuest, handleApps, cancelApprovalRequest, cancelApprovalRequestAndRun, getUserCommsPrefs, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, executeReadOnlyQuery, assertSelectOnlyQuery, handleDbQuery, snapshotMetric, AssetKeyAuthorizationError, authorizeAssetKeyWrite, getPageEditCounter, snapshotPage, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, scopedResourceScopeIdSchema, resolveScopedResourceId, MemoryKeyError, refreshLinks, indexMemoryContent, dedupeMemoryDocumentIds, recordMemoryAccesses, recordRetrievals, ExplicitSelfDuplicateError, applyRating, shouldPersistAutomaticTaskMemory, REBOOT_RETRY_PIN_TAG, getPinCandidateAgent, resolveLeadOnlyRecoveryAssignment, getResumeGeneration, getNextResumeGeneration, inheritedModelSelection, createWorkerTaskFollowUp, createResumeFollowUp, createRerouteDecisionTask, createPoolStarvationDecisionTask, guardTerminalTaskResultWrite, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, reservedNamespaceError, reservedRoomKeyError, updateMcpServerChecked, updateTouchesStdioExecution, canReadMemory, getLinksForMemory, expandCandidatesWithGraph, isApiDraining, drainApi, markKapsoMessageRead, sendKapsoReaction, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, changesAllowMerge, updateSwarmRepoChecked, getCombConfig, resolveRoomNamespace, roomRequestInfo, authorizeRoomNamespace, sessionAccessTopic, sessionPresenceRoot, RoomOperationSchema, removeAwarenessStates, roomTopic, decodeRoomSnapshot, roomView, getRoom, changeRoom, applyRoomUpdate, resetRoom, sweepRooms, closeRooms, removeNamespaceRooms, MEMORY_KEYS_DEFAULT_PREFIX, MEMORY_KEYS_MAX_LIMIT, estimateTokens, posteriorMean, listMemoryKeys, checkChunkIntegrity, getMemoryChunks, getPosteriorsByIds, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, mergeScheduleTiming, validateRecurringTiming, checkOutputSchemaShape, sendTaskOutputSchema, sendTaskHandler, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, canClaim, emitBudgetRefusalSideEffects, workflowModelErrors, patchWorkflowDefinition, resolveScriptsOnlyMode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer };
|
|
137629
|
+
export { DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCErrorResponse, JSONRPCMessageSchema, isInitializeRequest, McpServer, isGitHubEnabled, initGitHub, verifyWebhookSignature, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, resolveIdentity, renderIdentity, createAdditiveBuffer, taskModelPin, resumedTaskModelSelection, listHarnessModelSupport, recordHarnessModelSupport, agentRanModel, getAgentHarnessCliVersion, setAgentHarnessCliVersion, sanitizeModelTierOverrides, parseModelTierOverridesHeader, setAgentModelTierOverrides, previewModelTiers, recordClaimModelResolution, harnessModelErrorFor, poolTaskRunsOnHarness, explicitModelError, explicitModelErrorForAgent, referencedBundlePaths, skillDirs, TaskCreationBlockedError, recordUnmappedIdentity, MAX_TASK_ATTACHMENT_BYTES, recordTaskAttachmentUpload, scopeFromAttachment, backingProviderId, transcribeAudioNotes, buildEffectiveText, bufferedFileFailures, fetchSlackFiles, createSlackTaskWithFiles, notifySlackFileFailures, isRuntimePoolWakeable, isAgentReachable, hasOtherUserMention, broadcastMatches, routeMessage, extractTaskFromMessage, extractSlackMessageText, recoverIncompleteRuns, handleWebhookTrigger, verifyHmacSignature, WebhookError, snapshotAndUpdateWorkflow, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, getExecutorRegistry2, initWorkflows2, dispatchScheduleTarget, calculateNextRun2, startScheduler2, stopScheduler2, runScheduleNow2, ExtensionAssetConflictError, ExtensionOwnershipError, getExtensionFiles, getExtensionById, getExtensionByName, listExtensions, listExtensionVersions, updateExtensionMeta, listExtensionRuns, SDK_ALLOWLIST, mcpToolNameForSdkMethod, mcpOverflowAuthError, hasKvViewArgs, resolveKvView, toolErr, createToolRegistrar, handleMcpBridge, Redacted, SCRIPT_SDK_RESPONSE_LIMIT_BYTES, readScriptSdkJsonResponse, ExtensionConfigError, ExtensionLifecycleError, setExtensionLoopbackBaseUrl, enableExtension, disableExtension, activateVersion, ExtensionAssetsInvalidError, installExtensionWithAssets, uninstallExtension, reloadExtension, loadEnabledExtensions, stopExtensionRuntime, ExtensionAbortedError2, isRegistered2, isExtensionAgentId2, getExtensionBridgeToken2, resolveBridgeCallOrigin2, extensionIdForAgent2, runContext2, registerLoaded2, unregister2, listRegistered2, dispatchPre2, dispatchPost2, stripSiblingBlock, createTaskWithSiblingAwareness, isInboxAllowed, isSenderAllowed, handleMessageReceived, isAzureDevOpsEnabled, initAzureDevOps, verifyAzureDevOpsWebhook, repointTrackerSyncBySwarmId, isAzureDevOpsUrl, canonicalAzureDevOpsRepoUrl, parseAzureDevOpsRepoUrl, createdPullRequestOf, commentedPayloadOf, handlePullRequestCreated, handlePullRequestCommented, handleWorkItemCreated, handleWorkItemUpdated, handleWorkItemCommented, handleWorkItemDeleted, handleWorkItemRestored, initAzureDevOpsOutbound, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, getTelemetryIngestAnchor, initApiTelemetry, syncTelemetryEnabled, isBitbucketEnabled, initBitbucket, verifyBitbucketWebhook, isDuplicateDelivery, markDeliveryProcessed, pullRequestEventOf, pullRequestCommentEventOf, handlePullRequestCreated2, handlePullRequestCommentCreated, handlePullRequestClosed, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2, handleNote, handlePipeline, isChatSdkEnabled, getChatSdkConfig, errorMessage, resolveAdapterApiUrl, trackBackground, TelegramBotApiError, callTelegramBotApi, isTrustedTeamsServiceUrl, getSessionLabels, rememberSessionLabel, isChatSdkStopping, startChatSdk, getChatInstance, isChatAdapterConfigured, getChatSdkHealth, stopChatSdk, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, registerJiraWebhook, deleteJiraWebhook, isJiraEnabled, initJira, handleJiraWebhook, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, isLinearEnabled, initLinear, isCookieSafePageId, extractPageSession, extractLegacyPageSession, extractAndVerifyCookie, pageSessionSetCookies, resolveHttpRequestAuth, getDeploymentEnvValue, loadGlobalConfigsIntoEnv, reloadGlobalConfigsAndIntegrations, scheduleIntegrationsReload, handleCore, MCP_MAX_TOOL_INPUT_ELEMENTS, MCP_MAX_REQUEST_BODY_BYTES, userCtx, requestPrincipal, agentFirstPrincipal, rejectGuest, handleApps, cancelApprovalRequest, cancelApprovalRequestAndRun, getUserCommsPrefs, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, executeReadOnlyQuery, assertSelectOnlyQuery, handleDbQuery, snapshotMetric, AssetKeyAuthorizationError, authorizeAssetKeyWrite, getPageEditCounter, snapshotPage, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, scopedResourceScopeIdSchema, resolveScopedResourceId, MemoryKeyError, refreshLinks, indexMemoryContent, dedupeMemoryDocumentIds, recordMemoryAccesses, recordRetrievals, ExplicitSelfDuplicateError, applyRating, shouldPersistAutomaticTaskMemory, REBOOT_RETRY_PIN_TAG, getPinCandidateAgent, resolveLeadOnlyRecoveryAssignment, getResumeGeneration, getNextResumeGeneration, inheritedModelSelection, createWorkerTaskFollowUp, createResumeFollowUp, createRerouteDecisionTask, createPoolStarvationDecisionTask, guardTerminalTaskResultWrite, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, reservedNamespaceError, privateNamespaceError, reservedRoomKeyError, updateMcpServerChecked, updateTouchesStdioExecution, canReadMemory, getLinksForMemory, expandCandidatesWithGraph, isApiDraining, drainApi, markKapsoMessageRead, sendKapsoReaction, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, changesAllowMerge, updateSwarmRepoChecked, getCombConfig, resolveRoomNamespace, roomRequestInfo, authorizeRoomNamespace, sessionAccessTopic, sessionPresenceRoot, RoomOperationSchema, removeAwarenessStates, roomTopic, decodeRoomSnapshot, roomView, getRoom, changeRoom, applyRoomUpdate, resetRoom, sweepRooms, closeRooms, removeNamespaceRooms, MEMORY_KEYS_DEFAULT_PREFIX, MEMORY_KEYS_MAX_LIMIT, estimateTokens, posteriorMean, listMemoryKeys, checkChunkIntegrity, getMemoryChunks, getPosteriorsByIds, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, mergeScheduleTiming, validateRecurringTiming, checkOutputSchemaShape, sendTaskOutputSchema, sendTaskHandler, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, canClaim, emitBudgetRefusalSideEffects, workflowModelErrors, patchWorkflowDefinition, resolveScriptsOnlyMode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer };
|
|
@@ -1650,7 +1650,7 @@ function checkExtensionInstallSource(body, ctx) {
|
|
|
1650
1650
|
ctx.addIssue({ code: "custom", path: ["files"], message: "files is required with manifest" });
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
|
-
var AssetKeySchema, AssetEntityTypeSchema, AssetProviderRefSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, LEGACY_MODEL_TO_TIER, DEFAULT_MODEL_TIER_MAP, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, InboxMessageStatusSchema, InboxMessageSchema, AgentTaskSourceSchema, RoutingReasonSchema, RoutingSourceSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileSchema, SessionShareAccessSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringStatusSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, AgentTaskSchema, CreateTaskOptionsSchema, TaskAttachmentKindSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY = "_agentSwarmGeneratedBy", attachmentCapabilitiesSchema, attachmentCommonFields, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, IdentityEventTypeSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, AgentAvatarSchema, AgentSchema, AgentCredStatusLiveTestSchema, AgentLatestModelSchema, AgentBedrockStatusSchema, AgentOpencodeGoStatusSchema, AcpSessionConfigSelectValueSchema, AcpSessionConfigSelectGroupSchema, AcpSessionConfigOptionSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, ChangeSourceSchema, VersionableFieldSchema, ContextVersionSchema, ChannelTypeSchema, ChannelSchema, ChannelMessageSchema, ServiceStatusSchema, ServiceSchema, AgentLogEventTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostSourceSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, RepoGuidelinesSchema, REPO_GUIDELINES_MAX_ENTRIES = 50, RepoGuidelinesInputSchema, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeInstanceStatusSchema, RuntimeProviderKindSchema, DeliveryModeSchema, PoolLifecycleSchema, RuntimeResourcesSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON = "superseded_workflow_task", ExecutorMetaSchema, ValidationResultSchema, StepValidationConfigSchema, SwarmScriptNodeConfigSchema, WorkflowNodeSchema, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, WebhookVerificationSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowTemplateSchema, WorkflowSnapshotSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageSnapshotSchema, PageSchema, PageVersionSchema, MetricParamSchema, MetricVariableTypeSchema, MetricFormatSchema, MetricVisualizationSchema, MetricQuerySchema, MetricVariableSchema, MetricVizConfigSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSnapshotSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunKindSchema, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepStatusSchema, WorkflowRunStepSchema, WaitModeSchema, WaitStateStatusSchema, WaitStateRowSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionNameSchema, SemverSchema, ExtensionBundlePathSchema, ExtensionAssetNameSchema, ExtensionScriptAssetSchema, ExtensionScheduleAssetSchema, ExtensionWorkflowAssetSchema, ExtensionSkillAssetSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionStatusSchema, ExtensionSchema, ExtensionFileSchema, ExtensionVersionSchema, ExtensionRunSchema, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillTypeSchema, SkillScopeSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpServerTransportSchema, McpServerScopeSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KV_NAME_REGEX, KvNamespaceSchema, KvKeySchema, KvEntrySchema;
|
|
1653
|
+
var AssetKeySchema, AssetEntityTypeSchema, AssetProviderRefSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, LEGACY_MODEL_TO_TIER, DEFAULT_MODEL_TIER_MAP, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, InboxMessageStatusSchema, InboxMessageSchema, AgentTaskSourceSchema, RoutingReasonSchema, RoutingSourceSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileSchema, SessionShareAccessSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringStatusSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, AgentTaskSchema, CreateTaskOptionsSchema, TaskAttachmentKindSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY = "_agentSwarmGeneratedBy", attachmentCapabilitiesSchema, attachmentCommonFields, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, IdentityEventTypeSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, AgentAvatarSchema, AgentSchema, AgentCredStatusKeyResultSchema, AgentCredStatusLiveTestSchema, AgentLatestModelSchema, AgentBedrockStatusSchema, AgentOpencodeGoStatusSchema, AcpSessionConfigSelectValueSchema, AcpSessionConfigSelectGroupSchema, AcpSessionConfigOptionSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, ChangeSourceSchema, VersionableFieldSchema, ContextVersionSchema, ChannelTypeSchema, ChannelSchema, ChannelMessageSchema, ServiceStatusSchema, ServiceSchema, AgentLogEventTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostSourceSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, RepoGuidelinesSchema, REPO_GUIDELINES_MAX_ENTRIES = 50, RepoGuidelinesInputSchema, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeInstanceStatusSchema, RuntimeProviderKindSchema, DeliveryModeSchema, PoolLifecycleSchema, RuntimeResourcesSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON = "superseded_workflow_task", ExecutorMetaSchema, ValidationResultSchema, StepValidationConfigSchema, SwarmScriptNodeConfigSchema, WorkflowNodeSchema, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, WebhookVerificationSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowTemplateSchema, WorkflowSnapshotSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageSnapshotSchema, PageSchema, PageVersionSchema, MetricParamSchema, MetricVariableTypeSchema, MetricFormatSchema, MetricVisualizationSchema, MetricQuerySchema, MetricVariableSchema, MetricVizConfigSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSnapshotSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunKindSchema, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepStatusSchema, WorkflowRunStepSchema, WorkflowRunStepSlimSchema, WaitModeSchema, WaitStateStatusSchema, WaitStateRowSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionNameSchema, SemverSchema, ExtensionBundlePathSchema, ExtensionAssetNameSchema, ExtensionScriptAssetSchema, ExtensionScheduleAssetSchema, ExtensionWorkflowAssetSchema, ExtensionSkillAssetSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionStatusSchema, ExtensionSchema, ExtensionFileSchema, ExtensionVersionSchema, ExtensionRunSchema, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillTypeSchema, SkillScopeSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpServerTransportSchema, McpServerScopeSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KV_NAME_REGEX, KvNamespaceSchema, KvKeySchema, KvEntrySchema;
|
|
1654
1654
|
var init_types = __esm(() => {
|
|
1655
1655
|
init_key();
|
|
1656
1656
|
init_bundle_path();
|
|
@@ -2269,11 +2269,22 @@ var init_types = __esm(() => {
|
|
|
2269
2269
|
createdAt: exports_iso.datetime(),
|
|
2270
2270
|
lastUpdatedAt: exports_iso.datetime()
|
|
2271
2271
|
}).openapi("Agent");
|
|
2272
|
+
AgentCredStatusKeyResultSchema = object2({
|
|
2273
|
+
keyType: string2(),
|
|
2274
|
+
index: number2(),
|
|
2275
|
+
suffix: string2(),
|
|
2276
|
+
ok: boolean(),
|
|
2277
|
+
error: string2().optional(),
|
|
2278
|
+
httpStatus: number2().optional(),
|
|
2279
|
+
latency_ms: number2()
|
|
2280
|
+
}).openapi("AgentCredStatusKeyResult");
|
|
2272
2281
|
AgentCredStatusLiveTestSchema = object2({
|
|
2273
2282
|
ok: boolean(),
|
|
2274
2283
|
error: string2().nullable().default(null),
|
|
2275
2284
|
latency_ms: number2(),
|
|
2276
|
-
testedAt: number2()
|
|
2285
|
+
testedAt: number2(),
|
|
2286
|
+
warning: string2().optional(),
|
|
2287
|
+
keys: array2(AgentCredStatusKeyResultSchema).optional()
|
|
2277
2288
|
}).openapi("AgentCredStatusLiveTest");
|
|
2278
2289
|
AgentLatestModelSchema = object2({
|
|
2279
2290
|
model: string2().min(1),
|
|
@@ -3241,6 +3252,7 @@ var init_types = __esm(() => {
|
|
|
3241
3252
|
diagnostics: string2().optional(),
|
|
3242
3253
|
nextPort: string2().optional()
|
|
3243
3254
|
}).openapi("WorkflowRunStep");
|
|
3255
|
+
WorkflowRunStepSlimSchema = WorkflowRunStepSchema.omit({ input: true }).openapi("WorkflowRunStepSlim");
|
|
3244
3256
|
WaitModeSchema = _enum2(["time", "event"]);
|
|
3245
3257
|
WaitStateStatusSchema = _enum2(["pending", "fired", "timeout"]);
|
|
3246
3258
|
WaitStateRowSchema = object2({
|
|
@@ -3674,4 +3686,4 @@ var init_types = __esm(() => {
|
|
|
3674
3686
|
}).openapi("KvEntry");
|
|
3675
3687
|
});
|
|
3676
3688
|
|
|
3677
|
-
export { ASSET_KEY_MAX_LENGTH, normalizeAssetKey, defaultAssetKey, keyPrefixRange, SESSION_LEAF_KINDS, sessionGroupKey, parseAssetKey, isCanonicalAssetKey, canWriteAssetKey, init_key, isSafeBundlePath, init_bundle_path, $OpenAPIRegistry, $OpenApiGeneratorV31, init_dist, init_zod_openapi, AssetKeySchema, AssetEntityTypeSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, DEFAULT_MODEL_TIER_MAP, parseModelTier, splitLegacyModelAlias, parseWorkerModelTierOverrides, resolveTaskModelSelection, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, isTerminalTaskStatus, AgentTaskSourceSchema, RoutingReasonSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, AgentTaskSchema, CreateTaskOptionsSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, AgentAvatarSchema, AgentSchema, AgentLatestModelSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, VersionableFieldSchema, ChannelTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, RepoGuidelinesInputSchema, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeProviderKindSchema, DeliveryModeSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageSchema, PageVersionSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionSchema, ExtensionVersionSchema, ExtensionRunSchema, checkExtensionInstallSource, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KvNamespaceSchema, KvKeySchema, KvEntrySchema, init_types };
|
|
3689
|
+
export { ASSET_KEY_MAX_LENGTH, normalizeAssetKey, defaultAssetKey, keyPrefixRange, SESSION_LEAF_KINDS, sessionGroupKey, parseAssetKey, isCanonicalAssetKey, canWriteAssetKey, init_key, isSafeBundlePath, init_bundle_path, $OpenAPIRegistry, $OpenApiGeneratorV31, init_dist, init_zod_openapi, AssetKeySchema, AssetEntityTypeSchema, AssetKeyMappingSchema, AssetSummarySchema, ModelTierSchema, MODEL_TIERS, ReasoningEffortSchema, DEFAULT_MODEL_TIER_MAP, parseModelTier, splitLegacyModelAlias, parseWorkerModelTierOverrides, resolveTaskModelSelection, AgentTaskStatusSchema, TERMINAL_TASK_STATUSES, isTerminalTaskStatus, AgentTaskSourceSchema, RoutingReasonSchema, ProviderNameSchema, ModelProfileNameSchema, ModelProfileSchema, SessionAccessSchema, SessionOwnerSchema, SessionSharesSchema, SessionSharesUpdateSchema, SteerModeSchema, SteeringSourceSchema, SteeringMessageSchema, SteerOutcomeSchema, OnUnsupportedSchema, SteerResultSchema, PROVIDER_STEER_CAPABILITIES, FollowUpConfigSchema, RoutingAffinitySchema, AgentTaskSchema, CreateTaskOptionsSchema, SERVER_GENERATED_ATTACHMENT_CAPABILITY, AttachmentInputSchema, TaskAttachmentSchema, UserSchema, RbacRoleSchema, UserRbacRolesSchema, UserCommsPrefsSchema, InboxItemTypeSchema, InboxItemStatusSchema, InboxItemStateSchema, FavoriteItemTypeSchema, UserFavoriteSchema, TaskTemplateKindSchema, TaskTemplateSchema, AgentStatusSchema, AgentAvatarSchema, AgentSchema, AgentLatestModelSchema, AgentAcpStatusSchema, AgentCredStatusSchema, AgentWithTasksSchema, VersionableFieldSchema, ChannelTypeSchema, ResumeReasonSchema, AgentLogSchema, SessionLogSchema, SessionCostModelBreakdownSchema, SessionCostSchema, EventCategorySchema, EventStatusSchema, EventSourceSchema, EventNameSchema, SwarmEventSchema, AutomationIntegrationIdSchema, ScheduledTaskTargetTypeSchema, ScheduledTaskSchema, SwarmConfigScopeSchema, SwarmConfigSchema, RepoGuidelinesInputSchema, RepoHooksSchema, SwarmRepoSchema, AgentMemoryScopeSchema, AgentMemorySourceSchema, AgentMemorySchema, ActiveSessionSchema, WorkerNudgeSchema, RuntimeProviderKindSchema, DeliveryModeSchema, RuntimeControllerCreateSchema, RuntimeControllerUpdateSchema, RuntimeControllerSchema, RuntimePoolCreateSchema, RuntimePoolUpdateSchema, RuntimePoolSchema, RuntimePoolCreateAgentSchema, RuntimeInstanceSchema, RetryPolicySchema, SUPERSEDED_WORKFLOW_TASK_REASON, WorkflowEdgeSchema, WorkflowDefinitionSchema, WorkflowNodePatchSchema, WorkflowPatchSchema, TriggerConfigSchema, CooldownConfigSchema, InputValueSchema, WorkflowSchema, WorkflowVersionSchema, PageContentTypeSchema, PageAuthModeSchema, PageSchema, PageVersionSchema, MetricWidgetSchema, MetricDefinitionSchema, MetricSchema, MetricVersionSchema, WorkflowRunStatusSchema, WorkflowRunSchema, WorkflowRunParentSchema, WorkflowRunSummarySchema, ScriptRunStatusSchema, TERMINAL_SCRIPT_RUN_STATUSES, ScriptRunSchema, ScriptRunListItemSchema, ScriptRunJournalEntrySchema, WorkflowRunStepSchema, WorkflowRunStepSlimSchema, PromptTemplateScopeSchema, PromptTemplateStateSchema, PromptTemplateSchema, PromptTemplateHistorySchema, ScriptScopeSchema, ScriptFsModeSchema, ScriptRecordSchema, ScriptVersionRecordSchema, ExtensionWorkflowFileSchema, ExtensionManifestSchema, ExtensionSchema, ExtensionVersionSchema, ExtensionRunSchema, checkExtensionInstallSource, ExtensionInstallBodySchema, ScriptApiAuthModeSchema, ScriptApiRecordSchema, SkillSchema, AgentSkillSchema, SkillWithInstallInfoSchema, SkillFileSchema, McpAuthMethodSchema, McpServerSchema, AgentMcpServerSchema, McpServerWithInstallInfoSchema, ContextSnapshotEventTypeSchema, ContextFormulaSchema, ContextSnapshotSchema, BudgetScopeSchema, BudgetSchema, PricingProviderSchema, PricingTokenClassSchema, PricingRowSchema, BudgetRefusalCauseSchema, BudgetRefusalNotificationSchema, BudgetRefusedTriggerSchema, KvValueTypeSchema, KvNamespaceSchema, KvKeySchema, KvEntrySchema, init_types };
|