@desplega.ai/agent-swarm 2.13.4 → 2.14.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-99n6z9ky.js +17 -0
- package/dist/{acp-targets-zrk9k0n7.js → acp-targets-23exz4z4.js} +10 -10
- package/dist/{actions-acqqj9jn.js → actions-zcr25x27.js} +61 -40
- package/dist/{agent-fs-provision-zmaykqnd.js → agent-fs-provision-7fa9e12e.js} +4 -4
- package/dist/{amp-adapter-a7ts8tmw.js → amp-adapter-s7ytmv6b.js} +3 -3
- package/dist/{anthropic-messages-88b7s3n9.js → anthropic-messages-vdd1zmha.js} +10 -10
- package/dist/{app-tmwa442h.js → app-5d3sz1hy.js} +7 -7
- package/dist/{approval-notifications-6psaaaye.js → approval-notifications-7qgkzkzx.js} +8 -8
- package/dist/{assistant-564v6emv.js → assistant-p2yvhc3j.js} +37 -32
- package/dist/{boot-args-schema-n099e0f2.js → boot-args-schema-ry6cb0p7.js} +1 -1
- package/dist/{boot-reembed-epvg4fp9.js → boot-reembed-2hkm3vz2.js} +1 -1
- package/dist/{boot-reembed-chx66qfk.js → boot-reembed-c9643ms3.js} +1 -1
- package/dist/{boot-scrub-sweep-dhkfp0a7.js → boot-scrub-sweep-3ycxr51t.js} +2 -2
- package/dist/{boot-seeds-m74fc07r.js → boot-seeds-2hzvvzg0.js} +4 -4
- package/dist/{boxd-451q55ys.js → boxd-9py3x0jb.js} +2 -2
- package/dist/{claude-adapter-hw63yj3j.js → claude-adapter-dnkww93e.js} +9 -9
- package/dist/{claude-managed-adapter-z5s7fx6p.js → claude-managed-adapter-yk0cr5x6.js} +4 -4
- package/dist/{claude-managed-setup-wee1762m.js → claude-managed-setup-4byxpp47.js} +5 -5
- package/dist/{claude-sdk-session-cktyqkpk.js → claude-sdk-session-4wf3dbvs.js} +13163 -12195
- package/dist/{cli-5rxsb3wq.js → cli-096aftq6.js} +12 -7
- package/dist/{cli-5rgm8p39.js → cli-0e914dp9.js} +3 -3
- package/dist/{cli-bzcwwebm.js → cli-0h6m6z5g.js} +1 -1
- package/dist/{cli-cah298e5.js → cli-0k7ppk9k.js} +231 -124
- package/dist/{cli-ja450998.js → cli-1nfabrt4.js} +8 -8
- package/dist/{cli-jzerrzgc.js → cli-2414h5r9.js} +8 -8
- package/dist/{cli-b768ek79.js → cli-24wervhz.js} +38 -0
- package/dist/{cli-93n305hm.js → cli-2ayk9gn8.js} +2 -2
- package/dist/{cli-kr0jpw9c.js → cli-2ckwgs7q.js} +1 -1
- package/dist/{cli-d5pc8ep0.js → cli-2savn6mm.js} +11 -100
- package/dist/{cli-jbrc98qb.js → cli-2zjxake1.js} +4 -4
- package/dist/{cli-4q2c8rxw.js → cli-37p61fcg.js} +15 -9
- package/dist/{cli-2vp0z049.js → cli-39t9d248.js} +1 -1
- package/dist/{cli-sa02jsqt.js → cli-3mhdmcd4.js} +1 -1
- package/dist/{cli-x2cem5vy.js → cli-3wsabyt0.js} +2 -2
- package/dist/{cli-dqgnbnxs.js → cli-466jjrwe.js} +16 -2
- package/dist/{cli-zhwjdhjr.js → cli-6ajyhxh7.js} +2 -2
- package/dist/{cli-3bxrrh53.js → cli-6yy4fepf.js} +4 -4
- package/dist/{cli-hhtbandk.js → cli-73rmgm45.js} +2 -2
- package/dist/{cli-8b4rpnwj.js → cli-7ca8hczj.js} +1 -1
- package/dist/{cli-0h8skzss.js → cli-7g5qj2ca.js} +4 -3
- package/dist/{cli-m1sns1da.js → cli-7w1fs01q.js} +2 -2
- package/dist/{cli-xwsm6xkr.js → cli-84wxwt3z.js} +1 -1
- package/dist/{cli-qzz6tz8s.js → cli-84xn7bgz.js} +1 -1
- package/dist/{cli-49aq3cyn.js → cli-879txsac.js} +5 -5
- package/dist/{cli-bv4vvnmg.js → cli-8vbxjzk0.js} +3 -3
- package/dist/{cli-7by7vp6m.js → cli-91amj3md.js} +3 -3
- package/dist/{cli-60dwk8tx.js → cli-930zbczq.js} +3 -3
- package/dist/{cli-7g3fg4gf.js → cli-9fwznq4p.js} +10 -10
- package/dist/{cli-4pbwg7sn.js → cli-9j1t3kf6.js} +2 -2
- package/dist/{cli-tzw1jr2t.js → cli-9j47sgzy.js} +2 -2
- package/dist/{cli-0fgvnb0x.js → cli-ad00h1st.js} +7 -7
- package/dist/{cli-kj84fqxz.js → cli-adzmmcvf.js} +19 -7
- package/dist/{cli-3tzmh38q.js → cli-ayxxkk3p.js} +68 -25
- package/dist/{cli-4vynxtrb.js → cli-bqfx72e6.js} +10 -3
- package/dist/{cli-8cas2xvp.js → cli-cbg0j1yt.js} +2716 -2643
- package/dist/{cli-fw67mnyc.js → cli-cg1q8ymp.js} +1 -1
- package/dist/{cli-he5nxaa8.js → cli-dw9rtjm3.js} +1 -1
- package/dist/{cli-jg5txpm6.js → cli-dy754erz.js} +83 -1
- package/dist/{cli-tsc3pdfd.js → cli-edxfzgah.js} +4 -4
- package/dist/{cli-hyqksecw.js → cli-ejnhs815.js} +15 -15
- package/dist/{cli-k0nebh10.js → cli-enavhq6r.js} +1 -1
- package/dist/{cli-ea7nz50q.js → cli-f2rwt43y.js} +14 -14
- package/dist/{cli-zjdhrzm0.js → cli-f9g96z28.js} +8 -8
- package/dist/{cli-rmgvwcmy.js → cli-fww016hh.js} +534 -70
- package/dist/{cli-rv3y60bt.js → cli-g6a696c0.js} +4 -4
- package/dist/{cli-z1vam71h.js → cli-gc6b94tj.js} +2 -2
- package/dist/{cli-p436yrzp.js → cli-gcyws2bp.js} +2 -2
- package/dist/{cli-srktrbby.js → cli-hzhv7yac.js} +1 -1
- package/dist/{cli-0p76my9q.js → cli-jcnc5ret.js} +44 -32
- package/dist/{cli-tr19nyn9.js → cli-jgq9xptq.js} +7 -7
- package/dist/{cli-pz1dp12c.js → cli-jwnac23b.js} +1 -1
- package/dist/{cli-904wk98s.js → cli-kc7vd07m.js} +917 -350
- package/dist/{cli-t0jmkcah.js → cli-kg63yp1r.js} +14 -14
- package/dist/{cli-ts5yv7dn.js → cli-krk8y8c7.js} +835 -157
- package/dist/{cli-jyhbvdga.js → cli-m0ea8ggd.js} +8 -10
- package/dist/{cli-944w9wb4.js → cli-md4tn21h.js} +20 -15
- package/dist/{cli-zexwhj3f.js → cli-mv8ft7b0.js} +10 -9
- package/dist/{cli-phdzn699.js → cli-mw1tmn3x.js} +217 -27
- package/dist/{cli-5ashycw3.js → cli-njvpngc6.js} +3 -3
- package/dist/{cli-9ah37a8a.js → cli-phe2vcw5.js} +10 -7
- package/dist/{cli-eds5xnsz.js → cli-phmy14hb.js} +2 -2
- package/dist/{cli-n1kjs58m.js → cli-pq0kv31y.js} +5 -5
- package/dist/{cli-pz1nq5xm.js → cli-q457ga28.js} +6 -6
- package/dist/{cli-s33bzmk0.js → cli-q5n3deaf.js} +1 -1
- package/dist/{cli-4fpa0zns.js → cli-qkbevqer.js} +3 -3
- package/dist/{cli-29h5239w.js → cli-qrwjk4xy.js} +5 -5
- package/dist/{cli-kezzteka.js → cli-r04ve9xw.js} +1 -1
- package/dist/{cli-3xqad83h.js → cli-r495stwd.js} +2 -2
- package/dist/{cli-1kvcsd2f.js → cli-r9d2tya0.js} +71 -3
- package/dist/{cli-ybte1fqc.js → cli-rp1n2xpd.js} +1 -1
- package/dist/{cli-fkpnx3vf.js → cli-rs1rzwp4.js} +3 -2
- package/dist/{cli-h9d3sdnc.js → cli-rzbsh6bw.js} +1 -1
- package/dist/{cli-94gx6ze9.js → cli-s4pccby1.js} +1 -1
- package/dist/{cli-cq4am6vg.js → cli-shyhb4t5.js} +10 -10
- package/dist/{cli-gtj12v95.js → cli-srq69pn1.js} +1 -1
- package/dist/{cli-azj9t1f9.js → cli-tc165vrb.js} +48 -5
- package/dist/{cli-gse7bp3z.js → cli-v4z5v3jd.js} +300 -81
- package/dist/{cli-p3knvk62.js → cli-vxmmttmt.js} +132 -53
- package/dist/{cli-404am6f3.js → cli-w4bvtxet.js} +7 -7
- package/dist/{cli-gkv0r2hq.js → cli-wd7b5hgc.js} +71 -9
- package/dist/{cli-akm6y2a8.js → cli-wvbaq052.js} +1 -1
- package/dist/{cli-ywy8yz6t.js → cli-wvgg7r4j.js} +2 -2
- package/dist/{cli-ka48vpev.js → cli-wym6rxgt.js} +165 -6
- package/dist/{cli-nc4pbwmp.js → cli-yd7e590v.js} +12 -12
- package/dist/{cli-3zrwrnz7.js → cli-yjb3cddd.js} +1 -1
- package/dist/{cli-7gbff32z.js → cli-z8t4485r.js} +2 -2
- package/dist/{cli-hdhpdrka.js → cli-ze1ndjs4.js} +4 -6
- package/dist/{cli-50wa8k4h.js → cli-zy9bb22b.js} +1 -2
- package/dist/cli.js +28 -28
- package/dist/{codex-adapter-2fs2c0n6.js → codex-adapter-eq61radw.js} +8 -8
- package/dist/{codex-hook-jxjv6dy5.js → codex-hook-8nmepvz6.js} +3 -3
- package/dist/{codex-login-ktfg1cxk.js → codex-login-vbd9707w.js} +1 -1
- package/dist/{codex-session-runner-r55tmx4c.js → codex-session-runner-rfx355h4.js} +9 -9
- package/dist/{commands-0mxdy9x8.js → commands-d1z0sx62.js} +3 -3
- package/dist/{controller-g3vkfhr4.js → controller-9hz6d8x3.js} +4 -4
- package/dist/{controllers-connect-4wdmncqt.js → controllers-connect-tz07d2xr.js} +24 -25
- package/dist/core-dynsv289.js +41 -0
- package/dist/{cursor-adapter-t9qb96q2.js → cursor-adapter-ef22ze3j.js} +2 -2
- package/dist/{db-487vvyv9.js → db-gd81d68c.js} +3 -3
- package/dist/{db-76p7w3gr.js → db-vrckks6q.js} +4 -2
- package/dist/{devin-adapter-3bp6rape.js → devin-adapter-kdt6a2bh.js} +1 -1
- package/dist/{dispatcher-64rp6w67.js → dispatcher-76as8w2t.js} +21 -22
- package/dist/{docker-a59g3ebm.js → docker-51ta7jsh.js} +2 -2
- package/dist/dsh-adapter-ypfvcdyz.js +11 -0
- package/dist/{e2b-dc8f6ctq.js → e2b-05kn3kpq.js} +16 -5
- package/dist/{e2b-3ykbe805.js → e2b-dm9r8hpy.js} +3 -3
- package/dist/{easter-egg-3d-jrrwyf55.js → easter-egg-3d-sg21j15g.js} +1 -1
- package/dist/{embedding-space-001hhhpk.js → embedding-space-zsdw37bb.js} +13 -23
- package/dist/{embeddings-esj19cnw.js → embeddings-p4e3e1m6.js} +1 -1
- package/dist/{event-bus-7gbsr0g4.js → event-bus-tvf2grf4.js} +1 -1
- package/dist/{execute-301hkxqg.js → execute-nztd0af0.js} +1 -1
- package/dist/{external-channel-w10e2j05.js → external-channel-717yzn4d.js} +2 -2
- package/dist/fx-adapter-9k0hptnz.js +20 -0
- package/dist/grok-adapter-skdj2pce.js +20 -0
- package/dist/handlers-5btjqkz6.js +39 -0
- package/dist/{heartbeat-tbrj7vhq.js → heartbeat-vfb1gy84.js} +24 -25
- package/dist/{hook-tx917rqw.js → hook-ctz0xmp3.js} +11 -11
- package/dist/{hook-3am1sq68.js → hook-eh52p7yd.js} +6 -6
- package/dist/{http-3rmemtqy.js → http-zregegrx.js} +902 -198
- package/dist/{index-s7xtvc0f.js → index-5kx15d19.js} +1 -1
- package/dist/index-7w8p6em0.js +41 -0
- package/dist/index-evay0xyk.js +17 -0
- package/dist/{index-2jw11t8s.js → index-fdym6ryb.js} +25 -26
- package/dist/{index-3j803vnb.js → index-mtnbhe12.js} +20533 -19786
- package/dist/index-vz4semsx.js +38 -0
- package/dist/{index-gfnq66t1.js → index-x9qf8dg7.js} +294 -29
- package/dist/index-y3s0xp2v.js +43 -0
- package/dist/{k8s-36gfn847.js → k8s-ejkk0aw7.js} +2 -2
- package/dist/{keepalive-9px3t7qj.js → keepalive-zdqay870.js} +4 -5
- package/dist/lead-6cscw8a5.js +82 -0
- package/dist/{maintenance-vwqjwst6.js → maintenance-t5ndg11m.js} +1 -1
- package/dist/{node-2wfcey7d.js → node-0as4n1ef.js} +3 -3
- package/dist/{node-zd6shky9.js → node-dhxbt01p.js} +3 -3
- package/dist/{node-z67yjre7.js → node-jkdd5w7m.js} +290 -70
- package/dist/{node-hjn5n1yp.js → node-t0ct2zpw.js} +3 -5
- package/dist/{oauth-refresh-sweep-yqry3wn4.js → oauth-refresh-sweep-y9zyd7t6.js} +3 -4
- package/dist/{object-webhooks-8s1wtths.js → object-webhooks-mkca91s0.js} +7 -7
- package/dist/{onboard-hb8czx0p.js → onboard-ss995244.js} +11 -9
- package/dist/{opencode-adapter-djd6m6dk.js → opencode-adapter-mwpz0278.js} +8 -8
- package/dist/{otel-impl-2ymwyczz.js → otel-impl-6n6vva3x.js} +2 -2
- package/dist/{pending-nxavtvx7.js → pending-2sxh1t6j.js} +22 -23
- package/dist/{pi-mono-adapter-d2cpmcy4.js → pi-mono-adapter-sfb7zy43.js} +13 -13
- package/dist/{pricing-refresh-1yz8jkqv.js → pricing-refresh-h79bg4cf.js} +2 -2
- package/dist/{rbac-roles-7s6m31xw.js → rbac-roles-ckq0czp4.js} +2 -2
- package/dist/{rbac-roles-dbpx0x9v.js → rbac-roles-jg2e260w.js} +3 -3
- package/dist/{render-v2-7y20rjrn.js → render-v2-ymbshmn0.js} +7 -7
- package/dist/{resume-wz546x47.js → resume-jdhnt4jk.js} +10 -10
- package/dist/{runtime-cb5bd9tz.js → runtime-y28jhhnf.js} +1 -1
- package/dist/{session-access-4vcft8kq.js → session-access-k4ta5hvp.js} +5 -5
- package/dist/{session-source-backfill-57b50tpw.js → session-source-backfill-528j4s8j.js} +3 -3
- package/dist/{setup-e1tevjyj.js → setup-d6pj82fr.js} +15 -6
- package/dist/thread-buffer-9w6x5zec.js +40 -0
- package/dist/{tree-visibility-07wf1nct.js → tree-visibility-kjxv3nxk.js} +2 -2
- package/dist/{user-merge-jobs-n20qpv6s.js → user-merge-jobs-rabbncf6.js} +3 -3
- package/dist/{virtual-modules-6fxmn1yv.js → virtual-modules-22k51txd.js} +3 -3
- package/dist/{work-objects-eg7y48pe.js → work-objects-xtjbar3r.js} +26 -30
- package/dist/{worker-follow-up-jnvnnf2b.js → worker-follow-up-fg48vk6d.js} +21 -22
- package/dist/worker-g4aj93dt.js +82 -0
- package/dist/{x-d27jj7z7.js → x-vfsqypht.js} +2 -2
- package/openapi.json +633 -25
- package/package.json +10 -10
- package/src/apps/definition.ts +76 -24
- package/src/apps/row-store.ts +67 -0
- package/src/apps/script-types.ts +131 -21
- package/src/apps/store.ts +4 -1
- package/src/apps/sync.ts +20 -5
- package/src/azure-devops/boards-sync.ts +1 -1
- package/src/be/db/script-runs.ts +33 -0
- package/src/be/db/slack-card-groups.ts +147 -0
- package/src/be/db/slack-trees.ts +38 -1
- package/src/be/db/task-idempotency.ts +63 -0
- package/src/be/db/tasks/read.ts +27 -1
- package/src/be/db/tasks/write.ts +51 -14
- package/src/be/db/users/avatar.ts +12 -0
- package/src/be/db/workflow-idempotency.ts +6 -1
- package/src/be/db/workflows/read.ts +79 -0
- package/src/be/db.ts +129 -152
- package/src/be/improvements.ts +24 -2
- package/src/be/mcp-proxy.ts +45 -11
- package/src/be/memory/embedding-space.ts +10 -20
- package/src/be/memory/index.ts +35 -0
- package/src/be/memory/providers/openai-embedding.ts +10 -0
- package/src/be/migrations/344_user_avatar.sql +4 -0
- package/src/be/migrations/345_task_status_kind.sql +6 -0
- package/src/be/migrations/348_task_deferred_until.sql +4 -0
- package/src/be/migrations/354_durable_objects.sql +9 -0
- package/src/be/migrations/356_slack_outcome_card_groups.sql +14 -0
- package/src/be/migrations/357_task_idempotency_keys.sql +27 -0
- package/src/be/migrations/362_favorites_app.sql +36 -0
- package/src/be/primitives/object-embed.ts +2 -2
- package/src/be/primitives/objects.ts +2 -2
- package/src/be/repo-checked-update.ts +58 -5
- package/src/be/requester-timezone.ts +10 -0
- package/src/be/runtime-pools/supervisor.ts +1 -0
- package/src/be/script-connections.ts +5 -1
- package/src/be/script-credential-broker.ts +29 -2
- package/src/be/scripts/durable.ts +204 -0
- package/src/be/scripts/extract-schema.ts +29 -4
- package/src/be/scripts/run-credential.ts +1 -8
- package/src/be/scripts/typecheck.ts +33 -8
- package/src/be/seed-scripts/catalog/memory-eval.ts +11 -2
- package/src/be/seed-scripts/catalog/tool-usage.ts +27 -8
- package/src/be/swarm-config-guard.ts +91 -7
- package/src/be/users.ts +33 -12
- package/src/bitbucket/handlers.ts +1 -1
- package/src/comb/review-batch.ts +16 -5
- package/src/commands/context-preamble.ts +237 -0
- package/src/commands/credential-outcome-report.ts +96 -0
- package/src/commands/e2b.ts +14 -0
- package/src/commands/entrypoint-mcp-config.ts +231 -0
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/onboard/compose-generator.ts +2 -1
- package/src/commands/onboard/env-generator.ts +16 -7
- package/src/commands/runner.ts +72 -10
- package/src/commands/setup.tsx +17 -3
- package/src/event-waits/github.ts +39 -6
- package/src/event-waits/index.ts +4 -2
- package/src/event-waits/types.ts +10 -3
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/github/app.ts +177 -13
- package/src/github/handlers.ts +7 -2
- package/src/github/pull-request-state.ts +100 -11
- package/src/gitlab/handlers.ts +2 -2
- package/src/heartbeat/heartbeat.ts +6 -1
- package/src/hooks/hook.ts +8 -2
- package/src/hooks/native-tool-hooks.ts +4 -2
- package/src/http/api-keys.ts +26 -0
- package/src/http/apps.ts +82 -42
- package/src/http/asset-key-write.ts +45 -0
- package/src/http/assets.ts +4 -3
- package/src/http/comb.ts +21 -5
- package/src/http/config.ts +8 -4
- package/src/http/github-token.ts +27 -6
- package/src/http/heartbeat.ts +5 -0
- package/src/http/index.ts +12 -6
- package/src/http/kv.ts +7 -5
- package/src/http/mcp-oauth.ts +16 -0
- package/src/http/mcp-servers.ts +43 -3
- package/src/http/memory.ts +28 -1
- package/src/http/metrics.ts +11 -4
- package/src/http/onboarding.ts +12 -1
- package/src/http/pages.ts +4 -10
- package/src/http/repos.ts +27 -11
- package/src/http/request-principal.ts +27 -1
- package/src/http/schedules.ts +42 -14
- package/src/http/script-connection-proxy.ts +3 -1
- package/src/http/script-runs.ts +21 -10
- package/src/http/scripts.ts +177 -26
- package/src/http/session-cost-recompute.ts +9 -4
- package/src/http/sessions.ts +7 -2
- package/src/http/skills.ts +70 -0
- package/src/http/status.ts +2 -0
- package/src/http/tasks.ts +115 -19
- package/src/http/trackers/jira.ts +18 -3
- package/src/http/trackers/linear.ts +3 -0
- package/src/http/users.ts +5 -0
- package/src/http/webhooks.ts +19 -1
- package/src/http/workflows.ts +5 -10
- package/src/integrations/chat-sdk/commands.ts +3 -1
- package/src/jira/sync.ts +1 -1
- package/src/kv-limits.ts +2 -0
- package/src/kv-reserved-namespaces.ts +25 -2
- package/src/linear/sync.ts +5 -3
- package/src/prompts/session-templates.ts +50 -0
- package/src/prompts/session-turns.ts +30 -0
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +5 -0
- package/src/providers/claude-managed-adapter.ts +14 -0
- package/src/providers/claude-sdk-session.ts +19 -1
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/providers/dsh-adapter.ts +1 -1
- package/src/providers/opencode-adapter.ts +3 -5
- package/src/providers/runtime-dependencies.ts +11 -8
- package/src/rbac/legacy-policy.ts +7 -0
- package/src/rbac/permissions.ts +27 -0
- package/src/scheduler/deferred-task-waits.ts +74 -13
- package/src/scheduler/scheduler.ts +36 -18
- package/src/script-workflows/executor.ts +37 -8
- package/src/script-workflows/supervisor.ts +14 -0
- package/src/scripts-runtime/ctx.ts +5 -1
- package/src/scripts-runtime/durable-object-base.ts +19 -0
- package/src/scripts-runtime/eval-harness.ts +46 -1
- package/src/scripts-runtime/executors/native.ts +13 -1
- package/src/scripts-runtime/executors/quickjs-bundle.ts +20 -1
- package/src/scripts-runtime/executors/quickjs-prelude.ts +40 -1
- package/src/scripts-runtime/executors/quickjs-runner.ts +26 -3
- package/src/scripts-runtime/executors/quickjs-worker.ts +2 -1
- package/src/scripts-runtime/executors/types.ts +26 -0
- package/src/scripts-runtime/extract-signature.ts +96 -1
- package/src/scripts-runtime/loader.ts +11 -5
- package/src/scripts-runtime/mcp-client.ts +1 -1
- package/src/scripts-runtime/sdk-allowlist.ts +1 -0
- package/src/scripts-runtime/swarm-config.ts +7 -0
- package/src/scripts-runtime/swarm-sdk.ts +12 -2
- package/src/scripts-runtime/types/stdlib.d.ts +27 -1
- package/src/scripts-runtime/types/swarm-extension.d.ts +20 -2
- package/src/scripts-runtime/types/swarm-sdk.d.ts +27 -1
- package/src/slack/actions.ts +25 -1
- package/src/slack/assistant.ts +8 -0
- package/src/slack/blocks.ts +35 -0
- package/src/slack/channel-activity.ts +7 -0
- package/src/slack/enrich.ts +46 -54
- package/src/slack/files.ts +173 -23
- package/src/slack/handlers.test.ts +17 -19
- package/src/slack/handlers.ts +15 -14
- package/src/slack/render-v2.ts +403 -17
- package/src/slack/responses.ts +61 -5
- package/src/slack/session-mirror.ts +10 -5
- package/src/slack/task-output.ts +25 -14
- package/src/slack/templates.ts +9 -0
- package/src/slack/thread-participants.ts +64 -24
- package/src/slack/watcher.ts +4 -4
- package/src/slack/work-objects.ts +1 -1
- package/src/stdio.ts +5 -0
- package/src/tests/agents-list-model-display.test.ts +4 -0
- package/src/tests/api-drain-worker-e2e.test.ts +0 -2
- package/src/tests/approval-auto-cancellation-migration.test.ts +8 -19
- package/src/tests/approval-card-resolution.test.ts +2 -17
- package/src/tests/approval-requests-notifications.test.ts +41 -27
- package/src/tests/approval-requests.test.ts +137 -369
- package/src/tests/apps-script-types.test.ts +63 -16
- package/src/tests/apps-sort-order.test.ts +87 -0
- package/src/tests/apps-sync-engine.test.ts +5 -3
- package/src/tests/apps-table-filters-migration.test.ts +44 -25
- package/src/tests/bedrock-model-groups.test.ts +4 -0
- package/src/tests/bitbucket-handlers.test.ts +2 -0
- package/src/tests/channel-activity.test.ts +9 -0
- package/src/tests/chat-sdk-commands.test.ts +1 -0
- package/src/tests/chatgpt-subscription-model-groups.test.ts +4 -0
- package/src/tests/claude-adapter.test.ts +35 -0
- package/src/tests/claude-hook-output.test.ts +2 -0
- package/src/tests/claude-managed-adapter.test.ts +15 -3
- package/src/tests/claude-sdk-stderr.test.ts +28 -0
- package/src/tests/codex-adapter.test.ts +3 -92
- package/src/tests/codex-gpt6-release.test.ts +4 -9
- package/src/tests/codex-oauth-credential-info.test.ts +35 -18
- package/src/tests/codex-oauth.test.ts +0 -6
- package/src/tests/codex-pool.test.ts +5 -214
- package/src/tests/codex-rate-limit-parse.test.ts +0 -7
- package/src/tests/codex-swarm-events.test.ts +11 -54
- package/src/tests/comb-review-batch.test.ts +17 -4
- package/src/tests/comb-status.test.ts +1 -0
- package/src/tests/db-client-busy-retry.test.ts +49 -16
- package/src/tests/db-client.test.ts +11 -5
- package/src/tests/db-task-read-contract.test.ts +1 -0
- package/src/tests/db-task-write-contract.test.ts +2 -2
- package/src/tests/defer-task.test.ts +24 -1
- package/src/tests/dsh-adapter.test.ts +1 -1
- package/src/tests/e2b-dispatch.test.ts +13 -1
- package/src/tests/e2e-shards.test.ts +9 -9
- package/src/tests/enabled-tools.test.ts +0 -2
- package/src/tests/entrypoint-mcp-config.test.ts +642 -0
- package/src/tests/fixtures/base-prompt-baseline.json +6 -6
- package/src/tests/fixtures/onboard/content.env.txt +2 -2
- package/src/tests/fixtures/onboard/dev.env.txt +2 -2
- package/src/tests/fixtures/onboard/full-all.env.txt +2 -2
- package/src/tests/fixtures/onboard/full.env.txt +2 -2
- package/src/tests/fixtures/onboard/research.env.txt +2 -2
- package/src/tests/fixtures/onboard/solo.env.txt +2 -2
- package/src/tests/fixtures/runner-missing-dependency.ts +2 -1
- package/src/tests/fx-adapter.test.ts +4 -5
- package/src/tests/github-app-worker-auth-helper.test.ts +147 -1
- package/src/tests/gitlab-handlers.test.ts +2 -0
- package/src/tests/heartbeat-jev-gate.test.ts +9 -241
- package/src/tests/heartbeat-reroute-decision.test.ts +2 -0
- package/src/tests/heartbeat-supersede-resume.test.ts +2 -0
- package/src/tests/heartbeat.test.ts +1 -0
- package/src/tests/hook-mcp-config-precedence.test.ts +59 -0
- package/src/tests/hook-ping-me-order.test.ts +1 -0
- package/src/tests/hook-runtime-close.test.ts +1 -0
- package/src/tests/improvements-payload.test.ts +2 -2
- package/src/tests/key-usage-selection.test.ts +302 -0
- package/src/tests/memory-e2e.test.ts +34 -103
- package/src/tests/memory-key-paths.test.ts +5 -0
- package/src/tests/memory-rater-llm.test.ts +33 -149
- package/src/tests/memory-store.test.ts +24 -125
- package/src/tests/memory.test.ts +31 -100
- package/src/tests/merge-gate-detect-changes.test.ts +108 -2
- package/src/tests/model-groups-live-catalog.test.ts +4 -0
- package/src/tests/oauth-credential-bindings.test.ts +8 -3
- package/src/tests/oauth-refresh-failure.test.ts +15 -3
- package/src/tests/onboard-env.test.ts +1 -1
- package/src/tests/openai-compatible-providers.test.ts +5 -0
- package/src/tests/openapi-route-headers.test.ts +2 -1
- package/src/tests/opus-5-5-registry.test.ts +4 -0
- package/src/tests/otel-service-name.test.ts +0 -9
- package/src/tests/otel-session-cost-metrics.test.ts +1 -38
- package/src/tests/pool-session-logs.test.ts +8 -42
- package/src/tests/pre-push-affected-tests.test.ts +106 -0
- package/src/tests/prompt-template-session.test.ts +3 -0
- package/src/tests/provider-runtime-dependencies.test.ts +26 -15
- package/src/tests/routing-affinity-inventory.test.ts +11 -0
- package/src/tests/runner-api-drain.test.ts +2 -17
- package/src/tests/runner-context-preamble.test.ts +202 -0
- package/src/tests/runner-repo-clone-args.test.ts +116 -0
- package/src/tests/runner-terminal-window-report.test.ts +132 -0
- package/src/tests/runtime-supervisor-failures.test.ts +1 -0
- package/src/tests/sandboxed-process.test.ts +26 -21
- package/src/tests/schedule-http-triage-tools.test.ts +12 -9
- package/src/tests/scheduled-tasks.test.ts +14 -51
- package/src/tests/scheduler-occurrence.test.ts +60 -9
- package/src/tests/script-connections-mcp.test.ts +6 -3
- package/src/tests/script-connections.test.ts +4 -0
- package/src/tests/script-executor-conformance.test.ts +4 -48
- package/src/tests/script-executor-quickjs-pool.test.ts +9 -7
- package/src/tests/script-native-startup.test.ts +21 -25
- package/src/tests/scripts-namespaces.test.ts +3 -1
- package/src/tests/secret-rules.test.ts +4 -2
- package/src/tests/secret-scrubber.test.ts +8 -2
- package/src/tests/session-cost-recompute-unit.test.ts +39 -0
- package/src/tests/session-costs-recompute-all-providers.test.ts +6 -3
- package/src/tests/session-logs.test.ts +1 -260
- package/src/tests/session-route-posture.test.ts +7 -1
- package/src/tests/slack-file-tools-attachments.test.ts +14 -9
- package/src/tests/slack-identity-resolution.test.ts +10 -3
- package/src/tests/slack-inline-output.test.ts +10 -8
- package/src/tests/slack-render-v2.test.ts +14 -152
- package/src/tests/slack-steering.test.ts +8 -2
- package/src/tests/slack-thread-participants.test.ts +11 -1
- package/src/tests/sonnet-5-5-registry.test.ts +4 -0
- package/src/tests/swarm-config-encryption.test.ts +5 -8
- package/src/tests/task-cascade-fail.test.ts +1 -0
- package/src/tests/task-supersede-resume.test.ts +1 -0
- package/src/tests/test-proc.ts +5 -2
- package/src/tests/ui-spec-script-actions-config.test.ts +7 -3
- package/src/tests/window-stream-reporter.test.ts +122 -0
- package/src/tests/workflow-agent-task-retry.test.ts +1 -3
- package/src/tests/workflow-cascade-cancel.test.ts +1 -0
- package/src/tests/workflow-retry-v2.test.ts +34 -43
- package/src/tests/workflow-retry-validation.test.ts +8 -48
- package/src/tests/workflow-triggers-v2.test.ts +35 -11
- package/src/tests/worktree-reaper.test.ts +2 -2
- package/src/tools/app-patch.ts +6 -2
- package/src/tools/app-upsert.ts +8 -4
- package/src/tools/cancel-task.ts +2 -2
- package/src/tools/defer-task.ts +24 -79
- package/src/tools/get-task-details.ts +8 -4
- package/src/tools/get-tasks.ts +13 -2
- package/src/tools/kv/kv-get.ts +2 -0
- package/src/tools/kv/kv-list.ts +11 -5
- package/src/tools/kv/kv-set.ts +1 -3
- package/src/tools/manage-user.ts +9 -0
- package/src/tools/repos/update-repo.ts +37 -19
- package/src/tools/schedules/run-schedule-now.ts +21 -1
- package/src/tools/script-apis.ts +9 -4
- package/src/tools/script-common.ts +2 -2
- package/src/tools/script-run.ts +8 -0
- package/src/tools/script-upsert.ts +1 -1
- package/src/tools/slack-download-file.ts +15 -12
- package/src/tools/slack-post.ts +7 -1
- package/src/tools/slack-read.ts +3 -1
- package/src/tools/slack-reply.ts +16 -0
- package/src/tools/slack-start-thread.ts +8 -1
- package/src/tools/slack-upload-file.ts +99 -96
- package/src/tools/store-progress.ts +5 -3
- package/src/tools/swarm-config/set-config.ts +3 -1
- package/src/tools/swarm-x.ts +0 -2
- package/src/tools/utils.ts +3 -0
- package/src/types.ts +101 -2
- package/src/utils/constants.ts +32 -0
- package/src/utils/credentials.ts +42 -5
- package/src/utils/deferral-time.ts +61 -0
- package/src/utils/error-tracker.ts +6 -0
- package/src/utils/key-usage.ts +114 -0
- package/src/utils/request-auth-context.ts +15 -16
- package/src/utils/sandboxed-process.ts +1 -0
- package/src/utils/secret-scrubber.ts +1 -1
- package/src/workflows/engine.ts +6 -11
- package/src/workflows/executors/swarm-script.ts +0 -2
- package/src/workflows/foreach-driver.ts +6 -12
- package/src/workflows/input.ts +24 -1
- package/src/workflows/node-timeout.ts +18 -0
- package/src/workflows/resume.ts +5 -2
- package/src/workflows/retry-poller.ts +2 -1
- package/src/workflows/triggers.ts +21 -11
- package/src/x/composio.ts +10 -1
- package/templates/skills/apps/SKILL.md +6 -2
- package/templates/skills/apps/content.md +6 -2
- package/templates/skills/boards-and-sheets/content.md +4 -2
- package/templates/skills/code-quality/content.md +4 -4
- package/templates/skills/pages/content.md +7 -0
- package/templates/skills/scheduled-task-resilience/SKILL.md +2 -0
- package/templates/skills/scheduled-task-resilience/content.md +2 -0
- package/templates/skills/swarm-docs/content.md +8 -0
- package/templates/skills/swarm-scripts/SKILL.md +45 -0
- package/templates/skills/swarm-scripts/content.md +45 -0
- package/dist/acp-adapter-mr4temec.js +0 -17
- package/dist/cli-1vmhnncj.js +0 -173
- package/dist/cli-kj0hyr43.js +0 -51
- package/dist/cli-ysv0k1we.js +0 -459
- package/dist/core-gsvj5f3z.js +0 -42
- package/dist/dsh-adapter-8abzqk5c.js +0 -9
- package/dist/fx-adapter-4sjrbdne.js +0 -20
- package/dist/grok-adapter-3a0ezfee.js +0 -20
- package/dist/handlers-ef3k11hb.js +0 -41
- package/dist/index-aetfyx6p.js +0 -13
- package/dist/index-e6bq0exk.js +0 -42
- package/dist/index-hf2k1vge.js +0 -39
- package/dist/index-taxmejj3.js +0 -44
- package/dist/lead-5vt6f174.js +0 -83
- package/dist/thread-buffer-686pa1p1.js +0 -42
- package/dist/worker-4vp616ms.js +0 -83
- package/src/tests/apps-table-selection-migration.test.ts +0 -95
- package/src/tests/extensions-example-heartbeat-remediate.test.ts +0 -69
- package/src/tests/extensions-example-rewrite-and-suppress.test.ts +0 -70
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Agent Swarm API",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.14.0",
|
|
6
6
|
"description": "Multi-agent orchestration API for Claude Code, Codex, and Gemini CLI. Enables task distribution, agent communication, and service discovery.\n\nMCP tools are documented separately in [MCP.md](./MCP.md)."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
@@ -258,6 +258,27 @@
|
|
|
258
258
|
"type": "string",
|
|
259
259
|
"format": "date-time"
|
|
260
260
|
},
|
|
261
|
+
"statusKind": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"enum": [
|
|
264
|
+
"agent",
|
|
265
|
+
"runner",
|
|
266
|
+
"deferred",
|
|
267
|
+
"error",
|
|
268
|
+
"cascade",
|
|
269
|
+
"external",
|
|
270
|
+
"user",
|
|
271
|
+
"workflow",
|
|
272
|
+
"system",
|
|
273
|
+
"graceful_shutdown",
|
|
274
|
+
"context_limits",
|
|
275
|
+
"manual_supersede",
|
|
276
|
+
"crash_recovery",
|
|
277
|
+
"provider_fallback",
|
|
278
|
+
"workflow_retry"
|
|
279
|
+
],
|
|
280
|
+
"description": "Why the task reached its terminal status, e.g. `failed` + `agent` (the agent chose to fail) vs `failed` + `error` (rate limit, crash, exit code). Absent while open and on rows finished before the field existed."
|
|
281
|
+
},
|
|
261
282
|
"failureReason": {
|
|
262
283
|
"type": "string"
|
|
263
284
|
},
|
|
@@ -536,6 +557,10 @@
|
|
|
536
557
|
"type": "string",
|
|
537
558
|
"format": "date-time"
|
|
538
559
|
},
|
|
560
|
+
"deferredUntil": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"format": "date-time"
|
|
563
|
+
},
|
|
539
564
|
"compactionCount": {
|
|
540
565
|
"type": "integer",
|
|
541
566
|
"minimum": 0
|
|
@@ -2680,7 +2705,8 @@
|
|
|
2680
2705
|
"agent-fs-path",
|
|
2681
2706
|
"key",
|
|
2682
2707
|
"session",
|
|
2683
|
-
"hidden-key"
|
|
2708
|
+
"hidden-key",
|
|
2709
|
+
"app"
|
|
2684
2710
|
]
|
|
2685
2711
|
},
|
|
2686
2712
|
"itemId": {
|
|
@@ -4267,7 +4293,7 @@
|
|
|
4267
4293
|
"default": false
|
|
4268
4294
|
}
|
|
4269
4295
|
},
|
|
4270
|
-
"description": "Worker hook installation. Enabled by default: a repo created without `hooks` stores { enabled: true }. Disable with { enabled: false }. A repo with no stored hooks config reads as disabled."
|
|
4296
|
+
"description": "Worker hook installation. Enabled by default: a repo created without `hooks` stores { enabled: true }, except a repo a non-lead agent session token creates, which stores { enabled: false }. Disable with { enabled: false }. A repo with no stored hooks config reads as disabled."
|
|
4271
4297
|
},
|
|
4272
4298
|
"RepoGuidelines": {
|
|
4273
4299
|
"type": [
|
|
@@ -4550,6 +4576,15 @@
|
|
|
4550
4576
|
"ScriptRun": {
|
|
4551
4577
|
"type": "object",
|
|
4552
4578
|
"properties": {
|
|
4579
|
+
"objectScriptId": {
|
|
4580
|
+
"type": "string"
|
|
4581
|
+
},
|
|
4582
|
+
"objectId": {
|
|
4583
|
+
"type": "string"
|
|
4584
|
+
},
|
|
4585
|
+
"objectMethod": {
|
|
4586
|
+
"type": "string"
|
|
4587
|
+
},
|
|
4553
4588
|
"id": {
|
|
4554
4589
|
"type": "string",
|
|
4555
4590
|
"format": "uuid"
|
|
@@ -5685,6 +5720,82 @@
|
|
|
5685
5720
|
"null"
|
|
5686
5721
|
]
|
|
5687
5722
|
},
|
|
5723
|
+
"avatar": {
|
|
5724
|
+
"oneOf": [
|
|
5725
|
+
{
|
|
5726
|
+
"type": "object",
|
|
5727
|
+
"properties": {
|
|
5728
|
+
"type": {
|
|
5729
|
+
"type": "string",
|
|
5730
|
+
"enum": [
|
|
5731
|
+
"lucide"
|
|
5732
|
+
]
|
|
5733
|
+
},
|
|
5734
|
+
"icon": {
|
|
5735
|
+
"type": "string",
|
|
5736
|
+
"maxLength": 64,
|
|
5737
|
+
"pattern": "^[a-z0-9-]+$"
|
|
5738
|
+
},
|
|
5739
|
+
"color": {
|
|
5740
|
+
"type": "string",
|
|
5741
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
5742
|
+
}
|
|
5743
|
+
},
|
|
5744
|
+
"required": [
|
|
5745
|
+
"type",
|
|
5746
|
+
"icon"
|
|
5747
|
+
]
|
|
5748
|
+
},
|
|
5749
|
+
{
|
|
5750
|
+
"type": "object",
|
|
5751
|
+
"properties": {
|
|
5752
|
+
"type": {
|
|
5753
|
+
"type": "string",
|
|
5754
|
+
"enum": [
|
|
5755
|
+
"url"
|
|
5756
|
+
]
|
|
5757
|
+
},
|
|
5758
|
+
"url": {
|
|
5759
|
+
"type": "string",
|
|
5760
|
+
"maxLength": 2048,
|
|
5761
|
+
"format": "uri"
|
|
5762
|
+
}
|
|
5763
|
+
},
|
|
5764
|
+
"required": [
|
|
5765
|
+
"type",
|
|
5766
|
+
"url"
|
|
5767
|
+
]
|
|
5768
|
+
},
|
|
5769
|
+
{
|
|
5770
|
+
"type": "object",
|
|
5771
|
+
"properties": {
|
|
5772
|
+
"type": {
|
|
5773
|
+
"type": "string",
|
|
5774
|
+
"enum": [
|
|
5775
|
+
"agent-fs"
|
|
5776
|
+
]
|
|
5777
|
+
},
|
|
5778
|
+
"path": {
|
|
5779
|
+
"type": "string",
|
|
5780
|
+
"minLength": 2,
|
|
5781
|
+
"maxLength": 1024
|
|
5782
|
+
},
|
|
5783
|
+
"orgId": {
|
|
5784
|
+
"type": "string",
|
|
5785
|
+
"minLength": 1
|
|
5786
|
+
},
|
|
5787
|
+
"driveId": {
|
|
5788
|
+
"type": "string",
|
|
5789
|
+
"minLength": 1
|
|
5790
|
+
}
|
|
5791
|
+
},
|
|
5792
|
+
"required": [
|
|
5793
|
+
"type",
|
|
5794
|
+
"path"
|
|
5795
|
+
]
|
|
5796
|
+
}
|
|
5797
|
+
]
|
|
5798
|
+
},
|
|
5688
5799
|
"createdAt": {
|
|
5689
5800
|
"type": "string",
|
|
5690
5801
|
"format": "date-time"
|
|
@@ -9065,13 +9176,17 @@
|
|
|
9065
9176
|
},
|
|
9066
9177
|
"updatedAt": {
|
|
9067
9178
|
"type": "string"
|
|
9179
|
+
},
|
|
9180
|
+
"favorite": {
|
|
9181
|
+
"type": "boolean"
|
|
9068
9182
|
}
|
|
9069
9183
|
},
|
|
9070
9184
|
"required": [
|
|
9071
9185
|
"id",
|
|
9072
9186
|
"name",
|
|
9073
9187
|
"createdAt",
|
|
9074
|
-
"updatedAt"
|
|
9188
|
+
"updatedAt",
|
|
9189
|
+
"favorite"
|
|
9075
9190
|
]
|
|
9076
9191
|
}
|
|
9077
9192
|
}
|
|
@@ -9207,7 +9322,7 @@
|
|
|
9207
9322
|
"items": {
|
|
9208
9323
|
"type": "string"
|
|
9209
9324
|
},
|
|
9210
|
-
"description": "Advisory quickjs-executor compatibility
|
|
9325
|
+
"description": "Advisory findings: quickjs-executor compatibility of the app's scripts, and whether the app lost its generated script types to the type budget."
|
|
9211
9326
|
}
|
|
9212
9327
|
},
|
|
9213
9328
|
"required": [
|
|
@@ -9752,7 +9867,7 @@
|
|
|
9752
9867
|
"items": {
|
|
9753
9868
|
"type": "string"
|
|
9754
9869
|
},
|
|
9755
|
-
"description": "Advisory quickjs-executor compatibility
|
|
9870
|
+
"description": "Advisory findings: quickjs-executor compatibility of the app's scripts, and whether the app lost its generated script types to the type budget."
|
|
9756
9871
|
}
|
|
9757
9872
|
},
|
|
9758
9873
|
"required": [
|
|
@@ -10309,7 +10424,7 @@
|
|
|
10309
10424
|
"items": {
|
|
10310
10425
|
"type": "string"
|
|
10311
10426
|
},
|
|
10312
|
-
"description": "Advisory quickjs-executor compatibility
|
|
10427
|
+
"description": "Advisory findings: quickjs-executor compatibility of the app's scripts, and whether the app lost its generated script types to the type budget."
|
|
10313
10428
|
}
|
|
10314
10429
|
},
|
|
10315
10430
|
"required": [
|
|
@@ -10702,7 +10817,7 @@
|
|
|
10702
10817
|
"items": {
|
|
10703
10818
|
"type": "string"
|
|
10704
10819
|
},
|
|
10705
|
-
"description": "Advisory quickjs-executor compatibility
|
|
10820
|
+
"description": "Advisory findings: quickjs-executor compatibility of the app's scripts, and whether the app lost its generated script types to the type budget."
|
|
10706
10821
|
}
|
|
10707
10822
|
},
|
|
10708
10823
|
"required": [
|
|
@@ -15011,7 +15126,7 @@
|
|
|
15011
15126
|
],
|
|
15012
15127
|
"responses": {
|
|
15013
15128
|
"200": {
|
|
15014
|
-
"description": "Map of key -> boolean
|
|
15129
|
+
"description": "Map of key -> boolean. Empty values are normally absent; an explicitly empty WORKFLOW_INPUT_ENV_ALLOWLIST or Slack icon setting counts as present.",
|
|
15015
15130
|
"content": {
|
|
15016
15131
|
"application/json": {
|
|
15017
15132
|
"schema": {
|
|
@@ -19772,8 +19887,8 @@
|
|
|
19772
19887
|
},
|
|
19773
19888
|
"/api/comb/review-batches": {
|
|
19774
19889
|
"post": {
|
|
19775
|
-
"summary": "Send agent-fs comments to the swarm as one
|
|
19776
|
-
"description": "Comb's 'Send to swarm'. The server reads each comment again from agent-fs with its bootstrap key, skips replies, resolved comments, and comments already sent, and creates
|
|
19890
|
+
"summary": "Send agent-fs comments to the swarm as one task",
|
|
19891
|
+
"description": "Comb's 'Send to swarm'. The server reads each comment again from agent-fs with its bootstrap key, skips replies, resolved comments, and comments already sent, and creates one task. An optional parentTaskId attaches it as a follow-up for the parent’s agent. Without a parent assignee it routes to the lead. Each sent comment gets a `[comb:sent task=<id>]` reply from the swarm service account. A comment is sent at most once. An optional `note` from the sender goes into the task text. When an earlier send lost its reply, the batch posts that reply again (`repaired`). Answers 404 while COMB_ENABLED is off.",
|
|
19777
19892
|
"tags": [
|
|
19778
19893
|
"Comb"
|
|
19779
19894
|
],
|
|
@@ -19788,6 +19903,10 @@
|
|
|
19788
19903
|
"schema": {
|
|
19789
19904
|
"type": "object",
|
|
19790
19905
|
"properties": {
|
|
19906
|
+
"parentTaskId": {
|
|
19907
|
+
"type": "string",
|
|
19908
|
+
"format": "uuid"
|
|
19909
|
+
},
|
|
19791
19910
|
"orgId": {
|
|
19792
19911
|
"type": "string",
|
|
19793
19912
|
"minLength": 1
|
|
@@ -21260,6 +21379,32 @@
|
|
|
21260
21379
|
},
|
|
21261
21380
|
"authFailureFence": {
|
|
21262
21381
|
"type": "integer"
|
|
21382
|
+
},
|
|
21383
|
+
"keyUsage": {
|
|
21384
|
+
"type": "array",
|
|
21385
|
+
"items": {
|
|
21386
|
+
"type": "number"
|
|
21387
|
+
}
|
|
21388
|
+
},
|
|
21389
|
+
"keyPace": {
|
|
21390
|
+
"type": "array",
|
|
21391
|
+
"items": {
|
|
21392
|
+
"type": "number"
|
|
21393
|
+
}
|
|
21394
|
+
},
|
|
21395
|
+
"selectionStrategy": {
|
|
21396
|
+
"type": "string",
|
|
21397
|
+
"enum": [
|
|
21398
|
+
"pace",
|
|
21399
|
+
"usage"
|
|
21400
|
+
]
|
|
21401
|
+
},
|
|
21402
|
+
"activeSessions": {
|
|
21403
|
+
"type": "array",
|
|
21404
|
+
"items": {
|
|
21405
|
+
"type": "integer",
|
|
21406
|
+
"minimum": 0
|
|
21407
|
+
}
|
|
21263
21408
|
}
|
|
21264
21409
|
},
|
|
21265
21410
|
"required": [
|
|
@@ -21267,7 +21412,11 @@
|
|
|
21267
21412
|
"availableIndices",
|
|
21268
21413
|
"totalKeys",
|
|
21269
21414
|
"spendCappedIndices",
|
|
21270
|
-
"authFailureFence"
|
|
21415
|
+
"authFailureFence",
|
|
21416
|
+
"keyUsage",
|
|
21417
|
+
"keyPace",
|
|
21418
|
+
"selectionStrategy",
|
|
21419
|
+
"activeSessions"
|
|
21271
21420
|
]
|
|
21272
21421
|
}
|
|
21273
21422
|
}
|
|
@@ -25551,7 +25700,8 @@
|
|
|
25551
25700
|
"agent-fs-path",
|
|
25552
25701
|
"key",
|
|
25553
25702
|
"session",
|
|
25554
|
-
"hidden-key"
|
|
25703
|
+
"hidden-key",
|
|
25704
|
+
"app"
|
|
25555
25705
|
]
|
|
25556
25706
|
},
|
|
25557
25707
|
"required": false,
|
|
@@ -25633,7 +25783,8 @@
|
|
|
25633
25783
|
"agent-fs-path",
|
|
25634
25784
|
"key",
|
|
25635
25785
|
"session",
|
|
25636
|
-
"hidden-key"
|
|
25786
|
+
"hidden-key",
|
|
25787
|
+
"app"
|
|
25637
25788
|
]
|
|
25638
25789
|
},
|
|
25639
25790
|
"itemId": {
|
|
@@ -25673,7 +25824,8 @@
|
|
|
25673
25824
|
"agent-fs-path",
|
|
25674
25825
|
"key",
|
|
25675
25826
|
"session",
|
|
25676
|
-
"hidden-key"
|
|
25827
|
+
"hidden-key",
|
|
25828
|
+
"app"
|
|
25677
25829
|
]
|
|
25678
25830
|
},
|
|
25679
25831
|
"itemId": {
|
|
@@ -27071,7 +27223,7 @@
|
|
|
27071
27223
|
"/api/github/installation-token": {
|
|
27072
27224
|
"post": {
|
|
27073
27225
|
"summary": "Mint a GitHub App installation token for worker git and gh",
|
|
27074
|
-
"description": "Internal worker endpoint. Returns a short-lived installation token for
|
|
27226
|
+
"description": "Internal worker endpoint. Returns a short-lived installation token for worker `git` and `gh`. With a `repo` (`owner/name`) whose owner is listed in the deployment env `GITHUB_APP_REPO_OWNERS`, the API resolves that repository's App installation with the App JWT and mints for it; the repository must also be registered in `swarm_repos` on the configured GitHub host (403 otherwise). Any other call mints for the installation in `GITHUB_APP_INSTALLATION_ID`, so single-installation deployments are unchanged and a caller never picks an installation the operator did not list. Only a registered agent (swarm API key plus X-Agent-ID, or an agent or runtime token) may call it; user, guest and ACP task tokens are refused. 404 when the App is not configured, so workers fall back to `GITHUB_TOKEN`.",
|
|
27075
27227
|
"tags": [
|
|
27076
27228
|
"GitHub"
|
|
27077
27229
|
],
|
|
@@ -27085,7 +27237,13 @@
|
|
|
27085
27237
|
"application/json": {
|
|
27086
27238
|
"schema": {
|
|
27087
27239
|
"type": "object",
|
|
27088
|
-
"properties": {
|
|
27240
|
+
"properties": {
|
|
27241
|
+
"repo": {
|
|
27242
|
+
"type": "string",
|
|
27243
|
+
"maxLength": 200,
|
|
27244
|
+
"pattern": "^[A-Za-z0-9_.-]+\\/[A-Za-z0-9_.-]+$"
|
|
27245
|
+
}
|
|
27246
|
+
}
|
|
27089
27247
|
}
|
|
27090
27248
|
}
|
|
27091
27249
|
}
|
|
@@ -27114,7 +27272,7 @@
|
|
|
27114
27272
|
}
|
|
27115
27273
|
},
|
|
27116
27274
|
"403": {
|
|
27117
|
-
"description": "Caller is not a registered agent",
|
|
27275
|
+
"description": "Caller is not a registered agent, or the repo of a listed owner is not registered in the swarm",
|
|
27118
27276
|
"content": {
|
|
27119
27277
|
"application/json": {
|
|
27120
27278
|
"schema": {
|
|
@@ -27134,7 +27292,7 @@
|
|
|
27134
27292
|
}
|
|
27135
27293
|
},
|
|
27136
27294
|
"502": {
|
|
27137
|
-
"description": "GitHub refused or failed to mint the token",
|
|
27295
|
+
"description": "GitHub refused or failed to mint the token, or the repo has no App installation",
|
|
27138
27296
|
"content": {
|
|
27139
27297
|
"application/json": {
|
|
27140
27298
|
"schema": {
|
|
@@ -36515,6 +36673,9 @@
|
|
|
36515
36673
|
"null"
|
|
36516
36674
|
]
|
|
36517
36675
|
},
|
|
36676
|
+
"review_follow_ups": {
|
|
36677
|
+
"type": "boolean"
|
|
36678
|
+
},
|
|
36518
36679
|
"service_user_id": {
|
|
36519
36680
|
"type": [
|
|
36520
36681
|
"string",
|
|
@@ -36529,6 +36690,7 @@
|
|
|
36529
36690
|
"live_url",
|
|
36530
36691
|
"org_id",
|
|
36531
36692
|
"drive_id",
|
|
36693
|
+
"review_follow_ups",
|
|
36532
36694
|
"service_user_id"
|
|
36533
36695
|
]
|
|
36534
36696
|
}
|
|
@@ -39449,6 +39611,33 @@
|
|
|
39449
39611
|
"name": "status",
|
|
39450
39612
|
"in": "query"
|
|
39451
39613
|
},
|
|
39614
|
+
{
|
|
39615
|
+
"schema": {
|
|
39616
|
+
"type": "string",
|
|
39617
|
+
"enum": [
|
|
39618
|
+
"agent",
|
|
39619
|
+
"runner",
|
|
39620
|
+
"deferred",
|
|
39621
|
+
"error",
|
|
39622
|
+
"cascade",
|
|
39623
|
+
"external",
|
|
39624
|
+
"user",
|
|
39625
|
+
"workflow",
|
|
39626
|
+
"system",
|
|
39627
|
+
"graceful_shutdown",
|
|
39628
|
+
"context_limits",
|
|
39629
|
+
"manual_supersede",
|
|
39630
|
+
"crash_recovery",
|
|
39631
|
+
"provider_fallback",
|
|
39632
|
+
"workflow_retry"
|
|
39633
|
+
],
|
|
39634
|
+
"description": "Why the task ended, e.g. `status=failed&statusKind=error` (crash, rate limit, exit code) vs `statusKind=agent` (the agent chose to fail). Valid kinds per status: TASK_STATUS_KINDS in src/types.ts."
|
|
39635
|
+
},
|
|
39636
|
+
"required": false,
|
|
39637
|
+
"description": "Why the task ended, e.g. `status=failed&statusKind=error` (crash, rate limit, exit code) vs `statusKind=agent` (the agent chose to fail). Valid kinds per status: TASK_STATUS_KINDS in src/types.ts.",
|
|
39638
|
+
"name": "statusKind",
|
|
39639
|
+
"in": "query"
|
|
39640
|
+
},
|
|
39452
39641
|
{
|
|
39453
39642
|
"schema": {
|
|
39454
39643
|
"type": "string"
|
|
@@ -39836,6 +40025,27 @@
|
|
|
39836
40025
|
"type": "string",
|
|
39837
40026
|
"format": "date-time"
|
|
39838
40027
|
},
|
|
40028
|
+
"statusKind": {
|
|
40029
|
+
"type": "string",
|
|
40030
|
+
"enum": [
|
|
40031
|
+
"agent",
|
|
40032
|
+
"runner",
|
|
40033
|
+
"deferred",
|
|
40034
|
+
"error",
|
|
40035
|
+
"cascade",
|
|
40036
|
+
"external",
|
|
40037
|
+
"user",
|
|
40038
|
+
"workflow",
|
|
40039
|
+
"system",
|
|
40040
|
+
"graceful_shutdown",
|
|
40041
|
+
"context_limits",
|
|
40042
|
+
"manual_supersede",
|
|
40043
|
+
"crash_recovery",
|
|
40044
|
+
"provider_fallback",
|
|
40045
|
+
"workflow_retry"
|
|
40046
|
+
],
|
|
40047
|
+
"description": "Why the task reached its terminal status, e.g. `failed` + `agent` (the agent chose to fail) vs `failed` + `error` (rate limit, crash, exit code). Absent while open and on rows finished before the field existed."
|
|
40048
|
+
},
|
|
39839
40049
|
"peakContextPercent": {
|
|
39840
40050
|
"type": "number",
|
|
39841
40051
|
"minimum": 0,
|
|
@@ -39966,6 +40176,19 @@
|
|
|
39966
40176
|
"bearerAuth": []
|
|
39967
40177
|
}
|
|
39968
40178
|
],
|
|
40179
|
+
"parameters": [
|
|
40180
|
+
{
|
|
40181
|
+
"schema": {
|
|
40182
|
+
"type": "string",
|
|
40183
|
+
"pattern": "^[\\x21-\\x7E]{1,255}$",
|
|
40184
|
+
"description": "Optional client-generated key, 1-255 visible ASCII characters (a UUID works). The first request the server accepts under a key creates one task (a replay returns that task as it is now); a retry with the same key and an equivalent body gets that request's status and body back (with `Idempotent-Replayed: true`) and changes nothing. The key is scoped to the caller's identity and this operation; it is not a credential. The same key with a different body is a 409. A request rejected before it is accepted (validation, auth, not found, disabled) does not use up the key. Accepted keys do not expire."
|
|
40185
|
+
},
|
|
40186
|
+
"required": false,
|
|
40187
|
+
"description": "Optional client-generated key, 1-255 visible ASCII characters (a UUID works). The first request the server accepts under a key creates one task (a replay returns that task as it is now); a retry with the same key and an equivalent body gets that request's status and body back (with `Idempotent-Replayed: true`) and changes nothing. The key is scoped to the caller's identity and this operation; it is not a credential. The same key with a different body is a 409. A request rejected before it is accepted (validation, auth, not found, disabled) does not use up the key. Accepted keys do not expire.",
|
|
40188
|
+
"name": "Idempotency-Key",
|
|
40189
|
+
"in": "header"
|
|
40190
|
+
}
|
|
40191
|
+
],
|
|
39969
40192
|
"requestBody": {
|
|
39970
40193
|
"content": {
|
|
39971
40194
|
"application/json": {
|
|
@@ -40118,7 +40341,7 @@
|
|
|
40118
40341
|
}
|
|
40119
40342
|
},
|
|
40120
40343
|
"400": {
|
|
40121
|
-
"description": "Validation error, an unknown `model` (set `allowCustomModel` to store a custom id), a `vcsRepo` that is not exactly one registered repo,
|
|
40344
|
+
"description": "Validation error, an unknown `model` (set `allowCustomModel` to store a custom id), a `vcsRepo` that is not exactly one registered repo, agentId/offeredTo targets an extension identity, or a malformed Idempotency-Key",
|
|
40122
40345
|
"content": {
|
|
40123
40346
|
"application/json": {
|
|
40124
40347
|
"schema": {
|
|
@@ -40128,7 +40351,27 @@
|
|
|
40128
40351
|
}
|
|
40129
40352
|
},
|
|
40130
40353
|
"403": {
|
|
40131
|
-
"description": "Parent/session access denied, unauthorized chat-thread binding,
|
|
40354
|
+
"description": "Parent/session access denied, unauthorized chat-thread binding, routing requirements reject the assignment, or an Idempotency-Key replay of a task whose session the caller can no longer read",
|
|
40355
|
+
"content": {
|
|
40356
|
+
"application/json": {
|
|
40357
|
+
"schema": {
|
|
40358
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
40359
|
+
}
|
|
40360
|
+
}
|
|
40361
|
+
}
|
|
40362
|
+
},
|
|
40363
|
+
"409": {
|
|
40364
|
+
"description": "Idempotency-Key was already used for a different request",
|
|
40365
|
+
"content": {
|
|
40366
|
+
"application/json": {
|
|
40367
|
+
"schema": {
|
|
40368
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
40369
|
+
}
|
|
40370
|
+
}
|
|
40371
|
+
}
|
|
40372
|
+
},
|
|
40373
|
+
"410": {
|
|
40374
|
+
"description": "The task created under this Idempotency-Key was deleted",
|
|
40132
40375
|
"content": {
|
|
40133
40376
|
"application/json": {
|
|
40134
40377
|
"schema": {
|
|
@@ -41504,6 +41747,27 @@
|
|
|
41504
41747
|
"type": "string",
|
|
41505
41748
|
"format": "date-time"
|
|
41506
41749
|
},
|
|
41750
|
+
"statusKind": {
|
|
41751
|
+
"type": "string",
|
|
41752
|
+
"enum": [
|
|
41753
|
+
"agent",
|
|
41754
|
+
"runner",
|
|
41755
|
+
"deferred",
|
|
41756
|
+
"error",
|
|
41757
|
+
"cascade",
|
|
41758
|
+
"external",
|
|
41759
|
+
"user",
|
|
41760
|
+
"workflow",
|
|
41761
|
+
"system",
|
|
41762
|
+
"graceful_shutdown",
|
|
41763
|
+
"context_limits",
|
|
41764
|
+
"manual_supersede",
|
|
41765
|
+
"crash_recovery",
|
|
41766
|
+
"provider_fallback",
|
|
41767
|
+
"workflow_retry"
|
|
41768
|
+
],
|
|
41769
|
+
"description": "Why the task reached its terminal status, e.g. `failed` + `agent` (the agent chose to fail) vs `failed` + `error` (rate limit, crash, exit code). Absent while open and on rows finished before the field existed."
|
|
41770
|
+
},
|
|
41507
41771
|
"peakContextPercent": {
|
|
41508
41772
|
"type": "number",
|
|
41509
41773
|
"minimum": 0,
|
|
@@ -46160,7 +46424,7 @@
|
|
|
46160
46424
|
}
|
|
46161
46425
|
},
|
|
46162
46426
|
"403": {
|
|
46163
|
-
"description": "Only the lead, the operator or a user can change allowMerge or
|
|
46427
|
+
"description": "Only the lead, the operator or a user can change allowMerge, mergePolicy, url, clonePath or hooks",
|
|
46164
46428
|
"content": {
|
|
46165
46429
|
"application/json": {
|
|
46166
46430
|
"schema": {
|
|
@@ -46411,7 +46675,7 @@
|
|
|
46411
46675
|
}
|
|
46412
46676
|
},
|
|
46413
46677
|
"403": {
|
|
46414
|
-
"description": "Only the lead, the operator or a user can turn allowMerge on
|
|
46678
|
+
"description": "Only the lead, the operator or a user can turn allowMerge on, set a mergePolicy or enable hooks",
|
|
46415
46679
|
"content": {
|
|
46416
46680
|
"application/json": {
|
|
46417
46681
|
"schema": {
|
|
@@ -55343,6 +55607,22 @@
|
|
|
55343
55607
|
"name": "scriptName",
|
|
55344
55608
|
"in": "query"
|
|
55345
55609
|
},
|
|
55610
|
+
{
|
|
55611
|
+
"schema": {
|
|
55612
|
+
"type": "string"
|
|
55613
|
+
},
|
|
55614
|
+
"required": false,
|
|
55615
|
+
"name": "objectScriptId",
|
|
55616
|
+
"in": "query"
|
|
55617
|
+
},
|
|
55618
|
+
{
|
|
55619
|
+
"schema": {
|
|
55620
|
+
"type": "string"
|
|
55621
|
+
},
|
|
55622
|
+
"required": false,
|
|
55623
|
+
"name": "objectId",
|
|
55624
|
+
"in": "query"
|
|
55625
|
+
},
|
|
55346
55626
|
{
|
|
55347
55627
|
"schema": {
|
|
55348
55628
|
"type": "integer",
|
|
@@ -55379,6 +55659,15 @@
|
|
|
55379
55659
|
"items": {
|
|
55380
55660
|
"type": "object",
|
|
55381
55661
|
"properties": {
|
|
55662
|
+
"objectScriptId": {
|
|
55663
|
+
"type": "string"
|
|
55664
|
+
},
|
|
55665
|
+
"objectId": {
|
|
55666
|
+
"type": "string"
|
|
55667
|
+
},
|
|
55668
|
+
"objectMethod": {
|
|
55669
|
+
"type": "string"
|
|
55670
|
+
},
|
|
55382
55671
|
"id": {
|
|
55383
55672
|
"type": "string",
|
|
55384
55673
|
"format": "uuid"
|
|
@@ -60173,6 +60462,27 @@
|
|
|
60173
60462
|
"type": "string",
|
|
60174
60463
|
"format": "date-time"
|
|
60175
60464
|
},
|
|
60465
|
+
"statusKind": {
|
|
60466
|
+
"type": "string",
|
|
60467
|
+
"enum": [
|
|
60468
|
+
"agent",
|
|
60469
|
+
"runner",
|
|
60470
|
+
"deferred",
|
|
60471
|
+
"error",
|
|
60472
|
+
"cascade",
|
|
60473
|
+
"external",
|
|
60474
|
+
"user",
|
|
60475
|
+
"workflow",
|
|
60476
|
+
"system",
|
|
60477
|
+
"graceful_shutdown",
|
|
60478
|
+
"context_limits",
|
|
60479
|
+
"manual_supersede",
|
|
60480
|
+
"crash_recovery",
|
|
60481
|
+
"provider_fallback",
|
|
60482
|
+
"workflow_retry"
|
|
60483
|
+
],
|
|
60484
|
+
"description": "Why the task reached its terminal status, e.g. `failed` + `agent` (the agent chose to fail) vs `failed` + `error` (rate limit, crash, exit code). Absent while open and on rows finished before the field existed."
|
|
60485
|
+
},
|
|
60176
60486
|
"peakContextPercent": {
|
|
60177
60487
|
"type": "number",
|
|
60178
60488
|
"minimum": 0,
|
|
@@ -64103,7 +64413,7 @@
|
|
|
64103
64413
|
"items": {
|
|
64104
64414
|
"type": "string"
|
|
64105
64415
|
},
|
|
64106
|
-
"description": "Advisory quickjs-executor compatibility
|
|
64416
|
+
"description": "Advisory findings: quickjs-executor compatibility, and apps the script names that have no generated script types. Never blocks the save."
|
|
64107
64417
|
}
|
|
64108
64418
|
},
|
|
64109
64419
|
"required": [
|
|
@@ -64178,6 +64488,25 @@
|
|
|
64178
64488
|
"type": "string",
|
|
64179
64489
|
"minLength": 1
|
|
64180
64490
|
},
|
|
64491
|
+
"object": {
|
|
64492
|
+
"type": "object",
|
|
64493
|
+
"properties": {
|
|
64494
|
+
"id": {
|
|
64495
|
+
"type": "string",
|
|
64496
|
+
"minLength": 1,
|
|
64497
|
+
"maxLength": 256
|
|
64498
|
+
},
|
|
64499
|
+
"method": {
|
|
64500
|
+
"type": "string",
|
|
64501
|
+
"minLength": 1,
|
|
64502
|
+
"maxLength": 128
|
|
64503
|
+
}
|
|
64504
|
+
},
|
|
64505
|
+
"required": [
|
|
64506
|
+
"id",
|
|
64507
|
+
"method"
|
|
64508
|
+
]
|
|
64509
|
+
},
|
|
64181
64510
|
"args": {},
|
|
64182
64511
|
"intent": {
|
|
64183
64512
|
"type": "string",
|
|
@@ -64227,6 +64556,25 @@
|
|
|
64227
64556
|
"type": "object",
|
|
64228
64557
|
"properties": {
|
|
64229
64558
|
"result": {},
|
|
64559
|
+
"object": {
|
|
64560
|
+
"type": "object",
|
|
64561
|
+
"properties": {
|
|
64562
|
+
"id": {
|
|
64563
|
+
"type": "string"
|
|
64564
|
+
},
|
|
64565
|
+
"stateVersion": {
|
|
64566
|
+
"type": "number"
|
|
64567
|
+
},
|
|
64568
|
+
"destroyed": {
|
|
64569
|
+
"type": "boolean"
|
|
64570
|
+
}
|
|
64571
|
+
},
|
|
64572
|
+
"required": [
|
|
64573
|
+
"id",
|
|
64574
|
+
"stateVersion",
|
|
64575
|
+
"destroyed"
|
|
64576
|
+
]
|
|
64577
|
+
},
|
|
64230
64578
|
"autoSaved": {
|
|
64231
64579
|
"type": "object",
|
|
64232
64580
|
"properties": {
|
|
@@ -64380,6 +64728,16 @@
|
|
|
64380
64728
|
}
|
|
64381
64729
|
}
|
|
64382
64730
|
},
|
|
64731
|
+
"409": {
|
|
64732
|
+
"description": "Object busy, re-entry, or lease lost",
|
|
64733
|
+
"content": {
|
|
64734
|
+
"application/json": {
|
|
64735
|
+
"schema": {
|
|
64736
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
64737
|
+
}
|
|
64738
|
+
}
|
|
64739
|
+
}
|
|
64740
|
+
},
|
|
64383
64741
|
"501": {
|
|
64384
64742
|
"description": "workspace-rw scripts are not supported in v1",
|
|
64385
64743
|
"content": {
|
|
@@ -64453,6 +64811,34 @@
|
|
|
64453
64811
|
"signature": {
|
|
64454
64812
|
"type": "object",
|
|
64455
64813
|
"properties": {
|
|
64814
|
+
"kind": {
|
|
64815
|
+
"type": "string",
|
|
64816
|
+
"enum": [
|
|
64817
|
+
"durable"
|
|
64818
|
+
]
|
|
64819
|
+
},
|
|
64820
|
+
"methods": {
|
|
64821
|
+
"type": "object",
|
|
64822
|
+
"additionalProperties": {
|
|
64823
|
+
"type": "object",
|
|
64824
|
+
"properties": {
|
|
64825
|
+
"argsType": {
|
|
64826
|
+
"type": "string"
|
|
64827
|
+
},
|
|
64828
|
+
"resultType": {
|
|
64829
|
+
"type": "string"
|
|
64830
|
+
},
|
|
64831
|
+
"description": {
|
|
64832
|
+
"type": "string"
|
|
64833
|
+
}
|
|
64834
|
+
},
|
|
64835
|
+
"required": [
|
|
64836
|
+
"argsType",
|
|
64837
|
+
"resultType",
|
|
64838
|
+
"description"
|
|
64839
|
+
]
|
|
64840
|
+
}
|
|
64841
|
+
},
|
|
64456
64842
|
"argsType": {
|
|
64457
64843
|
"type": "string"
|
|
64458
64844
|
},
|
|
@@ -64649,6 +65035,34 @@
|
|
|
64649
65035
|
"signature": {
|
|
64650
65036
|
"type": "object",
|
|
64651
65037
|
"properties": {
|
|
65038
|
+
"kind": {
|
|
65039
|
+
"type": "string",
|
|
65040
|
+
"enum": [
|
|
65041
|
+
"durable"
|
|
65042
|
+
]
|
|
65043
|
+
},
|
|
65044
|
+
"methods": {
|
|
65045
|
+
"type": "object",
|
|
65046
|
+
"additionalProperties": {
|
|
65047
|
+
"type": "object",
|
|
65048
|
+
"properties": {
|
|
65049
|
+
"argsType": {
|
|
65050
|
+
"type": "string"
|
|
65051
|
+
},
|
|
65052
|
+
"resultType": {
|
|
65053
|
+
"type": "string"
|
|
65054
|
+
},
|
|
65055
|
+
"description": {
|
|
65056
|
+
"type": "string"
|
|
65057
|
+
}
|
|
65058
|
+
},
|
|
65059
|
+
"required": [
|
|
65060
|
+
"argsType",
|
|
65061
|
+
"resultType",
|
|
65062
|
+
"description"
|
|
65063
|
+
]
|
|
65064
|
+
}
|
|
65065
|
+
},
|
|
64652
65066
|
"argsType": {
|
|
64653
65067
|
"type": "string"
|
|
64654
65068
|
},
|
|
@@ -64839,6 +65253,13 @@
|
|
|
64839
65253
|
},
|
|
64840
65254
|
"updatedAt": {
|
|
64841
65255
|
"type": "string"
|
|
65256
|
+
},
|
|
65257
|
+
"kind": {
|
|
65258
|
+
"type": "string",
|
|
65259
|
+
"enum": [
|
|
65260
|
+
"function",
|
|
65261
|
+
"durable"
|
|
65262
|
+
]
|
|
64842
65263
|
}
|
|
64843
65264
|
},
|
|
64844
65265
|
"required": [
|
|
@@ -64854,7 +65275,8 @@
|
|
|
64854
65275
|
"fsMode",
|
|
64855
65276
|
"createdByAgentId",
|
|
64856
65277
|
"createdAt",
|
|
64857
|
-
"updatedAt"
|
|
65278
|
+
"updatedAt",
|
|
65279
|
+
"kind"
|
|
64858
65280
|
]
|
|
64859
65281
|
}
|
|
64860
65282
|
}
|
|
@@ -65051,6 +65473,34 @@
|
|
|
65051
65473
|
"signature": {
|
|
65052
65474
|
"type": "object",
|
|
65053
65475
|
"properties": {
|
|
65476
|
+
"kind": {
|
|
65477
|
+
"type": "string",
|
|
65478
|
+
"enum": [
|
|
65479
|
+
"durable"
|
|
65480
|
+
]
|
|
65481
|
+
},
|
|
65482
|
+
"methods": {
|
|
65483
|
+
"type": "object",
|
|
65484
|
+
"additionalProperties": {
|
|
65485
|
+
"type": "object",
|
|
65486
|
+
"properties": {
|
|
65487
|
+
"argsType": {
|
|
65488
|
+
"type": "string"
|
|
65489
|
+
},
|
|
65490
|
+
"resultType": {
|
|
65491
|
+
"type": "string"
|
|
65492
|
+
},
|
|
65493
|
+
"description": {
|
|
65494
|
+
"type": "string"
|
|
65495
|
+
}
|
|
65496
|
+
},
|
|
65497
|
+
"required": [
|
|
65498
|
+
"argsType",
|
|
65499
|
+
"resultType",
|
|
65500
|
+
"description"
|
|
65501
|
+
]
|
|
65502
|
+
}
|
|
65503
|
+
},
|
|
65054
65504
|
"argsType": {
|
|
65055
65505
|
"type": "string"
|
|
65056
65506
|
},
|
|
@@ -70750,6 +71200,85 @@
|
|
|
70750
71200
|
"suspended"
|
|
70751
71201
|
]
|
|
70752
71202
|
},
|
|
71203
|
+
"avatar": {
|
|
71204
|
+
"oneOf": [
|
|
71205
|
+
{
|
|
71206
|
+
"type": "object",
|
|
71207
|
+
"properties": {
|
|
71208
|
+
"type": {
|
|
71209
|
+
"type": "string",
|
|
71210
|
+
"enum": [
|
|
71211
|
+
"lucide"
|
|
71212
|
+
]
|
|
71213
|
+
},
|
|
71214
|
+
"icon": {
|
|
71215
|
+
"type": "string",
|
|
71216
|
+
"maxLength": 64,
|
|
71217
|
+
"pattern": "^[a-z0-9-]+$"
|
|
71218
|
+
},
|
|
71219
|
+
"color": {
|
|
71220
|
+
"type": "string",
|
|
71221
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
71222
|
+
}
|
|
71223
|
+
},
|
|
71224
|
+
"required": [
|
|
71225
|
+
"type",
|
|
71226
|
+
"icon"
|
|
71227
|
+
]
|
|
71228
|
+
},
|
|
71229
|
+
{
|
|
71230
|
+
"type": "object",
|
|
71231
|
+
"properties": {
|
|
71232
|
+
"type": {
|
|
71233
|
+
"type": "string",
|
|
71234
|
+
"enum": [
|
|
71235
|
+
"url"
|
|
71236
|
+
]
|
|
71237
|
+
},
|
|
71238
|
+
"url": {
|
|
71239
|
+
"type": "string",
|
|
71240
|
+
"maxLength": 2048,
|
|
71241
|
+
"format": "uri"
|
|
71242
|
+
}
|
|
71243
|
+
},
|
|
71244
|
+
"required": [
|
|
71245
|
+
"type",
|
|
71246
|
+
"url"
|
|
71247
|
+
]
|
|
71248
|
+
},
|
|
71249
|
+
{
|
|
71250
|
+
"type": "object",
|
|
71251
|
+
"properties": {
|
|
71252
|
+
"type": {
|
|
71253
|
+
"type": "string",
|
|
71254
|
+
"enum": [
|
|
71255
|
+
"agent-fs"
|
|
71256
|
+
]
|
|
71257
|
+
},
|
|
71258
|
+
"path": {
|
|
71259
|
+
"type": "string",
|
|
71260
|
+
"minLength": 2,
|
|
71261
|
+
"maxLength": 1024
|
|
71262
|
+
},
|
|
71263
|
+
"orgId": {
|
|
71264
|
+
"type": "string",
|
|
71265
|
+
"minLength": 1
|
|
71266
|
+
},
|
|
71267
|
+
"driveId": {
|
|
71268
|
+
"type": "string",
|
|
71269
|
+
"minLength": 1
|
|
71270
|
+
}
|
|
71271
|
+
},
|
|
71272
|
+
"required": [
|
|
71273
|
+
"type",
|
|
71274
|
+
"path"
|
|
71275
|
+
]
|
|
71276
|
+
},
|
|
71277
|
+
{
|
|
71278
|
+
"type": "null"
|
|
71279
|
+
}
|
|
71280
|
+
]
|
|
71281
|
+
},
|
|
70753
71282
|
"identities": {
|
|
70754
71283
|
"type": "array",
|
|
70755
71284
|
"items": {
|
|
@@ -71783,6 +72312,85 @@
|
|
|
71783
72312
|
"suspended"
|
|
71784
72313
|
]
|
|
71785
72314
|
},
|
|
72315
|
+
"avatar": {
|
|
72316
|
+
"oneOf": [
|
|
72317
|
+
{
|
|
72318
|
+
"type": "object",
|
|
72319
|
+
"properties": {
|
|
72320
|
+
"type": {
|
|
72321
|
+
"type": "string",
|
|
72322
|
+
"enum": [
|
|
72323
|
+
"lucide"
|
|
72324
|
+
]
|
|
72325
|
+
},
|
|
72326
|
+
"icon": {
|
|
72327
|
+
"type": "string",
|
|
72328
|
+
"maxLength": 64,
|
|
72329
|
+
"pattern": "^[a-z0-9-]+$"
|
|
72330
|
+
},
|
|
72331
|
+
"color": {
|
|
72332
|
+
"type": "string",
|
|
72333
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
72334
|
+
}
|
|
72335
|
+
},
|
|
72336
|
+
"required": [
|
|
72337
|
+
"type",
|
|
72338
|
+
"icon"
|
|
72339
|
+
]
|
|
72340
|
+
},
|
|
72341
|
+
{
|
|
72342
|
+
"type": "object",
|
|
72343
|
+
"properties": {
|
|
72344
|
+
"type": {
|
|
72345
|
+
"type": "string",
|
|
72346
|
+
"enum": [
|
|
72347
|
+
"url"
|
|
72348
|
+
]
|
|
72349
|
+
},
|
|
72350
|
+
"url": {
|
|
72351
|
+
"type": "string",
|
|
72352
|
+
"maxLength": 2048,
|
|
72353
|
+
"format": "uri"
|
|
72354
|
+
}
|
|
72355
|
+
},
|
|
72356
|
+
"required": [
|
|
72357
|
+
"type",
|
|
72358
|
+
"url"
|
|
72359
|
+
]
|
|
72360
|
+
},
|
|
72361
|
+
{
|
|
72362
|
+
"type": "object",
|
|
72363
|
+
"properties": {
|
|
72364
|
+
"type": {
|
|
72365
|
+
"type": "string",
|
|
72366
|
+
"enum": [
|
|
72367
|
+
"agent-fs"
|
|
72368
|
+
]
|
|
72369
|
+
},
|
|
72370
|
+
"path": {
|
|
72371
|
+
"type": "string",
|
|
72372
|
+
"minLength": 2,
|
|
72373
|
+
"maxLength": 1024
|
|
72374
|
+
},
|
|
72375
|
+
"orgId": {
|
|
72376
|
+
"type": "string",
|
|
72377
|
+
"minLength": 1
|
|
72378
|
+
},
|
|
72379
|
+
"driveId": {
|
|
72380
|
+
"type": "string",
|
|
72381
|
+
"minLength": 1
|
|
72382
|
+
}
|
|
72383
|
+
},
|
|
72384
|
+
"required": [
|
|
72385
|
+
"type",
|
|
72386
|
+
"path"
|
|
72387
|
+
]
|
|
72388
|
+
},
|
|
72389
|
+
{
|
|
72390
|
+
"type": "null"
|
|
72391
|
+
}
|
|
72392
|
+
]
|
|
72393
|
+
},
|
|
71786
72394
|
"identities": {
|
|
71787
72395
|
"type": "array",
|
|
71788
72396
|
"items": {
|