@desplega.ai/agent-swarm 2.9.1 → 2.10.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-bht22g3k.js +16 -0
- package/dist/{acp-targets-ny75x1qy.js → acp-targets-arrwv4f0.js} +6 -6
- package/dist/{actions-b9qgrmeq.js → actions-y0d2n1c2.js} +49 -28
- package/dist/{agent-fs-provision-b5dhdsbd.js → agent-fs-provision-tpj7sktd.js} +4 -4
- package/dist/{amp-adapter-vtax2c9s.js → amp-adapter-vmmnmw8d.js} +1 -1
- package/dist/{anthropic-messages-r5xf5hqw.js → anthropic-messages-zdca3gv1.js} +13 -13
- package/dist/{app-g2z15hax.js → app-wb7w45dq.js} +3 -3
- package/dist/{approval-notifications-yt13wp8r.js → approval-notifications-7mqr6vbd.js} +5 -5
- package/dist/{assistant-2cgfxsgk.js → assistant-gf60454p.js} +19 -19
- package/dist/{boot-args-schema-3gwy0f60.js → boot-args-schema-qxmd59sr.js} +1 -1
- package/dist/{boot-reembed-mywmyp4s.js → boot-reembed-5tmeskj2.js} +1 -1
- package/dist/{boot-reembed-92g7s5zp.js → boot-reembed-wb44vc3s.js} +1 -1
- package/dist/boot-scrub-sweep-25bxhnw4.js +9 -0
- package/dist/{boot-seeds-ce7rvgq1.js → boot-seeds-nj9za0vk.js} +4 -4
- package/dist/{claude-adapter-3m4q7735.js → claude-adapter-d3krpdyb.js} +5 -5
- package/dist/{claude-managed-setup-c217draw.js → claude-managed-setup-7y4pwd81.js} +1 -1
- package/dist/{claude-sdk-session-7fbqm51z.js → claude-sdk-session-d138zy0e.js} +5 -5
- package/dist/{cli-tvc4jag9.js → cli-01k6wpr9.js} +3 -3
- package/dist/{cli-2xs8tsf7.js → cli-124ntmf0.js} +42 -36
- package/dist/{cli-jm0hvmz2.js → cli-2rnd5j3t.js} +1 -1
- package/dist/{cli-32djehja.js → cli-2spnz7ye.js} +8 -8
- package/dist/{cli-2dq9yv8p.js → cli-2v2zdm0a.js} +1 -1
- package/dist/{cli-fkef327x.js → cli-3caf7pmg.js} +2 -2
- package/dist/{cli-mw620q3n.js → cli-3et6fmfe.js} +1 -1
- package/dist/{cli-h9yqfzx9.js → cli-3f8zbtqa.js} +3 -3
- package/dist/{cli-mhapr559.js → cli-43evxwj4.js} +1 -1
- package/dist/{cli-pyjn0qhk.js → cli-539h29es.js} +138 -21
- package/dist/{cli-bnqncekd.js → cli-5qhfv9rw.js} +2 -2
- package/dist/{cli-p4kckx1z.js → cli-6037prsx.js} +6 -6
- package/dist/{cli-zr6qy15y.js → cli-6cwr32fe.js} +17 -17
- package/dist/{cli-1jykg0py.js → cli-7r162fxe.js} +22 -15
- package/dist/{cli-sn650d7x.js → cli-8st34zhr.js} +20 -10
- package/dist/{cli-rq5rpv6k.js → cli-91pkxres.js} +1 -1
- package/dist/{cli-m7zvgt57.js → cli-9fjr27ez.js} +10 -10
- package/dist/{cli-f8x9drqr.js → cli-aw83sr40.js} +19 -5
- package/dist/{cli-jkw6ptfw.js → cli-cc93xzes.js} +5 -5
- package/dist/{cli-gfy38pvt.js → cli-fcfbct2j.js} +5 -5
- package/dist/{cli-nafvvsp8.js → cli-fq2rr3jb.js} +5 -5
- package/dist/{boot-scrub-sweep-7dkdzqxx.js → cli-had1p04a.js} +8 -9
- package/dist/{cli-bg63qmsx.js → cli-j6te8keb.js} +4 -4
- package/dist/{cli-br0924pw.js → cli-jrbq4djp.js} +1 -1
- package/dist/{cli-kxx4k2jw.js → cli-k3q2va86.js} +2 -2
- package/dist/{cli-jaw5v1sy.js → cli-k5yewqgd.js} +3 -3
- package/dist/cli-kbtzfrxj.js +404 -0
- package/dist/{cli-td9tb872.js → cli-m9cvf7vs.js} +7 -7
- package/dist/{cli-f3jyzq4g.js → cli-md50mj0r.js} +2 -2
- package/dist/{cli-xag7btpe.js → cli-mk7c5ac4.js} +1 -1
- package/dist/cli-mys27d03.js +321 -0
- package/dist/{cli-nbt14he0.js → cli-nstkanmx.js} +5 -5
- package/dist/{cli-wn13hhdt.js → cli-nv4xsvmk.js} +4 -4
- package/dist/{cli-vyff45ve.js → cli-p0c3vtch.js} +2 -2
- package/dist/{cli-2czxfnvj.js → cli-p0n7b5rz.js} +662 -93
- package/dist/{cli-j7svy295.js → cli-q5srsxq2.js} +12 -12
- package/dist/{cli-vt89089n.js → cli-qrta34nb.js} +4 -4
- package/dist/{cli-ysvspf5e.js → cli-qx4f057j.js} +2 -2
- package/dist/{cli-zh0e5x7p.js → cli-s1khw52h.js} +11 -11
- package/dist/{cli-mkwkwq81.js → cli-s1zqk1aj.js} +18 -11
- package/dist/{cli-f9gz2vyj.js → cli-sb4426be.js} +7 -7
- package/dist/{cli-dgs10ttj.js → cli-th1dkc2v.js} +1 -1
- package/dist/{cli-3j873zxq.js → cli-tr27kwyg.js} +2 -2
- package/dist/{cli-6945ywhr.js → cli-tvgqesec.js} +6 -4
- package/dist/{cli-fjggej24.js → cli-v46zsvqk.js} +1 -1
- package/dist/{cli-67mwzr35.js → cli-v8z0yga9.js} +4 -4
- package/dist/{cli-pb2ay3sh.js → cli-vfqvrd82.js} +5 -5
- package/dist/{cli-fh97xn30.js → cli-vq2eg24x.js} +2 -2
- package/dist/{cli-v57d7fmm.js → cli-vsw91x06.js} +23 -22
- package/dist/{cli-2yjj3e31.js → cli-w1q68d8x.js} +9 -7
- package/dist/{cli-y2ewxhth.js → cli-wafmk3fn.js} +10 -10
- package/dist/{cli-ctx0b85j.js → cli-wwp1bd3n.js} +257 -101
- package/dist/{cli-bkjdknnp.js → cli-y4ccxtz5.js} +37 -5
- package/dist/{cli-w4n323t3.js → cli-y8p78ekx.js} +7 -7
- package/dist/{cli-8zh9nrew.js → cli-z0m452jr.js} +1 -1
- package/dist/{cli-mjw0yf82.js → cli-zeh2mhkg.js} +1 -1
- package/dist/{cli-jwampxxq.js → cli-zk7v5s89.js} +2 -2
- package/dist/cli.js +16 -16
- package/dist/{cloudflare-workers-ai-system-one-9y1zx3pt.js → cloudflare-workers-ai-system-one-4aysy6rh.js} +2 -2
- package/dist/{codex-adapter-n656pvb8.js → codex-adapter-exfdbj73.js} +4 -4
- package/dist/{codex-session-runner-p0fbv5y9.js → codex-session-runner-xhznc4g3.js} +4 -4
- package/dist/{commands-gwea8z5p.js → commands-d8g349v4.js} +3 -3
- package/dist/{controller-t67c3grh.js → controller-mwgdmb8y.js} +3 -3
- package/dist/{controllers-connect-ks155r0h.js → controllers-connect-5v7qx04j.js} +19 -19
- package/dist/core-sxy4epp2.js +38 -0
- package/dist/{cursor-adapter-ygwrtmkv.js → cursor-adapter-p2q5h35d.js} +1 -1
- package/dist/{db-rb2xqdb1.js → db-qpganbeb.js} +3 -3
- package/dist/{db-kpmx06s9.js → db-wcw0b2j8.js} +2 -2
- package/dist/{dispatcher-31sm0ej2.js → dispatcher-8d8s49yz.js} +17 -17
- package/dist/{dsh-adapter-qyxh0w31.js → dsh-adapter-me0twn13.js} +1 -1
- package/dist/{easter-egg-3d-00wjscn6.js → easter-egg-3d-wv7w5ty6.js} +1 -1
- package/dist/{embedding-space-qhw4g68n.js → embedding-space-e48xchqa.js} +6 -6
- package/dist/{embeddings-zdv9ke6x.js → embeddings-tgq2afbq.js} +1 -1
- package/dist/{execute-zna8wwr7.js → execute-8rhwrk7f.js} +1 -1
- package/dist/{external-channel-1ac6t56s.js → external-channel-8bt3j2pm.js} +2 -2
- package/dist/{fx-adapter-sk7n0fzc.js → fx-adapter-adtdb3jb.js} +8 -8
- package/dist/{grok-adapter-sjbcm5ew.js → grok-adapter-accnn9km.js} +8 -8
- package/dist/handlers-1x77561e.js +35 -0
- package/dist/{heartbeat-2f6z4kdx.js → heartbeat-x0056ra5.js} +20 -20
- package/dist/{hook-w1skzaqc.js → hook-a7vmn2st.js} +4 -4
- package/dist/{hook-8y0gvtp1.js → hook-mrd2ayxv.js} +5 -5
- package/dist/{http-wghxvpef.js → http-ym9c5svp.js} +676 -273
- package/dist/{index-s71ez27v.js → index-01ns1pkw.js} +1 -1
- package/dist/index-48qzcqzj.js +35 -0
- package/dist/{index-9zkchs9t.js → index-ny60jcat.js} +186 -14
- package/dist/{index-rv89fvzf.js → index-p46tvwtx.js} +21 -21
- package/dist/index-rkvaambe.js +36 -0
- package/dist/{index-8zn8nxn5.js → index-x6azjwm8.js} +1 -1
- package/dist/{index-25pvya7q.js → index-xj1mq27m.js} +17 -17
- package/dist/k8s-m56sw868.js +217 -0
- package/dist/{keepalive-sh02349h.js → keepalive-7yxg8z4c.js} +3 -3
- package/dist/lead-enzn86bz.js +74 -0
- package/dist/{maintenance-yj0dcjja.js → maintenance-6tefxmk1.js} +1 -1
- package/dist/{oauth-refresh-sweep-d9xedk66.js → oauth-refresh-sweep-70cavc3a.js} +2 -2
- package/dist/{onboard-dpgjn03r.js → onboard-fja65z08.js} +5 -5
- package/dist/{openai-decisions-q3hh60wr.js → openai-decisions-ytp6w6xh.js} +1 -1
- package/dist/{opencode-adapter-2d31cpjc.js → opencode-adapter-hakkm7yh.js} +5 -5
- package/dist/{otel-impl-1skarpfq.js → otel-impl-7zhnt6gj.js} +1 -1
- package/dist/{pending-bfmxtx0g.js → pending-h01yzpx4.js} +18 -18
- package/dist/{pi-mono-adapter-gvppnasy.js → pi-mono-adapter-f52hz743.js} +6 -6
- package/dist/{pricing-refresh-c6b325mk.js → pricing-refresh-fzxvk2zf.js} +2 -2
- package/dist/{rbac-roles-h80qbdbs.js → rbac-roles-9v6vhgbs.js} +3 -3
- package/dist/{rbac-roles-zfcx68tx.js → rbac-roles-hfgh8sba.js} +2 -2
- package/dist/{render-v2-nx20t3rb.js → render-v2-1rgspxzf.js} +3 -3
- package/dist/{resume-5ep8agan.js → resume-tqy61x24.js} +7 -7
- package/dist/{runtime-r3pj4mce.js → runtime-exkxyx5f.js} +1 -1
- package/dist/{session-access-n7p3m15b.js → session-access-3act7vt4.js} +4 -4
- package/dist/{session-source-backfill-v8mt0zwn.js → session-source-backfill-82qe7fqq.js} +2 -2
- package/dist/{setup-z1psaqhe.js → setup-ry1vfdef.js} +1 -1
- package/dist/thread-buffer-3x93yexa.js +38 -0
- package/dist/{typesafe-system-one-f2en2knd.js → typesafe-system-one-vcfj2ak8.js} +2 -2
- package/dist/user-merge-jobs-bx6bf7db.js +22 -0
- package/dist/{virtual-modules-rrbjdpxn.js → virtual-modules-s0rjzcqq.js} +3 -3
- package/dist/{work-objects-4aghh73z.js → work-objects-z2e5tv03.js} +20 -20
- package/dist/{worker-follow-up-166zmex1.js → worker-follow-up-y3xeg89w.js} +17 -17
- package/dist/worker-zfcv2wbf.js +74 -0
- package/openapi.json +1630 -388
- package/package.json +3 -3
- package/src/be/boot-seeds.ts +7 -1
- package/src/be/db/model-groups.ts +238 -0
- package/src/be/db/model-profiles.ts +26 -8
- package/src/be/db/session-costs.ts +8 -2
- package/src/be/db/tasks/read.ts +3 -2
- package/src/be/db/tasks/write.ts +2 -1
- package/src/be/db/user-references.ts +75 -0
- package/src/be/db/users/references.ts +185 -0
- package/src/be/db-client.ts +70 -19
- package/src/be/db.ts +32 -57
- package/src/be/key-window-usage.ts +1 -0
- package/src/be/memory/demotion-evidence.ts +34 -0
- package/src/be/memory/reranker.ts +34 -12
- package/src/be/memory/review-recall-filter.ts +83 -0
- package/src/be/memory/search-candidates.ts +19 -6
- package/src/be/memory/types.ts +11 -0
- package/src/be/migrations/312_task_ui_action_runs_repeatable.sql +6 -0
- package/src/be/migrations/314_model_groups.sql +85 -0
- package/src/be/migrations/318_superseded_workflow_cut_backfill.sql +22 -0
- package/src/be/migrations/319_user_fk_indexes.sql +153 -0
- package/src/be/migrations/320_session_costs_kind.sql +4 -0
- package/src/be/migrations/321_user_merge_jobs.sql +52 -0
- package/src/be/pricing-normalize.ts +2 -0
- package/src/be/rbac-roles.ts +6 -4
- package/src/be/runtime-pools/db.ts +20 -5
- package/src/be/runtime-pools/supervisor.ts +15 -1
- package/src/be/scripts/db.ts +11 -0
- package/src/be/scripts/typecheck.ts +2 -0
- package/src/be/seed-model-groups.ts +86 -0
- package/src/be/seed-model-profiles.ts +20 -13
- package/src/be/seed-scripts/catalog/dreaming-gather.ts +165 -1
- package/src/be/swarm-config-guard.ts +34 -0
- package/src/be/task-ui-spec.ts +102 -1
- package/src/be/user-merge-jobs.ts +564 -0
- package/src/be/users.ts +41 -23
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/onboard/compose-generator.ts +1 -1
- package/src/commands/onboard/env-generator.ts +1 -1
- package/src/commands/provider-credentials.ts +1 -1
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/extensions/contract.ts +15 -0
- package/src/extensions/dispatcher.ts +14 -4
- package/src/github/handlers.ts +57 -0
- package/src/github/types.ts +4 -0
- package/src/http/all-routes.ts +2 -0
- package/src/http/approval-requests.ts +5 -1
- package/src/http/auth.ts +3 -1
- package/src/http/config.ts +34 -1
- package/src/http/index.ts +13 -0
- package/src/http/memory.ts +19 -6
- package/src/http/model-groups.ts +277 -0
- package/src/http/model-profiles.ts +30 -13
- package/src/http/tasks.ts +41 -6
- package/src/http/tool-hooks.ts +140 -0
- package/src/http/users.ts +142 -19
- package/src/http/workflows.ts +19 -1
- package/src/integrations/chat-sdk/inbound.ts +8 -2
- package/src/integrations/chat-sdk/limits.ts +8 -3
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/pricing-sources.md +9 -0
- package/src/rbac/legacy-policy.ts +1 -0
- package/src/rbac/permissions.ts +5 -0
- package/src/runtime-providers/index.ts +7 -5
- package/src/runtime-providers/k8s.ts +250 -0
- package/src/scripts-runtime/types/stdlib.d.ts +2 -0
- package/src/scripts-runtime/types/swarm-extension.d.ts +16 -1
- package/src/scripts-runtime/types/swarm-sdk.d.ts +2 -0
- package/src/slack/actions.ts +33 -10
- package/src/slack/blocks.ts +23 -2
- package/src/slack/render-v2.ts +47 -0
- package/src/tests/acp-adapter.test.ts +26 -0
- package/src/tests/chat-sdk-relay.test.ts +21 -1
- package/src/tests/check-pr-body.test.ts +43 -0
- package/src/tests/credential-check.test.ts +14 -6
- package/src/tests/db-client.test.ts +146 -0
- package/src/tests/deploy-guard.test.ts +7 -7
- package/src/tests/deploy-select.test.ts +83 -0
- package/src/tests/dreaming-gather-corrections.test.ts +467 -0
- package/src/tests/event-loop-lag.test.ts +9 -7
- package/src/tests/fixtures/extensions/native-tool-recorder/hooks.ts +26 -0
- package/src/tests/fixtures/extensions/native-tool-recorder/manifest.json +10 -0
- package/src/tests/fixtures/onboard/content.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/content.env.txt +1 -1
- package/src/tests/fixtures/onboard/dev.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/dev.env.txt +1 -1
- package/src/tests/fixtures/onboard/full-all.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/full-all.env.txt +1 -1
- package/src/tests/fixtures/onboard/full.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/full.env.txt +1 -1
- package/src/tests/fixtures/onboard/research.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/research.env.txt +1 -1
- package/src/tests/fixtures/onboard/solo.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/solo.env.txt +1 -1
- package/src/tests/github-event-filter.test.ts +8 -0
- package/src/tests/github-handlers-inline-comments.test.ts +2 -0
- package/src/tests/github-handlers-reactions.test.ts +4 -0
- package/src/tests/github-handlers.test.ts +3 -0
- package/src/tests/github-sender-trust.test.ts +223 -0
- package/src/tests/http-users.test.ts +142 -41
- package/src/tests/k8s-pool-smoke.test.ts +190 -0
- package/src/tests/key-window-usage.test.ts +15 -0
- package/src/tests/memory-rater-store.test.ts +35 -1
- package/src/tests/memory-reranker.test.ts +39 -4
- package/src/tests/memory-review-recall-filter.test.ts +205 -0
- package/src/tests/migration-318-superseded-workflow-cut-backfill.test.ts +74 -0
- package/src/tests/model-groups-api.test.ts +415 -0
- package/src/tests/model-profiles-api.test.ts +1 -0
- package/src/tests/operator-granted-credentials.test.ts +7 -2
- package/src/tests/operator-granted-role-wire.test.ts +2 -1
- package/src/tests/rbac-engine.test.ts +1 -0
- package/src/tests/runtime-k8s-pools.test.ts +142 -0
- package/src/tests/runtime-pools-db.test.ts +42 -2
- package/src/tests/runtime-pools-http.test.ts +47 -2
- package/src/tests/runtime-provider-registration.test.ts +5 -14
- package/src/tests/runtime-providers-k8s.test.ts +303 -0
- package/src/tests/script-connections.test.ts +13 -1
- package/src/tests/short-id.test.ts +23 -0
- package/src/tests/slack-blocks.test.ts +69 -0
- package/src/tests/slack-render-v2.test.ts +54 -0
- package/src/tests/spec-base-url.test.ts +13 -1
- package/src/tests/system-one-decide-session-cost.test.ts +196 -0
- package/src/tests/task-ui-action-route.test.ts +59 -1
- package/src/tests/task-ui-script-actions.test.ts +517 -0
- package/src/tests/tool-hooks-http.test.ts +187 -0
- package/src/tests/ui-spec-script-actions-config.test.ts +196 -0
- package/src/tests/user-delete-perf.test.ts +321 -0
- package/src/tests/user-merge-jobs.test.ts +680 -0
- package/src/tests/vcs-provider.test.ts +25 -5
- package/src/tests/vendored-openapi.test.ts +13 -1
- package/src/tests/workflow-agent-task-retry.test.ts +62 -0
- package/src/tests/workflow-foreach-supersede-retry.test.ts +10 -0
- package/src/tests/workflow-http-v2.test.ts +27 -0
- package/src/tests/workflow-replay.test.ts +10 -1
- package/src/tests/workflow-triggers-v2.test.ts +128 -0
- package/src/tests/workflow-wait-event.test.ts +109 -1
- package/src/tools/memory-search.ts +14 -3
- package/src/tools/store-progress.ts +26 -26
- package/src/tools/swarm-config/delete-config.ts +12 -1
- package/src/tools/swarm-config/set-config.ts +8 -0
- package/src/tools/system-one-decide.ts +113 -3
- package/src/tools/utils.ts +4 -1
- package/src/tools/workflows/create-workflow.ts +2 -0
- package/src/tools/workflows/update-workflow.ts +3 -1
- package/src/types.ts +86 -2
- package/src/ui-spec/actions.ts +30 -4
- package/src/ui-spec/schema.ts +38 -0
- package/src/ui-spec/script-actions.ts +340 -0
- package/src/ui-spec/script-allowlist.ts +48 -0
- package/src/utils/short-id.ts +20 -14
- package/src/utils/task-ui-spec.ts +16 -4
- package/src/vcs/index.ts +12 -2
- package/src/workflows/executors/system-one-decision.ts +2 -2
- package/src/workflows/resume.ts +3 -2
- package/src/workflows/task-step-routing.ts +30 -10
- package/src/workflows/triggers.ts +35 -3
- package/templates/extensions/manifest.schema.json +13 -0
- package/templates/skills/swarm-docs/content.md +2 -0
- package/templates/skills/ui-spec/content.md +7 -1
- package/templates/workflows/dreaming/content.md +1 -1
- package/dist/acp-adapter-g909b5hw.js +0 -16
- package/dist/cli-b91nz213.js +0 -93
- package/dist/handlers-yzy0c87x.js +0 -35
- package/dist/index-2t4859r5.js +0 -35
- package/dist/index-cxca2t8y.js +0 -36
- package/dist/lead-gk4h5eg7.js +0 -74
- package/dist/thread-buffer-a1re2r9r.js +0 -38
- package/dist/worker-3dyyb8ev.js +0 -74
- package/dist/{azure-openai-responses-590s1eea.js → azure-openai-responses-b3y7fz36.js} +8 -8
- package/dist/{cli-m7c2380k.js → cli-3aaeb78m.js} +4 -4
- package/dist/{cli-g0vv9dg4.js → cli-8y43jx2r.js} +8 -8
- package/dist/{cli-m0cy2vyf.js → cli-k6nejceb.js} +4 -4
- package/dist/{google-generative-ai-maq6c9bf.js → google-generative-ai-bh0djqjp.js} +4 -4
- package/dist/{google-vertex-2jgsw2nb.js → google-vertex-prjbw8dj.js} +8 -8
- package/dist/{mistral-conversations-0c30em7t.js → mistral-conversations-tm2vd4gc.js} +8 -8
- package/dist/{node-dqm4xgxw.js → node-2wfcey7d.js} +0 -0
- package/dist/{openai-codex-responses-bkcd8pjj.js → openai-codex-responses-sxjv60xx.js} +4 -4
- package/dist/{openai-completions-f3n69rep.js → openai-completions-0c7qnhsx.js} +20 -20
- package/dist/{openai-responses-gbh0wfqe.js → openai-responses-a7h29chp.js} +15 -15
- package/dist/{pi-messages-zebyt7gb.js → pi-messages-2j0fpqwq.js} +5 -5
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import"./cli-ns59dc6r.js";
|
|
2
|
+
import {
|
|
3
|
+
parseHeartbeatIntervalMs2,
|
|
4
|
+
startHeartbeat2,
|
|
5
|
+
stopHeartbeat2
|
|
6
|
+
} from "./cli-9fjr27ez.js";
|
|
7
|
+
import"./cli-8st34zhr.js";
|
|
8
|
+
import"./cli-43evxwj4.js";
|
|
9
|
+
import"./cli-p0n7b5rz.js";
|
|
10
|
+
import"./cli-mys27d03.js";
|
|
11
|
+
import"./cli-th1dkc2v.js";
|
|
12
|
+
import"./cli-w1q68d8x.js";
|
|
13
|
+
import"./cli-2rnd5j3t.js";
|
|
14
|
+
import"./cli-7cp6aa1q.js";
|
|
15
|
+
import"./cli-jrbq4djp.js";
|
|
16
|
+
import"./cli-7r162fxe.js";
|
|
17
|
+
import"./cli-q5srsxq2.js";
|
|
18
|
+
import"./cli-cc93xzes.js";
|
|
19
|
+
import"./cli-nstkanmx.js";
|
|
20
|
+
import"./cli-s1zqk1aj.js";
|
|
21
|
+
import"./cli-539h29es.js";
|
|
22
|
+
import"./cli-mk7c5ac4.js";
|
|
23
|
+
import"./cli-47hz21se.js";
|
|
24
|
+
import"./cli-n3qe7tyr.js";
|
|
25
|
+
import"./cli-9w8712tq.js";
|
|
26
|
+
import"./cli-q2d3e1k1.js";
|
|
27
|
+
import"./cli-2v2zdm0a.js";
|
|
28
|
+
import"./cli-vfqvrd82.js";
|
|
29
|
+
import"./cli-vsw91x06.js";
|
|
30
|
+
import"./cli-wwp1bd3n.js";
|
|
31
|
+
export {
|
|
32
|
+
parseHeartbeatIntervalMs2 as parseHeartbeatIntervalMs,
|
|
33
|
+
startHeartbeat2 as startHeartbeat,
|
|
34
|
+
stopHeartbeat2 as stopHeartbeat
|
|
35
|
+
};
|
|
@@ -17,20 +17,20 @@ import {
|
|
|
17
17
|
deleteSkill2,
|
|
18
18
|
getSkillByName2,
|
|
19
19
|
init_db4
|
|
20
|
-
} from "./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
} from "./cli-wwp1bd3n.js";
|
|
21
|
+
import"./cli-vfqvrd82.js";
|
|
22
22
|
import {
|
|
23
23
|
agentFsProvisionSeeder2
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-vq2eg24x.js";
|
|
25
25
|
import {
|
|
26
26
|
runSeeders
|
|
27
|
-
} from "./cli-
|
|
28
|
-
import"./cli-
|
|
27
|
+
} from "./cli-z0m452jr.js";
|
|
28
|
+
import"./cli-mk7c5ac4.js";
|
|
29
29
|
import"./cli-9w8712tq.js";
|
|
30
30
|
import"./cli-47hz21se.js";
|
|
31
31
|
import"./cli-q2d3e1k1.js";
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
32
|
+
import"./cli-539h29es.js";
|
|
33
|
+
import"./cli-cc93xzes.js";
|
|
34
34
|
import {
|
|
35
35
|
buildSkillContent
|
|
36
36
|
} from "./cli-691vz9mk.js";
|
|
@@ -54,12 +54,12 @@ import {
|
|
|
54
54
|
init_typecheck,
|
|
55
55
|
parseSkillContent,
|
|
56
56
|
init_skill_parser
|
|
57
|
-
} from "./cli-
|
|
58
|
-
import"./cli-
|
|
59
|
-
import"./cli-
|
|
57
|
+
} from "./cli-w1q68d8x.js";
|
|
58
|
+
import"./cli-2rnd5j3t.js";
|
|
59
|
+
import"./cli-q5srsxq2.js";
|
|
60
60
|
import"./cli-n3qe7tyr.js";
|
|
61
|
-
import"./cli-
|
|
62
|
-
import"./cli-
|
|
61
|
+
import"./cli-2v2zdm0a.js";
|
|
62
|
+
import"./cli-vsw91x06.js";
|
|
63
63
|
import {
|
|
64
64
|
isEnvFlagEnabled,
|
|
65
65
|
init_env_flag
|
|
@@ -3093,8 +3093,11 @@ const CAPS = {
|
|
|
3093
3093
|
identityOpsTotal: 6,
|
|
3094
3094
|
identityOpsPerAgent: 1,
|
|
3095
3095
|
memoryStore: 5,
|
|
3096
|
-
|
|
3096
|
+
// 5 for the lanes that existed before + memoryCorrections, since a confirmed correction is an edit.
|
|
3097
|
+
memoryEdit: 15,
|
|
3097
3098
|
memoryDelete: 10,
|
|
3099
|
+
// Memories per night in swarm.memory.corrections (explicit-self rating notes). About 3 new notes a day.
|
|
3100
|
+
memoryCorrections: 10,
|
|
3098
3101
|
skillCreate: 2,
|
|
3099
3102
|
skillUpdate: 6,
|
|
3100
3103
|
scriptSpecs: 2,
|
|
@@ -3556,6 +3559,156 @@ export default async function (args: unknown, ctx: ScriptContext) {
|
|
|
3556
3559
|
// memories had long titles. A newline in a name is the real defect.
|
|
3557
3560
|
[win],
|
|
3558
3561
|
);
|
|
3562
|
+
// Correction queue: explicit-self ratings whose note says a manual memory is wrong or stale. One item per memory,
|
|
3563
|
+
// oldest unhandled note first. Handled = the memory has a version newer than the rating (edited), or a non-dry
|
|
3564
|
+
// synthesis already ruled on the rating: a rejected[] item from "swarm.memory.corrections" naming "rating:<id>"
|
|
3565
|
+
// with a non-cap reason, or a propose action whose evidence cites "rating:<id>". Cap overflow and edits apply
|
|
3566
|
+
// refused leave no marker, so they come back the next night.
|
|
3567
|
+
// A rating on a later chunk counts for its document: it maps to chunk 0 by the same match dreaming-apply uses
|
|
3568
|
+
// (name, agent, chunk count, write minute). A single-chunk body is sent whole, since synthesis may replace it;
|
|
3569
|
+
// one longer than CORR_SINGLE_MAX is held out of the queue (counted in \`oversize\`) instead of being truncated.
|
|
3570
|
+
// A body the egress scrubber rewrote is held out too (counted in \`scrubbed\`): synthesis could copy its
|
|
3571
|
+
// "[REDACTED:<key>]" marker into a replace, and apply's scrubberGuard credits markers in the op content, so the
|
|
3572
|
+
// original text would be lost. SQL length() is a number, so the scrubber leaves it alone; a changed code-point
|
|
3573
|
+
// count catches a rewrite even when no marker text survives.
|
|
3574
|
+
const CORR_SINGLE_MAX = 8000;
|
|
3575
|
+
const scrubbedRead = (text: string, rawLen: unknown) =>
|
|
3576
|
+
text.includes("[REDACTED") || [...text].length !== Number(rawLen ?? 0);
|
|
3577
|
+
const corrWf = await q(
|
|
3578
|
+
"correctionsWorkflow",
|
|
3579
|
+
\`SELECT COALESCE((SELECT workflowId FROM workflow_runs WHERE id = ?),
|
|
3580
|
+
(SELECT id FROM workflows WHERE name = 'dreaming' ORDER BY createdAt ASC LIMIT 1)) wf\`,
|
|
3581
|
+
[a.runId ?? ""],
|
|
3582
|
+
);
|
|
3583
|
+
// The scrubber rewrites a body after the query returns, so a held-out memory is only known here. Page by
|
|
3584
|
+
// excluding every memory already read: a run of scrubbed or held memories at the head of the queue can no
|
|
3585
|
+
// longer fill the window and starve the clean corrections behind it night after night.
|
|
3586
|
+
const corrPage = (seen: string[]) => q(
|
|
3587
|
+
"memCorrections",
|
|
3588
|
+
\`WITH syn AS MATERIALIZED (
|
|
3589
|
+
SELECT json_extract(s.output, '$.taskOutput') o FROM workflow_run_steps s JOIN workflow_runs r ON r.id = s.runId
|
|
3590
|
+
WHERE r.workflowId = ? AND s.nodeId = 'synthesize' AND s.runId <> ? AND json_valid(s.output)
|
|
3591
|
+
AND COALESCE(CASE WHEN json_valid(r.triggerData) THEN json_type(r.triggerData, '$.dryRun') = 'true'
|
|
3592
|
+
OR json_extract(r.triggerData, '$.dryRun') = 'true' END, 0) = 0),
|
|
3593
|
+
handled AS MATERIALIZED (
|
|
3594
|
+
SELECT json_extract(j.value, '$.item') ref FROM syn, json_each(syn.o, '$.rejected') j
|
|
3595
|
+
WHERE j.type = 'object' AND json_extract(j.value, '$.from') = 'swarm.memory.corrections'
|
|
3596
|
+
AND COALESCE(json_extract(j.value, '$.reason'), '') NOT GLOB 'cap*'
|
|
3597
|
+
UNION
|
|
3598
|
+
SELECT e.value FROM syn, json_each(syn.o, '$.actions') x, json_each(x.value, '$.evidence') e
|
|
3599
|
+
WHERE x.type = 'object' AND json_extract(x.value, '$.tier') = 'propose' AND e.type = 'text' AND e.value GLOB 'rating:*'),
|
|
3600
|
+
rated AS MATERIALIZED (
|
|
3601
|
+
SELECT r.id ratingId, r.memoryId ratedId, r.taskId, r.signal, r.reasoning, r.createdAt ratedAt,
|
|
3602
|
+
CASE WHEN COALESCE(c.chunkIndex, 0) = 0 THEN c.id ELSE (
|
|
3603
|
+
SELECT h.id FROM agent_memory h WHERE h.name = c.name AND h.agentId IS c.agentId AND h.source = 'manual'
|
|
3604
|
+
AND COALESCE(h.chunkIndex, 0) = 0 AND COALESCE(h.totalChunks, 1) = COALESCE(c.totalChunks, 1)
|
|
3605
|
+
AND substr(h.createdAt, 1, 16) = substr(c.createdAt, 1, 16) ORDER BY h.createdAt, h.id LIMIT 1) END docId
|
|
3606
|
+
FROM memory_rating r JOIN agent_memory c ON c.id = r.memoryId
|
|
3607
|
+
WHERE r.source = 'explicit-self' AND r.signal < 0 AND length(trim(COALESCE(r.reasoning, ''))) > 0
|
|
3608
|
+
AND c.source = 'manual'),
|
|
3609
|
+
q AS MATERIALIZED (
|
|
3610
|
+
SELECT r.ratingId, r.docId memoryId, r.ratedId, r.taskId, r.signal, r.reasoning, r.ratedAt,
|
|
3611
|
+
m.name, m.agentId, m.scope, m.version, m.alpha, m.beta, m.createdAt memCreatedAt, m.content, length(m.content) rawLen,
|
|
3612
|
+
COALESCE(m.totalChunks, 1) totalChunks,
|
|
3613
|
+
(COALESCE(m.totalChunks, 1) = 1 AND length(m.content) > ?) big,
|
|
3614
|
+
ROW_NUMBER() OVER (PARTITION BY r.docId ORDER BY r.ratedAt DESC) rn,
|
|
3615
|
+
MIN(r.ratedAt) OVER (PARTITION BY r.docId) firstAt
|
|
3616
|
+
FROM rated r JOIN agent_memory m ON m.id = r.docId
|
|
3617
|
+
WHERE julianday(r.ratedAt) > julianday(COALESCE(
|
|
3618
|
+
(SELECT MAX(v.createdAt) FROM agent_memory_version v WHERE v.memory_id = m.id), m.createdAt))
|
|
3619
|
+
AND ('rating:' || r.ratingId) NOT IN (SELECT ref FROM handled WHERE ref IS NOT NULL))
|
|
3620
|
+
-- The counts row survives an empty pick (memoryId NULL), so oversize-only backlogs still report.
|
|
3621
|
+
SELECT f.*, s.backlog, s.oversize
|
|
3622
|
+
FROM (SELECT COUNT(DISTINCT memoryId) backlog, COUNT(DISTINCT CASE WHEN big THEN memoryId END) oversize FROM q) s
|
|
3623
|
+
LEFT JOIN (SELECT * FROM q WHERE rn <= 3 AND memoryId IN (
|
|
3624
|
+
SELECT memoryId FROM q WHERE rn = 1 AND NOT big
|
|
3625
|
+
AND memoryId NOT IN (SELECT value FROM json_each(?)) ORDER BY firstAt ASC, memoryId LIMIT ?)) f ON 1
|
|
3626
|
+
ORDER BY f.firstAt ASC, f.memoryId, f.rn\`,
|
|
3627
|
+
[String(corrWf?.[0]?.wf ?? ""), a.runId ?? "", CORR_SINGLE_MAX, JSON.stringify(seen), CAPS.memoryCorrections * 2],
|
|
3628
|
+
);
|
|
3629
|
+
// Each page adds only unseen memories, so the loop ends when the queue is exhausted. The page guard is a
|
|
3630
|
+
// runaway stop: 50 pages x 20 memories is ten times the backlog seen in prod.
|
|
3631
|
+
const CORR_MAX_PAGES = 50;
|
|
3632
|
+
// ok false = a page query failed, so the items read so far are not the whole queue.
|
|
3633
|
+
let corrOk = !!corrWf;
|
|
3634
|
+
let corrCounts: any = null;
|
|
3635
|
+
const corrSeen: string[] = [];
|
|
3636
|
+
// Multi-chunk bodies may be cut for the prompt: apply refuses edits to them, so they only become proposals.
|
|
3637
|
+
const CORR_BODY_MAX = 3000;
|
|
3638
|
+
const corrItems: any[] = [];
|
|
3639
|
+
const corrHeld = new Set<string>();
|
|
3640
|
+
const corrScrubbed = new Set<string>();
|
|
3641
|
+
for (let page = 0; corrOk && page < CORR_MAX_PAGES && corrItems.length < CAPS.memoryCorrections; page++) {
|
|
3642
|
+
const rows = await corrPage(corrSeen);
|
|
3643
|
+
if (rows === null) {
|
|
3644
|
+
corrOk = false;
|
|
3645
|
+
break;
|
|
3646
|
+
}
|
|
3647
|
+
corrCounts ??= rows[0] ?? null;
|
|
3648
|
+
const fresh = [...new Set(rows.map((r: any) => r.memoryId).filter((id: unknown) => id != null))] as string[];
|
|
3649
|
+
if (!fresh.length) break;
|
|
3650
|
+
corrSeen.push(...fresh);
|
|
3651
|
+
for (const r of rows) {
|
|
3652
|
+
if (r.memoryId == null || corrHeld.has(r.memoryId) || corrScrubbed.has(r.memoryId)) continue;
|
|
3653
|
+
let item = corrItems.find((x) => x.memoryId === r.memoryId);
|
|
3654
|
+
if (!item) {
|
|
3655
|
+
if (corrItems.length >= CAPS.memoryCorrections) continue;
|
|
3656
|
+
let body = String(r.content ?? "");
|
|
3657
|
+
const totalChunks = Number(r.totalChunks);
|
|
3658
|
+
// SQLite length() counts code points and JS counts UTF-16 units: re-check, never send a cut single-chunk body.
|
|
3659
|
+
if (totalChunks <= 1 && body.length > CORR_SINGLE_MAX) {
|
|
3660
|
+
corrHeld.add(r.memoryId);
|
|
3661
|
+
continue;
|
|
3662
|
+
}
|
|
3663
|
+
let joined = totalChunks <= 1;
|
|
3664
|
+
if (totalChunks > 1) {
|
|
3665
|
+
// Same document match as dreaming-apply (name, agent, chunk count), pinned to chunk 0's write minute.
|
|
3666
|
+
const parts = await q(
|
|
3667
|
+
"memCorrectionChunks",
|
|
3668
|
+
\`SELECT content, length(content) rawLen FROM agent_memory WHERE name = ? AND agentId IS ? AND source = 'manual'
|
|
3669
|
+
AND COALESCE(totalChunks, 1) = ? AND substr(createdAt, 1, 16) = substr(?, 1, 16) ORDER BY chunkIndex ASC\`,
|
|
3670
|
+
[r.name, r.agentId ?? null, totalChunks, r.memCreatedAt],
|
|
3671
|
+
);
|
|
3672
|
+
if (parts?.length) body = joinChunks(parts.map((x: any) => String(x.content ?? "")));
|
|
3673
|
+
joined = parts?.length === totalChunks;
|
|
3674
|
+
if (parts?.some((x: any) => scrubbedRead(String(x.content ?? ""), x.rawLen))) {
|
|
3675
|
+
corrScrubbed.add(r.memoryId);
|
|
3676
|
+
continue;
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
if (scrubbedRead(String(r.content ?? ""), r.rawLen)) {
|
|
3680
|
+
corrScrubbed.add(r.memoryId);
|
|
3681
|
+
continue;
|
|
3682
|
+
}
|
|
3683
|
+
const cut = totalChunks > 1 && body.length > CORR_BODY_MAX;
|
|
3684
|
+
item = {
|
|
3685
|
+
memoryId: r.memoryId,
|
|
3686
|
+
name: r.name,
|
|
3687
|
+
agentId: r.agentId ?? null,
|
|
3688
|
+
scope: r.scope,
|
|
3689
|
+
version: Number(r.version ?? 1),
|
|
3690
|
+
alpha: Number(r.alpha),
|
|
3691
|
+
beta: Number(r.beta),
|
|
3692
|
+
totalChunks,
|
|
3693
|
+
multiChunk: totalChunks > 1,
|
|
3694
|
+
content: cut ? body.slice(0, CORR_BODY_MAX) : body,
|
|
3695
|
+
// true = the body shown is not the whole memory (cut for the prompt, or a chunk read came back short).
|
|
3696
|
+
contentTruncated: cut || !joined,
|
|
3697
|
+
notes: [],
|
|
3698
|
+
};
|
|
3699
|
+
corrItems.push(item);
|
|
3700
|
+
}
|
|
3701
|
+
item.notes.push({
|
|
3702
|
+
ratingId: r.ratingId,
|
|
3703
|
+
// The chunk row the agent rated; differs from memoryId when the rating was on a later chunk.
|
|
3704
|
+
ratedMemoryId: r.ratedId,
|
|
3705
|
+
taskId: r.taskId ?? null,
|
|
3706
|
+
signal: Number(r.signal),
|
|
3707
|
+
ratedAt: r.ratedAt,
|
|
3708
|
+
note: String(r.reasoning ?? "").slice(0, 1000),
|
|
3709
|
+
});
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3559
3712
|
const created = await q(
|
|
3560
3713
|
"memCreatedInWindow",
|
|
3561
3714
|
\`SELECT source, COUNT(*) n FROM agent_memory WHERE julianday(createdAt) > julianday('now', ?) GROUP BY source\`,
|
|
@@ -3570,6 +3723,17 @@ export default async function (args: unknown, ctx: ScriptContext) {
|
|
|
3570
3723
|
})),
|
|
3571
3724
|
unhelpful: unhelpful ?? [],
|
|
3572
3725
|
badKeys: badKeys ?? [],
|
|
3726
|
+
// ok false = a queue page failed, so the list may be short or empty; it is not "nothing to correct".
|
|
3727
|
+
corrections: {
|
|
3728
|
+
ok: corrOk,
|
|
3729
|
+
cap: CAPS.memoryCorrections,
|
|
3730
|
+
backlog: Number(corrCounts?.backlog ?? 0),
|
|
3731
|
+
// Single-chunk memories over CORR_SINGLE_MAX chars: held out, never sent cut (synthesis could replace them).
|
|
3732
|
+
oversize: Number(corrCounts?.oversize ?? 0) + corrHeld.size,
|
|
3733
|
+
// Memories whose body came back scrubbed: held out, never sent (a replace would persist the marker).
|
|
3734
|
+
scrubbed: corrScrubbed.size,
|
|
3735
|
+
items: corrItems,
|
|
3736
|
+
},
|
|
3573
3737
|
createdInWindow: {
|
|
3574
3738
|
manual: cnt("manual"),
|
|
3575
3739
|
taskCompletion: cnt("task_completion"),
|
|
@@ -20467,6 +20631,7 @@ Fetch the page as markdown: \`curl -fsSL https://docs.agent-swarm.dev/llms.mdx/d
|
|
|
20467
20631
|
|
|
20468
20632
|
- [Choosing an AI operating model](https://docs.agent-swarm.dev/docs/guides/choosing-an-ai-operating-model). Reference.
|
|
20469
20633
|
- [Small tech team operating model](https://docs.agent-swarm.dev/docs/guides/small-tech-team-operating-model). Reference.
|
|
20634
|
+
- [Customer renewal review](https://docs.agent-swarm.dev/docs/guides/customer-renewal-review). Reference.
|
|
20470
20635
|
- [Deployment Guide](https://docs.agent-swarm.dev/docs/guides/deployment). When: Someone wants to run Agent Swarm on their own server with Docker Compose.
|
|
20471
20636
|
- [One-click deploy](https://docs.agent-swarm.dev/docs/guides/one-click-deploy). When: Someone has no server yet and wants Agent Swarm running in the cloud with HTTPS.
|
|
20472
20637
|
- [Kubernetes and Helm](https://docs.agent-swarm.dev/docs/guides/kubernetes). When: Someone wants to install Agent Swarm on Kubernetes.
|
|
@@ -20515,6 +20680,7 @@ Fetch the page as markdown: \`curl -fsSL https://docs.agent-swarm.dev/llms.mdx/d
|
|
|
20515
20680
|
- [Multi-runtime agents](https://docs.agent-swarm.dev/docs/guides/multi-runtime-agents). Reference.
|
|
20516
20681
|
- [Runtime pools (beta)](https://docs.agent-swarm.dev/docs/guides/runtime-pools). Reference.
|
|
20517
20682
|
- [boxd runtime provider](https://docs.agent-swarm.dev/docs/guides/boxd-runtime-provider). Reference.
|
|
20683
|
+
- [Reviewing customer help content for conflicts with AI agents](https://docs.agent-swarm.dev/docs/guides/support-knowledge-conflict-review). Reference.
|
|
20518
20684
|
|
|
20519
20685
|
## Other docs
|
|
20520
20686
|
|
|
@@ -21605,13 +21771,19 @@ The engine checks every spec when you store it. It refuses a spec that breaks a
|
|
|
21605
21771
|
| A Slack table shows 5 rows per page | The native Slack table pages 5 rows at a time, with a pager. You cannot change the page size. Put the most important rows first. |
|
|
21606
21772
|
| 32 KiB | The JSON of \`spec\` is at most 32,768 bytes. |
|
|
21607
21773
|
| 45 Slack blocks, 25 elements in one \`Actions\` row | Slack Block Kit limits for one message. |
|
|
21774
|
+
| At most 25 entries in \`actions\` | Each \`script\` action is checked against the allowlist when the card is stored. |
|
|
21608
21775
|
| https URLs only | \`LinkButton.url\`, \`Image.url\` and \`Card.imageUrl\` must start with \`https:\`. The engine refuses \`http:\`, \`javascript:\`, \`data:\` and \`file:\` URLs. |
|
|
21609
21776
|
|
|
21610
21777
|
## Buttons
|
|
21611
21778
|
|
|
21612
21779
|
A \`Button\` needs \`UI_SPEC_ACTIONS_ENABLED=true\`. When that flag is off, the engine refuses a spec with a \`Button\`. Use \`LinkButton\` instead.
|
|
21613
21780
|
|
|
21614
|
-
When the flag is on, each \`Button.props.id\` matches \`^[a-z][a-z0-9_]{0,39}$\` and names a key of \`uiSpec.actions\`.
|
|
21781
|
+
When the flag is on, each \`Button.props.id\` matches \`^[a-z][a-z0-9_]{0,39}$\` and names a key of \`uiSpec.actions\`. An action is one of:
|
|
21782
|
+
|
|
21783
|
+
- \`{ "kind": "follow_up", "prompt": "<at most 4000 characters>" }\`: a click starts one Lead task with the prompt. It runs once.
|
|
21784
|
+
- \`{ "kind": "script", "script": "<global script name>", "args": { ... } }\`: a click re-runs the script with these frozen args (at most 4 KB, checked against the script's args schema) and replaces the card with its result. No Lead task. The requester can click again after a 30-second cooldown.
|
|
21785
|
+
|
|
21786
|
+
A \`script\` action needs the script pinned in \`UI_SPEC_SCRIPT_ACTIONS\` (\`name@<contentHash prefix>\`). Only a human admin can pin one; an edited script stays refused until it is re-pinned. The script returns \`{ spec, actions? }\`, the same shape as \`uiSpec\`. When it omits \`actions\`, the stored actions carry over, so a Refresh button keeps working. Put an "Updated HH:MM" \`Text\` in the card so readers can tell when it ran.
|
|
21615
21787
|
|
|
21616
21788
|
## Which card a Slack thread shows
|
|
21617
21789
|
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
SKILL_FILE_LIMITS2,
|
|
5
5
|
normalizeSkillFilePath2,
|
|
6
6
|
init_db4
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-wwp1bd3n.js";
|
|
8
8
|
import {
|
|
9
9
|
runSeeder
|
|
10
|
-
} from "./cli-
|
|
11
|
-
import"./cli-
|
|
10
|
+
} from "./cli-z0m452jr.js";
|
|
11
|
+
import"./cli-mk7c5ac4.js";
|
|
12
12
|
import"./cli-9w8712tq.js";
|
|
13
13
|
import"./cli-47hz21se.js";
|
|
14
14
|
import"./cli-q2d3e1k1.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
15
|
+
import"./cli-539h29es.js";
|
|
16
|
+
import"./cli-cc93xzes.js";
|
|
17
|
+
import"./cli-7r162fxe.js";
|
|
18
|
+
import"./cli-vfqvrd82.js";
|
|
19
|
+
import"./cli-mys27d03.js";
|
|
20
|
+
import"./cli-th1dkc2v.js";
|
|
21
21
|
import"./cli-7cp6aa1q.js";
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
22
|
+
import"./cli-s1zqk1aj.js";
|
|
23
|
+
import"./cli-nstkanmx.js";
|
|
24
24
|
import {
|
|
25
25
|
getExecutorRegistry2,
|
|
26
26
|
init_workflows,
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
skillSpecOf,
|
|
30
30
|
skillHash,
|
|
31
31
|
init_assets
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-p0n7b5rz.js";
|
|
33
33
|
import {
|
|
34
34
|
installImportedSkills,
|
|
35
35
|
prepareSeeders,
|
|
36
36
|
init_seeders
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-qrta34nb.js";
|
|
38
38
|
import {
|
|
39
39
|
validateScriptImports,
|
|
40
40
|
init_import_allowlist,
|
|
@@ -46,26 +46,26 @@ import {
|
|
|
46
46
|
init_typecheck,
|
|
47
47
|
parseSkillContent,
|
|
48
48
|
init_skill_parser
|
|
49
|
-
} from "./cli-
|
|
50
|
-
import"./cli-
|
|
51
|
-
import"./cli-
|
|
49
|
+
} from "./cli-w1q68d8x.js";
|
|
50
|
+
import"./cli-2rnd5j3t.js";
|
|
51
|
+
import"./cli-jrbq4djp.js";
|
|
52
52
|
import {
|
|
53
53
|
validateDefinition,
|
|
54
54
|
init_definition2
|
|
55
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-q5srsxq2.js";
|
|
56
56
|
import"./cli-n3qe7tyr.js";
|
|
57
|
-
import"./cli-
|
|
58
|
-
import"./cli-
|
|
57
|
+
import"./cli-2v2zdm0a.js";
|
|
58
|
+
import"./cli-vsw91x06.js";
|
|
59
59
|
import {
|
|
60
60
|
isSafeBundlePath,
|
|
61
61
|
init_bundle_path,
|
|
62
62
|
ExtensionWorkflowFileSchema,
|
|
63
63
|
init_types5
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-y4ccxtz5.js";
|
|
65
65
|
import {
|
|
66
66
|
IDENTITY_MD_MAX_CHARS,
|
|
67
67
|
init_identity_field_budget
|
|
68
|
-
} from "./cli-
|
|
68
|
+
} from "./cli-3aaeb78m.js";
|
|
69
69
|
import {
|
|
70
70
|
init_zod
|
|
71
71
|
} from "./cli-zcfpsfzf.js";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
calculateNextRun2,
|
|
3
|
+
startScheduler2,
|
|
4
|
+
stopScheduler2,
|
|
5
|
+
runScheduleNow2,
|
|
6
|
+
init_scheduler2
|
|
7
|
+
} from "./cli-p0n7b5rz.js";
|
|
8
|
+
import"./cli-mys27d03.js";
|
|
9
|
+
import"./cli-th1dkc2v.js";
|
|
10
|
+
import"./cli-w1q68d8x.js";
|
|
11
|
+
import"./cli-2rnd5j3t.js";
|
|
12
|
+
import"./cli-7cp6aa1q.js";
|
|
13
|
+
import"./cli-jrbq4djp.js";
|
|
14
|
+
import"./cli-7r162fxe.js";
|
|
15
|
+
import"./cli-q5srsxq2.js";
|
|
16
|
+
import"./cli-cc93xzes.js";
|
|
17
|
+
import"./cli-nstkanmx.js";
|
|
18
|
+
import"./cli-s1zqk1aj.js";
|
|
19
|
+
import"./cli-539h29es.js";
|
|
20
|
+
import"./cli-mk7c5ac4.js";
|
|
21
|
+
import"./cli-47hz21se.js";
|
|
22
|
+
import"./cli-n3qe7tyr.js";
|
|
23
|
+
import"./cli-9w8712tq.js";
|
|
24
|
+
import"./cli-q2d3e1k1.js";
|
|
25
|
+
import"./cli-2v2zdm0a.js";
|
|
26
|
+
import"./cli-vfqvrd82.js";
|
|
27
|
+
import"./cli-vsw91x06.js";
|
|
28
|
+
import"./cli-wwp1bd3n.js";
|
|
29
|
+
init_scheduler2();
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
calculateNextRun2 as calculateNextRun,
|
|
33
|
+
runScheduleNow2 as runScheduleNow,
|
|
34
|
+
startScheduler2 as startScheduler,
|
|
35
|
+
stopScheduler2 as stopScheduler
|
|
36
|
+
};
|
|
@@ -2,33 +2,33 @@ import {
|
|
|
2
2
|
getExecutorRegistry2,
|
|
3
3
|
initWorkflows2,
|
|
4
4
|
init_workflows
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
5
|
+
} from "./cli-p0n7b5rz.js";
|
|
6
|
+
import"./cli-mys27d03.js";
|
|
7
|
+
import"./cli-th1dkc2v.js";
|
|
8
|
+
import"./cli-w1q68d8x.js";
|
|
9
|
+
import"./cli-2rnd5j3t.js";
|
|
8
10
|
import"./cli-7cp6aa1q.js";
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-b91nz213.js";
|
|
11
|
-
import"./cli-nbt14he0.js";
|
|
12
|
-
import"./cli-br0924pw.js";
|
|
11
|
+
import"./cli-jrbq4djp.js";
|
|
13
12
|
import {
|
|
14
13
|
retryFailedRun2,
|
|
15
14
|
cancelWorkflowRun2
|
|
16
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-7r162fxe.js";
|
|
17
16
|
import {
|
|
18
17
|
startWorkflowExecution2
|
|
19
|
-
} from "./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
18
|
+
} from "./cli-q5srsxq2.js";
|
|
19
|
+
import"./cli-cc93xzes.js";
|
|
20
|
+
import"./cli-nstkanmx.js";
|
|
21
|
+
import"./cli-s1zqk1aj.js";
|
|
22
|
+
import"./cli-539h29es.js";
|
|
23
|
+
import"./cli-mk7c5ac4.js";
|
|
23
24
|
import"./cli-47hz21se.js";
|
|
24
25
|
import"./cli-n3qe7tyr.js";
|
|
25
26
|
import"./cli-9w8712tq.js";
|
|
26
|
-
import"./cli-xag7btpe.js";
|
|
27
27
|
import"./cli-q2d3e1k1.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
28
|
+
import"./cli-2v2zdm0a.js";
|
|
29
|
+
import"./cli-vfqvrd82.js";
|
|
30
|
+
import"./cli-vsw91x06.js";
|
|
31
|
+
import"./cli-wwp1bd3n.js";
|
|
32
32
|
init_workflows();
|
|
33
33
|
|
|
34
34
|
export {
|