@visorcraft/idlehands 4.0.18 → 4.0.20
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 +7 -0
- package/dist/{accounts-upx5iuke.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-yD5yI-jP.js → accounts-CIvVRRHb.js} +1 -1
- package/dist/{accounts-CRDMZUcg.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{acp-cli-COix-boa.js → acp-cli-B3uwVAGD.js} +2 -2
- package/dist/{acp-cli-B-7CXaeS.js → acp-cli-BEpWQbqb.js} +2 -2
- package/dist/{agent-scope-BVeQuh5x.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-via-gateway-Cl2YwlXJ.js → agent-via-gateway-B03q92bw.js} +2 -2
- package/dist/{agent-via-gateway-ClQrLbgo.js → agent-via-gateway-CUQG6kii.js} +2 -2
- package/dist/{agent-via-gateway-pMCfUzW-.js → agent-via-gateway-CqzpAXCd.js} +60 -60
- package/dist/{agent-via-gateway-CC37LlPd.js → agent-via-gateway-igDg7ko6.js} +2 -2
- package/dist/{agents-DrnGQroU.js → agents-DdTECKDf.js} +5 -5
- package/dist/{agents.config-BZPnYIMF.js → agents.config-CHtoYxr6.js} +1 -1
- package/dist/{agents.config-DfWZrbXn.js → agents.config-D2EbQiOx.js} +1 -1
- package/dist/{anton-BfrX2FMd.js → anton-D4vpCj_q.js} +32 -6
- package/dist/{anton-B-I7rEtn.js → anton-DLsQ7Igk.js} +36 -10
- package/dist/{anton-BrY-bWgq.js → anton-ONYQUE8F.js} +32 -6
- package/dist/{anton-BgKjig3B.js → anton-x7f6kIFP.js} +32 -6
- package/dist/{audio-preflight-aBtF0cRI.js → audio-preflight-CW8IH1lU.js} +35 -35
- package/dist/{audit-Bkd4fvVb.js → audit-C9PrbHng.js} +2 -2
- package/dist/{audit-BmaVRZSd.js → audit-CKeZnjft.js} +2 -2
- package/dist/{auth-choice-_C22dz9o.js → auth-choice-DRR52LJT.js} +2 -2
- package/dist/{auth-choice-DtvI4epn.js → auth-choice-DVoPuwEs.js} +2 -2
- package/dist/{auth-store-DQAd4LSE.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{banner-B-UYZG8d.js → banner-CFKoGAzN.js} +1 -1
- package/dist/{bindings-B9L4cqmm.js → bindings-D3b5Fmc9.js} +2 -2
- package/dist/{browser-cli-Ddh5zEZN.js → browser-cli-Brb82I5e.js} +3 -3
- package/dist/{browser-cli-Ny1nHwqv.js → browser-cli-Ci6DpTnS.js} +3 -3
- 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/{call-BRL23UCk.js → call-BpWhjuOg.js} +1 -1
- package/dist/{call-DuNslqj2.js → call-C82rD2Wn.js} +1 -1
- package/dist/{channel-activity-DOLX-uK1.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{channel-options-C0iwLcfC.js → channel-options-B4oF7_V2.js} +1 -1
- package/dist/{channel-options-BbwNg4q_.js → channel-options-BU0E7BdU.js} +1 -1
- package/dist/{channel-web-BLxKeCXF.js → channel-web-0icuasR6.js} +2 -2
- package/dist/{channel-web-q6Ugfiks.js → channel-web-BDytDCrG.js} +2 -2
- package/dist/{channels-cli-DaRR8vAs.js → channels-cli-B2w32z11.js} +10 -10
- package/dist/{channels-cli-BtL1XuuK.js → channels-cli-DWaQsKP8.js} +10 -10
- package/dist/{chrome-D_SXDetO.js → chrome-BcJB6PcM.js} +26 -26
- package/dist/{chunk-BgScV6uo.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BjhrdeVd.js → cli-BVw2ja-q.js} +5 -5
- package/dist/{cli-CrUoGRuS.js → cli-Hplv9sD1.js} +5 -5
- package/dist/{client-DxH9hwLn.js → client-DtnD-ee9.js} +1 -0
- package/dist/{client-Brv1GCwX.js → client-udFMSDes.js} +1 -0
- package/dist/{command-registry-BZNlvfaM.js → command-registry-CWDCVzZv.js} +11 -11
- package/dist/{commands-registry-CK7aj_ri.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{completion-cli-p9W-g1Pe.js → completion-cli-CjERsZ27.js} +2 -2
- package/dist/{completion-cli-BIabgt7h.js → completion-cli-f5M3WVf8.js} +1 -1
- package/dist/{config-cli-B4nNEjK9.js → config-cli-B2gc8CV1.js} +1 -1
- package/dist/{config-cli-u4zbdm-e.js → config-cli-Bt7n6ZJS.js} +1 -1
- package/dist/{configure-BbDbMd5G.js → configure-BXsptBk3.js} +6 -6
- package/dist/{configure-Dj1JdeEI.js → configure-CKspMrI1.js} +6 -6
- package/dist/{cron-cli-Xml0Uww8.js → cron-cli-DQsnGQKs.js} +3 -3
- package/dist/{cron-cli-D4DXiD1C.js → cron-cli-DXZzPHDQ.js} +3 -3
- package/dist/{daemon-cli-yC6gq-yv.js → daemon-cli-DOG5Mivy.js} +2 -2
- package/dist/{daemon-cli-B1Ti51bt.js → daemon-cli-DUg-s4LG.js} +2 -2
- package/dist/daemon-cli.js +1 -0
- package/dist/{deliver-CJaM2zRY.js → deliver-BUiQ-9fE.js} +20 -20
- package/dist/{deps-CQzDLqTz.js → deps-BhCzAj5E.js} +6 -6
- package/dist/{deps-BuRud-p8.js → deps-CjWcQwlX.js} +1 -1
- package/dist/{deps-Dr9GpASq.js → deps-CwPrf7RC.js} +1 -1
- package/dist/{deps-BMWq0kjy.js → deps-DR1eh_L_.js} +1 -1
- package/dist/{devices-cli-BNkO0Fey.js → devices-cli-DKK65S9Z.js} +2 -2
- package/dist/{devices-cli-Ck6s9sQQ.js → devices-cli-aiEJxYcN.js} +2 -2
- package/dist/{diagnostic-lz5wKsEe.js → diagnostic-4owMk4vH.js} +1 -1
- package/dist/{dock-6MgvdSqu.js → dock-BgOmHcbh.js} +6 -6
- package/dist/{doctor-completion-BLRGmusD.js → doctor-completion-C2-SDBd6.js} +1 -1
- package/dist/{doctor-completion-BeZMlZPb.js → doctor-completion-DB151YdP.js} +1 -1
- package/dist/emergency-stop-8dcFF6tw.js +113 -0
- package/dist/{emergency-stop-CSSPAKHr.js → emergency-stop-CDozqde9.js} +5 -5
- package/dist/{emergency-stop-BU-Vbk3V.js → emergency-stop-ChBe32HN.js} +2 -2
- package/dist/{emergency-stop-BEsjWvQL.js → emergency-stop-DpNGtfb4.js} +5 -5
- package/dist/entry.js +1 -1
- package/dist/{env-B7b7MKfk.js → env-B5G1qwGc.js} +1 -1
- package/dist/{errors--Eb33_ji.js → errors-C_0nm4TJ.js} +1 -1
- package/dist/{exec-approvals-cli-CyjTnYfk.js → exec-approvals-cli-D6XUzs4j.js} +4 -4
- package/dist/{exec-approvals-cli-CNWOtvwX.js → exec-approvals-cli-DRoaRYPn.js} +4 -4
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-OZ_PCUyr.js → fetch-guard-iuQsIjqN.js} +1 -1
- package/dist/{frontmatter-p8nPDprK.js → frontmatter-BOudmHMS.js} +2 -2
- package/dist/{fs-safe-BEl8T_Vc.js → fs-safe-CYUaAFO9.js} +2 -2
- package/dist/{gateway-cli-BCHdAJHS.js → gateway-cli-Ccd1ukWq.js} +17 -14
- package/dist/{gateway-cli-Dumy2IVU.js → gateway-cli-lNUOd2_i.js} +17 -14
- package/dist/{gateway-rpc-CdfF0Zt5.js → gateway-rpc-5PTvwEfj.js} +1 -1
- package/dist/{gateway-rpc-Du-ZpDjh.js → gateway-rpc-BBFG1T-M.js} +1 -1
- package/dist/{gemini-auth-CA0K3QXj.js → gemini-auth-CIyaa44H.js} +2 -2
- package/dist/{github-copilot-token-DCg9Q9Ll.js → github-copilot-token-Dgt6cnsM.js} +7 -7
- package/dist/{health-CqdQAURH.js → health--GQAFTBr.js} +2 -2
- package/dist/{health-B3kk7l82.js → health-HEN6Wk9G.js} +2 -2
- package/dist/{hooks-cli-jMG5GST1.js → hooks-cli-DFrttZGb.js} +6 -6
- package/dist/{hooks-cli-Ba4woLl0.js → hooks-cli-Di8qrzIB.js} +6 -6
- package/dist/{image-BQ3RQWD8.js → image-D8b_rlQC.js} +6 -6
- package/dist/{image-ops-ZNtLhD4c.js → image-ops-D1KtygWz.js} +1 -1
- package/dist/index.js +10 -10
- package/dist/{ir-DnyYtX4H.js → ir-B7IBoKLy.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-C9CA2f0R.js → local-roots-KN4Hp1yZ.js} +5 -5
- package/dist/{login-Cn1vc1bn.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-qr-Dj0NmRdg.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{logs-cli-CH4mFhUt.js → logs-cli-4VQ9Iwiw.js} +3 -3
- package/dist/{logs-cli-BN5TN6bg.js → logs-cli-u0WmYxx7.js} +3 -3
- package/dist/{manager-DBd_2F6j.js → manager-BE_76jWB.js} +15 -15
- package/dist/{markdown-tables-CsrsXS80.js → markdown-tables-CzsockiZ.js} +1 -1
- package/dist/{message-channel-Cg9KtLfy.js → message-channel-C8QtrwEU.js} +1 -1
- package/dist/{model-selection-Vtu6d5Um.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{models-cli-iLP9BnPA.js → models-cli-CMwszgSD.js} +6 -6
- package/dist/{models-cli-BaR1RccY.js → models-cli-DVAyIZ63.js} +7 -7
- package/dist/{models-C6GypzZ1.js → models-tZYpgts_.js} +3 -3
- package/dist/{node-cli-Ch7K7WtL.js → node-cli-BYzjxmUY.js} +1 -1
- package/dist/{node-cli-BiQaHamJ.js → node-cli-CgeiQGbv.js} +1 -1
- package/dist/{nodes-cli-tVCIBdL1.js → nodes-cli-DaE0WsOH.js} +3 -3
- package/dist/{nodes-cli-D_hUCPNt.js → nodes-cli-kNOtp0U0.js} +3 -3
- package/dist/{npm-resolution-DYUWHUe5.js → npm-resolution-By6bZkA-.js} +1 -1
- package/dist/{npm-resolution-CWxaTTrT.js → npm-resolution-DLSA4PTO.js} +1 -1
- package/dist/{onboard-DdBsJgzg.js → onboard-B6eOxpDM.js} +3 -3
- package/dist/{onboard-CinZ4CuY.js → onboard-CbXlbAx2.js} +3 -3
- package/dist/{onboard-channels-Bnwwq6TK.js → onboard-channels-BISq46-i.js} +2 -2
- package/dist/{onboard-channels-9XAEsgO-.js → onboard-channels-JPltbNGL.js} +2 -2
- package/dist/{onboard-helpers-Dp6wXNs7.js → onboard-helpers-DWivfzcc.js} +1 -1
- package/dist/{onboard-helpers-BQmbMJxJ.js → onboard-helpers-mzy38DiC.js} +1 -1
- package/dist/{onboard-remote-1ZZd5lcX.js → onboard-remote-BMo2C9Ae.js} +1 -1
- package/dist/{onboard-remote-CIjhaP2W.js → onboard-remote-LCBHijVE.js} +1 -1
- package/dist/{onboard-skills-BD_AS1Iy.js → onboard-skills-BrqATIYg.js} +1 -1
- package/dist/{onboard-skills-BsaUIuq6.js → onboard-skills-jFY9gaOu.js} +1 -1
- package/dist/{onboarding-C4oujn63.js → onboarding-Da3n7Rvs.js} +7 -7
- package/dist/{onboarding-DFvHWFqL.js → onboarding-DikyMlYG.js} +7 -7
- package/dist/{onboarding.finalize-BDWHPpyn.js → onboarding.finalize-Bp2ufMd0.js} +10 -10
- package/dist/{onboarding.finalize-DMhdDTvo.js → onboarding.finalize-CwYx5n3Z.js} +11 -11
- package/dist/{onboarding.gateway-config-CEQMyj8l.js → onboarding.gateway-config-Btu2gzgr.js} +3 -3
- package/dist/{onboarding.gateway-config-Czn7jKsq.js → onboarding.gateway-config-w3C9Yj3B.js} +3 -3
- package/dist/{outbound-BYm4JJli.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-attachment-DwaqvYNG.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{path-alias-guards-BnjbJzIQ.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- package/dist/{paths-CkTEyLTV.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-0fcEvxu4.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-BDp9JsrM.js → pi-embedded-6dr9Wi77.js} +182 -181
- package/dist/{pi-embedded-Dap1HAGA.js → pi-embedded-DMx6rHVL.js} +13 -12
- package/dist/{pi-embedded-helpers-B1CKQ81Y.js → pi-embedded-helpers-CghCLoPo.js} +24 -24
- package/dist/{pi-model-discovery-DBHbwKOo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- package/dist/{plugin-registry-CGFy1ugt.js → plugin-registry-BY85d-vE.js} +1 -1
- package/dist/{plugin-registry-LYzfPk35.js → plugin-registry-DROWinG6.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-De4e2_-W.js → agent-via-gateway-CXtWg-qx.js} +2 -2
- package/dist/plugin-sdk/{anton-BO16dWNw.js → anton-CGYTy9vy.js} +32 -6
- package/dist/plugin-sdk/{channel-web-Cd-eamYe.js → channel-web-EFRSObCG.js} +2 -2
- package/dist/plugin-sdk/commands/agent/types.d.ts +1 -0
- package/dist/plugin-sdk/{deps-D6VWIdk7.js → deps-qZxPlSgp.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-w-HD2bz4.js → emergency-stop-CxcBz-aQ.js} +2 -2
- package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-BqAPyIsz.js → reply-nUO1aM3T.js} +13 -12
- package/dist/plugin-sdk/{web-Dj_tThNQ.js → web-CEtAvhaI.js} +3 -3
- package/dist/{plugins-Bb6_uisJ.js → plugins-CRB60mCJ.js} +10 -10
- package/dist/{plugins-cli-BQKfJ9aF.js → plugins-cli-RFXGkaxP.js} +6 -6
- package/dist/{plugins-cli-BCAcCeRZ.js → plugins-cli-b_o3IL7x.js} +6 -6
- package/dist/{program-context-DBOEyhi4.js → program-context-D6irLwPo.js} +31 -31
- package/dist/{program-Df-zk5RB.js → program-vH6RTUOw.js} +11 -11
- package/dist/{prompt-select-styled-DJVZSK4X.js → prompt-select-styled-CDoDFWo7.js} +6 -6
- package/dist/{prompt-select-styled-B0FsbRWb.js → prompt-select-styled-DFVvU0TH.js} +6 -6
- package/dist/{provider-auth-helpers-D0cQmJkF.js → provider-auth-helpers-BCc5UtUa.js} +1 -1
- package/dist/{provider-auth-helpers-Aojd4jNn.js → provider-auth-helpers-CNRz0SFC.js} +1 -1
- package/dist/{push-apns-BtI9tV7C.js → push-apns-CHmvuoMu.js} +1 -1
- package/dist/{push-apns-qzriU6TC.js → push-apns-e2xmxGGE.js} +1 -1
- package/dist/{pw-ai-BKPa5DlF.js → pw-ai-CfYaR1K2.js} +13 -13
- package/dist/{qmd-manager-DEJVRLvM.js → qmd-manager-B_GgyQQ0.js} +8 -8
- package/dist/{query-expansion-CW7PqIXL.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-D1Ebz_iR.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{register.agent-ButiRGeg.js → register.agent-Dx7ULz49.js} +12 -12
- package/dist/{register.agent-Xdy9Gu3H.js → register.agent-HWcFMr6h.js} +11 -11
- package/dist/{register.configure-f4xr9iKB.js → register.configure-BctHAiWh.js} +13 -13
- package/dist/{register.configure-m5qhbCOO.js → register.configure-k8gocsJw.js} +13 -13
- package/dist/{register.maintenance-N55abUee.js → register.maintenance-BYiX9iOa.js} +12 -12
- package/dist/{register.maintenance-BA4e0HDc.js → register.maintenance-C6o2WuQx.js} +11 -11
- package/dist/{register.message-DaVB6EYW.js → register.message-BLScF2fV.js} +6 -6
- package/dist/{register.message-Zta0bYh0.js → register.message-BewFLd-k.js} +6 -6
- package/dist/{register.onboard-BHKf5Emm.js → register.onboard-BVm-2XAx.js} +5 -5
- package/dist/{register.onboard-BikBO9Gs.js → register.onboard-a0kqiCTa.js} +5 -5
- package/dist/{register.orchestrator-anton-DtPFOV9F.js → register.orchestrator-anton-BYyjV8R-.js} +5 -4
- package/dist/{register.orchestrator-anton-x3yGok7b.js → register.orchestrator-anton-Tn_RaMLq.js} +5 -4
- package/dist/{register.setup-BeRMjZaz.js → register.setup-BJ0WBUpt.js} +5 -5
- package/dist/{register.setup-DCIPrpG0.js → register.setup-BwPJaqpH.js} +5 -5
- package/dist/{register.status-health-sessions-I0YSjY_V.js → register.status-health-sessions-Clzt8hbv.js} +8 -8
- package/dist/{register.status-health-sessions-CA5wMwpi.js → register.status-health-sessions-wbopjGL-.js} +8 -8
- package/dist/{register.subclis-DZkq_g35.js → register.subclis-CrcOefJY.js} +21 -21
- package/dist/{replies-CXcxPRWk.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{reply-DlS9HBVo.js → reply-D5gCiiGr.js} +15 -15
- package/dist/{reply-prefix-49q2WQ2B.js → reply-prefix-BUgeSN2R.js} +1 -1
- package/dist/{resolve-route-Dr-fqH39.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-DWN-e4ja.js → retry-BeB9WenR.js} +1 -1
- package/dist/{rpc-CCimHATv.js → rpc-Cf9OK5Yk.js} +1 -1
- package/dist/{rpc-CasD0keJ.js → rpc-DVTovtI3.js} +1 -1
- package/dist/{run-main-B75ak_hb.js → run-main-BCX3UZMR.js} +18 -18
- package/dist/{runner-DO528Ump.js → runner-PgRFPYUj.js} +11 -11
- package/dist/{secrets-cli-Bx9bIigZ.js → secrets-cli-C4UBK_LV.js} +3 -3
- package/dist/{secrets-cli-Bgp_H_bH.js → secrets-cli-CR3h2TBy.js} +3 -3
- package/dist/{security-cli-MQ__Ca6v.js → security-cli-B9_LV2po.js} +3 -3
- package/dist/{security-cli-e1WjvhRm.js → security-cli-an5u-5Jb.js} +3 -3
- package/dist/{send-BspIjWIY.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-szC_vYk_.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-CRnMBrJ2.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-De8xTUIV.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-BypmtKl1.js → send-DmLC7aEF.js} +10 -10
- package/dist/{server-node-events-CufCnFp4.js → server-node-events-CbVkqOtV.js} +6 -6
- package/dist/{server-node-events-B1RPoseF.js → server-node-events-DvStFPGi.js} +6 -6
- package/dist/{session-CKiIT4OY.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-BgxmLQuf.js → sessions-3ioSeOA1.js} +41 -41
- package/dist/{skill-commands-BOUMR5De.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skills-OsjsCf_S.js → skills-CnAPWfca.js} +22 -22
- package/dist/{status-hXjECVBh.js → status-CWnPokQF.js} +5 -5
- package/dist/{status-ERmEJYw1.js → status-ClMOrHdT.js} +5 -5
- package/dist/{store-B4rHJvSg.js → store-CvMgrKWx.js} +2 -2
- package/dist/{subagent-registry-CcxZYIwL.js → subagent-registry-BH5O1rxK.js} +15 -15
- package/dist/{subsystem-B98oWbbO.js → subsystem-tzu-rIAJ.js} +1 -1
- package/dist/{system-cli-CHiaS_zS.js → system-cli-Dd-gBN0t.js} +3 -3
- package/dist/{system-cli-3T-OTIKv.js → system-cli-DyVZ5udc.js} +3 -3
- package/dist/{tables-DuOExt0S.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{target-errors-CWZr3RMI.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{tokens-B9ArFCMX.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{tool-images-DLiBUCZb.js → tool-images-CcGZpzmq.js} +2 -2
- package/dist/{tool-loop-detection-j48jLTrr.js → tool-loop-detection-BNGetx3Z.js} +3 -3
- package/dist/{tui-BPgLehyv.js → tui-2u2ZDhHV.js} +2 -2
- package/dist/{tui-lalhRHve.js → tui-Bne3YNiw.js} +2 -2
- package/dist/{tui-cli-9z2Sm8Qg.js → tui-cli-BWnIeq57.js} +3 -3
- package/dist/{tui-cli-BVKWJ9X7.js → tui-cli-D0Z-rcUe.js} +3 -3
- package/dist/{update-cli-Rnv68OR6.js → update-cli-BTNcddEX.js} +12 -12
- package/dist/{update-cli-DROtjWg7.js → update-cli-CxZD0ekr.js} +13 -13
- package/dist/{update-runner-BWxBVG9j.js → update-runner-CN7Dm9tg.js} +1 -1
- package/dist/{update-runner-CqeNDbPD.js → update-runner-tu2Aiphu.js} +1 -1
- package/dist/{utils-ChNzRVsg.js → utils-CTFLl_ji.js} +18 -18
- package/dist/{web-BMSzFWiF.js → web-BV-BEZj6.js} +6 -6
- package/dist/{web-BQLIquZA.js → web-BxegDO-S.js} +3 -3
- package/dist/{web-5ddwA0bs.js → web-C1BMClkN.js} +66 -66
- package/dist/{web-CnzKMZK0.js → web-aRaB-CvF.js} +6 -6
- package/dist/{whatsapp-actions-CYraflBZ.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- package/dist/{workspace-AM44PzIs.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/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-JXB5jZyK.js +0 -113
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { m as resolveRequiredHomeDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { d as normalizeE164 } from "./utils-
|
|
2
|
+
import { m as resolveRequiredHomeDir } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { d as normalizeE164 } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-CuLPSMu_.js";
|
|
6
|
-
import { R as loadConfig, et as parseDurationMs, mn as isPidAlive, pn as resolveProcessScopedMap, tt as parseByteSize } from "./model-selection-
|
|
7
|
-
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
8
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
6
|
+
import { R as loadConfig, et as parseDurationMs, mn as isPidAlive, pn as resolveProcessScopedMap, tt as parseByteSize } from "./model-selection-1MMYqY6M.js";
|
|
7
|
+
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-BgOmHcbh.js";
|
|
8
|
+
import { r as normalizeChannelId } from "./plugins-CRB60mCJ.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
10
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
10
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-C8QtrwEU.js";
|
|
11
11
|
import { n as resolveConversationLabel } from "./conversation-label-1Wad2kXc.js";
|
|
12
|
-
import { a as resolveSessionFilePathOptions, c as resolveSessionTranscriptsDir, d as validateSessionId, i as resolveSessionFilePath, l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath, r as resolveDefaultSessionStorePath, s as resolveSessionTranscriptPathInDir, t as SAFE_SESSION_ID_RE, u as resolveStorePath } from "./paths-
|
|
12
|
+
import { a as resolveSessionFilePathOptions, c as resolveSessionTranscriptsDir, d as validateSessionId, i as resolveSessionFilePath, l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath, r as resolveDefaultSessionStorePath, s as resolveSessionTranscriptPathInDir, t as SAFE_SESSION_ID_RE, u as resolveStorePath } from "./paths-D_qUel1T.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-_OimdA_2.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import syncFs from "node:fs";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
20
20
|
|
|
@@ -100,7 +100,7 @@ function releaseAllLocksSync() {
|
|
|
100
100
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
101
101
|
} catch {}
|
|
102
102
|
try {
|
|
103
|
-
|
|
103
|
+
syncFs.rmSync(held.lockPath, { force: true });
|
|
104
104
|
} catch {}
|
|
105
105
|
HELD_LOCKS.delete(sessionFile);
|
|
106
106
|
}
|
|
@@ -876,14 +876,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
876
876
|
function canonicalizePathForComparison$1(filePath) {
|
|
877
877
|
const resolved = path.resolve(filePath);
|
|
878
878
|
try {
|
|
879
|
-
return
|
|
879
|
+
return syncFs.realpathSync(resolved);
|
|
880
880
|
} catch {
|
|
881
881
|
return resolved;
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
function archiveFileOnDisk(filePath, reason) {
|
|
885
885
|
const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
|
|
886
|
-
|
|
886
|
+
syncFs.renameSync(filePath, archived);
|
|
887
887
|
return archived;
|
|
888
888
|
}
|
|
889
889
|
/**
|
|
@@ -899,7 +899,7 @@ function archiveSessionTranscripts(opts) {
|
|
|
899
899
|
const relative = path.relative(storeDir, candidatePath);
|
|
900
900
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
|
|
901
901
|
}
|
|
902
|
-
if (!
|
|
902
|
+
if (!syncFs.existsSync(candidatePath)) continue;
|
|
903
903
|
try {
|
|
904
904
|
archived.push(archiveFileOnDisk(candidatePath, opts.reason));
|
|
905
905
|
} catch {}
|
|
@@ -917,15 +917,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
917
917
|
let removed = 0;
|
|
918
918
|
let scanned = 0;
|
|
919
919
|
for (const dir of directories) {
|
|
920
|
-
const entries = await
|
|
920
|
+
const entries = await syncFs.promises.readdir(dir).catch(() => []);
|
|
921
921
|
for (const entry of entries) {
|
|
922
922
|
const timestamp = parseSessionArchiveTimestamp(entry, reason);
|
|
923
923
|
if (timestamp == null) continue;
|
|
924
924
|
scanned += 1;
|
|
925
925
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
926
926
|
const fullPath = path.join(dir, entry);
|
|
927
|
-
if (!(await
|
|
928
|
-
await
|
|
927
|
+
if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
928
|
+
await syncFs.promises.rm(fullPath).catch(() => void 0);
|
|
929
929
|
removed += 1;
|
|
930
930
|
}
|
|
931
931
|
}
|
|
@@ -1061,7 +1061,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
function getFileMtimeMs(filePath) {
|
|
1063
1063
|
try {
|
|
1064
|
-
return
|
|
1064
|
+
return syncFs.statSync(filePath).mtimeMs;
|
|
1065
1065
|
} catch {
|
|
1066
1066
|
return;
|
|
1067
1067
|
}
|
|
@@ -1076,7 +1076,7 @@ const NOOP_LOGGER = {
|
|
|
1076
1076
|
function canonicalizePathForComparison(filePath) {
|
|
1077
1077
|
const resolved = path.resolve(filePath);
|
|
1078
1078
|
try {
|
|
1079
|
-
return
|
|
1079
|
+
return syncFs.realpathSync(resolved);
|
|
1080
1080
|
} catch {
|
|
1081
1081
|
return resolved;
|
|
1082
1082
|
}
|
|
@@ -1134,12 +1134,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
|
|
|
1134
1134
|
return referenced;
|
|
1135
1135
|
}
|
|
1136
1136
|
async function readSessionsDirFiles(sessionsDir) {
|
|
1137
|
-
const dirEntries = await
|
|
1137
|
+
const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
1138
1138
|
const files = [];
|
|
1139
1139
|
for (const dirent of dirEntries) {
|
|
1140
1140
|
if (!dirent.isFile()) continue;
|
|
1141
1141
|
const filePath = path.join(sessionsDir, dirent.name);
|
|
1142
|
-
const stat = await
|
|
1142
|
+
const stat = await syncFs.promises.stat(filePath).catch(() => null);
|
|
1143
1143
|
if (!stat?.isFile()) continue;
|
|
1144
1144
|
files.push({
|
|
1145
1145
|
path: filePath,
|
|
@@ -1152,9 +1152,9 @@ async function readSessionsDirFiles(sessionsDir) {
|
|
|
1152
1152
|
return files;
|
|
1153
1153
|
}
|
|
1154
1154
|
async function removeFileIfExists(filePath) {
|
|
1155
|
-
const stat = await
|
|
1155
|
+
const stat = await syncFs.promises.stat(filePath).catch(() => null);
|
|
1156
1156
|
if (!stat?.isFile()) return 0;
|
|
1157
|
-
await
|
|
1157
|
+
await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
|
|
1158
1158
|
return stat.size;
|
|
1159
1159
|
}
|
|
1160
1160
|
async function removeFileForBudget(params) {
|
|
@@ -1438,7 +1438,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
1438
1438
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
1439
1439
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
1440
1440
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
1441
|
-
const raw =
|
|
1441
|
+
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
1442
1442
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
1443
1443
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
1444
1444
|
continue;
|
|
@@ -1641,7 +1641,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
async function getSessionFileSize(storePath) {
|
|
1643
1643
|
try {
|
|
1644
|
-
return (await
|
|
1644
|
+
return (await syncFs.promises.stat(storePath)).size;
|
|
1645
1645
|
} catch {
|
|
1646
1646
|
return null;
|
|
1647
1647
|
}
|
|
@@ -1658,7 +1658,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
1658
1658
|
if (fileSize <= maxBytes) return false;
|
|
1659
1659
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
1660
1660
|
try {
|
|
1661
|
-
await
|
|
1661
|
+
await syncFs.promises.rename(storePath, backupPath);
|
|
1662
1662
|
log.info("rotated session store file", {
|
|
1663
1663
|
backupPath: path.basename(backupPath),
|
|
1664
1664
|
sizeBytes: fileSize
|
|
@@ -1669,11 +1669,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
1669
1669
|
try {
|
|
1670
1670
|
const dir = path.dirname(storePath);
|
|
1671
1671
|
const baseName = path.basename(storePath);
|
|
1672
|
-
const backups = (await
|
|
1672
|
+
const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
1673
1673
|
const maxBackups = 3;
|
|
1674
1674
|
if (backups.length > maxBackups) {
|
|
1675
1675
|
const toDelete = backups.slice(maxBackups);
|
|
1676
|
-
for (const old of toDelete) await
|
|
1676
|
+
for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
1677
1677
|
log.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
1678
1678
|
}
|
|
1679
1679
|
} catch {}
|
|
@@ -1778,14 +1778,14 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
}
|
|
1780
1780
|
}
|
|
1781
|
-
await
|
|
1781
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1782
1782
|
const json = JSON.stringify(store, null, 2);
|
|
1783
1783
|
if (process.platform === "win32") {
|
|
1784
1784
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
1785
1785
|
try {
|
|
1786
|
-
await
|
|
1786
|
+
await syncFs.promises.writeFile(tmp, json, "utf-8");
|
|
1787
1787
|
for (let i = 0; i < 5; i++) try {
|
|
1788
|
-
await
|
|
1788
|
+
await syncFs.promises.rename(tmp, storePath);
|
|
1789
1789
|
break;
|
|
1790
1790
|
} catch {
|
|
1791
1791
|
if (i < 4) await new Promise((r) => setTimeout(r, 50 * (i + 1)));
|
|
@@ -1795,27 +1795,27 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
1795
1795
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
|
|
1796
1796
|
throw err;
|
|
1797
1797
|
} finally {
|
|
1798
|
-
await
|
|
1798
|
+
await syncFs.promises.rm(tmp, { force: true }).catch(() => void 0);
|
|
1799
1799
|
}
|
|
1800
1800
|
return;
|
|
1801
1801
|
}
|
|
1802
1802
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
1803
1803
|
try {
|
|
1804
|
-
await
|
|
1804
|
+
await syncFs.promises.writeFile(tmp, json, {
|
|
1805
1805
|
mode: 384,
|
|
1806
1806
|
encoding: "utf-8"
|
|
1807
1807
|
});
|
|
1808
|
-
await
|
|
1809
|
-
await
|
|
1808
|
+
await syncFs.promises.rename(tmp, storePath);
|
|
1809
|
+
await syncFs.promises.chmod(storePath, 384);
|
|
1810
1810
|
} catch (err) {
|
|
1811
1811
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
|
|
1812
1812
|
try {
|
|
1813
|
-
await
|
|
1814
|
-
await
|
|
1813
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1814
|
+
await syncFs.promises.writeFile(storePath, json, {
|
|
1815
1815
|
mode: 384,
|
|
1816
1816
|
encoding: "utf-8"
|
|
1817
1817
|
});
|
|
1818
|
-
await
|
|
1818
|
+
await syncFs.promises.chmod(storePath, 384);
|
|
1819
1819
|
} catch (err2) {
|
|
1820
1820
|
if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
|
|
1821
1821
|
throw err2;
|
|
@@ -1824,7 +1824,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
1824
1824
|
}
|
|
1825
1825
|
throw err;
|
|
1826
1826
|
} finally {
|
|
1827
|
-
await
|
|
1827
|
+
await syncFs.promises.rm(tmp, { force: true });
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
1830
|
async function saveSessionStore(storePath, store, opts) {
|
|
@@ -2095,8 +2095,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
2095
2095
|
return trimmed ? trimmed : null;
|
|
2096
2096
|
}
|
|
2097
2097
|
async function ensureSessionHeader(params) {
|
|
2098
|
-
if (
|
|
2099
|
-
await
|
|
2098
|
+
if (syncFs.existsSync(params.sessionFile)) return;
|
|
2099
|
+
await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
2100
2100
|
const header = {
|
|
2101
2101
|
type: "session",
|
|
2102
2102
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -2104,7 +2104,7 @@ async function ensureSessionHeader(params) {
|
|
|
2104
2104
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2105
2105
|
cwd: process.cwd()
|
|
2106
2106
|
};
|
|
2107
|
-
await
|
|
2107
|
+
await syncFs.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
2108
2108
|
encoding: "utf-8",
|
|
2109
2109
|
mode: 384
|
|
2110
2110
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as listAgentIds, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { d as resolveStateDir } from "./paths-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
2
|
+
import { n as listAgentIds, s as resolveAgentWorkspaceDir } from "./agent-scope-DyP_tr7s.js";
|
|
3
|
+
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
5
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-CTFLl_ji.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-CnAPWfca.js";
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-j4vAzcF2.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 { randomUUID } from "node:crypto";
|
|
13
13
|
import chokidar from "chokidar";
|
|
14
14
|
|
|
@@ -283,8 +283,8 @@ function listSkillCommandsForAgents(params) {
|
|
|
283
283
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
284
284
|
for (const agentId of agentIds) {
|
|
285
285
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
286
|
-
if (!
|
|
287
|
-
const canonicalDir =
|
|
286
|
+
if (!syncFs.existsSync(workspaceDir)) continue;
|
|
287
|
+
const canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
288
288
|
if (visitedDirs.has(canonicalDir)) continue;
|
|
289
289
|
visitedDirs.add(canonicalDir);
|
|
290
290
|
const commands = buildWorkspaceSkillCommandSpecs(workspaceDir, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { p as normalizeSkillFilter } from "./agent-scope-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { K as resolvePreferredIdleHandsTmpDir, h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { h as resolveIdleHandsPackageRootSync, j as isPathInside } from "./workspace-
|
|
5
|
-
import { ct as loadPluginManifestRegistry, ht as resolveMemorySlotDecision, in as isDangerousHostEnvVarName, mt as resolveEffectiveEnableState, pt as normalizePluginsConfig } from "./model-selection-
|
|
6
|
-
import { a as resolveIdleHandsManifestBlock, c as resolveIdleHandsManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseIdleHandsManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveIdleHandsManifestInstall, r as parseFrontmatterBool, s as resolveIdleHandsManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
7
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { p as normalizeSkillFilter } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
3
|
+
import { K as resolvePreferredIdleHandsTmpDir, h as resolveUserPath, t as CONFIG_DIR } from "./utils-CTFLl_ji.js";
|
|
4
|
+
import { h as resolveIdleHandsPackageRootSync, j as isPathInside } from "./workspace-DBFSzT6O.js";
|
|
5
|
+
import { ct as loadPluginManifestRegistry, ht as resolveMemorySlotDecision, in as isDangerousHostEnvVarName, mt as resolveEffectiveEnableState, pt as normalizePluginsConfig } from "./model-selection-1MMYqY6M.js";
|
|
6
|
+
import { a as resolveIdleHandsManifestBlock, c as resolveIdleHandsManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseIdleHandsManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveIdleHandsManifestInstall, r as parseFrontmatterBool, s as resolveIdleHandsManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-BOudmHMS.js";
|
|
7
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-Cu1nXNMM.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import syncFs from "node:fs";
|
|
11
11
|
import { URL, fileURLToPath } from "node:url";
|
|
12
12
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
13
13
|
|
|
@@ -463,13 +463,13 @@ function shortPath(value) {
|
|
|
463
463
|
//#region src/agents/skills/bundled-dir.ts
|
|
464
464
|
function looksLikeSkillsDir(dir) {
|
|
465
465
|
try {
|
|
466
|
-
const entries =
|
|
466
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
467
467
|
for (const entry of entries) {
|
|
468
468
|
if (entry.name.startsWith(".")) continue;
|
|
469
469
|
const fullPath = path.join(dir, entry.name);
|
|
470
470
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
471
471
|
if (entry.isDirectory()) {
|
|
472
|
-
if (
|
|
472
|
+
if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
} catch {
|
|
@@ -484,7 +484,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
484
484
|
const execPath = opts.execPath ?? process.execPath;
|
|
485
485
|
const execDir = path.dirname(execPath);
|
|
486
486
|
const sibling = path.join(execDir, "skills");
|
|
487
|
-
if (
|
|
487
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
488
488
|
} catch {}
|
|
489
489
|
try {
|
|
490
490
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -547,7 +547,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
547
547
|
const trimmed = raw.trim();
|
|
548
548
|
if (!trimmed) continue;
|
|
549
549
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
550
|
-
if (!
|
|
550
|
+
if (!syncFs.existsSync(candidate)) {
|
|
551
551
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
552
552
|
continue;
|
|
553
553
|
}
|
|
@@ -574,7 +574,7 @@ async function serializeByKey(key, task) {
|
|
|
574
574
|
|
|
575
575
|
//#endregion
|
|
576
576
|
//#region src/agents/skills/workspace.ts
|
|
577
|
-
const fsp =
|
|
577
|
+
const fsp = syncFs.promises;
|
|
578
578
|
const skillsLogger = createSubsystemLogger("skills");
|
|
579
579
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
580
580
|
/**
|
|
@@ -651,7 +651,7 @@ function resolveSkillsLimits(config) {
|
|
|
651
651
|
}
|
|
652
652
|
function listChildDirectories(dir) {
|
|
653
653
|
try {
|
|
654
|
-
const entries =
|
|
654
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
655
655
|
const dirs = [];
|
|
656
656
|
for (const entry of entries) {
|
|
657
657
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -662,7 +662,7 @@ function listChildDirectories(dir) {
|
|
|
662
662
|
continue;
|
|
663
663
|
}
|
|
664
664
|
if (entry.isSymbolicLink()) try {
|
|
665
|
-
if (
|
|
665
|
+
if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
666
666
|
} catch {}
|
|
667
667
|
}
|
|
668
668
|
return dirs;
|
|
@@ -673,7 +673,7 @@ function listChildDirectories(dir) {
|
|
|
673
673
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
674
674
|
const nested = path.join(dir, "skills");
|
|
675
675
|
try {
|
|
676
|
-
if (!
|
|
676
|
+
if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
677
677
|
} catch {
|
|
678
678
|
return { baseDir: dir };
|
|
679
679
|
}
|
|
@@ -682,7 +682,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
682
682
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
683
683
|
for (const name of toScan) {
|
|
684
684
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
685
|
-
if (
|
|
685
|
+
if (syncFs.existsSync(skillMd)) return {
|
|
686
686
|
baseDir: nested,
|
|
687
687
|
note: `Detected nested skills root at ${nested}`
|
|
688
688
|
};
|
|
@@ -702,9 +702,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
702
702
|
const loadSkills = (params) => {
|
|
703
703
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
704
704
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
705
|
-
if (
|
|
705
|
+
if (syncFs.existsSync(rootSkillMd)) {
|
|
706
706
|
try {
|
|
707
|
-
const size =
|
|
707
|
+
const size = syncFs.statSync(rootSkillMd).size;
|
|
708
708
|
if (size > limits.maxSkillFileBytes) {
|
|
709
709
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
710
710
|
dir: baseDir,
|
|
@@ -743,9 +743,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
743
743
|
for (const name of limitedChildren) {
|
|
744
744
|
const skillDir = path.join(baseDir, name);
|
|
745
745
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
746
|
-
if (!
|
|
746
|
+
if (!syncFs.existsSync(skillMd)) continue;
|
|
747
747
|
try {
|
|
748
|
-
const size =
|
|
748
|
+
const size = syncFs.statSync(skillMd).size;
|
|
749
749
|
if (size > limits.maxSkillFileBytes) {
|
|
750
750
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
751
751
|
skill: name,
|
|
@@ -813,7 +813,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
813
813
|
return Array.from(merged.values()).map((skill) => {
|
|
814
814
|
let frontmatter = {};
|
|
815
815
|
try {
|
|
816
|
-
frontmatter = parseFrontmatter(
|
|
816
|
+
frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
|
|
817
817
|
} catch {}
|
|
818
818
|
return {
|
|
819
819
|
skill,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { D as resolveSessionModelRef, Er as peekSystemEvents, G as readRestartSentinel, K as summarizeRestartSentinel, Zt as resolveContextTokensForModel, b as classifySessionKey, bt as formatUsageReportLines, c as buildChannelSummary, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom, x as listAgentsForGateway, yt as loadProviderUsageSummary } from "./reply-
|
|
3
|
+
import { D as resolveSessionModelRef, Er as peekSystemEvents, G as readRestartSentinel, K as summarizeRestartSentinel, Zt as resolveContextTokensForModel, b as classifySessionKey, bt as formatUsageReportLines, c as buildChannelSummary, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom, x as listAgentsForGateway, yt as loadProviderUsageSummary } from "./reply-D5gCiiGr.js";
|
|
4
4
|
import { u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
|
|
6
6
|
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
|
|
@@ -13,14 +13,14 @@ import { a as inspectPortUsage, l as formatPortDiagnostics } from "./ports-SQy1d
|
|
|
13
13
|
import { Y as resolveFreshSessionTotalTokens, c as loadSessionStore, et as resolveMainSessionKey } from "./sessions-BtPXimXQ.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-D46VZh7u.js";
|
|
15
15
|
import { u as resolveStorePath } from "./paths-DRz46q00.js";
|
|
16
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BpWhjuOg.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-DcQZUAYl.js";
|
|
18
18
|
import { r as formatDurationPrecise } from "./format-duration-C9ZBnsdW.js";
|
|
19
19
|
import { r as getMemorySearchManager } from "./memory-cli-CUGwnVIY.js";
|
|
20
20
|
import { n as withProgress } from "./progress-BQLz1r3L.js";
|
|
21
21
|
import { o as getRemoteSkillEligibility } from "./skill-commands-BFzmZAfo.js";
|
|
22
22
|
import { a as sha256HexPrefix } from "./active-listener-30JxwI-t.js";
|
|
23
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
23
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-mzy38DiC.js";
|
|
24
24
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-qjQ8XP0h.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
26
26
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CDpWjdI3.js";
|
|
@@ -28,8 +28,8 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
28
28
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D7pLXkNs.js";
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DmZbQ8Nc.js";
|
|
30
30
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
31
|
-
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health
|
|
31
|
+
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-CKeZnjft.js";
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health--GQAFTBr.js";
|
|
33
33
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-CDbY5AIr.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-C3vyxHLA.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-BK5XIv_A.js";
|
|
@@ -10,9 +10,9 @@ import { r as VERSION } from "./env-vars-I4LX5XSX.js";
|
|
|
10
10
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DEWCCZdI.js";
|
|
11
11
|
import { Z as resolveFreshSessionTotalTokens, c as loadSessionStore, nt as resolveMainSessionKey } from "./sessions-BoqJKVEs.js";
|
|
12
12
|
import { n as listChannelPlugins } from "./plugins-CCrfZ49T.js";
|
|
13
|
-
import { Cn as buildChannelAccountSnapshot, Dt as summarizeRestartSentinel, Et as readRestartSentinel, Sn as buildChannelSummary, gn as formatUsageReportLines, hn as loadProviderUsageSummary, kn as peekSystemEvents, wn as formatChannelAllowFrom } from "./subagent-registry-
|
|
13
|
+
import { Cn as buildChannelAccountSnapshot, Dt as summarizeRestartSentinel, Et as readRestartSentinel, Sn as buildChannelSummary, gn as formatUsageReportLines, hn as loadProviderUsageSummary, kn as peekSystemEvents, wn as formatChannelAllowFrom } from "./subagent-registry-BH5O1rxK.js";
|
|
14
14
|
import { u as resolveStorePath } from "./paths-CC17i2eK.js";
|
|
15
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
15
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-C82rD2Wn.js";
|
|
16
16
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CQwGqfET.js";
|
|
17
17
|
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-BcpLek33.js";
|
|
18
18
|
import { r as getMemorySearchManager } from "./memory-cli-C_qWFNVQ.js";
|
|
@@ -22,15 +22,15 @@ import { d as resolveContextTokensForModel, l as resolveSessionModelRef, n as cl
|
|
|
22
22
|
import { o as getRemoteSkillEligibility } from "./skill-commands-BUc0PzZG.js";
|
|
23
23
|
import { a as sha256HexPrefix } from "./active-listener-DxpYwAtk.js";
|
|
24
24
|
import { n as withProgress } from "./progress-B76RkFx7.js";
|
|
25
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
25
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-DWivfzcc.js";
|
|
26
26
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CIyuenBU.js";
|
|
27
27
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Bi00z1aP.js";
|
|
28
28
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-BzgRt9im.js";
|
|
29
29
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-Om381vyM.js";
|
|
30
30
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BzCL1AMI.js";
|
|
31
31
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
32
|
-
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-
|
|
33
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-C9PrbHng.js";
|
|
33
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-HEN6Wk9G.js";
|
|
34
34
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-ofowt_yq.js";
|
|
35
35
|
import { t as resolveNodeService } from "./node-service-v7Nz7h4D.js";
|
|
36
36
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-oh9Nicqr.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as resolveConfigDir } from "./utils-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { p as resolveConfigDir } from "./utils-CTFLl_ji.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-D1KtygWz.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -34,8 +34,8 @@ import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as lis
|
|
|
34
34
|
import { a as resolveSessionFilePathOptions, i as resolveSessionFilePath, o as resolveSessionTranscriptPath, r as resolveDefaultSessionStorePath, u as resolveStorePath } from "./paths-CC17i2eK.js";
|
|
35
35
|
import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-iBlnbS1d.js";
|
|
36
36
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-CSDpB0zT.js";
|
|
37
|
-
import { Nt as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-
|
|
38
|
-
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-
|
|
37
|
+
import { Nt as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-udFMSDes.js";
|
|
38
|
+
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-C82rD2Wn.js";
|
|
39
39
|
import { r as isLoopbackHost } from "./net-CE_62H5R.js";
|
|
40
40
|
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-Cn6cx9wN.js";
|
|
41
41
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DMP8C42Q.js";
|
|
@@ -109,8 +109,8 @@ import { a as resolveSubagentToolPolicy, c as readStoreAllowFromForDmPolicy, d a
|
|
|
109
109
|
import { t as makeProxyFetch } from "./proxy-GJkoUC6V.js";
|
|
110
110
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-DhuP2lHs.js";
|
|
111
111
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DSfpze17.js";
|
|
112
|
-
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
113
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
112
|
+
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-CjWcQwlX.js";
|
|
113
|
+
import { r as detectBinary } from "./onboard-helpers-DWivfzcc.js";
|
|
114
114
|
import { t as resolvePairingIdLabel } from "./pairing-labels-D7xcHkxi.js";
|
|
115
115
|
import { createRequire } from "node:module";
|
|
116
116
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
@@ -16870,7 +16870,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16870
16870
|
};
|
|
16871
16871
|
const arg = body.slice(6).trim();
|
|
16872
16872
|
if (arg === "status" || arg === "") {
|
|
16873
|
-
const { antonStatus } = await import("./anton-
|
|
16873
|
+
const { antonStatus } = await import("./anton-D4vpCj_q.js").then((n) => n.r);
|
|
16874
16874
|
const lines = [];
|
|
16875
16875
|
await antonStatus({
|
|
16876
16876
|
log: (msg) => lines.push(msg),
|
|
@@ -16886,7 +16886,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16886
16886
|
return { shouldContinue: false };
|
|
16887
16887
|
}
|
|
16888
16888
|
if (arg === "stop") {
|
|
16889
|
-
const { antonStop } = await import("./anton-
|
|
16889
|
+
const { antonStop } = await import("./anton-D4vpCj_q.js").then((n) => n.r);
|
|
16890
16890
|
const lines = [];
|
|
16891
16891
|
await antonStop({
|
|
16892
16892
|
log: (msg) => lines.push(msg),
|
|
@@ -16924,8 +16924,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16924
16924
|
await sendProgress(replyCtx, text);
|
|
16925
16925
|
return { shouldContinue: false };
|
|
16926
16926
|
}
|
|
16927
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
16928
|
-
const { createDefaultDeps } = await import("./deps-
|
|
16927
|
+
const { runAnton, formatProgressMessage } = await import("./anton-D4vpCj_q.js").then((n) => n.r);
|
|
16928
|
+
const { createDefaultDeps } = await import("./deps-CjWcQwlX.js").then((n) => n.r);
|
|
16929
16929
|
const { createNonExitingRuntime } = await import("./runtime-CgcH_FLo.js").then((n) => n.r);
|
|
16930
16930
|
const runtime = createNonExitingRuntime();
|
|
16931
16931
|
const deps = createDefaultDeps();
|
|
@@ -49591,7 +49591,7 @@ function createDiscordMessageHandler(params) {
|
|
|
49591
49591
|
try {
|
|
49592
49592
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
49593
49593
|
if (messageText) {
|
|
49594
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49594
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CDozqde9.js");
|
|
49595
49595
|
if (isAbortRequestText(messageText)) {
|
|
49596
49596
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
49597
49597
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -52315,7 +52315,7 @@ async function agentCommand(opts, runtime = defaultRuntime, deps = createDefault
|
|
|
52315
52315
|
agentId: sessionAgentId,
|
|
52316
52316
|
sessionKey
|
|
52317
52317
|
});
|
|
52318
|
-
const workspaceDirRaw = resolvedSessionEntry?.workspaceDir?.trim() || resolveAgentWorkspaceDir(cfg, sessionAgentId);
|
|
52318
|
+
const workspaceDirRaw = opts.workspaceDir?.trim() || resolvedSessionEntry?.workspaceDir?.trim() || resolveAgentWorkspaceDir(cfg, sessionAgentId);
|
|
52319
52319
|
const agentDir = resolveAgentDir(cfg, sessionAgentId);
|
|
52320
52320
|
const workspaceDir = (await ensureAgentWorkspace({
|
|
52321
52321
|
dir: workspaceDirRaw,
|
|
@@ -57064,7 +57064,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
57064
57064
|
}
|
|
57065
57065
|
const msgText = (message.text ?? "").trim();
|
|
57066
57066
|
if (msgText) {
|
|
57067
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57067
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CDozqde9.js");
|
|
57068
57068
|
if (isAbortRequestText(msgText)) {
|
|
57069
57069
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
57070
57070
|
const route = resolveAgentRoute({
|
|
@@ -59669,7 +59669,7 @@ function createSignalEventHandler(deps) {
|
|
|
59669
59669
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
59670
59670
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
59671
59671
|
if (bodyText) {
|
|
59672
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
59672
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CDozqde9.js");
|
|
59673
59673
|
if (isAbortRequestText(bodyText)) {
|
|
59674
59674
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
59675
59675
|
const route = resolveAgentRoute({
|
|
@@ -63058,7 +63058,7 @@ function createSlackMessageHandler(params) {
|
|
|
63058
63058
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
63059
63059
|
const rawText = (message.text ?? "").trim();
|
|
63060
63060
|
if (rawText) {
|
|
63061
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
63061
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CDozqde9.js");
|
|
63062
63062
|
if (isAbortRequestText(rawText)) {
|
|
63063
63063
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
63064
63064
|
const route = resolveAgentRoute({
|
|
@@ -65252,7 +65252,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
65252
65252
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
65253
65253
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
65254
65254
|
if (text) {
|
|
65255
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
65255
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-CDozqde9.js");
|
|
65256
65256
|
if (isAbortRequestText(text)) {
|
|
65257
65257
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
65258
65258
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -68746,7 +68746,7 @@ function loadWebLoginQr() {
|
|
|
68746
68746
|
return webLoginQrPromise;
|
|
68747
68747
|
}
|
|
68748
68748
|
function loadWebChannel() {
|
|
68749
|
-
webChannelPromise ??= import("./web-
|
|
68749
|
+
webChannelPromise ??= import("./web-aRaB-CvF.js");
|
|
68750
68750
|
return webChannelPromise;
|
|
68751
68751
|
}
|
|
68752
68752
|
function loadWhatsAppActions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as resolveNodeRequireFromMeta, D as logVerbose, E as isVerbose, G as readLoggingConfig, H as loggingState, I as getChildLogger, R as isFileLogLevelEnabled, U as levelToMinLevel, V as resolveEnvLogLevelOverride, W as normalizeLogLevel, h as resolveUserPath } from "./utils-
|
|
1
|
+
import { B as resolveNodeRequireFromMeta, D as logVerbose, E as isVerbose, G as readLoggingConfig, H as loggingState, I as getChildLogger, R as isFileLogLevelEnabled, U as levelToMinLevel, V as resolveEnvLogLevelOverride, W as normalizeLogLevel, h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
2
2
|
import { i as clearActiveProgressLine } from "./runtime-8mi3mpYB.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { Chalk } from "chalk";
|
|
@@ -9,15 +9,15 @@ import "./host-env-security-VbAkcANc.js";
|
|
|
9
9
|
import "./env-vars-I4LX5XSX.js";
|
|
10
10
|
import "./manifest-registry-ChP7-gzj.js";
|
|
11
11
|
import "./message-channel-Qpj4ExtQ.js";
|
|
12
|
-
import "./client-
|
|
13
|
-
import "./call-
|
|
12
|
+
import "./client-udFMSDes.js";
|
|
13
|
+
import "./call-C82rD2Wn.js";
|
|
14
14
|
import "./pairing-token-CnnKAS6M.js";
|
|
15
15
|
import "./net-CE_62H5R.js";
|
|
16
16
|
import "./ip-Y1214nEL.js";
|
|
17
17
|
import "./tailnet-DQgxklZD.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
19
19
|
import "./progress-B76RkFx7.js";
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-5PTvwEfj.js";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/system-cli.ts
|
|
23
23
|
const normalizeWakeMode = (raw) => {
|