@desplega.ai/agent-swarm 1.166.0 → 1.167.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-zpvy6321.js +34 -0
- package/dist/{actions-qz3m692w.js → actions-fq2zrwtf.js} +25 -25
- package/dist/{amp-adapter-j1xbmsqz.js → amp-adapter-5gbk7501.js} +4 -4
- package/dist/{anthropic-messages-hst62ws9.js → anthropic-messages-13yn502s.js} +4 -4
- package/dist/{app-43vrdmv8.js → app-nctetn1e.js} +10 -9
- package/dist/{assistant-ertffmka.js → assistant-0aq8gjvj.js} +26 -26
- package/dist/{azure-openai-responses-mh8tvf78.js → azure-openai-responses-9st34pfz.js} +5 -5
- package/dist/{boot-reembed-998jtpdg.js → boot-reembed-1ze5853n.js} +9 -8
- package/dist/{boot-reembed-s7k7c6v2.js → boot-reembed-fmp5ww69.js} +9 -8
- package/dist/{boot-scrub-sweep-nepsk4t1.js → boot-scrub-sweep-cbp8xd4e.js} +10 -9
- package/dist/{boot-seeds-vvzs1zhk.js → boot-seeds-22tx8a53.js} +12 -11
- package/dist/{claude-adapter-2zvmekrp.js → claude-adapter-0jhgeh1d.js} +24 -22
- package/dist/{claude-managed-adapter-s49wbk8t.js → claude-managed-adapter-tzwxy803.js} +4 -4
- package/dist/{claude-managed-setup-cvhqq8qn.js → claude-managed-setup-nrhfx5b0.js} +3 -3
- package/dist/{claude-sdk-session-kkbxtw5q.js → claude-sdk-session-wh77rh83.js} +22 -22
- package/dist/{cli-zsh093hk.js → cli-014vns2y.js} +63 -1
- package/dist/{cli-qvfk83fy.js → cli-13xwcqvj.js} +2 -2
- package/dist/{cli-dw2q9f7g.js → cli-1yrcfa5s.js} +4 -4
- package/dist/{cli-jvj6a0cv.js → cli-577bxkf6.js} +27 -17
- package/dist/{cli-zy7vwsne.js → cli-5qkcdv8c.js} +16 -9
- package/dist/{cli-cwxhbf43.js → cli-5t5my0h8.js} +85 -2
- package/dist/{cli-y59h2pk9.js → cli-69egj654.js} +1 -1
- package/dist/{cli-68r1j4sg.js → cli-6bpvv8h4.js} +3 -3
- package/dist/{cli-cpfmqz3n.js → cli-6qxmjpem.js} +5 -5
- package/dist/{cli-aqcey741.js → cli-6vfz44sr.js} +1 -1
- package/dist/{cli-32bca7nr.js → cli-7avy4v8w.js} +1 -1
- package/dist/{cli-f2n17zhp.js → cli-7mhy3ths.js} +21 -18
- package/dist/{cli-q38n4bq0.js → cli-95zs84qw.js} +3 -3
- package/dist/cli-a35hzdve.js +33 -0
- package/dist/{cli-x3x0qwky.js → cli-bxqez1p0.js} +51 -23
- package/dist/{cli-gt8azyet.js → cli-c2tpw9ck.js} +1 -1
- package/dist/{cli-ecknp7p1.js → cli-c8r99akr.js} +10 -10
- package/dist/{cli-3qn4r334.js → cli-cexctgn5.js} +20 -14
- package/dist/{cli-vzc73wet.js → cli-cf2vgn9d.js} +87 -69
- package/dist/{cli-ng97fjq7.js → cli-cmxkbzzs.js} +33 -7
- package/dist/{cli-nexwh8zg.js → cli-g7k7zbcz.js} +12 -5
- package/dist/{cli-nvvfd8bq.js → cli-jbzbr36n.js} +4091 -3793
- package/dist/{cli-3ddybbbx.js → cli-jvmtxqtc.js} +26 -14
- package/dist/{cli-pkke6geq.js → cli-km4x66j0.js} +83 -65
- package/dist/{cli-j2jbr8af.js → cli-kw0jcfje.js} +1 -1
- package/dist/{cli-8t229cmr.js → cli-m7vmeepg.js} +30 -17
- package/dist/{cli-yshaazs1.js → cli-mkdsy1nq.js} +62 -20
- package/dist/{cli-b0f70z24.js → cli-mn8qkd8v.js} +1 -1
- package/dist/{cli-0qjcsxgz.js → cli-mxry91sa.js} +30 -9
- package/dist/cli-nkqjj42q.js +104 -0
- package/dist/{cli-rggdq8wq.js → cli-p8rt8spp.js} +3 -3
- package/dist/{cli-v2a8x45d.js → cli-pkj1w46r.js} +10 -5
- package/dist/cli-q1vnz8wv.js +96 -0
- package/dist/{cli-fj86xr3c.js → cli-qd97v6z2.js} +2 -2
- package/dist/{cli-66zh26sp.js → cli-qzmzwegq.js} +57 -17
- package/dist/{cli-p4ztb80h.js → cli-r7eeddkq.js} +13 -8
- package/dist/{cli-8ssjez7e.js → cli-rhy7z1rp.js} +22 -11
- package/dist/{cli-4mevd1hf.js → cli-s9y81s7j.js} +5 -5
- package/dist/{cli-h3x613ze.js → cli-tc5zec7v.js} +6 -6
- package/dist/{cli-ttbsse3f.js → cli-tmhsxhb8.js} +1 -1
- package/dist/{cli-0nhdwxd5.js → cli-tx2zvn23.js} +3 -3
- package/dist/{cli-mwegs4af.js → cli-ty4bzkqr.js} +3 -3
- package/dist/{cli-ysnyhws9.js → cli-v1pwxreq.js} +54 -51
- package/dist/{cli-feh3dkah.js → cli-v1w7pbd8.js} +2 -1
- package/dist/{cli-10zmp1p7.js → cli-vr5avem2.js} +27 -32
- package/dist/{cli-bzr0ftht.js → cli-wnb9b2g3.js} +19 -0
- package/dist/{cli-df56tqdw.js → cli-wydz3feg.js} +108 -57
- package/dist/{cli-krqm5f11.js → cli-xezn9nkh.js} +16 -13
- package/dist/{cli-8kt0bmgx.js → cli-xf713zz0.js} +2 -2
- package/dist/{cli-x7kpr72a.js → cli-y0kjpfm9.js} +2 -2
- package/dist/{cli-6zcfw0x7.js → cli-y195hv1a.js} +1 -1
- package/dist/{cli-fn697bnt.js → cli-ykt8f7va.js} +21 -8
- package/dist/{cli-4r1sjfc4.js → cli-ymmc1zxg.js} +8 -8
- package/dist/{cli-8kgvmkak.js → cli-ypgba1a8.js} +1 -1
- package/dist/{cli-rsy933yz.js → cli-z1dqhc9y.js} +30 -19
- package/dist/{cli-qbksc292.js → cli-zy39d433.js} +2 -0
- package/dist/cli.js +26 -26
- package/dist/{cloudflare-workers-ai-system-one-tt484t61.js → cloudflare-workers-ai-system-one-sta45jf9.js} +7 -5
- package/dist/{codex-adapter-dw1wxqt8.js → codex-adapter-cgesnjkr.js} +18 -18
- package/dist/{codex-login-terbdsqq.js → codex-login-g1cyt5zm.js} +1 -1
- package/dist/{codex-session-runner-3cgb8y1g.js → codex-session-runner-8kd7ddhr.js} +18 -18
- package/dist/{commands-mhxam6z2.js → commands-h6zaaxym.js} +9 -8
- package/dist/{cursor-adapter-2qda3st7.js → cursor-adapter-v8mm6bp5.js} +5 -5
- package/dist/{db-sjks418k.js → db-qg3myn53.js} +9 -8
- package/dist/{dispatcher-1es759rn.js → dispatcher-7vnwj9qw.js} +24 -24
- package/dist/{dsh-adapter-bek4cyw9.js → dsh-adapter-tz6hfp5r.js} +5 -5
- package/dist/{easter-egg-3d-mtpnw06s.js → easter-egg-3d-66zxervv.js} +2 -2
- package/dist/{execute-s4ccjq3n.js → execute-h4jgevyw.js} +61 -11
- package/dist/{google-generative-ai-d6nphg3q.js → google-generative-ai-b8zxrpax.js} +5 -5
- package/dist/{google-vertex-cpshkref.js → google-vertex-nrdd697t.js} +5 -5
- package/dist/{grok-adapter-ar9cw9jg.js → grok-adapter-jdt2dz2s.js} +18 -8
- package/dist/{handlers-1gkbhktr.js → handlers-2qtkpncr.js} +27 -27
- package/dist/{hook-ds2zxq9v.js → hook-51yfcgsv.js} +42 -31
- package/dist/{hook-vxa3tcsy.js → hook-qnbdgwvd.js} +14 -14
- package/dist/{http-3h21z9md.js → http-jsmtag08.js} +320 -98
- package/dist/{index-9b65j1m5.js → index-2t9kesn1.js} +9 -8
- package/dist/{index-dkfxpkmm.js → index-bt8wkv1w.js} +25 -25
- package/dist/{index-f8xnqrye.js → index-cx1sb9bq.js} +33 -24
- package/dist/{index-bn6cy8ps.js → index-ekywyv2v.js} +24 -24
- package/dist/{index-n99fycq7.js → index-t4g06w93.js} +24 -24
- package/dist/{keepalive-3xspa9jw.js → keepalive-4aezx4bj.js} +11 -10
- package/dist/{lead-6qphc124.js → lead-r44bkpm5.js} +47 -47
- package/dist/{llama-cpp-classify-tgj35k8d.js → llama-cpp-classify-6erb7wwv.js} +3 -1
- package/dist/{maintenance-0teem1bb.js → maintenance-grz5jrzh.js} +9 -8
- package/dist/{mistral-conversations-8445ddjn.js → mistral-conversations-059y51zt.js} +4 -4
- package/dist/{node-9sg7ajby.js → node-qm9eb6z0.js} +1 -1
- package/dist/{oauth-refresh-sweep-sh9q25xp.js → oauth-refresh-sweep-wm4ctjfj.js} +10 -9
- package/dist/{onboard-54qmnqxe.js → onboard-v60zgqf0.js} +2 -2
- package/dist/{openai-codex-responses-9ynm88zy.js → openai-codex-responses-jzxkta9b.js} +8 -7
- package/dist/{openai-completions-nhqwjmaw.js → openai-completions-663yncfq.js} +4 -4
- package/dist/openai-decisions-vj9nkpf8.js +162 -0
- package/dist/{openai-responses-xx1c4kgm.js → openai-responses-m3g43rrt.js} +5 -5
- package/dist/{opencode-adapter-wjfa2wvd.js → opencode-adapter-yjyqynzf.js} +7 -7
- package/dist/{openrouter-images-8yx3487g.js → openrouter-images-kr60n6b9.js} +1 -1
- package/dist/{otel-impl-ycqzp2a1.js → otel-impl-ghh4dyf8.js} +1 -1
- package/dist/{pi-messages-vxdt8v7j.js → pi-messages-xszk613n.js} +1 -1
- package/dist/{pi-mono-adapter-e77e9zst.js → pi-mono-adapter-0eg8kw2c.js} +68 -51
- package/dist/{pricing-refresh-atnkngqs.js → pricing-refresh-mjrqvnvw.js} +11 -10
- package/dist/{rbac-roles-j78wdksm.js → rbac-roles-axv4d74x.js} +10 -9
- package/dist/{rbac-roles-9pjphh9q.js → rbac-roles-fd5tskj9.js} +9 -8
- package/dist/{render-v2-pxjs49fx.js → render-v2-k50j33qd.js} +10 -9
- package/dist/{runtime-v2t1r79e.js → runtime-h9ha1mq6.js} +4 -4
- package/dist/{setup-ymej0xtx.js → setup-4syh0pd2.js} +2 -2
- package/dist/{typesafe-system-one-datfr82p.js → typesafe-system-one-e988vty7.js} +7 -5
- package/dist/{virtual-modules-wm8mxdxx.js → virtual-modules-ftr9kwe8.js} +11 -11
- package/dist/{work-objects-3nh4ymzb.js → work-objects-jcdbg8rr.js} +27 -27
- package/dist/{worker-qa9fkz5s.js → worker-x8j8c9sx.js} +47 -47
- package/openapi.json +1 -1
- package/package.json +8 -8
- package/src/be/memory/providers/openai-embedding.ts +7 -2
- package/src/be/memory/raters/llm-summarizer.ts +7 -2
- package/src/be/modelsdev-cache.json +61 -0
- package/src/be/seed-pricing.ts +84 -53
- package/src/be/swarm-config-guard.ts +13 -0
- package/src/commands/provider-credentials.ts +28 -5
- package/src/commands/runner.ts +7 -12
- package/src/heartbeat/heartbeat.ts +91 -19
- package/src/hooks/hook.ts +72 -27
- package/src/http/mcp.ts +5 -0
- package/src/http/onboarding.ts +2 -0
- package/src/providers/acp-targets.ts +9 -4
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +26 -0
- package/src/providers/codex-adapter.ts +30 -3
- package/src/providers/codex-oauth/auth-json.ts +21 -4
- package/src/providers/codex-oauth/types.ts +2 -0
- package/src/providers/dsh-adapter.ts +10 -1
- package/src/providers/grok-adapter.ts +18 -2
- package/src/providers/opencode-adapter.ts +21 -5
- package/src/providers/pi-mono-extension.ts +56 -25
- package/src/providers/pricing-sources.md +2 -0
- package/src/server.ts +63 -3
- package/src/tests/acp-adapter.test.ts +152 -12
- package/src/tests/ci-unit-test-report.test.ts +73 -0
- package/src/tests/claude-default-route.test.ts +75 -0
- package/src/tests/claude-hook-output.test.ts +233 -0
- package/src/tests/codex-adapter-pool-auth-revalidate.test.ts +4 -2
- package/src/tests/codex-adapter.test.ts +166 -26
- package/src/tests/codex-oauth-auth-timestamps.test.ts +76 -0
- package/src/tests/codex-oauth.test.ts +4 -1
- package/src/tests/context-window.test.ts +2 -2
- package/src/tests/credential-check.test.ts +51 -1
- package/src/tests/dsh-adapter.test.ts +23 -1
- package/src/tests/enabled-tools.test.ts +269 -0
- package/src/tests/entrypoint-codex-oauth-seed.test.ts +12 -0
- package/src/tests/grok-adapter.test.ts +13 -0
- package/src/tests/haiku-5-5-pricing.test.ts +38 -0
- package/src/tests/heartbeat-checklist.test.ts +158 -1
- package/src/tests/onboarding.test.ts +44 -0
- package/src/tests/opencode-adapter.test.ts +66 -3
- package/src/tests/opencode-plugin.test.ts +37 -0
- package/src/tests/openrouter-attribution-call-sites.test.ts +204 -0
- package/src/tests/openrouter-base-url.test.ts +30 -39
- package/src/tests/pi-mono-extension.test.ts +161 -2
- package/src/tests/pricing-refresh.test.ts +70 -1
- package/src/tests/reasoning-effort.test.ts +3 -1
- package/src/tests/telemetry-trigger.test.ts +12 -1
- package/src/tests/workflow-llm.test.ts +14 -0
- package/src/tests/workflow-system-one-decision-providers.test.ts +33 -0
- package/src/tools/request-human-input.ts +7 -2
- package/src/utils/enabled-tools.ts +27 -0
- package/src/utils/internal-ai/complete-structured.ts +11 -3
- package/src/utils/openrouter-base-url.ts +23 -0
- package/src/workflows/executors/raw-llm.ts +1 -0
- package/src/workflows/executors/system-one-decision.ts +2 -0
- package/src/workflows/executors/validate.ts +1 -0
- package/src/workflows/executors/workflow-llm.ts +9 -2
- package/templates/skills/agent-browser/SKILL.md +2 -0
- package/templates/skills/agent-browser/content.md +2 -0
- package/templates/skills/code-quality/content.md +1 -0
- package/templates/skills/heartbeat-runbook/content.md +1 -1
- package/templates/skills/work-on-task/SKILL.md +4 -0
- package/templates/skills/work-on-task/content.md +4 -0
- package/templates/skills/workflow-iterate/content.md +9 -0
- package/dist/acp-adapter-yzfxn8vj.js +0 -23
- package/dist/cli-3dpj7atn.js +0 -11
- package/dist/cli-gvcgmx69.js +0 -183
- package/dist/{cli-jhm6hzjn.js → cli-mxvnnv5q.js} +7 -7
- package/dist/{codex-hook-d2rkvf39.js → codex-hook-15dgc4cb.js} +1 -1
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
Anthropic,
|
|
6
6
|
ConflictError,
|
|
7
7
|
toFile
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-5qkcdv8c.js";
|
|
9
9
|
import {
|
|
10
10
|
getApiKey
|
|
11
11
|
} from "./cli-f14fvzag.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-v1w7pbd8.js";
|
|
13
13
|
import"./cli-51tf7ac3.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_MODEL_TIER_MAP,
|
|
16
16
|
init_types
|
|
17
17
|
} from "./cli-xvdgasgy.js";
|
|
18
|
-
import"./cli-gd4favx9.js";
|
|
19
18
|
import"./cli-1a2j50m0.js";
|
|
19
|
+
import"./cli-gd4favx9.js";
|
|
20
20
|
import"./cli-ej6gbxfb.js";
|
|
21
21
|
import"./cli-sd0mxa3c.js";
|
|
22
22
|
import"./cli-w5e1d1vv.js";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
cleanupTaskFile,
|
|
4
4
|
normalizeClaudeMessage,
|
|
5
5
|
runClaudeSessionSummary
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
} from "./cli-mxry91sa.js";
|
|
7
|
+
import"./cli-z1dqhc9y.js";
|
|
8
|
+
import"./cli-69egj654.js";
|
|
9
9
|
import"./cli-v6vv7dy8.js";
|
|
10
10
|
import"./cli-q2j38vre.js";
|
|
11
|
+
import"./cli-r7eeddkq.js";
|
|
12
|
+
import"./cli-hp1n6zq3.js";
|
|
13
|
+
import"./cli-tng3131n.js";
|
|
11
14
|
import"./cli-zm7njwzd.js";
|
|
12
15
|
import"./cli-ptcz1cqy.js";
|
|
13
16
|
import {
|
|
14
17
|
getContextWindowSize
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-p4ztb80h.js";
|
|
17
|
-
import"./cli-hp1n6zq3.js";
|
|
18
|
-
import"./cli-tng3131n.js";
|
|
18
|
+
} from "./cli-7avy4v8w.js";
|
|
19
19
|
import"./cli-eree7rnv.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionErrorTracker,
|
|
@@ -23,46 +23,46 @@ import {
|
|
|
23
23
|
redactRateLimitEvent,
|
|
24
24
|
trackErrorFromJson
|
|
25
25
|
} from "./cli-2pdaysab.js";
|
|
26
|
-
import"./cli-
|
|
26
|
+
import"./cli-tmhsxhb8.js";
|
|
27
27
|
import"./cli-w0bwte75.js";
|
|
28
28
|
import"./cli-re8z5p8p.js";
|
|
29
29
|
import"./cli-f14fvzag.js";
|
|
30
|
+
import"./cli-7mhy3ths.js";
|
|
31
|
+
import"./cli-v1w7pbd8.js";
|
|
30
32
|
import {
|
|
31
33
|
detachedProcessGroup,
|
|
32
34
|
registerProcessGroup,
|
|
33
35
|
signalProcessGroup,
|
|
34
36
|
terminateProcessGroup
|
|
35
37
|
} from "./cli-zt3w1cn1.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-feh3dkah.js";
|
|
38
|
-
import"./cli-3dpj7atn.js";
|
|
39
|
-
import"./cli-2x0e561b.js";
|
|
40
|
-
import"./cli-pkke6geq.js";
|
|
38
|
+
import"./cli-km4x66j0.js";
|
|
41
39
|
import"./cli-rb9m6rpe.js";
|
|
40
|
+
import"./cli-2x0e561b.js";
|
|
42
41
|
import"./cli-bsakbbkm.js";
|
|
43
42
|
import"./cli-zxg80zs9.js";
|
|
44
43
|
import"./cli-ydt3zkwv.js";
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
44
|
+
import"./cli-mn8qkd8v.js";
|
|
45
|
+
import"./cli-g7k7zbcz.js";
|
|
47
46
|
import"./cli-btbzvq95.js";
|
|
48
47
|
import"./cli-1m2e086m.js";
|
|
49
|
-
import"./cli-
|
|
50
|
-
import"./cli-
|
|
48
|
+
import"./cli-wnb9b2g3.js";
|
|
49
|
+
import"./cli-mxvnnv5q.js";
|
|
51
50
|
import"./cli-7mm2r1kp.js";
|
|
52
51
|
import"./cli-g5erf0zt.js";
|
|
53
52
|
import"./cli-dmtrxqhg.js";
|
|
54
|
-
import"./cli-tadfgd0t.js";
|
|
55
|
-
import"./cli-ywybs5as.js";
|
|
56
|
-
import"./cli-gd4favx9.js";
|
|
57
53
|
import"./cli-agamgm0p.js";
|
|
58
54
|
import"./cli-5c2j5yvx.js";
|
|
59
55
|
import"./cli-1a2j50m0.js";
|
|
56
|
+
import"./cli-tadfgd0t.js";
|
|
57
|
+
import"./cli-ywybs5as.js";
|
|
60
58
|
import"./cli-f9w1semm.js";
|
|
59
|
+
import"./cli-a35hzdve.js";
|
|
60
|
+
import"./cli-gd4favx9.js";
|
|
61
61
|
import"./cli-ej6gbxfb.js";
|
|
62
|
-
import"./cli-
|
|
62
|
+
import"./cli-014vns2y.js";
|
|
63
63
|
import"./cli-sd0mxa3c.js";
|
|
64
64
|
import"./cli-w5e1d1vv.js";
|
|
65
|
-
import"./cli-
|
|
65
|
+
import"./cli-ymmc1zxg.js";
|
|
66
66
|
import {
|
|
67
67
|
init_secret_scrubber,
|
|
68
68
|
scrubSecrets
|
|
@@ -251,7 +251,8 @@ function harnessModelMismatch(model, harness, sections, context = {}) {
|
|
|
251
251
|
if (section === "anthropic" && Object.hasOwn(buildClaudeShortnameMap(own), bare))
|
|
252
252
|
return null;
|
|
253
253
|
if (Object.hasOwn(own, bare)) {
|
|
254
|
-
|
|
254
|
+
const familyId = section === "anthropic" ? bare.replace(DATED_ID_RE3, "").replace(/-latest$/i, "") : bare;
|
|
255
|
+
return isHarnessCatalogModel(harness, familyId, own[bare]) ? null : fail();
|
|
255
256
|
}
|
|
256
257
|
for (const [name, other] of Object.entries(sections)) {
|
|
257
258
|
if (name === section)
|
|
@@ -147641,6 +147642,67 @@ var init_modelsdev_cache = __esm(() => {
|
|
|
147641
147642
|
name: "Anthropic",
|
|
147642
147643
|
doc: "https://docs.anthropic.com/en/docs/about-claude/models",
|
|
147643
147644
|
models: {
|
|
147645
|
+
"claude-haiku-5-5": {
|
|
147646
|
+
id: "claude-haiku-5-5",
|
|
147647
|
+
name: "Claude Haiku 5.5",
|
|
147648
|
+
description: "Fast Claude model for responsive assistance, classification, and lightweight agents",
|
|
147649
|
+
family: "claude-haiku",
|
|
147650
|
+
attachment: true,
|
|
147651
|
+
reasoning: true,
|
|
147652
|
+
reasoning_options: [
|
|
147653
|
+
{
|
|
147654
|
+
type: "toggle"
|
|
147655
|
+
},
|
|
147656
|
+
{
|
|
147657
|
+
type: "effort",
|
|
147658
|
+
values: [
|
|
147659
|
+
"low",
|
|
147660
|
+
"medium",
|
|
147661
|
+
"high",
|
|
147662
|
+
"xhigh",
|
|
147663
|
+
"max"
|
|
147664
|
+
]
|
|
147665
|
+
}
|
|
147666
|
+
],
|
|
147667
|
+
tool_call: true,
|
|
147668
|
+
structured_output: true,
|
|
147669
|
+
temperature: false,
|
|
147670
|
+
knowledge: "2026-06",
|
|
147671
|
+
modalities: {
|
|
147672
|
+
input: [
|
|
147673
|
+
"text",
|
|
147674
|
+
"image",
|
|
147675
|
+
"pdf"
|
|
147676
|
+
],
|
|
147677
|
+
output: [
|
|
147678
|
+
"text"
|
|
147679
|
+
]
|
|
147680
|
+
},
|
|
147681
|
+
open_weights: false,
|
|
147682
|
+
limit: {
|
|
147683
|
+
context: 1e6,
|
|
147684
|
+
output: 128000
|
|
147685
|
+
},
|
|
147686
|
+
cost: {
|
|
147687
|
+
input: 0.1,
|
|
147688
|
+
output: 0.5,
|
|
147689
|
+
cache_read: 0.01,
|
|
147690
|
+
cache_write: 0.125,
|
|
147691
|
+
tiers: [
|
|
147692
|
+
{
|
|
147693
|
+
input: 0.5,
|
|
147694
|
+
output: 2.5,
|
|
147695
|
+
cache_read: 0.05,
|
|
147696
|
+
cache_write: 0.625,
|
|
147697
|
+
tier: {
|
|
147698
|
+
type: "context",
|
|
147699
|
+
size: 1e5
|
|
147700
|
+
}
|
|
147701
|
+
}
|
|
147702
|
+
]
|
|
147703
|
+
},
|
|
147704
|
+
canonical_model_id: "anthropic/claude-haiku-5-5"
|
|
147705
|
+
},
|
|
147644
147706
|
"claude-sonnet-5-5": {
|
|
147645
147707
|
id: "claude-sonnet-5-5",
|
|
147646
147708
|
name: "Claude Sonnet 5.5",
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
mcpNamespace,
|
|
3
3
|
require_proper_lockfile,
|
|
4
4
|
validateMcpServerConfig
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-xezn9nkh.js";
|
|
6
6
|
import {
|
|
7
7
|
CONFIG_DIR_NAME,
|
|
8
8
|
canonicalizePath,
|
|
9
9
|
resolvePath,
|
|
10
10
|
stripBom
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-5t5my0h8.js";
|
|
12
12
|
import {
|
|
13
13
|
__toESM
|
|
14
14
|
} from "./cli-bc05qbss.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveSlackUserId,
|
|
3
3
|
rewriteSlackMentions
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-y0kjpfm9.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-wydz3feg.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-c8r99akr.js";
|
|
24
24
|
import {
|
|
25
25
|
createLogEntry,
|
|
26
26
|
getAgentById,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
init_steering,
|
|
34
34
|
requestSteering,
|
|
35
35
|
slackContextKey
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-mkdsy1nq.js";
|
|
37
37
|
import {
|
|
38
38
|
init_steering_enabled,
|
|
39
39
|
isSteeringEnabled
|
|
@@ -4,29 +4,25 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getApiKey
|
|
6
6
|
} from "./cli-f14fvzag.js";
|
|
7
|
+
import {
|
|
8
|
+
DEFAULT_MODEL,
|
|
9
|
+
resolveCredential
|
|
10
|
+
} from "./cli-7mhy3ths.js";
|
|
7
11
|
import {
|
|
8
12
|
detachedProcessGroup,
|
|
9
13
|
registerProcessGroup,
|
|
10
14
|
terminateProcessGroup
|
|
11
15
|
} from "./cli-zt3w1cn1.js";
|
|
12
|
-
import {
|
|
13
|
-
DEFAULT_MODEL,
|
|
14
|
-
resolveCredential
|
|
15
|
-
} from "./cli-f2n17zhp.js";
|
|
16
|
-
import {
|
|
17
|
-
DEFAULT_OPENROUTER_BASE_URL,
|
|
18
|
-
getOpenRouterBaseUrl
|
|
19
|
-
} from "./cli-3dpj7atn.js";
|
|
20
16
|
import {
|
|
21
17
|
calculatePKCECodeChallenge,
|
|
22
18
|
ensureAuthorizationTokenOrThrow,
|
|
23
19
|
generateRandomCodeVerifier,
|
|
24
20
|
generateRandomState,
|
|
25
21
|
oauthAppRowToProviderConfig
|
|
26
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-kw0jcfje.js";
|
|
27
23
|
import {
|
|
28
24
|
getSlackApp
|
|
29
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-c8r99akr.js";
|
|
30
26
|
import {
|
|
31
27
|
CredentialBroker,
|
|
32
28
|
DEFAULT_CREDENTIAL_BINDINGS,
|
|
@@ -63,21 +59,27 @@ import {
|
|
|
63
59
|
updateAuthorizationTokens,
|
|
64
60
|
upsertAuthorization,
|
|
65
61
|
upsertSwarmConfig
|
|
66
|
-
} from "./cli-
|
|
62
|
+
} from "./cli-mkdsy1nq.js";
|
|
67
63
|
import {
|
|
68
64
|
TERMINAL_TASK_STATUSES,
|
|
69
65
|
defaultAssetKey,
|
|
70
66
|
init_key,
|
|
71
67
|
init_types
|
|
72
68
|
} from "./cli-xvdgasgy.js";
|
|
73
|
-
import {
|
|
74
|
-
getAppUrl,
|
|
75
|
-
init_constants
|
|
76
|
-
} from "./cli-gd4favx9.js";
|
|
77
69
|
import {
|
|
78
70
|
init_resolver,
|
|
79
71
|
resolveTemplate
|
|
80
72
|
} from "./cli-5c2j5yvx.js";
|
|
73
|
+
import {
|
|
74
|
+
DEFAULT_OPENROUTER_BASE_URL,
|
|
75
|
+
getOpenRouterAttributionHeaders,
|
|
76
|
+
getOpenRouterBaseUrl,
|
|
77
|
+
init_openrouter_base_url
|
|
78
|
+
} from "./cli-a35hzdve.js";
|
|
79
|
+
import {
|
|
80
|
+
getAppUrl,
|
|
81
|
+
init_constants
|
|
82
|
+
} from "./cli-gd4favx9.js";
|
|
81
83
|
import {
|
|
82
84
|
init_env_flag,
|
|
83
85
|
isEnvFlagEnabled
|
|
@@ -175207,6 +175209,7 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
|
|
|
175207
175209
|
|
|
175208
175210
|
// src/workflows/executors/system-one-decision.ts
|
|
175209
175211
|
init_zod();
|
|
175212
|
+
init_openrouter_base_url();
|
|
175210
175213
|
init_secret_scrubber();
|
|
175211
175214
|
|
|
175212
175215
|
// src/workflows/executors/base.ts
|
|
@@ -175594,7 +175597,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
175594
175597
|
}
|
|
175595
175598
|
if (notification.channel === "slack") {
|
|
175596
175599
|
try {
|
|
175597
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
175600
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-nctetn1e.js");
|
|
175598
175601
|
const slackApp = getSlackApp2();
|
|
175599
175602
|
if (!slackApp) {
|
|
175600
175603
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -175681,6 +175684,9 @@ function formatTimeout(seconds) {
|
|
|
175681
175684
|
return mins > 0 ? `${hours}h ${mins}m` : `${hours}h`;
|
|
175682
175685
|
}
|
|
175683
175686
|
|
|
175687
|
+
// src/workflows/executors/system-one-providers.ts
|
|
175688
|
+
init_openrouter_base_url();
|
|
175689
|
+
|
|
175684
175690
|
// src/workflows/executors/system-one-wire.ts
|
|
175685
175691
|
class SystemOneWireError extends Error {
|
|
175686
175692
|
}
|
|
@@ -175856,6 +175862,7 @@ var OPENAI_DECISIONS_WIRE = {
|
|
|
175856
175862
|
};
|
|
175857
175863
|
|
|
175858
175864
|
// src/workflows/executors/workflow-llm.ts
|
|
175865
|
+
init_openrouter_base_url();
|
|
175859
175866
|
async function resolveWorkflowLlmConfig(requestedModel, env = process.env, options = {}) {
|
|
175860
175867
|
const credential = await resolveCredential({ env });
|
|
175861
175868
|
if (!credential) {
|
|
@@ -175869,9 +175876,11 @@ async function resolveWorkflowLlmConfig(requestedModel, env = process.env, optio
|
|
|
175869
175876
|
}
|
|
175870
175877
|
const providerPrefix = `${credential.kind}/`;
|
|
175871
175878
|
const model = requestedModel ?? DEFAULT_MODEL[credential.kind];
|
|
175879
|
+
const baseURL = credential.kind === "openrouter" ? getOpenRouterBaseUrl(env) : undefined;
|
|
175872
175880
|
return {
|
|
175873
175881
|
apiKey: credential.apiKey,
|
|
175874
|
-
baseURL
|
|
175882
|
+
baseURL,
|
|
175883
|
+
headers: baseURL ? getOpenRouterAttributionHeaders(baseURL, env) : {},
|
|
175875
175884
|
model: model.startsWith(providerPrefix) ? model.slice(providerPrefix.length) : model
|
|
175876
175885
|
};
|
|
175877
175886
|
}
|
|
@@ -176826,6 +176835,7 @@ class SystemOneDecisionExecutor extends BaseExecutor {
|
|
|
176826
176835
|
res = await doFetch(endpoint, {
|
|
176827
176836
|
method: "POST",
|
|
176828
176837
|
headers: {
|
|
176838
|
+
...getOpenRouterAttributionHeaders(endpoint, this.providerContext().env),
|
|
176829
176839
|
"content-type": "application/json",
|
|
176830
176840
|
accept: "application/json",
|
|
176831
176841
|
authorization: `Bearer ${apiKey}`
|
|
@@ -473,7 +473,7 @@ var sleep = (ms, signal) => new Promise((resolve) => {
|
|
|
473
473
|
});
|
|
474
474
|
|
|
475
475
|
// node_modules/@anthropic-ai/sdk/version.mjs
|
|
476
|
-
var VERSION = "0.132.
|
|
476
|
+
var VERSION = "0.132.1";
|
|
477
477
|
|
|
478
478
|
// node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
|
|
479
479
|
var isRunningInBrowser = () => {
|
|
@@ -3518,6 +3518,13 @@ var createPathTagFunction = (pathEncoder = encodeURIPath) => function path(stati
|
|
|
3518
3518
|
error: `Value of type ${Object.prototype.toString.call(value).slice(8, -1)} is not a valid path parameter`
|
|
3519
3519
|
});
|
|
3520
3520
|
}
|
|
3521
|
+
if (!postPath && encoded === "") {
|
|
3522
|
+
invalidSegments.push({
|
|
3523
|
+
start: previousValue.length + currentValue.length,
|
|
3524
|
+
length: 0,
|
|
3525
|
+
error: `Value "" can't be safely passed as a path parameter`
|
|
3526
|
+
});
|
|
3527
|
+
}
|
|
3521
3528
|
return previousValue + currentValue + (index === params.length ? "" : encoded);
|
|
3522
3529
|
}, "");
|
|
3523
3530
|
const pathOnly = path2.split(/[?#]/, 1)[0];
|
|
@@ -3532,13 +3539,13 @@ var createPathTagFunction = (pathEncoder = encodeURIPath) => function path(stati
|
|
|
3532
3539
|
}
|
|
3533
3540
|
invalidSegments.sort((a, b) => a.start - b.start);
|
|
3534
3541
|
if (invalidSegments.length > 0) {
|
|
3535
|
-
|
|
3536
|
-
const
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
+
const marks = [];
|
|
3543
|
+
for (const segment of invalidSegments) {
|
|
3544
|
+
for (let i = segment.start;i < segment.start + Math.max(1, segment.length); i++) {
|
|
3545
|
+
marks[i] = "^";
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
const underline = Array.from(marks, (mark) => mark ?? " ").join("");
|
|
3542
3549
|
throw new AnthropicError(`Path parameters result in path with invalid segments:
|
|
3543
3550
|
${invalidSegments.map((e) => e.error).join(`
|
|
3544
3551
|
`)}
|
|
@@ -5187,7 +5194,7 @@ var EnvironmentWorker = /* @__PURE__ */ (() => {
|
|
|
5187
5194
|
const ctrl = new AbortController;
|
|
5188
5195
|
const detachExternal = linkAbort(externalSignal, ctrl);
|
|
5189
5196
|
const lease = new Lease(ctrl);
|
|
5190
|
-
const agentToolset = await import("./node-
|
|
5197
|
+
const agentToolset = await import("./node-qm9eb6z0.js");
|
|
5191
5198
|
let leaseTtlMs;
|
|
5192
5199
|
let runner;
|
|
5193
5200
|
const heartbeatPromise = heartbeatLoop(sessionClient, work, lease, log, this.requestOptions, (ttlMs) => {
|
|
@@ -3805,6 +3805,7 @@ __export(exports_dist, {
|
|
|
3805
3805
|
encodeITerm2: () => encodeITerm2,
|
|
3806
3806
|
encodeKitty: () => encodeKitty,
|
|
3807
3807
|
foregroundAnsi: () => foregroundAnsi,
|
|
3808
|
+
formatProgramStatus: () => formatProgramStatus,
|
|
3808
3809
|
fuzzyFilter: () => fuzzyFilter,
|
|
3809
3810
|
fuzzyMatch: () => fuzzyMatch,
|
|
3810
3811
|
getCapabilities: () => getCapabilities,
|
|
@@ -6038,6 +6039,9 @@ function detectCapabilitiesFromEnvironment(tmuxForwardsHyperlink) {
|
|
|
6038
6039
|
if (term.startsWith("screen")) {
|
|
6039
6040
|
return { images: null, trueColor: hasTrueColorHint, hyperlinks: false };
|
|
6040
6041
|
}
|
|
6042
|
+
if (termProgram === "herdr") {
|
|
6043
|
+
return { images: null, trueColor: hasTrueColorHint, hyperlinks: true };
|
|
6044
|
+
}
|
|
6041
6045
|
if (process.env.KITTY_WINDOW_ID || termProgram === "kitty") {
|
|
6042
6046
|
return { images: "kitty", trueColor: true, hyperlinks: true };
|
|
6043
6047
|
}
|
|
@@ -7445,6 +7449,10 @@ class Box {
|
|
|
7445
7449
|
setBgFn(bgFn) {
|
|
7446
7450
|
this.bgFn = bgFn;
|
|
7447
7451
|
}
|
|
7452
|
+
setPaddingX(paddingX) {
|
|
7453
|
+
this.paddingX = paddingX;
|
|
7454
|
+
this.invalidateCache();
|
|
7455
|
+
}
|
|
7448
7456
|
invalidateCache() {
|
|
7449
7457
|
this.cache = undefined;
|
|
7450
7458
|
}
|
|
@@ -7551,6 +7559,10 @@ class Text {
|
|
|
7551
7559
|
this.cachedWidth = undefined;
|
|
7552
7560
|
this.cachedLines = undefined;
|
|
7553
7561
|
}
|
|
7562
|
+
setPaddingX(paddingX) {
|
|
7563
|
+
this.paddingX = paddingX;
|
|
7564
|
+
this.invalidate();
|
|
7565
|
+
}
|
|
7554
7566
|
invalidate() {
|
|
7555
7567
|
this.cachedText = undefined;
|
|
7556
7568
|
this.cachedWidth = undefined;
|
|
@@ -12821,6 +12833,39 @@ function getNativeClipboard() {
|
|
|
12821
12833
|
return;
|
|
12822
12834
|
return loadNativePlatformHelper("linux", "-x11");
|
|
12823
12835
|
}
|
|
12836
|
+
// node_modules/@earendil-works/pi-tui/dist/program-status.js
|
|
12837
|
+
var PROGRAM_STATUS_QUERY = "\x1B]7501;?\x1B\\";
|
|
12838
|
+
function isProgramStatusReply(sequence) {
|
|
12839
|
+
return /^\x1b\]7501;\?[^\x07\x1b]*(?:\x07|\x1b\\)$/.test(sequence);
|
|
12840
|
+
}
|
|
12841
|
+
var APP_PATTERN = /^[A-Za-z0-9_.+-]{1,32}$/;
|
|
12842
|
+
var CONTROL_CHARACTERS = /[\u0000-\u001f\u007f-\u009f]+/g;
|
|
12843
|
+
var MAX_MESSAGE_BYTES = 2048;
|
|
12844
|
+
function truncateUtf8(text, maxBytes) {
|
|
12845
|
+
if (Buffer.byteLength(text, "utf8") <= maxBytes)
|
|
12846
|
+
return text;
|
|
12847
|
+
let bytes = 0;
|
|
12848
|
+
let end = 0;
|
|
12849
|
+
for (const char of text) {
|
|
12850
|
+
const size = Buffer.byteLength(char, "utf8");
|
|
12851
|
+
if (bytes + size > maxBytes)
|
|
12852
|
+
break;
|
|
12853
|
+
bytes += size;
|
|
12854
|
+
end += char.length;
|
|
12855
|
+
}
|
|
12856
|
+
return text.slice(0, end);
|
|
12857
|
+
}
|
|
12858
|
+
function formatProgramStatus(status) {
|
|
12859
|
+
const pairs = [`state=${status.state}`];
|
|
12860
|
+
if (status.app !== undefined && APP_PATTERN.test(status.app))
|
|
12861
|
+
pairs.push(`app=${status.app}`);
|
|
12862
|
+
if (status.state === "blocked" && status.kind)
|
|
12863
|
+
pairs.push(`kind=${status.kind}`);
|
|
12864
|
+
const message = truncateUtf8((status.message ?? "").replace(CONTROL_CHARACTERS, " ").trim(), MAX_MESSAGE_BYTES);
|
|
12865
|
+
if (message)
|
|
12866
|
+
pairs.push(`msg=${Buffer.from(message, "utf8").toString("base64")}`);
|
|
12867
|
+
return `\x1B]7501;${pairs.join(":")}\x1B\\`;
|
|
12868
|
+
}
|
|
12824
12869
|
// node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js
|
|
12825
12870
|
import { EventEmitter } from "events";
|
|
12826
12871
|
var ESC = "\x1B";
|
|
@@ -13118,7 +13163,8 @@ var TERMINAL_PROGRESS_CLEAR_SEQUENCE = "\x1B]9;4;0\x07";
|
|
|
13118
13163
|
var NATIVE_SHIFT_ENTER_SEQUENCE = "\x1B[13;2u";
|
|
13119
13164
|
var DESIRED_KITTY_KEYBOARD_PROTOCOL_FLAGS = 7;
|
|
13120
13165
|
var KEYBOARD_PROTOCOL_RESPONSE_FRAGMENT_TIMEOUT_MS = 150;
|
|
13121
|
-
var KITTY_KEYBOARD_PROTOCOL_QUERY = `\x1B[>${DESIRED_KITTY_KEYBOARD_PROTOCOL_FLAGS}u\x1B[?u
|
|
13166
|
+
var KITTY_KEYBOARD_PROTOCOL_QUERY = `\x1B[>${DESIRED_KITTY_KEYBOARD_PROTOCOL_FLAGS}u\x1B[?u`;
|
|
13167
|
+
var DEVICE_ATTRIBUTES_QUERY = "\x1B[c";
|
|
13122
13168
|
function parseKeyboardProtocolNegotiationSequence(sequence) {
|
|
13123
13169
|
const kittyFlags = sequence.match(/^\x1b\[\?(\d+)u$/);
|
|
13124
13170
|
if (kittyFlags) {
|
|
@@ -13173,6 +13219,9 @@ class ProcessTerminal {
|
|
|
13173
13219
|
stdinBuffer;
|
|
13174
13220
|
stdinDataHandler;
|
|
13175
13221
|
progressInterval;
|
|
13222
|
+
programStatus;
|
|
13223
|
+
programStatusSupported = false;
|
|
13224
|
+
programStatusQueryPending = false;
|
|
13176
13225
|
writeLogPath = (() => {
|
|
13177
13226
|
const env2 = process.env.PI_TUI_WRITE_LOG || "";
|
|
13178
13227
|
if (!env2)
|
|
@@ -13210,6 +13259,14 @@ class ProcessTerminal {
|
|
|
13210
13259
|
setupStdinBuffer() {
|
|
13211
13260
|
this.stdinBuffer = new StdinBuffer({ escapeTimeout: resolveEscapeTimeoutMs() });
|
|
13212
13261
|
this.stdinBuffer.on("data", (sequence) => {
|
|
13262
|
+
if (isProgramStatusReply(sequence)) {
|
|
13263
|
+
if (this.programStatusQueryPending) {
|
|
13264
|
+
this.programStatusQueryPending = false;
|
|
13265
|
+
this.programStatusSupported = true;
|
|
13266
|
+
this.writeProgramStatus();
|
|
13267
|
+
}
|
|
13268
|
+
return;
|
|
13269
|
+
}
|
|
13213
13270
|
const negotiation = this.readKeyboardProtocolNegotiationSequence(sequence);
|
|
13214
13271
|
if (negotiation === "pending") {
|
|
13215
13272
|
this.scheduleKeyboardProtocolNegotiationBufferFlush();
|
|
@@ -13235,7 +13292,12 @@ class ProcessTerminal {
|
|
|
13235
13292
|
this.keyboardProtocolPushed = true;
|
|
13236
13293
|
this.pendingKeyboardProtocolDeviceAttributes += 1;
|
|
13237
13294
|
this.clearKeyboardProtocolNegotiationBuffer();
|
|
13238
|
-
process.
|
|
13295
|
+
const programStatusOverride = process.env.PI_PROGRAM_STATUS;
|
|
13296
|
+
this.programStatusSupported = programStatusOverride === "1";
|
|
13297
|
+
this.programStatusQueryPending = programStatusOverride !== "1" && programStatusOverride !== "0";
|
|
13298
|
+
const programStatusQuery = this.programStatusQueryPending ? PROGRAM_STATUS_QUERY : "";
|
|
13299
|
+
process.stdout.write(`${KITTY_KEYBOARD_PROTOCOL_QUERY}${programStatusQuery}${DEVICE_ATTRIBUTES_QUERY}`);
|
|
13300
|
+
this.writeProgramStatus();
|
|
13239
13301
|
}
|
|
13240
13302
|
handleKeyboardProtocolNegotiationSequence(negotiationSequence) {
|
|
13241
13303
|
this.clearKeyboardProtocolNegotiationBuffer();
|
|
@@ -13243,6 +13305,8 @@ class ProcessTerminal {
|
|
|
13243
13305
|
if (this.pendingKeyboardProtocolDeviceAttributes === 0)
|
|
13244
13306
|
return false;
|
|
13245
13307
|
this.pendingKeyboardProtocolDeviceAttributes -= 1;
|
|
13308
|
+
if (this.pendingKeyboardProtocolDeviceAttributes === 0)
|
|
13309
|
+
this.programStatusQueryPending = false;
|
|
13246
13310
|
}
|
|
13247
13311
|
if (negotiationSequence.type === "kitty-flags") {
|
|
13248
13312
|
if (negotiationSequence.flags !== 0) {
|
|
@@ -13376,6 +13440,11 @@ class ProcessTerminal {
|
|
|
13376
13440
|
if (this.clearProgressInterval()) {
|
|
13377
13441
|
process.stdout.write(TERMINAL_PROGRESS_CLEAR_SEQUENCE);
|
|
13378
13442
|
}
|
|
13443
|
+
if (this.programStatusSupported && this.programStatus) {
|
|
13444
|
+
process.stdout.write(formatProgramStatus({ state: "clear" }));
|
|
13445
|
+
}
|
|
13446
|
+
this.programStatusSupported = false;
|
|
13447
|
+
this.programStatusQueryPending = false;
|
|
13379
13448
|
process.stdout.write("\x1B[?2004l");
|
|
13380
13449
|
const shouldDisableKittyProtocol = this.keyboardProtocolPushed || this._kittyProtocolActive;
|
|
13381
13450
|
this.clearKeyboardProtocolNegotiationBuffer();
|
|
@@ -13443,6 +13512,16 @@ class ProcessTerminal {
|
|
|
13443
13512
|
setTitle(title) {
|
|
13444
13513
|
process.stdout.write(`\x1B]0;${title}\x07`);
|
|
13445
13514
|
}
|
|
13515
|
+
setProgramStatus(status) {
|
|
13516
|
+
this.programStatus = status.state === "clear" ? undefined : status;
|
|
13517
|
+
if (this.programStatusSupported)
|
|
13518
|
+
process.stdout.write(formatProgramStatus(status));
|
|
13519
|
+
}
|
|
13520
|
+
writeProgramStatus() {
|
|
13521
|
+
if (this.programStatusSupported && this.programStatus) {
|
|
13522
|
+
process.stdout.write(formatProgramStatus(this.programStatus));
|
|
13523
|
+
}
|
|
13524
|
+
}
|
|
13446
13525
|
setProgress(active) {
|
|
13447
13526
|
if (active) {
|
|
13448
13527
|
process.stdout.write(TERMINAL_PROGRESS_ACTIVE_SEQUENCE);
|
|
@@ -14260,6 +14339,10 @@ class TuiAltScreen extends TuiBase {
|
|
|
14260
14339
|
return false;
|
|
14261
14340
|
return this.copyTextToClipboard(text);
|
|
14262
14341
|
}
|
|
14342
|
+
resetTextSelection() {
|
|
14343
|
+
this.clearTextSelection();
|
|
14344
|
+
this.lastClick = undefined;
|
|
14345
|
+
}
|
|
14263
14346
|
getScreenLines() {
|
|
14264
14347
|
return [...this.previousScreen];
|
|
14265
14348
|
}
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
clampContextPercent,
|
|
6
6
|
getContextWindowSize
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-7avy4v8w.js";
|
|
8
8
|
import {
|
|
9
9
|
applyReasoningEffort
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-tmhsxhb8.js";
|
|
11
11
|
import {
|
|
12
12
|
swarmRuntimeInstanceId
|
|
13
13
|
} from "./cli-re8z5p8p.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
cursorCatalogRef,
|
|
32
32
|
init_src
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-014vns2y.js";
|
|
34
34
|
import {
|
|
35
35
|
init_secret_scrubber,
|
|
36
36
|
registerVolatileSecret,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
instantFlush,
|
|
6
6
|
requestSlackThreadSteering,
|
|
7
7
|
wasEventSeen
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-1yrcfa5s.js";
|
|
9
9
|
import {
|
|
10
10
|
enrichSlackUserEmail,
|
|
11
11
|
resolveSlackUserId,
|
|
12
12
|
rewriteSlackMentions
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-y0kjpfm9.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCreationBlockedError,
|
|
16
16
|
broadcastMatches,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
hasOtherUserMention,
|
|
24
24
|
notifySlackFileFailures,
|
|
25
25
|
routeMessage
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-wydz3feg.js";
|
|
27
27
|
import {
|
|
28
28
|
ackSlackMessage,
|
|
29
29
|
buildTreeBlocks,
|
|
30
30
|
ensureSlackThreadTree,
|
|
31
31
|
isSlackRenderV2Enabled,
|
|
32
32
|
registerTreeMessage
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-c8r99akr.js";
|
|
34
34
|
import {
|
|
35
35
|
getAgentById,
|
|
36
36
|
getAgentWorkingOnThread,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
isExtensionAgent,
|
|
44
44
|
reactionName,
|
|
45
45
|
slackContextKey
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-mkdsy1nq.js";
|
|
47
47
|
import {
|
|
48
48
|
init_resolver,
|
|
49
49
|
resolveTemplate
|