@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,14 +1,14 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { K as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { A as isNotFoundPathError, j as isPathInside } from "./workspace-
|
|
4
|
-
import { R as loadConfig } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
2
|
+
import { K as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-CTFLl_ji.js";
|
|
3
|
+
import { A as isNotFoundPathError, j as isPathInside } from "./workspace-DBFSzT6O.js";
|
|
4
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
5
5
|
import { a as resolvePinnedHostnameWithPolicy, s as isLoopbackIpAddress } from "./ssrf-CZeHDwVZ.js";
|
|
6
|
-
import { i as isErrno } from "./errors-
|
|
7
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
+
import { i as isErrno } from "./errors-C_0nm4TJ.js";
|
|
7
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CYUaAFO9.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import syncFs from "node:fs";
|
|
12
12
|
import { execFileSync, spawn } from "node:child_process";
|
|
13
13
|
import { createHmac } from "node:crypto";
|
|
14
14
|
import net from "node:net";
|
|
@@ -1340,7 +1340,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1340
1340
|
]);
|
|
1341
1341
|
function exists$1(filePath) {
|
|
1342
1342
|
try {
|
|
1343
|
-
return
|
|
1343
|
+
return syncFs.existsSync(filePath);
|
|
1344
1344
|
} catch {
|
|
1345
1345
|
return false;
|
|
1346
1346
|
}
|
|
@@ -1483,7 +1483,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
function readDesktopExecLine(desktopPath) {
|
|
1485
1485
|
try {
|
|
1486
|
-
const lines =
|
|
1486
|
+
const lines = syncFs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1487
1487
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1488
1488
|
} catch {}
|
|
1489
1489
|
return null;
|
|
@@ -1741,7 +1741,7 @@ function resolveBrowserExecutableForPlatform(resolved, platform) {
|
|
|
1741
1741
|
const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
|
|
1742
1742
|
function resolveLsofCommandSync() {
|
|
1743
1743
|
for (const candidate of LSOF_CANDIDATES) try {
|
|
1744
|
-
|
|
1744
|
+
syncFs.accessSync(candidate, syncFs.constants.X_OK);
|
|
1745
1745
|
return candidate;
|
|
1746
1746
|
} catch {}
|
|
1747
1747
|
return "lsof";
|
|
@@ -1786,8 +1786,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
function safeReadJson(filePath) {
|
|
1788
1788
|
try {
|
|
1789
|
-
if (!
|
|
1790
|
-
const raw =
|
|
1789
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
1790
|
+
const raw = syncFs.readFileSync(filePath, "utf-8");
|
|
1791
1791
|
const parsed = JSON.parse(raw);
|
|
1792
1792
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1793
1793
|
return parsed;
|
|
@@ -1796,8 +1796,8 @@ function safeReadJson(filePath) {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
1798
|
function safeWriteJson(filePath, data) {
|
|
1799
|
-
|
|
1800
|
-
|
|
1799
|
+
syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1800
|
+
syncFs.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1801
1801
|
}
|
|
1802
1802
|
function setDeep(obj, keys, value) {
|
|
1803
1803
|
let node = obj;
|
|
@@ -1924,7 +1924,7 @@ function decorateIdleHandsProfile(userDataDir, opts) {
|
|
|
1924
1924
|
}
|
|
1925
1925
|
safeWriteJson(preferencesPath, prefs);
|
|
1926
1926
|
try {
|
|
1927
|
-
|
|
1927
|
+
syncFs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
1928
1928
|
} catch {}
|
|
1929
1929
|
}
|
|
1930
1930
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -1940,7 +1940,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
1940
1940
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
1941
1941
|
function exists(filePath) {
|
|
1942
1942
|
try {
|
|
1943
|
-
return
|
|
1943
|
+
return syncFs.existsSync(filePath);
|
|
1944
1944
|
} catch {
|
|
1945
1945
|
return false;
|
|
1946
1946
|
}
|
|
@@ -2020,7 +2020,7 @@ async function launchIdleHandsChrome(resolved, profile) {
|
|
|
2020
2020
|
const exe = resolveBrowserExecutable(resolved);
|
|
2021
2021
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
2022
2022
|
const userDataDir = resolveIdleHandsUserDataDir(profile.name);
|
|
2023
|
-
|
|
2023
|
+
syncFs.mkdirSync(userDataDir, { recursive: true });
|
|
2024
2024
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_IDLEHANDS_BROWSER_COLOR).toUpperCase());
|
|
2025
2025
|
const spawnOnce = () => {
|
|
2026
2026
|
const args = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
4
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
4
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-C8QtrwEU.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
7
7
|
function parseFenceSpans(buffer) {
|
|
@@ -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 { _ as loadIdleHandsPlugins } from "./subagent-registry-
|
|
28
|
+
import { _ as loadIdleHandsPlugins } 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,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";
|
|
@@ -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 { ht as loadIdleHandsPlugins } from "./reply-
|
|
4
|
+
import { ht as loadIdleHandsPlugins } from "./reply-Du7Q5RJl.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DbNnv10G.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
|
|
7
7
|
import "./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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { on as hasHelpOrVersion, rn as getPrimaryCommand } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-DQx75Ni7.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-XGT1lV6o.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-CJeQ64iC.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-COg3mvRi.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-C8s4mZF3.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-MELPxVyx.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-kzRNe_7l.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-BaiV-Kp5.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-jEhyhioj.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -159,7 +159,7 @@ const coreEntries = [
|
|
|
159
159
|
hasSubcommands: true
|
|
160
160
|
}],
|
|
161
161
|
register: async ({ program }) => {
|
|
162
|
-
(await import("./register.orchestrator-anton-
|
|
162
|
+
(await import("./register.orchestrator-anton-CdVQ30at.js")).registerOrchestratorAntonCommands(program);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as getActivePluginRegistry } from "./subsystem-
|
|
3
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { bn as DEFAULT_PROVIDER, u as resolveConfiguredModelRef, yn as DEFAULT_MODEL } from "./model-selection-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { l as getActivePluginRegistry } from "./subsystem-tzu-rIAJ.js";
|
|
3
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-CTFLl_ji.js";
|
|
4
|
+
import { bn as DEFAULT_PROVIDER, u as resolveConfiguredModelRef, yn as DEFAULT_MODEL } from "./model-selection-1MMYqY6M.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-BgOmHcbh.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-CRB60mCJ.js";
|
|
7
7
|
import { r as listThinkingLevels } from "./thinking-z4_linel.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/commands.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { St as theme, Z as pathExists, qt as resolveStateDir, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
4
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
5
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
4
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DQx75Ni7.js";
|
|
5
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Bo2L5BJz.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-BrqeiWcA.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -3,7 +3,7 @@ import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
|
3
3
|
import { B as theme, h as pathExists } from "./utils-BfmeFj7S.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-BTkYq-SM.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-DIG3qrf5.js";
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-w-tdgurY.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -213,7 +213,7 @@ async function runConfigUnset(opts) {
|
|
|
213
213
|
}
|
|
214
214
|
function registerConfigCli(program) {
|
|
215
215
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.idlehands.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
216
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
216
|
+
const { configureCommandFromSectionsArg } = await import("./configure-BpeVYPCY.js").then((n) => n.t);
|
|
217
217
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
218
218
|
});
|
|
219
219
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -217,7 +217,7 @@ async function runConfigUnset(opts) {
|
|
|
217
217
|
}
|
|
218
218
|
function registerConfigCli(program) {
|
|
219
219
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.idlehands.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
220
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
220
|
+
const { configureCommandFromSectionsArg } = await import("./configure-6COQEc8d.js").then((n) => n.t);
|
|
221
221
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
222
222
|
});
|
|
223
223
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -12,15 +12,15 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
12
12
|
import { t as note$1 } from "./note--5AAjfvH.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-EMS8sO4h.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-BT-vQKYZ.js";
|
|
16
16
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BZY9-jNW.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-fKr0VnMd.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-BavRGpi2.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CSrZ1shI.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-BK2fjjMe.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CiRp6avH.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CnB-Ffeh.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CM_QFlL4.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BRBtRm6O.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-C_4nk_e8.js";
|
|
@@ -11,15 +11,15 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-C2HHth6G.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-jrbhR8dl.js";
|
|
15
15
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DUHqeg5Y.js";
|
|
16
16
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
17
17
|
import { t as resolveGatewayService } from "./service-BzgRt9im.js";
|
|
18
|
-
import { r as healthCommand } from "./health-
|
|
18
|
+
import { r as healthCommand } from "./health-j2mDzeUl.js";
|
|
19
19
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5haX6bT.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
21
21
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kycZqH8q.js";
|
|
22
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
22
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-C0ADVtim.js";
|
|
23
23
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-D_yngXMe.js";
|
|
24
24
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Dx928sEF.js";
|
|
25
25
|
import { a as promptCustomApiConfig } from "./onboard-custom-BjUK6yP5.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as resolveStateDir } from "./paths-
|
|
3
|
-
import { C as triggerInternalHook, b as createInternalHookEvent, l as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { C as triggerInternalHook, b as createInternalHookEvent, l as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
4
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
5
|
-
import { t as getChannelDock } from "./dock-
|
|
6
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
7
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { t as getChannelDock } from "./dock-BgOmHcbh.js";
|
|
6
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-BRLyURxW.js";
|
|
7
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CRB60mCJ.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-B1N_MXT_.js";
|
|
9
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
10
|
-
import { E as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
11
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
14
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CghCLoPo.js";
|
|
10
|
+
import { E as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-3ioSeOA1.js";
|
|
11
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-CMpX7Jaz.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CzsockiZ.js";
|
|
13
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-KN4Hp1yZ.js";
|
|
14
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-C1hvd3bt.js";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import syncFs from "node:fs";
|
|
17
17
|
|
|
18
18
|
//#region src/plugins/hooks.ts
|
|
19
19
|
/**
|
|
@@ -843,11 +843,11 @@ function resolveFailedDir(stateDir) {
|
|
|
843
843
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
844
844
|
async function ensureQueueDir(stateDir) {
|
|
845
845
|
const queueDir = resolveQueueDir(stateDir);
|
|
846
|
-
await
|
|
846
|
+
await syncFs.promises.mkdir(queueDir, {
|
|
847
847
|
recursive: true,
|
|
848
848
|
mode: 448
|
|
849
849
|
});
|
|
850
|
-
await
|
|
850
|
+
await syncFs.promises.mkdir(resolveFailedDir(stateDir), {
|
|
851
851
|
recursive: true,
|
|
852
852
|
mode: 448
|
|
853
853
|
});
|
|
@@ -874,18 +874,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
874
874
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
875
875
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
876
876
|
const json = JSON.stringify(entry, null, 2);
|
|
877
|
-
await
|
|
877
|
+
await syncFs.promises.writeFile(tmp, json, {
|
|
878
878
|
encoding: "utf-8",
|
|
879
879
|
mode: 384
|
|
880
880
|
});
|
|
881
|
-
await
|
|
881
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
882
882
|
return id;
|
|
883
883
|
}
|
|
884
884
|
/** Remove a successfully delivered entry from the queue. */
|
|
885
885
|
async function ackDelivery(id, stateDir) {
|
|
886
886
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
887
887
|
try {
|
|
888
|
-
await
|
|
888
|
+
await syncFs.promises.unlink(filePath);
|
|
889
889
|
} catch (err) {
|
|
890
890
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
891
891
|
}
|
|
@@ -893,17 +893,17 @@ async function ackDelivery(id, stateDir) {
|
|
|
893
893
|
/** Update a queue entry after a failed delivery attempt. */
|
|
894
894
|
async function failDelivery(id, error, stateDir) {
|
|
895
895
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
896
|
-
const raw = await
|
|
896
|
+
const raw = await syncFs.promises.readFile(filePath, "utf-8");
|
|
897
897
|
const entry = JSON.parse(raw);
|
|
898
898
|
entry.retryCount += 1;
|
|
899
899
|
entry.lastAttemptAt = Date.now();
|
|
900
900
|
entry.lastError = error;
|
|
901
901
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
902
|
-
await
|
|
902
|
+
await syncFs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
903
903
|
encoding: "utf-8",
|
|
904
904
|
mode: 384
|
|
905
905
|
});
|
|
906
|
-
await
|
|
906
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
//#endregion
|
|
@@ -18,7 +18,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-CrYZNxAg.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
@@ -18,27 +18,27 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-Cp8ceOUo.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
25
|
-
const { sendMessageTelegram } = await import("./send-
|
|
25
|
+
const { sendMessageTelegram } = await import("./send-Dfa3sn6r.js").then((n) => n.l);
|
|
26
26
|
return await sendMessageTelegram(...args);
|
|
27
27
|
},
|
|
28
28
|
sendMessageDiscord: async (...args) => {
|
|
29
|
-
const { sendMessageDiscord } = await import("./send-
|
|
29
|
+
const { sendMessageDiscord } = await import("./send-DmLC7aEF.js").then((n) => n.t);
|
|
30
30
|
return await sendMessageDiscord(...args);
|
|
31
31
|
},
|
|
32
32
|
sendMessageSlack: async (...args) => {
|
|
33
|
-
const { sendMessageSlack } = await import("./send-
|
|
33
|
+
const { sendMessageSlack } = await import("./send-BeIZJuy4.js").then((n) => n.n);
|
|
34
34
|
return await sendMessageSlack(...args);
|
|
35
35
|
},
|
|
36
36
|
sendMessageSignal: async (...args) => {
|
|
37
|
-
const { sendMessageSignal } = await import("./send-
|
|
37
|
+
const { sendMessageSignal } = await import("./send-C1hvd3bt.js").then((n) => n.i);
|
|
38
38
|
return await sendMessageSignal(...args);
|
|
39
39
|
},
|
|
40
40
|
sendMessageIMessage: async (...args) => {
|
|
41
|
-
const { sendMessageIMessage } = await import("./send-
|
|
41
|
+
const { sendMessageIMessage } = await import("./send-D4bMycQu.js").then((n) => n.n);
|
|
42
42
|
return await sendMessageIMessage(...args);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -21,7 +21,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({
|
|
|
21
21
|
function createDefaultDeps() {
|
|
22
22
|
return {
|
|
23
23
|
sendMessageWhatsApp: async (...args) => {
|
|
24
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
24
|
+
const { sendMessageWhatsApp } = await import("./web-D77Xu1Fp.js");
|
|
25
25
|
return await sendMessageWhatsApp(...args);
|
|
26
26
|
},
|
|
27
27
|
sendMessageTelegram: async (...args) => {
|
|
@@ -21,7 +21,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({
|
|
|
21
21
|
function createDefaultDeps() {
|
|
22
22
|
return {
|
|
23
23
|
sendMessageWhatsApp: async (...args) => {
|
|
24
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
24
|
+
const { sendMessageWhatsApp } = await import("./web-DzfcaLnK.js");
|
|
25
25
|
return await sendMessageWhatsApp(...args);
|
|
26
26
|
},
|
|
27
27
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-BGF2r-kt.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as requireActivePluginRegistry, i as getChatChannelMeta, r as CHAT_CHANNEL_ORDER } from "./subsystem-
|
|
2
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
1
|
+
import { d as requireActivePluginRegistry, i as getChatChannelMeta, r as CHAT_CHANNEL_ORDER } from "./subsystem-tzu-rIAJ.js";
|
|
2
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-
|
|
5
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
4
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-CRB60mCJ.js";
|
|
5
|
+
import { n as resolveWhatsAppAccount } from "./accounts-Dk8mJIrQ.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
7
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
8
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
7
|
+
import { n as resolveSignalAccount } from "./accounts-BDVs8LTu.js";
|
|
8
|
+
import { t as resolveIMessageAccount } from "./accounts-CIvVRRHb.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-DInZLuZ8.js";
|
|
3
3
|
import { t as note } from "./note--5AAjfvH.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-w7SY12wl.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-CPa5ksO_.js";
|
|
2
2
|
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-SOu5dQGI.js";
|
|
3
3
|
import { t as note } from "./note-C2HHth6G.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CevdZ8t2.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { M as logVerbose } from "./utils-BfmeFj7S.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { An as formatAbortReplyText, Mn as stopSubagentsForRequester, Vn as clearSessionQueues, f as abortEmbeddedPiRun, jn as isAbortRequestText } from "./reply-
|
|
4
|
+
import { An as formatAbortReplyText, Mn as stopSubagentsForRequester, Vn as clearSessionQueues, f as abortEmbeddedPiRun, jn as isAbortRequestText } from "./reply-Du7Q5RJl.js";
|
|
5
5
|
import "./agent-scope-DbNnv10G.js";
|
|
6
6
|
import "./subsystem-BTkYq-SM.js";
|
|
7
7
|
import "./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";
|
|
@@ -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 { $n as stopSubagentsForRequester, Qn as isAbortRequestText, Zn as formatAbortReplyText, c as abortEmbeddedPiRun, o as clearSessionQueues } from "./subagent-registry-
|
|
28
|
+
import { $n as stopSubagentsForRequester, Qn as isAbortRequestText, Zn as formatAbortReplyText, c as abortEmbeddedPiRun, o as clearSessionQueues } from "./subagent-registry-CPeVtSZk.js";
|
|
29
29
|
import { r as resolveDefaultSessionStorePath } from "./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";
|
|
@@ -9,7 +9,7 @@ import "./github-copilot-token-D50c466d.js";
|
|
|
9
9
|
import "./env-BpvqFD5n.js";
|
|
10
10
|
import "./dock-QcCdS4qA.js";
|
|
11
11
|
import "./tokens-Cg4XNE3H.js";
|
|
12
|
-
import { F as isAbortRequestText, I as stopSubagentsForRequester, P as formatAbortReplyText, V as clearSessionQueues, n as abortEmbeddedPiRun } from "./pi-embedded-
|
|
12
|
+
import { F as isAbortRequestText, I as stopSubagentsForRequester, P as formatAbortReplyText, V as clearSessionQueues, n as abortEmbeddedPiRun } from "./pi-embedded-D35RiR0f.js";
|
|
13
13
|
import "./plugins-D-_jp4FO.js";
|
|
14
14
|
import "./accounts-BwrguHMw.js";
|
|
15
15
|
import "./bindings-hT7SPhiA.js";
|
|
@@ -62,7 +62,7 @@ import "./send-Cn2wvd3W.js";
|
|
|
62
62
|
import "./resolve-route-BI3VjtwE.js";
|
|
63
63
|
import "./proxy-CNZpb4NE.js";
|
|
64
64
|
import "./replies-CqYEEgmA.js";
|
|
65
|
-
import "./deps-
|
|
65
|
+
import "./deps-B3svY-p3.js";
|
|
66
66
|
|
|
67
67
|
//#region src/auto-reply/reply/emergency-stop.ts
|
|
68
68
|
/**
|