@desplega.ai/agent-swarm 1.107.0 → 1.108.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/README.md +2 -2
- package/dist/{actions-q3hcb6ea.js → actions-sdr91cfp.js} +9 -8
- package/dist/{app-4r3mstc2.js → app-0mcf7mwz.js} +8 -6
- package/dist/{artifact-12d91qnq.js → artifact-0874w6js.js} +2 -1
- package/dist/{assistant-a6vp3nv8.js → assistant-7f3cmabp.js} +14 -12
- package/dist/{boot-reembed-cnsk021h.js → boot-reembed-47cfre4w.js} +5 -5
- package/dist/{boot-reembed-gaxjq6ds.js → boot-reembed-a9btk2eh.js} +6 -6
- package/dist/{boot-scrub-logs-sm0m581p.js → boot-scrub-logs-hy8pqhej.js} +3 -3
- package/dist/{claude-adapter-hw0wsvpj.js → claude-adapter-mma9a1yr.js} +2 -2
- package/dist/{claude-managed-adapter-vj9kzegz.js → claude-managed-adapter-pv2nbqy4.js} +2 -2
- package/dist/{cli-09rxrad0.js → cli-1z7048dy.js} +1 -1
- package/dist/{cli-awqz8v9k.js → cli-1zs2dm5w.js} +4 -4
- package/dist/{cli-4r9m8f3t.js → cli-2fc97xm5.js} +1 -1
- package/dist/{cli-jk4tj5m6.js → cli-2r7s8jhp.js} +1 -1
- package/dist/{cli-8p36pjyp.js → cli-3cfvx630.js} +3 -3
- package/dist/{cli-3pp1362w.js → cli-4j2mrzag.js} +1 -0
- package/dist/{cli-z92pkwzn.js → cli-6xd0bvf8.js} +4 -17
- package/dist/{cli-t7cyte2g.js → cli-75b0wmer.js} +3 -3
- package/dist/{cli-heavyg0w.js → cli-7r40bgvr.js} +5 -5
- package/dist/cli-7wmybrt5.js +115 -0
- package/dist/{cli-wb4j4tfe.js → cli-9wv4e7qs.js} +203 -15
- package/dist/{cli-bk526b46.js → cli-a0t7vapf.js} +1 -1
- package/dist/{cli-3jcx2wmm.js → cli-a0w6tqyc.js} +1 -1
- package/dist/{cli-r0nfastp.js → cli-a8gkr14c.js} +49 -30
- package/dist/{cli-ccre5q9r.js → cli-apdrt1ch.js} +28 -5
- package/dist/{cli-hn38x1bp.js → cli-cya9knf9.js} +3 -3
- package/dist/{cli-tda8d5q0.js → cli-entbgsd5.js} +1 -1
- package/dist/{cli-xaht317v.js → cli-gx7gnvha.js} +99 -25
- package/dist/{cli-4rx7v585.js → cli-h2qhdwhr.js} +5 -11
- package/dist/{cli-6kqcg4zv.js → cli-hv2fndhm.js} +4 -1
- package/dist/{cli-f8cdgmdk.js → cli-j9eqkarv.js} +3 -3
- package/dist/{cli-8da61htc.js → cli-kc3h8mnm.js} +1 -1
- package/dist/{cli-61hj3yzp.js → cli-kppbkzj4.js} +22 -14
- package/dist/{cli-5s8hgqmd.js → cli-m0k99m2s.js} +1 -1
- package/dist/{cli-hr69yv51.js → cli-m3enfr8q.js} +2 -2
- package/dist/{cli-5nt81kzd.js → cli-mkn2ryba.js} +1 -1
- package/dist/{cli-9xjc8dt2.js → cli-mmaz2btq.js} +1 -1
- package/dist/{cli-n4qvvhy0.js → cli-nmt32dxp.js} +1 -1
- package/dist/{cli-kgr1cazt.js → cli-psz2xq0n.js} +6 -6
- package/dist/{cli-h9k3grhx.js → cli-pwfsqc2x.js} +1 -1
- package/dist/{cli-3j01d33e.js → cli-q25ejbyn.js} +1 -1
- package/dist/{cli-fete3y1e.js → cli-rkndnn90.js} +4 -1
- package/dist/{cli-t6r1ex00.js → cli-tehpf2fm.js} +1 -1
- package/dist/{cli-ygcrdkqt.js → cli-vbraamxr.js} +5 -2
- package/dist/{cli-2yn35y8c.js → cli-vemx13wc.js} +3 -3
- package/dist/{cli-rpjrpkzy.js → cli-vhpa5j27.js} +2 -2
- package/dist/{cli-wnkwyhmw.js → cli-w6zp4qcx.js} +2 -2
- package/dist/cli-wspgs9bt.js +27 -0
- package/dist/{cli-6n1nnzm7.js → cli-wx82tw1k.js} +1 -1
- package/dist/{cli-938phztx.js → cli-xy83cmfc.js} +282 -2
- package/dist/cli.js +43 -19
- package/dist/{codex-adapter-wer4en6f.js → codex-adapter-ebs12jef.js} +3 -3
- package/dist/{codex-session-runner-b199pwwr.js → codex-session-runner-3bx0b1hn.js} +3 -3
- package/dist/{commands-ys948zs2.js → commands-4p93q1rf.js} +3 -3
- package/dist/{db-sy3tqg9d.js → db-hb0chrmg.js} +20 -4
- package/dist/{e2b-jy6t336w.js → e2b-2s4psnbf.js} +3 -3
- package/dist/{google-generative-ai-rf42vj2h.js → google-generative-ai-vfq6ymz9.js} +1 -1
- package/dist/{google-vertex-m92pj5fb.js → google-vertex-mj5y5rfj.js} +1 -1
- package/dist/{handlers-h9vh0t22.js → handlers-pz3zc83m.js} +14 -12
- package/dist/{hook-06rfe1bc.js → hook-mye8ket2.js} +4 -4
- package/dist/{http-fk80h22g.js → http-3nrx1tp1.js} +1051 -68
- package/dist/{index-0krvvan6.js → index-17n7z8k8.js} +12 -11
- package/dist/{index-py84s5en.js → index-5n2c8yay.js} +2 -1
- package/dist/{index-pq2d08xe.js → index-6sgpkhby.js} +11 -25
- package/dist/{index-40wjvdfg.js → index-rys8ctm6.js} +9 -9
- package/dist/{index-bb95344w.js → index-x9n06ze1.js} +10 -10
- package/dist/{keepalive-np0ham11.js → keepalive-b6eax0y0.js} +5 -5
- package/dist/{lead-gf7sa5vn.js → lead-v1g4j7he.js} +29 -27
- package/dist/{maintenance-38n2z7p9.js → maintenance-xwf1vf0v.js} +6 -6
- package/dist/{onboard-63r24gwq.js → onboard-vy0z8b11.js} +4 -4
- package/dist/{opencode-adapter-5jxw9cv8.js → opencode-adapter-mqsxr170.js} +2 -2
- package/dist/{otel-impl-18fxmezz.js → otel-impl-94sm94jm.js} +6 -3
- package/dist/{pi-mono-adapter-5bbyymfw.js → pi-mono-adapter-ayr3akk8.js} +49 -49
- package/dist/{pricing-refresh-x7b6rjxy.js → pricing-refresh-an9bxjcd.js} +5 -5
- package/dist/{seed-pricing-8hdb1xyg.js → seed-pricing-3t22x5ax.js} +4 -4
- package/dist/{setup-prqde3h7.js → setup-8hd3jk8s.js} +4 -4
- package/dist/{worker-34hev47c.js → worker-s0xm8naj.js} +29 -27
- package/dist/{x-knyx9vek.js → x-6mg4kfpe.js} +2 -2
- package/openapi.json +396 -2
- package/package.json +28 -5
- package/src/be/db.ts +330 -4
- package/src/be/migrations/105_user_favorites.sql +18 -0
- package/src/be/migrations/106_task_attachments_provider_agnostic.sql +29 -0
- package/src/be/seed/agent-fs-provision.ts +423 -0
- package/src/be/seed/registry.ts +2 -1
- package/src/be/seed-scripts/catalog/memory-eval.ts +0 -15
- package/src/be/seed-scripts/index.ts +1 -1
- package/src/commands/context-preamble.ts +4 -11
- package/src/commands/e2b.ts +1 -1
- package/src/commands/onboard/compose-generator.ts +1 -1
- package/src/commands/onboard/dashboard-url.ts +1 -1
- package/src/commands/runner.ts +42 -0
- package/src/fs/agent-fs-provider.ts +290 -0
- package/src/fs/capabilities.ts +59 -0
- package/src/fs/index.ts +5 -0
- package/src/fs/local-fs-provider.ts +163 -0
- package/src/fs/provider.ts +166 -0
- package/src/fs/registry.ts +26 -0
- package/src/http/config.ts +19 -7
- package/src/http/core.ts +1 -1
- package/src/http/favorites.ts +98 -0
- package/src/http/fs.ts +492 -0
- package/src/http/index.ts +5 -1
- package/src/http/pages-public.ts +1 -0
- package/src/http/pages.ts +51 -7
- package/src/http/schedules.ts +7 -2
- package/src/http/stats.ts +7 -1
- package/src/http/status.ts +22 -0
- package/src/http/workflows.ts +16 -4
- package/src/linear/sync.ts +75 -3
- package/src/providers/pricing-sources.md +1 -1
- package/src/providers/reasoning-effort.ts +1 -1
- package/src/slack/blocks.ts +3 -17
- package/src/tasks/worker-follow-up.ts +2 -10
- package/src/tests/agent-fs-provision-seeder.test.ts +293 -0
- package/src/tests/agents-list-model-display.test.ts +1 -1
- package/src/tests/bedrock-model-groups.test.ts +1 -1
- package/src/tests/config-api-only-keys.test.ts +106 -0
- package/src/tests/context-key-db.test.ts +55 -1
- package/src/tests/favorites.test.ts +162 -0
- package/src/tests/fs-provider.test.ts +274 -0
- package/src/tests/fs-routes.test.ts +311 -0
- package/src/tests/linear-webhook.test.ts +34 -1
- package/src/tests/pages-public-html.test.ts +6 -0
- package/src/tests/pages-versioning.test.ts +2 -2
- package/src/tests/scheduled-tasks-api.test.ts +20 -14
- package/src/tests/send-task-requested-by.test.ts +26 -0
- package/src/tests/slack-attachments-block.test.ts +21 -5
- package/src/tests/task-attachments-schema.test.ts +157 -0
- package/src/tests/template-recommendations.test.ts +4 -4
- package/src/tests/ui-logs-parser.test.ts +1 -1
- package/src/tests/use-dismissible-card.test.ts +4 -4
- package/src/tools/send-task.ts +19 -3
- package/src/tools/store-progress.ts +3 -0
- package/src/types.ts +30 -0
- package/src/utils/secret-scrubber.ts +1 -0
- package/src/utils/task-attachment-links.ts +24 -0
- package/tsconfig.json +1 -3
package/README.md
CHANGED
|
@@ -139,7 +139,7 @@ Check [our templates](https://templates.agent-swarm.dev) for a quick start.
|
|
|
139
139
|
- **Config-driven metrics dashboards** — define read-only SQL widgets, version them, and render them in the dashboard without shipping custom frontend code. [Metrics API →](https://docs.agent-swarm.dev/docs/api-reference/stats)
|
|
140
140
|
- **DB-backed pages** — agents publish HTML or JSON pages (reports, dashboards, action specs) via the `create_page` MCP tool with public / authed / password modes, version history, view counters, diff helpers, and PDF export. [MCP tools → Pages](https://docs.agent-swarm.dev/docs/reference/mcp-tools#pages-tools)
|
|
141
141
|
- **KV store** — Redis-like namespaced key/value store with auto-scoped context (Slack thread / PR / Linear issue / page). [MCP tools → KV](https://docs.agent-swarm.dev/docs/reference/mcp-tools#kv-tools)
|
|
142
|
-
- **Real-time dashboard** — monitor agents, tasks, and inter-agent chat. [app.agent-swarm.dev →](https://app.agent-swarm.dev)
|
|
142
|
+
- **Real-time dashboard + task attachments** — monitor agents, tasks, and inter-agent chat, and create tasks with uploaded files from the sessions composer. [app.agent-swarm.dev →](https://app.agent-swarm.dev)
|
|
143
143
|
|
|
144
144
|
## Quick Start
|
|
145
145
|
|
|
@@ -217,7 +217,7 @@ Missing one? Ask the swarm to build it.
|
|
|
217
217
|
Real-time monitoring of agents, tasks, and inter-agent chat. Use the hosted version at [app.agent-swarm.dev](https://app.agent-swarm.dev), or run locally:
|
|
218
218
|
|
|
219
219
|
```bash
|
|
220
|
-
cd ui &&
|
|
220
|
+
cd apps/ui && bun install && bun run dev
|
|
221
221
|
```
|
|
222
222
|
|
|
223
223
|
Opens at `http://localhost:5274`.
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveSlackUserId
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
3
|
+
} from "./cli-j9eqkarv.js";
|
|
4
|
+
import"./cli-m0k99m2s.js";
|
|
5
|
+
import"./cli-mmaz2btq.js";
|
|
6
6
|
import {
|
|
7
7
|
buildCancelledBlocks,
|
|
8
8
|
getTaskLink
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-6xd0bvf8.js";
|
|
10
|
+
import"./cli-wspgs9bt.js";
|
|
10
11
|
import {
|
|
11
12
|
createTaskWithSiblingAwareness,
|
|
12
13
|
slackContextKey
|
|
13
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-a0w6tqyc.js";
|
|
14
15
|
import"./cli-dh55d5fg.js";
|
|
15
16
|
import {
|
|
16
17
|
cancelTask,
|
|
@@ -18,12 +19,12 @@ import {
|
|
|
18
19
|
getLeadAgent,
|
|
19
20
|
getTaskById,
|
|
20
21
|
init_db
|
|
21
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-9wv4e7qs.js";
|
|
22
23
|
import"./cli-z2zcxes1.js";
|
|
23
24
|
import"./cli-q21d49ac.js";
|
|
24
25
|
import"./cli-anrj584m.js";
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
26
|
+
import"./cli-apdrt1ch.js";
|
|
27
|
+
import"./cli-4j2mrzag.js";
|
|
27
28
|
import"./cli-p9swy5t3.js";
|
|
28
29
|
|
|
29
30
|
// src/slack/actions.ts
|
|
@@ -3,18 +3,20 @@ import {
|
|
|
3
3
|
initSlackApp,
|
|
4
4
|
startSlackApp,
|
|
5
5
|
stopSlackApp
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
6
|
+
} from "./cli-kppbkzj4.js";
|
|
7
|
+
import"./cli-rkndnn90.js";
|
|
8
8
|
import"./cli-b0p7rfnd.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-6xd0bvf8.js";
|
|
10
|
+
import"./cli-wspgs9bt.js";
|
|
10
11
|
import"./cli-dh55d5fg.js";
|
|
11
|
-
import"./cli-
|
|
12
|
+
import"./cli-9wv4e7qs.js";
|
|
12
13
|
import"./cli-z2zcxes1.js";
|
|
13
14
|
import"./cli-q21d49ac.js";
|
|
14
15
|
import"./cli-anrj584m.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-apdrt1ch.js";
|
|
17
|
+
import"./cli-4j2mrzag.js";
|
|
17
18
|
import"./cli-e15jhafb.js";
|
|
19
|
+
import"./cli-7wmybrt5.js";
|
|
18
20
|
import"./cli-p9swy5t3.js";
|
|
19
21
|
export {
|
|
20
22
|
stopSlackApp,
|
|
@@ -7,10 +7,11 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
require_follow_redirects,
|
|
9
9
|
require_src
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-rkndnn90.js";
|
|
11
11
|
import {
|
|
12
12
|
getMcpBaseUrl
|
|
13
13
|
} from "./cli-dh55d5fg.js";
|
|
14
|
+
import"./cli-7wmybrt5.js";
|
|
14
15
|
import {
|
|
15
16
|
__commonJS,
|
|
16
17
|
__require,
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bufferThreadMessage,
|
|
3
3
|
wasEventSeen
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-7r40bgvr.js";
|
|
5
5
|
import {
|
|
6
6
|
hasOtherUserMention
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-nmt32dxp.js";
|
|
8
8
|
import {
|
|
9
9
|
require_dist
|
|
10
|
-
} from "./cli-
|
|
11
|
-
import"./cli-
|
|
10
|
+
} from "./cli-kppbkzj4.js";
|
|
11
|
+
import"./cli-rkndnn90.js";
|
|
12
12
|
import"./cli-b0p7rfnd.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveSlackUserId
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
15
|
+
} from "./cli-j9eqkarv.js";
|
|
16
|
+
import"./cli-m0k99m2s.js";
|
|
17
|
+
import"./cli-mmaz2btq.js";
|
|
18
|
+
import"./cli-6xd0bvf8.js";
|
|
19
|
+
import"./cli-wspgs9bt.js";
|
|
19
20
|
import {
|
|
20
21
|
createTaskWithSiblingAwareness,
|
|
21
22
|
slackContextKey
|
|
22
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-a0w6tqyc.js";
|
|
23
24
|
import"./cli-dh55d5fg.js";
|
|
24
25
|
import {
|
|
25
26
|
getAgentWorkingOnThread,
|
|
@@ -28,13 +29,14 @@ import {
|
|
|
28
29
|
init_db,
|
|
29
30
|
init_resolver,
|
|
30
31
|
resolveTemplate
|
|
31
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-9wv4e7qs.js";
|
|
32
33
|
import"./cli-z2zcxes1.js";
|
|
33
34
|
import"./cli-q21d49ac.js";
|
|
34
35
|
import"./cli-anrj584m.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
36
|
+
import"./cli-apdrt1ch.js";
|
|
37
|
+
import"./cli-4j2mrzag.js";
|
|
37
38
|
import"./cli-e15jhafb.js";
|
|
39
|
+
import"./cli-7wmybrt5.js";
|
|
38
40
|
import {
|
|
39
41
|
__toESM
|
|
40
42
|
} from "./cli-p9swy5t3.js";
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
getEmbeddingProvider,
|
|
4
4
|
getMemoryStore,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
6
|
+
} from "./cli-vhpa5j27.js";
|
|
7
|
+
import"./cli-q25ejbyn.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb,
|
|
10
10
|
init_db
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-9wv4e7qs.js";
|
|
12
12
|
import"./cli-z2zcxes1.js";
|
|
13
13
|
import"./cli-q21d49ac.js";
|
|
14
14
|
import"./cli-anrj584m.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
import"./cli-apdrt1ch.js";
|
|
16
|
+
import"./cli-4j2mrzag.js";
|
|
17
17
|
import"./cli-p9swy5t3.js";
|
|
18
18
|
|
|
19
19
|
// src/be/memory/boot-reembed.ts
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
embedScript,
|
|
3
3
|
embeddingProvider
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
4
|
+
} from "./cli-cya9knf9.js";
|
|
5
|
+
import"./cli-vhpa5j27.js";
|
|
6
|
+
import"./cli-q25ejbyn.js";
|
|
7
7
|
import {
|
|
8
8
|
getDb,
|
|
9
9
|
init_db
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-9wv4e7qs.js";
|
|
11
11
|
import"./cli-z2zcxes1.js";
|
|
12
12
|
import"./cli-q21d49ac.js";
|
|
13
13
|
import"./cli-anrj584m.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-apdrt1ch.js";
|
|
15
|
+
import"./cli-4j2mrzag.js";
|
|
16
16
|
import"./cli-p9swy5t3.js";
|
|
17
17
|
|
|
18
18
|
// src/be/scripts/boot-reembed.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDb,
|
|
3
3
|
init_db
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-9wv4e7qs.js";
|
|
5
5
|
import"./cli-z2zcxes1.js";
|
|
6
6
|
import"./cli-q21d49ac.js";
|
|
7
7
|
import"./cli-anrj584m.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-apdrt1ch.js";
|
|
9
9
|
import {
|
|
10
10
|
init_secret_scrubber,
|
|
11
11
|
scrubSecrets
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-4j2mrzag.js";
|
|
13
13
|
import"./cli-p9swy5t3.js";
|
|
14
14
|
|
|
15
15
|
// src/be/boot-scrub-logs.ts
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
resolveClaudeBinary,
|
|
13
13
|
resolveClaudeBinaryArgv,
|
|
14
14
|
resolveClaudeBridgeEnabled
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-2fc97xm5.js";
|
|
16
16
|
import"./cli-psrqtw2m.js";
|
|
17
17
|
import"./cli-tng3131n.js";
|
|
18
18
|
import"./cli-zm7njwzd.js";
|
|
19
19
|
import"./cli-tghre7g6.js";
|
|
20
20
|
import"./cli-tkmm5nf9.js";
|
|
21
21
|
import"./cli-z2zcxes1.js";
|
|
22
|
-
import"./cli-
|
|
22
|
+
import"./cli-4j2mrzag.js";
|
|
23
23
|
import"./cli-7zd05xb4.js";
|
|
24
24
|
import"./cli-p9swy5t3.js";
|
|
25
25
|
export {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
checkClaudeManagedCredentials,
|
|
4
4
|
composeManagedUserMessage,
|
|
5
5
|
normalizeRepoUrl
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-2r7s8jhp.js";
|
|
7
7
|
import"./cli-07er7wrs.js";
|
|
8
8
|
import"./cli-yv9dttkh.js";
|
|
9
9
|
import"./cli-d6n0thxw.js";
|
|
10
10
|
import"./cli-gz9sbyk3.js";
|
|
11
11
|
import"./cli-tghre7g6.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-4j2mrzag.js";
|
|
13
13
|
import"./cli-p9swy5t3.js";
|
|
14
14
|
export {
|
|
15
15
|
normalizeRepoUrl,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
handleScheduleTrigger,
|
|
5
5
|
runScript,
|
|
6
6
|
startWorkflowExecution
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-psz2xq0n.js";
|
|
8
8
|
import {
|
|
9
9
|
getScript
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-3cfvx630.js";
|
|
11
11
|
import {
|
|
12
12
|
createTaskWithSiblingAwareness,
|
|
13
13
|
scheduleContextKey
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-a0w6tqyc.js";
|
|
15
15
|
import {
|
|
16
16
|
getDb,
|
|
17
17
|
getDueScheduledTasks,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
init_telemetry,
|
|
22
22
|
telemetry,
|
|
23
23
|
updateScheduledTask
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-9wv4e7qs.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
embedScript
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-cya9knf9.js";
|
|
4
4
|
import {
|
|
5
5
|
computeContentHash,
|
|
6
6
|
decryptSecret,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getSwarmConfigs,
|
|
11
11
|
init_crypto,
|
|
12
12
|
init_db
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-9wv4e7qs.js";
|
|
14
14
|
import {
|
|
15
15
|
init_zod
|
|
16
16
|
} from "./cli-q21d49ac.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
init_secret_scrubber,
|
|
27
27
|
registerVolatileSecret
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-4j2mrzag.js";
|
|
29
29
|
import {
|
|
30
30
|
__commonJS,
|
|
31
31
|
__require,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
taskAttachmentDisplayUrl
|
|
3
|
+
} from "./cli-wspgs9bt.js";
|
|
4
|
+
import {
|
|
3
5
|
getAppUrl
|
|
4
6
|
} from "./cli-dh55d5fg.js";
|
|
5
7
|
|
|
@@ -72,22 +74,7 @@ function cancelActionBlock(taskId) {
|
|
|
72
74
|
}
|
|
73
75
|
var SLACK_ATTACHMENTS_MAX = 20;
|
|
74
76
|
function resolveAttachmentDisplay(a) {
|
|
75
|
-
|
|
76
|
-
case "url":
|
|
77
|
-
return a.url ?? "";
|
|
78
|
-
case "page":
|
|
79
|
-
return a.pageId ? `${getAppUrl()}/pages/${a.pageId}` : "page:";
|
|
80
|
-
case "agent-fs": {
|
|
81
|
-
const url = buildAgentFsLiveUrl({
|
|
82
|
-
path: a.path,
|
|
83
|
-
orgId: a.orgId,
|
|
84
|
-
driveId: a.driveId
|
|
85
|
-
});
|
|
86
|
-
return url ?? `agent-fs:${a.path ?? ""}`;
|
|
87
|
-
}
|
|
88
|
-
case "shared-fs":
|
|
89
|
-
return `shared-fs:${a.path ?? ""}`;
|
|
90
|
-
}
|
|
77
|
+
return taskAttachmentDisplayUrl(a);
|
|
91
78
|
}
|
|
92
79
|
function formatAttachmentsBlockForSlack(attachments) {
|
|
93
80
|
if (attachments.length === 0)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildModelsDevSeedRows
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-entbgsd5.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogEntry,
|
|
6
6
|
getActivePricingRow,
|
|
7
7
|
getDb,
|
|
8
8
|
init_db,
|
|
9
9
|
insertPricingRow
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-9wv4e7qs.js";
|
|
11
11
|
import {
|
|
12
12
|
init_secret_scrubber,
|
|
13
13
|
scrubSecrets
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-4j2mrzag.js";
|
|
15
15
|
|
|
16
16
|
// src/be/pricing-refresh.ts
|
|
17
17
|
init_secret_scrubber();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAdditiveBuffer,
|
|
3
3
|
extractSlackMessageText
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-nmt32dxp.js";
|
|
5
5
|
import {
|
|
6
6
|
getSlackApp,
|
|
7
7
|
registerTreeMessage
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-kppbkzj4.js";
|
|
9
9
|
import {
|
|
10
10
|
buildBufferFlushBlocks
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-6xd0bvf8.js";
|
|
12
12
|
import {
|
|
13
13
|
createTaskWithSiblingAwareness,
|
|
14
14
|
slackContextKey
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-a0w6tqyc.js";
|
|
16
16
|
import {
|
|
17
17
|
getLatestActiveTaskInThread,
|
|
18
18
|
getLeadAgent,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
init_db,
|
|
21
21
|
init_registry,
|
|
22
22
|
registerTemplate
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-9wv4e7qs.js";
|
|
24
24
|
|
|
25
25
|
// src/slack/event-dedup.ts
|
|
26
26
|
var DEFAULT_TTL_MS = 300000;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS,
|
|
3
|
+
__require
|
|
4
|
+
} from "./cli-p9swy5t3.js";
|
|
5
|
+
|
|
6
|
+
// node_modules/has-flag/index.js
|
|
7
|
+
var require_has_flag = __commonJS((exports, module) => {
|
|
8
|
+
module.exports = (flag, argv = process.argv) => {
|
|
9
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
10
|
+
const position = argv.indexOf(prefix + flag);
|
|
11
|
+
const terminatorPosition = argv.indexOf("--");
|
|
12
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
13
|
+
};
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// node_modules/supports-color/index.js
|
|
17
|
+
var require_supports_color = __commonJS((exports, module) => {
|
|
18
|
+
var os = __require("os");
|
|
19
|
+
var tty = __require("tty");
|
|
20
|
+
var hasFlag = require_has_flag();
|
|
21
|
+
var { env } = process;
|
|
22
|
+
var forceColor;
|
|
23
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
24
|
+
forceColor = 0;
|
|
25
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
26
|
+
forceColor = 1;
|
|
27
|
+
}
|
|
28
|
+
if ("FORCE_COLOR" in env) {
|
|
29
|
+
if (env.FORCE_COLOR === "true") {
|
|
30
|
+
forceColor = 1;
|
|
31
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
32
|
+
forceColor = 0;
|
|
33
|
+
} else {
|
|
34
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function translateLevel(level) {
|
|
38
|
+
if (level === 0) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
level,
|
|
43
|
+
hasBasic: true,
|
|
44
|
+
has256: level >= 2,
|
|
45
|
+
has16m: level >= 3
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
49
|
+
if (forceColor === 0) {
|
|
50
|
+
return 0;
|
|
51
|
+
}
|
|
52
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
53
|
+
return 3;
|
|
54
|
+
}
|
|
55
|
+
if (hasFlag("color=256")) {
|
|
56
|
+
return 2;
|
|
57
|
+
}
|
|
58
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
59
|
+
return 0;
|
|
60
|
+
}
|
|
61
|
+
const min = forceColor || 0;
|
|
62
|
+
if (env.TERM === "dumb") {
|
|
63
|
+
return min;
|
|
64
|
+
}
|
|
65
|
+
if (process.platform === "win32") {
|
|
66
|
+
const osRelease = os.release().split(".");
|
|
67
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
68
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
69
|
+
}
|
|
70
|
+
return 1;
|
|
71
|
+
}
|
|
72
|
+
if ("CI" in env) {
|
|
73
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => (sign in env)) || env.CI_NAME === "codeship") {
|
|
74
|
+
return 1;
|
|
75
|
+
}
|
|
76
|
+
return min;
|
|
77
|
+
}
|
|
78
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
79
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
80
|
+
}
|
|
81
|
+
if (env.COLORTERM === "truecolor") {
|
|
82
|
+
return 3;
|
|
83
|
+
}
|
|
84
|
+
if ("TERM_PROGRAM" in env) {
|
|
85
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
86
|
+
switch (env.TERM_PROGRAM) {
|
|
87
|
+
case "iTerm.app":
|
|
88
|
+
return version >= 3 ? 3 : 2;
|
|
89
|
+
case "Apple_Terminal":
|
|
90
|
+
return 2;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
94
|
+
return 2;
|
|
95
|
+
}
|
|
96
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
97
|
+
return 1;
|
|
98
|
+
}
|
|
99
|
+
if ("COLORTERM" in env) {
|
|
100
|
+
return 1;
|
|
101
|
+
}
|
|
102
|
+
return min;
|
|
103
|
+
}
|
|
104
|
+
function getSupportLevel(stream) {
|
|
105
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
106
|
+
return translateLevel(level);
|
|
107
|
+
}
|
|
108
|
+
module.exports = {
|
|
109
|
+
supportsColor: getSupportLevel,
|
|
110
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
111
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
export { require_supports_color };
|