@visorcraft/idlehands 4.0.16 → 4.0.18
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/CHANGELOG.md +15 -0
- package/dist/{accounts-Dk8mJIrQ.js → accounts-CRDMZUcg.js} +6 -6
- package/dist/{accounts-BDVs8LTu.js → accounts-upx5iuke.js} +1 -1
- package/dist/{accounts-CIvVRRHb.js → accounts-yD5yI-jP.js} +1 -1
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-BVeQuh5x.js} +4 -4
- package/dist/{agent-via-gateway-Ceb_VeXS.js → agent-via-gateway-CC37LlPd.js} +3 -2
- package/dist/{agent-via-gateway-DIfwOe7Y.js → agent-via-gateway-Cl2YwlXJ.js} +2 -1
- package/dist/{agent-via-gateway-F1Zu0slF.js → agent-via-gateway-ClQrLbgo.js} +2 -1
- package/dist/{agent-via-gateway-7SDhvcBa.js → agent-via-gateway-pMCfUzW-.js} +61 -60
- package/dist/{agents-idaLog48.js → agents-DrnGQroU.js} +4 -4
- package/dist/{agents.config-w0ZcfpyW.js → agents.config-BZPnYIMF.js} +1 -1
- package/dist/{agents.config-DP_bqTwg.js → agents.config-DfWZrbXn.js} +1 -1
- package/dist/{anton-CzWIEEiT.js → anton-B-I7rEtn.js} +44 -15
- package/dist/{anton-B7VZSQo-.js → anton-BfrX2FMd.js} +40 -11
- package/dist/{anton-Cs1JPzv4.js → anton-BgKjig3B.js} +40 -11
- package/dist/{anton-BomwkDBv.js → anton-BrY-bWgq.js} +40 -11
- package/dist/{audio-preflight-BSlR2jEq.js → audio-preflight-aBtF0cRI.js} +35 -35
- package/dist/{auth-choice-D-TtZtMR.js → auth-choice-DtvI4epn.js} +1 -1
- package/dist/{auth-choice-C49o8owq.js → auth-choice-_C22dz9o.js} +1 -1
- package/dist/{auth-store-DXT-l7fO.js → auth-store-DQAd4LSE.js} +12 -12
- package/dist/{banner-DmFqQvFd.js → banner-B-UYZG8d.js} +1 -1
- package/dist/{bindings-D3b5Fmc9.js → bindings-B9L4cqmm.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-D_TMOGQ0.js → channel-activity-DOLX-uK1.js} +3 -3
- package/dist/{channel-options-CsEgIwgu.js → channel-options-BbwNg4q_.js} +1 -1
- package/dist/{channel-options-1Dqo0zkg.js → channel-options-C0iwLcfC.js} +1 -1
- package/dist/{channel-web-BicbbO9_.js → channel-web-BLxKeCXF.js} +2 -2
- package/dist/{channel-web-C7s5QLXL.js → channel-web-q6Ugfiks.js} +2 -2
- package/dist/{channels-cli-CWb-B8BT.js → channels-cli-BtL1XuuK.js} +7 -7
- package/dist/{channels-cli-REwO9h_a.js → channels-cli-DaRR8vAs.js} +7 -7
- package/dist/{chrome-_2tzVjVl.js → chrome-D_SXDetO.js} +17 -17
- package/dist/{chunk-CMpX7Jaz.js → chunk-BgScV6uo.js} +1 -1
- package/dist/{cli-B9ARC6CF.js → cli-BjhrdeVd.js} +2 -2
- package/dist/{cli-B4rP4MXJ.js → cli-CrUoGRuS.js} +2 -2
- package/dist/{command-registry-0e5VHciB.js → command-registry-BZNlvfaM.js} +10 -10
- package/dist/{commands-registry-j4vAzcF2.js → commands-registry-CK7aj_ri.js} +5 -5
- package/dist/{completion-cli-C1StqVUs.js → completion-cli-BIabgt7h.js} +1 -1
- package/dist/{completion-cli-BTtvgatl.js → completion-cli-p9W-g1Pe.js} +2 -2
- package/dist/{config-cli-C3As38Z_.js → config-cli-B4nNEjK9.js} +1 -1
- package/dist/{config-cli-B-yirt2T.js → config-cli-u4zbdm-e.js} +1 -1
- package/dist/{configure-Cw6aeqBy.js → configure-BbDbMd5G.js} +3 -3
- package/dist/{configure-BEd8nUOe.js → configure-Dj1JdeEI.js} +3 -3
- package/dist/{deliver-CVTXl0Cv.js → deliver-CJaM2zRY.js} +20 -20
- package/dist/{deps-C28cWNmF.js → deps-BMWq0kjy.js} +1 -1
- package/dist/{deps-Cn32rOjf.js → deps-BuRud-p8.js} +1 -1
- package/dist/{deps-CVb-kfIX.js → deps-CQzDLqTz.js} +6 -6
- package/dist/{deps-CYAKIzhf.js → deps-Dr9GpASq.js} +1 -1
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-lz5wKsEe.js} +1 -1
- package/dist/{dock-BgOmHcbh.js → dock-6MgvdSqu.js} +6 -6
- package/dist/{doctor-completion-o6QBkVYG.js → doctor-completion-BLRGmusD.js} +1 -1
- package/dist/{doctor-completion-T5sq7t8L.js → doctor-completion-BeZMlZPb.js} +1 -1
- package/dist/{emergency-stop-CMeSxuEg.js → emergency-stop-BEsjWvQL.js} +2 -2
- package/dist/{emergency-stop-h5_WOPZT.js → emergency-stop-BU-Vbk3V.js} +2 -2
- package/dist/{emergency-stop-D-dp9zCO.js → emergency-stop-CSSPAKHr.js} +2 -2
- package/dist/emergency-stop-JXB5jZyK.js +113 -0
- package/dist/entry.js +1 -1
- package/dist/{env-B5G1qwGc.js → env-B7b7MKfk.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → errors--Eb33_ji.js} +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-OZ_PCUyr.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-p8nPDprK.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-BEl8T_Vc.js} +2 -2
- package/dist/{gateway-cli-Dxoh3sSC.js → gateway-cli-BCHdAJHS.js} +9 -9
- package/dist/{gateway-cli-bZXsaQkU.js → gateway-cli-Dumy2IVU.js} +9 -9
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-CA0K3QXj.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-DCg9Q9Ll.js} +7 -7
- package/dist/{health-dLZas7f8.js → health-B3kk7l82.js} +1 -1
- package/dist/{health-OvNY74XL.js → health-CqdQAURH.js} +1 -1
- package/dist/{hooks-cli-DZr1MB1B.js → hooks-cli-Ba4woLl0.js} +3 -3
- package/dist/{hooks-cli-DOH-i33b.js → hooks-cli-jMG5GST1.js} +3 -3
- package/dist/{image-COw__ACq.js → image-BQ3RQWD8.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-ZNtLhD4c.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-B7IBoKLy.js → ir-DnyYtX4H.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-C9CA2f0R.js} +5 -5
- package/dist/{login-CFr5vJmR.js → login-Cn1vc1bn.js} +6 -6
- package/dist/{login-qr-CFFFOjOl.js → login-qr-Dj0NmRdg.js} +11 -11
- package/dist/{manager-BE_76jWB.js → manager-DBd_2F6j.js} +15 -15
- package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-CsrsXS80.js} +1 -1
- package/dist/{message-channel-C8QtrwEU.js → message-channel-Cg9KtLfy.js} +1 -1
- package/dist/{model-selection-1MMYqY6M.js → model-selection-Vtu6d5Um.js} +41 -41
- package/dist/{models-Dvyot3-o.js → models-C6GypzZ1.js} +2 -2
- package/dist/{models-cli-Dtzht0md.js → models-cli-BaR1RccY.js} +4 -4
- package/dist/{models-cli-CKRL4j3x.js → models-cli-iLP9BnPA.js} +3 -3
- package/dist/{npm-resolution-BpruvRIr.js → npm-resolution-CWxaTTrT.js} +1 -1
- package/dist/{npm-resolution-iEXmU1Ol.js → npm-resolution-DYUWHUe5.js} +1 -1
- package/dist/{onboard-CS6IQorr.js → onboard-CinZ4CuY.js} +2 -2
- package/dist/{onboard-Ck4SwhZB.js → onboard-DdBsJgzg.js} +2 -2
- package/dist/{onboard-channels-CM4puuWQ.js → onboard-channels-9XAEsgO-.js} +1 -1
- package/dist/{onboard-channels-DzNjXM6f.js → onboard-channels-Bnwwq6TK.js} +1 -1
- package/dist/{onboarding-DMEJRAg4.js → onboarding-C4oujn63.js} +3 -3
- package/dist/{onboarding-0Pop0Cex.js → onboarding-DFvHWFqL.js} +3 -3
- package/dist/{onboarding.finalize-f2qChM_N.js → onboarding.finalize-BDWHPpyn.js} +6 -6
- package/dist/{onboarding.finalize-BZW1kZw7.js → onboarding.finalize-DMhdDTvo.js} +7 -7
- package/dist/{outbound-BNh6PpQb.js → outbound-BYm4JJli.js} +6 -6
- package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-DwaqvYNG.js} +2 -2
- package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-BnjbJzIQ.js} +1 -1
- package/dist/{paths-D_qUel1T.js → paths-0fcEvxu4.js} +3 -3
- package/dist/{paths-BYNVLNi_.js → paths-CkTEyLTV.js} +5 -5
- package/dist/{pi-embedded-Oto02Ard.js → pi-embedded-BDp9JsrM.js} +175 -175
- package/dist/{pi-embedded-BKTKQn_9.js → pi-embedded-Dap1HAGA.js} +11 -11
- package/dist/{pi-embedded-helpers-CyTpDKo5.js → pi-embedded-helpers-B1CKQ81Y.js} +24 -24
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-DBHbwKOo.js} +7 -7
- package/dist/{plugin-registry-BfNJBiAr.js → plugin-registry-CGFy1ugt.js} +1 -1
- package/dist/{plugin-registry-PcN7mK-d.js → plugin-registry-LYzfPk35.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-l3LvRB7r.js → agent-via-gateway-De4e2_-W.js} +3 -2
- package/dist/plugin-sdk/{anton-DJn2RPpW.js → anton-BO16dWNw.js} +40 -11
- package/dist/plugin-sdk/{channel-web-DvztgyXI.js → channel-web-Cd-eamYe.js} +2 -2
- package/dist/plugin-sdk/commands/agent-via-gateway.d.ts +1 -0
- package/dist/plugin-sdk/{deps-B1DxdYuU.js → deps-D6VWIdk7.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-CVZuzTM7.js → emergency-stop-w-HD2bz4.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-BhGucE6k.js → reply-BqAPyIsz.js} +11 -11
- package/dist/plugin-sdk/{web-BzmXmmAo.js → web-Dj_tThNQ.js} +3 -3
- package/dist/{plugins-CRB60mCJ.js → plugins-Bb6_uisJ.js} +10 -10
- package/dist/{plugins-cli-DOTZBHc7.js → plugins-cli-BCAcCeRZ.js} +3 -3
- package/dist/{plugins-cli-s1bEnfMn.js → plugins-cli-BQKfJ9aF.js} +3 -3
- package/dist/{program-Blak4A0H.js → program-Df-zk5RB.js} +8 -8
- package/dist/{program-context-DtHO30yM.js → program-context-DBOEyhi4.js} +18 -18
- package/dist/{prompt-select-styled-DuHE5c_O.js → prompt-select-styled-B0FsbRWb.js} +4 -4
- package/dist/{prompt-select-styled-D8vDTRY8.js → prompt-select-styled-DJVZSK4X.js} +4 -4
- package/dist/{provider-auth-helpers-PdlgGx1Z.js → provider-auth-helpers-Aojd4jNn.js} +1 -1
- package/dist/{provider-auth-helpers-CnqcE5__.js → provider-auth-helpers-D0cQmJkF.js} +1 -1
- package/dist/{push-apns-DkGS3lmo.js → push-apns-BtI9tV7C.js} +1 -1
- package/dist/{push-apns-CNVtKEbW.js → push-apns-qzriU6TC.js} +1 -1
- package/dist/{pw-ai-CowTfhOG.js → pw-ai-BKPa5DlF.js} +13 -13
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-DEJVRLvM.js} +8 -8
- package/dist/{query-expansion-DEq020GG.js → query-expansion-CW7PqIXL.js} +5 -5
- package/dist/{redact-Bvpf-ATQ.js → redact-D1Ebz_iR.js} +1 -1
- package/dist/{register.agent-BGs6wEo-.js → register.agent-ButiRGeg.js} +9 -9
- package/dist/{register.agent-DliuXWG0.js → register.agent-Xdy9Gu3H.js} +8 -8
- package/dist/{register.configure-D9bNPRml.js → register.configure-f4xr9iKB.js} +8 -8
- package/dist/{register.configure-DJsShg2l.js → register.configure-m5qhbCOO.js} +8 -8
- package/dist/{register.maintenance-B-36Avrl.js → register.maintenance-BA4e0HDc.js} +8 -8
- package/dist/{register.maintenance-B7ZM7NqF.js → register.maintenance-N55abUee.js} +9 -9
- package/dist/{register.message-CmEzaYEw.js → register.message-DaVB6EYW.js} +3 -3
- package/dist/{register.message-Cm5P_dls.js → register.message-Zta0bYh0.js} +3 -3
- package/dist/{register.onboard-ByUSn1hy.js → register.onboard-BHKf5Emm.js} +2 -2
- package/dist/{register.onboard-cB-UkXhL.js → register.onboard-BikBO9Gs.js} +2 -2
- package/dist/{register.orchestrator-anton-D_mAceTk.js → register.orchestrator-anton-DtPFOV9F.js} +2 -2
- package/dist/{register.orchestrator-anton-CADua5Nr.js → register.orchestrator-anton-x3yGok7b.js} +2 -2
- package/dist/{register.setup-CA3WwC1V.js → register.setup-BeRMjZaz.js} +2 -2
- package/dist/{register.setup-DOnWysTP.js → register.setup-DCIPrpG0.js} +2 -2
- package/dist/{register.status-health-sessions-DgR30NBl.js → register.status-health-sessions-CA5wMwpi.js} +4 -4
- package/dist/{register.status-health-sessions-Dsvbkrhh.js → register.status-health-sessions-I0YSjY_V.js} +4 -4
- package/dist/{register.subclis-CvN5J3oh.js → register.subclis-DZkq_g35.js} +9 -9
- package/dist/{replies-6_GxvQYe.js → replies-CXcxPRWk.js} +3 -3
- package/dist/{reply-D6y5faqD.js → reply-DlS9HBVo.js} +11 -11
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-49q2WQ2B.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-Dr-fqH39.js} +4 -4
- package/dist/{retry-BeB9WenR.js → retry-DWN-e4ja.js} +1 -1
- package/dist/{run-main-BBYeikWD.js → run-main-B75ak_hb.js} +15 -15
- package/dist/{runner-BzNdfqDz.js → runner-DO528Ump.js} +11 -11
- package/dist/{send-BeIZJuy4.js → send-BspIjWIY.js} +7 -7
- package/dist/{send-DmLC7aEF.js → send-BypmtKl1.js} +10 -10
- package/dist/{send-D4bMycQu.js → send-CRnMBrJ2.js} +7 -7
- package/dist/{send-Dfa3sn6r.js → send-De8xTUIV.js} +24 -24
- package/dist/{send-C1hvd3bt.js → send-szC_vYk_.js} +6 -6
- package/dist/{server-node-events-CcAiA2an.js → server-node-events-B1RPoseF.js} +3 -3
- package/dist/{server-node-events-DeBYOK05.js → server-node-events-CufCnFp4.js} +3 -3
- package/dist/{session-F_YDS_1V.js → session-CKiIT4OY.js} +7 -7
- package/dist/{sessions-3ioSeOA1.js → sessions-BgxmLQuf.js} +41 -41
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-BOUMR5De.js} +9 -9
- package/dist/{skills-CnAPWfca.js → skills-OsjsCf_S.js} +22 -22
- package/dist/{status-Dd0rJBTD.js → status-ERmEJYw1.js} +2 -2
- package/dist/{status-BW8aF7xu.js → status-hXjECVBh.js} +2 -2
- package/dist/{store-CvMgrKWx.js → store-B4rHJvSg.js} +2 -2
- package/dist/{subagent-registry-DeXWDNty.js → subagent-registry-CcxZYIwL.js} +11 -11
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-B98oWbbO.js} +1 -1
- package/dist/{tables-5k-zOZ-s.js → tables-DuOExt0S.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-CWZr3RMI.js} +2 -2
- package/dist/{tokens-BRLyURxW.js → tokens-B9ArFCMX.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → tool-images-DLiBUCZb.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-j48jLTrr.js} +3 -3
- package/dist/{update-cli-C97163Ne.js → update-cli-DROtjWg7.js} +9 -9
- package/dist/{update-cli-DLWAR9u6.js → update-cli-Rnv68OR6.js} +8 -8
- package/dist/{update-runner-Cft2lh5r.js → update-runner-BWxBVG9j.js} +1 -1
- package/dist/{update-runner-BV9LWTCG.js → update-runner-CqeNDbPD.js} +1 -1
- package/dist/{utils-CTFLl_ji.js → utils-ChNzRVsg.js} +18 -18
- package/dist/{web-BwZ1OGaX.js → web-5ddwA0bs.js} +66 -66
- package/dist/{web-D8zB-Qkg.js → web-BMSzFWiF.js} +3 -3
- package/dist/{web-DGPTqAhk.js → web-BQLIquZA.js} +3 -3
- package/dist/{web-Da_aB4Vm.js → web-CnzKMZK0.js} +3 -3
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-CYraflBZ.js} +25 -25
- package/dist/{workspace-DBFSzT6O.js → workspace-AM44PzIs.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/CHANGELOG.md +12 -0
- 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/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- 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/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-w0AyIMs7.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-CcxZYIwL.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-Brv1GCwX.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-BuRud-p8.js";
|
|
112
112
|
import "./onboard-helpers-Dp6wXNs7.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-CGFy1ugt.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-B-UYZG8d.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-B3kk7l82.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-ERmEJYw1.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-DrnGQroU.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-u4zbdm-e.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-u4zbdm-e.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-C6GypzZ1.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-C6GypzZ1.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-Df-zk5RB.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-BZNlvfaM.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-DZkq_g35.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-CrUoGRuS.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-BVeQuh5x.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B98oWbbO.js";
|
|
3
|
+
import { A as shouldLogVerbose, D as logVerbose, K as resolvePreferredIdleHandsTmpDir } from "./utils-ChNzRVsg.js";
|
|
4
|
+
import { _ as runExec } from "./workspace-AM44PzIs.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-Vtu6d5Um.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-ZNtLhD4c.js";
|
|
8
|
+
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-BQ3RQWD8.js";
|
|
9
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CA0K3QXj.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-OZ_PCUyr.js";
|
|
12
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-C9CA2f0R.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-DBHbwKOo.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-ChNzRVsg.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-Vtu6d5Um.js";
|
|
4
|
+
import { i as isSilentReplyText } from "./tokens-B9ArFCMX.js";
|
|
5
|
+
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-Bb6_uisJ.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-BgScV6uo.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CsrsXS80.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DnyYtX4H.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-MTSxc7LK.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -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-ChNzRVsg.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-Vtu6d5Um.js";
|
|
4
|
+
import { _ as resolveDiscordAccount, v as normalizeDiscordToken } from "./plugins-Bb6_uisJ.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-ZNtLhD4c.js";
|
|
7
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-DWN-e4ja.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-BgScV6uo.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CsrsXS80.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-DnyYtX4H.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-DOLX-uK1.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-DuOExt0S.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import { promisify } from "node:util";
|
|
@@ -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-ChNzRVsg.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-Vtu6d5Um.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-ZNtLhD4c.js";
|
|
5
|
+
import { t as resolveIMessageAccount } from "./accounts-yD5yI-jP.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CsrsXS80.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-DuOExt0S.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DwaqvYNG.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-CkTEyLTV.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-B98oWbbO.js";
|
|
4
|
+
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-ChNzRVsg.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-Vtu6d5Um.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-B7b7MKfk.js";
|
|
8
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Bb6_uisJ.js";
|
|
9
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-ZNtLhD4c.js";
|
|
10
|
+
import { t as redactSensitiveText } from "./redact-D1Ebz_iR.js";
|
|
11
|
+
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors--Eb33_ji.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CsrsXS80.js";
|
|
13
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DnyYtX4H.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-DOLX-uK1.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 fsSync, { 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 fsSync.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 fsSync.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 fsSync.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
189
|
+
await fsSync.promises.chmod(tmp, 384);
|
|
190
|
+
await fsSync.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 fsSync.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 fsSync.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 fsSync.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 fsSync.promises.writeFile(tmp, json, "utf-8");
|
|
1544
|
+
await fsSync.promises.rename(tmp, storePath);
|
|
1545
1545
|
try {
|
|
1546
|
-
await
|
|
1546
|
+
await fsSync.promises.copyFile(storePath, `${storePath}.bak`);
|
|
1547
1547
|
} catch {}
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
@@ -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-Vtu6d5Um.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-upx5iuke.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-ZNtLhD4c.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-CsrsXS80.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DnyYtX4H.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-DwaqvYNG.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { 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-DlS9HBVo.js";
|
|
5
5
|
import "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -103,7 +103,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
103
103
|
import "./replies-hSFVxL4h.js";
|
|
104
104
|
import "./skill-commands-BFzmZAfo.js";
|
|
105
105
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
106
|
-
import "./deps-
|
|
106
|
+
import "./deps-Dr9GpASq.js";
|
|
107
107
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
108
|
import "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -116,7 +116,7 @@ import "./pairing-labels-ChQJzbS9.js";
|
|
|
116
116
|
import "./server-lifecycle-B5PlrlbG.js";
|
|
117
117
|
import "./stagger-rQoQSWkz.js";
|
|
118
118
|
import "./system-run-command-qJdgzxLp.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-qzriU6TC.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-CcxZYIwL.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-Brv1GCwX.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-BuRud-p8.js";
|
|
112
112
|
import "./onboard-helpers-Dp6wXNs7.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-BtI9tV7C.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-ChNzRVsg.js";
|
|
2
|
+
import { tn as VERSION } from "./model-selection-Vtu6d5Um.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-DQAd4LSE.js";
|
|
5
|
+
import fsSync 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
|
+
fsSync.copyFileSync(credsPath, backupPath);
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
fsSync.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
|
+
fsSync.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
34
34
|
} catch {}
|
|
35
35
|
} catch (err) {
|
|
36
36
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|