@desplega.ai/agent-swarm 2.7.9 → 2.8.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/dist/acp-adapter-t949vbbp.js +15 -0
- package/dist/{actions-g563mbn2.js → actions-7e9czc7s.js} +19 -19
- package/dist/{amp-adapter-q61w05eb.js → amp-adapter-gv6cbb7d.js} +2 -3
- package/dist/app-b9fbkp9v.js +20 -0
- package/dist/{assistant-p477rjwj.js → assistant-wjb7v4c7.js} +22 -22
- package/dist/{boot-args-schema-h4qj462e.js → boot-args-schema-2t37e0fe.js} +1 -1
- package/dist/{boot-reembed-n1ehfbsw.js → boot-reembed-a35nkyr1.js} +1 -1
- package/dist/{boot-reembed-qw4mc0pt.js → boot-reembed-gka3zas7.js} +1 -1
- package/dist/{boot-scrub-sweep-9w9jp4sm.js → boot-scrub-sweep-65sdnp6c.js} +3 -3
- package/dist/{boot-seeds-qdaf3sdy.js → boot-seeds-x42tzytw.js} +4 -5
- package/dist/{claude-adapter-348p5hx9.js → claude-adapter-v221b2fd.js} +7 -8
- package/dist/{claude-managed-adapter-h74d06yz.js → claude-managed-adapter-29eq09wd.js} +2 -2
- package/dist/{claude-managed-setup-7787fxtp.js → claude-managed-setup-9m6450zk.js} +2 -2
- package/dist/{claude-sdk-session-hbszbt8a.js → claude-sdk-session-0q0ptaba.js} +9066 -8818
- package/dist/{cli-n5yexkdg.js → cli-0b4zam62.js} +1 -0
- package/dist/{cli-21159vea.js → cli-0jzra9ad.js} +2 -2
- package/dist/{cli-eqtfgfr6.js → cli-2gxeg5gr.js} +1 -1
- package/dist/{cli-k70e3x9e.js → cli-2wnq8jkz.js} +9 -9
- package/dist/{cli-cvs2r2vq.js → cli-2zp0et3v.js} +59 -6
- package/dist/{cli-650zv9q9.js → cli-334z18y3.js} +4 -4
- package/dist/{cli-12xyjhws.js → cli-3rkdne1h.js} +2 -2
- package/dist/{cli-2a8py3sx.js → cli-4txa0ter.js} +5 -7
- package/dist/{cli-jc1g9ndz.js → cli-5j88qqa8.js} +10 -5
- package/dist/{cli-xfjrc279.js → cli-5mrq3ake.js} +48 -14
- package/dist/{cli-v3cf1ts9.js → cli-6t09sdhy.js} +3 -3
- package/dist/{cli-qzt90yze.js → cli-6wxjceza.js} +8 -8
- package/dist/{cli-9aezs55w.js → cli-7b8sbmag.js} +8 -8
- package/dist/{cli-3xj33nrx.js → cli-7cp6aa1q.js} +10 -3
- package/dist/{cli-jfx48xrj.js → cli-7p1kvkck.js} +6 -6
- package/dist/{cli-b932gexn.js → cli-8aes17e4.js} +2 -2
- package/dist/{cli-3tqcamp6.js → cli-8fknbnhw.js} +14 -13
- package/dist/{cli-587857ys.js → cli-8kzasymh.js} +3 -3
- package/dist/{cli-sgs5k6yd.js → cli-a7wvp2km.js} +1 -1
- package/dist/{cli-varqt4d1.js → cli-abejgen1.js} +69 -22
- package/dist/{cli-rwymrnaz.js → cli-bsywb58a.js} +8 -8
- package/dist/{cli-btc9cb4c.js → cli-c55z5chy.js} +4 -6
- package/dist/{cli-ms5m5r1y.js → cli-deefvewm.js} +1 -1
- package/dist/{cli-p17970qv.js → cli-ee0b971j.js} +3 -3
- package/dist/cli-f3vq58d2.js +242 -0
- package/dist/{cli-3xcwp3z8.js → cli-ffhtssbp.js} +2 -2
- package/dist/{cli-hwprv9e4.js → cli-g70vxtjh.js} +2 -2
- package/dist/{cli-4t0fmf3z.js → cli-gxkx0zzp.js} +1 -1
- package/dist/{cli-neyag5p6.js → cli-h38x262p.js} +3365 -429
- package/dist/{cli-2ccpqyyf.js → cli-j790gp2w.js} +105 -22
- package/dist/{cli-f2zenhja.js → cli-kc7v1nfv.js} +1 -1
- package/dist/{cli-vxh6acp7.js → cli-m23zjcy2.js} +10 -10
- package/dist/{cli-y8nbefpb.js → cli-m28atx8q.js} +12 -10
- package/dist/{cli-serm8zrx.js → cli-m4dqmnbp.js} +1 -1
- package/dist/{cli-ybjdc978.js → cli-mrt48bx7.js} +7 -4
- package/dist/{cli-y5rbvxhc.js → cli-n515ex5z.js} +14 -14
- package/dist/{cli-ypff1qwp.js → cli-n9ftpys4.js} +7 -7
- package/dist/{cli-605nn699.js → cli-p1bq50aa.js} +894 -226
- package/dist/{cli-qkdmz8c8.js → cli-p1w18yhx.js} +1 -1
- package/dist/{cli-xk879m3k.js → cli-p2gfst4m.js} +52 -43
- package/dist/{cli-sya22y84.js → cli-pasjcnmj.js} +12 -12
- package/dist/{cli-0whpms1z.js → cli-qa4wdgsy.js} +5 -5
- package/dist/{cli-ejkvvqbe.js → cli-qfedvmcr.js} +50 -24
- package/dist/{cli-tqq0hspb.js → cli-qmqk2yc2.js} +1 -1
- package/dist/{cli-qmd3mse0.js → cli-qsnnd04k.js} +1 -1
- package/dist/{cli-agyaeef4.js → cli-qwca7s44.js} +3 -3
- package/dist/{cli-fayav105.js → cli-rfywm85n.js} +724 -792
- package/dist/{cli-zgv8gxgs.js → cli-rmmpt0wm.js} +6 -6
- package/dist/{cli-hae9j8sv.js → cli-rzsy6nc6.js} +12 -8
- package/dist/{cli-btf6fw39.js → cli-s7t6p9my.js} +1 -1
- package/dist/{cli-cseh6f8w.js → cli-sdtt3men.js} +1 -1
- package/dist/{cli-9r5gtwjr.js → cli-tk7cjj8h.js} +197 -2
- package/dist/{cli-q26b9wre.js → cli-tph5wt3y.js} +4 -4
- package/dist/{cli-gce09r66.js → cli-tqegb8eq.js} +3 -3
- package/dist/{cli-kf3pxxdg.js → cli-v1dv1r37.js} +1 -1
- package/dist/{cli-09kmfkmq.js → cli-wcg8x116.js} +1 -1
- package/dist/{cli-mnrkgg60.js → cli-wk18cm92.js} +5 -5
- package/dist/{cli-p0m0p34z.js → cli-x1wa213s.js} +3 -3
- package/dist/{cli-jrp1dt73.js → cli-xzm9vcfg.js} +1 -1
- package/dist/{cli-715t1gx6.js → cli-y97qxcfx.js} +9 -9
- package/dist/{cli-bc779n4v.js → cli-yq3zak69.js} +1 -1
- package/dist/cli.js +17 -17
- package/dist/{codex-adapter-ysq6bzha.js → codex-adapter-30j9bpzd.js} +5 -6
- package/dist/{codex-hook-fac6175r.js → codex-hook-h3vk6xzr.js} +1 -1
- package/dist/{codex-session-runner-qakzfx93.js → codex-session-runner-8vp57v8w.js} +5 -6
- package/dist/{commands-rs7hkv9r.js → commands-bngnz9g7.js} +3 -3
- package/dist/{controller-r5x9bg6e.js → controller-hxx8wwy1.js} +2 -2
- package/dist/{controllers-connect-498hrxvk.js → controllers-connect-e2b4gyxc.js} +20 -20
- package/dist/{cursor-adapter-d46qszer.js → cursor-adapter-n5nc3mfe.js} +1 -2
- package/dist/{db-s13dqhr6.js → db-bgm7vkc0.js} +3 -3
- package/dist/{db-pm96nhdb.js → db-c6np41ca.js} +12 -2
- package/dist/{devin-adapter-z46ep5ph.js → devin-adapter-xedz98zv.js} +1 -1
- package/dist/{dispatcher-j3h81t7m.js → dispatcher-jnybck15.js} +18 -18
- package/dist/{dsh-adapter-rw0d5rc4.js → dsh-adapter-nrhbrjz8.js} +1 -2
- package/dist/{easter-egg-3d-qtgfxgze.js → easter-egg-3d-533knw22.js} +1 -1
- package/dist/{embedding-space-xh8p4q4x.js → embedding-space-crsm2zp0.js} +6 -6
- package/dist/{embeddings-wp745m91.js → embeddings-e7z3f27f.js} +1 -1
- package/dist/{execute-2fzb9z74.js → execute-b3mrb1mv.js} +1 -1
- package/dist/{external-channel-ys21h3sy.js → external-channel-m77wf5z3.js} +2 -2
- package/dist/{fx-adapter-vz0b9z3g.js → fx-adapter-b6w0kf56.js} +7 -8
- package/dist/{google-generative-ai-ytpgncx9.js → google-generative-ai-h7s3e9kk.js} +1 -1
- package/dist/{google-vertex-tqhze5j7.js → google-vertex-fhxaafzw.js} +1 -1
- package/dist/{grok-adapter-spea7zkj.js → grok-adapter-4sqtebdk.js} +7 -8
- package/dist/handlers-kdjcyzdj.js +32 -0
- package/dist/heartbeat-xgb036sx.js +43 -0
- package/dist/{hook-amcj4s10.js → hook-5h02c9ga.js} +6 -6
- package/dist/{hook-bc6n49qn.js → hook-xsk1jbha.js} +5 -5
- package/dist/{http-7374brv5.js → http-txe7qhvn.js} +448 -165
- package/dist/{index-pxn30mse.js → index-0eny15vj.js} +8 -8
- package/dist/{index-5a9jtqde.js → index-0rvk3vd4.js} +46 -46
- package/dist/{index-fvzke5kx.js → index-1qw6f2dc.js} +10 -10
- package/dist/{index-q5cmtbz5.js → index-4a0670yh.js} +15939 -14244
- package/dist/index-835xdgnm.js +33 -0
- package/dist/index-d469300x.js +37 -0
- package/dist/{index-h7f61sy9.js → index-e5pfbsys.js} +3 -3
- package/dist/{index-hsad2t3r.js → index-m5gx1xd6.js} +38 -38
- package/dist/{index-5fx3b3kw.js → index-rvccek1w.js} +9 -9
- package/dist/index-rzqwp11g.js +32 -0
- package/dist/{index-w4m9z29z.js → index-tvfafeyy.js} +1 -1
- package/dist/{index-c9y31ytf.js → index-vk63emp7.js} +979 -35
- package/dist/{index-514d9pf6.js → index-w7em4ktq.js} +8 -8
- package/dist/{index-p4hjwbvw.js → index-ysvbhg5m.js} +1 -1
- package/dist/{keepalive-wy29kbrg.js → keepalive-4zsrce78.js} +3 -3
- package/dist/lead-yqt47dkr.js +70 -0
- package/dist/{maintenance-h2ds9w6c.js → maintenance-86jvartk.js} +1 -1
- package/dist/{oauth-refresh-sweep-q7mtbyp3.js → oauth-refresh-sweep-j52kg9pr.js} +2 -2
- package/dist/{onboard-vw8r2fdw.js → onboard-c2aj5p8q.js} +3 -3
- package/dist/{opencode-adapter-mtb0953j.js → opencode-adapter-dsagkhtw.js} +5 -6
- package/dist/{otel-impl-j42czw3r.js → otel-impl-yyy203z8.js} +1 -1
- package/dist/{pi-mono-adapter-zk8pg9jr.js → pi-mono-adapter-546cd1cc.js} +9 -9
- package/dist/{pricing-refresh-x7nhv23d.js → pricing-refresh-1rgzqyzz.js} +2 -3
- package/dist/{rbac-roles-9044425x.js → rbac-roles-e70xfeyj.js} +4 -6
- package/dist/{rbac-roles-bzvee6cf.js → rbac-roles-q89qe8er.js} +3 -3
- package/dist/{registry-hpjfmcfz.js → registry-32b1mft6.js} +1 -1
- package/dist/{render-v2-t7bn4skz.js → render-v2-k6tt107q.js} +9 -4
- package/dist/{resume-x94gemep.js → resume-cnnrjfxa.js} +6 -6
- package/dist/{runtime-breq6fmv.js → runtime-1hv06jsn.js} +1 -1
- package/dist/{session-access-q7dmqjvt.js → session-access-xkxkjw3n.js} +4 -4
- package/dist/{session-source-backfill-440ysamr.js → session-source-backfill-1d5pdwww.js} +2 -2
- package/dist/{setup-07n4727s.js → setup-se8q7gkc.js} +1 -1
- package/dist/{virtual-modules-z5h6mcyf.js → virtual-modules-gazyapte.js} +3 -3
- package/dist/{work-objects-pnq5y534.js → work-objects-1kxnbzy5.js} +22 -22
- package/dist/{worker-follow-up-7z1gfkr8.js → worker-follow-up-zqm8apt4.js} +18 -18
- package/dist/worker-j6xxtq7p.js +70 -0
- package/openapi.json +334 -7
- package/package.json +4 -4
- package/src/apps/catalog.generated.json +55 -0
- package/src/apps/definition.ts +11 -0
- package/src/apps/page-validator.ts +19 -0
- package/src/apps/store.ts +28 -8
- package/src/assets/key.ts +77 -4
- package/src/be/db/model-profiles.ts +147 -38
- package/src/be/db/session-labels.ts +57 -0
- package/src/be/db/session-tree.ts +51 -7
- package/src/be/db/slack-trees.ts +146 -0
- package/src/be/db/tasks/read.ts +107 -8
- package/src/be/db/workflow-run-definitions.ts +117 -0
- package/src/be/db-client.ts +8 -2
- package/src/be/db.ts +119 -87
- package/src/be/event-loop-lag.ts +146 -0
- package/src/be/mcp-overflow-sweep.ts +2 -1
- package/src/be/memory/constants.ts +14 -1
- package/src/be/memory/key-paths.ts +8 -0
- package/src/be/memory/providers/sqlite-store.ts +199 -18
- package/src/be/memory/task-learning.ts +79 -14
- package/src/be/memory/types.ts +24 -1
- package/src/be/migrations/278_slack_render_v2_reconcile.sql +108 -0
- package/src/be/migrations/279_backfill_learning_expiry.sql +15 -0
- package/src/be/migrations/281_model_profiles_pr2.sql +28 -0
- package/src/be/migrations/283_workflow_run_definitions.sql +14 -0
- package/src/be/model-profile-check.ts +284 -0
- package/src/be/model-tier-resolution.ts +112 -12
- package/src/be/multi-runtime.ts +27 -0
- package/src/be/runtime-pools/routing.ts +52 -4
- package/src/be/scripts/typecheck.ts +1 -0
- package/src/be/seed-scripts/catalog/dreaming-learnings.ts +552 -0
- package/src/be/seed-scripts/catalog/dreaming-memtax-create.ts +389 -14
- package/src/be/seed-scripts/catalog/dreaming-memtax.ts +6 -3
- package/src/be/seed-scripts/index.ts +9 -0
- package/src/be/steering.ts +8 -2
- package/src/be/swarm-config-guard.ts +2 -0
- package/src/commands/context-preamble.ts +258 -0
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/runner.ts +32 -1
- package/src/extensions/catalog.generated.json +3 -3
- package/src/fs/provider.ts +17 -3
- package/src/heartbeat/heartbeat.ts +17 -5
- package/src/heartbeat/index.ts +1 -0
- package/src/http/agents.ts +56 -4
- package/src/http/apps.ts +3 -1
- package/src/http/config.ts +2 -6
- package/src/http/core.ts +9 -3
- package/src/http/index.ts +12 -9
- package/src/http/memory.ts +9 -4
- package/src/http/model-profiles.ts +58 -10
- package/src/http/poll.ts +36 -3
- package/src/http/schedules.ts +42 -3
- package/src/http/sessions.ts +16 -3
- package/src/http/tasks.ts +37 -12
- package/src/http/utils.ts +18 -0
- package/src/http/webhooks.ts +48 -0
- package/src/http/workflows.ts +15 -2
- package/src/integrations/chat-sdk/commands.ts +167 -31
- package/src/integrations/chat-sdk/inbound.ts +10 -8
- package/src/integrations/chat-sdk/message-text.ts +117 -0
- package/src/prompts/session-templates.ts +1 -1
- package/src/providers/acp-targets.ts +11 -6
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-sdk-session.ts +132 -23
- package/src/providers/codex-skill-resolver.ts +10 -4
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/providers/devin-skill-resolver.ts +5 -5
- package/src/providers/dsh-adapter.ts +1 -1
- package/src/scheduler/schedule-task.ts +1 -0
- package/src/scheduler/scheduler.ts +4 -1
- package/src/scripts-runtime/executors/quickjs-runner.ts +2 -0
- package/src/scripts-runtime/executors/quickjs-structured-clone.ts +180 -0
- package/src/scripts-runtime/quickjs-compat.ts +0 -1
- package/src/scripts-runtime/sdk-allowlist.ts +1 -0
- package/src/scripts-runtime/swarm-sdk.ts +18 -1
- package/src/scripts-runtime/types/stdlib.d.ts +1 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +1 -0
- package/src/server.ts +2 -0
- package/src/slack/app.ts +425 -10
- package/src/slack/handlers.ts +9 -2
- package/src/slack/inbound-dispatch.ts +18 -1
- package/src/slack/index.ts +7 -1
- package/src/slack/lifecycle-lock.ts +29 -0
- package/src/slack/render-v2.ts +424 -212
- package/src/slack/socket-fence.ts +64 -0
- package/src/slack/watcher.ts +42 -8
- package/src/slack/workspace-guard.ts +345 -0
- package/src/tasks/task-terminal-effects.ts +4 -0
- package/src/tasks/worker-follow-up.ts +102 -2
- package/src/tests/acp-adapter.test.ts +82 -0
- package/src/tests/apps-icon.test.ts +120 -0
- package/src/tests/apps-schema-form.test.ts +151 -0
- package/src/tests/chained-task-follow-up.test.ts +248 -0
- package/src/tests/chat-sdk-commands.test.ts +359 -2
- package/src/tests/chat-sdk-inbound.test.ts +20 -0
- package/src/tests/chat-sdk-slack.test.ts +189 -1
- package/src/tests/check-pr-body.test.ts +40 -0
- package/src/tests/claude-sdk-lifecycle.test.ts +216 -1
- package/src/tests/claude-sdk-process.fixture.ts +57 -0
- package/src/tests/codex-skill-resolver.test.ts +31 -0
- package/src/tests/credentials-allowlist.test.ts +470 -0
- package/src/tests/db-client-busy-retry.test.ts +69 -18
- package/src/tests/db-client.test.ts +26 -1
- package/src/tests/db-task-read-contract.test.ts +7 -0
- package/src/tests/db-task-write-contract.test.ts +6 -0
- package/src/tests/deferred-wake-follow-up.test.ts +47 -0
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/dreaming-learnings.test.ts +1395 -0
- package/src/tests/dsh-adapter.test.ts +1 -1
- package/src/tests/event-loop-lag.test.ts +184 -0
- package/src/tests/explicit-model-validation.test.ts +2 -0
- package/src/tests/extensions-example-comms-adherence-gate.test.ts +115 -0
- package/src/tests/fs-provider.test.ts +42 -0
- package/src/tests/github-webhook-early-ack.test.ts +144 -0
- package/src/tests/heartbeat.test.ts +28 -1
- package/src/tests/http-api-integration.test.ts +2 -0
- package/src/tests/http-log-scrubbing.test.ts +68 -2
- package/src/tests/human-free-reclassify.test.ts +5 -1
- package/src/tests/kv-storage.test.ts +92 -1
- package/src/tests/list-endpoint-slimming.test.ts +17 -0
- package/src/tests/memory-key-paths.test.ts +57 -0
- package/src/tests/memory-retrieval-purge.test.ts +19 -0
- package/src/tests/migration-283-workflow-run-definitions.test.ts +69 -0
- package/src/tests/model-profile-check.test.ts +387 -0
- package/src/tests/model-profiles-api.test.ts +528 -1
- package/src/tests/profile-claim.test.ts +415 -3
- package/src/tests/profile-tier-alias.test.ts +382 -0
- package/src/tests/quickjs-compat.test.ts +1 -1
- package/src/tests/runner-context-preamble.test.ts +552 -0
- package/src/tests/schedule-profile.test.ts +359 -0
- package/src/tests/script-connections.test.ts +9 -0
- package/src/tests/script-executor-conformance.test.ts +188 -0
- package/src/tests/script-per-script-executor.test.ts +1 -0
- package/src/tests/scripts-sdk-bridge-tool-failure.test.ts +141 -0
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/sessions-tree.test.ts +133 -2
- package/src/tests/slack-app-icon.test.ts +4 -0
- package/src/tests/slack-dm-implicit-mention.test.ts +236 -0
- package/src/tests/slack-file-tools-attachments.test.ts +1 -0
- package/src/tests/slack-inbound-receipts.test.ts +22 -2
- package/src/tests/slack-read-boundaries.test.ts +4 -3
- package/src/tests/slack-render-v2-query-plans.test.ts +262 -3
- package/src/tests/slack-render-v2-reconcile.test.ts +201 -0
- package/src/tests/slack-socket-ack.test.ts +16 -1
- package/src/tests/slack-socket-watchdog.test.ts +748 -0
- package/src/tests/slack-workspace-guard.test.ts +905 -0
- package/src/tests/steering-core.test.ts +40 -0
- package/src/tests/store-progress-learning.test.ts +605 -20
- package/src/tests/tool-annotations.test.ts +1 -1
- package/src/tests/vcs-identity-inheritance.test.ts +85 -0
- package/src/tests/workflow-convergence.test.ts +46 -40
- package/src/tests/workflow-definition-pinning-recovery.test.ts +552 -0
- package/src/tests/workflow-definition-pinning.test.ts +645 -0
- package/src/tests/workflow-executors.test.ts +16 -7
- package/src/tests/workflow-foreach.test.ts +43 -20
- package/src/tests/workflow-notify-slack-ready.test.ts +161 -0
- package/src/tests/workflow-profile.test.ts +328 -0
- package/src/tools/app-upsert.ts +1 -1
- package/src/tools/memory-edit.ts +2 -1
- package/src/tools/model-profiles/check-model-profile.ts +63 -0
- package/src/tools/schedules/create-schedule.ts +45 -4
- package/src/tools/schedules/patch-schedule.ts +50 -4
- package/src/tools/schedules/update-schedule.ts +50 -4
- package/src/tools/send-task.ts +17 -2
- package/src/tools/store-progress.ts +15 -3
- package/src/tools/task-action.ts +9 -1
- package/src/tools/templates.ts +13 -0
- package/src/tools/tool-config.ts +2 -1
- package/src/tools/utils.ts +77 -11
- package/src/tools/workflows/create-workflow.ts +1 -1
- package/src/tools/workflows/retry-workflow-run.ts +1 -1
- package/src/tools/workflows/update-workflow.ts +10 -1
- package/src/types.ts +56 -1
- package/src/utils/credentials.ts +89 -12
- package/src/workflows/engine.ts +10 -1
- package/src/workflows/executors/agent-task.ts +21 -2
- package/src/workflows/executors/foreach.ts +4 -1
- package/src/workflows/executors/notify.ts +62 -6
- package/src/workflows/executors/sub-workflow.ts +1 -1
- package/src/workflows/executors/swarm-script.ts +4 -1
- package/src/workflows/foreach-driver.ts +8 -5
- package/src/workflows/limits.ts +2 -1
- package/src/workflows/model-validation.ts +27 -2
- package/src/workflows/patch-definition.ts +3 -1
- package/src/workflows/recovery.ts +6 -6
- package/src/workflows/resume.ts +9 -9
- package/src/workflows/retry-poller.ts +2 -2
- package/templates/extensions/comms-adherence-gate/README.md +25 -0
- package/templates/extensions/comms-adherence-gate/hooks.ts +100 -11
- package/templates/extensions/comms-adherence-gate/manifest.json +1 -1
- package/templates/skills/apps/SKILL.md +9 -0
- package/templates/skills/apps/content.md +9 -0
- package/templates/skills/code-quality/content.md +12 -0
- package/templates/skills/memory/content.md +8 -0
- package/templates/skills/scheduling/config.json +1 -1
- package/templates/skills/scheduling/content.md +2 -2
- package/templates/skills/swarm-docs/content.md +4 -0
- package/templates/skills/swarm-extensions/content.md +1 -1
- package/templates/skills/swarm-scripts/SKILL.md +1 -1
- package/templates/skills/swarm-scripts/content.md +1 -1
- package/templates/skills/work-on-task/SKILL.md +2 -0
- package/templates/skills/work-on-task/content.md +2 -0
- package/templates/workflows/dreaming/content.md +174 -7
- package/dist/acp-adapter-dn4gdsgr.js +0 -16
- package/dist/app-a66ssc4k.js +0 -17
- package/dist/cli-530hkwdy.js +0 -779
- package/dist/cli-a0657jmf.js +0 -339
- package/dist/cli-cyn9v8zr.js +0 -748
- package/dist/handlers-crckt5dq.js +0 -32
- package/dist/heartbeat-8phn1kdq.js +0 -41
- package/dist/index-4x08sjtk.js +0 -30
- package/dist/index-8ybffts4.js +0 -37
- package/dist/index-nfy4kkg5.js +0 -33
- package/dist/lead-zdqxsvjn.js +0 -71
- package/dist/worker-y62rvvq3.js +0 -71
- package/dist/{cli-gxy8y1dt.js → cli-8bpgbr8k.js} +3 -3
package/dist/cli.js
CHANGED
|
@@ -50,7 +50,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
50
50
|
// package.json
|
|
51
51
|
var package_default = {
|
|
52
52
|
name: "@desplega.ai/agent-swarm",
|
|
53
|
-
version: "2.
|
|
53
|
+
version: "2.8.0",
|
|
54
54
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
55
55
|
keywords: [
|
|
56
56
|
"agent-swarm.dev",
|
|
@@ -254,7 +254,7 @@ var package_default = {
|
|
|
254
254
|
dependencies: {
|
|
255
255
|
"@agentclientprotocol/sdk": "2.4.0",
|
|
256
256
|
"@ai-sdk/openai": "^3.0.41",
|
|
257
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
257
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.318",
|
|
258
258
|
"@anthropic-ai/sdk": "^1.4.0",
|
|
259
259
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
260
260
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
@@ -263,8 +263,8 @@ var package_default = {
|
|
|
263
263
|
"@chat-adapter/slack": "4.41.1",
|
|
264
264
|
"@chat-adapter/teams": "4.41.1",
|
|
265
265
|
"@chat-adapter/telegram": "4.41.1",
|
|
266
|
-
"@cursor/sdk": "1.
|
|
267
|
-
"@desplega.ai/agent-fs-just-bash": "0.18.
|
|
266
|
+
"@cursor/sdk": "1.3.1",
|
|
267
|
+
"@desplega.ai/agent-fs-just-bash": "0.18.18",
|
|
268
268
|
"@desplega.ai/business-use": "^0.4.2",
|
|
269
269
|
"@earendil-works/pi-agent-core": "^1.5.0",
|
|
270
270
|
"@earendil-works/pi-ai": "^1.5.0",
|
|
@@ -837,7 +837,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
837
837
|
if (dbPath) {
|
|
838
838
|
process.env.DATABASE_PATH = dbPath;
|
|
839
839
|
}
|
|
840
|
-
import("./http-
|
|
840
|
+
import("./http-txe7qhvn.js").then(() => {
|
|
841
841
|
setStatus("running");
|
|
842
842
|
}).catch((err) => {
|
|
843
843
|
setStatus("error");
|
|
@@ -918,7 +918,7 @@ function WorkerRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs }
|
|
|
918
918
|
const { exit } = use_app_default();
|
|
919
919
|
import_react.useEffect(() => {
|
|
920
920
|
installConsoleScrub();
|
|
921
|
-
import("./worker-
|
|
921
|
+
import("./worker-j6xxtq7p.js").then(({ runWorker }) => runWorker({
|
|
922
922
|
prompt: prompt || undefined,
|
|
923
923
|
systemPrompt: systemPrompt || undefined,
|
|
924
924
|
systemPromptFile: systemPromptFile || undefined,
|
|
@@ -935,7 +935,7 @@ function LeadRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs })
|
|
|
935
935
|
const { exit } = use_app_default();
|
|
936
936
|
import_react.useEffect(() => {
|
|
937
937
|
installConsoleScrub();
|
|
938
|
-
import("./lead-
|
|
938
|
+
import("./lead-yqt47dkr.js").then(({ runLead }) => runLead({
|
|
939
939
|
prompt: prompt || undefined,
|
|
940
940
|
systemPrompt: systemPrompt || undefined,
|
|
941
941
|
systemPromptFile: systemPromptFile || undefined,
|
|
@@ -974,8 +974,8 @@ function LazyComponent({
|
|
|
974
974
|
}
|
|
975
975
|
return import_react.createElement(Component, props);
|
|
976
976
|
}
|
|
977
|
-
var loadOnboard = () => import("./onboard-
|
|
978
|
-
var loadConnect = () => import("./setup-
|
|
977
|
+
var loadOnboard = () => import("./onboard-c2aj5p8q.js").then(({ Onboard }) => Onboard);
|
|
978
|
+
var loadConnect = () => import("./setup-se8q7gkc.js").then(({ Setup }) => Setup);
|
|
979
979
|
function UnknownCommand({ command }) {
|
|
980
980
|
const { exit } = use_app_default();
|
|
981
981
|
import_react.useEffect(() => {
|
|
@@ -1104,14 +1104,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1104
1104
|
}
|
|
1105
1105
|
process.exit(0);
|
|
1106
1106
|
} else if (args.command === "hook") {
|
|
1107
|
-
const { runHook } = await import("./hook-
|
|
1107
|
+
const { runHook } = await import("./hook-xsk1jbha.js");
|
|
1108
1108
|
await runHook();
|
|
1109
1109
|
} else if (args.command === "codex-hook") {
|
|
1110
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1110
|
+
const { handleCodexHook } = await import("./codex-hook-h3vk6xzr.js");
|
|
1111
1111
|
await handleCodexHook();
|
|
1112
1112
|
process.exit(process.exitCode ?? 0);
|
|
1113
1113
|
} else if (args.command === "session-summary-stdin") {
|
|
1114
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1114
|
+
const { runSessionSummaryFromStdin } = await import("./hook-5h02c9ga.js");
|
|
1115
1115
|
await runSessionSummaryFromStdin();
|
|
1116
1116
|
process.exit(process.exitCode ?? 0);
|
|
1117
1117
|
} else if (args.command === "x") {
|
|
@@ -1124,7 +1124,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1124
1124
|
printHelp("scripts");
|
|
1125
1125
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1126
1126
|
}
|
|
1127
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1127
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-86jvartk.js");
|
|
1128
1128
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1129
1129
|
console.log("Scripts re-embedded.");
|
|
1130
1130
|
} else if (args.command === "rbac") {
|
|
@@ -1134,17 +1134,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1134
1134
|
printHelp("rbac");
|
|
1135
1135
|
process.exit(args.showHelp ? 0 : 1);
|
|
1136
1136
|
}
|
|
1137
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1137
|
+
const { runRbacCliCommand } = await import("./rbac-roles-e70xfeyj.js");
|
|
1138
1138
|
await runRbacCliCommand(rbacArgs);
|
|
1139
1139
|
} else if (args.command === "codex-login") {
|
|
1140
1140
|
const { runCodexLogin } = await import("./codex-login-bcda78ge.js");
|
|
1141
1141
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1142
1142
|
await runCodexLogin(codexLoginArgs);
|
|
1143
1143
|
} else if (args.command === "codex-session-runner") {
|
|
1144
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1144
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-8vp57v8w.js");
|
|
1145
1145
|
await runCodexSessionRunner();
|
|
1146
1146
|
} else if (args.command === "claude-managed-setup") {
|
|
1147
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1147
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-9m6450zk.js");
|
|
1148
1148
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1149
1149
|
await runClaudeManagedSetup(setupArgs);
|
|
1150
1150
|
} else if (args.command === "worker-token") {
|
|
@@ -1156,7 +1156,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1156
1156
|
const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
|
|
1157
1157
|
await runE2BCommand(e2bArgs);
|
|
1158
1158
|
} else if (args.command === "controller") {
|
|
1159
|
-
const { runController } = await import("./controller-
|
|
1159
|
+
const { runController } = await import("./controller-hxx8wwy1.js");
|
|
1160
1160
|
await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
|
|
1161
1161
|
} else {
|
|
1162
1162
|
render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
@@ -2,17 +2,16 @@ import {
|
|
|
2
2
|
checkCodexCredentials2,
|
|
3
3
|
createInProcessCodexSession2,
|
|
4
4
|
CodexAdapter2
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-2wnq8jkz.js";
|
|
6
6
|
import"./cli-m5akxq8q.js";
|
|
7
7
|
import"./cli-kr5tjjtz.js";
|
|
8
8
|
import"./cli-98rwmcyc.js";
|
|
9
9
|
import"./cli-4bd1rck6.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-hwprv9e4.js";
|
|
10
|
+
import"./cli-g70vxtjh.js";
|
|
12
11
|
import"./cli-0726awxw.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
12
|
+
import"./cli-xzm9vcfg.js";
|
|
13
|
+
import"./cli-kc7v1nfv.js";
|
|
14
|
+
import"./cli-8aes17e4.js";
|
|
16
15
|
import"./cli-jrzkw01m.js";
|
|
17
16
|
export {
|
|
18
17
|
CodexAdapter2 as CodexAdapter,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import"./cli-xzm9vcfg.js";
|
|
2
|
+
import"./cli-kc7v1nfv.js";
|
|
3
|
+
import"./cli-8aes17e4.js";
|
|
4
|
+
import"./cli-g70vxtjh.js";
|
|
5
5
|
import {
|
|
6
6
|
createInProcessCodexSession2
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-jc1g9ndz.js";
|
|
7
|
+
} from "./cli-2wnq8jkz.js";
|
|
9
8
|
import"./cli-0726awxw.js";
|
|
10
9
|
import"./cli-m5akxq8q.js";
|
|
11
10
|
import"./cli-4bd1rck6.js";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getAllAgents2,
|
|
3
3
|
getAllTasks2,
|
|
4
4
|
init_db4
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-h38x262p.js";
|
|
6
6
|
import {
|
|
7
7
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2,
|
|
8
8
|
shouldBlockChannel2,
|
|
9
9
|
init_external_channel
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-qsnnd04k.js";
|
|
11
11
|
import {
|
|
12
12
|
isSlackLeaveThreadDisabled,
|
|
13
13
|
init_left_threads
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-a7wvp2km.js";
|
|
15
15
|
import {
|
|
16
16
|
isEnvFlagEnabled,
|
|
17
17
|
init_env_flag
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CONTROLLER_PROTOCOL_VERSION,
|
|
4
4
|
CONTROLLER_PING_INTERVAL_MS,
|
|
5
5
|
ControllerServerMessageSchema
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-m4dqmnbp.js";
|
|
7
7
|
import {
|
|
8
8
|
createRuntimeProvider,
|
|
9
9
|
init_runtime_providers
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
RuntimeProviderKindSchema,
|
|
13
13
|
init_types4
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-2zp0et3v.js";
|
|
15
15
|
import {
|
|
16
16
|
scrubSecrets,
|
|
17
17
|
registerVolatileSecret,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
isRuntimePoolsEnabled,
|
|
4
4
|
init_runtime_pools_flag,
|
|
5
5
|
init_db4
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-h38x262p.js";
|
|
7
7
|
import {
|
|
8
8
|
CONTROLLER_PROTOCOL_VERSION,
|
|
9
9
|
CONTROLLER_PING_INTERVAL_MS,
|
|
10
10
|
ControllerClientMessageSchema
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-m4dqmnbp.js";
|
|
12
12
|
import {
|
|
13
13
|
getRuntimeController2,
|
|
14
14
|
init_db2
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-8kzasymh.js";
|
|
16
16
|
import {
|
|
17
17
|
remoteControllerSession,
|
|
18
18
|
installRemoteController,
|
|
@@ -21,29 +21,29 @@ import {
|
|
|
21
21
|
ensureRuntimeOwnerId,
|
|
22
22
|
reconcileRemoteProvisions,
|
|
23
23
|
reconcileControllerOrphans
|
|
24
|
-
} from "./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-605nn699.js";
|
|
24
|
+
} from "./cli-6wxjceza.js";
|
|
25
|
+
import"./cli-qsnnd04k.js";
|
|
27
26
|
import"./cli-eddnyg3t.js";
|
|
28
|
-
import"./cli-
|
|
27
|
+
import"./cli-p1bq50aa.js";
|
|
28
|
+
import"./cli-pasjcnmj.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveHttpRequestAuth,
|
|
31
31
|
init_auth
|
|
32
|
-
} from "./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
32
|
+
} from "./cli-rfywm85n.js";
|
|
33
|
+
import"./cli-c55z5chy.js";
|
|
34
|
+
import"./cli-4txa0ter.js";
|
|
35
|
+
import"./cli-f3vq58d2.js";
|
|
36
|
+
import"./cli-7cp6aa1q.js";
|
|
37
|
+
import"./cli-n9ftpys4.js";
|
|
37
38
|
import {
|
|
38
39
|
route,
|
|
39
40
|
init_route_def
|
|
40
|
-
} from "./cli-
|
|
41
|
-
import"./cli-
|
|
42
|
-
import"./cli-
|
|
43
|
-
import"./cli-
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-btf6fw39.js";
|
|
41
|
+
} from "./cli-m28atx8q.js";
|
|
42
|
+
import"./cli-j790gp2w.js";
|
|
43
|
+
import"./cli-sdtt3men.js";
|
|
44
|
+
import"./cli-qfedvmcr.js";
|
|
45
|
+
import"./cli-a7wvp2km.js";
|
|
46
|
+
import"./cli-s7t6p9my.js";
|
|
47
47
|
import {
|
|
48
48
|
import_websocket_server,
|
|
49
49
|
init_wrapper2
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
registerSessionTokenConnection,
|
|
53
53
|
init_session_token_connections
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-gxkx0zzp.js";
|
|
55
55
|
import {
|
|
56
56
|
getApiKey,
|
|
57
57
|
init_api_key
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
createPoolAgent2,
|
|
20
20
|
loadRuntimeControllerSecrets2,
|
|
21
21
|
init_db2
|
|
22
|
-
} from "./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
22
|
+
} from "./cli-8kzasymh.js";
|
|
23
|
+
import"./cli-gxkx0zzp.js";
|
|
24
|
+
import"./cli-h38x262p.js";
|
|
25
25
|
init_db2();
|
|
26
26
|
|
|
27
27
|
export {
|
|
@@ -94,6 +94,7 @@ import {
|
|
|
94
94
|
getLatestActiveTaskInThread2,
|
|
95
95
|
getLatestLeadTaskInThread2,
|
|
96
96
|
getAgentWorkingOnContextKey2,
|
|
97
|
+
getLatestTaskByContextKeyPrefix2,
|
|
97
98
|
getLatestActiveTaskByContextKey2,
|
|
98
99
|
getLatestLeadTaskByContextKey2,
|
|
99
100
|
getMostRecentTaskInThread2,
|
|
@@ -130,6 +131,10 @@ import {
|
|
|
130
131
|
getRecentlyCancelledTasksForAgent2,
|
|
131
132
|
deleteTask2,
|
|
132
133
|
updateTaskProgress2,
|
|
134
|
+
PINNED_WORKFLOW_KEYS2,
|
|
135
|
+
toPinnedDefinition2,
|
|
136
|
+
pinWorkflowDefinition2,
|
|
137
|
+
getRunWorkflow2,
|
|
133
138
|
recordKeySeatMismatch2,
|
|
134
139
|
recordKeyValidation2,
|
|
135
140
|
getScriptRunExecutionArgs2,
|
|
@@ -517,13 +522,13 @@ import {
|
|
|
517
522
|
countScriptRunJournalSteps2,
|
|
518
523
|
countScriptRunJournalAgentTaskSteps2,
|
|
519
524
|
init_db4
|
|
520
|
-
} from "./cli-
|
|
525
|
+
} from "./cli-h38x262p.js";
|
|
521
526
|
import {
|
|
522
527
|
generateDefaultClaudeMd2,
|
|
523
528
|
generateDefaultSoulMd2,
|
|
524
529
|
generateDefaultIdentityMd2,
|
|
525
530
|
generateDefaultToolsMd2
|
|
526
|
-
} from "./cli-
|
|
531
|
+
} from "./cli-tk7cjj8h.js";
|
|
527
532
|
init_db4();
|
|
528
533
|
|
|
529
534
|
export {
|
|
@@ -533,6 +538,7 @@ export {
|
|
|
533
538
|
KvTypeCollisionError2 as KvTypeCollisionError,
|
|
534
539
|
MAX_EMPTY_POLLS2 as MAX_EMPTY_POLLS,
|
|
535
540
|
NOT_EXTENSION_AGENT_SQL2 as NOT_EXTENSION_AGENT_SQL,
|
|
541
|
+
PINNED_WORKFLOW_KEYS2 as PINNED_WORKFLOW_KEYS,
|
|
536
542
|
ReservedAgentRoleError2 as ReservedAgentRoleError,
|
|
537
543
|
SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS2 as SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS,
|
|
538
544
|
SKILL_FILE_LIMITS2 as SKILL_FILE_LIMITS,
|
|
@@ -741,6 +747,7 @@ export {
|
|
|
741
747
|
getLatestScriptRunStepTaskByContextKey2 as getLatestScriptRunStepTaskByContextKey,
|
|
742
748
|
getLatestStepForNode2 as getLatestStepForNode,
|
|
743
749
|
getLatestTaskByContextKey2 as getLatestTaskByContextKey,
|
|
750
|
+
getLatestTaskByContextKeyPrefix2 as getLatestTaskByContextKeyPrefix,
|
|
744
751
|
getLeadAgent2 as getLeadAgent,
|
|
745
752
|
getLiveAgentCounts2 as getLiveAgentCounts,
|
|
746
753
|
getLogsByAgentId2 as getLogsByAgentId,
|
|
@@ -789,6 +796,7 @@ export {
|
|
|
789
796
|
getResolvedConfig2 as getResolvedConfig,
|
|
790
797
|
getRetryableSteps2 as getRetryableSteps,
|
|
791
798
|
getRootTaskChain2 as getRootTaskChain,
|
|
799
|
+
getRunWorkflow2 as getRunWorkflow,
|
|
792
800
|
getRunningScriptRuns2 as getRunningScriptRuns,
|
|
793
801
|
getScheduledTaskById2 as getScheduledTaskById,
|
|
794
802
|
getScheduledTaskByName2 as getScheduledTaskByName,
|
|
@@ -946,6 +954,7 @@ export {
|
|
|
946
954
|
noteSlackOutcomeDeliveryFailure2 as noteSlackOutcomeDeliveryFailure,
|
|
947
955
|
overwriteTerminalTaskResultText2 as overwriteTerminalTaskResultText,
|
|
948
956
|
pauseTask2 as pauseTask,
|
|
957
|
+
pinWorkflowDefinition2 as pinWorkflowDefinition,
|
|
949
958
|
postMessage2 as postMessage,
|
|
950
959
|
promoteAbandonedDraftTasks2 as promoteAbandonedDraftTasks,
|
|
951
960
|
promoteDraftTask2 as promoteDraftTask,
|
|
@@ -1001,6 +1010,7 @@ export {
|
|
|
1001
1010
|
supersedeTask2 as supersedeTask,
|
|
1002
1011
|
sweepExpiredKv2 as sweepExpiredKv,
|
|
1003
1012
|
sweepExpiredKvPrefix2 as sweepExpiredKvPrefix,
|
|
1013
|
+
toPinnedDefinition2 as toPinnedDefinition,
|
|
1004
1014
|
toggleAgentSkill2 as toggleAgentSkill,
|
|
1005
1015
|
uninstallMcpServer2 as uninstallMcpServer,
|
|
1006
1016
|
uninstallSkill2 as uninstallSkill,
|
|
@@ -12,24 +12,24 @@ import {
|
|
|
12
12
|
dispatchPre2,
|
|
13
13
|
dispatchPost2,
|
|
14
14
|
init_dispatcher
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
15
|
+
} from "./cli-rfywm85n.js";
|
|
16
|
+
import"./cli-4txa0ter.js";
|
|
17
|
+
import"./cli-f3vq58d2.js";
|
|
18
|
+
import"./cli-j790gp2w.js";
|
|
19
|
+
import"./cli-sdtt3men.js";
|
|
20
|
+
import"./cli-7cp6aa1q.js";
|
|
21
|
+
import"./cli-m28atx8q.js";
|
|
22
|
+
import"./cli-n9ftpys4.js";
|
|
23
|
+
import"./cli-pasjcnmj.js";
|
|
24
|
+
import"./cli-qfedvmcr.js";
|
|
25
|
+
import"./cli-p1bq50aa.js";
|
|
26
|
+
import"./cli-a7wvp2km.js";
|
|
27
|
+
import"./cli-qsnnd04k.js";
|
|
28
|
+
import"./cli-s7t6p9my.js";
|
|
29
|
+
import"./cli-8kzasymh.js";
|
|
30
|
+
import"./cli-c55z5chy.js";
|
|
31
|
+
import"./cli-gxkx0zzp.js";
|
|
32
|
+
import"./cli-h38x262p.js";
|
|
33
33
|
import"./cli-eddnyg3t.js";
|
|
34
34
|
init_dispatcher();
|
|
35
35
|
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
getMemoryStore2,
|
|
6
6
|
init_memory,
|
|
7
7
|
init_db4
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-h38x262p.js";
|
|
9
9
|
import {
|
|
10
10
|
publicEndpointSsrfOptions,
|
|
11
11
|
init_mcp_wrapper
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-s7t6p9my.js";
|
|
13
13
|
import {
|
|
14
14
|
__esm
|
|
15
15
|
} from "./cli-242037k3.js";
|
|
@@ -112,8 +112,8 @@ async function reembedMemory(provider, counts, opts) {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
async function reembedScripts(memoryProvider, counts, opts) {
|
|
115
|
-
const { computeScriptEmbedding, embeddingProvider, writeScriptEmbedding } = await import("./embeddings-
|
|
116
|
-
const { toScriptRecord } = await import("./boot-reembed-
|
|
115
|
+
const { computeScriptEmbedding, embeddingProvider, writeScriptEmbedding } = await import("./embeddings-e7z3f27f.js");
|
|
116
|
+
const { toScriptRecord } = await import("./boot-reembed-gka3zas7.js");
|
|
117
117
|
const client = getDbClient2();
|
|
118
118
|
const provider = embeddingProvider();
|
|
119
119
|
const cursorKey = embeddingSpaceCursorKey("scripts");
|
|
@@ -226,10 +226,10 @@ function runEmbeddingMaintenance(opts = {}) {
|
|
|
226
226
|
if (!backfill && result !== "reembedded")
|
|
227
227
|
return;
|
|
228
228
|
await Promise.all([
|
|
229
|
-
import("./boot-reembed-
|
|
229
|
+
import("./boot-reembed-a35nkyr1.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
230
230
|
console.error("[boot-reembed] memory backfill failed (non-fatal):", err);
|
|
231
231
|
}),
|
|
232
|
-
import("./boot-reembed-
|
|
232
|
+
import("./boot-reembed-gka3zas7.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
233
233
|
console.error("[boot-reembed-scripts] script backfill failed (non-fatal):", err);
|
|
234
234
|
})
|
|
235
235
|
]);
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
CODEMODE_DOCS_PATH,
|
|
15
15
|
toCodemodeDeclaration,
|
|
16
16
|
getCodemodeCallableTools
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-bsywb58a.js";
|
|
18
18
|
// node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.js
|
|
19
19
|
function isWorkerToHostMessage(value) {
|
|
20
20
|
if (typeof value !== "object" || value === null)
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkFxCredentials2,
|
|
3
3
|
FxAdapter2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
4
|
+
} from "./cli-yq3zak69.js";
|
|
5
|
+
import"./cli-rzsy6nc6.js";
|
|
6
|
+
import"./cli-7p1kvkck.js";
|
|
7
|
+
import"./cli-tqegb8eq.js";
|
|
8
8
|
import"./cli-d6521kb5.js";
|
|
9
9
|
import"./cli-4bd1rck6.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-hwprv9e4.js";
|
|
10
|
+
import"./cli-g70vxtjh.js";
|
|
12
11
|
import"./cli-0726awxw.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
12
|
+
import"./cli-xzm9vcfg.js";
|
|
13
|
+
import"./cli-8aes17e4.js";
|
|
15
14
|
import"./cli-jrzkw01m.js";
|
|
16
15
|
export {
|
|
17
16
|
FxAdapter2 as FxAdapter,
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkGrokCredentials2,
|
|
3
3
|
GrokAdapter2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
4
|
+
} from "./cli-wcg8x116.js";
|
|
5
|
+
import"./cli-rzsy6nc6.js";
|
|
6
|
+
import"./cli-7p1kvkck.js";
|
|
7
|
+
import"./cli-tqegb8eq.js";
|
|
8
8
|
import"./cli-d6521kb5.js";
|
|
9
9
|
import"./cli-4bd1rck6.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-hwprv9e4.js";
|
|
10
|
+
import"./cli-g70vxtjh.js";
|
|
12
11
|
import"./cli-0726awxw.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
12
|
+
import"./cli-xzm9vcfg.js";
|
|
13
|
+
import"./cli-8aes17e4.js";
|
|
15
14
|
import"./cli-jrzkw01m.js";
|
|
16
15
|
export {
|
|
17
16
|
GrokAdapter2 as GrokAdapter,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isUserAllowed2,
|
|
3
|
+
registerMessageHandler2,
|
|
4
|
+
init_handlers
|
|
5
|
+
} from "./cli-8fknbnhw.js";
|
|
6
|
+
import"./cli-rmmpt0wm.js";
|
|
7
|
+
import"./cli-6t09sdhy.js";
|
|
8
|
+
import"./cli-rfywm85n.js";
|
|
9
|
+
import"./cli-4txa0ter.js";
|
|
10
|
+
import"./cli-f3vq58d2.js";
|
|
11
|
+
import"./cli-j790gp2w.js";
|
|
12
|
+
import"./cli-sdtt3men.js";
|
|
13
|
+
import"./cli-7cp6aa1q.js";
|
|
14
|
+
import"./cli-m28atx8q.js";
|
|
15
|
+
import"./cli-n9ftpys4.js";
|
|
16
|
+
import"./cli-pasjcnmj.js";
|
|
17
|
+
import"./cli-qfedvmcr.js";
|
|
18
|
+
import"./cli-p1bq50aa.js";
|
|
19
|
+
import"./cli-a7wvp2km.js";
|
|
20
|
+
import"./cli-qsnnd04k.js";
|
|
21
|
+
import"./cli-s7t6p9my.js";
|
|
22
|
+
import"./cli-8kzasymh.js";
|
|
23
|
+
import"./cli-c55z5chy.js";
|
|
24
|
+
import"./cli-gxkx0zzp.js";
|
|
25
|
+
import"./cli-h38x262p.js";
|
|
26
|
+
import"./cli-eddnyg3t.js";
|
|
27
|
+
init_handlers();
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
isUserAllowed2 as isUserAllowed,
|
|
31
|
+
registerMessageHandler2 as registerMessageHandler
|
|
32
|
+
};
|