@desplega.ai/agent-swarm 1.169.0 → 1.171.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/dist/{acp-adapter-m47zfx4a.js → acp-adapter-wnhq4ydy.js} +6 -6
- package/dist/{actions-ws7k3tvq.js → actions-45eyf0ns.js} +31 -29
- package/dist/{amp-adapter-nvv8k8j5.js → amp-adapter-f5dr6dm0.js} +6 -6
- package/dist/{anthropic-messages-13yn502s.js → anthropic-messages-etkbxhhy.js} +11 -11
- package/dist/{app-80w6qspx.js → app-qv86qhzz.js} +9 -9
- package/dist/{artifact-fey7dvj9.js → artifact-eczsknc3.js} +6 -3
- package/dist/{assistant-jtq439kw.js → assistant-10yaeebp.js} +34 -32
- package/dist/{azure-openai-responses-9st34pfz.js → azure-openai-responses-xap57x4b.js} +7 -7
- package/dist/{boot-reembed-feda8wn8.js → boot-reembed-p2wbqxm4.js} +8 -8
- package/dist/{boot-reembed-3nc0aaed.js → boot-reembed-wyb785et.js} +8 -8
- package/dist/{boot-scrub-sweep-grsa2er0.js → boot-scrub-sweep-daaqcs9t.js} +9 -9
- package/dist/{boot-seeds-gcfgq44f.js → boot-seeds-1pvzyx4h.js} +12 -12
- package/dist/{claude-adapter-pjv2q7t8.js → claude-adapter-v2py1c6g.js} +15 -15
- package/dist/{claude-managed-adapter-0wa8se82.js → claude-managed-adapter-kqqqhp2q.js} +2 -2
- package/dist/{claude-managed-setup-zxa9p9tx.js → claude-managed-setup-bnmjarjc.js} +11 -8
- package/dist/{claude-sdk-session-c9j6k9kx.js → claude-sdk-session-mk938tpt.js} +15 -15
- package/dist/cli-0p3enk35.js +188 -0
- package/dist/cli-1srmzpr3.js +16 -0
- package/dist/{cli-zzev32jw.js → cli-231av4y6.js} +6 -6
- package/dist/{cli-eqfbsxsn.js → cli-2aap68ns.js} +14 -11
- package/dist/{cli-mv2520nm.js → cli-2bw3w47j.js} +1 -1
- package/dist/{cli-km8559dm.js → cli-2k8gyaey.js} +18 -10
- package/dist/{cli-efnd2kce.js → cli-2rbt7at8.js} +6 -1
- package/dist/{cli-xvc3q9br.js → cli-451ks6aw.js} +1 -1
- package/dist/{cli-7vz49g7h.js → cli-48ve9gsj.js} +101 -4
- package/dist/{cli-zp38xvtm.js → cli-5rqrj7q0.js} +1 -1
- package/dist/{cli-km4x66j0.js → cli-5y67yrt6.js} +13 -13
- package/dist/{cli-3ry5gx4f.js → cli-6pxmb99j.js} +2 -2
- package/dist/cli-6zx22mv6.js +0 -0
- package/dist/{cli-zp67qg5x.js → cli-7a0sde2x.js} +72 -1
- package/dist/{cli-v1w7pbd8.js → cli-7jykv7ef.js} +1 -1
- package/dist/{cli-rfphkzh5.js → cli-7pz3b7x5.js} +24 -4
- package/dist/{cli-mb75wpxf.js → cli-81r1wjyv.js} +1 -1
- package/dist/cli-8ntwbxmm.js +1351 -0
- package/dist/{cli-f14fvzag.js → cli-a1b9b32n.js} +6 -1
- package/dist/{cli-rg1c8ccw.js → cli-amvnn9wz.js} +497 -73
- package/dist/{cli-fyeft04q.js → cli-apnwqe6h.js} +2 -2
- package/dist/{cli-m23r88re.js → cli-bkdbswyn.js} +3 -3
- package/dist/{cli-qg2zhjfc.js → cli-c9cnsnms.js} +8 -8
- package/dist/cli-cd0hv9nh.js +32 -0
- package/dist/{cli-wt7ccy4r.js → cli-d161g69q.js} +9 -1
- package/dist/{cli-rbr91whd.js → cli-d78fccnb.js} +9 -5
- package/dist/cli-db3m6zdt.js +362 -0
- package/dist/{cli-hf5s9pgf.js → cli-e3pmyt39.js} +1 -1
- package/dist/{cli-91r17hb1.js → cli-ehf1dfay.js} +3 -3
- package/dist/{cli-61tbnjpf.js → cli-f3vy7ncj.js} +767 -541
- package/dist/{cli-sajr098b.js → cli-f651ypy4.js} +3 -3
- package/dist/{cli-9k7mqz00.js → cli-ge593j7e.js} +30 -3
- package/dist/cli-h8w3fg83.js +17 -0
- package/dist/{cli-dv76vq5d.js → cli-hadkza7w.js} +685 -209
- package/dist/{cli-jkfxpg1b.js → cli-hrbedqp0.js} +2 -2
- package/dist/{cli-xvdgasgy.js → cli-hsem16hb.js} +114 -9
- package/dist/{cli-kp3vfknv.js → cli-j8xzym9k.js} +2 -2
- package/dist/{cli-swrz3mj8.js → cli-jn9wk8z8.js} +1 -1
- package/dist/{cli-a8vps458.js → cli-jr749y58.js} +17274 -17242
- package/dist/{cli-b7y8113e.js → cli-k2v5x13t.js} +1 -1
- package/dist/{cli-bqrs5ycj.js → cli-m4csbs67.js} +2 -2
- package/dist/{cli-yvxfaem2.js → cli-ndvfgmk8.js} +9 -5
- package/dist/{cli-r7eeddkq.js → cli-ph3145b7.js} +3 -3
- package/dist/cli-ppy4nnnh.js +168 -0
- package/dist/{cli-e5qk3m2a.js → cli-pw9x22wp.js} +19 -19
- package/dist/{cli-s0k2j7q9.js → cli-pwnxv8pw.js} +10 -10
- package/dist/{cli-jv36y8wz.js → cli-rrbctenq.js} +1 -1
- package/dist/{cli-vejds37t.js → cli-tb8p51kg.js} +3 -3
- package/dist/cli-tqzk05ty.js +832 -0
- package/dist/{cli-rh44xx46.js → cli-vtqrsgnm.js} +15 -15
- package/dist/{cli-7mhy3ths.js → cli-x61srfpp.js} +5 -5
- package/dist/{cli-n4z21pt8.js → cli-xy6sgy6p.js} +1 -1
- package/dist/{cli-w6xa5nf5.js → cli-y1j1ggbf.js} +8 -8
- package/dist/{cli-jvmtxqtc.js → cli-ywh2a87k.js} +7 -2
- package/dist/{cli-3qhyh31j.js → cli-ywm1azg9.js} +6 -0
- package/dist/{cli-8xjst8q2.js → cli-z9cvwx5m.js} +11 -11
- package/dist/{cli-ysnkvdx6.js → cli-zh93km01.js} +313 -91
- package/dist/{cli-z48ggfyq.js → cli-zxm9p3x4.js} +2 -2
- package/dist/cli.js +42 -24
- package/dist/{codex-adapter-0kpg09ca.js → codex-adapter-cg8vntj1.js} +13 -13
- package/dist/{codex-hook-295jpbfa.js → codex-hook-7ba15hjd.js} +5 -3
- package/dist/{codex-login-g1cyt5zm.js → codex-login-841kv5fk.js} +7 -5
- package/dist/{codex-session-runner-8n672hxh.js → codex-session-runner-jxs6n1qx.js} +13 -13
- package/dist/{commands-mhmg5n0x.js → commands-8zhezbzr.js} +10 -10
- package/dist/controller-hq5ggpcp.js +193 -0
- package/dist/controllers-connect-q0brsq11.js +265 -0
- package/dist/{cursor-adapter-wn8n5zzk.js → cursor-adapter-t4pr1m3c.js} +5 -5
- package/dist/db-d80sy99v.js +71 -0
- package/dist/{db-wa6s1mwv.js → db-ggc4b127.js} +8 -8
- package/dist/{devin-adapter-bffjj5n4.js → devin-adapter-xgtj680j.js} +2 -2
- package/dist/{dispatcher-nhs2pkr8.js → dispatcher-eascgc1z.js} +30 -28
- package/dist/docker-f503k9p0.js +201 -0
- package/dist/{dsh-adapter-5423p70m.js → dsh-adapter-2h8m4cab.js} +5 -5
- package/dist/e2b-66xra4az.js +202 -0
- package/dist/{e2b-nd50eccg.js → e2b-xwhyj8cw.js} +43 -527
- package/dist/{event-bus-vnfthafg.js → event-bus-vjtv82gm.js} +2 -2
- package/dist/{grok-adapter-28pkdt80.js → grok-adapter-8ram8zse.js} +7 -7
- package/dist/{handlers-5rtf9nng.js → handlers-hypxbg7e.js} +33 -31
- package/dist/heartbeat-ge72pt7q.js +124 -0
- package/dist/{hook-krjfkpzy.js → hook-grgtyrad.js} +20 -17
- package/dist/{hook-qkm73zk6.js → hook-xzwg1zwp.js} +13 -13
- package/dist/{http-a397xcn4.js → http-2nf2axqq.js} +1958 -205
- package/dist/{index-vvsq7v45.js → index-0h5dd9xg.js} +30 -28
- package/dist/{index-ac0v8v9d.js → index-27aez391.js} +8 -8
- package/dist/{index-rtxg15ah.js → index-57svck0z.js} +39 -29
- package/dist/{index-ytdhtdry.js → index-6zehd2p5.js} +31 -22
- package/dist/{index-kqre45fr.js → index-9egx96ey.js} +30 -28
- package/dist/{keepalive-psfh8ysx.js → keepalive-5pjbsz8f.js} +10 -10
- package/dist/{lead-m6rppjn7.js → lead-g19prqhd.js} +48 -46
- package/dist/{maintenance-41f837ke.js → maintenance-1brc7q4c.js} +8 -8
- package/dist/{node-8zkdq42h.js → node-c9we95xf.js} +9 -9
- package/dist/{oauth-refresh-sweep-6hr55hm8.js → oauth-refresh-sweep-rhe857nd.js} +9 -9
- package/dist/{onboard-ktrtd7cz.js → onboard-6bcg69eg.js} +25 -15
- package/dist/{openai-codex-responses-jzxkta9b.js → openai-codex-responses-pgvtddvv.js} +3 -3
- package/dist/{openai-responses-m3g43rrt.js → openai-responses-9dyzwzkr.js} +9 -9
- package/dist/{opencode-adapter-yjyqynzf.js → opencode-adapter-f1zby94p.js} +3 -3
- package/dist/{otel-impl-dq4f2k3m.js → otel-impl-y237rck3.js} +5 -5
- package/dist/{pi-mono-adapter-e5v9w0hv.js → pi-mono-adapter-fx6k5wwh.js} +38 -27
- package/dist/{pricing-refresh-kmk7j1ra.js → pricing-refresh-se1qg8wn.js} +10 -10
- package/dist/{rbac-roles-9w1dkkxd.js → rbac-roles-b6ca1n23.js} +11 -11
- package/dist/{rbac-roles-9ykx9tc5.js → rbac-roles-c58kydph.js} +10 -10
- package/dist/{render-v2-ycqm53np.js → render-v2-gqz7z5xt.js} +9 -9
- package/dist/{resume-cq2pkp8q.js → resume-yb3y3vda.js} +16 -16
- package/dist/{setup-0dcmdvbn.js → setup-1rbr9x3c.js} +7 -5
- package/dist/static-t1gr2cr7.js +30 -0
- package/dist/{virtual-modules-1x9k4jcs.js → virtual-modules-rdjmcg7q.js} +3 -3
- package/dist/{work-objects-x01x2fh8.js → work-objects-nzcp8srm.js} +35 -33
- package/dist/{worker-py1ssb1h.js → worker-wnz1h3g0.js} +48 -46
- package/dist/{x-ma4gnfgy.js → x-qfmygqqv.js} +2 -2
- package/openapi.json +3382 -167
- package/package.json +3 -3
- package/src/be/db/agents.ts +6 -0
- package/src/be/db/instance-signals.ts +30 -0
- package/src/be/db/tasks/read.ts +2 -0
- package/src/be/db/tasks/write.ts +39 -5
- package/src/be/db/workflow-runs.ts +22 -0
- package/src/be/db.ts +96 -40
- package/src/be/fleet-benchmark-stats.ts +39 -0
- package/src/be/migrations/205_favorites_per_dashboard_user.sql +29 -0
- package/src/be/migrations/206_runtime_pools.sql +62 -0
- package/src/be/migrations/207_runtime_session_tokens.sql +31 -0
- package/src/be/migrations/208_task_runtime_dispatch.sql +4 -0
- package/src/be/model-tier-resolution.ts +9 -2
- package/src/be/multi-runtime.ts +102 -13
- package/src/be/org-profile.ts +35 -0
- package/src/be/rbac-audit.ts +4 -0
- package/src/be/runtime-pools/controllers.ts +150 -0
- package/src/be/runtime-pools/db.ts +526 -0
- package/src/be/runtime-pools/demand.ts +65 -0
- package/src/be/runtime-pools/e2b-images.ts +109 -0
- package/src/be/runtime-pools/errors.ts +8 -0
- package/src/be/runtime-pools/lifecycle.ts +44 -0
- package/src/be/runtime-pools/reachability.ts +30 -0
- package/src/be/runtime-pools/recovery.ts +248 -0
- package/src/be/runtime-pools/remote-controller.ts +144 -0
- package/src/be/runtime-pools/routing.ts +304 -0
- package/src/be/runtime-pools/seed.ts +110 -0
- package/src/be/runtime-pools/supervisor.ts +981 -0
- package/src/be/runtime-pools/tokens.ts +57 -0
- package/src/be/scripts/typecheck.ts +48 -3
- package/src/be/secret-registry.ts +17 -1
- package/src/be/skill-usage.ts +467 -0
- package/src/be/swarm-config-guard.ts +59 -2
- package/src/be/telemetry-enable.ts +66 -0
- package/src/be/telemetry-ingest-anchor.ts +77 -0
- package/src/be/users.ts +173 -23
- package/src/be/worker-nudge-listener.ts +28 -0
- package/src/be/worker-nudges.ts +22 -0
- package/src/cli.tsx +22 -3
- package/src/commands/controller.ts +180 -0
- package/src/commands/onboard/non-interactive.ts +36 -12
- package/src/commands/onboard/types.ts +1 -1
- package/src/commands/onboard.tsx +3 -0
- package/src/commands/push-delivery.ts +230 -0
- package/src/commands/runner.ts +560 -276
- package/src/e2b/dispatch.ts +15 -1
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/fleet-benchmark.ts +157 -0
- package/src/heartbeat/heartbeat.ts +53 -135
- package/src/hooks/hook.ts +3 -2
- package/src/http/agents.ts +21 -0
- package/src/http/all-routes.ts +6 -0
- package/src/http/apps.ts +4 -2
- package/src/http/auth.ts +4 -7
- package/src/http/config.ts +58 -21
- package/src/http/controllers-connect.ts +206 -0
- package/src/http/core.ts +108 -14
- package/src/http/favorite-owner.ts +31 -1
- package/src/http/fleet-benchmark.ts +206 -0
- package/src/http/index.ts +38 -6
- package/src/http/mcp.ts +3 -8
- package/src/http/poll.ts +31 -2
- package/src/http/realtime.ts +1 -1
- package/src/http/request-principal.ts +2 -0
- package/src/http/runtime-pools.ts +527 -0
- package/src/http/session-data.ts +2 -0
- package/src/http/sessions.ts +100 -23
- package/src/http/skills.ts +173 -0
- package/src/http/status.ts +25 -1
- package/src/http/tasks.ts +14 -1
- package/src/http/telemetry-ui.ts +102 -0
- package/src/http/used-by.ts +140 -0
- package/src/http/utils.ts +7 -1
- package/src/http/workflows.ts +10 -2
- package/src/jira/app.ts +1 -2
- package/src/kv-reserved-namespaces.ts +1 -0
- package/src/linear/app.ts +1 -2
- package/src/providers/acp-target-catalog.ts +75 -1
- package/src/providers/acp-targets.ts +114 -0
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +1 -1
- package/src/providers/codex-adapter.ts +5 -1
- package/src/providers/opencode-adapter.ts +2 -1
- package/src/providers/pi-mono-adapter.ts +41 -26
- package/src/providers/pricing-sources.md +2 -0
- package/src/providers/skill-invoke.ts +39 -3
- package/src/rbac/legacy-policy.ts +8 -0
- package/src/rbac/permissions.ts +16 -0
- package/src/rbac/types.ts +2 -0
- package/src/realtime/auth.ts +13 -0
- package/src/realtime/channels.ts +24 -0
- package/src/realtime/transport.ts +94 -15
- package/src/realtime/worker-client.ts +176 -0
- package/src/runtime-providers/controller-protocol.ts +97 -0
- package/src/runtime-providers/controller.ts +86 -0
- package/src/runtime-providers/docker.ts +235 -0
- package/src/runtime-providers/e2b.ts +217 -0
- package/src/runtime-providers/index.ts +37 -0
- package/src/runtime-providers/static.ts +26 -0
- package/src/runtime-providers/types.ts +92 -0
- package/src/runtime-providers/worker-api-url.ts +11 -0
- package/src/scripts-runtime/sdk-allowlist.ts +6 -0
- package/src/scripts-runtime/types/stdlib.d.ts +15 -0
- package/src/scripts-runtime/types/swarm-extension.d.ts +1 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +15 -0
- package/src/server.ts +12 -0
- package/src/slack/router.ts +7 -5
- package/src/tasks/worker-follow-up.ts +80 -52
- package/src/telemetry-context.ts +6 -0
- package/src/telemetry-contract/EVENTS.md +14 -1
- package/src/telemetry-contract/SOURCE.json +4 -4
- package/src/telemetry-contract/catalog.json +155 -0
- package/src/telemetry-contract/types.gen.ts +248 -4
- package/src/telemetry-ui-events.ts +130 -0
- package/src/telemetry.ts +43 -3
- package/src/tests/acp-adapter.test.ts +129 -0
- package/src/tests/claude-adapter.test.ts +6 -2
- package/src/tests/codex-adapter.test.ts +6 -2
- package/src/tests/config-internal-keys.test.ts +27 -0
- package/src/tests/config-session-auth.test.ts +19 -3
- package/src/tests/db-retention.test.ts +50 -10
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/e2b-dispatch.test.ts +28 -1
- package/src/tests/e2e-runtime-pools.test.ts +51 -0
- package/src/tests/entrypoint-acp-target-binary.test.ts +38 -1
- package/src/tests/favorites.test.ts +188 -0
- package/src/tests/fetch-resolved-env.test.ts +59 -1
- package/src/tests/fleet-benchmark.test.ts +453 -0
- package/src/tests/harness-model-support.test.ts +70 -2
- package/src/tests/heartbeat-orphan-resume.test.ts +24 -0
- package/src/tests/heartbeat-reboot-live.test.ts +31 -0
- package/src/tests/heartbeat-supersede-resume.test.ts +21 -0
- package/src/tests/hook-runtime-close.test.ts +64 -0
- package/src/tests/http-task-write-ownership.test.ts +8 -1
- package/src/tests/integration-disable-flags.test.ts +45 -0
- package/src/tests/migration-206-runtime-pools.test.ts +134 -0
- package/src/tests/migration-207-runtime-session-tokens.test.ts +45 -0
- package/src/tests/migration-208-task-runtime-dispatch.test.ts +30 -0
- package/src/tests/multi-runtime-registration.test.ts +219 -4
- package/src/tests/onboard-non-interactive.test.ts +104 -6
- package/src/tests/opencode-adapter.test.ts +6 -2
- package/src/tests/org-website.test.ts +115 -0
- package/src/tests/pi-mono-adapter.test.ts +74 -10
- package/src/tests/rbac-admission-e2e.test.ts +4 -4
- package/src/tests/rbac-engine.test.ts +8 -1
- package/src/tests/realtime-room-auth.test.ts +49 -0
- package/src/tests/repo-allow-merge-gate.test.ts +8 -1
- package/src/tests/runner-exit-after-tasks.test.ts +163 -0
- package/src/tests/runner-finish-retry.test.ts +466 -0
- package/src/tests/runner-harness-telemetry-env.test.ts +105 -0
- package/src/tests/runner-push-delivery.test.ts +670 -0
- package/src/tests/runner-slot-reconcile.test.ts +89 -1
- package/src/tests/runtime-child-token-cleanup.test.ts +172 -0
- package/src/tests/runtime-controller-token.test.ts +254 -0
- package/src/tests/runtime-demand.test.ts +119 -0
- package/src/tests/runtime-e2b-pools.test.ts +847 -0
- package/src/tests/runtime-pool-reachability.test.ts +328 -0
- package/src/tests/runtime-pool-routing.test.ts +817 -0
- package/src/tests/runtime-pools-db.test.ts +275 -0
- package/src/tests/runtime-pools-http.test.ts +506 -0
- package/src/tests/runtime-pools-ownership-guards.test.ts +235 -0
- package/src/tests/runtime-pools-seed.test.ts +203 -0
- package/src/tests/runtime-pools-test-utils.ts +128 -0
- package/src/tests/runtime-provider-registration.test.ts +133 -0
- package/src/tests/runtime-providers-docker.test.ts +400 -0
- package/src/tests/runtime-providers-e2b-transport.test.ts +50 -0
- package/src/tests/runtime-providers-e2b.test.ts +335 -0
- package/src/tests/runtime-recovery.test.ts +745 -0
- package/src/tests/runtime-remote-controller.test.ts +846 -0
- package/src/tests/runtime-supervisor-failures.test.ts +387 -0
- package/src/tests/runtime-supervisor.test.ts +1039 -0
- package/src/tests/runtime-token-auth.test.ts +897 -0
- package/src/tests/script-connections.test.ts +7 -0
- package/src/tests/secret-scrubber.test.ts +17 -2
- package/src/tests/session-costs-codex-recompute.test.ts +49 -0
- package/src/tests/session-tokens.test.ts +13 -3
- package/src/tests/skill-invoke.test.ts +142 -0
- package/src/tests/skill-usage-cohorts.test.ts +232 -0
- package/src/tests/skill-usage.test.ts +348 -0
- package/src/tests/slack-attachments-block.test.ts +23 -0
- package/src/tests/slack-render-v2.test.ts +6 -0
- package/src/tests/status-instance.test.ts +71 -0
- package/src/tests/task-supersede-resume.test.ts +87 -4
- package/src/tests/telemetry-enable.test.ts +113 -0
- package/src/tests/telemetry-ui-route.test.ts +195 -0
- package/src/tests/tool-annotations.test.ts +1 -1
- package/src/tests/used-by-route.test.ts +237 -0
- package/src/tests/worker-nudges.test.ts +653 -0
- package/src/tests/worker-realtime-client.test.ts +188 -0
- package/src/tests/workflow-sub-workflow.test.ts +22 -0
- package/src/tools/app-upsert.ts +1 -1
- package/src/tools/runtime-controller-list.ts +28 -0
- package/src/tools/runtime-pool-bind-agent.ts +29 -0
- package/src/tools/runtime-pool-common.ts +37 -0
- package/src/tools/runtime-pool-create-agent.ts +29 -0
- package/src/tools/runtime-pool-delete.ts +27 -0
- package/src/tools/runtime-pool-list.ts +27 -0
- package/src/tools/runtime-pool-upsert.ts +31 -0
- package/src/tools/script-common.ts +1 -1
- package/src/tools/send-task.ts +3 -2
- package/src/tools/tool-config.ts +6 -0
- package/src/types.ts +137 -2
- package/src/utils/config-secrets.ts +1 -0
- package/src/utils/lead-monitor-channels.ts +3 -0
- package/src/utils/org-website.ts +104 -0
- package/src/utils/request-auth-context.ts +10 -2
- package/src/utils/runtime-pools-flag.ts +11 -0
- package/src/utils/secret-scrubber.ts +9 -0
- package/src/utils/session-token-connections.ts +20 -0
- package/templates/skills/apps/content.md +1 -1
- package/templates/skills/code-quality/content.md +9 -1
- package/templates/skills/db-query-guidance/content.md +9 -0
- 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 +1 -1
- package/templates/skills/work-on-task/content.md +1 -1
- package/dist/{cli-qd97v6z2.js → cli-1qtgd1h1.js} +3 -3
- package/dist/{cli-cmxkbzzs.js → cli-j0w59p15.js} +6 -6
- package/dist/{google-generative-ai-b8zxrpax.js → google-generative-ai-pvhm0dq1.js} +1 -1
- package/dist/{google-vertex-nrdd697t.js → google-vertex-tek9sqe2.js} +4 -4
- package/dist/{mistral-conversations-059y51zt.js → mistral-conversations-rjxa9s1j.js} +3 -3
- package/dist/{openai-completions-663yncfq.js → openai-completions-44gb0zsk.js} +12 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyOpenRouterBaseUrlOverride
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-ywh2a87k.js";
|
|
4
4
|
import {
|
|
5
5
|
ACP_TARGET_IDS,
|
|
6
6
|
getAcpTargetCatalogEntry,
|
|
7
7
|
isAcpTarget
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-7a0sde2x.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchInstalledMcpServers
|
|
11
11
|
} from "./cli-tng3131n.js";
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
init_package,
|
|
47
47
|
package_default
|
|
48
|
-
} from "./cli-
|
|
48
|
+
} from "./cli-bkdbswyn.js";
|
|
49
49
|
import {
|
|
50
50
|
init_secret_scrubber,
|
|
51
51
|
scrubSecrets
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-d161g69q.js";
|
|
53
53
|
|
|
54
54
|
// node_modules/@agentclientprotocol/sdk/dist/schema/index.js
|
|
55
55
|
var AGENT_METHODS = {
|
|
@@ -5018,6 +5018,97 @@ ${config.systemPrompt}
|
|
|
5018
5018
|
await rm(copilotInstructionsDir(config), { recursive: true, force: true });
|
|
5019
5019
|
}
|
|
5020
5020
|
};
|
|
5021
|
+
var QWEN_AUTH_TYPES = ["openai", "openai-responses", "anthropic", "gemini", "vertex-ai"];
|
|
5022
|
+
var qwenSystemPromptPaths = new WeakMap;
|
|
5023
|
+
var qwenTargetProfile = {
|
|
5024
|
+
target: "qwen",
|
|
5025
|
+
command(config) {
|
|
5026
|
+
const entry = getAcpTargetCatalogEntry("qwen");
|
|
5027
|
+
const authType = readEnv(config, "QWEN_AUTH_TYPE")?.trim() || "openai";
|
|
5028
|
+
if (!QWEN_AUTH_TYPES.includes(authType)) {
|
|
5029
|
+
throw new AcpTargetResolutionError(`Unsupported QWEN_AUTH_TYPE "${authType}". Supported: ${QWEN_AUTH_TYPES.join(", ")}.`);
|
|
5030
|
+
}
|
|
5031
|
+
const args = [entry.command, ...entry.args ?? [], "--auth-type", authType];
|
|
5032
|
+
if (config.model.trim())
|
|
5033
|
+
args.push("--model", config.model.trim());
|
|
5034
|
+
return args;
|
|
5035
|
+
},
|
|
5036
|
+
env(config) {
|
|
5037
|
+
const env = baseTargetEnv(config);
|
|
5038
|
+
copyEnvKeys(config, env, getAcpTargetCatalogEntry("qwen").envKeys);
|
|
5039
|
+
const systemPromptPath = qwenSystemPromptPaths.get(config);
|
|
5040
|
+
if (systemPromptPath)
|
|
5041
|
+
env.QWEN_SYSTEM_MD = systemPromptPath;
|
|
5042
|
+
return env;
|
|
5043
|
+
},
|
|
5044
|
+
configuredOptions(config) {
|
|
5045
|
+
const { model: _, ...options } = configuredOptions(config);
|
|
5046
|
+
return options;
|
|
5047
|
+
},
|
|
5048
|
+
async writeSystemPromptArtifact(config) {
|
|
5049
|
+
if (!config.systemPrompt?.trim())
|
|
5050
|
+
return;
|
|
5051
|
+
const directory = await mkdtemp(join(tmpdir(), "swarm-acp-qwen-"));
|
|
5052
|
+
const path = join(directory, "system.md");
|
|
5053
|
+
await Bun.write(path, config.systemPrompt);
|
|
5054
|
+
qwenSystemPromptPaths.set(config, path);
|
|
5055
|
+
},
|
|
5056
|
+
async cleanupSystemPromptArtifact(config) {
|
|
5057
|
+
const path = qwenSystemPromptPaths.get(config);
|
|
5058
|
+
if (path)
|
|
5059
|
+
await rm(join(path, ".."), { recursive: true, force: true });
|
|
5060
|
+
}
|
|
5061
|
+
};
|
|
5062
|
+
var kiroTargetProfile = {
|
|
5063
|
+
target: "kiro",
|
|
5064
|
+
command(config) {
|
|
5065
|
+
const entry = getAcpTargetCatalogEntry("kiro");
|
|
5066
|
+
const args = [entry.command, ...entry.args ?? []];
|
|
5067
|
+
if (config.model.trim())
|
|
5068
|
+
args.push("--model", config.model.trim());
|
|
5069
|
+
return args;
|
|
5070
|
+
},
|
|
5071
|
+
env(config) {
|
|
5072
|
+
const env = baseTargetEnv(config);
|
|
5073
|
+
copyEnvKeys(config, env, getAcpTargetCatalogEntry("kiro").envKeys);
|
|
5074
|
+
return env;
|
|
5075
|
+
},
|
|
5076
|
+
configuredOptions,
|
|
5077
|
+
async writeSystemPromptArtifact() {}
|
|
5078
|
+
};
|
|
5079
|
+
var gooseSystemPromptPaths = new WeakMap;
|
|
5080
|
+
var gooseTargetProfile = {
|
|
5081
|
+
target: "goose",
|
|
5082
|
+
command() {
|
|
5083
|
+
const entry = getAcpTargetCatalogEntry("goose");
|
|
5084
|
+
return [entry.command, ...entry.args ?? []];
|
|
5085
|
+
},
|
|
5086
|
+
env(config) {
|
|
5087
|
+
const env = baseTargetEnv(config);
|
|
5088
|
+
copyEnvKeys(config, env, getAcpTargetCatalogEntry("goose").envKeys);
|
|
5089
|
+
env.GOOSE_DISABLE_KEYRING = "1";
|
|
5090
|
+
if (config.model.trim())
|
|
5091
|
+
env.GOOSE_MODEL = config.model.trim();
|
|
5092
|
+
const systemPromptPath = gooseSystemPromptPaths.get(config);
|
|
5093
|
+
if (systemPromptPath)
|
|
5094
|
+
env.GOOSE_MOIM_MESSAGE_FILE = systemPromptPath;
|
|
5095
|
+
return env;
|
|
5096
|
+
},
|
|
5097
|
+
configuredOptions,
|
|
5098
|
+
async writeSystemPromptArtifact(config) {
|
|
5099
|
+
if (!config.systemPrompt?.trim())
|
|
5100
|
+
return;
|
|
5101
|
+
const directory = await mkdtemp(join(tmpdir(), "swarm-acp-goose-"));
|
|
5102
|
+
const path = join(directory, "system.md");
|
|
5103
|
+
await Bun.write(path, config.systemPrompt);
|
|
5104
|
+
gooseSystemPromptPaths.set(config, path);
|
|
5105
|
+
},
|
|
5106
|
+
async cleanupSystemPromptArtifact(config) {
|
|
5107
|
+
const path = gooseSystemPromptPaths.get(config);
|
|
5108
|
+
if (path)
|
|
5109
|
+
await rm(join(path, ".."), { recursive: true, force: true });
|
|
5110
|
+
}
|
|
5111
|
+
};
|
|
5021
5112
|
var GROK_ISOLATION_ENV = {
|
|
5022
5113
|
GROK_DISABLE_AUTOUPDATER: "1",
|
|
5023
5114
|
GROK_TELEMETRY_ENABLED: "0",
|
|
@@ -5190,6 +5281,12 @@ function resolveAcpTarget(config) {
|
|
|
5190
5281
|
return geminiTargetProfile;
|
|
5191
5282
|
case "copilot":
|
|
5192
5283
|
return copilotTargetProfile;
|
|
5284
|
+
case "qwen":
|
|
5285
|
+
return qwenTargetProfile;
|
|
5286
|
+
case "kiro":
|
|
5287
|
+
return kiroTargetProfile;
|
|
5288
|
+
case "goose":
|
|
5289
|
+
return gooseTargetProfile;
|
|
5193
5290
|
case "custom":
|
|
5194
5291
|
return customTargetProfile;
|
|
5195
5292
|
}
|
|
@@ -4084,7 +4084,7 @@ var EnvironmentWorker = /* @__PURE__ */ (() => {
|
|
|
4084
4084
|
const ctrl = new AbortController;
|
|
4085
4085
|
const detachExternal = linkAbort(externalSignal, ctrl);
|
|
4086
4086
|
const lease = new Lease(ctrl);
|
|
4087
|
-
const agentToolset = await import("./node-
|
|
4087
|
+
const agentToolset = await import("./node-c9we95xf.js");
|
|
4088
4088
|
let leaseTtlMs;
|
|
4089
4089
|
let runner;
|
|
4090
4090
|
const heartbeatPromise = heartbeatLoop(sessionClient, work, lease, log, this.requestOptions, (ttlMs) => {
|
|
@@ -88,6 +88,11 @@ import {
|
|
|
88
88
|
bedrockConverseStreamApi,
|
|
89
89
|
setBedrockProviderModule
|
|
90
90
|
} from "./cli-mn8qkd8v.js";
|
|
91
|
+
import {
|
|
92
|
+
parseJsonWithRepair,
|
|
93
|
+
parseStreamingJson,
|
|
94
|
+
repairJson
|
|
95
|
+
} from "./cli-1m2e086m.js";
|
|
91
96
|
import {
|
|
92
97
|
InMemoryCredentialStore,
|
|
93
98
|
InMemoryModelsStore,
|
|
@@ -124,11 +129,6 @@ import {
|
|
|
124
129
|
toToolDeclaration,
|
|
125
130
|
withoutInitialSystemMessage
|
|
126
131
|
} from "./cli-g7k7zbcz.js";
|
|
127
|
-
import {
|
|
128
|
-
parseJsonWithRepair,
|
|
129
|
-
parseStreamingJson,
|
|
130
|
-
repairJson
|
|
131
|
-
} from "./cli-1m2e086m.js";
|
|
132
132
|
import {
|
|
133
133
|
AssistantMessageEventStream,
|
|
134
134
|
EventStream,
|
|
@@ -5409,7 +5409,7 @@ function amazonBedrockProvider() {
|
|
|
5409
5409
|
}
|
|
5410
5410
|
|
|
5411
5411
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-completions.lazy.js
|
|
5412
|
-
var openAICompletionsApi = () => lazyApi(() => import("./openai-completions-
|
|
5412
|
+
var openAICompletionsApi = () => lazyApi(() => import("./openai-completions-44gb0zsk.js"));
|
|
5413
5413
|
|
|
5414
5414
|
// node_modules/@earendil-works/pi-ai/dist/auth/helpers.js
|
|
5415
5415
|
function envApiKeyAuth(name, envVars) {
|
|
@@ -5465,7 +5465,7 @@ function antLingProvider() {
|
|
|
5465
5465
|
}
|
|
5466
5466
|
|
|
5467
5467
|
// node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.lazy.js
|
|
5468
|
-
var anthropicMessagesApi = () => lazyApi(() => import("./anthropic-messages-
|
|
5468
|
+
var anthropicMessagesApi = () => lazyApi(() => import("./anthropic-messages-etkbxhhy.js"));
|
|
5469
5469
|
|
|
5470
5470
|
// node_modules/@earendil-works/pi-ai/dist/auth/oauth/load.js
|
|
5471
5471
|
var __rewriteRelativeImportExtension = function(path, preserveJsx) {
|
|
@@ -5600,7 +5600,7 @@ function anthropicProvider() {
|
|
|
5600
5600
|
}
|
|
5601
5601
|
|
|
5602
5602
|
// node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.lazy.js
|
|
5603
|
-
var azureOpenAIResponsesApi = () => lazyApi(() => import("./azure-openai-responses-
|
|
5603
|
+
var azureOpenAIResponsesApi = () => lazyApi(() => import("./azure-openai-responses-xap57x4b.js"));
|
|
5604
5604
|
|
|
5605
5605
|
// node_modules/@earendil-works/pi-ai/dist/providers/azure.js
|
|
5606
5606
|
function resolveAzureModel(model, options) {
|
|
@@ -5662,7 +5662,7 @@ function cerebrasProvider() {
|
|
|
5662
5662
|
}
|
|
5663
5663
|
|
|
5664
5664
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-responses.lazy.js
|
|
5665
|
-
var openAIResponsesApi = () => lazyApi(() => import("./openai-responses-
|
|
5665
|
+
var openAIResponsesApi = () => lazyApi(() => import("./openai-responses-9dyzwzkr.js"));
|
|
5666
5666
|
|
|
5667
5667
|
// node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js
|
|
5668
5668
|
var CLOUDFLARE_API_KEY = "CLOUDFLARE_API_KEY";
|
|
@@ -5866,7 +5866,7 @@ function githubCopilotProvider() {
|
|
|
5866
5866
|
}
|
|
5867
5867
|
|
|
5868
5868
|
// node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.lazy.js
|
|
5869
|
-
var googleGenerativeAIApi = () => lazyApi(() => import("./google-generative-ai-
|
|
5869
|
+
var googleGenerativeAIApi = () => lazyApi(() => import("./google-generative-ai-pvhm0dq1.js"));
|
|
5870
5870
|
|
|
5871
5871
|
// node_modules/@earendil-works/pi-ai/dist/providers/google.js
|
|
5872
5872
|
function googleProvider() {
|
|
@@ -5881,7 +5881,7 @@ function googleProvider() {
|
|
|
5881
5881
|
}
|
|
5882
5882
|
|
|
5883
5883
|
// node_modules/@earendil-works/pi-ai/dist/api/google-vertex.lazy.js
|
|
5884
|
-
var googleVertexApi = () => lazyApi(() => import("./google-vertex-
|
|
5884
|
+
var googleVertexApi = () => lazyApi(() => import("./google-vertex-tek9sqe2.js"));
|
|
5885
5885
|
|
|
5886
5886
|
// node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js
|
|
5887
5887
|
var VERTEX_ADC_PATH = "~/.config/gcloud/application_default_credentials.json";
|
|
@@ -6055,7 +6055,7 @@ function minimaxCnProvider() {
|
|
|
6055
6055
|
}
|
|
6056
6056
|
|
|
6057
6057
|
// node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.lazy.js
|
|
6058
|
-
var mistralConversationsApi = () => lazyApi(() => import("./mistral-conversations-
|
|
6058
|
+
var mistralConversationsApi = () => lazyApi(() => import("./mistral-conversations-rjxa9s1j.js"));
|
|
6059
6059
|
|
|
6060
6060
|
// node_modules/@earendil-works/pi-ai/dist/providers/mistral.js
|
|
6061
6061
|
function mistralProvider() {
|
|
@@ -6138,7 +6138,7 @@ function openaiProvider() {
|
|
|
6138
6138
|
}
|
|
6139
6139
|
|
|
6140
6140
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.lazy.js
|
|
6141
|
-
var openAICodexResponsesApi = () => lazyApi(() => import("./openai-codex-responses-
|
|
6141
|
+
var openAICodexResponsesApi = () => lazyApi(() => import("./openai-codex-responses-pgvtddvv.js"));
|
|
6142
6142
|
|
|
6143
6143
|
// node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js
|
|
6144
6144
|
function openaiCodexProvider() {
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
getSwarmConfigs,
|
|
7
7
|
init_db1 as init_db,
|
|
8
8
|
upsertSwarmConfig
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-amvnn9wz.js";
|
|
10
10
|
import {
|
|
11
11
|
init_secret_scrubber,
|
|
12
12
|
scrubSecrets
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-d161g69q.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
16
|
} from "./cli-bc05qbss.js";
|
|
File without changes
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// src/providers/acp-target-catalog.ts
|
|
2
|
-
var ACP_TARGET_IDS = [
|
|
2
|
+
var ACP_TARGET_IDS = [
|
|
3
|
+
"opencode",
|
|
4
|
+
"gemini",
|
|
5
|
+
"copilot",
|
|
6
|
+
"qwen",
|
|
7
|
+
"kiro",
|
|
8
|
+
"goose",
|
|
9
|
+
"custom"
|
|
10
|
+
];
|
|
3
11
|
var ACP_TARGET_CATALOG = [
|
|
4
12
|
{
|
|
5
13
|
id: "opencode",
|
|
@@ -74,6 +82,69 @@ var ACP_TARGET_CATALOG = [
|
|
|
74
82
|
],
|
|
75
83
|
knobs: [{ id: "model", label: "Model", category: "model" }]
|
|
76
84
|
},
|
|
85
|
+
{
|
|
86
|
+
id: "qwen",
|
|
87
|
+
label: "Qwen Code",
|
|
88
|
+
description: "Qwen Code's ACP server, launched with `qwen --acp`. Authenticates with an OpenAI-compatible key (OPENAI_API_KEY, OPENAI_BASE_URL) unless QWEN_AUTH_TYPE selects another provider.",
|
|
89
|
+
command: "qwen",
|
|
90
|
+
args: ["--acp"],
|
|
91
|
+
envKeys: [
|
|
92
|
+
"OPENAI_API_KEY",
|
|
93
|
+
"OPENAI_BASE_URL",
|
|
94
|
+
"OPENAI_MODEL",
|
|
95
|
+
"ANTHROPIC_API_KEY",
|
|
96
|
+
"ANTHROPIC_BASE_URL",
|
|
97
|
+
"ANTHROPIC_MODEL",
|
|
98
|
+
"GEMINI_API_KEY",
|
|
99
|
+
"GOOGLE_API_KEY",
|
|
100
|
+
"GEMINI_MODEL",
|
|
101
|
+
"GOOGLE_CLOUD_PROJECT",
|
|
102
|
+
"GOOGLE_CLOUD_LOCATION",
|
|
103
|
+
"GOOGLE_APPLICATION_CREDENTIALS",
|
|
104
|
+
"DASHSCOPE_API_KEY",
|
|
105
|
+
"QWEN_HOME",
|
|
106
|
+
"HTTP_PROXY",
|
|
107
|
+
"HTTPS_PROXY",
|
|
108
|
+
"NO_PROXY"
|
|
109
|
+
],
|
|
110
|
+
knobs: [{ id: "model", label: "Model", category: "model" }]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: "kiro",
|
|
114
|
+
label: "Kiro CLI",
|
|
115
|
+
description: "Kiro CLI's ACP server, launched with `kiro-cli acp`. Needs a KIRO_API_KEY, which only paid Kiro plans can create.",
|
|
116
|
+
command: "kiro-cli",
|
|
117
|
+
args: ["acp"],
|
|
118
|
+
envKeys: ["KIRO_API_KEY", "KIRO_HOME", "HTTP_PROXY", "HTTPS_PROXY", "NO_PROXY"],
|
|
119
|
+
knobs: [{ id: "model", label: "Model", category: "model" }]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: "goose",
|
|
123
|
+
label: "Goose",
|
|
124
|
+
description: "Goose's ACP server, launched with `goose acp`. Set GOOSE_PROVIDER and that provider's API key.",
|
|
125
|
+
command: "goose",
|
|
126
|
+
args: ["acp"],
|
|
127
|
+
envKeys: [
|
|
128
|
+
"GOOSE_PROVIDER",
|
|
129
|
+
"GOOSE_MODEL",
|
|
130
|
+
"GOOSE_MODE",
|
|
131
|
+
"GOOSE_TEMPERATURE",
|
|
132
|
+
"OPENAI_API_KEY",
|
|
133
|
+
"OPENAI_HOST",
|
|
134
|
+
"OPENAI_BASE_PATH",
|
|
135
|
+
"ANTHROPIC_API_KEY",
|
|
136
|
+
"ANTHROPIC_HOST",
|
|
137
|
+
"OPENROUTER_API_KEY",
|
|
138
|
+
"OPENROUTER_HOST",
|
|
139
|
+
"GOOGLE_API_KEY",
|
|
140
|
+
"XDG_CONFIG_HOME",
|
|
141
|
+
"XDG_DATA_HOME",
|
|
142
|
+
"HTTP_PROXY",
|
|
143
|
+
"HTTPS_PROXY",
|
|
144
|
+
"NO_PROXY"
|
|
145
|
+
],
|
|
146
|
+
knobs: [{ id: "model", label: "Model", category: "model" }]
|
|
147
|
+
},
|
|
77
148
|
{
|
|
78
149
|
id: "custom",
|
|
79
150
|
label: "Custom",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
init_env_flag,
|
|
3
|
-
isEnvFlagEnabled
|
|
4
|
-
} from "./cli-ej6gbxfb.js";
|
|
5
1
|
import {
|
|
6
2
|
init_zod
|
|
7
3
|
} from "./cli-sd0mxa3c.js";
|
|
8
4
|
import {
|
|
9
5
|
_enum
|
|
10
6
|
} from "./cli-w5e1d1vv.js";
|
|
7
|
+
import {
|
|
8
|
+
init_env_flag,
|
|
9
|
+
isEnvFlagEnabled
|
|
10
|
+
} from "./cli-ej6gbxfb.js";
|
|
11
11
|
import {
|
|
12
12
|
__esm
|
|
13
13
|
} from "./cli-bc05qbss.js";
|
|
@@ -40,6 +40,10 @@ var init_permissions = __esm(() => {
|
|
|
40
40
|
description: "Update another agent's profile.",
|
|
41
41
|
namespace: "agent"
|
|
42
42
|
},
|
|
43
|
+
"agent.act.any": {
|
|
44
|
+
description: "Act on another agent's scope over HTTP.",
|
|
45
|
+
namespace: "agent"
|
|
46
|
+
},
|
|
43
47
|
"agent.context.read.any": {
|
|
44
48
|
description: "View or diff another agent's context history.",
|
|
45
49
|
namespace: "agent"
|
|
@@ -316,6 +320,18 @@ var init_permissions = __esm(() => {
|
|
|
316
320
|
description: "Delete an external script API endpoint.",
|
|
317
321
|
namespace: "script"
|
|
318
322
|
},
|
|
323
|
+
"runtime_pool.write": {
|
|
324
|
+
description: "Create, update, or delete runtime pools (image, provider kind, placement).",
|
|
325
|
+
namespace: "runtime_pool"
|
|
326
|
+
},
|
|
327
|
+
"runtime_pool.bind": {
|
|
328
|
+
description: "Bind an agent to an existing runtime pool, or create an agent in one.",
|
|
329
|
+
namespace: "runtime_pool"
|
|
330
|
+
},
|
|
331
|
+
"runtime_controller.write": {
|
|
332
|
+
description: "Create, update, or delete runtime controllers.",
|
|
333
|
+
namespace: "runtime_controller"
|
|
334
|
+
},
|
|
319
335
|
"extension.write": {
|
|
320
336
|
description: "Install, update, or uninstall a swarm extension.",
|
|
321
337
|
namespace: "extension"
|
|
@@ -535,6 +551,7 @@ var init_legacy_policy = __esm(() => {
|
|
|
535
551
|
LEGACY_POLICY = {
|
|
536
552
|
"user.manage": leadOnly,
|
|
537
553
|
"agent.profile.update.any": leadOnly,
|
|
554
|
+
"agent.act.any": leadOnly,
|
|
538
555
|
"agent.context.read.any": leadOnly,
|
|
539
556
|
"task.cancel.any": leadOrTaskCreator,
|
|
540
557
|
"approval.cancel.any": humanOrLeadOrResourceOwner,
|
|
@@ -604,6 +621,9 @@ var init_legacy_policy = __esm(() => {
|
|
|
604
621
|
"script.api.update": leadOnly,
|
|
605
622
|
"script.api.rotate": leadOnly,
|
|
606
623
|
"script.api.delete": leadOnly,
|
|
624
|
+
"runtime_pool.write": operatorOrUser,
|
|
625
|
+
"runtime_pool.bind": leadOrOperatorOrUser,
|
|
626
|
+
"runtime_controller.write": operatorOrUser,
|
|
607
627
|
"extension.write": extensionWrite,
|
|
608
628
|
"extension.activate": extensionActivation,
|
|
609
629
|
"extension.install.inline": leadOrOperatorOrUser
|