@desplega.ai/agent-swarm 2.8.1 → 2.8.2
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/dist/{acp-adapter-pdy3qsvg.js → acp-adapter-fqzkxyra.js} +3 -3
- package/dist/{actions-pwjpn0j6.js → actions-kxek041g.js} +17 -17
- package/dist/{amp-adapter-cq9jgj6x.js → amp-adapter-ce7jjke4.js} +1 -1
- package/dist/{app-cnfffgwg.js → app-v6zz8yh0.js} +3 -3
- package/dist/{assistant-kpn317y1.js → assistant-m0sw9xx2.js} +18 -18
- package/dist/{boot-args-schema-pbbnhmc3.js → boot-args-schema-66bk37wv.js} +1 -1
- package/dist/{boot-reembed-9m0ysxma.js → boot-reembed-edjpwsc1.js} +1 -1
- package/dist/{boot-reembed-majbn53m.js → boot-reembed-y27n09tz.js} +1 -1
- package/dist/{boot-scrub-sweep-app8g8ym.js → boot-scrub-sweep-1xc35965.js} +3 -3
- package/dist/{boot-seeds-pbtmvcjm.js → boot-seeds-7hjj91qj.js} +4 -4
- package/dist/{boxd-qbkxy6ap.js → boxd-ent8ch04.js} +1 -1
- package/dist/{claude-adapter-wn1g3qp5.js → claude-adapter-stw7jdcf.js} +3 -3
- package/dist/{claude-managed-setup-pd47nzch.js → claude-managed-setup-y6z2perp.js} +1 -1
- package/dist/{claude-sdk-session-3a2a6589.js → claude-sdk-session-vvya8wqk.js} +3 -3
- package/dist/{cli-wk18cm92.js → cli-0cq8y6m7.js} +1 -1
- package/dist/{cli-p1w18yhx.js → cli-1pz0330a.js} +1 -1
- package/dist/{cli-d3p5vwbk.js → cli-1qkz151v.js} +3 -3
- package/dist/{cli-89cqnasv.js → cli-26ctbcdp.js} +18 -6
- package/dist/{cli-syybb0p1.js → cli-2kvhc7x8.js} +7 -7
- package/dist/{cli-93k32c37.js → cli-3e875j5p.js} +128 -41
- package/dist/{cli-k0615eh8.js → cli-3sy2xags.js} +10 -10
- package/dist/{cli-dy32zecz.js → cli-3vmb0n58.js} +1 -1
- package/dist/{cli-4r05hnqa.js → cli-4vzgeta4.js} +13 -13
- package/dist/{cli-b5rs97a6.js → cli-5y340nzn.js} +4 -4
- package/dist/{cli-7p1kvkck.js → cli-6rc5frdm.js} +1 -1
- package/dist/{cli-jcpr5smb.js → cli-837vfs2x.js} +2 -2
- package/dist/{cli-b085njxz.js → cli-959kp5h2.js} +12 -11
- package/dist/{cli-k93bq1wq.js → cli-97ae65rz.js} +4 -4
- package/dist/{cli-m4dqmnbp.js → cli-9mb2q6pb.js} +1 -1
- package/dist/{cli-bb431xey.js → cli-a0z912j7.js} +121 -33
- package/dist/{cli-k26bkr9t.js → cli-b98a65ed.js} +3 -3
- package/dist/{cli-k0wwfqbg.js → cli-dns0y538.js} +4 -0
- package/dist/{cli-tk7cjj8h.js → cli-dzpc6en0.js} +1 -1
- package/dist/{cli-6mma83xa.js → cli-e1p3n5gq.js} +4 -4
- package/dist/{cli-re4raaj0.js → cli-f4e8r23x.js} +1 -1
- package/dist/{cli-qmqk2yc2.js → cli-f4r3g076.js} +1 -1
- package/dist/{cli-pcad4cb1.js → cli-f6bahpn5.js} +1 -1
- package/dist/{cli-b8e9nb04.js → cli-fpjmegdb.js} +1 -1
- package/dist/{cli-0ntbxyaa.js → cli-fwy8kfd6.js} +271 -37
- package/dist/{cli-tacge1w0.js → cli-g5mtmf6t.js} +6 -6
- package/dist/{cli-sn7rtnj4.js → cli-gyt3zydq.js} +3 -3
- package/dist/{cli-vbh10fqa.js → cli-j24zbska.js} +3 -3
- package/dist/{cli-vqptjbr7.js → cli-jdknh18m.js} +10 -10
- package/dist/{cli-7b8sbmag.js → cli-kjtwrhea.js} +1 -1
- package/dist/{cli-9vhebtjz.js → cli-mxn1qvbn.js} +3 -2
- package/dist/{cli-zcsw143p.js → cli-n6vtrcht.js} +1 -1
- package/dist/{cli-2zp0et3v.js → cli-pchypa1s.js} +55 -19
- package/dist/{cli-gax7fk3t.js → cli-pfs8adn4.js} +1 -1
- package/dist/{cli-1xh9a7hn.js → cli-q24n86d2.js} +2 -2
- package/dist/{cli-7w69ne2f.js → cli-rcecc3yq.js} +167 -43
- package/dist/{cli-xae4g51r.js → cli-rh15cakt.js} +1 -1
- package/dist/{cli-yn2bbre9.js → cli-rmzsadkf.js} +1 -1
- package/dist/{cli-a3b239vq.js → cli-t2tma8gb.js} +1 -1
- package/dist/{cli-9wngrawf.js → cli-tekytdq9.js} +2 -2
- package/dist/{cli-tqegb8eq.js → cli-vdektqgf.js} +1 -1
- package/dist/{cli-cyhbbd1z.js → cli-w401b9tq.js} +1 -1
- package/dist/{cli-jywyhqws.js → cli-xf3qw745.js} +3 -3
- package/dist/{cli-hxpyc9sn.js → cli-z1w943va.js} +2 -2
- package/dist/{cli-yncmerje.js → cli-zh9rsbqf.js} +2 -2
- package/dist/cli.js +16 -16
- package/dist/{codex-adapter-nha71q3n.js → codex-adapter-zerf5qsp.js} +1 -1
- package/dist/{codex-hook-h3vk6xzr.js → codex-hook-30gyhzxe.js} +1 -1
- package/dist/{codex-session-runner-ak9x1k1h.js → codex-session-runner-89s304py.js} +1 -1
- package/dist/{commands-f587qpq8.js → commands-jeh1b51j.js} +3 -3
- package/dist/{controller-hxx8wwy1.js → controller-mctfbrse.js} +3 -3
- package/dist/{controllers-connect-k5sg9m9h.js → controllers-connect-nxa1ddwn.js} +18 -18
- package/dist/{cursor-adapter-n5nc3mfe.js → cursor-adapter-qj8vehv6.js} +1 -1
- package/dist/{db-nzf8zb5z.js → db-2dvay0es.js} +3 -3
- package/dist/{db-amm8w15a.js → db-b36qn6k3.js} +2 -2
- package/dist/{dispatcher-89zrts8f.js → dispatcher-gndbta01.js} +16 -16
- package/dist/{dsh-adapter-nrhbrjz8.js → dsh-adapter-f75sz821.js} +1 -1
- package/dist/{e2b-jkwfhbcv.js → e2b-3gpc2n3w.js} +1 -1
- package/dist/{e2b-s16txnpx.js → e2b-jbm7mj93.js} +1 -1
- package/dist/{embedding-space-ezwenjmj.js → embedding-space-4p05vb2x.js} +6 -6
- package/dist/{embeddings-np74ht6g.js → embeddings-m6768mgh.js} +1 -1
- package/dist/{external-channel-z46yx9d7.js → external-channel-gjv3jne3.js} +2 -2
- package/dist/{fx-adapter-3q12snn6.js → fx-adapter-rpsgb1tw.js} +4 -4
- package/dist/{grok-adapter-ahb1w033.js → grok-adapter-n2m3zjg1.js} +4 -4
- package/dist/handlers-nv8edn19.js +32 -0
- package/dist/{heartbeat-dt9qw9c8.js → heartbeat-a1tv60gt.js} +19 -19
- package/dist/{hook-8k6fbz9b.js → hook-8h5dzcgq.js} +2 -2
- package/dist/{hook-jgcgygex.js → hook-cyaps9ba.js} +4 -4
- package/dist/{http-haw4r8ne.js → http-t15mhbd9.js} +1731 -77
- package/dist/{index-s4ewdma4.js → index-ksmyd6kc.js} +16 -16
- package/dist/{index-tez78qj3.js → index-qav6455f.js} +13 -11
- package/dist/index-rjnrje98.js +32 -0
- package/dist/index-tv3413wy.js +33 -0
- package/dist/{index-5gk12my8.js → index-w1zqf680.js} +1 -1
- package/dist/{keepalive-xn6s7rmg.js → keepalive-91s7hzrb.js} +3 -3
- package/dist/{lead-6ygbfhbh.js → lead-3hmddvrm.js} +30 -30
- package/dist/{maintenance-vdts800b.js → maintenance-7pjmy5xy.js} +1 -1
- package/dist/{oauth-refresh-sweep-094c8wfk.js → oauth-refresh-sweep-rzqfm94j.js} +2 -2
- package/dist/{onboard-v99eh56m.js → onboard-74st7pag.js} +3 -3
- package/dist/{opencode-adapter-dsagkhtw.js → opencode-adapter-arn7gm8q.js} +2 -2
- package/dist/{otel-impl-q7yr9yp0.js → otel-impl-rnzey8cb.js} +1 -1
- package/dist/{pi-mono-adapter-546cd1cc.js → pi-mono-adapter-6mkwq64n.js} +3 -2
- package/dist/{pricing-refresh-7dh2yase.js → pricing-refresh-ha21jhk7.js} +2 -2
- package/dist/{rbac-roles-npbmdh77.js → rbac-roles-59dxachk.js} +2 -2
- package/dist/{rbac-roles-mdmc96p4.js → rbac-roles-wqhma4dr.js} +3 -3
- package/dist/{render-v2-twhhwmms.js → render-v2-14kpzx12.js} +3 -3
- package/dist/{resume-5gsrjd5e.js → resume-gsa5fb5f.js} +6 -6
- package/dist/{session-access-m191x30x.js → session-access-skm7bnp6.js} +4 -4
- package/dist/{session-source-backfill-nt923ask.js → session-source-backfill-pbqzbncv.js} +2 -2
- package/dist/{setup-wv467afy.js → setup-5yermsem.js} +1 -1
- package/dist/{work-objects-8zkrpy13.js → work-objects-xj0ck0w4.js} +19 -19
- package/dist/{worker-follow-up-cecqszem.js → worker-follow-up-911xc0b8.js} +18 -16
- package/dist/{worker-mz5z7kj0.js → worker-qgg0m2gw.js} +30 -30
- package/openapi.json +1741 -290
- package/package.json +2 -2
- package/src/apps/catalog.generated.json +120 -1
- package/src/apps/definition.ts +38 -11
- package/src/apps/page-validator.ts +88 -0
- package/src/be/db/model-profiles.ts +110 -11
- package/src/be/db/tasks/read.ts +20 -0
- package/src/be/db/workflow-run-definitions.ts +19 -8
- package/src/be/db-client.ts +43 -5
- package/src/be/db.ts +9 -3
- package/src/be/migrations/284_model_profile_fallbacks.sql +9 -0
- package/src/be/model-profile-check.ts +43 -18
- package/src/be/runtime-pools/routing.ts +1 -0
- package/src/be/savings/calibrate.ts +468 -0
- package/src/be/savings/compute.ts +182 -0
- package/src/be/savings/model.ts +406 -0
- package/src/be/scripts/typecheck.ts +5 -0
- package/src/be/seed/agent-fs-provision.ts +48 -11
- package/src/be/seed/workflows-seeder.ts +67 -23
- package/src/be/skill-parser.ts +19 -7
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/provider-error-class.ts +97 -0
- package/src/commands/runner.ts +99 -17
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/http/all-routes.ts +2 -0
- package/src/http/fs.ts +8 -2
- package/src/http/index.ts +4 -0
- package/src/http/model-profiles.ts +43 -10
- package/src/http/poll.ts +1 -0
- package/src/http/savings-calibration.ts +277 -0
- package/src/http/savings.ts +363 -0
- package/src/http/tasks.ts +46 -4
- package/src/http/trackers/authorize-gate.ts +41 -0
- package/src/http/trackers/jira.ts +26 -4
- package/src/http/trackers/linear.ts +26 -4
- package/src/integrations/chat-sdk/limits.ts +6 -1
- package/src/jira/oauth.ts +7 -1
- package/src/linear/README.md +2 -1
- package/src/linear/oauth.ts +7 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/codex-adapter.ts +3 -0
- package/src/providers/pi-mono-adapter.ts +6 -5
- package/src/providers/types.ts +7 -0
- package/src/scripts-runtime/sdk-allowlist.ts +11 -1
- package/src/scripts-runtime/swarm-sdk.ts +6 -0
- package/src/scripts-runtime/types/stdlib.d.ts +9 -0
- package/src/scripts-runtime/types/swarm-extension.d.ts +34 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +9 -0
- package/src/tasks/worker-follow-up.ts +142 -3
- package/src/tests/agent-fs-provision-seeder.test.ts +81 -0
- package/src/tests/apps-chart-shell.test.ts +170 -0
- package/src/tests/apps-icon.test.ts +156 -2
- package/src/tests/chat-sdk-relay.test.ts +12 -0
- package/src/tests/codex-adapter.test.ts +11 -0
- package/src/tests/comb-default.test.ts +6 -0
- package/src/tests/core-auth.test.ts +7 -6
- package/src/tests/db-client-busy-retry.test.ts +58 -6
- package/src/tests/deploy-guard.test.ts +154 -0
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/fixtures/app-shell-charts-definition.json.txt +180 -0
- package/src/tests/model-profile-fallbacks.test.ts +482 -0
- package/src/tests/model-profiles-api.test.ts +1 -0
- package/src/tests/pi-mono-session-cost-on-abort.test.ts +115 -0
- package/src/tests/provider-error-class.test.ts +174 -0
- package/src/tests/runner-provider-fallback.test.ts +197 -0
- package/src/tests/savings-calibration-api.test.ts +264 -0
- package/src/tests/savings-calibration.test.ts +201 -0
- package/src/tests/savings-compute.test.ts +406 -0
- package/src/tests/savings-model.test.ts +287 -0
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/sdk-allowlist.test.ts +40 -0
- package/src/tests/seed-workflows.test.ts +167 -11
- package/src/tests/skill-parser.test.ts +45 -0
- package/src/tests/tracker-oauth-authorize-auth.test.ts +262 -0
- package/src/tests/workflow-definition-pinning.test.ts +128 -3
- package/src/tests/workflow-script-principal.test.ts +94 -4
- package/src/tools/app-upsert.ts +1 -1
- package/src/tools/model-profiles/list-model-profiles.ts +4 -2
- package/src/tools/update-profile.ts +1 -1
- package/src/types.ts +115 -33
- package/src/utils/constants.ts +2 -0
- package/templates/skills/apps/SKILL.md +62 -3
- package/templates/skills/apps/content.md +62 -3
- package/templates/skills/swarm-docs/content.md +2 -0
- package/dist/handlers-vbww69re.js +0 -32
- package/dist/index-4xwaf5th.js +0 -32
- package/dist/index-f0hcrs8e.js +0 -33
|
@@ -138,6 +138,7 @@ import {
|
|
|
138
138
|
findRecentCancelledTaskInThread2,
|
|
139
139
|
init_read,
|
|
140
140
|
listModelProfiles,
|
|
141
|
+
getModelProfileByName,
|
|
141
142
|
modelProfileRefError,
|
|
142
143
|
taskProfileError,
|
|
143
144
|
scheduleProfileUpdate,
|
|
@@ -375,23 +376,23 @@ import {
|
|
|
375
376
|
recordInlineScriptRun2,
|
|
376
377
|
exports_db,
|
|
377
378
|
init_db4
|
|
378
|
-
} from "./cli-
|
|
379
|
+
} from "./cli-rcecc3yq.js";
|
|
379
380
|
import {
|
|
380
381
|
assertMayActOnOperatorGrantedTarget2,
|
|
381
382
|
getUserGrant2,
|
|
382
383
|
init_rbac_roles
|
|
383
|
-
} from "./cli-
|
|
384
|
+
} from "./cli-q24n86d2.js";
|
|
384
385
|
import {
|
|
385
386
|
ensurePricingSeeded2,
|
|
386
387
|
ensureRbacSeeded2,
|
|
387
388
|
ensureModelProfilesSeeded2,
|
|
388
389
|
init_boot_seeds
|
|
389
|
-
} from "./cli-
|
|
390
|
+
} from "./cli-b98a65ed.js";
|
|
390
391
|
import {
|
|
391
392
|
requestModelCatalogRefresh2,
|
|
392
393
|
startPricingRefreshLoop2,
|
|
393
394
|
init_pricing_refresh
|
|
394
|
-
} from "./cli-
|
|
395
|
+
} from "./cli-t2tma8gb.js";
|
|
395
396
|
import {
|
|
396
397
|
workflowEventBus2,
|
|
397
398
|
init_event_bus
|
|
@@ -404,7 +405,7 @@ import {
|
|
|
404
405
|
externalChannelToolError2,
|
|
405
406
|
getChannelBlockReason2,
|
|
406
407
|
init_external_channel
|
|
407
|
-
} from "./cli-
|
|
408
|
+
} from "./cli-fpjmegdb.js";
|
|
408
409
|
import {
|
|
409
410
|
noteSlackInboundSideEffect,
|
|
410
411
|
init_inbound_dispatch,
|
|
@@ -443,7 +444,7 @@ import {
|
|
|
443
444
|
startSlackApp2,
|
|
444
445
|
stopSlackAppUnderLifecycleLock2,
|
|
445
446
|
init_app3
|
|
446
|
-
} from "./cli-
|
|
447
|
+
} from "./cli-4vzgeta4.js";
|
|
447
448
|
import {
|
|
448
449
|
shapeApprovalResolution,
|
|
449
450
|
init_approval_resolution,
|
|
@@ -467,7 +468,7 @@ import {
|
|
|
467
468
|
resumeFromChildRun2,
|
|
468
469
|
initWaitBusSubscriptions2,
|
|
469
470
|
init_resume
|
|
470
|
-
} from "./cli-
|
|
471
|
+
} from "./cli-j24zbska.js";
|
|
471
472
|
import {
|
|
472
473
|
FilesError,
|
|
473
474
|
providerPath,
|
|
@@ -485,7 +486,7 @@ import {
|
|
|
485
486
|
import {
|
|
486
487
|
getRuntimePool2,
|
|
487
488
|
init_db2
|
|
488
|
-
} from "./cli-
|
|
489
|
+
} from "./cli-97ae65rz.js";
|
|
489
490
|
import {
|
|
490
491
|
duplicateGuardedQueryKey,
|
|
491
492
|
parseQueryParams,
|
|
@@ -518,7 +519,7 @@ import {
|
|
|
518
519
|
findRoute,
|
|
519
520
|
route,
|
|
520
521
|
init_route_def
|
|
521
|
-
} from "./cli-
|
|
522
|
+
} from "./cli-5y340nzn.js";
|
|
522
523
|
import {
|
|
523
524
|
COMPOSIO_HTTP_METHODS,
|
|
524
525
|
executeComposioRequest,
|
|
@@ -620,7 +621,7 @@ import {
|
|
|
620
621
|
init_typecheck,
|
|
621
622
|
parseSkillContent,
|
|
622
623
|
init_skill_parser
|
|
623
|
-
} from "./cli-
|
|
624
|
+
} from "./cli-fwy8kfd6.js";
|
|
624
625
|
import {
|
|
625
626
|
detachedProcessGroup,
|
|
626
627
|
registerProcessGroup,
|
|
@@ -635,7 +636,7 @@ import {
|
|
|
635
636
|
ensureToken,
|
|
636
637
|
ensureTokenOrThrow,
|
|
637
638
|
init_ensure_token
|
|
638
|
-
} from "./cli-
|
|
639
|
+
} from "./cli-rmzsadkf.js";
|
|
639
640
|
import {
|
|
640
641
|
require_fast_deep_equal
|
|
641
642
|
} from "./cli-bhp11egn.js";
|
|
@@ -730,7 +731,7 @@ import {
|
|
|
730
731
|
validateDefinition,
|
|
731
732
|
applyDefinitionPatch,
|
|
732
733
|
init_definition2
|
|
733
|
-
} from "./cli-
|
|
734
|
+
} from "./cli-jdknh18m.js";
|
|
734
735
|
import {
|
|
735
736
|
isMultiRuntimeEnabled,
|
|
736
737
|
init_multi_runtime2
|
|
@@ -751,15 +752,15 @@ import {
|
|
|
751
752
|
isSlackLeaveThreadDisabled,
|
|
752
753
|
leaveSlackThread,
|
|
753
754
|
init_left_threads
|
|
754
|
-
} from "./cli-
|
|
755
|
+
} from "./cli-3vmb0n58.js";
|
|
755
756
|
import {
|
|
756
757
|
publicEndpointSsrfOptions,
|
|
757
758
|
init_mcp_wrapper
|
|
758
|
-
} from "./cli-
|
|
759
|
+
} from "./cli-n6vtrcht.js";
|
|
759
760
|
import {
|
|
760
761
|
canProvisionKind,
|
|
761
762
|
init_runtime_providers
|
|
762
|
-
} from "./cli-
|
|
763
|
+
} from "./cli-z1w943va.js";
|
|
763
764
|
import {
|
|
764
765
|
findUserById,
|
|
765
766
|
findUserByExternalId,
|
|
@@ -774,7 +775,7 @@ import {
|
|
|
774
775
|
resolveSessionToken,
|
|
775
776
|
fingerprintApiKey,
|
|
776
777
|
init_users
|
|
777
|
-
} from "./cli-
|
|
778
|
+
} from "./cli-f4e8r23x.js";
|
|
778
779
|
import {
|
|
779
780
|
normalizeAssetKey,
|
|
780
781
|
SESSION_RESOURCE_KINDS,
|
|
@@ -843,7 +844,7 @@ import {
|
|
|
843
844
|
KvNamespaceSchema,
|
|
844
845
|
KvKeySchema,
|
|
845
846
|
init_types4
|
|
846
|
-
} from "./cli-
|
|
847
|
+
} from "./cli-pchypa1s.js";
|
|
847
848
|
import {
|
|
848
849
|
generateDefaultClaudeMd2,
|
|
849
850
|
generateDefaultSoulMd2,
|
|
@@ -854,7 +855,7 @@ import {
|
|
|
854
855
|
init_task_attachment_links,
|
|
855
856
|
contentSha256,
|
|
856
857
|
init_profile_sync
|
|
857
|
-
} from "./cli-
|
|
858
|
+
} from "./cli-dzpc6en0.js";
|
|
858
859
|
import {
|
|
859
860
|
getSlackConfiguration,
|
|
860
861
|
isSlackConfigured,
|
|
@@ -912,7 +913,7 @@ import {
|
|
|
912
913
|
import {
|
|
913
914
|
init_package,
|
|
914
915
|
package_default
|
|
915
|
-
} from "./cli-
|
|
916
|
+
} from "./cli-zh9rsbqf.js";
|
|
916
917
|
import {
|
|
917
918
|
realtimeBus,
|
|
918
919
|
init_bus
|
|
@@ -929,7 +930,7 @@ import {
|
|
|
929
930
|
getCombState,
|
|
930
931
|
isAgentFsProxyEnabled,
|
|
931
932
|
init_constants3
|
|
932
|
-
} from "./cli-
|
|
933
|
+
} from "./cli-dns0y538.js";
|
|
933
934
|
import {
|
|
934
935
|
parseEnvFlag,
|
|
935
936
|
isEnvFlagEnabled,
|
|
@@ -20302,7 +20303,7 @@ function startRetryPoller(registry, intervalMs = 5000) {
|
|
|
20302
20303
|
if (!waiting)
|
|
20303
20304
|
continue;
|
|
20304
20305
|
if (result.waitFor === "workflow.child.finished") {
|
|
20305
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
20306
|
+
const { resumeFromChildRun } = await import("./resume-gsa5fb5f.js");
|
|
20306
20307
|
await resumeFromChildRun(step.id, registry);
|
|
20307
20308
|
}
|
|
20308
20309
|
} else {
|
|
@@ -21048,7 +21049,7 @@ var init_notify = __esm(() => {
|
|
|
21048
21049
|
}
|
|
21049
21050
|
}
|
|
21050
21051
|
case "slack": {
|
|
21051
|
-
const { getSlackApp } = await import("./app-
|
|
21052
|
+
const { getSlackApp } = await import("./app-v6zz8yh0.js");
|
|
21052
21053
|
let app = getSlackApp();
|
|
21053
21054
|
if (!app) {
|
|
21054
21055
|
if (!isSlackConfigured()) {
|
|
@@ -23658,7 +23659,7 @@ var init_db = __esm(() => {
|
|
|
23658
23659
|
|
|
23659
23660
|
// src/scripts-runtime/sdk-allowlist.ts
|
|
23660
23661
|
function isSdkToolAllowed(name) {
|
|
23661
|
-
return SDK_ALLOWLIST.includes(name);
|
|
23662
|
+
return SDK_ALLOWLIST.includes(name) || REST_ONLY_SDK_METHODS.includes(name);
|
|
23662
23663
|
}
|
|
23663
23664
|
function isMcpToolAllowedForScripts(mcpToolName) {
|
|
23664
23665
|
return MCP_TOOL_NAMES.has(mcpToolName);
|
|
@@ -23666,7 +23667,7 @@ function isMcpToolAllowedForScripts(mcpToolName) {
|
|
|
23666
23667
|
function mcpToolNameForSdkMethod(name) {
|
|
23667
23668
|
return SDK_TOOL_NAME_MAP[name] ?? name;
|
|
23668
23669
|
}
|
|
23669
|
-
var SDK_TOOL_NAME_MAP, SDK_ALLOWLIST, MCP_TOOL_NAMES;
|
|
23670
|
+
var SDK_TOOL_NAME_MAP, SDK_ALLOWLIST, MCP_TOOL_NAMES, REST_ONLY_SDK_METHODS;
|
|
23670
23671
|
var init_sdk_allowlist = __esm(() => {
|
|
23671
23672
|
SDK_TOOL_NAME_MAP = {
|
|
23672
23673
|
memory_search: "memory-search",
|
|
@@ -23828,6 +23829,7 @@ var init_sdk_allowlist = __esm(() => {
|
|
|
23828
23829
|
};
|
|
23829
23830
|
SDK_ALLOWLIST = Object.keys(SDK_TOOL_NAME_MAP);
|
|
23830
23831
|
MCP_TOOL_NAMES = new Set(Object.values(SDK_TOOL_NAME_MAP));
|
|
23832
|
+
REST_ONLY_SDK_METHODS = ["savings_calibrationGet", "savings_calibrationRun"];
|
|
23831
23833
|
});
|
|
23832
23834
|
|
|
23833
23835
|
// src/kv-overflow.ts
|
|
@@ -24470,7 +24472,7 @@ function setPreloadedTools(server, names) {
|
|
|
24470
24472
|
async function applyPreToolCall(name, args, requestInfo, inputSchema) {
|
|
24471
24473
|
if (requestInfo.callOrigin !== "mcp")
|
|
24472
24474
|
return { args };
|
|
24473
|
-
const dispatcher = await import("./dispatcher-
|
|
24475
|
+
const dispatcher = await import("./dispatcher-gndbta01.js");
|
|
24474
24476
|
const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
|
|
24475
24477
|
validateModify: async (data) => {
|
|
24476
24478
|
const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
|
|
@@ -25264,6 +25266,10 @@ function bridgeRequestFor(name, args) {
|
|
|
25264
25266
|
return { method: "POST", path: "/api/scripts/search", body };
|
|
25265
25267
|
case "script_run":
|
|
25266
25268
|
return { method: "POST", path: "/api/scripts/run", body };
|
|
25269
|
+
case "savings_calibrationGet":
|
|
25270
|
+
return { method: "GET", path: "/api/savings/calibration" };
|
|
25271
|
+
case "savings_calibrationRun":
|
|
25272
|
+
return { method: "POST", path: "/api/savings/calibration", body };
|
|
25267
25273
|
case "db_query":
|
|
25268
25274
|
return { method: "POST", path: "/api/db-query", body };
|
|
25269
25275
|
case "swarm_get":
|
|
@@ -33329,8 +33335,9 @@ function splitChatMessage(text, limit) {
|
|
|
33329
33335
|
if (cut < minBreak) {
|
|
33330
33336
|
cut = limit;
|
|
33331
33337
|
const code = rest.charCodeAt(cut - 1);
|
|
33332
|
-
if (code >= 55296 && code <= 56319)
|
|
33333
|
-
cut
|
|
33338
|
+
if (code >= 55296 && code <= 56319) {
|
|
33339
|
+
cut = cut > 1 ? cut - 1 : cut + 1;
|
|
33340
|
+
}
|
|
33334
33341
|
}
|
|
33335
33342
|
chunks.push(rest.slice(0, cut).trimEnd());
|
|
33336
33343
|
rest = rest.slice(cut).replace(/^[\n ]+/, "");
|
|
@@ -35677,7 +35684,7 @@ async function notifySlack(text) {
|
|
|
35677
35684
|
return;
|
|
35678
35685
|
}
|
|
35679
35686
|
try {
|
|
35680
|
-
const { getSlackApp } = await import("./app-
|
|
35687
|
+
const { getSlackApp } = await import("./app-v6zz8yh0.js");
|
|
35681
35688
|
const app = getSlackApp();
|
|
35682
35689
|
if (!app) {
|
|
35683
35690
|
console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
|
|
@@ -35748,7 +35755,7 @@ async function deleteJiraWebhook(webhookId) {
|
|
|
35748
35755
|
console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
|
|
35749
35756
|
}
|
|
35750
35757
|
async function overwriteWebhookIds(next) {
|
|
35751
|
-
const { getDbClient } = await import("./db-
|
|
35758
|
+
const { getDbClient } = await import("./db-b36qn6k3.js");
|
|
35752
35759
|
await getDbClient().transaction(async (tx) => {
|
|
35753
35760
|
const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
|
|
35754
35761
|
if (!row) {
|
|
@@ -109243,7 +109250,7 @@ async function reloadGlobalConfigsAndIntegrations() {
|
|
|
109243
109250
|
return runWithoutRequestAuth(() => runSlackLifecycleExclusive(() => reloadGlobalConfigsAndIntegrationsInner()));
|
|
109244
109251
|
}
|
|
109245
109252
|
async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
109246
|
-
const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-
|
|
109253
|
+
const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-w1zqf680.js");
|
|
109247
109254
|
const wasEmbeddingsConfigured = getEmbeddingProvider().isConfigured();
|
|
109248
109255
|
const updated = await loadGlobalConfigsIntoEnv(true);
|
|
109249
109256
|
await syncTelemetryEnabled("settings").catch((err) => {
|
|
@@ -109259,7 +109266,7 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
|
109259
109266
|
integrations.push("embeddings");
|
|
109260
109267
|
}
|
|
109261
109268
|
if (isEmbeddingsConfigured) {
|
|
109262
|
-
import("./embedding-space-
|
|
109269
|
+
import("./embedding-space-4p05vb2x.js").then(({ runEmbeddingMaintenance }) => runEmbeddingMaintenance({ backfill: !wasEmbeddingsConfigured })).catch((err) => {
|
|
109263
109270
|
console.error("[config-reload] embedding maintenance failed (non-fatal):", err);
|
|
109264
109271
|
});
|
|
109265
109272
|
}
|
|
@@ -114268,7 +114275,7 @@ var init_app_sync = __esm(() => {
|
|
|
114268
114275
|
var registerAppUpsertTool = (server) => {
|
|
114269
114276
|
createToolRegistrar(server)("app-upsert", {
|
|
114270
114277
|
title: "Create or update an app",
|
|
114271
|
-
description: `Stores a schema-backed app definition with models, queries/actions, pages, reusable elements, optional userConfig fields, an optional top-level theme (a dashboard preset slug for the app's canvas: hive (stock; omit to inherit the viewer's theme), meadow, iris, rose, cobalt, ember, carbon, paper (the warm editorial paper look), plus the classic presets github, vscode, material, solarized, tokyo, monokai, gruvbox, catppuccin; viewers can override it per-user; unknown slugs degrade to the viewer's dashboard theme), and an optional top-level icon
|
|
114278
|
+
description: `Stores a schema-backed app definition with models, queries/actions, pages, reusable elements, optional userConfig fields, an optional top-level theme (a dashboard preset slug for the app's canvas: hive (stock; omit to inherit the viewer's theme), meadow, iris, rose, cobalt, ember, carbon, paper (the warm editorial paper look), plus the classic presets github, vscode, material, solarized, tokyo, monokai, gruvbox, catppuccin; viewers can override it per-user; unknown slugs degrade to the viewer's dashboard theme), and an optional top-level icon shown on the dashboard Apps page, one of { type: "lucide", icon: "<kebab-case lucide icon name>", color?: "#RRGGBB" } (an unrecognized name shows a generic default), { type: "url", url: "https://..." } (https only, no credentials), or { type: "agent-fs", path: "/apps/<appId>/icon.png" } (swarm drive; add orgId and driveId for another drive); the dashboard shows a glyph when an image cannot load, and a patch replaces icon whole, then returns its dashboard URL. userConfig is versioned schema only; each user's values are stored separately, survive rollback, and schema changes are always compatible. Pages may bind a declared field read-only at exactly /user/<field>; pure and bound reusable elements must receive that value through a prop. Elements are private by default: pure elements read declared props, allow $item/$index inside repeats, may expose one leaf ElementSlot, and cannot invoke actions; bound elements may use the defining app's queries/actions, while exported bound elements cannot navigate. Prop kinds include enum with a required non-empty enum values array. Pages or elements reuse them with literal ElementRef targets, and cross-app refs require export: true. Zero-model pure-UI apps are valid. Pass appId to update; breaking a referenced export is blocked by the compatibility gate unless forceElementBreak explicitly names it.`,
|
|
114272
114279
|
annotations: { destructiveHint: false },
|
|
114273
114280
|
inputSchema: object2({
|
|
114274
114281
|
name: string2().min(1).describe("Human-readable app name."),
|
|
@@ -119111,6 +119118,72 @@ function inheritedModelSelection2(parent) {
|
|
|
119111
119118
|
...parent.profile ? { profile: parent.profile } : {}
|
|
119112
119119
|
};
|
|
119113
119120
|
}
|
|
119121
|
+
async function nextFallback2(parent, errorClass, options = {}) {
|
|
119122
|
+
const current = parent.resolvedProfile;
|
|
119123
|
+
if (!current || !parent.agentId)
|
|
119124
|
+
return { kind: "none", message: null };
|
|
119125
|
+
const hops = parent.fallbackHops ?? [];
|
|
119126
|
+
const path = hops.length > 0 ? [hops[0].from, ...hops.map((hop) => hop.profile)] : [current];
|
|
119127
|
+
if (path[path.length - 1] !== current)
|
|
119128
|
+
path.push(current);
|
|
119129
|
+
const visited = new Set(path);
|
|
119130
|
+
const skipped = [];
|
|
119131
|
+
const judged = new Set;
|
|
119132
|
+
let configured = hops.length > 0;
|
|
119133
|
+
if (parent.routingAffinity?.leadOnly) {
|
|
119134
|
+
const agent = await getAgentById2(parent.agentId);
|
|
119135
|
+
if (!agent?.isLead || !isAgentEligibleForTask2(agent, parent)) {
|
|
119136
|
+
const listsFallbacks = (await getModelProfileByName(current))?.fallbacks.length ?? 0;
|
|
119137
|
+
if (!configured && listsFallbacks === 0)
|
|
119138
|
+
return { kind: "none", message: null };
|
|
119139
|
+
return {
|
|
119140
|
+
kind: "none",
|
|
119141
|
+
message: `${errorClass} on ${current}; no fallback: lead-only work cannot resume on agent ${parent.agentId}`
|
|
119142
|
+
};
|
|
119143
|
+
}
|
|
119144
|
+
}
|
|
119145
|
+
for (let i = path.length - 1;i >= 0; i--) {
|
|
119146
|
+
const profile = await getModelProfileByName(path[i]);
|
|
119147
|
+
for (const name of profile?.fallbacks ?? []) {
|
|
119148
|
+
configured = true;
|
|
119149
|
+
if (visited.has(name) || judged.has(name))
|
|
119150
|
+
continue;
|
|
119151
|
+
judged.add(name);
|
|
119152
|
+
const result = await checkProfileForAgent(parent.agentId, name, {
|
|
119153
|
+
vcsRepo: parent.vcsRepo,
|
|
119154
|
+
includeRepoSecrets: options.includeRepoSecrets,
|
|
119155
|
+
fallbacks: false
|
|
119156
|
+
});
|
|
119157
|
+
if (result?.ok) {
|
|
119158
|
+
return {
|
|
119159
|
+
kind: "picked",
|
|
119160
|
+
profile: name,
|
|
119161
|
+
hop: {
|
|
119162
|
+
from: current,
|
|
119163
|
+
profile: name,
|
|
119164
|
+
errorClass,
|
|
119165
|
+
at: new Date().toISOString(),
|
|
119166
|
+
...skipped.length > 0 ? { skipped } : {}
|
|
119167
|
+
}
|
|
119168
|
+
};
|
|
119169
|
+
}
|
|
119170
|
+
skipped.push({ profile: name, reason: result ? firstFailingRow(result) : "not found" });
|
|
119171
|
+
}
|
|
119172
|
+
}
|
|
119173
|
+
if (!configured)
|
|
119174
|
+
return { kind: "none", message: null };
|
|
119175
|
+
const skippedText = skipped.length > 0 ? `; skipped: ${skipped.map((s) => `${s.profile} (${s.reason})`).join(", ")}` : "";
|
|
119176
|
+
return {
|
|
119177
|
+
kind: "none",
|
|
119178
|
+
message: `${errorClass} on ${current}; no fallback left (tried: ${path.join(" → ")})${skippedText}`
|
|
119179
|
+
};
|
|
119180
|
+
}
|
|
119181
|
+
function firstFailingRow(result) {
|
|
119182
|
+
const row = result.profiles[0]?.checks.find((check) => check.state === "fail");
|
|
119183
|
+
if (!row)
|
|
119184
|
+
return "failed the profile check";
|
|
119185
|
+
return row.detail ? `${row.check}: ${row.detail}` : row.check;
|
|
119186
|
+
}
|
|
119114
119187
|
function attachmentPointer(a) {
|
|
119115
119188
|
return taskAttachmentDisplayUrl(a);
|
|
119116
119189
|
}
|
|
@@ -119353,7 +119426,12 @@ async function createResumeFollowUp2(args) {
|
|
|
119353
119426
|
let preferredAgentId;
|
|
119354
119427
|
let authorizationDecision;
|
|
119355
119428
|
const leadOnly = parent.routingAffinity?.leadOnly === true;
|
|
119356
|
-
|
|
119429
|
+
const fallbackPin = args.reason === "provider_fallback" && args.fallback !== undefined && parent.agentId ? parent.agentId : undefined;
|
|
119430
|
+
if (fallbackPin) {
|
|
119431
|
+
preferredAgentId = fallbackPin;
|
|
119432
|
+
if (leadOnly)
|
|
119433
|
+
authorizationDecision = "source_lead_pin";
|
|
119434
|
+
} else if (parent.agentId) {
|
|
119357
119435
|
const candidate = await getPinCandidateAgent2(parent.agentId);
|
|
119358
119436
|
if (candidate) {
|
|
119359
119437
|
const lastActivity = candidate.lastActivityAt ? Date.parse(candidate.lastActivityAt) : 0;
|
|
@@ -119373,7 +119451,7 @@ async function createResumeFollowUp2(args) {
|
|
|
119373
119451
|
}
|
|
119374
119452
|
}
|
|
119375
119453
|
}
|
|
119376
|
-
if (leadOnly) {
|
|
119454
|
+
if (leadOnly && !fallbackPin) {
|
|
119377
119455
|
const source = preferredAgentId ? await getAgentById2(preferredAgentId) : null;
|
|
119378
119456
|
const resolution = await resolveLeadOnlyRecoveryAssignment2(parent, source);
|
|
119379
119457
|
preferredAgentId = resolution.agentId;
|
|
@@ -119422,7 +119500,7 @@ async function createResumeFollowUp2(args) {
|
|
|
119422
119500
|
parentTaskId: parent.id,
|
|
119423
119501
|
inheritParentFollowUpConfig: true,
|
|
119424
119502
|
routingAffinity,
|
|
119425
|
-
...
|
|
119503
|
+
...resumeModelSelection(parent, args.fallback)
|
|
119426
119504
|
});
|
|
119427
119505
|
await carryUnhandledSteering(parent.id, created.id);
|
|
119428
119506
|
if (authorizationDecision) {
|
|
@@ -119446,6 +119524,11 @@ async function createResumeFollowUp2(args) {
|
|
|
119446
119524
|
}
|
|
119447
119525
|
return { kind: "created", task: created };
|
|
119448
119526
|
}
|
|
119527
|
+
function resumeModelSelection(parent, fallback) {
|
|
119528
|
+
const hops = [...parent.fallbackHops ?? [], ...fallback ? [fallback.hop] : []];
|
|
119529
|
+
const selection = fallback ? { profile: fallback.profile } : inheritedModelSelection2(parent);
|
|
119530
|
+
return { ...selection, ...hops.length > 0 ? { fallbackHops: hops } : {} };
|
|
119531
|
+
}
|
|
119449
119532
|
async function createRerouteDecisionTask2(args) {
|
|
119450
119533
|
const { original, staleResume, reason, maxGenerations } = args;
|
|
119451
119534
|
const leadAgent = await getLeadAgent2();
|
|
@@ -119526,7 +119609,9 @@ var TaskFollowUpModifySchema, WORKER_LIVENESS_WINDOW_SECONDS, RESUME_GENERATION_
|
|
|
119526
119609
|
var init_worker_follow_up = __esm(() => {
|
|
119527
119610
|
init_zod();
|
|
119528
119611
|
init_db4();
|
|
119612
|
+
init_model_profiles();
|
|
119529
119613
|
init_tracker();
|
|
119614
|
+
init_model_profile_check();
|
|
119530
119615
|
init_reachability();
|
|
119531
119616
|
init_steering2();
|
|
119532
119617
|
init_dispatcher();
|
|
@@ -123466,7 +123551,7 @@ var init_check_model_profile = __esm(() => {
|
|
|
123466
123551
|
var registerListModelProfilesTool = (server) => {
|
|
123467
123552
|
createToolRegistrar(server)("list-model-profiles", {
|
|
123468
123553
|
title: "List Model Profiles",
|
|
123469
|
-
description: "List model profiles: named harness + model + effort combinations. Pass a profile's name as `profile` on send-task to run that task on it, or set it as an agent's default through PATCH /api/agents/{id}/runtime. A profile runs only on its own harness. Filter by `harness` to see what an agent on that harness can run.",
|
|
123554
|
+
description: "List model profiles: named harness + model + effort combinations. Pass a profile's name as `profile` on send-task to run that task on it, or set it as an agent's default through PATCH /api/agents/{id}/runtime. A profile runs only on its own harness. `fallbacks` are the same-harness profiles a task hops to, in order, when a provider error (rate limit, seat, overload, auth, empty key pool) ends it. Filter by `harness` to see what an agent on that harness can run.",
|
|
123470
123555
|
annotations: { readOnlyHint: true },
|
|
123471
123556
|
inputSchema: object2({
|
|
123472
123557
|
harness: ProviderNameSchema.optional().describe("Only profiles for this harness (claude, codex, pi, ...).")
|
|
@@ -123477,12 +123562,13 @@ var registerListModelProfilesTool = (server) => {
|
|
|
123477
123562
|
harness: string2().optional(),
|
|
123478
123563
|
model: string2().optional(),
|
|
123479
123564
|
effort: string2().nullable().optional(),
|
|
123480
|
-
description: string2().nullable().optional()
|
|
123565
|
+
description: string2().nullable().optional(),
|
|
123566
|
+
fallbacks: array2(string2()).optional()
|
|
123481
123567
|
})).optional()
|
|
123482
123568
|
})
|
|
123483
123569
|
}, async ({ harness }) => {
|
|
123484
123570
|
const profiles = await listModelProfiles({ harness });
|
|
123485
|
-
const lines = profiles.map((p) => `${p.name}: ${p.harness} / ${p.model}${p.effort ? ` / effort ${p.effort}` : ""}${p.description ? ` (${p.description})` : ""}`);
|
|
123571
|
+
const lines = profiles.map((p) => `${p.name}: ${p.harness} / ${p.model}${p.effort ? ` / effort ${p.effort}` : ""}${p.fallbacks.length > 0 ? ` → fallbacks ${p.fallbacks.join(", ")}` : ""}${p.description ? ` (${p.description})` : ""}`);
|
|
123486
123572
|
return toolOk(`${profiles.length} model profile(s)${harness ? ` for ${harness}` : ""}.`, {
|
|
123487
123573
|
details: lines.join(`
|
|
123488
123574
|
`),
|
|
@@ -123492,7 +123578,8 @@ var registerListModelProfilesTool = (server) => {
|
|
|
123492
123578
|
harness: p.harness,
|
|
123493
123579
|
model: p.model,
|
|
123494
123580
|
effort: p.effort,
|
|
123495
|
-
description: p.description
|
|
123581
|
+
description: p.description,
|
|
123582
|
+
fallbacks: p.fallbacks
|
|
123496
123583
|
}))
|
|
123497
123584
|
}
|
|
123498
123585
|
});
|
|
@@ -140224,7 +140311,7 @@ var agentOutputShape4, registerUpdateProfileTool = (server) => {
|
|
|
140224
140311
|
setupScript: string2().max(MAX_PROFILE_FILE_LENGTH).optional().describe("Setup script content (bash). Runs at container start as the worker user after privilege drop. Persists across sessions. Also written to /workspace/start-up.sh."),
|
|
140225
140312
|
toolsMd: string2().max(MAX_PROFILE_FILE_LENGTH).optional().describe("Environment-specific operational knowledge. Synced to /workspace/TOOLS.md. Above 20,000 characters, updates may only keep or reduce the stored size; move durable overflow into memory."),
|
|
140226
140313
|
heartbeatMd: string2().max(MAX_PROFILE_FILE_LENGTH).optional().describe("Heartbeat checklist content (HEARTBEAT.md). Checked periodically — add standing orders for the lead to review. Synced to /workspace/HEARTBEAT.md."),
|
|
140227
|
-
avatar: AgentAvatarSchema.nullable().optional().describe("Custom avatar: { type: 'lucide', icon: '<kebab-case-lucide-name>', color?: '#RRGGBB' }. Pass null to reset to the default deterministic icon/color."),
|
|
140314
|
+
avatar: AgentAvatarSchema.nullable().optional().describe("Custom avatar, one of: { type: 'lucide', icon: '<kebab-case-lucide-name>', color?: '#RRGGBB' }; { type: 'url', url: 'https://…' } (https image, no credentials); { type: 'agent-fs', path: '/agents/<id>/avatar.png', orgId?, driveId? } (an image in agent-fs; pass both IDs or neither for the swarm drive). An image that cannot load falls back to the default glyph. Pass null to reset to the default deterministic icon/color."),
|
|
140228
140315
|
slackIcon: AgentSlackIconSchema.nullable().optional().describe("Slack icon for this agent's messages: { type: 'emoji', emoji: ':owl:' } or { type: 'url', url: 'https://…' }, or { type: 'app' } for the Slack app's own icon. A link Slack cannot load falls back to the Slack app's icon. Pass null to reset to the default.")
|
|
140229
140316
|
}),
|
|
140230
140317
|
outputSchema: swarmToolOutputSchema({
|
|
@@ -141993,4 +142080,4 @@ var init_server = __esm(() => {
|
|
|
141993
142080
|
loggedToolAllowlistWarnings = new Set;
|
|
141994
142081
|
});
|
|
141995
142082
|
|
|
141996
|
-
export { DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCErrorResponse, JSONRPCMessageSchema, isInitializeRequest, init_types, McpServer, init_mcp, repointTrackerSyncBySwarmId, init_tracker, isRuntimePoolWakeable, isAgentReachable, init_reachability, referencedBundlePaths, skillDirs, init_manifest_format, TaskCreationBlockedError, init_errors2, resolveIdentity, renderIdentity, init_identity, recordUnmappedIdentity, init_unmapped_identities, MAX_TASK_ATTACHMENT_BYTES, recordTaskAttachmentUpload, scopeFromAttachment, backingProviderId, init_task_attachment_store, stripSiblingBlock, init_sibling_block, createTaskWithSiblingAwareness, init_sibling_awareness, transcribeAudioNotes, init_transcription, init_templates, buildEffectiveText, bufferedFileFailures, fetchSlackFiles, createSlackTaskWithFiles, notifySlackFileFailures, init_inbound_files, isAddressedToOtherUser, broadcastMatches, routeMessage, extractTaskFromMessage, init_router, extractSlackMessageText, slackInboundMessageText, collectSlackMessageFiles, init_message_text, createAdditiveBuffer, init_additive_buffer, recoverIncompleteRuns, init_recovery, handleWebhookTrigger, verifyHmacSignature, WebhookError, init_triggers, snapshotAndUpdateWorkflow, init_version, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, init_raw_llm, getExecutorRegistry2, initWorkflows2, init_workflows, dispatchScheduleTarget, calculateNextRun2, startScheduler2, stopScheduler2, runScheduleNow2, init_scheduler, ExtensionAssetConflictError, init_assets, ExtensionOwnershipError, getExtensionFiles, getExtensionById, getExtensionByName, listExtensions, listExtensionVersions, updateExtensionMeta, listExtensionRuns, init_db, SDK_ALLOWLIST, mcpToolNameForSdkMethod, init_sdk_allowlist, MCP_OVERFLOW_NAMESPACE, mcpOverflowAuthError, init_kv_overflow, hasKvViewArgs, resolveKvView, init_kv_view, COLOR_LITERAL_THRESHOLD, countColorLiterals, init_color_literals, toolErr, createToolRegistrar, init_utils, handleMcpBridge, init_mcp_bridge, Redacted, init_redacted, SCRIPT_SDK_RESPONSE_LIMIT_BYTES, readScriptSdkJsonResponse, init_response_limit, ExtensionConfigError, init_loader, ExtensionLifecycleError, setExtensionLoopbackBaseUrl, enableExtension, disableExtension, activateVersion, ExtensionAssetsInvalidError, installExtensionWithAssets, uninstallExtension, reloadExtension, loadEnabledExtensions, stopExtensionRuntime, init_lifecycle, ExtensionAbortedError2, isRegistered2, isExtensionAgentId2, getExtensionBridgeToken2, resolveBridgeCallOrigin2, extensionIdForAgent2, runContext2, registerLoaded2, unregister2, listRegistered2, dispatchPre2, dispatchPost2, init_dispatcher, REBOOT_RETRY_PIN_TAG2, getPinCandidateAgent2, resolveLeadOnlyRecoveryAssignment2, getResumeGeneration2, getNextResumeGeneration2, inheritedModelSelection2, createWorkerTaskFollowUp2, createResumeFollowUp2, createRerouteDecisionTask2, createPoolStarvationDecisionTask2, init_worker_follow_up, isGitHubEnabled, initGitHub, verifyWebhookSignature, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, isInboxAllowed, isSenderAllowed, handleMessageReceived, init_agentmail, isAzureDevOpsEnabled, initAzureDevOps, verifyAzureDevOpsWebhook, isAzureDevOpsUrl, canonicalAzureDevOpsRepoUrl, parseAzureDevOpsRepoUrl, init_azure_devops, createdPullRequestOf, commentedPayloadOf, handlePullRequestCreated, handlePullRequestCommented, handleWorkItemCreated, handleWorkItemUpdated, handleWorkItemCommented, handleWorkItemDeleted, handleWorkItemRestored, initAzureDevOpsOutbound, init_azure_devops2, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, init_rbac_audit, getTelemetryIngestAnchor, init_telemetry_ingest_anchor, initApiTelemetry, syncTelemetryEnabled, init_telemetry_enable, isBitbucketEnabled, initBitbucket, verifyBitbucketWebhook, isDuplicateDelivery, markDeliveryProcessed, pullRequestEventOf, pullRequestCommentEventOf, handlePullRequestCreated2, handlePullRequestCommentCreated, handlePullRequestClosed, init_bitbucket, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, init_github, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2, handleNote, handlePipeline, init_gitlab, isChatSdkEnabled, getChatSdkConfig, init_config, errorMessage, init_logger, resolveAdapterApiUrl, init_adapters, trackBackground, init_background, TelegramBotApiError, callTelegramBotApi, init_telegram_api, isTrustedTeamsServiceUrl, init_teams_origin, getSessionLabels, rememberSessionLabel, getResourceSessionLabels, init_session_labels, isChatSdkStopping, startChatSdk, getChatInstance, isChatAdapterConfigured, getChatSdkHealth, stopChatSdk, init_runtime, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, init_metadata, registerJiraWebhook, deleteJiraWebhook, init_webhook_lifecycle, isJiraEnabled, initJira, init_app, handleJiraWebhook, init_webhook, init_jira, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, init_sync, isLinearEnabled, initLinear, init_app2, init_linear, init_slack, verifyPageSession, LEGACY_PAGE_SESSION_COOKIE, isCookieSafePageId, extractPageSession, extractLegacyPageSession, extractAndVerifyCookie, isLocalDevPageRequest, pageSessionSetCookies, init_page_session, resolveHttpRequestAuth, init_auth, getDeploymentEnvValue, loadGlobalConfigsIntoEnv, reloadGlobalConfigsAndIntegrations, scheduleIntegrationsReload, handleCore, init_core, MCP_MAX_TOOL_INPUT_ELEMENTS, MCP_MAX_REQUEST_BODY_BYTES, init_mcp_limits, userCtx, init_task_tool_ctx, requestPrincipal, agentFirstPrincipal, requireAuthKind, rejectGuest, init_request_principal, handleApps, init_apps, cancelApprovalRequest, cancelApprovalRequestAndRun, init_approval_cancel, getUserCommsPrefs, init_requester_comms, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, init_get_task_details, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, init_cancel_task, executeReadOnlyQuery, assertSelectOnlyQuery, handleDbQuery, init_db_query, snapshotMetric, init_version2, AssetKeyAuthorizationError, authorizeAssetKeyWrite, init_asset_key_auth, getPageEditCounter, init_page_versions, snapshotPage, init_version3, DEFAULT_THEME_ID, THEME_PRESET_IDS, getThemePreset, init_presets, readThemeFields, init_page_fields, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, init_app_validation, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, init_presets2, scopedResourceScopeIdSchema, resolveScopedResourceId, init_scoped_resource, MemoryKeyError, init_key_guard, refreshLinks, init_link_resolver, indexMemoryContent, init_index_content, dedupeMemoryDocumentIds, recordMemoryAccesses, recordRetrievals, init_retrieval, ExplicitSelfDuplicateError, applyRating, init_store, shouldPersistAutomaticTaskMemory, init_automatic_task_gate, guardTerminalTaskResultWrite, init_terminal_result_guard, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, init_get_tasks, reservedNamespaceError, privateNamespaceError, reservedRoomKeyError, init_kv_reserved_namespaces, updateMcpServerChecked, init_mcp_server_checked_update, updateTouchesStdioExecution, init_mcp_server_stdio_gate, canReadMemory, init_access, getLinksForMemory, init_links_store, expandCandidatesWithGraph, init_graph_expansion, isApiDraining, drainApi, init_api_drain, markKapsoMessageRead, sendKapsoReaction, init_client, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, init_config2, changesAllowMerge, init_repo_merge_policy, updateSwarmRepoChecked, init_repo_checked_update, getCombConfig, init_config3, resolveRoomNamespace, roomRequestInfo, authorizeRoomNamespace, sessionAccessTopic, sessionPresenceRoot, init_auth2, RoomOperationSchema, init_document, removeAwarenessStates, init_awareness, roomTopic, decodeRoomSnapshot, roomView, getRoom, changeRoom, applyRoomUpdate, resetRoom, sweepRooms, closeRooms, removeNamespaceRooms, init_rooms, init_scheduler2, MEMORY_KEYS_DEFAULT_PREFIX, MEMORY_KEYS_MAX_LIMIT, estimateTokens, posteriorMean, listMemoryKeys, checkChunkIntegrity, getMemoryChunks, getPosteriorsByIds, init_key_browser, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, init_events, mergeScheduleTiming, validateRecurringTiming, init_validate, followUpThreadForSourceTask, evaluateFollowUpRedelegation, init_follow_up_redelegation_guard, checkOutputSchemaShape, sendTaskOutputSchema, sendTaskHandler, init_send_task, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, init_steer_task, skipReasonFrom, finalizeSkippedTaskReaction, init_task_skip, IMPROVEMENT_TEXT_MAX, IMPROVEMENT_STATUSES, IMPROVEMENT_SOURCES, ImprovementError, isImprovementsEnabled, getImprovement, listImprovements, createImprovement, approveAndSend, discardImprovement, improvementLeakHints, init_improvements, canClaim, init_budget_admission, emitBudgetRefusalSideEffects, init_budget_refusal_notify, workflowModelErrors, init_model_validation, patchWorkflowDefinition, init_patch_definition, idempotencyKeyHeader, readIdempotencyKey, replayAcceptedOperation, init_idempotency_key, resolveScriptsOnlyMode, init_scripts_only_mode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer, init_server };
|
|
142083
|
+
export { DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCErrorResponse, JSONRPCMessageSchema, isInitializeRequest, init_types, McpServer, init_mcp, repointTrackerSyncBySwarmId, init_tracker, isRuntimePoolWakeable, isAgentReachable, init_reachability, referencedBundlePaths, skillDirs, init_manifest_format, TaskCreationBlockedError, init_errors2, resolveIdentity, renderIdentity, init_identity, recordUnmappedIdentity, init_unmapped_identities, MAX_TASK_ATTACHMENT_BYTES, recordTaskAttachmentUpload, scopeFromAttachment, backingProviderId, init_task_attachment_store, stripSiblingBlock, init_sibling_block, createTaskWithSiblingAwareness, init_sibling_awareness, transcribeAudioNotes, init_transcription, init_templates, buildEffectiveText, bufferedFileFailures, fetchSlackFiles, createSlackTaskWithFiles, notifySlackFileFailures, init_inbound_files, isAddressedToOtherUser, broadcastMatches, routeMessage, extractTaskFromMessage, init_router, extractSlackMessageText, slackInboundMessageText, collectSlackMessageFiles, init_message_text, createAdditiveBuffer, init_additive_buffer, recoverIncompleteRuns, init_recovery, handleWebhookTrigger, verifyHmacSignature, WebhookError, init_triggers, snapshotAndUpdateWorkflow, init_version, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, init_raw_llm, getExecutorRegistry2, initWorkflows2, init_workflows, dispatchScheduleTarget, calculateNextRun2, startScheduler2, stopScheduler2, runScheduleNow2, init_scheduler, ExtensionAssetConflictError, init_assets, ExtensionOwnershipError, getExtensionFiles, getExtensionById, getExtensionByName, listExtensions, listExtensionVersions, updateExtensionMeta, listExtensionRuns, init_db, SDK_ALLOWLIST, mcpToolNameForSdkMethod, init_sdk_allowlist, MCP_OVERFLOW_NAMESPACE, mcpOverflowAuthError, init_kv_overflow, hasKvViewArgs, resolveKvView, init_kv_view, COLOR_LITERAL_THRESHOLD, countColorLiterals, init_color_literals, toolErr, createToolRegistrar, init_utils, handleMcpBridge, init_mcp_bridge, Redacted, init_redacted, SCRIPT_SDK_RESPONSE_LIMIT_BYTES, readScriptSdkJsonResponse, init_response_limit, ExtensionConfigError, init_loader, ExtensionLifecycleError, setExtensionLoopbackBaseUrl, enableExtension, disableExtension, activateVersion, ExtensionAssetsInvalidError, installExtensionWithAssets, uninstallExtension, reloadExtension, loadEnabledExtensions, stopExtensionRuntime, init_lifecycle, ExtensionAbortedError2, isRegistered2, isExtensionAgentId2, getExtensionBridgeToken2, resolveBridgeCallOrigin2, extensionIdForAgent2, runContext2, registerLoaded2, unregister2, listRegistered2, dispatchPre2, dispatchPost2, init_dispatcher, REBOOT_RETRY_PIN_TAG2, getPinCandidateAgent2, resolveLeadOnlyRecoveryAssignment2, getResumeGeneration2, getNextResumeGeneration2, inheritedModelSelection2, nextFallback2, createWorkerTaskFollowUp2, createResumeFollowUp2, createRerouteDecisionTask2, createPoolStarvationDecisionTask2, init_worker_follow_up, isGitHubEnabled, initGitHub, verifyWebhookSignature, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, isInboxAllowed, isSenderAllowed, handleMessageReceived, init_agentmail, isAzureDevOpsEnabled, initAzureDevOps, verifyAzureDevOpsWebhook, isAzureDevOpsUrl, canonicalAzureDevOpsRepoUrl, parseAzureDevOpsRepoUrl, init_azure_devops, createdPullRequestOf, commentedPayloadOf, handlePullRequestCreated, handlePullRequestCommented, handleWorkItemCreated, handleWorkItemUpdated, handleWorkItemCommented, handleWorkItemDeleted, handleWorkItemRestored, initAzureDevOpsOutbound, init_azure_devops2, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, init_rbac_audit, getTelemetryIngestAnchor, init_telemetry_ingest_anchor, initApiTelemetry, syncTelemetryEnabled, init_telemetry_enable, isBitbucketEnabled, initBitbucket, verifyBitbucketWebhook, isDuplicateDelivery, markDeliveryProcessed, pullRequestEventOf, pullRequestCommentEventOf, handlePullRequestCreated2, handlePullRequestCommentCreated, handlePullRequestClosed, init_bitbucket, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, init_github, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2, handleNote, handlePipeline, init_gitlab, isChatSdkEnabled, getChatSdkConfig, init_config, errorMessage, init_logger, resolveAdapterApiUrl, init_adapters, trackBackground, init_background, TelegramBotApiError, callTelegramBotApi, init_telegram_api, isTrustedTeamsServiceUrl, init_teams_origin, getSessionLabels, rememberSessionLabel, getResourceSessionLabels, init_session_labels, isChatSdkStopping, startChatSdk, getChatInstance, isChatAdapterConfigured, getChatSdkHealth, stopChatSdk, init_runtime, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, init_metadata, registerJiraWebhook, deleteJiraWebhook, init_webhook_lifecycle, isJiraEnabled, initJira, init_app, handleJiraWebhook, init_webhook, init_jira, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, init_sync, isLinearEnabled, initLinear, init_app2, init_linear, init_slack, verifyPageSession, LEGACY_PAGE_SESSION_COOKIE, isCookieSafePageId, extractPageSession, extractLegacyPageSession, extractAndVerifyCookie, isLocalDevPageRequest, pageSessionSetCookies, init_page_session, resolveHttpRequestAuth, init_auth, getDeploymentEnvValue, loadGlobalConfigsIntoEnv, reloadGlobalConfigsAndIntegrations, scheduleIntegrationsReload, handleCore, init_core, MCP_MAX_TOOL_INPUT_ELEMENTS, MCP_MAX_REQUEST_BODY_BYTES, init_mcp_limits, userCtx, init_task_tool_ctx, requestPrincipal, agentFirstPrincipal, requireAuthKind, rejectGuest, init_request_principal, handleApps, init_apps, cancelApprovalRequest, cancelApprovalRequestAndRun, init_approval_cancel, getUserCommsPrefs, init_requester_comms, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, init_get_task_details, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, init_cancel_task, DbQueryTimeoutError, DbQueryConcurrencyCapError, executeReadOnlyQuery, getDbQueryHttpBudgetMs, init_db_query_shared, assertSelectOnlyQuery, executeReadOnlyQueryGated, handleDbQuery, init_db_query, snapshotMetric, init_version2, AssetKeyAuthorizationError, authorizeAssetKeyWrite, init_asset_key_auth, getPageEditCounter, init_page_versions, snapshotPage, init_version3, DEFAULT_THEME_ID, THEME_PRESET_IDS, getThemePreset, init_presets, readThemeFields, init_page_fields, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, init_app_validation, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, init_presets2, scopedResourceScopeIdSchema, resolveScopedResourceId, init_scoped_resource, MemoryKeyError, init_key_guard, refreshLinks, init_link_resolver, indexMemoryContent, init_index_content, dedupeMemoryDocumentIds, recordMemoryAccesses, recordRetrievals, init_retrieval, ExplicitSelfDuplicateError, applyRating, init_store, shouldPersistAutomaticTaskMemory, init_automatic_task_gate, guardTerminalTaskResultWrite, init_terminal_result_guard, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, init_get_tasks, reservedNamespaceError, privateNamespaceError, reservedRoomKeyError, init_kv_reserved_namespaces, updateMcpServerChecked, init_mcp_server_checked_update, updateTouchesStdioExecution, init_mcp_server_stdio_gate, canReadMemory, init_access, getLinksForMemory, init_links_store, expandCandidatesWithGraph, init_graph_expansion, isApiDraining, drainApi, init_api_drain, markKapsoMessageRead, sendKapsoReaction, init_client, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, init_config2, changesAllowMerge, init_repo_merge_policy, updateSwarmRepoChecked, init_repo_checked_update, getCombConfig, init_config3, resolveRoomNamespace, roomRequestInfo, authorizeRoomNamespace, sessionAccessTopic, sessionPresenceRoot, init_auth2, RoomOperationSchema, init_document, removeAwarenessStates, init_awareness, roomTopic, decodeRoomSnapshot, roomView, getRoom, changeRoom, applyRoomUpdate, resetRoom, sweepRooms, closeRooms, removeNamespaceRooms, init_rooms, init_scheduler2, MEMORY_KEYS_DEFAULT_PREFIX, MEMORY_KEYS_MAX_LIMIT, estimateTokens, posteriorMean, listMemoryKeys, checkChunkIntegrity, getMemoryChunks, getPosteriorsByIds, init_key_browser, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, init_events, mergeScheduleTiming, validateRecurringTiming, init_validate, followUpThreadForSourceTask, evaluateFollowUpRedelegation, init_follow_up_redelegation_guard, checkOutputSchemaShape, sendTaskOutputSchema, sendTaskHandler, init_send_task, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, init_steer_task, skipReasonFrom, finalizeSkippedTaskReaction, init_task_skip, IMPROVEMENT_TEXT_MAX, IMPROVEMENT_STATUSES, IMPROVEMENT_SOURCES, ImprovementError, isImprovementsEnabled, getImprovement, listImprovements, createImprovement, approveAndSend, discardImprovement, improvementLeakHints, init_improvements, canClaim, init_budget_admission, emitBudgetRefusalSideEffects, init_budget_refusal_notify, workflowModelErrors, init_model_validation, patchWorkflowDefinition, init_patch_definition, idempotencyKeyHeader, readIdempotencyKey, replayAcceptedOperation, init_idempotency_key, resolveScriptsOnlyMode, init_scripts_only_mode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer, init_server };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CONTROLLER_COMMAND_TIMEOUT_MS,
|
|
5
5
|
RuntimeHandleSchema,
|
|
6
6
|
ControllerStatusResultSchema
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-9mb2q6pb.js";
|
|
8
8
|
import {
|
|
9
9
|
getDbClient2,
|
|
10
10
|
validateControllerGraceSec,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
upsertSwarmConfig2,
|
|
22
22
|
getResolvedConfig2,
|
|
23
23
|
init_db4
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-rcecc3yq.js";
|
|
25
25
|
import {
|
|
26
26
|
getPoolCache,
|
|
27
27
|
reconcileCacheReleases,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
getPoolForAgent2,
|
|
36
36
|
resolvePoolDelivery2,
|
|
37
37
|
init_db2
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-97ae65rz.js";
|
|
39
39
|
import {
|
|
40
40
|
workflowEventBus2,
|
|
41
41
|
init_event_bus
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
init_worker_follow_up,
|
|
46
46
|
canClaim,
|
|
47
47
|
init_budget_admission
|
|
48
|
-
} from "./cli-
|
|
48
|
+
} from "./cli-3e875j5p.js";
|
|
49
49
|
import {
|
|
50
50
|
runtimeStaleThresholdMinutes,
|
|
51
51
|
getRuntimeInstanceById,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
listRuntimeInstancesForAgent,
|
|
55
55
|
listRuntimeInstancesForPool,
|
|
56
56
|
init_multi_runtime
|
|
57
|
-
} from "./cli-
|
|
57
|
+
} from "./cli-jdknh18m.js";
|
|
58
58
|
import {
|
|
59
59
|
isMultiRuntimeEnabled,
|
|
60
60
|
init_multi_runtime2
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
canProvisionKind,
|
|
64
64
|
createRuntimeProvider,
|
|
65
65
|
init_runtime_providers
|
|
66
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-z1w943va.js";
|
|
67
67
|
import {
|
|
68
68
|
import_websocket,
|
|
69
69
|
init_wrapper2
|
|
@@ -71,12 +71,12 @@ import {
|
|
|
71
71
|
import {
|
|
72
72
|
mintRuntimeToken,
|
|
73
73
|
init_users
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-f4e8r23x.js";
|
|
75
75
|
import {
|
|
76
76
|
TERMINAL_TASK_STATUSES,
|
|
77
77
|
isTerminalTaskStatus,
|
|
78
78
|
init_types4
|
|
79
|
-
} from "./cli-
|
|
79
|
+
} from "./cli-pchypa1s.js";
|
|
80
80
|
import {
|
|
81
81
|
init_zod
|
|
82
82
|
} from "./cli-zcfpsfzf.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
import {
|
|
97
97
|
resolveWorkerApiUrl,
|
|
98
98
|
init_worker_api_url
|
|
99
|
-
} from "./cli-
|
|
99
|
+
} from "./cli-rh15cakt.js";
|
|
100
100
|
import {
|
|
101
101
|
RUNTIME_LABELS,
|
|
102
102
|
init_types5
|
|
@@ -546,7 +546,7 @@ async function recoverSessions(runtimeId, reason) {
|
|
|
546
546
|
}
|
|
547
547
|
if (!sessions.length)
|
|
548
548
|
return;
|
|
549
|
-
const { remediateTaskForDeadRuntime } = await import("./heartbeat-
|
|
549
|
+
const { remediateTaskForDeadRuntime } = await import("./heartbeat-a1tv60gt.js");
|
|
550
550
|
for (const session of sessions) {
|
|
551
551
|
try {
|
|
552
552
|
const task = await getTaskById2(session.taskId);
|