@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
|
@@ -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,15 +108,15 @@ 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";
|
|
115
115
|
import { t as ensureIdleHandsCliOnPath } from "./path-env-cPX3lugV.js";
|
|
116
116
|
import "./note-C2HHth6G.js";
|
|
117
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
117
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DMdIUK_2.js";
|
|
118
118
|
import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
|
|
119
|
-
import { t as emitCliBanner } from "./banner-
|
|
119
|
+
import { t as emitCliBanner } from "./banner-C1dFMwdL.js";
|
|
120
120
|
import "./doctor-config-flow-BvGvt5rT.js";
|
|
121
121
|
import { n as ensureConfigReady } from "./config-guard-7CCnD0lc.js";
|
|
122
122
|
import process$1 from "node:process";
|
|
@@ -131,7 +131,7 @@ const routeHealth = {
|
|
|
131
131
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
132
132
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
133
133
|
if (timeoutMs === null) return false;
|
|
134
|
-
const { healthCommand } = await import("./health-
|
|
134
|
+
const { healthCommand } = await import("./health-j2mDzeUl.js").then((n) => n.i);
|
|
135
135
|
await healthCommand({
|
|
136
136
|
json,
|
|
137
137
|
timeoutMs,
|
|
@@ -151,7 +151,7 @@ const routeStatus = {
|
|
|
151
151
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
152
152
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
153
153
|
if (timeoutMs === null) return false;
|
|
154
|
-
const { statusCommand } = await import("./status-
|
|
154
|
+
const { statusCommand } = await import("./status-DmPnFNgt.js").then((n) => n.t);
|
|
155
155
|
await statusCommand({
|
|
156
156
|
json,
|
|
157
157
|
deep,
|
|
@@ -190,7 +190,7 @@ const routeAgentsList = {
|
|
|
190
190
|
run: async (argv) => {
|
|
191
191
|
const json = hasFlag(argv, "--json");
|
|
192
192
|
const bindings = hasFlag(argv, "--bindings");
|
|
193
|
-
const { agentsListCommand } = await import("./agents-
|
|
193
|
+
const { agentsListCommand } = await import("./agents-DDuWSZ0g.js").then((n) => n.t);
|
|
194
194
|
await agentsListCommand({
|
|
195
195
|
json,
|
|
196
196
|
bindings
|
|
@@ -261,7 +261,7 @@ const routes = [
|
|
|
261
261
|
const pathArg = getCommandPositionals(argv)[2];
|
|
262
262
|
if (!pathArg) return false;
|
|
263
263
|
const json = hasFlag(argv, "--json");
|
|
264
|
-
const { runConfigGet } = await import("./config-cli-
|
|
264
|
+
const { runConfigGet } = await import("./config-cli-C8s4mZF3.js");
|
|
265
265
|
await runConfigGet({
|
|
266
266
|
path: pathArg,
|
|
267
267
|
json
|
|
@@ -274,7 +274,7 @@ const routes = [
|
|
|
274
274
|
run: async (argv) => {
|
|
275
275
|
const pathArg = getCommandPositionals(argv)[2];
|
|
276
276
|
if (!pathArg) return false;
|
|
277
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
277
|
+
const { runConfigUnset } = await import("./config-cli-C8s4mZF3.js");
|
|
278
278
|
await runConfigUnset({ path: pathArg });
|
|
279
279
|
return true;
|
|
280
280
|
}
|
|
@@ -288,7 +288,7 @@ const routes = [
|
|
|
288
288
|
const local = hasFlag(argv, "--local");
|
|
289
289
|
const json = hasFlag(argv, "--json");
|
|
290
290
|
const plain = hasFlag(argv, "--plain");
|
|
291
|
-
const { modelsListCommand } = await import("./models-
|
|
291
|
+
const { modelsListCommand } = await import("./models-RiKkYhfQ.js").then((n) => n.t);
|
|
292
292
|
await modelsListCommand({
|
|
293
293
|
all,
|
|
294
294
|
local,
|
|
@@ -319,7 +319,7 @@ const routes = [
|
|
|
319
319
|
const plain = hasFlag(argv, "--plain");
|
|
320
320
|
const check = hasFlag(argv, "--check");
|
|
321
321
|
const probe = hasFlag(argv, "--probe");
|
|
322
|
-
const { modelsStatusCommand } = await import("./models-
|
|
322
|
+
const { modelsStatusCommand } = await import("./models-RiKkYhfQ.js").then((n) => n.t);
|
|
323
323
|
await modelsStatusCommand({
|
|
324
324
|
json,
|
|
325
325
|
plain,
|
|
@@ -397,7 +397,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
397
397
|
assertSupportedRuntime();
|
|
398
398
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
399
399
|
enableConsoleCapture();
|
|
400
|
-
const { buildProgram } = await import("./program-
|
|
400
|
+
const { buildProgram } = await import("./program-BeB3v4zk.js");
|
|
401
401
|
const program = buildProgram();
|
|
402
402
|
installUnhandledRejectionHandler();
|
|
403
403
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -410,10 +410,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
410
410
|
const { getProgramContext } = await import("./program-context-BrqeiWcA.js").then((n) => n.n);
|
|
411
411
|
const ctx = getProgramContext(program);
|
|
412
412
|
if (ctx) {
|
|
413
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
413
|
+
const { registerCoreCliByName } = await import("./command-registry-Bo2L5BJz.js").then((n) => n.t);
|
|
414
414
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
415
415
|
}
|
|
416
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
416
|
+
const { registerSubCliByName } = await import("./register.subclis-DQx75Ni7.js").then((n) => n.a);
|
|
417
417
|
await registerSubCliByName(program, primary);
|
|
418
418
|
}
|
|
419
419
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -421,7 +421,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
421
421
|
primary,
|
|
422
422
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
423
423
|
})) {
|
|
424
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
424
|
+
const { registerPluginCliCommands } = await import("./cli-BC9fLKsk.js");
|
|
425
425
|
const { loadConfig } = await import("./auth-profiles-Baj5ImDJ.js").then((n) => n.D);
|
|
426
426
|
registerPluginCliCommands(program, loadConfig());
|
|
427
427
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as shouldLogVerbose, D as logVerbose, K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
4
|
-
import { _ as runExec } from "./workspace-
|
|
5
|
-
import { J as isInboundPathAllowed, R as loadConfig, T as resolveApiKeyForProvider, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, c as normalizeProviderId, dn as resolveIdleHandsAgentDir, g as normalizeGoogleModelId, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, w as requireApiKey } from "./model-selection-
|
|
1
|
+
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
3
|
+
import { A as shouldLogVerbose, D as logVerbose, K as resolvePreferredIdleHandsTmpDir } from "./utils-CTFLl_ji.js";
|
|
4
|
+
import { _ as runExec } from "./workspace-DBFSzT6O.js";
|
|
5
|
+
import { J as isInboundPathAllowed, R as loadConfig, T as resolveApiKeyForProvider, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, c as normalizeProviderId, dn as resolveIdleHandsAgentDir, g as normalizeGoogleModelId, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, w as requireApiKey } from "./model-selection-1MMYqY6M.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
7
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
-
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-
|
|
9
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
7
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-D1KtygWz.js";
|
|
8
|
+
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-D8b_rlQC.js";
|
|
9
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CIyaa44H.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-3YYM8QuM.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-iuQsIjqN.js";
|
|
12
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-KN4Hp1yZ.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
@@ -958,7 +958,7 @@ var MediaAttachmentCache = class {
|
|
|
958
958
|
const log = createSubsystemLogger("model-catalog");
|
|
959
959
|
let modelCatalogPromise = null;
|
|
960
960
|
let hasLoggedModelCatalogError = false;
|
|
961
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
961
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-Bb__OY-j.js").then((n) => n.r);
|
|
962
962
|
let importPiSdk = defaultImportPiSdk;
|
|
963
963
|
const CODEX_PROVIDER = "openai-codex";
|
|
964
964
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as logVerbose } from "./utils-
|
|
3
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
5
|
-
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-
|
|
2
|
+
import { D as logVerbose } from "./utils-CTFLl_ji.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
4
|
+
import { i as isSilentReplyText } from "./tokens-BRLyURxW.js";
|
|
5
|
+
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-CRB60mCJ.js";
|
|
6
6
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-D7PT_rdO.js";
|
|
7
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CMpX7Jaz.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CzsockiZ.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-B7IBoKLy.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-MTSxc7LK.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as loadConfig } from "./model-selection-
|
|
2
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-B1N_MXT_.js";
|
|
4
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
4
|
+
import { n as resolveSignalAccount } from "./accounts-BDVs8LTu.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-D1KtygWz.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-3YYM8QuM.js";
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CzsockiZ.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-B7IBoKLy.js";
|
|
9
9
|
import { t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-3I6GzwDe.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
3
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
5
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { d as normalizeE164, h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-D1KtygWz.js";
|
|
5
|
+
import { t as resolveIMessageAccount } from "./accounts-CIvVRRHb.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CzsockiZ.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-5k-zOZ-s.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-3I6GzwDe.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as resolveStateDir, f as expandHomePrefix, l as resolveOAuthDir, m as resolveRequiredHomeDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-
|
|
2
|
+
import { d as resolveStateDir, f as expandHomePrefix, l as resolveOAuthDir, m as resolveRequiredHomeDir } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
6
|
-
import { B as readConfigFileSnapshotForWrite, H as writeConfigFile, Qt as resolveTelegramPreviewStreamMode, R as loadConfig, fn as withFileLock$1 } from "./model-selection-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
10
|
-
import { t as redactSensitiveText } from "./redact-
|
|
11
|
-
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { B as readConfigFileSnapshotForWrite, H as writeConfigFile, Qt as resolveTelegramPreviewStreamMode, R as loadConfig, fn as withFileLock$1 } from "./model-selection-1MMYqY6M.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
|
|
8
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CRB60mCJ.js";
|
|
9
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-D1KtygWz.js";
|
|
10
|
+
import { t as redactSensitiveText } from "./redact-Bvpf-ATQ.js";
|
|
11
|
+
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-C_0nm4TJ.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CzsockiZ.js";
|
|
13
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-B7IBoKLy.js";
|
|
14
14
|
import { t as renderMarkdownWithMarkers } from "./render-MTSxc7LK.js";
|
|
15
15
|
import { t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
16
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
16
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-D_TMOGQ0.js";
|
|
17
17
|
import { n as normalizePollInput } from "./polls-DhMjjIGW.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-CRB9oCP5.js";
|
|
19
19
|
import fs from "node:fs/promises";
|
|
20
20
|
import os from "node:os";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import syncFs, { readFileSync } from "node:fs";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
24
|
import crypto from "node:crypto";
|
|
25
25
|
import process$1 from "node:process";
|
|
@@ -158,7 +158,7 @@ function getPairingAdapter(channelId) {
|
|
|
158
158
|
//#region src/plugin-sdk/json-store.ts
|
|
159
159
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
160
160
|
try {
|
|
161
|
-
const parsed = safeParseJson(await
|
|
161
|
+
const parsed = safeParseJson(await syncFs.promises.readFile(filePath, "utf-8"));
|
|
162
162
|
if (parsed == null) return {
|
|
163
163
|
value: fallback,
|
|
164
164
|
exists: true
|
|
@@ -180,14 +180,14 @@ async function readJsonFileWithFallback(filePath, fallback) {
|
|
|
180
180
|
}
|
|
181
181
|
async function writeJsonFileAtomically(filePath, value) {
|
|
182
182
|
const dir = path.dirname(filePath);
|
|
183
|
-
await
|
|
183
|
+
await syncFs.promises.mkdir(dir, {
|
|
184
184
|
recursive: true,
|
|
185
185
|
mode: 448
|
|
186
186
|
});
|
|
187
187
|
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
188
|
-
await
|
|
189
|
-
await
|
|
190
|
-
await
|
|
188
|
+
await syncFs.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
189
|
+
await syncFs.promises.chmod(tmp, 384);
|
|
190
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
//#endregion
|
|
@@ -248,7 +248,7 @@ async function readPairingRequests(filePath) {
|
|
|
248
248
|
}
|
|
249
249
|
async function ensureJsonFile(filePath, fallback) {
|
|
250
250
|
try {
|
|
251
|
-
await
|
|
251
|
+
await syncFs.promises.access(filePath);
|
|
252
252
|
} catch {
|
|
253
253
|
await writeJsonFile(filePath, fallback);
|
|
254
254
|
}
|
|
@@ -1515,7 +1515,7 @@ function resolveCronStorePath(storePath) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
async function loadCronStore(storePath) {
|
|
1517
1517
|
try {
|
|
1518
|
-
const raw = await
|
|
1518
|
+
const raw = await syncFs.promises.readFile(storePath, "utf-8");
|
|
1519
1519
|
let parsed;
|
|
1520
1520
|
try {
|
|
1521
1521
|
parsed = JSON5.parse(raw);
|
|
@@ -1536,14 +1536,14 @@ async function loadCronStore(storePath) {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
1538
|
async function saveCronStore(storePath, store) {
|
|
1539
|
-
await
|
|
1539
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1540
1540
|
const { randomBytes } = await import("node:crypto");
|
|
1541
1541
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
1542
1542
|
const json = JSON.stringify(store, null, 2);
|
|
1543
|
-
await
|
|
1544
|
-
await
|
|
1543
|
+
await syncFs.promises.writeFile(tmp, json, "utf-8");
|
|
1544
|
+
await syncFs.promises.rename(tmp, storePath);
|
|
1545
1545
|
try {
|
|
1546
|
-
await
|
|
1546
|
+
await syncFs.promises.copyFile(storePath, `${storePath}.bak`);
|
|
1547
1547
|
} catch {}
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
3
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
-
import { _ as resolveDiscordAccount, v as normalizeDiscordToken } from "./plugins-
|
|
2
|
+
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-CTFLl_ji.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
4
|
+
import { _ as resolveDiscordAccount, v as normalizeDiscordToken } from "./plugins-CRB60mCJ.js";
|
|
5
5
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-D7PT_rdO.js";
|
|
6
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
7
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
6
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-D1KtygWz.js";
|
|
7
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-BeB9WenR.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-CMpX7Jaz.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CzsockiZ.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-B7IBoKLy.js";
|
|
11
11
|
import { t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
12
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
12
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-D_TMOGQ0.js";
|
|
13
13
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-DhMjjIGW.js";
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-5k-zOZ-s.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import { promisify } from "node:util";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import "./utils-BfmeFj7S.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Bn as buildOutboundSessionContext, Bt as createOutboundSendDeps, Cr as enqueueSystemEvent, Dr as requestHeartbeatNow, E as resolveGatewaySessionStoreTarget, Lt as resolveOutboundTarget, T as pruneLegacyStoreKeys, jt as agentCommand, w as loadSessionEntry } from "./reply-
|
|
4
|
+
import { Bn as buildOutboundSessionContext, Bt as createOutboundSendDeps, Cr as enqueueSystemEvent, Dr as requestHeartbeatNow, E as resolveGatewaySessionStoreTarget, Lt as resolveOutboundTarget, T as pruneLegacyStoreKeys, jt as agentCommand, w as loadSessionEntry } from "./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";
|
|
@@ -103,7 +103,7 @@ import "./resolve-route-BrHTn_2g.js";
|
|
|
103
103
|
import "./replies-CWMglpIw.js";
|
|
104
104
|
import "./skill-commands-BY4BNcfR.js";
|
|
105
105
|
import "./workspace-dirs-C34pt6Pa.js";
|
|
106
|
-
import "./deps-
|
|
106
|
+
import "./deps-Coo8Thxy.js";
|
|
107
107
|
import "./plugin-auto-enable-CU8IfpBV.js";
|
|
108
108
|
import "./channel-selection-DLfBD-c0.js";
|
|
109
109
|
import "./outbound-attachment-Cz80loTd.js";
|
|
@@ -116,7 +116,7 @@ import "./pairing-labels-Dm-DUGGI.js";
|
|
|
116
116
|
import "./server-lifecycle-CfZbDiFe.js";
|
|
117
117
|
import "./stagger-rQoQSWkz.js";
|
|
118
118
|
import "./system-run-command-CrHlKsQv.js";
|
|
119
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
119
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Nj66xHk1.js";
|
|
120
120
|
import { randomUUID } from "node:crypto";
|
|
121
121
|
|
|
122
122
|
//#region src/gateway/server-node-events.ts
|
|
@@ -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 { A as createOutboundSendDeps, An as requestHeartbeatNow, E as agentCommand, En as enqueueSystemEvent, bn as buildOutboundSessionContext, ht as resolveOutboundTarget } from "./subagent-registry-
|
|
28
|
+
import { A as createOutboundSendDeps, An as requestHeartbeatNow, E as agentCommand, En as enqueueSystemEvent, bn as buildOutboundSessionContext, ht as resolveOutboundTarget } from "./subagent-registry-CPeVtSZk.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-udFMSDes.js";
|
|
@@ -108,11 +108,11 @@ 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";
|
|
115
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
115
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CeEArjp5.js";
|
|
116
116
|
import { randomUUID } from "node:crypto";
|
|
117
117
|
|
|
118
118
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as getChildLogger, a as ensureDir, h as resolveUserPath, j as success, w as danger, z as toPinoLikeLogger } from "./utils-
|
|
2
|
-
import { tn as VERSION } from "./model-selection-
|
|
1
|
+
import { I as getChildLogger, a as ensureDir, h as resolveUserPath, j as success, w as danger, z as toPinoLikeLogger } from "./utils-CTFLl_ji.js";
|
|
2
|
+
import { tn as VERSION } from "./model-selection-1MMYqY6M.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
4
|
-
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./auth-store-
|
|
5
|
-
import
|
|
4
|
+
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./auth-store-DXT-l7fO.js";
|
|
5
|
+
import syncFs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
8
8
|
import qrcode from "qrcode-terminal";
|
|
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
21
21
|
const raw = readCredsJsonRaw(credsPath);
|
|
22
22
|
if (raw) try {
|
|
23
23
|
JSON.parse(raw);
|
|
24
|
-
|
|
24
|
+
syncFs.copyFileSync(credsPath, backupPath);
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
syncFs.chmodSync(backupPath, 384);
|
|
27
27
|
} catch {}
|
|
28
28
|
} catch {}
|
|
29
29
|
} catch {}
|
|
30
30
|
try {
|
|
31
31
|
await Promise.resolve(saveCreds());
|
|
32
32
|
try {
|
|
33
|
-
|
|
33
|
+
syncFs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
34
34
|
} catch {}
|
|
35
35
|
} catch (err) {
|
|
36
36
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|