@visorcraft/idlehands 4.2.3 → 4.2.4
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/{accounts-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.js} +1 -1
- package/dist/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-via-gateway-BtMWCqx4.js → agent-via-gateway-CugFJzVP.js} +2 -2
- package/dist/{agent-via-gateway-BsTP4WyI.js → agent-via-gateway-DG8Axzn2.js} +60 -60
- package/dist/{agent-via-gateway-9aP1U_YQ.js → agent-via-gateway-DwRsFLFS.js} +1 -1
- package/dist/{agent-via-gateway-BN0HMYd7.js → agent-via-gateway-VdG-s4L4.js} +1 -1
- package/dist/{agents-Bitc3LDE.js → agents-DDuWSZ0g.js} +4 -4
- package/dist/{agents.config-DmFqh5v8.js → agents.config-8tuPdcTQ.js} +1 -1
- package/dist/{agents.config-DLjDlH4M.js → agents.config-A-WLFOiz.js} +1 -1
- package/dist/{anton-CmB9XtGt.js → anton-CaPVBTOS.js} +27 -7
- package/dist/{anton-DqSQ27RK.js → anton-DCN6G6Up.js} +27 -7
- package/dist/{anton-C3Y_hYo3.js → anton-DqWaq0gv.js} +26 -7
- package/dist/{anton-Dn_Pc4P0.js → anton-sGTx_HDs.js} +30 -11
- package/dist/{audio-preflight-qkU2lsDn.js → audio-preflight-CW8IH1lU.js} +35 -35
- package/dist/{auth-choice-nFObMeHm.js → auth-choice-C0ADVtim.js} +1 -1
- package/dist/{auth-choice-BKDISagq.js → auth-choice-CnB-Ffeh.js} +1 -1
- package/dist/{auth-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{banner-IB7Cylyq.js → banner-C1dFMwdL.js} +1 -1
- package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{channel-activity-DdL3RAv_.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{channel-options-B2LlZj0S.js → channel-options-DPIZ2OfB.js} +1 -1
- package/dist/{channel-options-DcxOFxzU.js → channel-options-dvj7gQ75.js} +1 -1
- package/dist/{channel-web-XLD22Zzs.js → channel-web-C022IdsV.js} +2 -2
- package/dist/{channel-web-Cu_AcYVB.js → channel-web-DAeB1zPN.js} +2 -2
- package/dist/{channels-cli-BWMjEguK.js → channels-cli-BdUt4Lf-.js} +7 -7
- package/dist/{channels-cli-DZWOS5d6.js → channels-cli-DzA8ku51.js} +7 -7
- package/dist/{chrome-CT_a9OgI.js → chrome-BcJB6PcM.js} +17 -17
- package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/{cli-Bq5b8f58.js → cli-BC9fLKsk.js} +2 -2
- package/dist/{cli-BN8I3vTa.js → cli-VNJdJ9_T.js} +2 -2
- package/dist/{command-registry-CeIfSw9l.js → command-registry-Bo2L5BJz.js} +10 -10
- package/dist/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{completion-cli-Dh0MVQJ6.js → completion-cli-CevdZ8t2.js} +2 -2
- package/dist/{completion-cli-ClOKco1N.js → completion-cli-w7SY12wl.js} +1 -1
- package/dist/{config-cli-CpgR8c8d.js → config-cli-C8s4mZF3.js} +1 -1
- package/dist/{config-cli-BaNTuQ52.js → config-cli-D2221rb8.js} +1 -1
- package/dist/{configure-C4n13-o1.js → configure-6COQEc8d.js} +3 -3
- package/dist/{configure-BfzLtTQH.js → configure-BpeVYPCY.js} +3 -3
- package/dist/{deliver-Db2xqgLg.js → deliver-BUiQ-9fE.js} +20 -20
- package/dist/{deps-c-x2UBbd.js → deps-B3svY-p3.js} +1 -1
- package/dist/{deps-CnUuBleG.js → deps-BTDAxEQ6.js} +6 -6
- package/dist/{deps-CjvmCq-K.js → deps-Coo8Thxy.js} +1 -1
- package/dist/{deps-BH4bzzRD.js → deps-DOxHxBHl.js} +1 -1
- package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
- package/dist/{dock-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
- package/dist/{doctor-completion-BUUL91Dy.js → doctor-completion-CCuJkHb8.js} +1 -1
- package/dist/{doctor-completion-IIzctUix.js → doctor-completion-CkCkSkfC.js} +1 -1
- package/dist/{emergency-stop-HaFAEk9Z.js → emergency-stop-BNon2wpA.js} +2 -2
- package/dist/{emergency-stop-CjxNr2he.js → emergency-stop-DO0wn668.js} +2 -2
- package/dist/{emergency-stop-Bg9a1fXU.js → emergency-stop-DZFe7oYv.js} +2 -2
- package/dist/emergency-stop-JMddgwUX.js +113 -0
- package/dist/entry.js +1 -1
- package/dist/{env-q-PhWbb_.js → env-B5G1qwGc.js} +1 -1
- package/dist/{errors-C4SHjIZK.js → errors-C_0nm4TJ.js} +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-CcfDZXe9.js → fetch-guard-iuQsIjqN.js} +1 -1
- package/dist/{frontmatter-pTUG4Sx_.js → frontmatter-BOudmHMS.js} +2 -2
- package/dist/{fs-safe-2l05hI1Y.js → fs-safe-CYUaAFO9.js} +2 -2
- package/dist/{gateway-cli-C2jOWbsN.js → gateway-cli-Cf7kqenc.js} +9 -9
- package/dist/{gateway-cli-Bcamqq7Z.js → gateway-cli-D6Sh2d9w.js} +9 -9
- package/dist/{gemini-auth-DLSGffQK.js → gemini-auth-CIyaa44H.js} +2 -2
- package/dist/{github-copilot-token-BjmEQcmi.js → github-copilot-token-Dgt6cnsM.js} +7 -7
- package/dist/{health-3B8ANLz5.js → health-BavRGpi2.js} +1 -1
- package/dist/{health-BTU1dGHH.js → health-j2mDzeUl.js} +1 -1
- package/dist/{hooks-cli-CdEcbqPF.js → hooks-cli-AnCnOcQY.js} +3 -3
- package/dist/{hooks-cli-BOc85-37.js → hooks-cli-DDAeDBcO.js} +3 -3
- package/dist/{image-Dlu13Ebx.js → image-D8b_rlQC.js} +6 -6
- package/dist/{image-ops-J8P5zOFm.js → image-ops-D1KtygWz.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-BT5aAdU9.js → ir-B7IBoKLy.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-d4y0lvs2.js → local-roots-KN4Hp1yZ.js} +5 -5
- package/dist/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
- package/dist/{markdown-tables-R8VTpfE9.js → markdown-tables-CzsockiZ.js} +1 -1
- package/dist/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
- package/dist/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{models-CIS_OcjC.js → models-RiKkYhfQ.js} +2 -2
- package/dist/{models-cli-BS7pagh1.js → models-cli-B4HXQG2Q.js} +3 -3
- package/dist/{models-cli-6njz6jJl.js → models-cli-CSSZi7-P.js} +4 -4
- package/dist/{npm-resolution-CkpVYF4z.js → npm-resolution-D1b0Eoa4.js} +1 -1
- package/dist/{npm-resolution-DWXTcpqo.js → npm-resolution-vCuR0Tv5.js} +1 -1
- package/dist/{onboard-b_mYsSas.js → onboard-Dcj7w5Sb.js} +2 -2
- package/dist/{onboard-channels-sslbndju.js → onboard-channels-BT-vQKYZ.js} +1 -1
- package/dist/{onboard-channels-CzB1oDsu.js → onboard-channels-jrbhR8dl.js} +1 -1
- package/dist/{onboard-BYOBc47n.js → onboard-enaQTAES.js} +2 -2
- package/dist/{onboarding-BfDz8n6H.js → onboarding-BpiNSUID.js} +3 -3
- package/dist/{onboarding-qxSl79A_.js → onboarding-fRvJJ_jS.js} +3 -3
- package/dist/{onboarding.finalize-DGZkcjrv.js → onboarding.finalize-6q8jh9r4.js} +6 -6
- package/dist/{onboarding.finalize-DeEXxkOU.js → onboarding.finalize-B557eJgx.js} +7 -7
- package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-attachment-IfeZJAKk.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{path-alias-guards-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- package/dist/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-xW12sr9Q.js → pi-embedded-CMll1riT.js} +179 -179
- package/dist/{pi-embedded-E9CG0AZO.js → pi-embedded-D35RiR0f.js} +11 -11
- package/dist/{pi-embedded-helpers-B3ceCcxm.js → pi-embedded-helpers-CghCLoPo.js} +24 -24
- package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- package/dist/{plugin-registry-CY1u8bd9.js → plugin-registry-DMdIUK_2.js} +1 -1
- package/dist/{plugin-registry-CJfl54B-.js → plugin-registry-DdywtXL5.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-NXyTgftN.js → agent-via-gateway-W4SFqR3m.js} +2 -2
- package/dist/plugin-sdk/{anton-8LTiJnvw.js → anton-DgXekgcy.js} +26 -7
- package/dist/plugin-sdk/{channel-web-DEl6BZu6.js → channel-web-DbwkbMKY.js} +2 -2
- package/dist/plugin-sdk/commands/anton.d.ts +28 -4
- package/dist/plugin-sdk/{deps-CdRm6UCM.js → deps-HLNhWkFy.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-vr_MLBH0.js → emergency-stop-BXP-MZHW.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-Cii_-apO.js → reply-BEnj9--x.js} +11 -11
- package/dist/plugin-sdk/{web-BrcYG4Cd.js → web-TsEAe4Bs.js} +3 -3
- package/dist/{plugins-DYr-HHj0.js → plugins-CRB60mCJ.js} +10 -10
- package/dist/{plugins-cli-BsCu9ZxX.js → plugins-cli-CkqS4cmo.js} +3 -3
- package/dist/{plugins-cli-rEURRyag.js → plugins-cli-DHVkVGke.js} +3 -3
- package/dist/{program-CtFnQFId.js → program-BeB3v4zk.js} +8 -8
- package/dist/{program-context-BsCSqznM.js → program-context-w-tdgurY.js} +18 -18
- package/dist/{prompt-select-styled-BKPmN1HP.js → prompt-select-styled-CE6lL16-.js} +4 -4
- package/dist/{prompt-select-styled-BB8mtFS9.js → prompt-select-styled-CGdWABH5.js} +4 -4
- package/dist/{provider-auth-helpers-ar7t02s1.js → provider-auth-helpers-C72Fb__o.js} +1 -1
- package/dist/{provider-auth-helpers-486CLY6U.js → provider-auth-helpers-D0RhcC2q.js} +1 -1
- package/dist/{push-apns-CJJ-O5fL.js → push-apns-CeEArjp5.js} +1 -1
- package/dist/{push-apns-AHniql5u.js → push-apns-Nj66xHk1.js} +1 -1
- package/dist/{pw-ai-DIV4PcIo.js → pw-ai-CfYaR1K2.js} +13 -13
- package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
- package/dist/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{register.agent-DswuLYd8.js → register.agent-BaiV-Kp5.js} +9 -9
- package/dist/{register.agent-TMXz7bwT.js → register.agent-CoADvHMz.js} +8 -8
- package/dist/{register.configure-BFWnHArB.js → register.configure-COg3mvRi.js} +8 -8
- package/dist/{register.configure-DlxSU46q.js → register.configure-Dhfhctpj.js} +8 -8
- package/dist/{register.maintenance-C2B-RPnI.js → register.maintenance-CjxM0oKc.js} +8 -8
- package/dist/{register.maintenance-Dj8A9Hj7.js → register.maintenance-MELPxVyx.js} +9 -9
- package/dist/{register.message-CR569hCK.js → register.message-CbssH6ek.js} +3 -3
- package/dist/{register.message-DWm_Lizi.js → register.message-kzRNe_7l.js} +3 -3
- package/dist/{register.onboard-CBlF61-5.js → register.onboard-CAbo-VF1.js} +2 -2
- package/dist/{register.onboard-BjMv8Rc2.js → register.onboard-CJeQ64iC.js} +2 -2
- package/dist/{register.orchestrator-anton-CehFZHyG.js → register.orchestrator-anton-CBnyqoHX.js} +2 -2
- package/dist/{register.orchestrator-anton-Cvw__ptb.js → register.orchestrator-anton-CdVQ30at.js} +2 -2
- package/dist/{register.setup-BrXOX1jn.js → register.setup-DEH8S3Y5.js} +2 -2
- package/dist/{register.setup-B8TX05TM.js → register.setup-XGT1lV6o.js} +2 -2
- package/dist/{register.status-health-sessions-DexyefSU.js → register.status-health-sessions-0ppExIVs.js} +4 -4
- package/dist/{register.status-health-sessions-C-3gl9qR.js → register.status-health-sessions-jEhyhioj.js} +4 -4
- package/dist/{register.subclis-CFcZU6Sc.js → register.subclis-DQx75Ni7.js} +9 -9
- package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{reply-dLJYULbb.js → reply-Du7Q5RJl.js} +11 -11
- package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
- package/dist/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
- package/dist/{run-main-xc_0T201.js → run-main-D56C-iq4.js} +15 -15
- package/dist/{runner-BkCU-kqs.js → runner-PgRFPYUj.js} +11 -11
- package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
- package/dist/{server-node-events-CgSZVd8M.js → server-node-events-C1uC6pPJ.js} +3 -3
- package/dist/{server-node-events-Dj5jYSln.js → server-node-events-h-U5Mfvv.js} +3 -3
- package/dist/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
- package/dist/{skill-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
- package/dist/{status-Bp-x4GJi.js → status-CQ18Gd-d.js} +2 -2
- package/dist/{status-CV7OIIGl.js → status-DmPnFNgt.js} +2 -2
- package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
- package/dist/{subagent-registry-CJX_DOgh.js → subagent-registry-CPeVtSZk.js} +11 -11
- package/dist/{subsystem-D7ZepYT1.js → subsystem-tzu-rIAJ.js} +1 -1
- package/dist/{tables-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{tokens-DGajj8M9.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{tool-images-Duuqr4bN.js → tool-images-CcGZpzmq.js} +2 -2
- package/dist/{tool-loop-detection-CjWRg_4q.js → tool-loop-detection-BNGetx3Z.js} +3 -3
- package/dist/{update-cli-Crq7aGUA.js → update-cli-Di_N9xCB.js} +8 -8
- package/dist/{update-cli-z5fJRDU4.js → update-cli-DraOIip8.js} +9 -9
- package/dist/{update-runner-BLquhnrL.js → update-runner-BJRwxU_y.js} +1 -1
- package/dist/{update-runner-BkSrWsKc.js → update-runner-BQlZS5zz.js} +1 -1
- package/dist/{utils-D9wGoiU9.js → utils-CTFLl_ji.js} +18 -18
- package/dist/{web-CNowaS6B.js → web-Cp8ceOUo.js} +66 -66
- package/dist/{web-BKSxBqZw.js → web-CrYZNxAg.js} +3 -3
- package/dist/{web-BKs38Jg4.js → web-D77Xu1Fp.js} +3 -3
- package/dist/{web-B267OUXc.js → web-DzfcaLnK.js} +3 -3
- package/dist/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- package/dist/{workspace-tAtkoD_r.js → workspace-DBFSzT6O.js} +18 -18
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-Chw8LiXP.js +0 -113
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { d as normalizeE164 } from "./utils-
|
|
1
|
+
import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
2
|
+
import { d as normalizeE164 } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
5
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
4
|
+
import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
|
|
5
|
+
import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
7
7
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
8
|
-
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-
|
|
9
|
-
import
|
|
8
|
+
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-D3b5Fmc9.js";
|
|
9
|
+
import syncFs from "node:fs";
|
|
10
10
|
import util from "node:util";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-action-gate.ts
|
|
@@ -185,7 +185,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
185
185
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
186
186
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
187
187
|
if (accountTokenFile) {
|
|
188
|
-
if (!
|
|
188
|
+
if (!syncFs.existsSync(accountTokenFile)) {
|
|
189
189
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
190
190
|
return {
|
|
191
191
|
token: "",
|
|
@@ -193,7 +193,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
try {
|
|
196
|
-
const token =
|
|
196
|
+
const token = syncFs.readFileSync(accountTokenFile, "utf-8").trim();
|
|
197
197
|
if (token) return {
|
|
198
198
|
token,
|
|
199
199
|
source: "tokenFile"
|
|
@@ -218,7 +218,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
218
218
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
219
219
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
220
220
|
if (tokenFile && allowEnv) {
|
|
221
|
-
if (!
|
|
221
|
+
if (!syncFs.existsSync(tokenFile)) {
|
|
222
222
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
223
223
|
return {
|
|
224
224
|
token: "",
|
|
@@ -226,7 +226,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
try {
|
|
229
|
-
const token =
|
|
229
|
+
const token = syncFs.readFileSync(tokenFile, "utf-8").trim();
|
|
230
230
|
if (token) return {
|
|
231
231
|
token,
|
|
232
232
|
source: "tokenFile"
|
|
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
25
25
|
import "./auth-store-D9BmR4S6.js";
|
|
26
26
|
import "./send-m4lQkQcY.js";
|
|
27
27
|
import "./send-CCiDIuX4.js";
|
|
28
|
-
import "./subagent-registry-
|
|
28
|
+
import "./subagent-registry-CPeVtSZk.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-DSfpze17.js";
|
|
111
|
-
import "./deps-
|
|
111
|
+
import "./deps-DOxHxBHl.js";
|
|
112
112
|
import "./onboard-helpers-DWivfzcc.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-D7xcHkxi.js";
|
|
@@ -118,7 +118,7 @@ import "./npm-registry-spec-BlFqJFsA.js";
|
|
|
118
118
|
import "./skill-scanner-CdLElD51.js";
|
|
119
119
|
import { a as resolvePluginInstallDir, i as installPluginFromPath, n as recordPluginInstall, r as installPluginFromNpmSpec } from "./installs-8aQVDSI0.js";
|
|
120
120
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
121
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-
|
|
121
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-vCuR0Tv5.js";
|
|
122
122
|
import { n as updateNpmInstalledPlugins, r as findBundledPluginByNpmSpec } from "./update-If9iCjgB.js";
|
|
123
123
|
import os from "node:os";
|
|
124
124
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-BfmeFj7S.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-Du7Q5RJl.js";
|
|
5
5
|
import "./agent-scope-DbNnv10G.js";
|
|
6
6
|
import "./subsystem-BTkYq-SM.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -102,7 +102,7 @@ import "./resolve-route-BrHTn_2g.js";
|
|
|
102
102
|
import "./replies-CWMglpIw.js";
|
|
103
103
|
import "./skill-commands-BY4BNcfR.js";
|
|
104
104
|
import "./workspace-dirs-C34pt6Pa.js";
|
|
105
|
-
import "./deps-
|
|
105
|
+
import "./deps-Coo8Thxy.js";
|
|
106
106
|
import "./plugin-auto-enable-CU8IfpBV.js";
|
|
107
107
|
import "./channel-selection-DLfBD-c0.js";
|
|
108
108
|
import "./outbound-attachment-Cz80loTd.js";
|
|
@@ -121,7 +121,7 @@ import "./npm-registry-spec-B81IsQOs.js";
|
|
|
121
121
|
import "./skill-scanner-BFXxq_hZ.js";
|
|
122
122
|
import { a as resolvePluginInstallDir, i as installPluginFromPath, n as recordPluginInstall, r as installPluginFromNpmSpec } from "./installs-DGfrRYWX.js";
|
|
123
123
|
import { t as renderTable } from "./table-PG064F0C.js";
|
|
124
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-
|
|
124
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport } from "./npm-resolution-D1b0Eoa4.js";
|
|
125
125
|
import { n as updateNpmInstalledPlugins, r as findBundledPluginByNpmSpec } from "./update-D96LyJ5s.js";
|
|
126
126
|
import fs from "node:fs";
|
|
127
127
|
import os from "node:os";
|
|
@@ -26,7 +26,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
26
26
|
import "./auth-store-D9BmR4S6.js";
|
|
27
27
|
import "./send-m4lQkQcY.js";
|
|
28
28
|
import "./send-CCiDIuX4.js";
|
|
29
|
-
import "./subagent-registry-
|
|
29
|
+
import "./subagent-registry-CPeVtSZk.js";
|
|
30
30
|
import "./paths-CC17i2eK.js";
|
|
31
31
|
import "./chat-envelope-Dedaetiq.js";
|
|
32
32
|
import "./client-udFMSDes.js";
|
|
@@ -109,17 +109,17 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
109
109
|
import "./help-format-CldHB7lS.js";
|
|
110
110
|
import "./progress-B76RkFx7.js";
|
|
111
111
|
import "./replies-DSfpze17.js";
|
|
112
|
-
import "./deps-
|
|
112
|
+
import "./deps-DOxHxBHl.js";
|
|
113
113
|
import "./onboard-helpers-DWivfzcc.js";
|
|
114
114
|
import "./prompt-style-XmK49QYK.js";
|
|
115
115
|
import "./pairing-labels-D7xcHkxi.js";
|
|
116
|
-
import "./plugin-registry-
|
|
117
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
118
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
119
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
116
|
+
import "./plugin-registry-DMdIUK_2.js";
|
|
117
|
+
import { n as resolveCliChannelOptions } from "./channel-options-DPIZ2OfB.js";
|
|
118
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DQx75Ni7.js";
|
|
119
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-Bo2L5BJz.js";
|
|
120
120
|
import { r as setProgramContext } from "./program-context-BrqeiWcA.js";
|
|
121
121
|
import { t as forceFreePort } from "./ports-CIJavqzS.js";
|
|
122
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
122
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-C1dFMwdL.js";
|
|
123
123
|
import { Command, InvalidArgumentError } from "commander";
|
|
124
124
|
|
|
125
125
|
//#region src/cli/program/context.ts
|
|
@@ -258,7 +258,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
258
258
|
commandPath
|
|
259
259
|
});
|
|
260
260
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
261
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
261
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-DMdIUK_2.js").then((n) => n.n);
|
|
262
262
|
ensurePluginRegistryLoaded();
|
|
263
263
|
}
|
|
264
264
|
});
|
|
@@ -58,7 +58,7 @@ const entries = [
|
|
|
58
58
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
59
59
|
hasSubcommands: true,
|
|
60
60
|
register: async (program) => {
|
|
61
|
-
(await import("./gateway-cli-
|
|
61
|
+
(await import("./gateway-cli-Cf7kqenc.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -90,7 +90,7 @@ const entries = [
|
|
|
90
90
|
description: "Discover, scan, and configure models",
|
|
91
91
|
hasSubcommands: true,
|
|
92
92
|
register: async (program) => {
|
|
93
|
-
(await import("./models-cli-
|
|
93
|
+
(await import("./models-cli-B4HXQG2Q.js")).registerModelsCli(program);
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -170,7 +170,7 @@ const entries = [
|
|
|
170
170
|
description: "Manage internal agent hooks",
|
|
171
171
|
hasSubcommands: true,
|
|
172
172
|
register: async (program) => {
|
|
173
|
-
(await import("./hooks-cli-
|
|
173
|
+
(await import("./hooks-cli-AnCnOcQY.js")).registerHooksCli(program);
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
{
|
|
@@ -202,7 +202,7 @@ const entries = [
|
|
|
202
202
|
description: "Secure DM pairing (approve inbound requests)",
|
|
203
203
|
hasSubcommands: true,
|
|
204
204
|
register: async (program) => {
|
|
205
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
205
|
+
const { registerPluginCliCommands } = await import("./cli-VNJdJ9_T.js");
|
|
206
206
|
registerPluginCliCommands(program, await loadConfig());
|
|
207
207
|
(await import("./pairing-cli-By_hykOY.js")).registerPairingCli(program);
|
|
208
208
|
}
|
|
@@ -212,8 +212,8 @@ const entries = [
|
|
|
212
212
|
description: "Manage IdleHands plugins and extensions",
|
|
213
213
|
hasSubcommands: true,
|
|
214
214
|
register: async (program) => {
|
|
215
|
-
(await import("./plugins-cli-
|
|
216
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
215
|
+
(await import("./plugins-cli-DHVkVGke.js")).registerPluginsCli(program);
|
|
216
|
+
const { registerPluginCliCommands } = await import("./cli-VNJdJ9_T.js");
|
|
217
217
|
registerPluginCliCommands(program, await loadConfig());
|
|
218
218
|
}
|
|
219
219
|
},
|
|
@@ -222,7 +222,7 @@ const entries = [
|
|
|
222
222
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
223
223
|
hasSubcommands: true,
|
|
224
224
|
register: async (program) => {
|
|
225
|
-
(await import("./channels-cli-
|
|
225
|
+
(await import("./channels-cli-BdUt4Lf-.js")).registerChannelsCli(program);
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update IdleHands and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-Di_N9xCB.js")).registerUpdateCli(program);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -298,7 +298,7 @@ const entries = [
|
|
|
298
298
|
description: "Generate shell completion script",
|
|
299
299
|
hasSubcommands: false,
|
|
300
300
|
register: async (program) => {
|
|
301
|
-
(await import("./completion-cli-
|
|
301
|
+
(await import("./completion-cli-w7SY12wl.js").then((n) => n.n)).registerCompletionCli(program);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
];
|
|
@@ -355,7 +355,7 @@ const coreEntries = [
|
|
|
355
355
|
hasSubcommands: false
|
|
356
356
|
}],
|
|
357
357
|
register: async ({ program }) => {
|
|
358
|
-
(await import("./register.setup-
|
|
358
|
+
(await import("./register.setup-DEH8S3Y5.js")).registerSetupCommand(program);
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -365,7 +365,7 @@ const coreEntries = [
|
|
|
365
365
|
hasSubcommands: false
|
|
366
366
|
}],
|
|
367
367
|
register: async ({ program }) => {
|
|
368
|
-
(await import("./register.onboard-
|
|
368
|
+
(await import("./register.onboard-CAbo-VF1.js")).registerOnboardCommand(program);
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
371
|
{
|
|
@@ -375,7 +375,7 @@ const coreEntries = [
|
|
|
375
375
|
hasSubcommands: false
|
|
376
376
|
}],
|
|
377
377
|
register: async ({ program }) => {
|
|
378
|
-
(await import("./register.configure-
|
|
378
|
+
(await import("./register.configure-Dhfhctpj.js")).registerConfigureCommand(program);
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
381
|
{
|
|
@@ -385,7 +385,7 @@ const coreEntries = [
|
|
|
385
385
|
hasSubcommands: true
|
|
386
386
|
}],
|
|
387
387
|
register: async ({ program }) => {
|
|
388
|
-
(await import("./config-cli-
|
|
388
|
+
(await import("./config-cli-D2221rb8.js")).registerConfigCli(program);
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -412,7 +412,7 @@ const coreEntries = [
|
|
|
412
412
|
}
|
|
413
413
|
],
|
|
414
414
|
register: async ({ program }) => {
|
|
415
|
-
(await import("./register.maintenance-
|
|
415
|
+
(await import("./register.maintenance-CjxM0oKc.js")).registerMaintenanceCommands(program);
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
418
|
{
|
|
@@ -422,7 +422,7 @@ const coreEntries = [
|
|
|
422
422
|
hasSubcommands: true
|
|
423
423
|
}],
|
|
424
424
|
register: async ({ program, ctx }) => {
|
|
425
|
-
(await import("./register.message-
|
|
425
|
+
(await import("./register.message-CbssH6ek.js")).registerMessageCommands(program, ctx);
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
{
|
|
@@ -446,7 +446,7 @@ const coreEntries = [
|
|
|
446
446
|
hasSubcommands: true
|
|
447
447
|
}],
|
|
448
448
|
register: async ({ program, ctx }) => {
|
|
449
|
-
(await import("./register.agent-
|
|
449
|
+
(await import("./register.agent-CoADvHMz.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
450
450
|
}
|
|
451
451
|
},
|
|
452
452
|
{
|
|
@@ -468,7 +468,7 @@ const coreEntries = [
|
|
|
468
468
|
}
|
|
469
469
|
],
|
|
470
470
|
register: async ({ program }) => {
|
|
471
|
-
(await import("./register.status-health-sessions-
|
|
471
|
+
(await import("./register.status-health-sessions-0ppExIVs.js")).registerStatusHealthSessionsCommands(program);
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
474
|
{
|
|
@@ -492,7 +492,7 @@ const coreEntries = [
|
|
|
492
492
|
hasSubcommands: true
|
|
493
493
|
}],
|
|
494
494
|
register: async ({ program }) => {
|
|
495
|
-
(await import("./register.orchestrator-anton-
|
|
495
|
+
(await import("./register.orchestrator-anton-CBnyqoHX.js")).registerOrchestratorAntonCommands(program);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
];
|
|
@@ -9,7 +9,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-BrP9AmCw.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DEWCCZdI.js";
|
|
10
10
|
import { V as cleanStaleLockFiles, c as loadSessionStore, nt as resolveMainSessionKey, ot as formatSessionArchiveTimestamp, st as isPrimarySessionTranscriptFileName } from "./sessions-BoqJKVEs.js";
|
|
11
11
|
import { n as listChannelPlugins } from "./plugins-CCrfZ49T.js";
|
|
12
|
-
import { $t as buildAuthHealthSummary, Ln as resolveAgentSessionDirs, Qt as DEFAULT_OAUTH_WARN_MS, _ as loadIdleHandsPlugins, en as formatRemainingShort } from "./subagent-registry-
|
|
12
|
+
import { $t as buildAuthHealthSummary, Ln as resolveAgentSessionDirs, Qt as DEFAULT_OAUTH_WARN_MS, _ as loadIdleHandsPlugins, en as formatRemainingShort } from "./subagent-registry-CPeVtSZk.js";
|
|
13
13
|
import { a as resolveSessionFilePathOptions, i as resolveSessionFilePath, l as resolveSessionTranscriptsDirForAgent, u as resolveStorePath } from "./paths-CC17i2eK.js";
|
|
14
14
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-C82rD2Wn.js";
|
|
15
15
|
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-CE_62H5R.js";
|
|
@@ -33,15 +33,15 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
33
33
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-D7r4FWhK.js";
|
|
34
34
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BzCL1AMI.js";
|
|
35
35
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CTnoTyIV.js";
|
|
36
|
-
import { r as healthCommand } from "./health-
|
|
36
|
+
import { r as healthCommand } from "./health-j2mDzeUl.js";
|
|
37
37
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B5haX6bT.js";
|
|
38
38
|
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-ofowt_yq.js";
|
|
39
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
39
|
+
import { t as runGatewayUpdate } from "./update-runner-BQlZS5zz.js";
|
|
40
40
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
41
41
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BvGvt5rT.js";
|
|
42
42
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Dx928sEF.js";
|
|
43
43
|
import { t as formatHealthCheckFailure } from "./health-format-wax5NzZB.js";
|
|
44
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
44
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CkCkSkfC.js";
|
|
45
45
|
import { execFile } from "node:child_process";
|
|
46
46
|
import os from "node:os";
|
|
47
47
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { C as sleep, S as shortenHomePath, U as getResolvedLoggerSettings, y as resolveUserPath } from "./utils-BfmeFj7S.js";
|
|
3
|
-
import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-
|
|
3
|
+
import { Pr as resolveAgentSessionDirs, a as DEFAULT_OAUTH_WARN_MS, ht as loadIdleHandsPlugins, o as buildAuthHealthSummary, s as formatRemainingShort } from "./reply-Du7Q5RJl.js";
|
|
4
4
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, u as resolveAgentWorkspaceDir } from "./agent-scope-DbNnv10G.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
6
6
|
import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
|
|
@@ -35,15 +35,15 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
35
35
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-D4_AmIA0.js";
|
|
36
36
|
import { t as readLastGatewayErrorLine } from "./diagnostics-C2vxSb6v.js";
|
|
37
37
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-BOW-hTlT.js";
|
|
38
|
-
import { r as healthCommand } from "./health-
|
|
38
|
+
import { r as healthCommand } from "./health-BavRGpi2.js";
|
|
39
39
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-CSrZ1shI.js";
|
|
40
40
|
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-CBQ0TdW0.js";
|
|
41
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
41
|
+
import { t as runGatewayUpdate } from "./update-runner-BJRwxU_y.js";
|
|
42
42
|
import { n as logConfigUpdated } from "./logging-BK2fjjMe.js";
|
|
43
43
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DcxVJJvh.js";
|
|
44
44
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BRBtRm6O.js";
|
|
45
45
|
import { t as formatHealthCheckFailure } from "./health-format-CWIquyOr.js";
|
|
46
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
46
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CCuJkHb8.js";
|
|
47
47
|
import fs from "node:fs";
|
|
48
48
|
import os from "node:os";
|
|
49
49
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-Du7Q5RJl.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
|
|
3
3
|
import { Er as upsertAuthProfile, kr as ensureAuthProfileStore, u as normalizeProviderId } from "./model-selection-Df4-bBn3.js";
|
|
4
4
|
import { r as isWSLEnv } from "./wsl-BJW8nTyL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { Bn as normalizeProviderId, _n as upsertAuthProfile, bn as ensureAuthProfileStore } from "./auth-profiles-Baj5ImDJ.js";
|
|
3
|
-
import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
3
|
+
import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-CPeVtSZk.js";
|
|
4
4
|
import { r as isWSLEnv } from "./wsl-D4WQkPZu.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-XmK49QYK.js";
|
|
6
6
|
import { f as updateConfig } from "./shared-j17RyGsM.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ft as isVerbose, p as shouldLogSubsystemToConsole, qt as resolveStateDir, s as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { w as parseAgentSessionKey } from "./session-key-B9ePuoPx.js";
|
|
3
|
-
import { p as sniffMimeFromBase64 } from "./subagent-registry-
|
|
3
|
+
import { p as sniffMimeFromBase64 } from "./subagent-registry-CPeVtSZk.js";
|
|
4
4
|
import { c as readJsonFile, l as writeJsonAtomic, s as createAsyncLock } from "./pairing-token-CnnKAS6M.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-BkZY0bCJ.js";
|
|
6
6
|
import { o as estimateBase64DecodedBytes } from "./tool-images-B3wb2vnc.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { A as isVerbose } from "./utils-BfmeFj7S.js";
|
|
3
|
-
import { _ as sniffMimeFromBase64 } from "./reply-
|
|
3
|
+
import { _ as sniffMimeFromBase64 } from "./reply-Du7Q5RJl.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
|
|
5
5
|
import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-CIBM9Zli.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
1
|
+
import "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import "./workspace-DBFSzT6O.js";
|
|
7
|
+
import "./model-selection-1MMYqY6M.js";
|
|
8
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
10
10
|
import "./boolean-CE7i9tBR.js";
|
|
11
|
-
import "./env-
|
|
12
|
-
import { A as resolveStrictExistingPathsWithinRoot, M as DEFAULT_FILL_FIELD_TYPE, O as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
11
|
+
import "./env-B5G1qwGc.js";
|
|
12
|
+
import { A as resolveStrictExistingPathsWithinRoot, M as DEFAULT_FILL_FIELD_TYPE, O as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-BcJB6PcM.js";
|
|
13
13
|
import "./ssrf-CZeHDwVZ.js";
|
|
14
|
-
import "./path-alias-guards-
|
|
15
|
-
import "./redact-
|
|
16
|
-
import { n as formatErrorMessage } from "./errors-
|
|
17
|
-
import "./fs-safe-
|
|
14
|
+
import "./path-alias-guards-Cu1nXNMM.js";
|
|
15
|
+
import "./redact-Bvpf-ATQ.js";
|
|
16
|
+
import { n as formatErrorMessage } from "./errors-C_0nm4TJ.js";
|
|
17
|
+
import "./fs-safe-CYUaAFO9.js";
|
|
18
18
|
import fs from "node:fs/promises";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import crypto from "node:crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
-
import { d as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { x as parseAgentSessionKey } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import "./workspace-
|
|
8
|
-
import "./redact-
|
|
9
|
-
import "./paths-
|
|
10
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
7
|
+
import "./workspace-DBFSzT6O.js";
|
|
8
|
+
import "./redact-Bvpf-ATQ.js";
|
|
9
|
+
import "./paths-D_qUel1T.js";
|
|
10
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DEq020GG.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
2
2
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-CEV6qf-x.js";
|
|
3
|
-
import { t as redactSensitiveText } from "./redact-
|
|
4
|
-
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
3
|
+
import { t as redactSensitiveText } from "./redact-Bvpf-ATQ.js";
|
|
4
|
+
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-D_qUel1T.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import syncFs from "node:fs";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/memory/fs-utils.ts
|
|
@@ -31,7 +31,7 @@ async function statRegularFile(absPath) {
|
|
|
31
31
|
//#region src/memory/internal.ts
|
|
32
32
|
function ensureDir(dir) {
|
|
33
33
|
try {
|
|
34
|
-
|
|
34
|
+
syncFs.mkdirSync(dir, { recursive: true });
|
|
35
35
|
} catch {}
|
|
36
36
|
return dir;
|
|
37
37
|
}
|
|
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
25
25
|
import "./auth-store-D9BmR4S6.js";
|
|
26
26
|
import "./send-m4lQkQcY.js";
|
|
27
27
|
import "./send-CCiDIuX4.js";
|
|
28
|
-
import "./subagent-registry-
|
|
28
|
+
import "./subagent-registry-CPeVtSZk.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-udFMSDes.js";
|
|
@@ -108,36 +108,36 @@ import { n as runCommandWithRuntime } from "./cli-utils-BfsDuRZS.js";
|
|
|
108
108
|
import { t as formatHelpExamples } from "./help-format-CldHB7lS.js";
|
|
109
109
|
import "./progress-B76RkFx7.js";
|
|
110
110
|
import "./replies-DSfpze17.js";
|
|
111
|
-
import { t as createDefaultDeps } from "./deps-
|
|
111
|
+
import { t as createDefaultDeps } from "./deps-DOxHxBHl.js";
|
|
112
112
|
import "./onboard-helpers-DWivfzcc.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-D7xcHkxi.js";
|
|
115
115
|
import "./outbound-B8NhUGIW.js";
|
|
116
|
-
import "./channel-web-
|
|
116
|
+
import "./channel-web-C022IdsV.js";
|
|
117
117
|
import "./session-BVsrroox.js";
|
|
118
118
|
import "./login-BaXwiEpr.js";
|
|
119
119
|
import { t as hasExplicitOptions } from "./command-options-CK65DMbR.js";
|
|
120
120
|
import "./note-C2HHth6G.js";
|
|
121
121
|
import "./clack-prompter-Bo7vS5xP.js";
|
|
122
122
|
import "./config-validation-BgKexeQb.js";
|
|
123
|
-
import "./agents.config-
|
|
123
|
+
import "./agents.config-8tuPdcTQ.js";
|
|
124
124
|
import "./enable-CMXupNXl.js";
|
|
125
125
|
import "./install-safe-path-C7y57-yb.js";
|
|
126
126
|
import "./npm-registry-spec-BlFqJFsA.js";
|
|
127
127
|
import "./skill-scanner-CdLElD51.js";
|
|
128
128
|
import "./installs-8aQVDSI0.js";
|
|
129
|
-
import "./onboard-channels-
|
|
129
|
+
import "./onboard-channels-jrbhR8dl.js";
|
|
130
130
|
import { t as collectOption } from "./helpers-C_CKA9Tl.js";
|
|
131
131
|
import "./shared-j17RyGsM.js";
|
|
132
132
|
import "./auth-token-BQ_ECwH7.js";
|
|
133
133
|
import "./logging-MF6Thoxk.js";
|
|
134
|
-
import "./provider-auth-helpers-
|
|
135
|
-
import { t as agentCliCommand } from "./agent-via-gateway-
|
|
136
|
-
import { a as agentsAddCommand, c as agentsUnbindCommand, i as agentsDeleteCommand, n as agentsListCommand, o as agentsBindCommand, r as agentsSetIdentityCommand, s as agentsBindingsCommand } from "./agents-
|
|
134
|
+
import "./provider-auth-helpers-D0RhcC2q.js";
|
|
135
|
+
import { t as agentCliCommand } from "./agent-via-gateway-VdG-s4L4.js";
|
|
136
|
+
import { a as agentsAddCommand, c as agentsUnbindCommand, i as agentsDeleteCommand, n as agentsListCommand, o as agentsBindCommand, r as agentsSetIdentityCommand, s as agentsBindingsCommand } from "./agents-DDuWSZ0g.js";
|
|
137
137
|
import "./auth-choice-options-C9rCwrcM.js";
|
|
138
138
|
import "./auth-choice-prompt-kycZqH8q.js";
|
|
139
139
|
import "./auth-choice.apply-helpers-Bj-Y-Sar.js";
|
|
140
|
-
import "./auth-choice-
|
|
140
|
+
import "./auth-choice-C0ADVtim.js";
|
|
141
141
|
import "./openai-model-default-DTIibBxa.js";
|
|
142
142
|
import "./model-picker-D_yngXMe.js";
|
|
143
143
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, P as setVerbose, S as shortenHomePath, y as resolveUserPath } from "./utils-BfmeFj7S.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { en as identityHasValues, nn as parseIdentityMarkdown } from "./reply-
|
|
4
|
+
import { en as identityHasValues, nn as parseIdentityMarkdown } from "./reply-Du7Q5RJl.js";
|
|
5
5
|
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-DbNnv10G.js";
|
|
6
6
|
import "./subsystem-BTkYq-SM.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -104,7 +104,7 @@ import "./resolve-route-BrHTn_2g.js";
|
|
|
104
104
|
import "./replies-CWMglpIw.js";
|
|
105
105
|
import "./skill-commands-BY4BNcfR.js";
|
|
106
106
|
import "./workspace-dirs-C34pt6Pa.js";
|
|
107
|
-
import { t as createDefaultDeps } from "./deps-
|
|
107
|
+
import { t as createDefaultDeps } from "./deps-Coo8Thxy.js";
|
|
108
108
|
import "./plugin-auto-enable-CU8IfpBV.js";
|
|
109
109
|
import "./channel-selection-DLfBD-c0.js";
|
|
110
110
|
import "./outbound-attachment-Cz80loTd.js";
|
|
@@ -117,7 +117,7 @@ import "./pairing-labels-Dm-DUGGI.js";
|
|
|
117
117
|
import "./server-lifecycle-CfZbDiFe.js";
|
|
118
118
|
import "./stagger-rQoQSWkz.js";
|
|
119
119
|
import "./system-run-command-CrHlKsQv.js";
|
|
120
|
-
import "./channel-web-
|
|
120
|
+
import "./channel-web-DAeB1zPN.js";
|
|
121
121
|
import "./outbound-DClHNQfl.js";
|
|
122
122
|
import "./session-BKdoiopW.js";
|
|
123
123
|
import "./login-BVf_DBja.js";
|
|
@@ -128,22 +128,22 @@ import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
|
128
128
|
import { t as createClackPrompter } from "./clack-prompter-EMS8sO4h.js";
|
|
129
129
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
130
130
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-wUpXePGY.js";
|
|
131
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
131
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-A-WLFOiz.js";
|
|
132
132
|
import "./enable-ztZSnOGv.js";
|
|
133
133
|
import "./install-safe-path-ChNR9pl6.js";
|
|
134
134
|
import "./npm-registry-spec-B81IsQOs.js";
|
|
135
135
|
import "./skill-scanner-BFXxq_hZ.js";
|
|
136
136
|
import "./installs-DGfrRYWX.js";
|
|
137
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
137
|
+
import { r as setupChannels } from "./onboard-channels-BT-vQKYZ.js";
|
|
138
138
|
import "./shared-Cvf3nhuq.js";
|
|
139
139
|
import "./auth-token-ChjRQYCt.js";
|
|
140
140
|
import { n as logConfigUpdated } from "./logging-BK2fjjMe.js";
|
|
141
|
-
import "./provider-auth-helpers-
|
|
142
|
-
import { t as agentCliCommand } from "./agent-via-gateway-
|
|
141
|
+
import "./provider-auth-helpers-C72Fb__o.js";
|
|
142
|
+
import { t as agentCliCommand } from "./agent-via-gateway-DwRsFLFS.js";
|
|
143
143
|
import "./auth-choice-options-xcR7--c6.js";
|
|
144
144
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CiRp6avH.js";
|
|
145
145
|
import "./auth-choice.apply-helpers-fIm7h2DA.js";
|
|
146
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
146
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CnB-Ffeh.js";
|
|
147
147
|
import "./openai-model-default-CK1wUY3u.js";
|
|
148
148
|
import "./model-picker-CM_QFlL4.js";
|
|
149
149
|
import path from "node:path";
|