squidclaw 3.0.23 → 3.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-KzgPbLHP.js → accounts-B1RxFghM.js} +1 -1
- package/dist/{accounts-BK8I0Svb.js → accounts-BH9Qo1sQ.js} +7 -7
- package/dist/{accounts-s5e9zidf.js → accounts-C7pGQPcS.js} +2 -2
- package/dist/{accounts-DeqNOvBo.js → accounts-Cuwg9Tan.js} +1 -1
- package/dist/{accounts-Bkb-J8V6.js → accounts-DjhBQg_8.js} +2 -2
- package/dist/{accounts-B6F_XCgS.js → accounts-DwGoZKGm.js} +17 -17
- package/dist/{acp-cli-BwG98FYT.js → acp-cli-Ch55Vzud.js} +8 -8
- package/dist/{active-listener-6-Svu8Dx.js → active-listener-DPc_PGsA.js} +2 -2
- package/dist/{agent-scope-Cq4vDGrK.js → agent-scope-nEVgVklg.js} +17 -17
- package/dist/{agents-DXKtU4Il.js → agents-B-ig6ydU.js} +14 -14
- package/dist/{agents.config-BM-2SLCh.js → agents.config-w_Z6Fb4-.js} +2 -2
- package/dist/{api-key-rotation-TRwuCWbu.js → api-key-rotation-DVyYtQxC.js} +2 -2
- package/dist/{api-key-rotation-6i41mEc9.js → api-key-rotation-JPmjv-c0.js} +1 -1
- package/dist/{audio-preflight-1KULThhV.js → audio-preflight-BUCBED7N.js} +32 -32
- package/dist/{audio-preflight-C-JCwUKe.js → audio-preflight-CZ--cSZh.js} +34 -34
- package/dist/{audio-transcription-runner-C3N9eAGM.js → audio-transcription-runner-Cv0Q47cM.js} +12 -12
- package/dist/{audio-transcription-runner-DvQksGUE.js → audio-transcription-runner-D-uxpkbd.js} +23 -23
- package/dist/{audit-DLTgNDFw.js → audit-JLT1FqTt.js} +29 -29
- package/dist/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
- package/dist/{auth-CuObxnC4.js → auth-BlP9BwaD.js} +1 -1
- package/dist/{auth-choice-BVQQneHM.js → auth-choice-Czu7271G.js} +13 -13
- package/dist/{auth-choice-CXepQc7c.js → auth-choice-ORZHjbsv.js} +11 -11
- package/dist/{auth-choice.apply-helpers-p1y_DmDT.js → auth-choice.apply-helpers-CdoXMtxm.js} +1 -1
- package/dist/{auth-profiles-CX4YYu7Z.js → auth-profiles-9T4j6jMy.js} +16 -16
- package/dist/{auth-token-Dlk7MMsC.js → auth-token-BFc70pes.js} +1 -1
- package/dist/{banner-DMfuBV69.js → banner-CwNmI5G-.js} +2 -2
- package/dist/{bonjour-discovery-BHz2I6_W.js → bonjour-discovery-eqJcK09r.js} +1 -1
- package/dist/{browser-cli-Dvwk4zAD.js → browser-cli-DCDPC5sg.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +59 -61
- package/dist/{call-BlWEBz99.js → call-D7jOWSFr.js} +10 -10
- package/dist/{channel-account-context-CQ6rCiGI.js → channel-account-context-DJ3rHgVO.js} +5 -5
- package/dist/{channel-activity-CxJbx4sD.js → channel-activity-CPpt4XaL.js} +3 -3
- package/dist/{channel-activity-BZKeZQH-.js → channel-activity-wuB3-cfR.js} +1 -1
- package/dist/{channel-options-CQ-gER0J.js → channel-options-BS7BSU_5.js} +3 -3
- package/dist/{channel-selection-BqwS1Rlq.js → channel-selection-CFWQq1nS.js} +1 -1
- package/dist/{channel-web-LLzBxZrT.js → channel-web-C1qYz-HK.js} +17 -17
- package/dist/{channels-cli-D4xUEYYC.js → channels-cli-CVNqp5q7.js} +93 -93
- package/dist/{channels-status-issues-Dz1_R7Ah.js → channels-status-issues-Erzzhl2e.js} +1 -1
- package/dist/{chrome-CoRiYsNu.js → chrome-DiktJpMU.js} +4 -4
- package/dist/{chrome-Qbvnl6so.js → chrome-OgCChbC_.js} +18 -18
- package/dist/{clawbot-cli-2Zlim_pH.js → clawbot-cli-C3bt-FEP.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CAID9zkL.js → cli-Jyqv2jm8.js} +73 -73
- package/dist/{client-G9E5HGM2.js → client-COy24r9W.js} +2 -2
- package/dist/{command-registry-AHS8_9da.js → command-registry-DCojicSG.js} +11 -11
- package/dist/{command-secret-targets-DAu5nw-j.js → command-secret-targets-CZjP-Bm5.js} +4 -4
- package/dist/{commands-CnX9I_l4.js → commands-DDHiW-As.js} +1 -1
- package/dist/{commands-registry-_r_JONI4.js → commands-registry--ITOJ-cM.js} +3 -3
- package/dist/{commands-registry-B44COZFz.js → commands-registry-BJjv8_oR.js} +4 -4
- package/dist/{completion-cli-BR1r9_h4.js → completion-cli-DCTv7Ejv.js} +13 -13
- package/dist/{config-cli-D0A8Awoo.js → config-cli-CSPSSP_R.js} +7 -7
- package/dist/{config-guard-BHy2f0hU.js → config-guard-CFauJm79.js} +3 -3
- package/dist/{config-validation-BkvDORAk.js → config-validation-Bt3LfFJ0.js} +3 -3
- package/dist/{configure-XmOqwwy9.js → configure-DAol2gT6.js} +17 -17
- package/dist/{control-ui-assets-BYEy341x.js → control-ui-assets-d6VtDSeo.js} +1 -1
- package/dist/{cron-cli-QwZcnjJc.js → cron-cli-yS1ww1k2.js} +11 -11
- package/dist/{daemon-cli-kJfDhzr8.js → daemon-cli-B-yZvTqZ.js} +15 -15
- package/dist/{daemon-install-Chxlu9Kv.js → daemon-install-CbPLNiIP.js} +4 -4
- package/dist/{daemon-install-helpers-CJtiW2RE.js → daemon-install-helpers-CZDVO_MU.js} +11 -11
- package/dist/{deliver-CL2RW5UB.js → deliver-D-IQEJ52.js} +7 -7
- package/dist/{deliver-BC5egJvm.js → deliver-DMTUTpTM.js} +21 -21
- package/dist/deliver-runtime-B80olQwJ.js +36 -0
- package/dist/deliver-runtime-zICm26tE.js +61 -0
- package/dist/deps-send-discord.runtime-C_9HZQko.js +36 -0
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +26 -0
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +25 -0
- package/dist/deps-send-imessage.runtime-BMhGsWds.js +35 -0
- package/dist/deps-send-signal.runtime-BGhjYiu6.js +34 -0
- package/dist/deps-send-signal.runtime-CuVJyw7n.js +24 -0
- package/dist/deps-send-slack.runtime-DjBCu-RX.js +32 -0
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +22 -0
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +27 -0
- package/dist/{deps-send-telegram.runtime-BHaZAs2h.js → deps-send-telegram.runtime-Irv0ky5l.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-4aOUBP2J.js +60 -0
- package/dist/deps-send-whatsapp.runtime-CU257URT.js +119 -0
- package/dist/{devices-cli-DlQGTogF.js → devices-cli-CPgutgUT.js} +8 -8
- package/dist/{diagnostic-CLEtu0MC.js → diagnostic-B4w80e4D.js} +1 -1
- package/dist/{diagnostic-C2lklhkn.js → diagnostic-CnVwZNbm.js} +2 -2
- package/dist/{diagnostics--O6mo6KH.js → diagnostics-m7hHHbuE.js} +5 -5
- package/dist/{directory-cli-K9qIwxYa.js → directory-cli-DqObADBL.js} +7 -7
- package/dist/{dns-cli-qtX-WNMF.js → dns-cli-CKbwsWBv.js} +5 -5
- package/dist/{dock-DJJAj46v.js → dock-W3cGg46W.js} +4 -4
- package/dist/{docs-cli--gGxz79Z.js → docs-cli-BpZtes_j.js} +4 -4
- package/dist/{doctor-completion-CZoEdMS-.js → doctor-completion--7PR_Vqz.js} +2 -2
- package/dist/{doctor-config-flow-C-h3yV4z.js → doctor-config-flow-BDF7TR6O.js} +15 -15
- package/dist/{enable-C8FNY18p.js → enable--Q7yLTZm.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-DfgAh2Ml.js → errors-kkRuS2Cs.js} +1 -1
- package/dist/{exec-approvals-allowlist-CtSREgYh.js → exec-approvals-allowlist-B9bcJkGP.js} +1 -1
- package/dist/{exec-approvals-cli-BmM4RpVn.js → exec-approvals-cli-homtziYt.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CfQeDABF.js → exec-safe-bin-runtime-policy-DECo77U6.js} +2 -2
- package/dist/{fetch-b8tSR7_e.js → fetch-DP-JjB6Z.js} +5 -5
- package/dist/{fetch-guard-D16tjNsZ.js → fetch-guard-BDy975wP.js} +2 -2
- package/dist/{fetch-guard-Dvzi3MjK.js → fetch-guard-CbtWqa1E.js} +1 -1
- package/dist/{fetch-CtoC2wgs.js → fetch-lq0SDLLE.js} +3 -3
- package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/fs-safe-BPQ-per2.js +352 -0
- package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
- package/dist/{gateway-cli-BJHBChfI.js → gateway-cli-B3oqskb4.js} +153 -153
- package/dist/{gateway-rpc-D0AmaBzR.js → gateway-rpc-BBBN9ZJk.js} +1 -1
- package/dist/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
- package/dist/{health-XFKFZ7ZJ.js → health-CjXrJkCb.js} +11 -11
- package/dist/{hooks-cli-CXsZK8H9.js → hooks-cli--aKmd8c9.js} +81 -81
- package/dist/{hooks-status-DMFBAUq8.js → hooks-status-BlgSVDvN.js} +1 -1
- package/dist/{image-DSWTfuxv.js → image-BcYt63Jx.js} +5 -5
- package/dist/{image-ByqExb8z.js → image-kKMG59st.js} +6 -6
- package/dist/{image-ops-BoN1E_WZ.js → image-ops-Dg8iraUV.js} +2 -2
- package/dist/{image-ops-B2uuLIGD.js → image-ops-LFsSCTyI.js} +10 -10
- package/dist/image-runtime-BqIv7p_K.js +29 -0
- package/dist/image-runtime-Cxoxcx04.js +55 -0
- package/dist/{inspect-4c1uL0x5.js → inspect-CzsXBsew.js} +4 -4
- package/dist/{install-safe-path-3muwy3fu.js → install-safe-path-DqI19VEv.js} +25 -25
- package/dist/{installs-BiQDtPF0.js → installs-P-pYAJm1.js} +9 -9
- package/dist/{ipv4-sHllwvAI.js → ipv4-B95173MB.js} +1 -1
- package/dist/{ir-BukzlgSp.js → ir-C7He5vmn.js} +8 -8
- package/dist/{ir-Dut0zXyS.js → ir-CKK03mBV.js} +8 -8
- package/dist/{issue-format-DCcINW-9.js → issue-format-CbTfB8Hy.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/{lifecycle-core-CqFEhwHn.js → lifecycle-core-ChKClWdw.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-oGKcCLZ5.js → logger-CnTSBL7T.js} +7 -7
- package/dist/{login-DJ357UQV.js → login-CeKDrz6_.js} +5 -5
- package/dist/{login-zoeewfBu.js → login-CjzRATwO.js} +3 -3
- package/dist/{login-qr-B8P_EAd-.js → login-qr-CX0rs3A6.js} +6 -6
- package/dist/{login-qr-C0fDBnpM.js → login-qr-KbOpR0GQ.js} +10 -10
- package/dist/{logs-cli-D30BUN6y.js → logs-cli-DvHsw1WZ.js} +9 -9
- package/dist/{manager-5OzUkYLf.js → manager-BVfTfggO.js} +14 -14
- package/dist/{manager-BPGhs30n.js → manager-DINhLnMi.js} +13 -13
- package/dist/{manager-runtime-BxXpVt3x.js → manager-runtime-BXJJSlzC.js} +9 -9
- package/dist/manager-runtime-D6ckUNSs.js +18 -0
- package/dist/{manifest-registry-7kwtbCH-.js → manifest-registry-1ACGW3OR.js} +1 -1
- package/dist/{memory-cli-Dj8tyFtt.js → memory-cli-u8eyO3Ec.js} +12 -12
- package/dist/{model-B8p-EsdJ.js → model-D7hZpWTB.js} +2 -2
- package/dist/{model-catalog-BWuvEv1x.js → model-catalog-Drh9Rois.js} +3 -3
- package/dist/{model-picker-CLhaaagi.js → model-picker-DK_vvKCV.js} +4 -4
- package/dist/{model-selection-CHnojCCK.js → model-selection-DuNLFQPR.js} +43 -43
- package/dist/{models-5VXwJBU2.js → models-CFXLX9IF.js} +17 -17
- package/dist/{models-cli-Br56IHfy.js → models-cli-PHQyKESa.js} +78 -78
- package/dist/{models-config-poV-4Xlx.js → models-config-DAastTau.js} +6 -6
- package/dist/{net-CCnbGop3.js → net-CIh5ellr.js} +2 -2
- package/dist/{node-cli-C8hvYquX.js → node-cli-o9qcU9GJ.js} +33 -33
- package/dist/{node-command-policy-B_D5ucTj.js → node-command-policy-BeTSnoyk.js} +1 -1
- package/dist/{node-service-Z0JprJda.js → node-service-OVe0_CIs.js} +1 -1
- package/dist/{nodes-cli-IIc8fTKT.js → nodes-cli-kGx_Qa3c.js} +16 -16
- package/dist/{nodes-screen-DFFmbaXE.js → nodes-screen-BrMJzhot.js} +7 -7
- package/dist/{npm-pack-install-B887us7R.js → npm-pack-install-Dn3FiWXB.js} +18 -18
- package/dist/{npm-resolution-CKtyq4FH.js → npm-resolution-ky_uAlXE.js} +4 -4
- package/dist/{onboard-lFwpCpC3.js → onboard-D1Qy64JK.js} +6 -6
- package/dist/{onboard-channels-_kVo3Apf.js → onboard-channels-oJCC_sJX.js} +21 -21
- package/dist/{onboard-custom-CZtjqrY7.js → onboard-custom-CRpsaM3g.js} +4 -4
- package/dist/{onboard-helpers-BP429__H.js → onboard-helpers-DwEZeaoe.js} +10 -10
- package/dist/{onboard-hooks-CTbjgLDl.js → onboard-hooks-DyxckB2C.js} +4 -4
- package/dist/{onboard-remote-BlZB0AE9.js → onboard-remote-ZgpWNq9Z.js} +4 -4
- package/dist/{onboard-skills-BT2YOXeP.js → onboard-skills-DEijVfCg.js} +4 -4
- package/dist/{onboarding-EEd_g8Zg.js → onboarding-Mxqy4O1E.js} +14 -14
- package/dist/{onboarding.finalize-Cs1ukjFN.js → onboarding.finalize-DiOMx6A5.js} +90 -90
- package/dist/{onboarding.gateway-config-C6N8r5Is.js → onboarding.gateway-config-9wkBCzzO.js} +18 -18
- package/dist/{onboarding.secret-input-BTK1IG-J.js → onboarding.secret-input-DRnoQSlI.js} +1 -1
- package/dist/{openai-model-default-COzeuAI4.js → openai-model-default-DqE4bNtd.js} +2 -2
- package/dist/{outbound-qTioiTJg.js → outbound-C9svt6RH.js} +6 -6
- package/dist/{outbound-B7m9Vcd2.js → outbound-CwzUo-rx.js} +3 -3
- package/dist/{outbound-attachment-fdEhzyl9.js → outbound-attachment-Bedqixj2.js} +2 -2
- package/dist/{outbound-attachment-rlW7G5df.js → outbound-attachment-DwupUxYF.js} +2 -2
- package/dist/{pairing-cli-NhoRKes6.js → pairing-cli-CsYP0at7.js} +8 -8
- package/dist/{pairing-labels-CnTvFrUT.js → pairing-labels-CX4CtqRa.js} +1 -1
- package/dist/{pairing-store-D0eOXyby.js → pairing-store-BC4mnG9S.js} +3 -3
- package/dist/{path-alias-guards-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/path-alias-guards-DeOVetT7.js +43 -0
- package/dist/{path-safety-C95DzArw.js → path-safety-D7CjFQvf.js} +1 -1
- package/dist/{paths-DfuVHiHu.js → paths-D6mnO6Ni.js} +9 -9
- package/dist/{paths-CSdAWKDO.js → paths-DA5srn0U.js} +5 -5
- package/dist/{paths-CXClY8zC.js → paths-DSd911Oe.js} +4 -4
- package/dist/{pi-embedded-DUtpCH0X.js → pi-embedded-BiC4tIJ8.js} +162 -162
- package/dist/{pi-embedded-helpers-CYR1UemI.js → pi-embedded-helpers-Di58J7Eh.js} +52 -52
- package/dist/{pi-embedded-helpers-qCAK_a65.js → pi-embedded-helpers-DtCOZSv-.js} +6 -6
- package/dist/{pi-model-discovery-CKUePiDc.js → pi-model-discovery-Cr1q2cJt.js} +1 -1
- package/dist/pi-model-discovery-V-InbjOM.js +134 -0
- package/dist/pi-model-discovery-runtime--t6tAlar.js +11 -0
- package/dist/{pi-model-discovery-runtime-CNLKih0w.js → pi-model-discovery-runtime-BHmdAKBK.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-B_LUttg1.js → pi-tools.before-tool-call.runtime-Bpk4qTgV.js} +9 -9
- package/dist/{pi-tools.before-tool-call.runtime-Bba7rXQq.js → pi-tools.before-tool-call.runtime-duKHqrMc.js} +5 -5
- package/dist/{pi-tools.policy-BwWnFLLV.js → pi-tools.policy-D3RA94WF.js} +5 -5
- package/dist/{plugin-auto-enable-DJkHW_LG.js → plugin-auto-enable-a3TK3OPT.js} +3 -3
- package/dist/{plugin-registry-D3PnPE1D.js → plugin-registry-CFqqDqQV.js} +3 -3
- package/dist/plugin-sdk/accounts-CUEuUR3C.js +46 -0
- package/dist/plugin-sdk/accounts-D0W2pELU.js +288 -0
- package/dist/plugin-sdk/accounts-ucj0odJq.js +35 -0
- package/dist/plugin-sdk/active-listener-BO7eBEG_.js +50 -0
- package/dist/plugin-sdk/api-key-rotation-C4C_mDsg.js +181 -0
- package/dist/plugin-sdk/audio-preflight-Cqdo0JKm.js +69 -0
- package/dist/plugin-sdk/audio-transcription-runner-DnEooIyE.js +2176 -0
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
- package/dist/plugin-sdk/channel-activity-BMWLw4o2.js +94 -0
- package/dist/plugin-sdk/channel-web-B8bj7MB9.js +2256 -0
- package/dist/plugin-sdk/chrome-CV-q0Lmc.js +2415 -0
- package/dist/plugin-sdk/commands-registry-e7YoqrbP.js +1125 -0
- package/dist/plugin-sdk/config-B2B64aX0.js +17911 -0
- package/dist/plugin-sdk/deliver-BkyBtcLR.js +1694 -0
- package/dist/plugin-sdk/deliver-runtime-O4lwAWMw.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-BAeeBldY.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-EL-CfikZ.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BeemHeUu.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DTttkC0N.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dsf9Cnka.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DvdFo6lj.js +57 -0
- package/dist/plugin-sdk/diagnostic-DPRVoKTk.js +319 -0
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
- package/dist/plugin-sdk/fetch-guard-F0Fnqisy.js +156 -0
- package/dist/{fs-safe-DPYj7h8A.js → plugin-sdk/fs-safe-Dqmpk-Fr.js} +6 -6
- package/dist/plugin-sdk/image-cBW8L8pp.js +2310 -0
- package/dist/plugin-sdk/image-ops-BP8ix1GC.js +584 -0
- package/dist/plugin-sdk/image-runtime-9xkgSlNz.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/ir-DWEc6zOp.js +1296 -0
- package/dist/plugin-sdk/local-roots-BIPT8uAO.js +186 -0
- package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
- package/dist/plugin-sdk/login-BMTiGutN.js +57 -0
- package/dist/plugin-sdk/login-qr-BFxqYUkc.js +320 -0
- package/dist/plugin-sdk/manager-BD-aYaZ8.js +3917 -0
- package/dist/plugin-sdk/manager-runtime-C5bRwUlz.js +15 -0
- package/dist/plugin-sdk/outbound-Bm07xvO6.js +212 -0
- package/dist/plugin-sdk/outbound-attachment-DLsaxDsc.js +19 -0
- package/dist/{path-alias-guards-vfYYQFIg.js → plugin-sdk/path-alias-guards-gBhrAn14.js} +1 -1
- package/dist/plugin-sdk/paths-C6W4VHoa.js +166 -0
- package/dist/plugin-sdk/pi-embedded-helpers-BExwPvTh.js +9627 -0
- package/dist/{pi-model-discovery-o-WX5w2t.js → plugin-sdk/pi-model-discovery-DdctvBeX.js} +2 -2
- package/dist/plugin-sdk/pi-model-discovery-runtime-DrtpLJjk.js +8 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-rgTz3FBl.js +354 -0
- package/dist/plugin-sdk/plugins-BN64HHZA.js +864 -0
- package/dist/{proxy-fetch-C2v-Utgg.js → plugin-sdk/proxy-fetch-ZPEvp58f.js} +1 -1
- package/dist/plugin-sdk/pw-ai-DBm3RdBK.js +1938 -0
- package/dist/{qmd-manager-BkSWV1Q1.js → plugin-sdk/qmd-manager-6bozlfFg.js} +11 -17
- package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +1011 -0
- package/dist/{redact-NmPEVjIo.js → plugin-sdk/redact-BoNEjbpF.js} +1 -1
- package/dist/plugin-sdk/reply-Bp49JV3f.js +98828 -0
- package/dist/plugin-sdk/resolve-outbound-target-DXfjGlZQ.js +40 -0
- package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +1994 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D2hkJBa-.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-C06I4adi.js +19 -0
- package/dist/plugin-sdk/send-B9xnwtQ-.js +540 -0
- package/dist/plugin-sdk/send-BxySs-Cu.js +2587 -0
- package/dist/plugin-sdk/send-D9THKp_J.js +414 -0
- package/dist/plugin-sdk/send-DCuaaP2w.js +503 -0
- package/dist/plugin-sdk/send-Dm_-_xje.js +3135 -0
- package/dist/plugin-sdk/session-DDzIZHxt.js +169 -0
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/skill-commands-DRvqtuFC.js +342 -0
- package/dist/plugin-sdk/skills-BWwlfbVj.js +1428 -0
- package/dist/plugin-sdk/slash-commands.runtime-BzYsaTST.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-Cty8EAD9.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-sg98L8BK.js +16 -0
- package/dist/plugin-sdk/ssrf-DOBwjFow.js +202 -0
- package/dist/plugin-sdk/store-BKDR_-Qk.js +81 -0
- package/dist/plugin-sdk/subagent-registry-runtime-Dz50ieim.js +52 -0
- package/dist/plugin-sdk/tables-GIj79us5.js +55 -0
- package/dist/{target-errors-D0ZJUbbf.js → plugin-sdk/target-errors-jlLHihbX.js} +2 -2
- package/dist/plugin-sdk/thinking-BgdUnMZ2.js +1206 -0
- package/dist/{tokens-D2XhLqIz.js → plugin-sdk/tokens-CTIYTLWu.js} +1 -1
- package/dist/plugin-sdk/tool-images-GSlvf6RP.js +274 -0
- package/dist/plugin-sdk/web-BK9mCTAc.js +56 -0
- package/dist/plugin-sdk/whatsapp-actions-DQpK_5Ds.js +80 -0
- package/dist/{plugins-BDTkSIi7.js → plugins-Bc7YM9X-.js} +2 -2
- package/dist/{plugins-AqsVZZk3.js → plugins-DvejjZnJ.js} +11 -11
- package/dist/{plugins-cli-BA_2daJe.js → plugins-cli-vQi8tFye.js} +83 -83
- package/dist/{ports-Be82TlEg.js → ports-BzfeaNjw.js} +1 -1
- package/dist/{ports-0jLyYbvQ.js → ports-DMeUt80n.js} +2 -2
- package/dist/{program-D_xdLzmM.js → program-Nott_VTb.js} +81 -81
- package/dist/{prompt-select-styled-BsheNEnh.js → prompt-select-styled-7mnlZgrQ.js} +40 -40
- package/dist/{provider-auth-helpers-B5kD4Lt6.js → provider-auth-helpers-_77rN3Zc.js} +5 -5
- package/dist/{proxy-env-CQTuxZoS.js → proxy-env-BiKHVg2h.js} +1 -1
- package/dist/{proxy-env-DXXfs2WL.js → proxy-env-D-fike7s.js} +1 -1
- package/dist/proxy-fetch-lH6RsRTE.js +38 -0
- package/dist/{push-apns-BbenjEX4.js → push-apns-Ce1zzNYB.js} +5 -5
- package/dist/{pw-ai-1NQPuno2.js → pw-ai-B8ymIYub.js} +14 -14
- package/dist/{pw-ai-wo5t_KO_.js → pw-ai-CAhTwexx.js} +18 -18
- package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
- package/dist/qmd-manager-BsL_hcOB.js +1454 -0
- package/dist/{qr-cli-DSMYIp-D.js → qr-cli-DzjBpGix.js} +2 -2
- package/dist/{query-expansion-DI9INxTg.js → query-expansion-C0HUJbRn.js} +12 -12
- package/dist/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
- package/dist/redact-DvzicBMu.js +319 -0
- package/dist/{redact-snapshot-B2YFI3cO.js → redact-snapshot-C0McNGqh.js} +1 -1
- package/dist/{register.agent-Dk_5V5oA.js → register.agent-DtjNdvUh.js} +94 -94
- package/dist/register.configure-BkwbM-hb.js +165 -0
- package/dist/{register.maintenance-CluQOq8b.js → register.maintenance-DERKsSgi.js} +95 -95
- package/dist/{register.message-BCTXT5yK.js → register.message-DkYxt6gZ.js} +74 -74
- package/dist/{register.onboard-C64oXnvq.js → register.onboard-BtfW83M0.js} +18 -18
- package/dist/{register.setup-Dl3nk2Ui.js → register.setup-Ba9gMkRk.js} +21 -21
- package/dist/{register.status-health-sessions-BHtbPeCO.js → register.status-health-sessions-BILdpWJV.js} +88 -88
- package/dist/{register.subclis-CDMFyaKR.js → register.subclis-Dfm_Zu31.js} +31 -31
- package/dist/{rpc-DA9IhLVG.js → rpc-mau2U4RG.js} +1 -1
- package/dist/{run-main-BcA22Ipv.js → run-main-BF7ybLIy.js} +93 -93
- package/dist/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
- package/dist/{runtime-BnbzNRr6.js → runtime-Bcmv4Epp.js} +3 -3
- package/dist/{runtime-config-collectors-CXJdhHRo.js → runtime-config-collectors-Bsjz4isf.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DRoK8G8H.js → runtime-whatsapp-login.runtime-COUEKxmy.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-DxV9iv6l.js +13 -0
- package/dist/{runtime-whatsapp-outbound.runtime-C9OiwkWh.js → runtime-whatsapp-outbound.runtime-BaWH6-ns.js} +15 -15
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +22 -0
- package/dist/{sandbox-cli-BwK2slfh.js → sandbox-cli-DOxm7fjR.js} +25 -25
- package/dist/{sandbox-C3TbYIHd.js → sandbox-ixDhkfHu.js} +18 -18
- package/dist/{secrets-cli-Beu2lcrf.js → secrets-cli-DvXznMUb.js} +11 -11
- package/dist/{security-cli-CcpKH_lC.js → security-cli-3WOXvJR-.js} +42 -42
- package/dist/{send-Bx9CqcZr.js → send-4nRsZJXH.js} +7 -7
- package/dist/{send-D5D0ZGht.js → send-BGlcHjUD.js} +26 -26
- package/dist/{send-EVcbFVqn.js → send-BPgrWmUX.js} +5 -5
- package/dist/{send-DtHQ7_6Z.js → send-BTUU1jWM.js} +8 -8
- package/dist/{send-RDqyJwZx.js → send-BVyLW1cn.js} +8 -8
- package/dist/{send-z-sMjqvX.js → send-BpkluEZ5.js} +4 -4
- package/dist/{send-CLI3CiQv.js → send-BuBTLRMz.js} +6 -6
- package/dist/{send-B9H0BkfO.js → send-DdBbRpTP.js} +6 -6
- package/dist/{send-DEs83M9V.js → send-Do2preUU.js} +11 -11
- package/dist/{send-B5QEmMJ4.js → send-dTQd-IyJ.js} +5 -5
- package/dist/{server-Bm-IxvZZ.js → server-DMAPnkgM.js} +20 -20
- package/dist/{server-context-Dw_4lGoI.js → server-context-Dd8UynDU.js} +12 -12
- package/dist/{server-lifecycle-DYgHYif9.js → server-lifecycle-BEZ2jsQ6.js} +2 -2
- package/dist/{server-middleware-BVAEuQs7.js → server-middleware-B_LyQkOL.js} +1 -1
- package/dist/{server-node-events-Q0cT2ifj.js → server-node-events-dr5CaM3M.js} +74 -74
- package/dist/{service-DSqxS6_D.js → service-B5T42CWZ.js} +15 -15
- package/dist/{session-DLTCuoUD.js → session-CnCwDJke.js} +8 -8
- package/dist/{session-D0jodcgT.js → session-eXSdl5mb.js} +1 -1
- package/dist/{session-utils-XY6JwRhT.js → session-utils-D12gSo5W.js} +6 -6
- package/dist/{sessions-CMqv9JEu.js → sessions-C16G7L5c.js} +4 -4
- package/dist/{sessions-BWptzMw0.js → sessions-DgnXAQCc.js} +15 -15
- package/dist/{shared-BbVxcRzb.js → shared-BYny1RCF.js} +3 -3
- package/dist/{shared-D5DTxBPH.js → shared-By6_qr_R.js} +1 -1
- package/dist/{skill-commands-fU-Mejn9.js → skill-commands-BcigmiOW.js} +5 -5
- package/dist/{skill-commands-BwTLQRR8.js → skill-commands-Cz45_nme.js} +9 -9
- package/dist/{skill-scanner-CvS725eQ.js → skill-scanner--QKHR8U0.js} +6 -6
- package/dist/{skills-B9N2bqKU.js → skills-CdCS1HeL.js} +22 -22
- package/dist/{skills-C85azDXm.js → skills-EwyaIyKC.js} +3 -3
- package/dist/{skills-cli-ZXx6BNar.js → skills-cli-CqEjN0Yj.js} +5 -5
- package/dist/{skills-install-KD6dzNoZ.js → skills-install-CXVKvhIE.js} +6 -6
- package/dist/{skills-status-DkO7rxE8.js → skills-status-Bv8Xt7Lc.js} +1 -1
- package/dist/{slash-commands.runtime-CPlXJtuM.js → slash-commands.runtime-Bi99B_EP.js} +11 -11
- package/dist/slash-commands.runtime-CZz6v6b3.js +16 -0
- package/dist/slash-dispatch.runtime-SO7HOe8q.js +56 -0
- package/dist/slash-dispatch.runtime-reuPLnse.js +114 -0
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +20 -0
- package/dist/{slash-skill-commands.runtime-Cnfq_5LN.js → slash-skill-commands.runtime-DOXmvOtU.js} +15 -15
- package/dist/{squidclaw-root-BQfLymzj.js → squidclaw-root-JXyRbQLJ.js} +8 -8
- package/dist/{status-cU9cJReo.js → status-Dnl-Um1D.js} +27 -27
- package/dist/{status.update-CiLU9RPF.js → status.update-BGIm6we4.js} +2 -2
- package/dist/{store-BEIcnlgx.js → store-BTkIx401.js} +5 -5
- package/dist/{store-CvQ41zCV.js → store-D9z0dn7D.js} +2 -2
- package/dist/{subagent-registry-CIgFD2oi.js → subagent-registry-CQA6P2FO.js} +149 -149
- package/dist/subagent-registry-runtime-CqgIWcSl.js +114 -0
- package/dist/subagent-registry-runtime-D2rUxU5J.js +56 -0
- package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
- package/dist/{system-cli-i1FWZDjn.js → system-cli-CJAQxYHv.js} +9 -9
- package/dist/{system-run-command-COqCNIBg.js → system-run-command-BaSqmSwR.js} +1 -1
- package/dist/{systemd-Cj2cX_ZP.js → systemd-B86VePXs.js} +9 -9
- package/dist/{systemd-hints-46PqJfaq.js → systemd-hints-BmFWZu_j.js} +6 -6
- package/dist/{systemd-linger-6Jd9K5p2.js → systemd-linger-w7fvBU-1.js} +1 -1
- package/dist/{tables-BRYYxYs7.js → tables-BTFiZyRU.js} +1 -1
- package/dist/{tables-CIpKClDV.js → tables-CGh4CW_h.js} +1 -1
- package/dist/{tailnet-CZANZjq6.js → tailnet-DJq7Mi1o.js} +1 -1
- package/dist/target-errors-C_rnMuJ2.js +195 -0
- package/dist/{target-errors-CRQlPF1u.js → target-errors-DgNRx3Nr.js} +2 -2
- package/dist/{thinking-B-A99X3F.js → thinking-B75CXkTT.js} +7 -7
- package/dist/tokens-DfbMVF9y.js +52 -0
- package/dist/{tool-images-CyzWvDUu.js → tool-images-D6mmxuWS.js} +1 -1
- package/dist/{tool-images-Zn6jVmkX.js → tool-images-Dp5OiXeA.js} +2 -2
- package/dist/{tui-CC_AbfZr.js → tui-BbcmzKaA.js} +6 -6
- package/dist/{tui-cli-DiJ7zKUD.js → tui-cli-Dv3jSm3x.js} +32 -32
- package/dist/{update-1JhjCqjy.js → update-BhRrb6BI.js} +3 -3
- package/dist/{update-cli-DM_dUip_.js → update-cli-Oe0fP8x9.js} +104 -104
- package/dist/{update-runner-BBJZmfZ4.js → update-runner-DdA6xBa9.js} +16 -16
- package/dist/{web-CEdWU_u3.js → web-QsxgXbNK.js} +55 -55
- package/dist/web-w04Gvwqi.js +118 -0
- package/dist/{webhooks-cli-CzDd8ikc.js → webhooks-cli-CJLug1QH.js} +6 -6
- package/dist/{whatsapp-actions-Cuy0qeQK.js → whatsapp-actions-CzqsuSGx.js} +21 -21
- package/dist/{whatsapp-actions-MR_bBjXO.js → whatsapp-actions-_ca5OtHq.js} +17 -17
- package/dist/{with-timeout-BZ_Teugb.js → with-timeout-CFfRudNc.js} +3 -3
- package/dist/{workspace-D5vNjk5G.js → workspace-BbO-M3Jv.js} +1 -1
- package/dist/{workspace-dirs-CjMIsQti.js → workspace-dirs-D8D-Ghcl.js} +1 -1
- package/dist/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-B6NtHUuv.js +0 -36
- package/dist/deliver-runtime-C08pF1_3.js +0 -61
- package/dist/deps-send-discord.runtime-CUTAK2hy.js +0 -26
- package/dist/deps-send-discord.runtime-r80y9aXF.js +0 -36
- package/dist/deps-send-imessage.runtime-BmocBgPM.js +0 -35
- package/dist/deps-send-imessage.runtime-CQOiEIuA.js +0 -25
- package/dist/deps-send-signal.runtime-ByJt6qz-.js +0 -34
- package/dist/deps-send-signal.runtime-wN7MkzLw.js +0 -24
- package/dist/deps-send-slack.runtime-C3UUEG9J.js +0 -32
- package/dist/deps-send-slack.runtime-HEEwW4uU.js +0 -22
- package/dist/deps-send-telegram.runtime-DHlcnjQO.js +0 -27
- package/dist/deps-send-whatsapp.runtime-C2x2R2Ow.js +0 -60
- package/dist/deps-send-whatsapp.runtime-__ogpmJj.js +0 -119
- package/dist/image-runtime-BSVF52oe.js +0 -29
- package/dist/image-runtime-cza2NTiZ.js +0 -55
- package/dist/manager-runtime-BB9lcoFR.js +0 -18
- package/dist/pi-model-discovery-runtime-DBkQoIJw.js +0 -11
- package/dist/register.configure-C8OFfGln.js +0 -165
- package/dist/runtime-whatsapp-login.runtime-DumUjKRz.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Cgu2MfqR.js +0 -22
- package/dist/slash-commands.runtime-CjBXruwG.js +0 -16
- package/dist/slash-dispatch.runtime-BOMEVFk0.js +0 -114
- package/dist/slash-dispatch.runtime-CGd3HarH.js +0 -56
- package/dist/slash-skill-commands.runtime-DYK20Lxf.js +0 -20
- package/dist/subagent-registry-runtime-DGTjU9Lb.js +0 -114
- package/dist/subagent-registry-runtime-m9bFJFix.js +0 -56
- package/dist/web-CZhZC1EA.js +0 -118
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { y as resolveRequiredHomeDir } from "./paths-CHIu6D1E.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
3
|
-
import { dr as isPidAlive, lr as resolveProcessScopedMap, mt as parseByteSize, pt as parseDurationMs, ur as getProcessStartTime, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { dr as isPidAlive, lr as resolveProcessScopedMap, mt as parseByteSize, pt as parseDurationMs, ur as getProcessStartTime, z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
4
4
|
import { c as normalizeAgentId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, v as normalizeOptionalAccountId } from "./session-key-k6urs9r-.js";
|
|
5
5
|
import { p as normalizeE164 } from "./utils-D6vohX1h.js";
|
|
6
|
-
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
6
|
+
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-W3cGg46W.js";
|
|
7
7
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-DqvtYF2o.js";
|
|
8
|
-
import { j as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
8
|
+
import { j as normalizeChatType, r as normalizeChannelId } from "./plugins-Bc7YM9X-.js";
|
|
9
9
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-Dn_rzeZN.js";
|
|
10
10
|
import { r as hasInterSessionUserProvenance } from "./input-provenance-C8z9KgIz.js";
|
|
11
11
|
import { n as stripMessageIdHints, o as extractToolCallNames, r as stripInboundMetadata, s as hasToolCall, t as stripEnvelope } from "./chat-envelope-thy05gXR.js";
|
|
12
|
-
import { i as writeTextAtomic } from "./json-files-
|
|
12
|
+
import { i as writeTextAtomic } from "./json-files-rR19q30D.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DgzPL8Hc.js";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
20
20
|
|
|
@@ -519,7 +519,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
519
519
|
await held.handle.close();
|
|
520
520
|
} catch {}
|
|
521
521
|
try {
|
|
522
|
-
await
|
|
522
|
+
await fsPromises.rm(held.lockPath, { force: true });
|
|
523
523
|
} catch {}
|
|
524
524
|
})();
|
|
525
525
|
try {
|
|
@@ -598,7 +598,7 @@ function registerCleanupHandlers() {
|
|
|
598
598
|
}
|
|
599
599
|
async function readLockPayload(lockPath) {
|
|
600
600
|
try {
|
|
601
|
-
const raw = await
|
|
601
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
602
602
|
const parsed = JSON.parse(raw);
|
|
603
603
|
const payload = {};
|
|
604
604
|
if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
|
|
@@ -642,7 +642,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
|
|
|
642
642
|
if (!details.stale) return false;
|
|
643
643
|
if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
|
|
644
644
|
try {
|
|
645
|
-
const stat = await
|
|
645
|
+
const stat = await fsPromises.stat(lockPath);
|
|
646
646
|
return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
|
|
647
647
|
} catch (error) {
|
|
648
648
|
return error?.code !== "ENOENT";
|
|
@@ -660,7 +660,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
660
660
|
const nowMs = params.nowMs ?? Date.now();
|
|
661
661
|
let entries = [];
|
|
662
662
|
try {
|
|
663
|
-
entries = await
|
|
663
|
+
entries = await fsPromises.readdir(sessionsDir, { withFileTypes: true });
|
|
664
664
|
} catch (err) {
|
|
665
665
|
if (err.code === "ENOENT") return {
|
|
666
666
|
locks: [],
|
|
@@ -679,7 +679,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
679
679
|
removed: false
|
|
680
680
|
};
|
|
681
681
|
if (lockInfo.stale && removeStale) {
|
|
682
|
-
await
|
|
682
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
683
683
|
lockInfo.removed = true;
|
|
684
684
|
cleaned.push(lockInfo);
|
|
685
685
|
params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
|
|
@@ -698,10 +698,10 @@ async function acquireSessionWriteLock(params) {
|
|
|
698
698
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
699
699
|
const sessionFile = path.resolve(params.sessionFile);
|
|
700
700
|
const sessionDir = path.dirname(sessionFile);
|
|
701
|
-
await
|
|
701
|
+
await fsPromises.mkdir(sessionDir, { recursive: true });
|
|
702
702
|
let normalizedDir = sessionDir;
|
|
703
703
|
try {
|
|
704
|
-
normalizedDir = await
|
|
704
|
+
normalizedDir = await fsPromises.realpath(sessionDir);
|
|
705
705
|
} catch {}
|
|
706
706
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
707
707
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -719,7 +719,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
719
719
|
attempt += 1;
|
|
720
720
|
let handle = null;
|
|
721
721
|
try {
|
|
722
|
-
handle = await
|
|
722
|
+
handle = await fsPromises.open(lockPath, "wx");
|
|
723
723
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
724
724
|
const starttime = getProcessStartTime(process.pid);
|
|
725
725
|
const lockPayload = {
|
|
@@ -745,7 +745,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
745
745
|
await handle.close();
|
|
746
746
|
} catch {}
|
|
747
747
|
try {
|
|
748
|
-
await
|
|
748
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
749
749
|
} catch {}
|
|
750
750
|
}
|
|
751
751
|
if (err.code !== "EEXIST") throw err;
|
|
@@ -760,7 +760,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
760
760
|
stale: true,
|
|
761
761
|
staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
|
|
762
762
|
} : inspected, staleMs, nowMs)) {
|
|
763
|
-
await
|
|
763
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
764
764
|
continue;
|
|
765
765
|
}
|
|
766
766
|
const delay = Math.min(1e3, 50 * attempt);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as writeConfigFile, Li as DEFAULT_PROVIDER, V as readConfigFileSnapshot, kr as resolveModelRefFromString, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
1
|
+
import { G as writeConfigFile, Li as DEFAULT_PROVIDER, V as readConfigFileSnapshot, kr as resolveModelRefFromString, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-9T4j6jMy.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
3
|
-
import { P as toAgentModelListLike, r as listAgentIds } from "./agent-scope-
|
|
3
|
+
import { P as toAgentModelListLike, r as listAgentIds } from "./agent-scope-nEVgVklg.js";
|
|
4
4
|
import { c as normalizeAgentId } from "./session-key-k6urs9r-.js";
|
|
5
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
5
|
+
import { n as formatConfigIssueLines } from "./issue-format-CbTfB8Hy.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
3
3
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-vBANYkEo.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-B5T42CWZ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as logVerbose } from "./globals-BrhVUl-N.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
3
|
-
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-nEVgVklg.js";
|
|
4
4
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
5
|
-
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-EwyaIyKC.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-rR19q30D.js";
|
|
7
7
|
import { a as resolvePairingPaths, i as pruneExpiredPending, n as verifyPairingToken, o as upsertPendingPairingRequest, r as rejectPendingPairingRequest, t as generatePairingToken } from "./pairing-token-B_ig96RO.js";
|
|
8
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
9
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
8
|
+
import { i as listChatCommands } from "./commands-registry--ITOJ-cM.js";
|
|
9
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-D8D-Ghcl.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
4
|
-
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-DA5srn0U.js";
|
|
3
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
5
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-CdCS1HeL.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-D7-rxoSr.js";
|
|
7
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { i as listChatCommands } from "./commands-registry-BJjv8_oR.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 { randomUUID } from "node:crypto";
|
|
12
12
|
import chokidar from "chokidar";
|
|
13
13
|
|
|
@@ -241,13 +241,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
241
241
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
242
242
|
for (const agentId of agentIds) {
|
|
243
243
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
244
|
-
if (!
|
|
244
|
+
if (!syncFs.existsSync(workspaceDir)) {
|
|
245
245
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
248
|
let canonicalDir;
|
|
249
249
|
try {
|
|
250
|
-
canonicalDir =
|
|
250
|
+
canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
251
251
|
} catch {
|
|
252
252
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
253
253
|
continue;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isPathInside } from "./legacy-names-Q0o_2ITh.js";
|
|
2
2
|
import { a as hasErrnoCode } from "./errors-BnRmsfe-.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/security/skill-scanner.ts
|
|
7
7
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -195,7 +195,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
195
195
|
async function readDirEntriesWithCache(dirPath) {
|
|
196
196
|
let st = null;
|
|
197
197
|
try {
|
|
198
|
-
st = await
|
|
198
|
+
st = await fsPromises.stat(dirPath);
|
|
199
199
|
} catch (err) {
|
|
200
200
|
if (hasErrnoCode(err, "ENOENT")) return [];
|
|
201
201
|
throw err;
|
|
@@ -203,7 +203,7 @@ async function readDirEntriesWithCache(dirPath) {
|
|
|
203
203
|
if (!st?.isDirectory()) return [];
|
|
204
204
|
const cached = DIR_ENTRY_CACHE.get(dirPath);
|
|
205
205
|
if (cached && cached.mtimeMs === st.mtimeMs) return cached.entries;
|
|
206
|
-
const dirents = await
|
|
206
|
+
const dirents = await fsPromises.readdir(dirPath, { withFileTypes: true });
|
|
207
207
|
const entries = [];
|
|
208
208
|
for (const entry of dirents) if (entry.isDirectory()) entries.push({
|
|
209
209
|
name: entry.name,
|
|
@@ -230,7 +230,7 @@ async function resolveForcedFiles(params) {
|
|
|
230
230
|
if (seen.has(includePath)) continue;
|
|
231
231
|
let st = null;
|
|
232
232
|
try {
|
|
233
|
-
st = await
|
|
233
|
+
st = await fsPromises.stat(includePath);
|
|
234
234
|
} catch (err) {
|
|
235
235
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
236
236
|
throw err;
|
|
@@ -263,7 +263,7 @@ async function scanFileWithCache(params) {
|
|
|
263
263
|
const { filePath, maxFileBytes } = params;
|
|
264
264
|
let st = null;
|
|
265
265
|
try {
|
|
266
|
-
st = await
|
|
266
|
+
st = await fsPromises.stat(filePath);
|
|
267
267
|
} catch (err) {
|
|
268
268
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
269
269
|
scanned: false,
|
|
@@ -300,7 +300,7 @@ async function scanFileWithCache(params) {
|
|
|
300
300
|
}
|
|
301
301
|
let source;
|
|
302
302
|
try {
|
|
303
|
-
source = await
|
|
303
|
+
source = await fsPromises.readFile(filePath, "utf-8");
|
|
304
304
|
} catch (err) {
|
|
305
305
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
306
306
|
scanned: false,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as normalizeSkillFilter } from "./run-with-concurrency-
|
|
2
|
-
import { t as createSubsystemLogger, w as resolvePreferredSquidClawTmpDir } from "./subsystem-
|
|
3
|
-
import { O as isPathInside, h as resolveSquidClawPackageRootSync } from "./workspace-
|
|
4
|
-
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { Bt as resolveMemorySlotDecision, Nt as loadPluginManifestRegistry, Rt as normalizePluginsConfig, Un as isPathInsideWithRealpath, Xn as isDangerousHostEnvVarName, gr as normalizeResolvedSecretInputString, zt as resolveEffectiveEnableState } from "./model-selection-
|
|
6
|
-
import { a as resolveSquidClawManifestBlock, c as resolveSquidClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSquidClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSquidClawManifestInstall, r as parseFrontmatterBool, s as resolveSquidClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
7
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { m as normalizeSkillFilter } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { t as createSubsystemLogger, w as resolvePreferredSquidClawTmpDir } from "./subsystem-6v7sWnAD.js";
|
|
3
|
+
import { O as isPathInside, h as resolveSquidClawPackageRootSync } from "./workspace-kVMIaBrV.js";
|
|
4
|
+
import { a as CONFIG_DIR, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
5
|
+
import { Bt as resolveMemorySlotDecision, Nt as loadPluginManifestRegistry, Rt as normalizePluginsConfig, Un as isPathInsideWithRealpath, Xn as isDangerousHostEnvVarName, gr as normalizeResolvedSecretInputString, zt as resolveEffectiveEnableState } from "./model-selection-DuNLFQPR.js";
|
|
6
|
+
import { a as resolveSquidClawManifestBlock, c as resolveSquidClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSquidClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSquidClawManifestInstall, r as parseFrontmatterBool, s as resolveSquidClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-Cq1TcIQ2.js";
|
|
7
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DORgbZ1w.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 as URL$1, fileURLToPath } from "node:url";
|
|
12
12
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
13
13
|
|
|
@@ -543,13 +543,13 @@ function shortPath(value) {
|
|
|
543
543
|
//#region src/agents/skills/bundled-dir.ts
|
|
544
544
|
function looksLikeSkillsDir(dir) {
|
|
545
545
|
try {
|
|
546
|
-
const entries =
|
|
546
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
547
547
|
for (const entry of entries) {
|
|
548
548
|
if (entry.name.startsWith(".")) continue;
|
|
549
549
|
const fullPath = path.join(dir, entry.name);
|
|
550
550
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
551
551
|
if (entry.isDirectory()) {
|
|
552
|
-
if (
|
|
552
|
+
if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
} catch {
|
|
@@ -564,7 +564,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
564
564
|
const execPath = opts.execPath ?? process.execPath;
|
|
565
565
|
const execDir = path.dirname(execPath);
|
|
566
566
|
const sibling = path.join(execDir, "skills");
|
|
567
|
-
if (
|
|
567
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
568
568
|
} catch {}
|
|
569
569
|
try {
|
|
570
570
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -627,7 +627,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
627
627
|
const trimmed = raw.trim();
|
|
628
628
|
if (!trimmed) continue;
|
|
629
629
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
630
|
-
if (!
|
|
630
|
+
if (!syncFs.existsSync(candidate)) {
|
|
631
631
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
632
632
|
continue;
|
|
633
633
|
}
|
|
@@ -658,7 +658,7 @@ async function serializeByKey(key, task) {
|
|
|
658
658
|
|
|
659
659
|
//#endregion
|
|
660
660
|
//#region src/agents/skills/workspace.ts
|
|
661
|
-
const fsp =
|
|
661
|
+
const fsp = syncFs.promises;
|
|
662
662
|
const skillsLogger = createSubsystemLogger("skills");
|
|
663
663
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
664
664
|
/**
|
|
@@ -735,7 +735,7 @@ function resolveSkillsLimits(config) {
|
|
|
735
735
|
}
|
|
736
736
|
function listChildDirectories(dir) {
|
|
737
737
|
try {
|
|
738
|
-
const entries =
|
|
738
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
739
739
|
const dirs = [];
|
|
740
740
|
for (const entry of entries) {
|
|
741
741
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -746,7 +746,7 @@ function listChildDirectories(dir) {
|
|
|
746
746
|
continue;
|
|
747
747
|
}
|
|
748
748
|
if (entry.isSymbolicLink()) try {
|
|
749
|
-
if (
|
|
749
|
+
if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
750
750
|
} catch {}
|
|
751
751
|
}
|
|
752
752
|
return dirs;
|
|
@@ -757,7 +757,7 @@ function listChildDirectories(dir) {
|
|
|
757
757
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
758
758
|
const nested = path.join(dir, "skills");
|
|
759
759
|
try {
|
|
760
|
-
if (!
|
|
760
|
+
if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
761
761
|
} catch {
|
|
762
762
|
return { baseDir: dir };
|
|
763
763
|
}
|
|
@@ -766,7 +766,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
766
766
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
767
767
|
for (const name of toScan) {
|
|
768
768
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
769
|
-
if (
|
|
769
|
+
if (syncFs.existsSync(skillMd)) return {
|
|
770
770
|
baseDir: nested,
|
|
771
771
|
note: `Detected nested skills root at ${nested}`
|
|
772
772
|
};
|
|
@@ -786,9 +786,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
786
786
|
const loadSkills = (params) => {
|
|
787
787
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
788
788
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
789
|
-
if (
|
|
789
|
+
if (syncFs.existsSync(rootSkillMd)) {
|
|
790
790
|
try {
|
|
791
|
-
const size =
|
|
791
|
+
const size = syncFs.statSync(rootSkillMd).size;
|
|
792
792
|
if (size > limits.maxSkillFileBytes) {
|
|
793
793
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
794
794
|
dir: baseDir,
|
|
@@ -827,9 +827,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
827
827
|
for (const name of limitedChildren) {
|
|
828
828
|
const skillDir = path.join(baseDir, name);
|
|
829
829
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
830
|
-
if (!
|
|
830
|
+
if (!syncFs.existsSync(skillMd)) continue;
|
|
831
831
|
try {
|
|
832
|
-
const size =
|
|
832
|
+
const size = syncFs.statSync(skillMd).size;
|
|
833
833
|
if (size > limits.maxSkillFileBytes) {
|
|
834
834
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
835
835
|
skill: name,
|
|
@@ -897,7 +897,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
897
897
|
return Array.from(merged.values()).map((skill) => {
|
|
898
898
|
let frontmatter = {};
|
|
899
899
|
try {
|
|
900
|
-
frontmatter = parseFrontmatter(
|
|
900
|
+
frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
|
|
901
901
|
} catch {}
|
|
902
902
|
return {
|
|
903
903
|
skill,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredSquidClawTmpDir } from "./globals-BrhVUl-N.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
3
3
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
4
|
-
import { _ as normalizeSkillFilter, n as resolveSquidClawPackageRootSync, p as isPathInside } from "./squidclaw-root-
|
|
4
|
+
import { _ as normalizeSkillFilter, n as resolveSquidClawPackageRootSync, p as isPathInside } from "./squidclaw-root-JXyRbQLJ.js";
|
|
5
5
|
import { M as normalizeResolvedSecretInputString } from "./registry-BXcl3IkC.js";
|
|
6
6
|
import { n as isDangerousHostEnvVarName } from "./host-env-security-lcjXF83D.js";
|
|
7
7
|
import { a as isPathInsideWithRealpath } from "./legacy-names-Q0o_2ITh.js";
|
|
8
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
8
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-1ACGW3OR.js";
|
|
9
9
|
import { a as resolveSquidClawManifestBlock, c as resolveSquidClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSquidClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSquidClawManifestInstall, r as parseFrontmatterBool, s as resolveSquidClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-CFoRh1fy.js";
|
|
10
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
10
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DeOVetT7.js";
|
|
11
11
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -2,11 +2,11 @@ import { p as theme } from "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import "./paths-CHIu6D1E.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { z as loadConfig } from "./auth-profiles-9T4j6jMy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8-lYArk.js";
|
|
7
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-nEVgVklg.js";
|
|
8
8
|
import { x as shortenHomePath } from "./utils-D6vohX1h.js";
|
|
9
|
-
import "./squidclaw-root-
|
|
9
|
+
import "./squidclaw-root-JXyRbQLJ.js";
|
|
10
10
|
import "./logger-DL3N22PJ.js";
|
|
11
11
|
import "./exec-TSiqsZw1.js";
|
|
12
12
|
import "./registry-BXcl3IkC.js";
|
|
@@ -14,7 +14,7 @@ import "./github-copilot-token-CxitgiZA.js";
|
|
|
14
14
|
import "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import "./version-3so140Zi.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
19
19
|
import { t as renderTable } from "./table-DbDCX_6t.js";
|
|
20
20
|
|
|
@@ -234,7 +234,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
234
234
|
async function loadSkillsStatusReport() {
|
|
235
235
|
const config = loadConfig();
|
|
236
236
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
237
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
237
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-Bv8Xt7Lc.js").then((n) => n.n);
|
|
238
238
|
return buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
239
239
|
}
|
|
240
240
|
async function runSkillsAction(render) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h as resolveConfigDir, s as ensureDir, v as resolveUserPath } from "./utils-D6vohX1h.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-TSiqsZw1.js";
|
|
3
3
|
import { d as hasBinary } from "./frontmatter-CFoRh1fy.js";
|
|
4
|
-
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-
|
|
5
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
6
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
4
|
+
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-EwyaIyKC.js";
|
|
5
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-BPQ-per2.js";
|
|
6
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CbtWqa1E.js";
|
|
7
7
|
import { t as resolveBrewExecutable } from "./brew-Bmf75heG.js";
|
|
8
|
-
import { t as isWithinDir } from "./path-safety-
|
|
9
|
-
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-
|
|
10
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner
|
|
8
|
+
import { t as isWithinDir } from "./path-safety-D7CjFQvf.js";
|
|
9
|
+
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-DqI19VEv.js";
|
|
10
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner--QKHR8U0.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-D6vohX1h.js";
|
|
4
4
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-DUeUEZvW.js";
|
|
5
5
|
import { d as hasBinary } from "./frontmatter-CFoRh1fy.js";
|
|
6
|
-
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-
|
|
6
|
+
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-EwyaIyKC.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
9
9
|
|
|
@@ -2,10 +2,10 @@ import "./globals-BrhVUl-N.js";
|
|
|
2
2
|
import "./paths-CHIu6D1E.js";
|
|
3
3
|
import "./subsystem-Bw5n50gj.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-9T4j6jMy.js";
|
|
6
|
+
import "./agent-scope-nEVgVklg.js";
|
|
7
7
|
import "./utils-D6vohX1h.js";
|
|
8
|
-
import "./squidclaw-root-
|
|
8
|
+
import "./squidclaw-root-JXyRbQLJ.js";
|
|
9
9
|
import "./logger-DL3N22PJ.js";
|
|
10
10
|
import "./exec-TSiqsZw1.js";
|
|
11
11
|
import "./registry-BXcl3IkC.js";
|
|
@@ -13,15 +13,15 @@ import "./github-copilot-token-CxitgiZA.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-3so140Zi.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./plugins-
|
|
19
|
-
import "./accounts-
|
|
20
|
-
import "./accounts-
|
|
16
|
+
import "./manifest-registry-1ACGW3OR.js";
|
|
17
|
+
import "./dock-W3cGg46W.js";
|
|
18
|
+
import "./plugins-Bc7YM9X-.js";
|
|
19
|
+
import "./accounts-BH9Qo1sQ.js";
|
|
20
|
+
import "./accounts-Cuwg9Tan.js";
|
|
21
21
|
import "./logging-CcxUDNcI.js";
|
|
22
|
-
import "./accounts-
|
|
22
|
+
import "./accounts-B1RxFghM.js";
|
|
23
23
|
import "./thinking-CrcT589P.js";
|
|
24
|
-
import "./commands-
|
|
25
|
-
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-
|
|
24
|
+
import "./commands-DDHiW-As.js";
|
|
25
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry--ITOJ-cM.js";
|
|
26
26
|
|
|
27
27
|
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import "./logger-CnTSBL7T.js";
|
|
6
|
+
import "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "./thinking-B75CXkTT.js";
|
|
10
|
+
import "./plugins-DvejjZnJ.js";
|
|
11
|
+
import "./accounts-DwGoZKGm.js";
|
|
12
|
+
import "./accounts-C7pGQPcS.js";
|
|
13
|
+
import "./accounts-DjhBQg_8.js";
|
|
14
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-BJjv8_oR.js";
|
|
15
|
+
|
|
16
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import "./logger-CnTSBL7T.js";
|
|
6
|
+
import "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "./thinking-B75CXkTT.js";
|
|
10
|
+
import "./tokens-DfbMVF9y.js";
|
|
11
|
+
import { I as finalizeInboundContext, S as dispatchReplyWithDispatcher, k as resolveAgentRoute, n as recordInboundSessionMetaSafe, r as deliverSlackSlashReplies, s as createReplyPrefixOptions } from "./pi-embedded-BiC4tIJ8.js";
|
|
12
|
+
import "./plugins-DvejjZnJ.js";
|
|
13
|
+
import "./accounts-DwGoZKGm.js";
|
|
14
|
+
import "./send-DdBbRpTP.js";
|
|
15
|
+
import "./send-BTUU1jWM.js";
|
|
16
|
+
import "./deliver-DMTUTpTM.js";
|
|
17
|
+
import "./diagnostic-CnVwZNbm.js";
|
|
18
|
+
import "./accounts-C7pGQPcS.js";
|
|
19
|
+
import "./image-ops-Dg8iraUV.js";
|
|
20
|
+
import "./send-BGlcHjUD.js";
|
|
21
|
+
import "./pi-model-discovery-V-InbjOM.js";
|
|
22
|
+
import { kt as resolveConversationLabel } from "./pi-embedded-helpers-Di58J7Eh.js";
|
|
23
|
+
import "./chrome-OgCChbC_.js";
|
|
24
|
+
import "./frontmatter-Cq1TcIQ2.js";
|
|
25
|
+
import "./skills-CdCS1HeL.js";
|
|
26
|
+
import "./path-alias-guards-DORgbZ1w.js";
|
|
27
|
+
import "./redact-DvzicBMu.js";
|
|
28
|
+
import "./errors-kkRuS2Cs.js";
|
|
29
|
+
import "./fs-safe-BoB4X3GD.js";
|
|
30
|
+
import "./proxy-env-D-fike7s.js";
|
|
31
|
+
import "./store-D9z0dn7D.js";
|
|
32
|
+
import "./accounts-DjhBQg_8.js";
|
|
33
|
+
import "./paths-DSd911Oe.js";
|
|
34
|
+
import "./tool-images-Dp5OiXeA.js";
|
|
35
|
+
import "./image-kKMG59st.js";
|
|
36
|
+
import "./audio-transcription-runner-Cv0Q47cM.js";
|
|
37
|
+
import "./fetch-DP-JjB6Z.js";
|
|
38
|
+
import "./fetch-guard-BDy975wP.js";
|
|
39
|
+
import "./api-key-rotation-DVyYtQxC.js";
|
|
40
|
+
import "./proxy-fetch-lH6RsRTE.js";
|
|
41
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-CKK03mBV.js";
|
|
42
|
+
import "./render-DW7AcFdD.js";
|
|
43
|
+
import "./target-errors-DgNRx3Nr.js";
|
|
44
|
+
import "./commands-registry-BJjv8_oR.js";
|
|
45
|
+
import "./skill-commands-Cz45_nme.js";
|
|
46
|
+
import "./fetch-tZXOZ9FV.js";
|
|
47
|
+
import "./channel-activity-CPpt4XaL.js";
|
|
48
|
+
import "./tables-BTFiZyRU.js";
|
|
49
|
+
import "./send-dTQd-IyJ.js";
|
|
50
|
+
import "./outbound-attachment-DwupUxYF.js";
|
|
51
|
+
import "./send-4nRsZJXH.js";
|
|
52
|
+
import "./proxy-CecQTx_Z.js";
|
|
53
|
+
import "./manager-DINhLnMi.js";
|
|
54
|
+
import "./query-expansion-Dzxt6kXo.js";
|
|
55
|
+
|
|
56
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|