@desplega.ai/agent-swarm 1.161.0 → 1.162.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 +3 -2
- package/dist/{acp-adapter-xx489vvb.js → acp-adapter-74m73ae9.js} +1 -1
- package/dist/{actions-ykjkn0m9.js → actions-4sr14gnt.js} +34 -31
- package/dist/{anthropic-messages-5qx80j9k.js → anthropic-messages-8xxrzky9.js} +22 -26
- package/dist/{app-0hdqa4k1.js → app-pt68fbwp.js} +13 -11
- package/dist/{artifact-3v5t9jtg.js → artifact-fey7dvj9.js} +3 -2
- package/dist/{assistant-am2g5g8a.js → assistant-cv3jytks.js} +37 -34
- package/dist/{azure-openai-responses-fszbkp0e.js → azure-openai-responses-f5cqsyj8.js} +15 -10
- package/dist/{boot-reembed-xy9t7avg.js → boot-reembed-4ht4gqth.js} +13 -11
- package/dist/{boot-reembed-gt5gjkt4.js → boot-reembed-nxpcvpj9.js} +12 -10
- package/dist/{boot-scrub-logs-9x0985y5.js → boot-scrub-logs-k93kyw8k.js} +9 -7
- package/dist/{boot-seeds-trv0d4vg.js → boot-seeds-1skcrs0e.js} +13 -10
- package/dist/{claude-adapter-jb6e1e54.js → claude-adapter-r5g0tzge.js} +23 -20
- package/dist/{claude-managed-setup-d1q9hv2b.js → claude-managed-setup-pkyrgshb.js} +3 -2
- package/dist/{claude-sdk-session-zga700s2.js → claude-sdk-session-jxyxnrwd.js} +5565 -5512
- package/dist/{cli-we0q7t0e.js → cli-2zy95vhm.js} +137 -64
- package/dist/{cli-35pj2yva.js → cli-4cwxn7gp.js} +38 -11
- package/dist/{cli-ad4qxm6j.js → cli-4dcpaefp.js} +2 -2
- package/dist/{cli-82c1pacn.js → cli-4x0csdjq.js} +71 -37
- package/dist/{cli-sqm3r5ps.js → cli-5bcd7sfy.js} +14 -18
- package/dist/{cli-d56tgd45.js → cli-5k6k8ta3.js} +2 -2
- package/dist/{cli-1er0rhz8.js → cli-5xhpb3kv.js} +15 -15
- package/dist/{cli-yrg7c73k.js → cli-7af8yhav.js} +10 -183
- package/dist/{cli-r6fsxc76.js → cli-7tre70zp.js} +513 -961
- package/dist/{cli-bh7jed3k.js → cli-8ev9xqnx.js} +34 -18
- package/dist/cli-bsky8g7w.js +449 -0
- package/dist/{cli-hn04t9db.js → cli-cebmgwsc.js} +14 -10
- package/dist/{cli-cfkrztza.js → cli-cvatsam7.js} +2 -2
- package/dist/{cli-2658f6at.js → cli-cvk6yzw5.js} +6 -8
- package/dist/{cli-ptr8h7kp.js → cli-eg0b3p0k.js} +5 -218
- package/dist/{cli-zb6xbk61.js → cli-g739zqzt.js} +4 -4
- package/dist/{cli-dv6cdjs2.js → cli-gd4favx9.js} +28 -7
- package/dist/{cli-5p3x4zna.js → cli-gpqpmns7.js} +2 -2
- package/dist/{cli-5nbmpy8w.js → cli-hb5c2x5y.js} +1 -1
- package/dist/{cli-jpf7e1zq.js → cli-hmsw1gpy.js} +3 -3
- package/dist/{cli-1cz0c18q.js → cli-jf7wmv1r.js} +2521 -733
- package/dist/{cli-qwsnmjdd.js → cli-jxs2ygaw.js} +168 -61
- package/dist/cli-kdkwd3yr.js +615 -0
- package/dist/{cli-hgmnf38m.js → cli-kh04eqwe.js} +1 -1
- package/dist/{cli-0383bp7f.js → cli-kp42yek0.js} +425 -90
- package/dist/{cli-ybgv4kw2.js → cli-mbssg1xv.js} +9 -2
- package/dist/{cli-jsp14b6c.js → cli-mzfth0bp.js} +38 -1
- package/dist/{cli-8g6mc14k.js → cli-nq7yqw7b.js} +16 -5
- package/dist/{cli-ee8bc46j.js → cli-nt8hecg9.js} +33 -32
- package/dist/{cli-9s68w752.js → cli-p0r8sxj5.js} +1 -1
- package/dist/{cli-58e8yr0d.js → cli-pkd6s2wy.js} +4 -2
- package/dist/{cli-17xpf7cm.js → cli-q24re23n.js} +6 -4
- package/dist/cli-qjjvzwzd.js +222 -0
- package/dist/cli-qrgt5bqf.js +189 -0
- package/dist/{cli-et8m9xsv.js → cli-rfjw9jw2.js} +22 -10
- package/dist/{cli-798vkbks.js → cli-rj0gqwwp.js} +2 -2
- package/dist/{cli-121ph74b.js → cli-rnyzn44p.js} +1 -1
- package/dist/{cli-vnnz5ncg.js → cli-s3hwpt9v.js} +95 -16
- package/dist/{cli-7119ja3w.js → cli-sptrj5f5.js} +2 -2
- package/dist/{cli-a8c82p2t.js → cli-sqvfa090.js} +13 -6
- package/dist/{cli-phfg8vy8.js → cli-swfmp1fx.js} +26 -26
- package/dist/{cli-nsdxtcbg.js → cli-tcen9p5w.js} +8 -5
- package/dist/{cli-9m03pzga.js → cli-vc9bp061.js} +5 -5
- package/dist/{cli-rtx9dygp.js → cli-vxe6qa4h.js} +1 -1
- package/dist/{cli-ecfxwnyb.js → cli-vy3ed88x.js} +1 -1
- package/dist/{cli-0c7ata9h.js → cli-vyqs9ya8.js} +6 -6
- package/dist/cli-wbvnn6tk.js +861 -0
- package/dist/{cli-kgd3p0bm.js → cli-wjgs5wxe.js} +6 -6
- package/dist/cli-wxkkd0e0.js +33 -0
- package/dist/{cli-akfj32vj.js → cli-xqpk3rp7.js} +5 -4
- package/dist/cli-zp38xvtm.js +9487 -0
- package/dist/{cli-3zc55ctx.js → cli-zvhd3f64.js} +2 -2
- package/dist/{cli-ze1d3wzv.js → cli-zxqx25nz.js} +5 -5
- package/dist/cli.js +32 -25
- package/dist/{cloudflare-workers-ai-system-one-k6fbxw9d.js → cloudflare-workers-ai-system-one-k8ddqjkq.js} +8 -6
- package/dist/{codex-adapter-04v97vep.js → codex-adapter-esvmnhn7.js} +13 -13
- package/dist/{codex-hook-20me6byw.js → codex-hook-m73jmqgx.js} +19 -3
- package/dist/{codex-session-runner-ax69mqq3.js → codex-session-runner-ban9excr.js} +13 -13
- package/dist/{commands-18gy08n1.js → commands-75413p2n.js} +9 -7
- package/dist/{db-d2pvjpyt.js → db-7f5pecwg.js} +11 -7
- package/dist/{dispatcher-8wbwyzjg.js → dispatcher-fh9at8nz.js} +33 -30
- package/dist/{dsh-adapter-ysqk9snv.js → dsh-adapter-wpze65d4.js} +3 -3
- package/dist/{e2b-esmt1r16.js → e2b-gjgdjp91.js} +10 -9
- package/dist/{pi-logo-animation-e9a0t68z.js → easter-egg-3d-3w5c2n4c.js} +122 -68
- package/dist/{execute-cmagrbrz.js → execute-f50wg9nh.js} +29 -6
- package/dist/{google-generative-ai-k6n5nbpp.js → google-generative-ai-jxxpnegy.js} +2 -2
- package/dist/{google-vertex-44xxtcvp.js → google-vertex-x7q1angm.js} +5 -5
- package/dist/{handlers-6b69m5kp.js → handlers-w13787bb.js} +36 -33
- package/dist/{hook-srnkt0hb.js → hook-46g1jrvx.js} +28 -15
- package/dist/{hook-k3mydf2n.js → hook-4tpts2ry.js} +20 -17
- package/dist/{http-hrf80ca1.js → http-19pzbfrt.js} +964 -176
- package/dist/{index-9rxdvj6w.js → index-8fd4dm4h.js} +34 -31
- package/dist/{index-1asbaj62.js → index-dqmp15bq.js} +35 -32
- package/dist/{index-45evq4ee.js → index-qb4q1y3e.js} +33 -30
- package/dist/{index-k4nj18qs.js → index-s75wc4wd.js} +12 -10
- package/dist/{index-xmevk2b9.js → index-scptvdxg.js} +27 -25
- package/dist/{keepalive-sfdz6ksp.js → keepalive-xa5ts9cd.js} +11 -9
- package/dist/{lead-ej91e9hw.js → lead-qp4xkvjq.js} +45 -41
- package/dist/{maintenance-80dnd7ke.js → maintenance-rm5885hm.js} +13 -11
- package/dist/{mistral-conversations-pc3ntnxt.js → mistral-conversations-rw7fbt22.js} +4 -4
- package/dist/{node-a5e00qhp.js → node-8zkdq42h.js} +834 -833
- package/dist/{oauth-refresh-sweep-m1etk2mx.js → oauth-refresh-sweep-1csdfebf.js} +10 -8
- package/dist/{onboard-0q8sdfqc.js → onboard-r6b78cs4.js} +10 -10
- package/dist/{openai-codex-responses-n7n683p2.js → openai-codex-responses-efvrgrq3.js} +4 -4
- package/dist/{openai-completions-jpaj5g2b.js → openai-completions-bbbrrz4z.js} +12 -8
- package/dist/{openai-responses-9a3nme9j.js → openai-responses-9jjyrcm1.js} +15 -10
- package/dist/{opencode-adapter-4wcgmvgf.js → opencode-adapter-kb3g6pkf.js} +2 -2
- package/dist/{otel-impl-hnqm9mxq.js → otel-impl-0y9knpky.js} +5 -5
- package/dist/{pi-mono-adapter-d6sqm9wr.js → pi-mono-adapter-z6s1bme2.js} +100 -19
- package/dist/{pricing-refresh-y60z64pm.js → pricing-refresh-mth26tgp.js} +11 -9
- package/dist/{rbac-roles-8pa0754b.js → rbac-roles-kwntb23q.js} +13 -9
- package/dist/rbac-roles-vpk4ebm8.js +45 -0
- package/dist/{registry-v5wytg0s.js → registry-km6t1jd2.js} +1 -1
- package/dist/{render-v2-418s1vj7.js → render-v2-hcm7h00y.js} +13 -11
- package/dist/{runtime-3pknc168.js → runtime-vfjsfsc5.js} +4 -4
- package/dist/{setup-yghdkj4x.js → setup-hbyzd65h.js} +2 -2
- package/dist/{virtual-modules-jcceevt5.js → virtual-modules-9bv7ry91.js} +9 -8
- package/dist/{work-objects-j1sz20v9.js → work-objects-m09sxnhe.js} +36 -33
- package/dist/{worker-d4gcvkjt.js → worker-0h35rvk4.js} +45 -41
- package/openapi.json +491 -12
- package/package.json +13 -6
- package/src/be/api-drain.ts +184 -0
- package/src/be/db/tasks/read.ts +31 -6
- package/src/be/db/tasks/write.ts +5 -4
- package/src/be/db.ts +42 -18
- package/src/be/memory/link-resolver.ts +29 -3
- package/src/be/migrations/192_favorites_agent_fs_path.sql +36 -0
- package/src/be/onboarding.ts +7 -1
- package/src/be/seed-prompt-templates.ts +1 -0
- package/src/be/swarm-config-guard.ts +35 -16
- package/src/be/task-citations.ts +11 -5
- package/src/be/users.ts +3 -0
- package/src/cli.tsx +3 -2
- package/src/comb/agent-fs.ts +39 -0
- package/src/comb/config.ts +37 -0
- package/src/comb/markers.ts +37 -0
- package/src/comb/review-batch.ts +486 -0
- package/src/comb/templates.ts +88 -0
- package/src/commands/context-preamble.ts +4 -1
- package/src/commands/hook.ts +2 -1
- package/src/commands/runner.ts +262 -68
- package/src/commands/templates.ts +10 -0
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/fs/agent-fs-provider.ts +106 -2
- package/src/heartbeat/heartbeat.ts +4 -0
- package/src/hooks/codex-hook.ts +25 -1
- package/src/hooks/hook.ts +13 -0
- package/src/hooks/pr-body-guard.ts +983 -0
- package/src/http/all-routes.ts +1 -0
- package/src/http/assets.ts +5 -17
- package/src/http/comb.ts +131 -0
- package/src/http/core.ts +2 -1
- package/src/http/fs.ts +9 -17
- package/src/http/index.ts +23 -9
- package/src/http/onboarding.ts +21 -2
- package/src/http/poll.ts +30 -3
- package/src/http/realtime.ts +62 -0
- package/src/http/request-principal.ts +22 -0
- package/src/http/status.ts +34 -2
- package/src/kv-reserved-namespaces.ts +10 -5
- package/src/providers/dsh-adapter.ts +1 -1
- package/src/providers/pi-mono-adapter.ts +123 -0
- package/src/rbac/legacy-policy.ts +1 -0
- package/src/rbac/permissions.ts +4 -0
- package/src/realtime/auth.ts +63 -1
- package/src/realtime/tickets.ts +52 -0
- package/src/realtime/transport.ts +51 -22
- package/src/scripts-runtime/types/swarm-extension.d.ts +3 -1
- package/src/telemetry-context.ts +175 -0
- package/src/telemetry-contract/EVENTS.md +81 -0
- package/src/telemetry-contract/SOURCE.json +9 -0
- package/src/telemetry-contract/catalog.json +1335 -0
- package/src/telemetry-contract/index.ts +60 -0
- package/src/telemetry-contract/types.gen.ts +1971 -0
- package/src/telemetry-identity.ts +129 -0
- package/src/telemetry-snapshot.ts +211 -0
- package/src/telemetry-trigger.ts +125 -0
- package/src/telemetry-types.typetest.ts +40 -0
- package/src/telemetry.ts +271 -67
- package/src/tests/api-drain-e2e.test.ts +249 -0
- package/src/tests/api-drain-worker-e2e.test.ts +216 -0
- package/src/tests/api-drain.test.ts +351 -0
- package/src/tests/comb-config-guard.test.ts +38 -0
- package/src/tests/comb-links.test.ts +162 -0
- package/src/tests/comb-markers.test.ts +68 -0
- package/src/tests/comb-review-batch.test.ts +770 -0
- package/src/tests/comb-status.test.ts +152 -0
- package/src/tests/db-task-read-contract.test.ts +2 -0
- package/src/tests/db-task-write-contract.test.ts +1 -0
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/dsh-adapter.test.ts +1 -1
- package/src/tests/favorites-agent-fs-path.test.ts +226 -0
- package/src/tests/memory-link-resolver.test.ts +34 -0
- package/src/tests/onboarding.test.ts +108 -0
- package/src/tests/pi-mono-adapter.test.ts +265 -2
- package/src/tests/pr-body-leaks.test.ts +789 -0
- package/src/tests/preload.ts +8 -0
- package/src/tests/rbac-engine.test.ts +19 -0
- package/src/tests/realtime-room-auth.test.ts +104 -1
- package/src/tests/realtime-tickets.test.ts +74 -0
- package/src/tests/realtime-transport.test.ts +131 -4
- package/src/tests/runner-api-drain.test.ts +301 -0
- package/src/tests/runner-fallback-output.test.ts +61 -0
- package/src/tests/runner-fenced-json-output.test.ts +178 -0
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/send-task-requested-by.test.ts +133 -15
- package/src/tests/task-lifecycle-telemetry.test.ts +8 -3
- package/src/tests/telemetry-context.test.ts +314 -0
- package/src/tests/telemetry-init.test.ts +51 -19
- package/src/tests/telemetry-snapshot.test.ts +229 -0
- package/src/tests/telemetry-trigger.test.ts +200 -0
- package/src/tests/template-registry-helpers.ts +1 -0
- package/src/tests/workflow-agent-task-retry.test.ts +363 -0
- package/src/tests/workflow-definition-telemetry.test.ts +4 -4
- package/src/tools/poll-task.ts +20 -1
- package/src/tools/send-task.ts +9 -1
- package/src/tools/task-action.ts +11 -0
- package/src/types.ts +2 -1
- package/src/utils/api-drain.ts +24 -0
- package/src/utils/constants.ts +57 -16
- package/src/utils/pr-body-leaks.ts +172 -0
- package/src/utils/task-attachment-links.ts +14 -8
- package/src/workflows/recovery.ts +26 -1
- package/src/workflows/resume.ts +31 -4
- package/src/workflows/task-step-routing.ts +75 -2
- package/tsconfig.json +3 -0
- package/dist/cli-tjf4cn8z.js +0 -9119
- package/dist/cli-tsk3nz8a.js +0 -582
- package/dist/{cli-t6v2ah3r.js → cli-twrh04ap.js} +3 -3
|
@@ -3822,6 +3822,7 @@ __export(exports_dist, {
|
|
|
3822
3822
|
setCapabilities: () => setCapabilities,
|
|
3823
3823
|
setCapabilityOverrides: () => setCapabilityOverrides,
|
|
3824
3824
|
setCellDimensions: () => setCellDimensions,
|
|
3825
|
+
setImageTranscoder: () => setImageTranscoder,
|
|
3825
3826
|
setKeybindings: () => setKeybindings,
|
|
3826
3827
|
setKittyProtocolActive: () => setKittyProtocolActive,
|
|
3827
3828
|
sliceByColumn: () => sliceByColumn,
|
|
@@ -6170,12 +6171,23 @@ function registerKittyImageMetadata(metadata) {
|
|
|
6170
6171
|
kittyImageMetadata.delete(oldestImageId);
|
|
6171
6172
|
}
|
|
6172
6173
|
}
|
|
6174
|
+
function getRegisteredKittyImageMetadataFromControls(controls) {
|
|
6175
|
+
const imageId = /(?:^|,)i=(\d+)(?:,|$)/.exec(controls)?.[1];
|
|
6176
|
+
return imageId === undefined ? undefined : kittyImageMetadata.get(Number.parseInt(imageId, 10));
|
|
6177
|
+
}
|
|
6173
6178
|
function getRegisteredKittyImageMetadata(line) {
|
|
6174
6179
|
const controls = /\x1b_G([^;]*);/.exec(line)?.[1];
|
|
6175
|
-
|
|
6180
|
+
return controls === undefined ? undefined : getRegisteredKittyImageMetadataFromControls(controls);
|
|
6181
|
+
}
|
|
6182
|
+
function getExplicitKittyImageRows(controls) {
|
|
6183
|
+
const value = /(?:^|,)r=(\d+)(?:,|$)/.exec(controls)?.[1];
|
|
6184
|
+
if (value === undefined)
|
|
6176
6185
|
return;
|
|
6177
|
-
const
|
|
6178
|
-
return
|
|
6186
|
+
const rows = Number.parseInt(value, 10);
|
|
6187
|
+
return rows > 0 ? rows : undefined;
|
|
6188
|
+
}
|
|
6189
|
+
function getKittyImageRowsFromControls(controls, fallbackRows) {
|
|
6190
|
+
return getExplicitKittyImageRows(controls) ?? fallbackRows;
|
|
6179
6191
|
}
|
|
6180
6192
|
function getKittyImageMetadata(line) {
|
|
6181
6193
|
const metadata = getRegisteredKittyImageMetadata(line);
|
|
@@ -6208,10 +6220,21 @@ var KITTY_PLACEMENT_CONTROL_KEYS = new Set([
|
|
|
6208
6220
|
"H",
|
|
6209
6221
|
"V"
|
|
6210
6222
|
]);
|
|
6223
|
+
function getKittyImagePlacementRows(line) {
|
|
6224
|
+
const controls = /\x1b_G([^;]*);/.exec(line)?.[1];
|
|
6225
|
+
if (controls === undefined)
|
|
6226
|
+
return;
|
|
6227
|
+
const explicitRows = getExplicitKittyImageRows(controls);
|
|
6228
|
+
if (explicitRows !== undefined)
|
|
6229
|
+
return explicitRows;
|
|
6230
|
+
return getRegisteredKittyImageMetadataFromControls(controls)?.rows;
|
|
6231
|
+
}
|
|
6211
6232
|
function getKittyImagePlacement(line) {
|
|
6212
6233
|
const match = /\x1b_G([^;]*);/.exec(line);
|
|
6213
|
-
|
|
6214
|
-
|
|
6234
|
+
if (!match)
|
|
6235
|
+
return;
|
|
6236
|
+
const metadata = getRegisteredKittyImageMetadataFromControls(match[1]);
|
|
6237
|
+
if (!metadata)
|
|
6215
6238
|
return;
|
|
6216
6239
|
let commandStart = match.index;
|
|
6217
6240
|
let commandControls = match[1];
|
|
@@ -6238,6 +6261,7 @@ function getKittyImagePlacement(line) {
|
|
|
6238
6261
|
transmissionGeneration: metadata.transmissionGeneration,
|
|
6239
6262
|
transmissionBytes: transmissionEnd - match.index,
|
|
6240
6263
|
estimatedDecodedBytes: metadata.widthPx * metadata.heightPx * 4,
|
|
6264
|
+
rows: getKittyImageRowsFromControls(match[1], metadata.rows),
|
|
6241
6265
|
sequence,
|
|
6242
6266
|
replacementLine: `${line.slice(0, match.index)}${sequence}${line.slice(transmissionEnd)}`
|
|
6243
6267
|
};
|
|
@@ -9717,6 +9741,24 @@ class HStack extends Stack {
|
|
|
9717
9741
|
}
|
|
9718
9742
|
}
|
|
9719
9743
|
// node_modules/@earendil-works/pi-tui/dist/components/image.js
|
|
9744
|
+
var imageTranscoder;
|
|
9745
|
+
var pngCache = new Map;
|
|
9746
|
+
function setImageTranscoder(transcoder) {
|
|
9747
|
+
imageTranscoder = transcoder;
|
|
9748
|
+
pngCache.clear();
|
|
9749
|
+
}
|
|
9750
|
+
function toPng(base64Data, mimeType) {
|
|
9751
|
+
if (!imageTranscoder)
|
|
9752
|
+
return null;
|
|
9753
|
+
const cached = pngCache.get(base64Data);
|
|
9754
|
+
const png = cached === undefined ? imageTranscoder(base64Data, mimeType) : cached;
|
|
9755
|
+
pngCache.delete(base64Data);
|
|
9756
|
+
pngCache.set(base64Data, png);
|
|
9757
|
+
if (pngCache.size > 32)
|
|
9758
|
+
pngCache.delete(pngCache.keys().next().value);
|
|
9759
|
+
return png;
|
|
9760
|
+
}
|
|
9761
|
+
|
|
9720
9762
|
class Image {
|
|
9721
9763
|
base64Data;
|
|
9722
9764
|
mimeType;
|
|
@@ -9724,6 +9766,7 @@ class Image {
|
|
|
9724
9766
|
theme;
|
|
9725
9767
|
options;
|
|
9726
9768
|
imageId;
|
|
9769
|
+
pngData;
|
|
9727
9770
|
cachedLines;
|
|
9728
9771
|
cachedWidth;
|
|
9729
9772
|
constructor(base64Data, mimeType, theme, options = {}, dimensions) {
|
|
@@ -9750,12 +9793,20 @@ class Image {
|
|
|
9750
9793
|
const defaultMaxHeight = Math.max(1, Math.ceil(maxWidth * cellDimensions2.widthPx / cellDimensions2.heightPx));
|
|
9751
9794
|
const maxHeight = this.options.maxHeightCells ?? defaultMaxHeight;
|
|
9752
9795
|
const caps = getCapabilities();
|
|
9796
|
+
let data = this.base64Data;
|
|
9797
|
+
let dimensions = this.dimensions;
|
|
9798
|
+
if (caps.images === "kitty" && this.mimeType !== "image/png") {
|
|
9799
|
+
this.pngData ??= toPng(this.base64Data, this.mimeType) ?? undefined;
|
|
9800
|
+
data = this.pngData ?? null;
|
|
9801
|
+
if (data)
|
|
9802
|
+
dimensions = getPngDimensions(data) ?? dimensions;
|
|
9803
|
+
}
|
|
9753
9804
|
let lines;
|
|
9754
|
-
if (caps.images) {
|
|
9805
|
+
if (caps.images && data) {
|
|
9755
9806
|
if (caps.images === "kitty" && this.imageId === undefined) {
|
|
9756
9807
|
this.imageId = allocateImageId();
|
|
9757
9808
|
}
|
|
9758
|
-
const result = renderImage(
|
|
9809
|
+
const result = renderImage(data, dimensions, {
|
|
9759
9810
|
maxWidthCells: maxWidth,
|
|
9760
9811
|
maxHeightCells: maxHeight,
|
|
9761
9812
|
imageId: this.imageId,
|
|
@@ -15430,7 +15481,20 @@ class TuiAltScreen extends TuiBase {
|
|
|
15430
15481
|
return sliceByColumn(line, 0, width, true);
|
|
15431
15482
|
});
|
|
15432
15483
|
const fullRedraw = this.previousScreen.length === 0 || this.previousScreenWidth !== width || this.previousScreenHeight !== height;
|
|
15433
|
-
const
|
|
15484
|
+
const changedRows = screen.map((line, row) => line !== this.previousScreen[row]);
|
|
15485
|
+
const imageAnchorsNeedRedraw = screen.some((line, row) => changedRows[row] && (isImageLine(line) || isImageLine(this.previousScreen[row] ?? "")));
|
|
15486
|
+
const isWezTerm = Boolean(process.env.WEZTERM_PANE) || process.env.TERM_PROGRAM?.toLowerCase() === "wezterm";
|
|
15487
|
+
const imageCellsNeedRedraw = !imageAnchorsNeedRedraw && isWezTerm && this.imageProtocol === "kitty" && changedRows.some(Boolean) && screen.some((line, row) => {
|
|
15488
|
+
const placementRows = getKittyImagePlacementRows(line);
|
|
15489
|
+
if (placementRows === undefined)
|
|
15490
|
+
return false;
|
|
15491
|
+
for (let coveredRow = row;coveredRow < row + placementRows; coveredRow++) {
|
|
15492
|
+
if (changedRows[coveredRow])
|
|
15493
|
+
return true;
|
|
15494
|
+
}
|
|
15495
|
+
return false;
|
|
15496
|
+
});
|
|
15497
|
+
const imagesNeedRedraw = imageAnchorsNeedRedraw || imageCellsNeedRedraw;
|
|
15434
15498
|
const redrawImages = fullRedraw || imagesNeedRedraw;
|
|
15435
15499
|
const hadUploadedKittyImages = this.uploadedKittyImages.size > 0;
|
|
15436
15500
|
const preparedKittyScreen = redrawImages && this.imageProtocol === "kitty" ? this.prepareKittyScreen(screen) : { lines: screen, evictedImageDeletion: "" };
|
|
@@ -15446,18 +15510,33 @@ class TuiAltScreen extends TuiBase {
|
|
|
15446
15510
|
buffer += deleteAllKittyPlacements();
|
|
15447
15511
|
}
|
|
15448
15512
|
buffer += preparedKittyScreen.evictedImageDeletion;
|
|
15449
|
-
const
|
|
15450
|
-
if (
|
|
15513
|
+
const drawKittyImagesLast = redrawImages && this.imageProtocol === "kitty" && screen.some(isImageLine) && isWezTerm;
|
|
15514
|
+
if (drawKittyImagesLast) {
|
|
15451
15515
|
for (let row = 0;row < height; row++) {
|
|
15452
15516
|
if (!fullRedraw && !imagesNeedRedraw && screen[row] === this.previousScreen[row])
|
|
15453
15517
|
continue;
|
|
15454
15518
|
buffer += `\x1B[${row + 1};1H\x1B[2K`;
|
|
15455
15519
|
}
|
|
15456
|
-
|
|
15457
|
-
|
|
15458
|
-
|
|
15459
|
-
|
|
15460
|
-
|
|
15520
|
+
for (let row = 0;row < height; row++) {
|
|
15521
|
+
if (!fullRedraw && !imagesNeedRedraw && screen[row] === this.previousScreen[row])
|
|
15522
|
+
continue;
|
|
15523
|
+
if (isImageLine(preparedKittyScreen.lines[row] ?? ""))
|
|
15524
|
+
continue;
|
|
15525
|
+
buffer += `\x1B[${row + 1};1H${preparedKittyScreen.lines[row] ?? ""}`;
|
|
15526
|
+
}
|
|
15527
|
+
for (let row = 0;row < height; row++) {
|
|
15528
|
+
if (!fullRedraw && !imagesNeedRedraw && screen[row] === this.previousScreen[row])
|
|
15529
|
+
continue;
|
|
15530
|
+
if (!isImageLine(preparedKittyScreen.lines[row] ?? ""))
|
|
15531
|
+
continue;
|
|
15532
|
+
buffer += `\x1B[${row + 1};1H${preparedKittyScreen.lines[row] ?? ""}`;
|
|
15533
|
+
}
|
|
15534
|
+
} else {
|
|
15535
|
+
for (let row = 0;row < height; row++) {
|
|
15536
|
+
if (!fullRedraw && !imagesNeedRedraw && screen[row] === this.previousScreen[row])
|
|
15537
|
+
continue;
|
|
15538
|
+
buffer += `\x1B[${row + 1};1H\x1B[2K${preparedKittyScreen.lines[row] ?? ""}`;
|
|
15539
|
+
}
|
|
15461
15540
|
}
|
|
15462
15541
|
if (cursorPos) {
|
|
15463
15542
|
buffer += `\x1B[${cursorPos.row + 1};${Math.min(width, cursorPos.col) + 1}H`;
|
|
@@ -17532,4 +17611,4 @@ function rawKeyHint(key, description) {
|
|
|
17532
17611
|
return theme.fg("dim", formatKeyText(key)) + theme.fg("muted", ` ${description}`);
|
|
17533
17612
|
}
|
|
17534
17613
|
|
|
17535
|
-
export { source_default, spawnProcess, spawnProcessSync, waitForChildProcess, canonicalizePath, getFileRevision, isLocalPath, normalizePath, resolvePath, getCwdRelativePath, formatPathRelativeToCwdOrAbsolute, markPathIgnoredByCloudSync, splitBom, stripBom, isBunBinary, isBundledNode, detectInstallMethod, getSelfUpdateCommand, getSelfUpdateUnavailableInstruction, getPackageDir, getExportTemplateDir, getReadmePath, getDocsPath, getExamplesPath, getChangelogPath, getBundledInteractiveAssetPath, setEmbeddedQuickJSWasmPath, getQuickJSWasmPath, getCodemodeWorkerSpecifier, PACKAGE_NAME, APP_NAME, APP_TITLE, CONFIG_DIR_NAME, VERSION, ENV_AGENT_DIR, ENV_SESSION_DIR, expandTildePath, getShareViewerUrl, getAgentDir, getAuthPath, getSettingsPath, getBinDir, getSessionsDir, getDebugLogPath, Z, fuzzyMatch, fuzzyFilter, visibleWidth, wrapTextWithAnsi, truncateToWidth, sliceByColumn, CombinedAutocompleteProvider, indexedColor, rgbColor, parseColor, colorToRgb, mixColors, foregroundAnsi, backgroundAnsi, Key, matchesKey, detectCapabilities, getCapabilities, getTerminalColorMode, setCapabilityOverrides, getImageDimensions, hyperlink, imageFallback, Container, isViewportTUI, Box, TUI_KEYBINDINGS, KeybindingsManager, setKeybindings, getKeybindings, Text, Loader, CancellableLoader, SelectList, Editor, Image, Input, Markdown, MouseRegion, ScrollView, SettingsList, Spacer, TruncatedText, VStack, getNativeClipboard, isAppleTerminalSession, ProcessTerminal, TuiAltScreen, TuiMainScreen, exports_dist, FS_WATCH_RETRY_DELAY_MS, closeWatcher, watchWithErrorHandler, loadAllHighlightLanguages, SYSTEM_THEME_NAME, setThemeJsonValidator, setTerminalColors, setTerminalColorScheme, markTerminalColorsPending, Theme, getAvailableThemes, getAvailableThemesWithPaths, loadThemeFromPath, getThemeByName, parseAutoThemeSetting, resolveThemeSetting, getTerminalTheme, theme, setRegisteredThemes, initTheme, setTheme, setThemeInstance, onThemeChange, stopThemeWatcher, getResolvedThemeColors, getThemeExportColors, highlightCode, getLanguageFromPath, getMarkdownTheme, getSelectListTheme, getEditorTheme, getSettingsListTheme, formatKeyText, keyText, keyDisplayText, keyHint, rawKeyHint };
|
|
17614
|
+
export { source_default, spawnProcess, spawnProcessSync, waitForChildProcess, canonicalizePath, getFileRevision, isLocalPath, normalizePath, resolvePath, getCwdRelativePath, formatPathRelativeToCwdOrAbsolute, markPathIgnoredByCloudSync, splitBom, stripBom, isBunBinary, isBundledNode, detectInstallMethod, getSelfUpdateCommand, getSelfUpdateUnavailableInstruction, getPackageDir, getExportTemplateDir, getReadmePath, getDocsPath, getExamplesPath, getChangelogPath, getBundledInteractiveAssetPath, setEmbeddedQuickJSWasmPath, getQuickJSWasmPath, getCodemodeWorkerSpecifier, PACKAGE_NAME, APP_NAME, APP_TITLE, CONFIG_DIR_NAME, VERSION, ENV_AGENT_DIR, ENV_SESSION_DIR, expandTildePath, getShareViewerUrl, getAgentDir, getAuthPath, getSettingsPath, getBinDir, getSessionsDir, getDebugLogPath, Z, fuzzyMatch, fuzzyFilter, visibleWidth, wrapTextWithAnsi, truncateToWidth, sliceByColumn, CombinedAutocompleteProvider, indexedColor, rgbColor, parseColor, colorToRgb, mixColors, foregroundAnsi, backgroundAnsi, Key, matchesKey, detectCapabilities, getCapabilities, getTerminalColorMode, setCapabilityOverrides, getImageDimensions, hyperlink, imageFallback, Container, isViewportTUI, Box, TUI_KEYBINDINGS, KeybindingsManager, setKeybindings, getKeybindings, Text, Loader, CancellableLoader, SelectList, Editor, setImageTranscoder, Image, Input, Markdown, MouseRegion, ScrollView, SettingsList, Spacer, TruncatedText, VStack, getNativeClipboard, isAppleTerminalSession, ProcessTerminal, TuiAltScreen, TuiMainScreen, exports_dist, FS_WATCH_RETRY_DELAY_MS, closeWatcher, watchWithErrorHandler, loadAllHighlightLanguages, SYSTEM_THEME_NAME, setThemeJsonValidator, setTerminalColors, setTerminalColorScheme, markTerminalColorsPending, Theme, getAvailableThemes, getAvailableThemesWithPaths, loadThemeFromPath, getThemeByName, parseAutoThemeSetting, resolveThemeSetting, getTerminalTheme, theme, setRegisteredThemes, initTheme, setTheme, setThemeInstance, onThemeChange, stopThemeWatcher, getResolvedThemeColors, getThemeExportColors, highlightCode, getLanguageFromPath, getMarkdownTheme, getSelectListTheme, getEditorTheme, getSettingsListTheme, formatKeyText, keyText, keyDisplayText, keyHint, rawKeyHint };
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
getEmbeddingProvider,
|
|
5
5
|
init_embedding,
|
|
6
6
|
serializeEmbedding
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-5k6k8ta3.js";
|
|
8
8
|
import {
|
|
9
9
|
getDbClient,
|
|
10
10
|
init_db
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-jf7wmv1r.js";
|
|
12
12
|
import {
|
|
13
13
|
init_secret_scrubber,
|
|
14
14
|
scrubSecrets
|
|
@@ -7,7 +7,7 @@ var package_default;
|
|
|
7
7
|
var init_package = __esm(() => {
|
|
8
8
|
package_default = {
|
|
9
9
|
name: "@desplega.ai/agent-swarm",
|
|
10
|
-
version: "1.
|
|
10
|
+
version: "1.162.0",
|
|
11
11
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
12
12
|
keywords: [
|
|
13
13
|
"agent-swarm.dev",
|
|
@@ -89,6 +89,13 @@ var init_package = __esm(() => {
|
|
|
89
89
|
"check:ai-toolbox-skills": "bun scripts/sync-ai-toolbox-skills.ts --check",
|
|
90
90
|
"check:skill-sources": "bun scripts/check-skill-sources.ts",
|
|
91
91
|
"check:operator-skill": "bun scripts/check-operator-skill.ts",
|
|
92
|
+
"sync:telemetry-contract": "bun scripts/sync-telemetry-contract.ts",
|
|
93
|
+
"check:telemetry-contract": "bun scripts/sync-telemetry-contract.ts --check",
|
|
94
|
+
"build:telemetry-docs": "bun scripts/gen-telemetry-docs.ts",
|
|
95
|
+
"check:telemetry-docs": "bun scripts/gen-telemetry-docs.ts --check",
|
|
96
|
+
"build:claude-mod": "bun scripts/build-claude-mod.ts",
|
|
97
|
+
"check:claude-mod": "bun scripts/build-claude-mod.ts --check",
|
|
98
|
+
"test:claude-mod": "bash scripts/test-claude-mod.sh",
|
|
92
99
|
"build:script-types": "bun scripts/bundle-script-types.ts",
|
|
93
100
|
"build:extension-types": "bun scripts/bundle-extension-types.ts",
|
|
94
101
|
"build:extension-schema": "bun scripts/build-extension-manifest-schema.ts",
|
|
@@ -194,17 +201,17 @@ var init_package = __esm(() => {
|
|
|
194
201
|
bun: ">=1.3.12"
|
|
195
202
|
},
|
|
196
203
|
dependencies: {
|
|
197
|
-
"@agentclientprotocol/sdk": "1.
|
|
204
|
+
"@agentclientprotocol/sdk": "1.7.0",
|
|
198
205
|
"@ai-sdk/openai": "^3.0.41",
|
|
199
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
206
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.289",
|
|
200
207
|
"@anthropic-ai/sdk": "^0.131.0",
|
|
201
208
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
202
209
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
203
210
|
"@desplega.ai/business-use": "^0.4.2",
|
|
204
211
|
"@desplega.ai/localtunnel": "^2.2.0",
|
|
205
|
-
"@earendil-works/pi-agent-core": "^1.0.
|
|
206
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
207
|
-
"@earendil-works/pi-coding-agent": "^1.0.
|
|
212
|
+
"@earendil-works/pi-agent-core": "^1.0.2",
|
|
213
|
+
"@earendil-works/pi-ai": "^1.0.2",
|
|
214
|
+
"@earendil-works/pi-coding-agent": "^1.0.2",
|
|
208
215
|
"@inkjs/ui": "^2.0.0",
|
|
209
216
|
"@linear/sdk": "^77.0.0",
|
|
210
217
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
@@ -7,11 +7,25 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
init_task_attachment_links,
|
|
9
9
|
taskAttachmentDisplayUrl
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-cvk6yzw5.js";
|
|
11
11
|
import {
|
|
12
12
|
require_jws,
|
|
13
13
|
require_p_retry
|
|
14
14
|
} from "./cli-yatxqynm.js";
|
|
15
|
+
import {
|
|
16
|
+
exports_supports_color,
|
|
17
|
+
init_supports_color
|
|
18
|
+
} from "./cli-bd957dgb.js";
|
|
19
|
+
import {
|
|
20
|
+
require_extension,
|
|
21
|
+
require_permessage_deflate,
|
|
22
|
+
require_receiver,
|
|
23
|
+
require_sender,
|
|
24
|
+
require_stream,
|
|
25
|
+
require_subprotocol,
|
|
26
|
+
require_websocket,
|
|
27
|
+
require_websocket_server
|
|
28
|
+
} from "./cli-pzxba7gw.js";
|
|
15
29
|
import {
|
|
16
30
|
SLACK_REACTION_CONFIG_KEYS,
|
|
17
31
|
SLACK_REACTION_DEFAULTS,
|
|
@@ -59,11 +73,11 @@ import {
|
|
|
59
73
|
setSlackMessageTracking,
|
|
60
74
|
slackContextKey,
|
|
61
75
|
updateSlackMessageRecord
|
|
62
|
-
} from "./cli-
|
|
76
|
+
} from "./cli-jf7wmv1r.js";
|
|
63
77
|
import {
|
|
64
78
|
init_types,
|
|
65
79
|
isTerminalTaskStatus
|
|
66
|
-
} from "./cli-
|
|
80
|
+
} from "./cli-xqpk3rp7.js";
|
|
67
81
|
import {
|
|
68
82
|
getSlackConfiguration,
|
|
69
83
|
init_config
|
|
@@ -71,7 +85,7 @@ import {
|
|
|
71
85
|
import {
|
|
72
86
|
getAppUrl,
|
|
73
87
|
init_constants
|
|
74
|
-
} from "./cli-
|
|
88
|
+
} from "./cli-gd4favx9.js";
|
|
75
89
|
import {
|
|
76
90
|
init_env_flag,
|
|
77
91
|
isEnvFlagEnabled
|
|
@@ -90,20 +104,6 @@ import {
|
|
|
90
104
|
init_secret_scrubber,
|
|
91
105
|
scrubSecrets
|
|
92
106
|
} from "./cli-nexqx4ve.js";
|
|
93
|
-
import {
|
|
94
|
-
exports_supports_color,
|
|
95
|
-
init_supports_color
|
|
96
|
-
} from "./cli-bd957dgb.js";
|
|
97
|
-
import {
|
|
98
|
-
require_extension,
|
|
99
|
-
require_permessage_deflate,
|
|
100
|
-
require_receiver,
|
|
101
|
-
require_sender,
|
|
102
|
-
require_stream,
|
|
103
|
-
require_subprotocol,
|
|
104
|
-
require_websocket,
|
|
105
|
-
require_websocket_server
|
|
106
|
-
} from "./cli-pzxba7gw.js";
|
|
107
107
|
import {
|
|
108
108
|
__commonJS,
|
|
109
109
|
__require,
|
|
@@ -52779,7 +52779,7 @@ function buildCitationUrl(citation) {
|
|
|
52779
52779
|
kind,
|
|
52780
52780
|
pageId: kind === "page" ? encodeURIComponent(ref) : undefined,
|
|
52781
52781
|
path: kind === "agent-fs" ? ref : undefined
|
|
52782
|
-
}));
|
|
52782
|
+
}, { comb: false }));
|
|
52783
52783
|
}
|
|
52784
52784
|
return null;
|
|
52785
52785
|
} catch {
|
|
@@ -52906,7 +52906,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
52906
52906
|
return;
|
|
52907
52907
|
initialized = true;
|
|
52908
52908
|
try {
|
|
52909
|
-
const impl = await import("./otel-impl-
|
|
52909
|
+
const impl = await import("./otel-impl-0y9knpky.js");
|
|
52910
52910
|
await impl.boot(serviceRole, {
|
|
52911
52911
|
exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
|
|
52912
52912
|
});
|
|
@@ -54343,15 +54343,15 @@ async function initSlackApp() {
|
|
|
54343
54343
|
...clientOptions ? { clientOptions } : {}
|
|
54344
54344
|
});
|
|
54345
54345
|
initialized2 = true;
|
|
54346
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
54347
|
-
const { registerCommandHandler } = await import("./commands-
|
|
54348
|
-
const { registerActionHandlers } = await import("./actions-
|
|
54349
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
54346
|
+
const { registerMessageHandler } = await import("./handlers-w13787bb.js");
|
|
54347
|
+
const { registerCommandHandler } = await import("./commands-75413p2n.js");
|
|
54348
|
+
const { registerActionHandlers } = await import("./actions-4sr14gnt.js");
|
|
54349
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-m09sxnhe.js");
|
|
54350
54350
|
registerMessageHandler(app);
|
|
54351
54351
|
registerCommandHandler(app);
|
|
54352
54352
|
registerActionHandlers(app);
|
|
54353
54353
|
registerWorkObjectHandlers(app);
|
|
54354
|
-
const { createAssistant } = await import("./assistant-
|
|
54354
|
+
const { createAssistant } = await import("./assistant-cv3jytks.js");
|
|
54355
54355
|
app.assistant(createAssistant());
|
|
54356
54356
|
return app;
|
|
54357
54357
|
}
|
|
@@ -54360,7 +54360,7 @@ async function startSlackApp() {
|
|
|
54360
54360
|
await initSlackApp();
|
|
54361
54361
|
}
|
|
54362
54362
|
if (app) {
|
|
54363
|
-
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-
|
|
54363
|
+
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-hcm7h00y.js");
|
|
54364
54364
|
if (isSlackRenderV2Enabled2())
|
|
54365
54365
|
await ensureSlackRenderV2Activation();
|
|
54366
54366
|
await app.start();
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
McpSignInCancelledError,
|
|
6
6
|
createDefaultTransport,
|
|
7
7
|
signInMcpServer
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-4x0csdjq.js";
|
|
9
9
|
import {
|
|
10
10
|
ProjectTrustStore,
|
|
11
11
|
addMcpServerConfig,
|
|
12
12
|
loadMcpConfig,
|
|
13
13
|
openBrowser,
|
|
14
14
|
removeMcpServerConfig
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-4cwxn7gp.js";
|
|
16
16
|
import {
|
|
17
17
|
getMcpToolExposure,
|
|
18
18
|
validateMcpServerConfig
|
|
19
|
-
} from "./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
} from "./cli-8ev9xqnx.js";
|
|
20
|
+
import"./cli-p0r8sxj5.js";
|
|
21
21
|
import {
|
|
22
22
|
APP_NAME,
|
|
23
23
|
CONFIG_DIR_NAME,
|
|
24
24
|
source_default
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-s3hwpt9v.js";
|
|
26
26
|
import"./cli-5bfdm1ah.js";
|
|
27
27
|
import"./cli-0m7wct0d.js";
|
|
28
28
|
import"./cli-2x0e561b.js";
|
|
@@ -358,6 +358,7 @@ async function list(loaded, json, untrustedNote, options, credentials, log) {
|
|
|
358
358
|
name: entry.name,
|
|
359
359
|
scope: entry.scope ?? "global",
|
|
360
360
|
source: entry.source,
|
|
361
|
+
...entry.override ? { override: entry.override } : {},
|
|
361
362
|
enabled: entry.config.enabled !== false,
|
|
362
363
|
exposure: entry.config.exposure ?? "codemode",
|
|
363
364
|
transport: describeTransport(entry),
|
|
@@ -399,6 +400,8 @@ async function list(loaded, json, untrustedNote, options, credentials, log) {
|
|
|
399
400
|
const state = report.state === "connected" ? `connected, ${report.tools.length} tool${report.tools.length === 1 ? "" : "s"}` : report.state === "needs-auth" ? "needs sign-in" : report.state;
|
|
400
401
|
log(`${report.name}: ${state} (${report.exposure}, ${report.scope})`);
|
|
401
402
|
log(` ${report.transport}`);
|
|
403
|
+
if (report.override)
|
|
404
|
+
log(` project override: ${report.override}`);
|
|
402
405
|
if (report.state === "needs-auth")
|
|
403
406
|
log(` sign in with: ${APP_NAME} mcp login ${report.name}`);
|
|
404
407
|
if (report.tools.length > 0) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveSlackUserId,
|
|
3
3
|
rewriteSlackMentions
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-gpqpmns7.js";
|
|
5
5
|
import {
|
|
6
6
|
bufferedFileFailures,
|
|
7
7
|
buildEffectiveText,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
fetchSlackFiles,
|
|
12
12
|
findUserByExternalId,
|
|
13
13
|
notifySlackFileFailures
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-kp42yek0.js";
|
|
15
15
|
import {
|
|
16
16
|
buildBufferFlushBlocks,
|
|
17
17
|
ensureSlackThreadTree,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getSlackApp,
|
|
21
21
|
isSlackRenderV2Enabled,
|
|
22
22
|
registerTreeMessage
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-swfmp1fx.js";
|
|
24
24
|
import {
|
|
25
25
|
createLogEntry,
|
|
26
26
|
getAgentById,
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
init_steering,
|
|
34
34
|
requestSteering,
|
|
35
35
|
slackContextKey
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-jf7wmv1r.js";
|
|
37
37
|
import {
|
|
38
38
|
init_steering_enabled,
|
|
39
39
|
isSteeringEnabled
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-eg0b3p0k.js";
|
|
41
41
|
import {
|
|
42
42
|
__callDispose,
|
|
43
43
|
__using
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./cli-tre4bdgq.js";
|
|
21
21
|
import {
|
|
22
22
|
summarizeSession
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-4dcpaefp.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionErrorTracker
|
|
26
26
|
} from "./cli-2pdaysab.js";
|
|
@@ -36,14 +36,14 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
swarmRuntimeInstanceId
|
|
38
38
|
} from "./cli-re8z5p8p.js";
|
|
39
|
+
import {
|
|
40
|
+
getApiKey
|
|
41
|
+
} from "./cli-f14fvzag.js";
|
|
39
42
|
import {
|
|
40
43
|
detachedProcessGroup,
|
|
41
44
|
registerProcessGroup,
|
|
42
45
|
terminateProcessGroup
|
|
43
46
|
} from "./cli-y89t4nca.js";
|
|
44
|
-
import {
|
|
45
|
-
getApiKey
|
|
46
|
-
} from "./cli-f14fvzag.js";
|
|
47
47
|
import {
|
|
48
48
|
CodexOAuthRefreshError,
|
|
49
49
|
credentialsToAuthJson,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_MODEL_TIER_MAP,
|
|
54
54
|
init_types
|
|
55
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-xqpk3rp7.js";
|
|
56
56
|
import {
|
|
57
57
|
init_runtime_model_catalog,
|
|
58
58
|
init_src,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
init_package,
|
|
63
63
|
package_default
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-sqvfa090.js";
|
|
65
65
|
import {
|
|
66
66
|
init_secret_scrubber,
|
|
67
67
|
scrubSecrets
|