@visorcraft/idlehands 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-via-gateway-CPvgY5VA.js → agent-via-gateway-6jGL9ZRb.js} +1 -1
- package/dist/{agent-via-gateway-DvLTdMBj.js → agent-via-gateway-B7VYaDwI.js} +1 -1
- package/dist/{agent-via-gateway-OzQZlQpB.js → agent-via-gateway-D6SBbSiq.js} +7 -7
- package/dist/{agent-via-gateway-CTti0dK7.js → agent-via-gateway-hbF-h9TM.js} +2 -2
- package/dist/{agents-BEuHL8Zr.js → agents-BVYgk2uc.js} +4 -4
- package/dist/{agents.config-BDQ4Bu0B.js → agents.config-CKj37-g5.js} +1 -1
- package/dist/{agents.config-BjMP6yqX.js → agents.config-CcZ8kSaj.js} +1 -1
- package/dist/{anton-Dwp3KlQs.js → anton-B4KXAf54.js} +1 -1
- package/dist/{anton-C8SARtai.js → anton-BNzNY6Vh.js} +1 -1
- package/dist/{anton-F-OwKPyb.js → anton-C8M2UhOH.js} +1 -1
- package/dist/{anton-DCJl8crN.js → anton-DnEx8ryb.js} +1 -1
- package/dist/{audio-preflight-Dl_bdO0l.js → audio-preflight-CdQj55ox.js} +4 -4
- package/dist/{auth-choice-BHISFUGz.js → auth-choice-BAioGgge.js} +1 -1
- package/dist/{auth-choice-Dam79K-y.js → auth-choice-CWa45O0-.js} +1 -1
- package/dist/{banner-ascZEgmt.js → banner-BxyoIRj1.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{channel-options-CAfv1NVr.js → channel-options-Bo-oY1lo.js} +1 -1
- package/dist/{channel-options-BdjtX9_O.js → channel-options-D4Abu9ss.js} +1 -1
- package/dist/{channel-web-B23k1s4A.js → channel-web-CUcTJTDU.js} +2 -2
- package/dist/{channel-web-BZe8v7Di.js → channel-web-aUJWpYzV.js} +2 -2
- package/dist/{channels-cli-v8qMY1yM.js → channels-cli-B3mz1uK6.js} +7 -7
- package/dist/{channels-cli-Bfz9P0IR.js → channels-cli-CxSH3i2W.js} +7 -7
- package/dist/{chrome-Bip_1c2e.js → chrome-CfoCzQ7O.js} +9 -9
- package/dist/{cli-DyId4irC.js → cli-Bv7W1rAQ.js} +2 -2
- package/dist/{cli-HkluaDt1.js → cli-Lk-tSEzq.js} +2 -2
- package/dist/{command-registry-Bs5y1F2v.js → command-registry-Ct2rGje_.js} +10 -10
- package/dist/{completion-cli-BmHAqqY4.js → completion-cli-BVkper4z.js} +2 -2
- package/dist/{completion-cli-CGXtQf6t.js → completion-cli-D1Y9BqD8.js} +1 -1
- package/dist/{config-cli-CEehCZa0.js → config-cli-Cunf6ZG_.js} +1 -1
- package/dist/{config-cli-BdJDJv0a.js → config-cli-DhIGl8u2.js} +1 -1
- package/dist/{configure-C5087mSP.js → configure-BMuZGX8O.js} +3 -3
- package/dist/{configure-C44gmCt3.js → configure-CjZDdguE.js} +3 -3
- package/dist/{deliver-CO1v69YA.js → deliver-Dsgo26ZO.js} +1 -1
- package/dist/{deps-CchkM1ea.js → deps-B7PzlVAo.js} +1 -1
- package/dist/{deps-CfQJK6WP.js → deps-Bq61L28a.js} +1 -1
- package/dist/{deps-SgroTRjf.js → deps-BrSKLsz0.js} +1 -1
- package/dist/{deps-UTcCCmJ6.js → deps-DvFgwh2J.js} +1 -1
- package/dist/{doctor-completion-Cgl5S3K0.js → doctor-completion-CYeuHpzs.js} +1 -1
- package/dist/{doctor-completion-DsaJMlSu.js → doctor-completion-_mAeHEgR.js} +1 -1
- package/dist/{emergency-stop-B2KUQyt8.js → emergency-stop-CksdLPai.js} +7 -7
- package/dist/{emergency-stop-BCRW03p2.js → emergency-stop-Cl_1fWgA.js} +2 -2
- package/dist/{emergency-stop-DjURYr3Z.js → emergency-stop-DkALIxNO.js} +2 -2
- package/dist/{emergency-stop-CjVqAFw-.js → emergency-stop-Sq-9tUol.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-Cx3sGYvO.js → gateway-cli-BACWzti6.js} +9 -9
- package/dist/{gateway-cli-BmwR5tHy.js → gateway-cli-C-tj9UP3.js} +9 -9
- package/dist/{health-F0lUmHT3.js → health-BV8l2AT8.js} +1 -1
- package/dist/{health-DXbufVL-.js → health-CErhWLEK.js} +1 -1
- package/dist/{hooks-cli-6t3DpWin.js → hooks-cli-BHve1IFH.js} +3 -3
- package/dist/{hooks-cli-CsWYWkar.js → hooks-cli-CdUSadGW.js} +3 -3
- package/dist/{image-Cu288YpA.js → image-JsjsSvBI.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{models-awPyoUpk.js → models-CbuRFugK.js} +2 -2
- package/dist/{models-cli-CsA9GN5G.js → models-cli-BXFbPL8U.js} +3 -3
- package/dist/{models-cli-D_PfTekq.js → models-cli-DzuBGnWF.js} +4 -4
- package/dist/{npm-resolution-BKPKKKLt.js → npm-resolution-BJWOQq_k.js} +1 -1
- package/dist/{npm-resolution-BpQ2o-Eh.js → npm-resolution-BO02ImLM.js} +1 -1
- package/dist/{onboard-BiT3YReS.js → onboard-BafFvA78.js} +2 -2
- package/dist/{onboard-C9KRYbrH.js → onboard-DFxvWMZm.js} +2 -2
- package/dist/{onboard-channels-C6b-o1TK.js → onboard-channels-52aYyjLX.js} +1 -1
- package/dist/{onboard-channels-_XLjSBKm.js → onboard-channels-Dy6UoU78.js} +1 -1
- package/dist/{onboarding-BfAhtIYl.js → onboarding-BK5EH5Rn.js} +3 -3
- package/dist/{onboarding-By12Oyni.js → onboarding-CqPkGVMr.js} +3 -3
- package/dist/{onboarding.finalize-yL217Gdr.js → onboarding.finalize-B58yHwhW.js} +6 -6
- package/dist/{onboarding.finalize-CAgcobAs.js → onboarding.finalize-BMRt8s2a.js} +7 -7
- package/dist/{pi-embedded-BfPWx2YM.js → pi-embedded-DQpyqnA8.js} +47 -32
- package/dist/{pi-embedded-tWfE4dVB.js → pi-embedded-Dn4hfyZ7.js} +32 -17
- package/dist/{pi-embedded-helpers-Ts8Hdurw.js → pi-embedded-helpers-i5nHSWCq.js} +4 -4
- package/dist/{plugin-registry-7DC8-ZZJ.js → plugin-registry-BIerZvsa.js} +1 -1
- package/dist/{plugin-registry-ZgC7HA0z.js → plugin-registry-C_B5M53b.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-C9v2r0O2.js → agent-via-gateway-VUne26H_.js} +2 -2
- package/dist/plugin-sdk/{anton-7I_gkw4v.js → anton-Dc7P4F4R.js} +1 -1
- package/dist/plugin-sdk/{channel-web-B7qyJbrs.js → channel-web-ineTToqd.js} +2 -2
- package/dist/plugin-sdk/{deps-Gj9jRY77.js → deps-D39VXTRX.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-B7_VgSkO.js → emergency-stop-CY_hnUVd.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-nvcQV3Q_.js → reply-RRDB8Hr7.js} +32 -17
- package/dist/plugin-sdk/{web-BzOC1x6m.js → web-Bxlapohg.js} +3 -3
- package/dist/{plugins-cli-kePQvJ9L.js → plugins-cli-BM3apx3Z.js} +3 -3
- package/dist/{plugins-cli-DACLE21S.js → plugins-cli-CD34Zewk.js} +3 -3
- package/dist/{program-context-j94K3IXR.js → program-context-Bl64JzxU.js} +18 -18
- package/dist/{program-VV9u5uPU.js → program-hlrBo5Ce.js} +8 -8
- package/dist/{prompt-select-styled-BH51ROGD.js → prompt-select-styled-BAYe1OqG.js} +4 -4
- package/dist/{prompt-select-styled-BSqCn36X.js → prompt-select-styled-f40iKGOp.js} +4 -4
- package/dist/{provider-auth-helpers-BAB3PaaB.js → provider-auth-helpers-51CT-Q-Q.js} +1 -1
- package/dist/{provider-auth-helpers-DMSF8Mhq.js → provider-auth-helpers-BIbY8IHT.js} +1 -1
- package/dist/{push-apns-Cou7KeCj.js → push-apns-DGYpjf9d.js} +1 -1
- package/dist/{push-apns-CGUwMKT-.js → push-apns-fdjNrWTc.js} +1 -1
- package/dist/{pw-ai-YklTVbF6.js → pw-ai-CX1qce0j.js} +1 -1
- package/dist/{register.agent-ColbJEk3.js → register.agent-DM9zMka2.js} +8 -8
- package/dist/{register.agent-YCGBKv-d.js → register.agent-QXLalAr7.js} +9 -9
- package/dist/{register.configure-CfUo6nvs.js → register.configure-C6yu81ji.js} +8 -8
- package/dist/{register.configure-C5g7670Q.js → register.configure-DYbl1myH.js} +8 -8
- package/dist/{register.maintenance-CBNoQia-.js → register.maintenance-B5s6APwg.js} +9 -9
- package/dist/{register.maintenance-53FGiO0K.js → register.maintenance-BmKpPkIS.js} +8 -8
- package/dist/{register.message-CaFp4DAP.js → register.message-DVc5XVAt.js} +3 -3
- package/dist/{register.message-0nKlUSrH.js → register.message-DonrN0cy.js} +3 -3
- package/dist/{register.onboard-B9IJ3wUe.js → register.onboard-BE31mSHh.js} +2 -2
- package/dist/{register.onboard-B3NgvEwe.js → register.onboard-lHuw_CER.js} +2 -2
- package/dist/{register.orchestrator-anton-Cxnh52UP.js → register.orchestrator-anton-CVNuKUWS.js} +2 -2
- package/dist/{register.orchestrator-anton-HIi6nBvo.js → register.orchestrator-anton-Dgbr0yM1.js} +2 -2
- package/dist/{register.setup-y7C2w79N.js → register.setup-BudIJsJc.js} +2 -2
- package/dist/{register.setup-DyxAeyO2.js → register.setup-DNlkNa0X.js} +2 -2
- package/dist/{register.status-health-sessions-5wREP3Tq.js → register.status-health-sessions-DuMxtV8K.js} +4 -4
- package/dist/{register.status-health-sessions-DbzCxLhd.js → register.status-health-sessions-nhSLVQw7.js} +4 -4
- package/dist/{register.subclis-BEDdoF6M.js → register.subclis-Bnq9Bi9p.js} +9 -9
- package/dist/{reply-vDM22Gez.js → reply-DUE8raq5.js} +32 -17
- package/dist/{run-main-BKjpcqq8.js → run-main-D7FJSKGA.js} +15 -15
- package/dist/{runner-upvvkv9R.js → runner-DG_xf5vi.js} +1 -1
- package/dist/{server-node-events-CraqSZJR.js → server-node-events-CLq5E5Db.js} +3 -3
- package/dist/{server-node-events-B7IQ1nzZ.js → server-node-events-DhFplzWZ.js} +3 -3
- package/dist/{status-ZUnD4Pgf.js → status-CsNXMHzO.js} +2 -2
- package/dist/{status-D9fTji6b.js → status-CyzO0TGy.js} +2 -2
- package/dist/{subagent-registry-l7V3IoLe.js → subagent-registry-DW1LK5cG.js} +32 -17
- package/dist/{update-cli-D02DhEE9.js → update-cli-CtsLbpQq.js} +9 -9
- package/dist/{update-cli-CMn89gww.js → update-cli-DEMtHXm1.js} +8 -8
- package/dist/{update-runner-C44em-38.js → update-runner-DpD5VBHi.js} +1 -1
- package/dist/{update-runner-BSsZSlwa.js → update-runner-ybEXKv6M.js} +1 -1
- package/dist/{web-CiVRDtta.js → web-C-13ua3w.js} +3 -3
- package/dist/{web-bCfwH31U.js → web-CI1Ye0j8.js} +3 -3
- package/dist/{web-Dkl33QN0.js → web-Da5eWC4p.js} +3 -3
- package/dist/{web-DLIXLq_L.js → web-SvfucU2_.js} +8 -8
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
4
4
|
import { r as listAgentIds } from "./agent-scope-mLXQGQde.js";
|
|
5
5
|
import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-Qpj4ExtQ.js";
|
|
7
|
-
import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-
|
|
7
|
+
import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-DW1LK5cG.js";
|
|
8
8
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-B9uIa0hd.js";
|
|
9
9
|
import { n as withProgress } from "./progress-B76RkFx7.js";
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-
|
|
2
|
+
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-DUE8raq5.js";
|
|
3
3
|
import { r as listAgentIds } from "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
5
5
|
import { It as loadConfig } from "./model-selection-BzMkl275.js";
|
|
@@ -11,14 +11,14 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
|
11
11
|
import "./env-BpvqFD5n.js";
|
|
12
12
|
import "./dock-QcCdS4qA.js";
|
|
13
13
|
import "./tokens-Cg4XNE3H.js";
|
|
14
|
-
import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-
|
|
14
|
+
import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-DQpyqnA8.js";
|
|
15
15
|
import "./plugins-D-_jp4FO.js";
|
|
16
16
|
import "./accounts-BwrguHMw.js";
|
|
17
17
|
import "./bindings-hT7SPhiA.js";
|
|
18
18
|
import "./auth-store-D1JaYlig.js";
|
|
19
19
|
import "./send-p_pDuU90.js";
|
|
20
20
|
import "./send-Cro3WBC4.js";
|
|
21
|
-
import "./deliver-
|
|
21
|
+
import "./deliver-Dsgo26ZO.js";
|
|
22
22
|
import "./diagnostic-jHCdo9Am.js";
|
|
23
23
|
import "./diagnostic-session-state-Bx2Le86J.js";
|
|
24
24
|
import "./accounts-BRVjft5i.js";
|
|
@@ -26,8 +26,8 @@ import "./send-CtNJPR6u.js";
|
|
|
26
26
|
import "./image-ops-BDG-MYYV.js";
|
|
27
27
|
import "./pi-model-discovery-BwF_em5R.js";
|
|
28
28
|
import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-DqqfOIdx.js";
|
|
29
|
-
import "./pi-embedded-helpers-
|
|
30
|
-
import "./chrome-
|
|
29
|
+
import "./pi-embedded-helpers-i5nHSWCq.js";
|
|
30
|
+
import "./chrome-CfoCzQ7O.js";
|
|
31
31
|
import "./ssrf-DappnhDp.js";
|
|
32
32
|
import "./skills-BRqZp2IE.js";
|
|
33
33
|
import "./path-alias-guards-CGbCFqW8.js";
|
|
@@ -40,7 +40,7 @@ import "./accounts-CBoBCTgA.js";
|
|
|
40
40
|
import "./paths-vOrMwCEQ.js";
|
|
41
41
|
import "./tool-images-CpZSs-zE.js";
|
|
42
42
|
import "./thinking-BFsWfunr.js";
|
|
43
|
-
import "./image-
|
|
43
|
+
import "./image-JsjsSvBI.js";
|
|
44
44
|
import "./manager-B9Q7jxHQ.js";
|
|
45
45
|
import "./gemini-auth-G-whJIrc.js";
|
|
46
46
|
import "./fetch-guard-BdCPmLBP.js";
|
|
@@ -54,7 +54,7 @@ import "./ir-BwkcXPZC.js";
|
|
|
54
54
|
import "./render-Ddkk6wf8.js";
|
|
55
55
|
import "./commands-registry-DBT-IMwk.js";
|
|
56
56
|
import "./skill-commands-rG2AXHaN.js";
|
|
57
|
-
import "./runner-
|
|
57
|
+
import "./runner-DG_xf5vi.js";
|
|
58
58
|
import "./fetch-ChVgjTkv.js";
|
|
59
59
|
import "./channel-activity-C3LJmSjf.js";
|
|
60
60
|
import "./tables-CJKtUpY0.js";
|
|
@@ -64,7 +64,7 @@ import "./send-CIr3q6Nq.js";
|
|
|
64
64
|
import "./resolve-route-BI3VjtwE.js";
|
|
65
65
|
import "./proxy-CNZpb4NE.js";
|
|
66
66
|
import "./replies-B7WhS1HA.js";
|
|
67
|
-
import "./deps-
|
|
67
|
+
import "./deps-B7PzlVAo.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
70
70
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -12,7 +12,7 @@ import "./boolean-CE7i9tBR.js";
|
|
|
12
12
|
import "./env-B5G1qwGc.js";
|
|
13
13
|
import "./dock-BgOmHcbh.js";
|
|
14
14
|
import "./tokens-BRLyURxW.js";
|
|
15
|
-
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-
|
|
15
|
+
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-Dn4hfyZ7.js";
|
|
16
16
|
import "./plugins-CRB60mCJ.js";
|
|
17
17
|
import "./accounts-Dk8mJIrQ.js";
|
|
18
18
|
import "./bindings-D3b5Fmc9.js";
|
|
@@ -67,7 +67,7 @@ import "./send-Ce_lAnef.js";
|
|
|
67
67
|
import "./resolve-route-DuttYY7A.js";
|
|
68
68
|
import "./proxy-CRB9oCP5.js";
|
|
69
69
|
import "./replies-uBXwI7WM.js";
|
|
70
|
-
import "./deps-
|
|
70
|
+
import "./deps-DvFgwh2J.js";
|
|
71
71
|
|
|
72
72
|
//#region src/commands/agent-via-gateway.ts
|
|
73
73
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -6,18 +6,18 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
6
6
|
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
7
7
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-B9ePuoPx.js";
|
|
8
8
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CCrfZ49T.js";
|
|
9
|
-
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-
|
|
9
|
+
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-DW1LK5cG.js";
|
|
10
10
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-CC17i2eK.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-_Uk9P3FF.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CIyuenBU.js";
|
|
15
15
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-Cs3OgfGw.js";
|
|
16
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-CcZ8kSaj.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-52aYyjLX.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kycZqH8q.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BAioGgge.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-DUE8raq5.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
3
3
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
|
|
3
|
-
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-DW1LK5cG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -552,7 +552,7 @@ async function loadAntonConfig() {
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
async function runAgentTask(args) {
|
|
555
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
555
|
+
const { agentCliCommand } = await import("./agent-via-gateway-B7VYaDwI.js").then((n) => n.n);
|
|
556
556
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
557
557
|
const result = await agentCliCommand({
|
|
558
558
|
message: args.message,
|
|
@@ -545,7 +545,7 @@ async function loadAntonConfig() {
|
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
async function runAgentTask(args) {
|
|
548
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
548
|
+
const { agentCliCommand } = await import("./agent-via-gateway-hbF-h9TM.js");
|
|
549
549
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
550
550
|
const result = await agentCliCommand({
|
|
551
551
|
message: args.message,
|
|
@@ -552,7 +552,7 @@ async function loadAntonConfig() {
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
async function runAgentTask(args) {
|
|
555
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
555
|
+
const { agentCliCommand } = await import("./agent-via-gateway-6jGL9ZRb.js").then((n) => n.n);
|
|
556
556
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
557
557
|
const result = await agentCliCommand({
|
|
558
558
|
message: args.message,
|
|
@@ -545,7 +545,7 @@ async function loadAntonConfig() {
|
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
async function runAgentTask(args) {
|
|
548
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
548
|
+
const { agentCliCommand } = await import("./agent-via-gateway-D6SBbSiq.js");
|
|
549
549
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
550
550
|
const result = await agentCliCommand({
|
|
551
551
|
message: args.message,
|
|
@@ -15,8 +15,8 @@ import "./accounts-BRVjft5i.js";
|
|
|
15
15
|
import "./image-ops-BDG-MYYV.js";
|
|
16
16
|
import "./pi-model-discovery-BwF_em5R.js";
|
|
17
17
|
import "./message-channel-DqqfOIdx.js";
|
|
18
|
-
import "./pi-embedded-helpers-
|
|
19
|
-
import "./chrome-
|
|
18
|
+
import "./pi-embedded-helpers-i5nHSWCq.js";
|
|
19
|
+
import "./chrome-CfoCzQ7O.js";
|
|
20
20
|
import "./ssrf-DappnhDp.js";
|
|
21
21
|
import "./skills-BRqZp2IE.js";
|
|
22
22
|
import "./path-alias-guards-CGbCFqW8.js";
|
|
@@ -29,11 +29,11 @@ import "./accounts-CBoBCTgA.js";
|
|
|
29
29
|
import "./paths-vOrMwCEQ.js";
|
|
30
30
|
import "./tool-images-CpZSs-zE.js";
|
|
31
31
|
import "./thinking-BFsWfunr.js";
|
|
32
|
-
import "./image-
|
|
32
|
+
import "./image-JsjsSvBI.js";
|
|
33
33
|
import "./gemini-auth-G-whJIrc.js";
|
|
34
34
|
import "./fetch-guard-BdCPmLBP.js";
|
|
35
35
|
import "./local-roots-BnWzOrXv.js";
|
|
36
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
36
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-DG_xf5vi.js";
|
|
37
37
|
|
|
38
38
|
//#region src/media-understanding/audio-preflight.ts
|
|
39
39
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DhBQWADs.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-_Uk9P3FF.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-VKkQFfeD.js";
|
|
8
8
|
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-Dg9vclI_.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-51CT-Q-Q.js";
|
|
10
10
|
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-CdAketGR.js";
|
|
11
11
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-BbYlCp0u.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-6G4lLHXK.js";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DqObBjh3.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-Blxjx6R6.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-BTAmDMjv.js";
|
|
8
8
|
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-Bry7XspO.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BIbY8IHT.js";
|
|
10
10
|
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-CTCJdL4X.js";
|
|
11
11
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-DE2XxWXP.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-CDFxd1-T.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { St as theme, g as visibleWidth, sn as hasRootVersionAlias, xt as isRich } from "./entry.js";
|
|
2
|
-
import { Tn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { Tn as resolveCommitHash } from "./subagent-registry-DW1LK5cG.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one IdleHands.";
|
package/dist/build-info.json
CHANGED
|
@@ -11,7 +11,7 @@ import "../../boolean-CE7i9tBR.js";
|
|
|
11
11
|
import "../../env-B5G1qwGc.js";
|
|
12
12
|
import "../../dock-BgOmHcbh.js";
|
|
13
13
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-BRLyURxW.js";
|
|
14
|
-
import { a as agentCommand } from "../../pi-embedded-
|
|
14
|
+
import { a as agentCommand } from "../../pi-embedded-Dn4hfyZ7.js";
|
|
15
15
|
import "../../plugins-CRB60mCJ.js";
|
|
16
16
|
import "../../accounts-Dk8mJIrQ.js";
|
|
17
17
|
import "../../bindings-D3b5Fmc9.js";
|
|
@@ -66,7 +66,7 @@ import "../../send-Ce_lAnef.js";
|
|
|
66
66
|
import "../../resolve-route-DuttYY7A.js";
|
|
67
67
|
import "../../proxy-CRB9oCP5.js";
|
|
68
68
|
import "../../replies-uBXwI7WM.js";
|
|
69
|
-
import { t as createDefaultDeps } from "../../deps-
|
|
69
|
+
import { t as createDefaultDeps } from "../../deps-DvFgwh2J.js";
|
|
70
70
|
import fs from "node:fs/promises";
|
|
71
71
|
import path from "node:path";
|
|
72
72
|
import crypto from "node:crypto";
|
|
@@ -11,7 +11,7 @@ import "../../boolean-CE7i9tBR.js";
|
|
|
11
11
|
import "../../env-B5G1qwGc.js";
|
|
12
12
|
import "../../dock-BgOmHcbh.js";
|
|
13
13
|
import "../../tokens-BRLyURxW.js";
|
|
14
|
-
import "../../pi-embedded-
|
|
14
|
+
import "../../pi-embedded-Dn4hfyZ7.js";
|
|
15
15
|
import "../../plugins-CRB60mCJ.js";
|
|
16
16
|
import "../../accounts-Dk8mJIrQ.js";
|
|
17
17
|
import "../../bindings-D3b5Fmc9.js";
|
|
@@ -66,7 +66,7 @@ import "../../send-Ce_lAnef.js";
|
|
|
66
66
|
import "../../resolve-route-DuttYY7A.js";
|
|
67
67
|
import "../../proxy-CRB9oCP5.js";
|
|
68
68
|
import "../../replies-uBXwI7WM.js";
|
|
69
|
-
import "../../deps-
|
|
69
|
+
import "../../deps-DvFgwh2J.js";
|
|
70
70
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
71
71
|
import { t as resolveHookConfig } from "../../config-BsP4lHEP.js";
|
|
72
72
|
import fs from "node:fs/promises";
|
|
@@ -2,7 +2,7 @@ import { f as CHAT_CHANNEL_ORDER } from "./subsystem-CGZX2PBV.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-Bx-F45X5.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-D46VZh7u.js";
|
|
4
4
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-DyNeRjEL.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-C_B5M53b.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isTruthyEnvValue, v as CHAT_CHANNEL_ORDER } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-CCrfZ49T.js";
|
|
3
3
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-Bqk5Vib2.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BIerZvsa.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as sleep, F as shouldLogVerbose, M as logVerbose, T as toWhatsappJid, V as getChildLogger, f as isSelfChatMode, m as normalizeE164, p as jidToE164, r as clamp, v as resolveJidToE164 } from "./utils-CXzXXV2o.js";
|
|
2
|
-
import { Cr as enqueueSystemEvent, Dn as createDedupeCache, On as hasControlCommand, Ot as computeBackoff, Sn as resolveEnvelopeFormatOptions, Sr as normalizeMentionText, _n as dispatchReplyWithBufferedBlockDispatcher, _t as normalizeGroupActivation, bn as resolveInboundDebounceMs, cn as buildPairingReply, dn as buildHistoryContextFromEntries, fn as recordPendingHistoryEntryIfEnabled, gn as shouldAckReactionForWhatsApp, hn as warnMissingProviderGroupPolicyFallbackOnce, kn as shouldComputeCommandAuthorized, kt as sleepWithAbort, ln as resolveMentionGating, mn as resolveOpenProviderRuntimeGroupPolicy, pn as resolveDefaultGroupPolicy, t as getReplyFromConfig, un as DEFAULT_GROUP_HISTORY_LIMIT, vt as parseActivationCommand, xn as formatInboundEnvelope, xr as buildMentionRegexes, yn as createInboundDebouncer } from "./reply-
|
|
2
|
+
import { Cr as enqueueSystemEvent, Dn as createDedupeCache, On as hasControlCommand, Ot as computeBackoff, Sn as resolveEnvelopeFormatOptions, Sr as normalizeMentionText, _n as dispatchReplyWithBufferedBlockDispatcher, _t as normalizeGroupActivation, bn as resolveInboundDebounceMs, cn as buildPairingReply, dn as buildHistoryContextFromEntries, fn as recordPendingHistoryEntryIfEnabled, gn as shouldAckReactionForWhatsApp, hn as warnMissingProviderGroupPolicyFallbackOnce, kn as shouldComputeCommandAuthorized, kt as sleepWithAbort, ln as resolveMentionGating, mn as resolveOpenProviderRuntimeGroupPolicy, pn as resolveDefaultGroupPolicy, t as getReplyFromConfig, un as DEFAULT_GROUP_HISTORY_LIMIT, vt as parseActivationCommand, xn as formatInboundEnvelope, xr as buildMentionRegexes, yn as createInboundDebouncer } from "./reply-DUE8raq5.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
5
5
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
@@ -819,7 +819,7 @@ async function monitorWebInbox(options) {
|
|
|
819
819
|
};
|
|
820
820
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
821
821
|
if (stopText) {
|
|
822
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
822
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DkALIxNO.js");
|
|
823
823
|
if (isAbortRequestText(stopText)) {
|
|
824
824
|
const { loadConfig: loadCfg } = await import("./model-selection-BzMkl275.js").then((n) => n.Mt);
|
|
825
825
|
const { resolveAgentRoute } = await import("./resolve-route-D_AbcmD6.js").then((n) => n.r);
|
|
@@ -7,7 +7,7 @@ import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy
|
|
|
7
7
|
import { c as loadSessionStore, d as recordSessionMetaFromInbound, h as updateLastRoute, lt as resolveGroupSessionKey, u as readSessionUpdatedAt } from "./sessions-C1PbgPkg.js";
|
|
8
8
|
import { i as resolveWhatsAppAccount } from "./accounts-nuNP3OfB.js";
|
|
9
9
|
import { l as readWebSelfId, n as getWebAuthAgeMs } from "./auth-store-D9BmR4S6.js";
|
|
10
|
-
import { $ as createDedupeCache, B as resolveDefaultGroupPolicy, C as computeBackoff, En as enqueueSystemEvent, F as buildPairingReply, H as warnMissingProviderGroupPolicyFallbackOnce, I as resolveMentionGating, J as formatInboundEnvelope, K as createInboundDebouncer, L as DEFAULT_GROUP_HISTORY_LIMIT, R as buildHistoryContextFromEntries, U as shouldAckReactionForWhatsApp, V as resolveOpenProviderRuntimeGroupPolicy, W as dispatchReplyWithBufferedBlockDispatcher, Xn as shouldComputeCommandAuthorized, Y as resolveEnvelopeFormatOptions, Yn as hasControlCommand, er as buildMentionRegexes, et as getReplyFromConfig, mn as parseActivationCommand, pn as normalizeGroupActivation, q as resolveInboundDebounceMs, tr as normalizeMentionText, w as sleepWithAbort, z as recordPendingHistoryEntryIfEnabled } from "./subagent-registry-
|
|
10
|
+
import { $ as createDedupeCache, B as resolveDefaultGroupPolicy, C as computeBackoff, En as enqueueSystemEvent, F as buildPairingReply, H as warnMissingProviderGroupPolicyFallbackOnce, I as resolveMentionGating, J as formatInboundEnvelope, K as createInboundDebouncer, L as DEFAULT_GROUP_HISTORY_LIMIT, R as buildHistoryContextFromEntries, U as shouldAckReactionForWhatsApp, V as resolveOpenProviderRuntimeGroupPolicy, W as dispatchReplyWithBufferedBlockDispatcher, Xn as shouldComputeCommandAuthorized, Y as resolveEnvelopeFormatOptions, Yn as hasControlCommand, er as buildMentionRegexes, et as getReplyFromConfig, mn as parseActivationCommand, pn as normalizeGroupActivation, q as resolveInboundDebounceMs, tr as normalizeMentionText, w as sleepWithAbort, z as recordPendingHistoryEntryIfEnabled } from "./subagent-registry-DW1LK5cG.js";
|
|
11
11
|
import { u as resolveStorePath } from "./paths-CC17i2eK.js";
|
|
12
12
|
import { K as formatLocationText, q as toLocationContext } from "./send-D2eoLkFV.js";
|
|
13
13
|
import { r as saveMediaBuffer } from "./store-a6R4X6WX.js";
|
|
@@ -818,7 +818,7 @@ async function monitorWebInbox(options) {
|
|
|
818
818
|
};
|
|
819
819
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
820
820
|
if (stopText) {
|
|
821
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
821
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Cl_1fWgA.js");
|
|
822
822
|
if (isAbortRequestText(stopText)) {
|
|
823
823
|
const { loadConfig: loadCfg } = await import("./auth-profiles-02PVCKaE.js").then((n) => n.D);
|
|
824
824
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, d as isRecord } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { bt as formatUsageReportLines, gt as deleteTelegramUpdateOffset, yt as loadProviderUsageSummary } from "./reply-
|
|
4
|
+
import { bt as formatUsageReportLines, gt as deleteTelegramUpdateOffset, yt as loadProviderUsageSummary } from "./reply-DUE8raq5.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -105,7 +105,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
105
105
|
import "./replies-Bt95GAew.js";
|
|
106
106
|
import "./skill-commands-23SP2OFQ.js";
|
|
107
107
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
108
|
-
import "./deps-
|
|
108
|
+
import "./deps-BrSKLsz0.js";
|
|
109
109
|
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-DyNeRjEL.js";
|
|
110
110
|
import { n as resolveMessageChannelSelection } from "./channel-selection-ZxRkxpuF.js";
|
|
111
111
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -118,25 +118,25 @@ import "./pairing-labels-DWdqhnXA.js";
|
|
|
118
118
|
import "./server-lifecycle-DMOhxIYC.js";
|
|
119
119
|
import "./stagger-rQoQSWkz.js";
|
|
120
120
|
import "./system-run-command-P86Xjnl8.js";
|
|
121
|
-
import "./channel-web-
|
|
121
|
+
import "./channel-web-CUcTJTDU.js";
|
|
122
122
|
import "./outbound-ND4beS15.js";
|
|
123
123
|
import "./session-CdnrRhb4.js";
|
|
124
124
|
import "./login-DR5g-xWe.js";
|
|
125
|
-
import "./plugin-registry-
|
|
126
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
125
|
+
import "./plugin-registry-C_B5M53b.js";
|
|
126
|
+
import { t as formatCliChannelOptions } from "./channel-options-Bo-oY1lo.js";
|
|
127
127
|
import { t as hasExplicitOptions } from "./command-options-D4MmqoOd.js";
|
|
128
128
|
import { n as moveSingleAccountChannelSectionToDefaultAccount } from "./api-DK3_W0VC.js";
|
|
129
129
|
import "./note-69EfBEU-.js";
|
|
130
130
|
import { t as createClackPrompter } from "./clack-prompter-CvbZsmjW.js";
|
|
131
131
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
132
132
|
import { i as describeBinding, n as applyAgentBindings, t as requireValidConfigSnapshot } from "./config-validation-Bvnac3cR.js";
|
|
133
|
-
import { n as buildAgentSummaries } from "./agents.config-
|
|
133
|
+
import { n as buildAgentSummaries } from "./agents.config-CKj37-g5.js";
|
|
134
134
|
import "./enable-BTAmDMjv.js";
|
|
135
135
|
import "./install-safe-path-ChNR9pl6.js";
|
|
136
136
|
import "./npm-registry-spec-BCbbfIhX.js";
|
|
137
137
|
import "./skill-scanner-D7mzXRXd.js";
|
|
138
138
|
import "./installs-CNubze2L.js";
|
|
139
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
139
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-Dy6UoU78.js";
|
|
140
140
|
import { t as buildChannelAccountSnapshot } from "./status-D8Z2uvBM.js";
|
|
141
141
|
import { t as parseLogLine } from "./parse-log-line-Csn1jHbq.js";
|
|
142
142
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CDpWjdI3.js";
|
|
@@ -27,7 +27,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
27
27
|
import "./auth-store-D9BmR4S6.js";
|
|
28
28
|
import { i as createSlackWebClient } from "./send-CuXAB8LA.js";
|
|
29
29
|
import { $ as fetchChannelPermissionsDiscord, it as parseDiscordTarget } from "./send-lf9ld4To.js";
|
|
30
|
-
import { gn as formatUsageReportLines, hn as loadProviderUsageSummary, v as deleteTelegramUpdateOffset } from "./subagent-registry-
|
|
30
|
+
import { gn as formatUsageReportLines, hn as loadProviderUsageSummary, v as deleteTelegramUpdateOffset } from "./subagent-registry-DW1LK5cG.js";
|
|
31
31
|
import "./paths-CC17i2eK.js";
|
|
32
32
|
import "./chat-envelope-Dedaetiq.js";
|
|
33
33
|
import "./client-udFMSDes.js";
|
|
@@ -111,12 +111,12 @@ import { n as runCommandWithRuntime } from "./cli-utils-BfsDuRZS.js";
|
|
|
111
111
|
import { t as formatHelpExamples } from "./help-format-CldHB7lS.js";
|
|
112
112
|
import { n as withProgress } from "./progress-B76RkFx7.js";
|
|
113
113
|
import "./replies-CmTF3tWU.js";
|
|
114
|
-
import "./deps-
|
|
114
|
+
import "./deps-Bq61L28a.js";
|
|
115
115
|
import "./onboard-helpers-_Uk9P3FF.js";
|
|
116
116
|
import "./prompt-style-XmK49QYK.js";
|
|
117
117
|
import "./pairing-labels-CLdV_RlM.js";
|
|
118
118
|
import "./outbound-DQ6Daf8g.js";
|
|
119
|
-
import "./channel-web-
|
|
119
|
+
import "./channel-web-aUJWpYzV.js";
|
|
120
120
|
import "./session-BVsrroox.js";
|
|
121
121
|
import "./login-BjVdIGIS.js";
|
|
122
122
|
import { t as hasExplicitOptions } from "./command-options-CK65DMbR.js";
|
|
@@ -125,18 +125,18 @@ import "./note-C2HHth6G.js";
|
|
|
125
125
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
126
126
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CIyuenBU.js";
|
|
127
127
|
import { i as describeBinding, n as applyAgentBindings, t as requireValidConfigSnapshot } from "./config-validation-Cs3OgfGw.js";
|
|
128
|
-
import { n as buildAgentSummaries } from "./agents.config-
|
|
128
|
+
import { n as buildAgentSummaries } from "./agents.config-CcZ8kSaj.js";
|
|
129
129
|
import "./enable-VKkQFfeD.js";
|
|
130
130
|
import "./install-safe-path-C7y57-yb.js";
|
|
131
131
|
import "./npm-registry-spec-BlFqJFsA.js";
|
|
132
132
|
import "./skill-scanner-CdLElD51.js";
|
|
133
133
|
import "./installs-8aQVDSI0.js";
|
|
134
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
134
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-52aYyjLX.js";
|
|
135
135
|
import { t as buildChannelAccountSnapshot } from "./status-CzZ2Nnqd.js";
|
|
136
136
|
import { t as parseLogLine } from "./parse-log-line-yhomxGjM.js";
|
|
137
137
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Bi00z1aP.js";
|
|
138
|
-
import "./plugin-registry-
|
|
139
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
138
|
+
import "./plugin-registry-BIerZvsa.js";
|
|
139
|
+
import { t as formatCliChannelOptions } from "./channel-options-D4Abu9ss.js";
|
|
140
140
|
import fs from "node:fs/promises";
|
|
141
141
|
|
|
142
142
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -13,7 +13,7 @@ import { execFileSync, spawn } from "node:child_process";
|
|
|
13
13
|
import { createHmac } from "node:crypto";
|
|
14
14
|
import net from "node:net";
|
|
15
15
|
import { createServer } from "node:http";
|
|
16
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
16
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
17
17
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
18
18
|
|
|
19
19
|
//#region src/browser/constants.ts
|
|
@@ -398,7 +398,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
398
398
|
let extensionWs = null;
|
|
399
399
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
400
400
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
401
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
401
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
402
402
|
let extensionDisconnectCleanupTimer = null;
|
|
403
403
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
404
404
|
const flushExtensionReconnectWaiters = (connected) => {
|
|
@@ -449,7 +449,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
449
449
|
let nextExtensionId = 1;
|
|
450
450
|
const sendToExtension = async (payload) => {
|
|
451
451
|
const ws = extensionWs;
|
|
452
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
452
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
453
453
|
ws.send(JSON.stringify(payload));
|
|
454
454
|
return await new Promise((resolve, reject) => {
|
|
455
455
|
const timer = setTimeout(() => {
|
|
@@ -466,12 +466,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
466
466
|
const broadcastToCdpClients = (evt) => {
|
|
467
467
|
const msg = JSON.stringify(evt);
|
|
468
468
|
for (const ws of cdpClients) {
|
|
469
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
469
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
470
470
|
ws.send(msg);
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
473
|
const sendResponseToCdp = (ws, res) => {
|
|
474
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
474
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
475
475
|
ws.send(JSON.stringify(res));
|
|
476
476
|
};
|
|
477
477
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -681,7 +681,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
681
681
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
682
682
|
return;
|
|
683
683
|
}
|
|
684
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
684
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
685
685
|
try {
|
|
686
686
|
extensionWs.terminate();
|
|
687
687
|
} catch {}
|
|
@@ -718,7 +718,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
718
718
|
clearExtensionDisconnectCleanupTimer();
|
|
719
719
|
flushExtensionReconnectWaiters(true);
|
|
720
720
|
const ping = setInterval(() => {
|
|
721
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
721
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
722
722
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
723
723
|
}, 5e3);
|
|
724
724
|
ws.on("message", (data) => {
|
|
@@ -1060,7 +1060,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
1062
1062
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1063
|
-
const ws = new WebSocket(wsUrl, {
|
|
1063
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1064
1064
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
1065
1065
|
...Object.keys(headers).length ? { headers } : {}
|
|
1066
1066
|
});
|
|
@@ -1986,7 +1986,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1986
1986
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1987
1987
|
return await new Promise((resolve) => {
|
|
1988
1988
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1989
|
-
const ws = new WebSocket(wsUrl, {
|
|
1989
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1990
1990
|
handshakeTimeout: timeoutMs,
|
|
1991
1991
|
...Object.keys(headers).length ? { headers } : {}
|
|
1992
1992
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { ht as loadIdleHandsPlugins } from "./reply-
|
|
4
|
+
import { ht as loadIdleHandsPlugins } from "./reply-DUE8raq5.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import "./runtime-44j_X4Y6.js";
|
|
@@ -102,7 +102,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
102
102
|
import "./replies-Bt95GAew.js";
|
|
103
103
|
import "./skill-commands-23SP2OFQ.js";
|
|
104
104
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
105
|
-
import "./deps-
|
|
105
|
+
import "./deps-BrSKLsz0.js";
|
|
106
106
|
import "./plugin-auto-enable-DyNeRjEL.js";
|
|
107
107
|
import "./channel-selection-ZxRkxpuF.js";
|
|
108
108
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
25
25
|
import "./auth-store-D9BmR4S6.js";
|
|
26
26
|
import "./send-CuXAB8LA.js";
|
|
27
27
|
import "./send-lf9ld4To.js";
|
|
28
|
-
import { _ as loadIdleHandsPlugins } from "./subagent-registry-
|
|
28
|
+
import { _ as loadIdleHandsPlugins } from "./subagent-registry-DW1LK5cG.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-udFMSDes.js";
|
|
@@ -108,7 +108,7 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
108
108
|
import "./help-format-CldHB7lS.js";
|
|
109
109
|
import "./progress-B76RkFx7.js";
|
|
110
110
|
import "./replies-CmTF3tWU.js";
|
|
111
|
-
import "./deps-
|
|
111
|
+
import "./deps-Bq61L28a.js";
|
|
112
112
|
import "./onboard-helpers-_Uk9P3FF.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-CLdV_RlM.js";
|