@bitseek/claw 1.1.0-beta.2 → 1.2.1
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-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
- package/dist/{accounts-CX1yOBOk.js → accounts-BTexwKe8.js} +1 -1
- package/dist/{accounts-DZqwa5NK.js → accounts-CFz9Jc5d.js} +1 -1
- package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
- package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
- package/dist/{accounts-CaiECgq3.js → accounts-ubG6irXZ.js} +16 -16
- package/dist/{acp-cli-DYu2k7v9.js → acp-cli-B0u6no4K.js} +8 -8
- package/dist/{active-listener-neKWQsOO.js → active-listener-Hd9sOu9T.js} +1 -1
- package/dist/{agent-scope-CTbRzU1C.js → agent-scope-C6hps0r3.js} +4 -4
- package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
- package/dist/{agents-B1UgGs6R.js → agents-Cweyfj22.js} +15 -15
- package/dist/{agents.config-CmUkQxtt.js → agents.config-DA3Y8w1t.js} +2 -2
- package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
- package/dist/{api-key-rotation-BTSy5kZN.js → api-key-rotation-WzOC5dTW.js} +2 -2
- package/dist/{audio-preflight-DZWb0ozj.js → audio-preflight-BWOdDA2n.js} +39 -39
- package/dist/{audio-preflight-CHD1xVrt.js → audio-preflight-DdrORTn9.js} +4 -4
- package/dist/{audio-preflight-59K4nxSA.js → audio-preflight-SRgix4XS.js} +36 -36
- package/dist/{audio-transcription-runner-DwWOJBSn.js → audio-transcription-runner-CGsd7139.js} +1 -1
- package/dist/{audio-transcription-runner-2dp0SxL3.js → audio-transcription-runner-DaoqvWoi.js} +11 -11
- package/dist/{audio-transcription-runner-DGyS5H3K.js → audio-transcription-runner-DkibzFT2.js} +22 -22
- package/dist/{audit-DJfP7KjJ.js → audit-TSVXvoTa.js} +29 -29
- package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
- package/dist/{auth-choice-Ko0_UPIV.js → auth-choice-Bhzlukg0.js} +12 -12
- package/dist/{auth-choice-f6C6bI9v.js → auth-choice-CR6bBvDU.js} +14 -14
- package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
- package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
- package/dist/{auth-token-BqjY9MGq.js → auth-token-BIEjzQiE.js} +1 -1
- package/dist/{banner-DB1rGYKC.js → banner-D-ha13Xs.js} +2 -2
- package/dist/{bindings-Daa-Etag.js → bindings-CsIiIjqN.js} +2 -2
- package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
- package/dist/{bonjour-discovery-t-SAPCsb.js → bonjour-discovery-B68dCYTY.js} +1 -1
- package/dist/{browser-cli-CTlLlDFe.js → browser-cli-DREC4EVl.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +65 -65
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +65 -65
- package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CiCkIxCu.js → channel-account-context-DNFdIaSr.js} +7 -6
- package/dist/{channel-account-context-D0zX-Gup.js → channel-account-context-etfgJrr_.js} +2 -1
- package/dist/{channel-activity-Btz1t5_1.js → channel-activity-D81g48kD.js} +3 -3
- package/dist/{channel-options-DLPoMi6B.js → channel-options-6JzQN9nt.js} +3 -3
- package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
- package/dist/{channel-web-BMZ_oZSK.js → channel-web-oQImOucb.js} +18 -18
- package/dist/{channels-cli-sNDA9BU2.js → channels-cli-CzLX8jUv.js} +95 -95
- package/dist/{channels-status-issues-5n9kobSz.js → channels-status-issues-BMNB2aMG.js} +1 -1
- package/dist/{chrome-DX1blHAJ.js → chrome-CjTE-vWv.js} +18 -18
- package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
- package/dist/{chrome-CuMCXCQN.js → chrome-xatreDUO.js} +8 -8
- package/dist/{chunk-DEkdXze6.js → chunk-DtYb6TYl.js} +1 -1
- package/dist/{clawbot-cli-SIY_fH-I.js → clawbot-cli-H1Uj0ifV.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Cjv-J_yg.js → cli-C2xvYknT.js} +76 -76
- package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
- package/dist/{command-registry-KfIoXPZE.js → command-registry-QcrBU_9X.js} +13 -13
- package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
- package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
- package/dist/{commands-registry-BQkQRhEo.js → commands-registry-NIsv9Z4R.js} +5 -5
- package/dist/{completion-cli-iCWrVHvc.js → completion-cli-BkWPjJyP.js} +13 -13
- package/dist/{completion-cli-SYxZGwWD.js → completion-cli-VWIJWtLM.js} +1 -1
- package/dist/{config-cli-5lP-lwj0.js → config-cli-B4WnAVfw.js} +7 -7
- package/dist/{config-guard-t_xLf16g.js → config-guard-RZw5NkPK.js} +3 -3
- package/dist/{config-validation-DkA3FBg8.js → config-validation-tb90Bzho.js} +3 -3
- package/dist/{configure-hI0hAw1W.js → configure-DuwIk56q.js} +17 -17
- package/dist/control-ui/assets/{index-DPyUb7lL.css → index-B5WC_0Be.css} +1 -1
- package/dist/control-ui/assets/{index-BlqD_sH7.js → index-DmJK8e2M.js} +2 -2
- package/dist/control-ui/assets/index-DmJK8e2M.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-M84PR-kz.js → control-ui-assets-Czpjuiah.js} +1 -1
- package/dist/{cron-cli-Bg88aQ8Y.js → cron-cli-D5MnhB5f.js} +12 -12
- package/dist/{daemon-cli-CFnqQB6M.js → daemon-cli-oCVkh3bg.js} +15 -15
- package/dist/{daemon-install-helpers-C1iBqd73.js → daemon-install-helpers-D5tste0V.js} +11 -11
- package/dist/{daemon-install-CdoMSH6S.js → daemon-install-vQ6KespE.js} +4 -4
- package/dist/{dashboard-CYa-ISxZ.js → dashboard-BstU6qkZ.js} +2 -2
- package/dist/{deliver-DTgCZWjU.js → deliver-H0xCFj4j.js} +7 -7
- package/dist/{deliver-Dyh8ZsLI.js → deliver-Z7543EnP.js} +1 -1
- package/dist/{deliver-C82Egs0W.js → deliver-xY3h9X6N.js} +22 -22
- package/dist/{devices-cli-9aOy3d7K.js → devices-cli-D6b6S-Iy.js} +8 -8
- package/dist/{diagnostic-DpOlXoSr.js → diagnostic-BO1GQJJf.js} +2 -2
- package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
- package/dist/{diagnostics-DooDWHeF.js → diagnostics-vLzdmcgg.js} +5 -5
- package/dist/{directory-cli-Rk2cBm0A.js → directory-cli-D3o7BGMd.js} +8 -8
- package/dist/{dns-cli-BXhJBWtC.js → dns-cli-B5kqVfFd.js} +5 -5
- package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
- package/dist/{dock-DWqb4ufG.js → dock-Cr9V9V1V.js} +6 -6
- package/dist/{docs-cli-D606Eb-M.js → docs-cli-CyjlhZAj.js} +4 -4
- package/dist/{doctor-completion-C7FCLVKC.js → doctor-completion-DGNL86eP.js} +1 -1
- package/dist/{doctor-completion-DNAwhmlY.js → doctor-completion-SBDS3edN.js} +2 -2
- package/dist/{doctor-config-flow-ePZ7ejQj.js → doctor-config-flow-DclZbGUP.js} +15 -15
- package/dist/{enable-CnvIWic7.js → enable-CKAw_GCd.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-Bn6pmvjK.js → env-DNMZEG57.js} +2 -2
- package/dist/{errors-azBrKJmF.js → errors-DEkWxItM.js} +1 -1
- package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
- package/dist/{exec-approvals-cli-Czp8csm7.js → exec-approvals-cli-U46MdeMi.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-B82CeaHJ.js → fetch--iXu7oa7.js} +5 -5
- package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
- package/dist/{fetch-guard-CCLWHwu7.js → fetch-guard-CNvY0vzQ.js} +2 -2
- package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
- package/dist/{frontmatter-5U1LYLH9.js → frontmatter-DIRc-IR1.js} +2 -2
- package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
- package/dist/{fs-safe-BDR6eQAw.js → fs-safe-D8x_nIIA.js} +4 -4
- package/dist/{gateway-cli-BKhQZ6rL.js → gateway-cli-ADJ8WFzB.js} +267 -93
- package/dist/{gateway-cli-Cb1IDsaH.js → gateway-cli-D5wMqxbT.js} +423 -249
- package/dist/{gateway-rpc-BgV_ZJ92.js → gateway-rpc-DFqEAyI_.js} +1 -1
- package/dist/{github-copilot-token-CPjAmbfr.js → github-copilot-token-DLGN-8YS.js} +7 -7
- package/dist/{health-DugDjq1f.js → health-Dzwp2cfK.js} +14 -14
- package/dist/{hooks-cli-VjmNvsLG.js → hooks-cli-DKAhHxZp.js} +84 -84
- package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
- package/dist/{image-BfqphdQM.js → image-BjuH1GKB.js} +5 -5
- package/dist/{image-BQ1JgwZu.js → image-DCyaYY2d.js} +6 -6
- package/dist/{image-DihIv8Eo.js → image-DQV2jl6F.js} +1 -1
- package/dist/{image-ops-jvmQoiyw.js → image-ops-B2L37gT8.js} +12 -12
- package/dist/{image-ops-BGTBZMuE.js → image-ops-DCpyia_K.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{inspect-DeP74OJO.js → inspect-DJUXn0vX.js} +4 -4
- package/dist/{install-safe-path-CWo3RPkH.js → install-safe-path-DVQh7rEs.js} +25 -25
- package/dist/{installs-BYqcA-ke.js → installs-jXfyPi74.js} +9 -9
- package/dist/{internal-hooks-oLQ2m8YT.js → internal-hooks-yQe6H47q.js} +1 -1
- package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
- package/dist/{ir-BODD8g-I.js → ir-BZUjdf-6.js} +6 -6
- package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
- package/dist/{issue-format-CqVkT3gT.js → issue-format-NBMJ5xAP.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{lifecycle-core-DAWYYqJl.js → lifecycle-core-oTVOKNSW.js} +5 -5
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{logger-DelEB7MK.js → logger-BlH5MJiV.js} +1 -1
- package/dist/{login-Cm2zDfEU.js → login-CgEHUE7h.js} +6 -6
- package/dist/{login-CYfV0FRr.js → login-I5RlwiJn.js} +3 -3
- package/dist/{login-qr-DUSyrCPW.js → login-qr-CRjZn3ix.js} +6 -6
- package/dist/{login-qr-iS1jPDpP.js → login-qr-DUJfhbUe.js} +13 -13
- package/dist/{logs-cli--IqfO6Fs.js → logs-cli-D2-73CiV.js} +9 -9
- package/dist/{manager-DdzkWOvc.js → manager-BNuB9clC.js} +15 -15
- package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
- package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
- package/dist/{markdown-tables-pfs_NCNh.js → markdown-tables-BHONoo6S.js} +1 -1
- package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
- package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
- package/dist/{message-channel-POuk6EOq.js → message-channel-Dl8dSs0T.js} +1 -1
- package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
- package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
- package/dist/{model-picker-CrYHvOZH.js → model-picker-DFyoaAce.js} +4 -4
- package/dist/{model-selection-DfZMxaX3.js → model-selection-D_Si2Ict.js} +44 -44
- package/dist/{models-BwUaRaeh.js → models-B-VHfTz-.js} +18 -18
- package/dist/{models-cli-DPvtAoJ-.js → models-cli-DQBbzn_p.js} +81 -81
- package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
- package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
- package/dist/{node-cli-Co4McDQy.js → node-cli-UnJ5obvj.js} +33 -33
- package/dist/{node-command-policy-D7hSN9B8.js → node-command-policy-DMwxqhrG.js} +1 -1
- package/dist/{node-service-CzRylWgI.js → node-service-83OYUi14.js} +1 -1
- package/dist/{nodes-cli-wABD1dZs.js → nodes-cli-U66EhW5E.js} +16 -16
- package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
- package/dist/{npm-pack-install-BGN-e1vW.js → npm-pack-install-1gsZywqI.js} +18 -18
- package/dist/{npm-resolution-Dp9ywE7U.js → npm-resolution-ZwcMp-e1.js} +5 -5
- package/dist/{onboard-tlfs9gUN.js → onboard-1RaJpuJ4.js} +1 -1
- package/dist/{onboard-DfDL2v89.js → onboard-Ce_QcPvd.js} +6 -6
- package/dist/{onboard-channels-CjyJiI4i.js → onboard-channels-BLL6tVVk.js} +20 -20
- package/dist/{onboard-custom-WfZ3J4O7.js → onboard-custom-CltkNK3c.js} +3 -3
- package/dist/{onboard-custom.shared-D52ggtQF.js → onboard-custom.shared-CXzE62ZH.js} +2 -2
- package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
- package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
- package/dist/{onboard-remote-DTz_Z9Xl.js → onboard-remote-DpEjARZa.js} +3 -3
- package/dist/{onboard-skills-D70PenD-.js → onboard-skills-CL0tHf_N.js} +4 -4
- package/dist/{onboarding-H5cLNUFG.js → onboarding-Rub9MXWB.js} +1 -1
- package/dist/{onboarding-DNV-TKzA.js → onboarding-WDRpEgra.js} +13 -13
- package/dist/{onboarding.finalize-C6UdLnH3.js → onboarding.finalize-CWYrjSVx.js} +89 -89
- package/dist/{onboarding.finalize-DfZFzt37.js → onboarding.finalize-MTyP_Dr4.js} +3 -3
- package/dist/{onboarding.gateway-config-CnQR4xLI.js → onboarding.gateway-config-Ce8ndMkF.js} +18 -18
- package/dist/{openai-model-default-DqKKq57j.js → openai-model-default-XM-ZB1MD.js} +2 -2
- package/dist/{outbound-Dv-MM4iv.js → outbound-CHyBoNxD.js} +4 -4
- package/dist/{outbound-4q4mbU-Z.js → outbound-DOVV_R6m.js} +7 -7
- package/dist/{outbound-attachment-CBCp1oVQ.js → outbound-attachment-C7sJLSnv.js} +2 -2
- package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
- package/dist/{pairing-cli-BUHAN0R5.js → pairing-cli-DUMMuvWC.js} +9 -9
- package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
- package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
- package/dist/{path-alias-guards-DfQIjfhB.js → path-alias-guards-CKjKIhQ3.js} +1 -1
- package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
- package/dist/{path-safety-tZSbJG67.js → path-safety-BxYB92SS.js} +1 -1
- package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
- package/dist/{paths-BZO1jkK2.js → paths-Cpu0XgUj.js} +3 -3
- package/dist/{paths-DKuX7-1L.js → paths-aGRLvQx9.js} +5 -5
- package/dist/{pi-embedded-xCcmCTnf.js → pi-embedded-CZAvX74y.js} +22 -22
- package/dist/{pi-embedded-DiUmkZyz.js → pi-embedded-DE3hb87F.js} +178 -178
- package/dist/{pi-embedded-helpers-C3sJPGXn.js → pi-embedded-helpers-BB2whkUz.js} +6 -6
- package/dist/{pi-embedded-helpers-CuwhW4u9.js → pi-embedded-helpers-CMTVhLjq.js} +29 -29
- package/dist/{pi-embedded-helpers-Bmj18lhA.js → pi-embedded-helpers-DK1ft2pf.js} +3 -3
- package/dist/{pi-model-discovery-COjkql-U.js → pi-model-discovery-DCIw1y1c.js} +7 -7
- package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
- package/dist/{pi-tools.policy-BH0D2kX0.js → pi-tools.policy-DRW8ya1z.js} +5 -5
- package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
- package/dist/{plugin-registry-CmucB2C0.js → plugin-registry-C2g1aLrK.js} +3 -3
- package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
- package/dist/{plugins-D63QYxW6.js → plugins-CJoaoIHc.js} +11 -11
- package/dist/{plugins-cli-DJFtia9f.js → plugins-cli-Cdug93Mi.js} +86 -86
- package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
- package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
- package/dist/{program-BkK1YIQS.js → program-L4hhvW67.js} +84 -84
- package/dist/{program-context-CFNQpYpG.js → program-context-BEPxCThZ.js} +7 -7
- package/dist/{prompt-select-styled-DlC5a1xd.js → prompt-select-styled-CYmsrkR3.js} +39 -39
- package/dist/{prompt-select-styled-DGdjezC8.js → prompt-select-styled-DTqU-r5T.js} +3 -3
- package/dist/{provider-auth-helpers-CJ2_W1oy.js → provider-auth-helpers-CNkIHUuF.js} +5 -5
- package/dist/{proxy-jINniQBi.js → proxy-DfJJLvch.js} +1 -1
- package/dist/{proxy-env-vYAjKL5q.js → proxy-env-BnDt8j9F.js} +1 -1
- package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
- package/dist/{proxy-fetch-AvkSvetA.js → proxy-fetch-xlbVQYN_.js} +1 -1
- package/dist/{push-apns-BKjyYFyk.js → push-apns-DRX0c6-y.js} +5 -5
- package/dist/{pw-ai-pqeoAqm_.js → pw-ai-CMUrm_kS.js} +1 -1
- package/dist/{pw-ai-BLNiRUPI.js → pw-ai-DGwA7iCM.js} +17 -17
- package/dist/{pw-ai-ITbRRqVN.js → pw-ai-DyGZ1pXu.js} +15 -15
- package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
- package/dist/{qmd-manager-BBKfRzj-.js → qmd-manager-CeN3N992.js} +11 -11
- package/dist/{qr-cli-D-LqDNlm.js → qr-cli-EHSe4TmR.js} +1 -1
- package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
- package/dist/{query-expansion-2BrixCA2.js → query-expansion-CGnW4Mk_.js} +5 -5
- package/dist/{redact-uUggP88O.js → redact-ScShueoF.js} +1 -1
- package/dist/{redact-snapshot-D3QFNQl8.js → redact-snapshot-kY3aFpcF.js} +1 -1
- package/dist/{register.agent-C3K3DXul.js → register.agent-CaCz2lnX.js} +97 -97
- package/dist/register.configure-BHL2CNOY.js +174 -0
- package/dist/{register.init-ClMzXUKm.js → register.init-D4hlhvsq.js} +15 -15
- package/dist/{register.maintenance-Bb8amfJh.js → register.maintenance-DsxNo00b.js} +6 -6
- package/dist/{register.maintenance-zsZrRIaB.js → register.maintenance-MJR5bDWC.js} +99 -99
- package/dist/{register.message-CfRd6EM2.js → register.message-ChJGE4xV.js} +77 -77
- package/dist/{register.onboard-qFRFDsPK.js → register.onboard-4aB9FmjK.js} +2 -2
- package/dist/{register.onboard-BFM29BaY.js → register.onboard-CRCrMN8O.js} +18 -18
- package/dist/{register.setup-D0E9z_QW.js → register.setup-CCPeU8WO.js} +2 -2
- package/dist/{register.setup-Caqvvqmm.js → register.setup-DqRNRiXi.js} +21 -21
- package/dist/{register.start-CrwDVujg.js → register.start-D3IRihbV.js} +17 -17
- package/dist/{register.status-health-sessions-CWb4-Kgs.js → register.status-health-sessions-EhCB2a7v.js} +3 -3
- package/dist/{register.status-health-sessions-BBEF4th9.js → register.status-health-sessions-zD3z2YuT.js} +91 -91
- package/dist/{register.subclis-rB1Roe3w.js → register.subclis-D12iC4nF.js} +31 -31
- package/dist/{registry-C2GEGa2t.js → registry-CJCkqTms.js} +3 -3
- package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
- package/dist/{replies-yAf6dFeT.js → replies-BFYGUEKu.js} +3 -3
- package/dist/{reply-prefix-9mzt89Cf.js → reply-prefix-DK1i6bCJ.js} +1 -1
- package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
- package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
- package/dist/{resolve-route-BNElrVxR.js → resolve-route-C5hVstLo.js} +4 -4
- package/dist/{retry-Ayb7e4XG.js → retry-DTeP7C3h.js} +1 -1
- package/dist/{rpc-9G93KhBv.js → rpc-Bzb0JMJ_.js} +1 -1
- package/dist/{run-main-C02l3ZhV.js → run-main-C_fGUv-Y.js} +95 -95
- package/dist/{runtime-BI0xjrHi.js → runtime-Cx-7xFzl.js} +2 -2
- package/dist/{sandbox-CLIUxOtc.js → sandbox-BLqUWbp2.js} +18 -18
- package/dist/{sandbox-cli-MjHZjW2w.js → sandbox-cli-CEriRvUh.js} +26 -26
- package/dist/{secrets-cli-BFU9jh2A.js → secrets-cli-DG-NG8PH.js} +10 -10
- package/dist/{security-cli-DIfmEZrw.js → security-cli-C_Bc1U-7.js} +43 -43
- package/dist/{send-Bclgg0Ur.js → send-B4pSMBHk.js} +8 -8
- package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
- package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
- package/dist/{send-Bjaa69Cy.js → send-BqKSZyIb.js} +27 -27
- package/dist/{send-DYY51FOR.js → send-CN0f1Yst.js} +6 -6
- package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
- package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
- package/dist/{send-Cp0yQi_p.js → send-V3fEVmLq.js} +10 -10
- package/dist/{send-DQ7hIAIK.js → send-XAO1mk64.js} +7 -7
- package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
- package/dist/{server-DbB5aXZq.js → server-CzDsmd9g.js} +19 -19
- package/dist/{server-context-DnPsW_Mg.js → server-context-DRq_OT33.js} +12 -12
- package/dist/{server-lifecycle-B2y6Fg7R.js → server-lifecycle-CcYnyYPQ.js} +2 -2
- package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
- package/dist/{server-node-events-BwnXBzS2.js → server-node-events-B5xSV7Kq.js} +77 -77
- package/dist/{service-Wk285d-R.js → service-CZORJG4z.js} +15 -15
- package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
- package/dist/{session-meta-CyQWVUk4.js → session-meta-Cqv55kSk.js} +2 -2
- package/dist/{session-DNbfXbBi.js → session-nilNSQEL.js} +1 -1
- package/dist/{session-utils-BncMg1bn.js → session-utils-DxaIoRMp.js} +6 -6
- package/dist/{session-TVb8hgJP.js → session-xKPVUYQP.js} +9 -9
- package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
- package/dist/{sessions-3jroJwu7.js → sessions-CA_BydGA.js} +31 -31
- package/dist/{sessions-C2Xfck_9.js → sessions-DhD3eJDE.js} +4 -4
- package/dist/{shared-CJN2BLdi.js → shared-BZscafy-.js} +1 -1
- package/dist/{shared-BAdi_Ot7.js → shared-DvHQekWm.js} +3 -3
- package/dist/{skill-commands-CSr9_48V.js → skill-commands-CZFmIM-s.js} +9 -9
- package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
- package/dist/{skill-scanner-BXOiOvI1.js → skill-scanner-0-AybMIe.js} +6 -6
- package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
- package/dist/{skills-B82IjVxn.js → skills-DMmr25nW.js} +22 -22
- package/dist/{skills-cli-CwbRKLum.js → skills-cli-B0jFsoo4.js} +5 -5
- package/dist/{skills-install-BQyeS7wB.js → skills-install-C6-Zzqoi.js} +6 -6
- package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
- package/dist/{status-B4v5QI5X.js → status-BfWqYNJf.js} +2 -2
- package/dist/{status-XGYDzhkW.js → status-Dw7ag8qn.js} +26 -26
- package/dist/{status.update-n2QPQr8w.js → status.update-B6whKviL.js} +2 -2
- package/dist/{status.update-DIamQqHr.js → status.update-C8qgou8r.js} +1 -1
- package/dist/{store-DhC72KqW.js → store-C8KgeMt2.js} +2 -2
- package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
- package/dist/{subagent-registry-WD5F6cBf.js → subagent-registry-D6OfBLNb.js} +156 -156
- package/dist/{subsystem-CAatx5oo.js → subsystem-BRjuJbbM.js} +14 -14
- package/dist/{system-cli-C_5YHHhF.js → system-cli-BoamUpxz.js} +9 -9
- package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
- package/dist/{systemd-Dbwmb4TX.js → systemd-C4JtDaKk.js} +9 -9
- package/dist/{systemd-hints-VM2JkQxw.js → systemd-hints-ZHrBbXDd.js} +6 -6
- package/dist/{systemd-linger-DoeP9Z3f.js → systemd-linger-CD4viBmg.js} +1 -1
- package/dist/{tables-Bfh_TnCf.js → tables-BKnPZssn.js} +1 -1
- package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
- package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
- package/dist/{target-errors-CGYXYvSZ.js → target-errors-B9Jzop3d.js} +2 -2
- package/dist/{target-errors-C5LA-JI-.js → target-errors-DPJ9HFp9.js} +4 -4
- package/dist/{tokens-BvzZdrVJ.js → tokens-B9EDT4jv.js} +1 -1
- package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
- package/dist/{tool-images-CqsWnc1k.js → tool-images-ffdfBx0b.js} +2 -2
- package/dist/{tool-loop-detection-C4V990MS.js → tool-loop-detection-CLoYKYIq.js} +3 -3
- package/dist/{tui-kOoc7WBf.js → tui-GWJMI53u.js} +6 -6
- package/dist/{tui-cli-DeTfdnEG.js → tui-cli-CMrxH2Q_.js} +33 -33
- package/dist/{update-DFr19tQ1.js → update-CDWJ50iD.js} +3 -3
- package/dist/{update-cli-CUSnVFt4.js → update-cli-Dw_JHcRy.js} +22 -14
- package/dist/{update-cli-BlswPThb.js → update-cli-r3eyhSgp.js} +122 -114
- package/dist/{update-runner-CX6jOI_r.js → update-runner-CHxTFtW8.js} +34 -22
- package/dist/{update-runner-BA9B0S60.js → update-runner-CJua_LZ3.js} +19 -7
- package/dist/{utils-Bo1RFF0l.js → utils-BFZnl-5N.js} +6 -6
- package/dist/{web-DsAoa63g.js → web-B2_c07KN.js} +69 -69
- package/dist/web-B4yuhy9a.js +125 -0
- package/dist/{web-CvYmNThc.js → web-De45Xhd1.js} +6 -6
- package/dist/{webhooks-cli-DLgCJq4n.js → webhooks-cli-B09BdLSk.js} +6 -6
- package/dist/{whatsapp-actions-DXjy9m41.js → whatsapp-actions-CHt12z-f.js} +28 -28
- package/dist/{whatsapp-actions-B81EJMQI.js → whatsapp-actions-DUoWY7mE.js} +19 -19
- package/dist/{with-timeout-l0X_rwcb.js → with-timeout-B9qgOUui.js} +3 -3
- package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
- package/dist/{workspace-CswOYN9T.js → workspace-D6mrCnXi.js} +21 -21
- package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
- package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
- package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
- package/docs/install/index.md +12 -12
- package/docs/install/updating.md +32 -33
- package/docs/plans/2026-03-11-bitseek-update-package-design.md +25 -0
- package/package.json +1 -1
- package/dist/control-ui/assets/index-BlqD_sH7.js.map +0 -1
- package/dist/register.configure-aJItV_ZP.js +0 -174
- package/dist/web-DNL22pwf.js +0 -125
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir } from "./paths-aGRLvQx9.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BRjuJbbM.js";
|
|
3
3
|
import { c as normalizeAgentId, h as normalizeOptionalAccountId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-a6av96Fj.js";
|
|
4
|
-
import { d as normalizeE164 } from "./utils-
|
|
5
|
-
import { H as loadConfig, Mn as getProcessStartTime, Nn as isPidAlive, at as parseDurationMs, jn as resolveProcessScopedMap, ot as parseByteSize } from "./model-selection-
|
|
6
|
-
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
7
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
+
import { d as normalizeE164 } from "./utils-BFZnl-5N.js";
|
|
5
|
+
import { H as loadConfig, Mn as getProcessStartTime, Nn as isPidAlive, at as parseDurationMs, jn as resolveProcessScopedMap, ot as parseByteSize } from "./model-selection-D_Si2Ict.js";
|
|
6
|
+
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-Cr9V9V1V.js";
|
|
7
|
+
import { r as normalizeChannelId } from "./plugins-CJoaoIHc.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
9
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
9
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-Dl8dSs0T.js";
|
|
10
10
|
import { i as writeTextAtomic } from "./json-files-JTS4WE3P.js";
|
|
11
11
|
import { n as resolveConversationLabel } from "./conversation-label-CEQUZyFY.js";
|
|
12
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
12
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Cpu0XgUj.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Cso7-m1w.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import syncFs from "node:fs";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
20
20
|
|
|
@@ -103,7 +103,7 @@ function releaseAllLocksSync() {
|
|
|
103
103
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
104
104
|
} catch {}
|
|
105
105
|
try {
|
|
106
|
-
|
|
106
|
+
syncFs.rmSync(held.lockPath, { force: true });
|
|
107
107
|
} catch {}
|
|
108
108
|
HELD_LOCKS.delete(sessionFile);
|
|
109
109
|
}
|
|
@@ -908,14 +908,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
908
908
|
function canonicalizePathForComparison$1(filePath) {
|
|
909
909
|
const resolved = path.resolve(filePath);
|
|
910
910
|
try {
|
|
911
|
-
return
|
|
911
|
+
return syncFs.realpathSync(resolved);
|
|
912
912
|
} catch {
|
|
913
913
|
return resolved;
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
916
|
function archiveFileOnDisk(filePath, reason) {
|
|
917
917
|
const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
|
|
918
|
-
|
|
918
|
+
syncFs.renameSync(filePath, archived);
|
|
919
919
|
return archived;
|
|
920
920
|
}
|
|
921
921
|
/**
|
|
@@ -931,7 +931,7 @@ function archiveSessionTranscripts(opts) {
|
|
|
931
931
|
const relative = path.relative(storeDir, candidatePath);
|
|
932
932
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
|
|
933
933
|
}
|
|
934
|
-
if (!
|
|
934
|
+
if (!syncFs.existsSync(candidatePath)) continue;
|
|
935
935
|
try {
|
|
936
936
|
archived.push(archiveFileOnDisk(candidatePath, opts.reason));
|
|
937
937
|
} catch {}
|
|
@@ -949,15 +949,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
949
949
|
let removed = 0;
|
|
950
950
|
let scanned = 0;
|
|
951
951
|
for (const dir of directories) {
|
|
952
|
-
const entries = await
|
|
952
|
+
const entries = await syncFs.promises.readdir(dir).catch(() => []);
|
|
953
953
|
for (const entry of entries) {
|
|
954
954
|
const timestamp = parseSessionArchiveTimestamp(entry, reason);
|
|
955
955
|
if (timestamp == null) continue;
|
|
956
956
|
scanned += 1;
|
|
957
957
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
958
958
|
const fullPath = path.join(dir, entry);
|
|
959
|
-
if (!(await
|
|
960
|
-
await
|
|
959
|
+
if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
960
|
+
await syncFs.promises.rm(fullPath).catch(() => void 0);
|
|
961
961
|
removed += 1;
|
|
962
962
|
}
|
|
963
963
|
}
|
|
@@ -1086,7 +1086,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
function getFileStatSnapshot(filePath) {
|
|
1088
1088
|
try {
|
|
1089
|
-
const stats =
|
|
1089
|
+
const stats = syncFs.statSync(filePath);
|
|
1090
1090
|
return {
|
|
1091
1091
|
mtimeMs: stats.mtimeMs,
|
|
1092
1092
|
sizeBytes: stats.size
|
|
@@ -1105,7 +1105,7 @@ const NOOP_LOGGER = {
|
|
|
1105
1105
|
function canonicalizePathForComparison(filePath) {
|
|
1106
1106
|
const resolved = path.resolve(filePath);
|
|
1107
1107
|
try {
|
|
1108
|
-
return
|
|
1108
|
+
return syncFs.realpathSync(resolved);
|
|
1109
1109
|
} catch {
|
|
1110
1110
|
return resolved;
|
|
1111
1111
|
}
|
|
@@ -1163,12 +1163,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
|
|
|
1163
1163
|
return referenced;
|
|
1164
1164
|
}
|
|
1165
1165
|
async function readSessionsDirFiles(sessionsDir) {
|
|
1166
|
-
const dirEntries = await
|
|
1166
|
+
const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
1167
1167
|
const files = [];
|
|
1168
1168
|
for (const dirent of dirEntries) {
|
|
1169
1169
|
if (!dirent.isFile()) continue;
|
|
1170
1170
|
const filePath = path.join(sessionsDir, dirent.name);
|
|
1171
|
-
const stat = await
|
|
1171
|
+
const stat = await syncFs.promises.stat(filePath).catch(() => null);
|
|
1172
1172
|
if (!stat?.isFile()) continue;
|
|
1173
1173
|
files.push({
|
|
1174
1174
|
path: filePath,
|
|
@@ -1181,9 +1181,9 @@ async function readSessionsDirFiles(sessionsDir) {
|
|
|
1181
1181
|
return files;
|
|
1182
1182
|
}
|
|
1183
1183
|
async function removeFileIfExists(filePath) {
|
|
1184
|
-
const stat = await
|
|
1184
|
+
const stat = await syncFs.promises.stat(filePath).catch(() => null);
|
|
1185
1185
|
if (!stat?.isFile()) return 0;
|
|
1186
|
-
await
|
|
1186
|
+
await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
|
|
1187
1187
|
return stat.size;
|
|
1188
1188
|
}
|
|
1189
1189
|
async function removeFileForBudget(params) {
|
|
@@ -1542,7 +1542,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
async function getSessionFileSize(storePath) {
|
|
1544
1544
|
try {
|
|
1545
|
-
return (await
|
|
1545
|
+
return (await syncFs.promises.stat(storePath)).size;
|
|
1546
1546
|
} catch {
|
|
1547
1547
|
return null;
|
|
1548
1548
|
}
|
|
@@ -1559,7 +1559,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
1559
1559
|
if (fileSize <= maxBytes) return false;
|
|
1560
1560
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
1561
1561
|
try {
|
|
1562
|
-
await
|
|
1562
|
+
await syncFs.promises.rename(storePath, backupPath);
|
|
1563
1563
|
log$1.info("rotated session store file", {
|
|
1564
1564
|
backupPath: path.basename(backupPath),
|
|
1565
1565
|
sizeBytes: fileSize
|
|
@@ -1570,11 +1570,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
1570
1570
|
try {
|
|
1571
1571
|
const dir = path.dirname(storePath);
|
|
1572
1572
|
const baseName = path.basename(storePath);
|
|
1573
|
-
const backups = (await
|
|
1573
|
+
const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
1574
1574
|
const maxBackups = 3;
|
|
1575
1575
|
if (backups.length > maxBackups) {
|
|
1576
1576
|
const toDelete = backups.slice(maxBackups);
|
|
1577
|
-
for (const old of toDelete) await
|
|
1577
|
+
for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
1578
1578
|
log$1.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
1579
1579
|
}
|
|
1580
1580
|
} catch {}
|
|
@@ -1697,7 +1697,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
1697
1697
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
1698
1698
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
1699
1699
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
1700
|
-
const raw =
|
|
1700
|
+
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
1701
1701
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
1702
1702
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
1703
1703
|
continue;
|
|
@@ -1851,7 +1851,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
1851
1851
|
});
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
|
-
await
|
|
1854
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1855
1855
|
const json = JSON.stringify(store, null, 2);
|
|
1856
1856
|
if (getSerializedSessionStore(storePath) === json) {
|
|
1857
1857
|
updateSessionStoreWriteCaches({
|
|
@@ -2173,8 +2173,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
2173
2173
|
return trimmed ? trimmed : null;
|
|
2174
2174
|
}
|
|
2175
2175
|
async function ensureSessionHeader(params) {
|
|
2176
|
-
if (
|
|
2177
|
-
await
|
|
2176
|
+
if (syncFs.existsSync(params.sessionFile)) return;
|
|
2177
|
+
await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
2178
2178
|
const header = {
|
|
2179
2179
|
type: "session",
|
|
2180
2180
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -2182,7 +2182,7 @@ async function ensureSessionHeader(params) {
|
|
|
2182
2182
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2183
2183
|
cwd: process.cwd()
|
|
2184
2184
|
};
|
|
2185
|
-
await
|
|
2185
|
+
await syncFs.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
2186
2186
|
encoding: "utf-8",
|
|
2187
2187
|
mode: 384
|
|
2188
2188
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as isRich, n as info, p as theme } from "./globals-B68W7uN8.js";
|
|
3
|
-
import { Ai as DEFAULT_MODEL, M as loadConfig, ji as DEFAULT_PROVIDER, ki as DEFAULT_CONTEXT_TOKENS, yr as resolveConfiguredModelRef } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, r as listAgentIds } from "./agent-scope-
|
|
3
|
+
import { Ai as DEFAULT_MODEL, M as loadConfig, ji as DEFAULT_PROVIDER, ki as DEFAULT_CONTEXT_TOKENS, yr as resolveConfiguredModelRef } from "./auth-profiles-CyG9VwU_.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, r as listAgentIds } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { T as parseAgentSessionKey, c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
6
|
-
import { X as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-
|
|
6
|
+
import { X as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-BXz4gdq6.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-CTtLmER4.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-DlCMhQXD.js";
|
|
9
|
-
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-
|
|
9
|
+
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-DxaIoRMp.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/session-store-targets.ts
|
|
12
12
|
function dedupeTargetsByStorePath(targets) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
3
3
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-BLYfoMmL.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-CZORJG4z.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile, Sr as resolveModelRefFromString, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex } from "./auth-profiles-
|
|
1
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile, Sr as resolveModelRefFromString, fr as modelKey, ji as DEFAULT_PROVIDER, sr as buildModelAliasIndex } from "./auth-profiles-CyG9VwU_.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
3
|
-
import { r as listAgentIds, v as toAgentModelListLike } from "./agent-scope-
|
|
3
|
+
import { r as listAgentIds, v as toAgentModelListLike } from "./agent-scope-CY2-lUIY.js";
|
|
4
4
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
5
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
5
|
+
import { n as formatConfigIssueLines } from "./issue-format-NBMJ5xAP.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { c as resolveStateDir } from "./paths-
|
|
4
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
5
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
2
|
+
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-C6hps0r3.js";
|
|
3
|
+
import { c as resolveStateDir } from "./paths-aGRLvQx9.js";
|
|
4
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-BRjuJbbM.js";
|
|
5
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BFZnl-5N.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-DMmr25nW.js";
|
|
7
7
|
import { t as createAsyncLock } from "./json-files-JTS4WE3P.js";
|
|
8
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
8
|
+
import { a as listChatCommands } from "./commands-registry-NIsv9Z4R.js";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import syncFs from "node:fs";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import chokidar from "chokidar";
|
|
14
14
|
|
|
@@ -248,13 +248,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
248
248
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
249
249
|
for (const agentId of agentIds) {
|
|
250
250
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
251
|
-
if (!
|
|
251
|
+
if (!syncFs.existsSync(workspaceDir)) {
|
|
252
252
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
253
253
|
continue;
|
|
254
254
|
}
|
|
255
255
|
let canonicalDir;
|
|
256
256
|
try {
|
|
257
|
-
canonicalDir =
|
|
257
|
+
canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
258
258
|
} catch {
|
|
259
259
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
260
260
|
continue;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as logVerbose } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
|
-
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
5
5
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
6
|
-
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-
|
|
7
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
6
|
+
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-D4S-gyVf.js";
|
|
7
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-rR19q30D.js";
|
|
8
8
|
import { a as resolvePairingPaths, i as pruneExpiredPending, n as verifyPairingToken, o as upsertPendingPairingRequest, r as rejectPendingPairingRequest, t as generatePairingToken } from "./pairing-token-DoBZxQnC.js";
|
|
9
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
10
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
9
|
+
import { a as listChatCommands } from "./commands-registry-C78O6aNi.js";
|
|
10
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-Bevk6X_8.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isPathInside } from "./legacy-names-D3aIn6ij.js";
|
|
2
2
|
import { a as hasErrnoCode } from "./errors-BJz45-qI.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,12 +1,12 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
3
3
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
4
|
-
import { F as normalizeSkillFilter, b as resolveOpenClawPackageRootSync, j as isPathInside } from "./workspace-
|
|
4
|
+
import { F as normalizeSkillFilter, b as resolveOpenClawPackageRootSync, j as isPathInside } from "./workspace-DzeL98px.js";
|
|
5
5
|
import { n as isDangerousHostEnvVarName } from "./host-env-security-CJMD0__Z.js";
|
|
6
6
|
import { a as isPathInsideWithRealpath } from "./legacy-names-D3aIn6ij.js";
|
|
7
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
7
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-CBF8Vfz8.js";
|
|
8
8
|
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-C0E8mspC.js";
|
|
9
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
9
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-laKq24fx.js";
|
|
10
10
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { p as normalizeSkillFilter } from "./agent-scope-
|
|
2
|
-
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { A as isPathInside, _ as resolveOpenClawPackageRootSync } from "./workspace-
|
|
5
|
-
import { At as resolveEffectiveEnableState, Sn as isDangerousHostEnvVarName, hn as isPathInsideWithRealpath, jt as resolveMemorySlotDecision, kt as normalizePluginsConfig, wt as loadPluginManifestRegistry } from "./model-selection-
|
|
6
|
-
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
7
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { p as normalizeSkillFilter } from "./agent-scope-C6hps0r3.js";
|
|
2
|
+
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-BRjuJbbM.js";
|
|
3
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BFZnl-5N.js";
|
|
4
|
+
import { A as isPathInside, _ as resolveOpenClawPackageRootSync } from "./workspace-D6mrCnXi.js";
|
|
5
|
+
import { At as resolveEffectiveEnableState, Sn as isDangerousHostEnvVarName, hn as isPathInsideWithRealpath, jt as resolveMemorySlotDecision, kt as normalizePluginsConfig, wt as loadPluginManifestRegistry } from "./model-selection-D_Si2Ict.js";
|
|
6
|
+
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-DIRc-IR1.js";
|
|
7
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CKjKIhQ3.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
|
|
|
@@ -540,13 +540,13 @@ function shortPath(value) {
|
|
|
540
540
|
//#region src/agents/skills/bundled-dir.ts
|
|
541
541
|
function looksLikeSkillsDir(dir) {
|
|
542
542
|
try {
|
|
543
|
-
const entries =
|
|
543
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
544
544
|
for (const entry of entries) {
|
|
545
545
|
if (entry.name.startsWith(".")) continue;
|
|
546
546
|
const fullPath = path.join(dir, entry.name);
|
|
547
547
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
548
548
|
if (entry.isDirectory()) {
|
|
549
|
-
if (
|
|
549
|
+
if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
} catch {
|
|
@@ -561,7 +561,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
561
561
|
const execPath = opts.execPath ?? process.execPath;
|
|
562
562
|
const execDir = path.dirname(execPath);
|
|
563
563
|
const sibling = path.join(execDir, "skills");
|
|
564
|
-
if (
|
|
564
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
565
565
|
} catch {}
|
|
566
566
|
try {
|
|
567
567
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -624,7 +624,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
624
624
|
const trimmed = raw.trim();
|
|
625
625
|
if (!trimmed) continue;
|
|
626
626
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
627
|
-
if (!
|
|
627
|
+
if (!syncFs.existsSync(candidate)) {
|
|
628
628
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
629
629
|
continue;
|
|
630
630
|
}
|
|
@@ -655,7 +655,7 @@ async function serializeByKey(key, task) {
|
|
|
655
655
|
|
|
656
656
|
//#endregion
|
|
657
657
|
//#region src/agents/skills/workspace.ts
|
|
658
|
-
const fsp =
|
|
658
|
+
const fsp = syncFs.promises;
|
|
659
659
|
const skillsLogger = createSubsystemLogger("skills");
|
|
660
660
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
661
661
|
/**
|
|
@@ -732,7 +732,7 @@ function resolveSkillsLimits(config) {
|
|
|
732
732
|
}
|
|
733
733
|
function listChildDirectories(dir) {
|
|
734
734
|
try {
|
|
735
|
-
const entries =
|
|
735
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
736
736
|
const dirs = [];
|
|
737
737
|
for (const entry of entries) {
|
|
738
738
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -743,7 +743,7 @@ function listChildDirectories(dir) {
|
|
|
743
743
|
continue;
|
|
744
744
|
}
|
|
745
745
|
if (entry.isSymbolicLink()) try {
|
|
746
|
-
if (
|
|
746
|
+
if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
747
747
|
} catch {}
|
|
748
748
|
}
|
|
749
749
|
return dirs;
|
|
@@ -754,7 +754,7 @@ function listChildDirectories(dir) {
|
|
|
754
754
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
755
755
|
const nested = path.join(dir, "skills");
|
|
756
756
|
try {
|
|
757
|
-
if (!
|
|
757
|
+
if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
758
758
|
} catch {
|
|
759
759
|
return { baseDir: dir };
|
|
760
760
|
}
|
|
@@ -763,7 +763,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
763
763
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
764
764
|
for (const name of toScan) {
|
|
765
765
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
766
|
-
if (
|
|
766
|
+
if (syncFs.existsSync(skillMd)) return {
|
|
767
767
|
baseDir: nested,
|
|
768
768
|
note: `Detected nested skills root at ${nested}`
|
|
769
769
|
};
|
|
@@ -783,9 +783,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
783
783
|
const loadSkills = (params) => {
|
|
784
784
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
785
785
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
786
|
-
if (
|
|
786
|
+
if (syncFs.existsSync(rootSkillMd)) {
|
|
787
787
|
try {
|
|
788
|
-
const size =
|
|
788
|
+
const size = syncFs.statSync(rootSkillMd).size;
|
|
789
789
|
if (size > limits.maxSkillFileBytes) {
|
|
790
790
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
791
791
|
dir: baseDir,
|
|
@@ -824,9 +824,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
824
824
|
for (const name of limitedChildren) {
|
|
825
825
|
const skillDir = path.join(baseDir, name);
|
|
826
826
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
827
|
-
if (!
|
|
827
|
+
if (!syncFs.existsSync(skillMd)) continue;
|
|
828
828
|
try {
|
|
829
|
-
const size =
|
|
829
|
+
const size = syncFs.statSync(skillMd).size;
|
|
830
830
|
if (size > limits.maxSkillFileBytes) {
|
|
831
831
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
832
832
|
skill: name,
|
|
@@ -894,7 +894,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
894
894
|
return Array.from(merged.values()).map((skill) => {
|
|
895
895
|
let frontmatter = {};
|
|
896
896
|
try {
|
|
897
|
-
frontmatter = parseFrontmatter(
|
|
897
|
+
frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
|
|
898
898
|
} catch {}
|
|
899
899
|
return {
|
|
900
900
|
skill,
|
|
@@ -2,11 +2,11 @@ import { p as theme } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-CyG9VwU_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
|
|
8
8
|
import { x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-DzeL98px.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,7 +14,7 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-CBF8Vfz8.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
19
19
|
import { t as renderTable } from "./table-BHL_2Py1.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-DQzBD0Y7.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-DIzy5B5o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CEAvKSx9.js";
|
|
3
3
|
import { d as hasBinary } from "./frontmatter-C0E8mspC.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-D4S-gyVf.js";
|
|
5
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-BqJ9egpm.js";
|
|
6
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Csbz9pui.js";
|
|
7
7
|
import { t as resolveBrewExecutable } from "./brew-D6LNrpWB.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-BxYB92SS.js";
|
|
9
|
+
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-DVQh7rEs.js";
|
|
10
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-0-AybMIe.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-DjdBljTA.js";
|
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-DIzy5B5o.js";
|
|
4
4
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-BY-GETN6.js";
|
|
5
5
|
import { d as hasBinary } from "./frontmatter-C0E8mspC.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-D4S-gyVf.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
9
9
|
|
|
@@ -31,8 +31,8 @@ import { t as readLastGatewayErrorLine } from "./diagnostics-BCFJKFDe.js";
|
|
|
31
31
|
import { t as renderTable } from "./table-MuA2LQfi.js";
|
|
32
32
|
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-R36cTwJM.js";
|
|
33
33
|
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CGGup1fo.js";
|
|
34
|
-
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
35
|
-
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
34
|
+
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-C8qgou8r.js";
|
|
35
|
+
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-etfgJrr_.js";
|
|
36
36
|
import { t as resolveNodeService } from "./node-service-DoxDrTkh.js";
|
|
37
37
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-w5v1AP8D.js";
|
|
38
38
|
import { t as shortenText } from "./text-format-ByZoVQF_.js";
|