@visorcraft/idlehands 4.0.18 → 4.0.19
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-pMCfUzW-.js → agent-via-gateway-B2Z_k_od.js} +60 -60
- package/dist/{agent-via-gateway-ClQrLbgo.js → agent-via-gateway-CUQG6kii.js} +2 -2
- package/dist/{agent-via-gateway-CC37LlPd.js → agent-via-gateway-Cn3iNSod.js} +7 -7
- 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-DsmttQbC.js} +36 -10
- package/dist/{anton-BrY-bWgq.js → anton-hH1PyE2C.js} +32 -6
- package/dist/{anton-BgKjig3B.js → anton-x7f6kIFP.js} +32 -6
- package/dist/{audio-preflight-aBtF0cRI.js → audio-preflight-BSlR2jEq.js} +35 -35
- package/dist/{audio-preflight-CSSlgO89.js → audio-preflight-vD3mDc6w.js} +4 -4
- 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-Do5potHV.js → chrome-DEnkfZ9p.js} +9 -9
- package/dist/{chrome-D_SXDetO.js → chrome-_2tzVjVl.js} +17 -17
- 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-whAbSPLk.js → deliver-5FLCa6tB.js} +1 -1
- package/dist/{deliver-CJaM2zRY.js → deliver-CVTXl0Cv.js} +20 -20
- package/dist/{deps-CQzDLqTz.js → deps-BAMUVAdU.js} +6 -6
- package/dist/{deps-BMWq0kjy.js → deps-BbipxGPW.js} +1 -1
- package/dist/{deps-BuRud-p8.js → deps-CjWcQwlX.js} +1 -1
- package/dist/{deps-Dr9GpASq.js → deps-CwPrf7RC.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-BldYLJq7.js +113 -0
- package/dist/{emergency-stop-CSSPAKHr.js → emergency-stop-CDozqde9.js} +5 -5
- package/dist/{emergency-stop-BEsjWvQL.js → emergency-stop-DpNGtfb4.js} +5 -5
- package/dist/{emergency-stop-BU-Vbk3V.js → emergency-stop-Lj33jqJJ.js} +7 -7
- 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 +7 -7
- 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-COw__ACq.js} +6 -6
- package/dist/{image-BAsQlUqT.js → image-C_aN5P6-.js} +1 -1
- 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-Dap1HAGA.js → pi-embedded-Bc4KWuTe.js} +28 -27
- package/dist/{pi-embedded-BDp9JsrM.js → pi-embedded-BeyOxL6U.js} +177 -176
- package/dist/{pi-embedded-helpers-Ct2rwp-P.js → pi-embedded-helpers-C2j0LfJC.js} +4 -4
- package/dist/{pi-embedded-helpers-B1CKQ81Y.js → pi-embedded-helpers-CyTpDKo5.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-CowTfhOG.js} +13 -13
- package/dist/{pw-ai-yrIWfcWX.js → pw-ai-DjmrIQle.js} +1 -1
- 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-BzNdfqDz.js} +11 -11
- package/dist/{runner-Bv_BA3vd.js → runner-CZW_eyf2.js} +1 -1
- 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-5ddwA0bs.js → web-Csmkqx1W.js} +66 -66
- package/dist/{web-BQLIquZA.js → web-DiqHxfw7.js} +8 -8
- 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 +6 -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 +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-JXB5jZyK.js +0 -113
|
@@ -11,14 +11,14 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
|
11
11
|
import "./env-BpvqFD5n.js";
|
|
12
12
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-QcCdS4qA.js";
|
|
13
13
|
import "./tokens-Cg4XNE3H.js";
|
|
14
|
-
import { A as formatDurationPrecise, C as resolveInboundDebounceMs, D as getReplyFromConfig, E as createDedupeCache, L as buildMentionRegexes, M as hasControlCommand, N as shouldComputeCommandAuthorized, O as normalizeGroupActivation, R as normalizeMentionText, S as createInboundDebouncer, T as resolveEnvelopeFormatOptions, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as enqueueSystemEvent, k as parseActivationCommand, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-
|
|
14
|
+
import { A as formatDurationPrecise, C as resolveInboundDebounceMs, D as getReplyFromConfig, E as createDedupeCache, L as buildMentionRegexes, M as hasControlCommand, N as shouldComputeCommandAuthorized, O as normalizeGroupActivation, R as normalizeMentionText, S as createInboundDebouncer, T as resolveEnvelopeFormatOptions, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as enqueueSystemEvent, k as parseActivationCommand, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-Bc4KWuTe.js";
|
|
15
15
|
import "./plugins-D-_jp4FO.js";
|
|
16
16
|
import { n as resolveWhatsAppAccount } from "./accounts-BwrguHMw.js";
|
|
17
17
|
import "./bindings-hT7SPhiA.js";
|
|
18
18
|
import { i as logWebSelfId, l as readWebSelfId, n as getWebAuthAgeMs, p as webAuthExists, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-D1JaYlig.js";
|
|
19
19
|
import "./send-J10cQN4A.js";
|
|
20
20
|
import "./send-DLZt92Da.js";
|
|
21
|
-
import "./deliver-
|
|
21
|
+
import "./deliver-5FLCa6tB.js";
|
|
22
22
|
import "./diagnostic-jHCdo9Am.js";
|
|
23
23
|
import "./diagnostic-session-state-Bx2Le86J.js";
|
|
24
24
|
import "./accounts-BRVjft5i.js";
|
|
@@ -26,8 +26,8 @@ import { J as toLocationContext, Q as upsertChannelPairingRequest, q as formatLo
|
|
|
26
26
|
import "./image-ops-BDG-MYYV.js";
|
|
27
27
|
import "./pi-model-discovery-Dic-M5qw.js";
|
|
28
28
|
import "./message-channel-DqqfOIdx.js";
|
|
29
|
-
import "./pi-embedded-helpers-
|
|
30
|
-
import "./chrome-
|
|
29
|
+
import "./pi-embedded-helpers-C2j0LfJC.js";
|
|
30
|
+
import "./chrome-DEnkfZ9p.js";
|
|
31
31
|
import "./ssrf-DappnhDp.js";
|
|
32
32
|
import "./skills-nQcWk6Z6.js";
|
|
33
33
|
import "./path-alias-guards-CGbCFqW8.js";
|
|
@@ -40,7 +40,7 @@ import "./accounts-CBoBCTgA.js";
|
|
|
40
40
|
import { u as resolveStorePath } from "./paths-vOrMwCEQ.js";
|
|
41
41
|
import "./tool-images-CpZSs-zE.js";
|
|
42
42
|
import "./thinking-BFsWfunr.js";
|
|
43
|
-
import "./image-
|
|
43
|
+
import "./image-C_aN5P6-.js";
|
|
44
44
|
import "./manager-DYOflU5p.js";
|
|
45
45
|
import "./gemini-auth-m2hi6OmF.js";
|
|
46
46
|
import "./fetch-guard-BdCPmLBP.js";
|
|
@@ -55,7 +55,7 @@ import "./render-Ddkk6wf8.js";
|
|
|
55
55
|
import "./commands-registry-1-Rv2-IS.js";
|
|
56
56
|
import "./skill-commands-CHpRgsOw.js";
|
|
57
57
|
import { t as finalizeInboundContext } from "./inbound-context-DZmR6jxY.js";
|
|
58
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
58
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-CZW_eyf2.js";
|
|
59
59
|
import "./fetch-ChVgjTkv.js";
|
|
60
60
|
import { n as recordChannelActivity } from "./channel-activity-C3LJmSjf.js";
|
|
61
61
|
import { t as convertMarkdownTables } from "./tables-CJKtUpY0.js";
|
|
@@ -66,7 +66,7 @@ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-rou
|
|
|
66
66
|
import { r as setActiveWebListener } from "./active-listener-BnWIC6Jc.js";
|
|
67
67
|
import "./proxy-CNZpb4NE.js";
|
|
68
68
|
import "./replies-CqYEEgmA.js";
|
|
69
|
-
import "./deps-
|
|
69
|
+
import "./deps-BbipxGPW.js";
|
|
70
70
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-DsfWfy-l.js";
|
|
71
71
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DRN3VnUX.js";
|
|
72
72
|
import { t as loginWeb } from "./login-Cnp8mhAl.js";
|
|
@@ -861,7 +861,7 @@ async function monitorWebInbox(options) {
|
|
|
861
861
|
};
|
|
862
862
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
863
863
|
if (stopText) {
|
|
864
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
864
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Lj33jqJJ.js");
|
|
865
865
|
if (isAbortRequestText(stopText)) {
|
|
866
866
|
const { loadConfig: loadCfg } = await import("./model-selection-D3Jhcvg-.js").then((n) => n.F);
|
|
867
867
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
@@ -24,11 +24,11 @@ import "./logging-Bgrm4o7g.js";
|
|
|
24
24
|
import { i as logWebSelfId, p as webAuthExists, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-D9BmR4S6.js";
|
|
25
25
|
import "./send-m4lQkQcY.js";
|
|
26
26
|
import "./send-CCiDIuX4.js";
|
|
27
|
-
import "./subagent-registry-
|
|
27
|
+
import "./subagent-registry-BH5O1rxK.js";
|
|
28
28
|
import "./paths-CC17i2eK.js";
|
|
29
29
|
import "./chat-envelope-Dedaetiq.js";
|
|
30
|
-
import "./client-
|
|
31
|
-
import "./call-
|
|
30
|
+
import "./client-udFMSDes.js";
|
|
31
|
+
import "./call-C82rD2Wn.js";
|
|
32
32
|
import "./pairing-token-CnnKAS6M.js";
|
|
33
33
|
import "./net-CE_62H5R.js";
|
|
34
34
|
import "./ip-Y1214nEL.js";
|
|
@@ -107,12 +107,12 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
107
107
|
import "./help-format-CldHB7lS.js";
|
|
108
108
|
import "./progress-B76RkFx7.js";
|
|
109
109
|
import "./replies-DSfpze17.js";
|
|
110
|
-
import "./deps-
|
|
111
|
-
import "./onboard-helpers-
|
|
110
|
+
import "./deps-CjWcQwlX.js";
|
|
111
|
+
import "./onboard-helpers-DWivfzcc.js";
|
|
112
112
|
import "./prompt-style-XmK49QYK.js";
|
|
113
113
|
import "./pairing-labels-D7xcHkxi.js";
|
|
114
114
|
import { n as sendMessageWhatsApp } from "./outbound-B8NhUGIW.js";
|
|
115
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
115
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BDytDCrG.js";
|
|
116
116
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-BVsrroox.js";
|
|
117
117
|
import { t as loginWeb } from "./login-BaXwiEpr.js";
|
|
118
118
|
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import "./workspace-DBFSzT6O.js";
|
|
7
|
+
import "./model-selection-1MMYqY6M.js";
|
|
8
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
12
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
13
|
-
import "./bindings-
|
|
14
|
-
import "./auth-store-
|
|
15
|
-
import "./image-ops-
|
|
16
|
-
import "./message-channel-
|
|
10
|
+
import "./env-B5G1qwGc.js";
|
|
11
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-CRB60mCJ.js";
|
|
12
|
+
import { n as resolveWhatsAppAccount } from "./accounts-Dk8mJIrQ.js";
|
|
13
|
+
import "./bindings-D3b5Fmc9.js";
|
|
14
|
+
import "./auth-store-DXT-l7fO.js";
|
|
15
|
+
import "./image-ops-D1KtygWz.js";
|
|
16
|
+
import "./message-channel-C8QtrwEU.js";
|
|
17
17
|
import "./ssrf-CZeHDwVZ.js";
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./fs-safe-
|
|
20
|
-
import "./tool-images-
|
|
21
|
-
import "./fetch-guard-
|
|
22
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./markdown-tables-
|
|
25
|
-
import "./local-roots-
|
|
26
|
-
import "./ir-
|
|
18
|
+
import "./path-alias-guards-Cu1nXNMM.js";
|
|
19
|
+
import "./fs-safe-CYUaAFO9.js";
|
|
20
|
+
import "./tool-images-CcGZpzmq.js";
|
|
21
|
+
import "./fetch-guard-iuQsIjqN.js";
|
|
22
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-BPfQrPim.js";
|
|
23
|
+
import "./chunk-CMpX7Jaz.js";
|
|
24
|
+
import "./markdown-tables-CzsockiZ.js";
|
|
25
|
+
import "./local-roots-KN4Hp1yZ.js";
|
|
26
|
+
import "./ir-B7IBoKLy.js";
|
|
27
27
|
import "./render-MTSxc7LK.js";
|
|
28
|
-
import "./tables-
|
|
29
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
28
|
+
import "./tables-5k-zOZ-s.js";
|
|
29
|
+
import { r as sendReactionWhatsApp } from "./outbound-BNh6PpQb.js";
|
|
30
30
|
|
|
31
31
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
32
32
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as shouldLogVerbose, L as getLogger, M as warn, O as logVerboseConsole, T as info, f as pathExists$1, h as resolveUserPath, w as danger } from "./utils-
|
|
1
|
+
import { m as resolveRequiredHomeDir } from "./paths-BYNVLNi_.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
3
|
+
import { A as shouldLogVerbose, L as getLogger, M as warn, O as logVerboseConsole, T as info, f as pathExists$1, h as resolveUserPath, w as danger } from "./utils-CTFLl_ji.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
5
5
|
import { b as isSubagentSessionKey, y as isCronSessionKey } from "./session-key-CuLPSMu_.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import syncFs from "node:fs";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { execFile, spawn } from "node:child_process";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
@@ -226,7 +226,7 @@ function resolveBoundaryPathLexicalSync(params) {
|
|
|
226
226
|
lexicalCursor = path.join(lexicalCursor, segment);
|
|
227
227
|
let stat;
|
|
228
228
|
try {
|
|
229
|
-
stat =
|
|
229
|
+
stat = syncFs.lstatSync(lexicalCursor);
|
|
230
230
|
} catch (error) {
|
|
231
231
|
if (isNotFoundPathError(error)) {
|
|
232
232
|
const missingSuffix = segments.slice(idx);
|
|
@@ -332,15 +332,15 @@ function resolvePathViaExistingAncestorSync(targetPath) {
|
|
|
332
332
|
const normalized = path.resolve(targetPath);
|
|
333
333
|
let cursor = normalized;
|
|
334
334
|
const missingSuffix = [];
|
|
335
|
-
while (!isFilesystemRoot(cursor) && !
|
|
335
|
+
while (!isFilesystemRoot(cursor) && !syncFs.existsSync(cursor)) {
|
|
336
336
|
missingSuffix.unshift(path.basename(cursor));
|
|
337
337
|
const parent = path.dirname(cursor);
|
|
338
338
|
if (parent === cursor) break;
|
|
339
339
|
cursor = parent;
|
|
340
340
|
}
|
|
341
|
-
if (!
|
|
341
|
+
if (!syncFs.existsSync(cursor)) return normalized;
|
|
342
342
|
try {
|
|
343
|
-
const resolvedAncestor = path.resolve(
|
|
343
|
+
const resolvedAncestor = path.resolve(syncFs.realpathSync(cursor));
|
|
344
344
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
345
345
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
346
346
|
} catch {
|
|
@@ -365,7 +365,7 @@ function getPathKindSync(absolutePath, preserveFinalSymlink) {
|
|
|
365
365
|
try {
|
|
366
366
|
return {
|
|
367
367
|
exists: true,
|
|
368
|
-
kind: toResolvedKind(preserveFinalSymlink ?
|
|
368
|
+
kind: toResolvedKind(preserveFinalSymlink ? syncFs.lstatSync(absolutePath) : syncFs.statSync(absolutePath))
|
|
369
369
|
};
|
|
370
370
|
} catch (error) {
|
|
371
371
|
if (isNotFoundPathError(error)) return {
|
|
@@ -425,10 +425,10 @@ async function resolveSymlinkHopPath(symlinkPath) {
|
|
|
425
425
|
}
|
|
426
426
|
function resolveSymlinkHopPathSync(symlinkPath) {
|
|
427
427
|
try {
|
|
428
|
-
return path.resolve(
|
|
428
|
+
return path.resolve(syncFs.realpathSync(symlinkPath));
|
|
429
429
|
} catch (error) {
|
|
430
430
|
if (!isNotFoundPathError(error)) throw error;
|
|
431
|
-
const linkTarget =
|
|
431
|
+
const linkTarget = syncFs.readlinkSync(symlinkPath);
|
|
432
432
|
return resolvePathViaExistingAncestorSync(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
433
433
|
}
|
|
434
434
|
}
|
|
@@ -454,7 +454,7 @@ function sameFileIdentity(left, right) {
|
|
|
454
454
|
return sameFileIdentity$1(left, right);
|
|
455
455
|
}
|
|
456
456
|
function openVerifiedFileSync(params) {
|
|
457
|
-
const ioFs = params.ioFs ??
|
|
457
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
458
458
|
const openReadFlags = ioFs.constants.O_RDONLY | (typeof ioFs.constants.O_NOFOLLOW === "number" ? ioFs.constants.O_NOFOLLOW : 0);
|
|
459
459
|
let fd = null;
|
|
460
460
|
try {
|
|
@@ -526,7 +526,7 @@ function canUseBoundaryFileOpen(ioFs) {
|
|
|
526
526
|
return typeof ioFs.openSync === "function" && typeof ioFs.closeSync === "function" && typeof ioFs.fstatSync === "function" && typeof ioFs.lstatSync === "function" && typeof ioFs.realpathSync === "function" && typeof ioFs.readFileSync === "function" && typeof ioFs.constants === "object" && ioFs.constants !== null;
|
|
527
527
|
}
|
|
528
528
|
function openBoundaryFileSync(params) {
|
|
529
|
-
const ioFs = params.ioFs ??
|
|
529
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
530
530
|
const absolutePath = path.resolve(params.absolutePath);
|
|
531
531
|
let resolvedPath;
|
|
532
532
|
let rootRealPath;
|
|
@@ -864,7 +864,7 @@ async function readPackageName(dir) {
|
|
|
864
864
|
}
|
|
865
865
|
function readPackageNameSync(dir) {
|
|
866
866
|
try {
|
|
867
|
-
const raw =
|
|
867
|
+
const raw = syncFs.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
868
868
|
const parsed = JSON.parse(raw);
|
|
869
869
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
870
870
|
} catch {
|
|
@@ -898,7 +898,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
898
898
|
const normalized = path.resolve(argv1);
|
|
899
899
|
const candidates = [path.dirname(normalized)];
|
|
900
900
|
try {
|
|
901
|
-
const resolved =
|
|
901
|
+
const resolved = syncFs.realpathSync(normalized);
|
|
902
902
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
903
903
|
} catch {}
|
|
904
904
|
const parts = normalized.split(path.sep);
|
|
@@ -1010,14 +1010,14 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1010
1010
|
const identity = workspaceFileIdentity(opened.stat, opened.path);
|
|
1011
1011
|
const cached = workspaceFileCache.get(params.filePath);
|
|
1012
1012
|
if (cached && cached.identity === identity) {
|
|
1013
|
-
|
|
1013
|
+
syncFs.closeSync(opened.fd);
|
|
1014
1014
|
return {
|
|
1015
1015
|
ok: true,
|
|
1016
1016
|
content: cached.content
|
|
1017
1017
|
};
|
|
1018
1018
|
}
|
|
1019
1019
|
try {
|
|
1020
|
-
const content =
|
|
1020
|
+
const content = syncFs.readFileSync(opened.fd, "utf-8");
|
|
1021
1021
|
workspaceFileCache.set(params.filePath, {
|
|
1022
1022
|
content,
|
|
1023
1023
|
identity
|
|
@@ -1034,7 +1034,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1034
1034
|
error
|
|
1035
1035
|
};
|
|
1036
1036
|
} finally {
|
|
1037
|
-
|
|
1037
|
+
syncFs.closeSync(opened.fd);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
function stripFrontMatter(content) {
|