squidclaw 3.0.13 → 3.0.15
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-PhtBJ8mA.js → accounts-BjEXPlGc.js} +1 -1
- package/dist/{accounts-BsypiWiC.js → accounts-BznLC9dH.js} +2 -2
- package/dist/{accounts-CojLB8gu.js → accounts-Ci60lQsY.js} +17 -17
- package/dist/{accounts-Xp5W2xrR.js → accounts-CyBVeR-N.js} +1 -1
- package/dist/{accounts-BFC1okn9.js → accounts-D095MOmG.js} +7 -7
- package/dist/{accounts-CBMZbUu2.js → accounts-Dw4ivpQU.js} +2 -2
- package/dist/{acp-cli-Dt95OPXW.js → acp-cli-Dd2joFFS.js} +8 -8
- package/dist/{active-listener-eLf5VQ_4.js → active-listener-B5jww01z.js} +2 -2
- package/dist/{agent-scope-tUxfsPYq.js → agent-scope-C1XMay0T.js} +17 -17
- package/dist/{agents.config-DNPisWCH.js → agents.config-CRKsD30n.js} +2 -2
- package/dist/{api-key-rotation-Y59kKrr0.js → api-key-rotation-BcKKu9kK.js} +1 -1
- package/dist/{api-key-rotation-R0EeTSGR.js → api-key-rotation-C1EZFUSy.js} +2 -2
- package/dist/{audio-preflight-C2dLsMCR.js → audio-preflight-CG6H_U7W.js} +32 -32
- package/dist/{audio-preflight-DeBM0nTy.js → audio-preflight-g9rsstMv.js} +34 -34
- package/dist/{audio-transcription-runner-B7oPsr3U.js → audio-transcription-runner-Bnl3Ubjo.js} +23 -23
- package/dist/{audio-transcription-runner-B7Q9WPbH.js → audio-transcription-runner-D0H4ucWV.js} +12 -12
- package/dist/{audit-Bq3iosCf.js → audit-B4s_5Gn1.js} +29 -29
- package/dist/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
- package/dist/{auth-HYiP0mxx.js → auth-DHSeaNcB.js} +1 -1
- package/dist/{auth-choice-Du_pIfBh.js → auth-choice-C-7c5Td_.js} +13 -13
- package/dist/{auth-choice-CX8TDXmp.js → auth-choice-D7LiN5Ju.js} +11 -11
- package/dist/{auth-choice.apply-helpers-DRfHu1d8.js → auth-choice.apply-helpers-CxO2Wbq-.js} +1 -1
- package/dist/{auth-token-BQRI3c6e.js → auth-token-BxYYHBlc.js} +1 -1
- package/dist/{bonjour-discovery-BenDpM0y.js → bonjour-discovery-mtNewKSx.js} +1 -1
- package/dist/{browser-cli-Et8PyJjA.js → browser-cli-I1fzIVmS.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 +51 -51
- package/dist/{call-DbkLm3eP.js → call-DkR5OGhh.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-C_WQRa6U.js → channel-account-context-e4ysObLI.js} +5 -5
- package/dist/{channel-activity-7kixHIgY.js → channel-activity-CCjlTlcN.js} +1 -1
- package/dist/{channel-activity-B-tyheVe.js → channel-activity-CUT8qw0W.js} +3 -3
- package/dist/{channel-options-D0TjqxeO.js → channel-options-BL5mHe-R.js} +3 -3
- package/dist/{channel-selection-BwbXcgj2.js → channel-selection-D_20zq3H.js} +1 -1
- package/dist/{channel-web-lfZ3VOOl.js → channel-web-C7Iij0H0.js} +16 -16
- package/dist/{channels-cli-Hr4vekE6.js → channels-cli-BMiEn81Y.js} +92 -92
- package/dist/{channels-status-issues-DeoqSoo-.js → channels-status-issues-N9kzQrD8.js} +1 -1
- package/dist/{chrome-3982B8u4.js → chrome-53mklS3F.js} +18 -18
- package/dist/{chrome-gIqO4t7T.js → chrome-BNfSmFAM.js} +4 -4
- package/dist/{clawbot-cli-C-jGxnTq.js → clawbot-cli-B6-68gsT.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BH62lCfL.js → cli-ByaubO_B.js} +72 -72
- package/dist/{client-CeaUCJtL.js → client-BURktNyH.js} +2 -2
- package/dist/{command-registry-CquAbyqR.js → command-registry-D-zYyZpc.js} +4 -4
- package/dist/{command-secret-targets-BF4WzaME.js → command-secret-targets-WwcPUFAf.js} +4 -4
- package/dist/{commands-CD6EMOiw.js → commands-CiY9HjRt.js} +1 -1
- package/dist/{commands-registry-DCUj1QOi.js → commands-registry-0bpX7A_Q.js} +3 -3
- package/dist/{commands-registry-i6O3l1QI.js → commands-registry-DmH3aIGN.js} +4 -4
- package/dist/{completion-cli-BIY_jjYY.js → completion-cli-ClRcwvgc.js} +12 -12
- package/dist/{completion-cli-CIM6cyBy.js → completion-cli-DhTAfX_O.js} +2 -2
- package/dist/{config-cli-DvNViMXW.js → config-cli-ClomIMw7.js} +7 -7
- package/dist/{config-guard-DwgnWjmj.js → config-guard-rLrk7eSS.js} +16 -16
- package/dist/{config-validation-CcqZ--gE.js → config-validation-BQEaXMk7.js} +3 -3
- package/dist/{configure-B5Zuhebc.js → configure-CoXGul3l.js} +17 -17
- package/dist/{control-ui-assets-x69xyZH-.js → control-ui-assets-Bz7TCLpb.js} +1 -1
- package/dist/{cron-cli-Bv-X4msQ.js → cron-cli-C3iKBccc.js} +11 -11
- package/dist/{daemon-cli-B-8-rGND.js → daemon-cli-BVcrlw5o.js} +15 -15
- package/dist/{daemon-install-2y4HHhYl.js → daemon-install-CXDWHEEO.js} +4 -4
- package/dist/{daemon-install-helpers-Cdo6Pryw.js → daemon-install-helpers-a4pGEsbA.js} +11 -11
- package/dist/{deliver-CVl43oM1.js → deliver-B1sllFkh.js} +7 -7
- package/dist/{deliver-BLMHHSPm.js → deliver-DBhlEXOh.js} +21 -21
- package/dist/deliver-runtime-BpVWeU13.js +36 -0
- package/dist/deliver-runtime-CaV7seKv.js +61 -0
- package/dist/deps-send-discord.runtime-CL6FlfRz.js +26 -0
- package/dist/deps-send-discord.runtime-DbS5pxta.js +36 -0
- package/dist/deps-send-imessage.runtime-DP56C3XB.js +25 -0
- package/dist/deps-send-imessage.runtime-Ji753_F7.js +35 -0
- package/dist/deps-send-signal.runtime-4WUnsfj1.js +24 -0
- package/dist/deps-send-signal.runtime-DLJqvPLf.js +34 -0
- package/dist/deps-send-slack.runtime-BM_8OV-V.js +22 -0
- package/dist/deps-send-slack.runtime-DrFxeZ1I.js +32 -0
- package/dist/{deps-send-telegram.runtime-C9lz8bf0.js → deps-send-telegram.runtime-CF-Ylrvr.js} +16 -16
- package/dist/deps-send-telegram.runtime-CL27zxrX.js +27 -0
- package/dist/deps-send-whatsapp.runtime-B0xMiMJX.js +60 -0
- package/dist/deps-send-whatsapp.runtime-BOE0Ke6v.js +118 -0
- package/dist/{devices-cli-BT8K0hdG.js → devices-cli-Dn_norz3.js} +8 -8
- package/dist/{diagnostic-CFkF5G3N.js → diagnostic-C2LLQE3X.js} +2 -2
- package/dist/{diagnostic-5bqrhGEp.js → diagnostic-CNl71AzW.js} +1 -1
- package/dist/{diagnostics-C0CazfQM.js → diagnostics-DZ99A0EW.js} +5 -5
- package/dist/{directory-cli-BZcT9ie1.js → directory-cli-ZzwXkW89.js} +7 -7
- package/dist/{dns-cli-CPYaeASu.js → dns-cli-DipYQjtY.js} +5 -5
- package/dist/{dock-CVTqzMqE.js → dock-C7N1CmcP.js} +4 -4
- package/dist/{docs-cli-C50vGyDh.js → docs-cli-C-Izm9Tb.js} +4 -4
- package/dist/{doctor-completion-DWWBwulC.js → doctor-completion-CvbhXcBA.js} +1 -1
- package/dist/{doctor-completion-Emprau8v.js → doctor-completion-DTHBtueI.js} +2 -2
- package/dist/{doctor-config-flow-DSA-JE3n.js → doctor-config-flow-DDWA3Z2D.js} +15 -15
- package/dist/{enable-CAYj5OhY.js → enable-RJyJVP_B.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-CgRPdp3o.js → errors-kkRuS2Cs.js} +1 -1
- package/dist/{exec-approvals-allowlist-BO4EEQUI.js → exec-approvals-allowlist-Bu_oaDJC.js} +1 -1
- package/dist/{exec-approvals-cli-DSOHdWJR.js → exec-approvals-cli-Csducy9L.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CSnpe1AT.js → exec-safe-bin-runtime-policy-DRQwt8kj.js} +2 -2
- package/dist/{fetch-38Yx06gt.js → fetch-CxBkawdM.js} +5 -5
- package/dist/{fetch-guard-VcWeni3c.js → fetch-guard-DNykKlIv.js} +1 -1
- package/dist/{fetch-guard-D4vl4ujr.js → fetch-guard-fb71kZZ8.js} +2 -2
- package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
- package/dist/{fs-safe-CjHYKGbt.js → fs-safe-CKHYu4Vz.js} +24 -24
- package/dist/{gateway-cli-9UpCzUUR.js → gateway-cli-5rUG2fBn.js} +1 -1
- package/dist/{gateway-cli-B2fScwuY.js → gateway-cli-CF1kp5f9.js} +152 -152
- package/dist/{gateway-rpc-DpqZnhyz.js → gateway-rpc-DoKw40aG.js} +1 -1
- package/dist/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
- package/dist/{health-BZcB9SMe.js → health-Cia3g9r1.js} +11 -11
- package/dist/{hooks-cli-BylHgZ52.js → hooks-cli-LDbU3XMU.js} +80 -80
- package/dist/{hooks-status-DqGd74DG.js → hooks-status-Dd_iWcBZ.js} +1 -1
- package/dist/{image-UWdNg3AV.js → image-C5cdH_Hn.js} +6 -6
- package/dist/{image-CulZw1up.js → image-D2a7rcK1.js} +5 -5
- package/dist/{image-ops-BpsIdA2j.js → image-ops-BIWika4g.js} +10 -10
- package/dist/{image-ops-MgyUqvIc.js → image-ops-BSjD6uEb.js} +2 -2
- package/dist/image-runtime-B1jzvCV9.js +29 -0
- package/dist/image-runtime-DTxVPe7Z.js +55 -0
- package/dist/index.js +82 -82
- package/dist/{inspect-D5T8Bbzl.js → inspect-C3PHuODr.js} +4 -4
- package/dist/{install-safe-path-BoN-MLvX.js → install-safe-path-iCmVuopp.js} +25 -25
- package/dist/{installs-CPHMcmNj.js → installs-CyjlehlR.js} +9 -9
- package/dist/{ipv4-Bwl9ruCP.js → ipv4-CWVOQw5T.js} +1 -1
- package/dist/{ir-xnftdkOo.js → ir-BPM7rQYq.js} +8 -8
- package/dist/{ir-KtKnWVYv.js → ir-DM4doOj9.js} +8 -8
- package/dist/{issue-format-8t_ncgFx.js → issue-format-sA05c-6t.js} +1 -1
- package/dist/{json-files-DIEpaxUj.js → json-files-D6M304Qd.js} +8 -8
- package/dist/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/{lifecycle-core-DKiBjZdv.js → lifecycle-core-DsfZ6965.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{local-roots-BrxGyJnb.js → local-roots-CMxJ8L4w.js} +3 -3
- package/dist/{logger-oGKcCLZ5.js → logger-CnTSBL7T.js} +7 -7
- package/dist/{login-BJ7RjzPV.js → login--L7xmR80.js} +5 -5
- package/dist/{login-CxDYXbgx.js → login-BjtBaVVG.js} +3 -3
- package/dist/{login-qr-zf4B1lpU.js → login-qr-JfRlpd7I.js} +6 -6
- package/dist/{login-qr-C2dv3VjF.js → login-qr-StQBwOgw.js} +10 -10
- package/dist/{logs-cli-CJAe1_dv.js → logs-cli-gv2Ql7GE.js} +9 -9
- package/dist/{manager-Cz8NNpPk.js → manager-B5htbo-7.js} +13 -13
- package/dist/{manager-DBgRFvYb.js → manager-XeZQ6ws7.js} +14 -14
- package/dist/{manager-runtime-Dl31cGh-.js → manager-runtime-BvGqzQIY.js} +9 -9
- package/dist/manager-runtime-CbCJ9KL0.js +18 -0
- package/dist/{manifest-registry-Cx3mB9zS.js → manifest-registry-BaUPjNKb.js} +1 -1
- package/dist/{memory-cli-Bhoc-n_1.js → memory-cli-BUJHSsW6.js} +12 -12
- package/dist/{model-DYzjrxpA.js → model-Jy6fO59G.js} +2 -2
- package/dist/{model-catalog-kpDOW8eY.js → model-catalog-BfoWgIDd.js} +3 -3
- package/dist/{model-picker-BZwK54QT.js → model-picker-CxmHVCE1.js} +4 -4
- package/dist/{model-selection-2Xl7Zx-s.js → model-selection-BfuTT3Ie.js} +43 -43
- package/dist/{model-selection-ZV3PuYVR.js → model-selection-QgM_TOjC.js} +16 -16
- package/dist/{models-cli-BIxlIOFr.js → models-cli-DlbNL6it.js} +81 -81
- package/dist/{models-config-BLdDYoxi.js → models-config-DOD5jluc.js} +6 -6
- package/dist/{node-cli-6uYJccbd.js → node-cli-uJ5lFzxj.js} +33 -33
- package/dist/{node-command-policy-CKTXVa3D.js → node-command-policy-CwVo8Z1X.js} +1 -1
- package/dist/{node-service-DGPVb5ri.js → node-service-xGYkt3vb.js} +1 -1
- package/dist/{nodes-cli-CXLRfAYx.js → nodes-cli-eauCMbSr.js} +16 -16
- package/dist/{nodes-screen-C-tuRhA1.js → nodes-screen-iR_FzGNs.js} +7 -7
- package/dist/{npm-pack-install-DgSn7djE.js → npm-pack-install-s-mP9K0z.js} +18 -18
- package/dist/{npm-resolution-gw3vFNTB.js → npm-resolution-Ck7yFIM2.js} +4 -4
- package/dist/{onboard-DLJ_9fJU.js → onboard-BVgRwIeK.js} +1 -1
- package/dist/{onboard-CCaYDSO2.js → onboard-Vq9LkQon.js} +6 -6
- package/dist/{onboard-channels-DQnP5d3Y.js → onboard-channels-CELkEQUS.js} +21 -21
- package/dist/{onboard-custom-CJohrPzT.js → onboard-custom-BmAzWYbD.js} +4 -4
- package/dist/{onboard-helpers-Bcs_1b81.js → onboard-helpers-DRk4Y5uA.js} +10 -10
- package/dist/{onboard-hooks-A23nqe_3.js → onboard-hooks-lk1sMnDf.js} +4 -4
- package/dist/{onboard-remote-Hf9sTDHl.js → onboard-remote-Bj9cR8kF.js} +4 -4
- package/dist/{onboard-skills-Cpc8o6sG.js → onboard-skills-eRpyQ1la.js} +4 -4
- package/dist/{onboarding-wx00blu5.js → onboarding-BW7AN6GP.js} +14 -14
- package/dist/{onboarding-YgRfODPk.js → onboarding-DO1ScRD8.js} +1 -1
- package/dist/{onboarding.finalize-B8wqvggG.js → onboarding.finalize-DyoNGKAv.js} +93 -85
- package/dist/{onboarding.finalize-DQcrecUs.js → onboarding.finalize-mpPeXAsn.js} +12 -4
- package/dist/{onboarding.gateway-config-CvWq5i_X.js → onboarding.gateway-config-BPyk6gwr.js} +18 -18
- package/dist/{onboarding.secret-input-CIN4p8mg.js → onboarding.secret-input-DlDt-I2O.js} +1 -1
- package/dist/{openai-model-default-BYfJa19m.js → openai-model-default-DnYP1Em1.js} +2 -2
- package/dist/{outbound-B3RZI-ai.js → outbound-BQtnr_z2.js} +3 -3
- package/dist/{outbound-CZO5ZCAG.js → outbound-Dp8B-7n3.js} +6 -6
- package/dist/{outbound-attachment-BBtJNyuW.js → outbound-attachment-BSZq7jTZ.js} +2 -2
- package/dist/{outbound-attachment-BATDqOuj.js → outbound-attachment-WnXMTJC4.js} +2 -2
- package/dist/{pairing-cli-FMIw0yL6.js → pairing-cli-BsU-YnVT.js} +8 -8
- package/dist/{pairing-labels-MH31IXn_.js → pairing-labels-BXfoinTP.js} +1 -1
- package/dist/{pairing-store-KII9MIZX.js → pairing-store-C1FvWpDK.js} +3 -3
- package/dist/{path-alias-guards-B7H6jIIw.js → path-alias-guards-CCRXJArp.js} +3 -3
- package/dist/{path-alias-guards-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/{path-safety-3wUzDqI9.js → path-safety-BWiXz6D4.js} +1 -1
- package/dist/{paths-BguvT84s.js → paths-Bg6h1q3v.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-DgpQEVa1.js → pi-embedded-CrAWjHKR.js} +162 -162
- package/dist/{pi-embedded-helpers-CkCvcpdc.js → pi-embedded-helpers-DM4KAgn-.js} +52 -52
- package/dist/{pi-embedded-helpers-D8WkqLZt.js → pi-embedded-helpers-DctimJJI.js} +6 -6
- package/dist/{pi-model-discovery-Bfyzj3Lq.js → pi-model-discovery-D63dINOn.js} +1 -1
- package/dist/{pi-model-discovery-CHdwOZiV.js → pi-model-discovery-DE0XZt9x.js} +7 -7
- package/dist/pi-model-discovery-runtime-B5s0PRpY.js +11 -0
- package/dist/{pi-model-discovery-runtime-nh-zh_Bp.js → pi-model-discovery-runtime-CcXGQcru.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-D4V6gUzq.js → pi-tools.before-tool-call.runtime-BMb_b90y.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-BlLvl0eL.js → pi-tools.before-tool-call.runtime-DfLoi4qR.js} +9 -9
- package/dist/{pi-tools.policy-DCE9mhtw.js → pi-tools.policy-CXvZtJB7.js} +5 -5
- package/dist/{plugin-auto-enable-BJw5Rcbx.js → plugin-auto-enable-DMABTEO-.js} +3 -3
- package/dist/{plugin-registry-V0H8DaZf.js → plugin-registry-BSlUIHKX.js} +3 -3
- package/dist/plugin-sdk/{accounts-BW7b9aIf.js → accounts-C9RGqL4T.js} +3 -3
- package/dist/plugin-sdk/{accounts-tAi-tfAf.js → accounts-CgiUq3Un.js} +2 -2
- package/dist/plugin-sdk/{accounts-De05T3_J.js → accounts-DcDj_weC.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CirjQdCm.js → active-listener-BlJ5RUzB.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CCoQ5SD_.js → api-key-rotation-Z-Qny376.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BgPpaXum.js → audio-preflight-DXuewfE7.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CO4tyQtQ.js → audio-transcription-runner-DSNzBBSH.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Xl20kCBe.js → audit-membership-runtime-DHQDvH4u.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-QlTyjswN.js → channel-activity-D1afTUj8.js} +3 -3
- package/dist/plugin-sdk/{channel-web-NzpRnn9f.js → channel-web-IPKOTqU3.js} +18 -18
- package/dist/plugin-sdk/{chrome-CVbDHFaE.js → chrome-B1q83rKv.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DSWbTWB2.js → commands-registry-DzySrtKG.js} +4 -4
- package/dist/plugin-sdk/{common-BpvaubXW.js → common-D8IL0ajZ.js} +2 -2
- package/dist/plugin-sdk/{config-DE6ibnmU.js → config-B5u_IldI.js} +7 -7
- package/dist/plugin-sdk/{deliver-86fU1nUC.js → deliver-S0Nnmc4b.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-tAQPm44B.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DeuyKcxA.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-D9NRm877.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DBepwGd9.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-CUWnNsmH.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-CRI0ptpU.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CypkchYB.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DwTd77di.js → diagnostic-CMOeaeBe.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/{errors-DfgAh2Ml.js → plugin-sdk/errors-9oVz7reJ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-dmZ4U9uQ.js → fetch-guard-C_jkJc0N.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DqCO1D4C.js → fs-safe-DFbwq9CS.js} +3 -3
- package/dist/plugin-sdk/{image-UG930mNm.js → image-C-YH4Uik.js} +6 -6
- package/dist/plugin-sdk/{image-ops-D9cweu_-.js → image-ops-57ipHrBF.js} +2 -2
- package/dist/plugin-sdk/image-runtime-BzP3HfiE.js +25 -0
- package/dist/plugin-sdk/{ir-pigw84ir.js → ir-CYDBM_JC.js} +7 -7
- package/dist/plugin-sdk/{local-roots-CIhD7Co-.js → local-roots-BfR7HxIa.js} +4 -4
- package/dist/plugin-sdk/{logger-DIb2cGHp.js → logger-Bg4vIUJn.js} +2 -2
- package/dist/plugin-sdk/{login-DN33Ry8p.js → login-BhBKfrcu.js} +4 -4
- package/dist/plugin-sdk/{login-qr-DXZPiiDq.js → login-qr-pZv8YA21.js} +5 -5
- package/dist/plugin-sdk/{manager-cBbgCrQ7.js → manager-CNL-O6jb.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-B87hYNyb.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-attachment-C4f-OcC0.js → outbound-attachment-rsxzcJYF.js} +2 -2
- package/dist/plugin-sdk/{outbound-ux3UTEA3.js → outbound-icMF_rUc.js} +5 -5
- package/dist/plugin-sdk/{path-alias-guards-TnxupPQC.js → path-alias-guards-DA0MhfkG.js} +1 -1
- package/dist/plugin-sdk/{paths-B7_75Pdr.js → paths-CP67O8eN.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CBAsAxOB.js → pi-embedded-helpers-8ieRSf-l.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-hrhgLkQy.js → pi-model-discovery-DSSANt82.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-C2t2kU5s.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-EL-r4x87.js → pi-tools.before-tool-call.runtime-ChLGyK0j.js} +4 -4
- package/dist/plugin-sdk/{plugins-NKOOkt_i.js → plugins-BLeJXdd2.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-DooJ7AbC.js → proxy-env-CtPm4saU.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Dt5BedH8.js → proxy-fetch-Cf3IUSDw.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-jALO1jBq.js → pw-ai-CtZSk4at.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Bei6TaFq.js → qmd-manager-Ov9ElEfG.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-POz2za8a.js → query-expansion-CzjwW461.js} +4 -4
- package/dist/plugin-sdk/{redact-9WsNyb7S.js → redact-DfACyt0X.js} +1 -1
- package/dist/plugin-sdk/{reply-sihF_R23.js → reply-Bl5GGHri.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-qXRaNZi8.js → resolve-outbound-target-D-0B2aK8.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-DmTrN5JG.js → run-with-concurrency-kVooFCVo.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6MdStWm.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DexVGpkn.js +19 -0
- package/dist/plugin-sdk/{send-jou-S7lc.js → send-BKQRdkHg.js} +5 -5
- package/dist/plugin-sdk/{send-aWQBb6ca.js → send-BkAfzZYd.js} +8 -8
- package/dist/plugin-sdk/{send-BMv-WOpW.js → send-C7C3x6hg.js} +7 -7
- package/dist/plugin-sdk/{send-Cm6HGK-a.js → send-CGlHhdoZ.js} +6 -6
- package/dist/plugin-sdk/{send-DZB0Hlej.js → send-YldTY40c.js} +13 -13
- package/dist/plugin-sdk/{session-C98G_V4e.js → session-uS6b35hg.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-_K2_qYb4.js → skill-commands-c9HTevk5.js} +4 -4
- package/dist/plugin-sdk/{skills-D58hSyfJ.js → skills-OK3LublS.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-JFUaFK3N.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BP81ZOIp.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-KVmn_84j.js +16 -0
- package/dist/plugin-sdk/{store-CHxyy2Nq.js → store-BkxOV4wy.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-DZHhsl5N.js +52 -0
- package/dist/plugin-sdk/{tables-D2Q-dmPT.js → tables-8_ELoE8R.js} +1 -1
- package/dist/plugin-sdk/{thinking-0lRH3Rcl.js → thinking-TLm688bb.js} +7 -7
- package/dist/{tokens-D2XhLqIz.js → plugin-sdk/tokens-DAL_5WHL.js} +1 -1
- package/dist/plugin-sdk/{tool-images-K2kMTUHK.js → tool-images-CbObuT48.js} +2 -2
- package/dist/plugin-sdk/web-DIhuSOD-.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-DnEN6SNn.js → whatsapp-actions-DVZ223y_.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins--Y8ggxrk.js → plugins-Db8j13y8.js} +11 -11
- package/dist/{plugins-Cl_3OCyK.js → plugins-H53_4Gxb.js} +2 -2
- package/dist/{plugins-cli-CN2fty5U.js → plugins-cli-CQkxWdnt.js} +82 -82
- package/dist/{ports-Bop51hz6.js → ports-CKXuQJST.js} +2 -2
- package/dist/{ports-6i8smH3e.js → ports-CXjhFS7T.js} +1 -1
- package/dist/{program-BpSOl_1X.js → program-BJO_oaKF.js} +2 -2
- package/dist/{program-context-ehHvCw9L.js → program-context-CWsWlM9-.js} +41 -41
- package/dist/{prompt-select-styled-CSMviLJY.js → prompt-select-styled-CnWGIwST.js} +40 -40
- package/dist/{prompt-select-styled-CqnrivgC.js → prompt-select-styled-R6Iau0zv.js} +1 -1
- package/dist/{provider-auth-helpers-CgNWlsqs.js → provider-auth-helpers-BqWiy-r-.js} +5 -5
- package/dist/{proxy-env-CRD7fbqp.js → proxy-env-D1tz4Z6a.js} +1 -1
- package/dist/{proxy-env-BAlmOqn_.js → proxy-env-bjBQWAZU.js} +1 -1
- package/dist/{proxy-fetch-C2v-Utgg.js → proxy-fetch-lH6RsRTE.js} +1 -1
- package/dist/{push-apns-DoYzx3tH.js → push-apns-C-YdARdy.js} +5 -5
- package/dist/{pw-ai-Ci7uZGTd.js → pw-ai-BMx3rnIH.js} +14 -14
- package/dist/{pw-ai-yKJj32B4.js → pw-ai-SVeR5d2o.js} +18 -18
- package/dist/{qmd-manager-AYDUTXmc.js → qmd-manager-B-XXhWVw.js} +20 -20
- package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
- package/dist/{qr-cli-cikAHfYn.js → qr-cli-B4fjHvn1.js} +2 -2
- package/dist/{query-expansion-CV2Z4_mS.js → query-expansion-Bf60ekMj.js} +12 -12
- package/dist/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
- package/dist/{redact-NmPEVjIo.js → redact-DvzicBMu.js} +1 -1
- package/dist/{redact-snapshot-C9T1079O.js → redact-snapshot-DRqM8Vla.js} +1 -1
- package/dist/{register.agent-BlxoyQt0.js → register.agent-BdiM0qkl.js} +97 -97
- package/dist/register.configure-wANXDbzQ.js +164 -0
- package/dist/{register.maintenance-BUWUvg1o.js → register.maintenance-C0WLFNcv.js} +5 -5
- package/dist/{register.maintenance-C-Yv2mHK.js → register.maintenance-c4CZQhHy.js} +93 -93
- package/dist/{register.message-CUNXtFOj.js → register.message-CbxQ5lgi.js} +73 -73
- package/dist/{register.onboard-BKXm1mL7.js → register.onboard-B8LXDCnA.js} +18 -18
- package/dist/{register.onboard-1KrFhKgA.js → register.onboard-C8-hGp4-.js} +2 -2
- package/dist/{register.setup-DaT9AIAz.js → register.setup-Bw1pnWbM.js} +21 -21
- package/dist/{register.setup-Ct7W5KHu.js → register.setup-DiUpJRvj.js} +2 -2
- package/dist/{register.status-health-sessions-7yZmSvUL.js → register.status-health-sessions-Bw5YDa_s.js} +86 -86
- package/dist/{register.subclis-Z1fJCSxh.js → register.subclis-BbFUfhdj.js} +3 -3
- package/dist/{reply-CeUYZhWu.js → reply-BWXzPVSJ.js} +149 -149
- package/dist/{rpc-BDpuIniF.js → rpc-DlN_W_L1.js} +1 -1
- package/dist/{run-main-DDsH3MYf.js → run-main-Exefhxet.js} +3 -3
- package/dist/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
- package/dist/{runtime-Dw7Yw4OJ.js → runtime-Ci7mtLvH.js} +3 -3
- package/dist/{runtime-config-collectors-jhc1wDBg.js → runtime-config-collectors-CKmGmTQ5.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-f293Z_er.js → runtime-whatsapp-login.runtime-Bxqt5jiO.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-DTnWO4dr.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-B-UsXwvb.js +32 -0
- package/dist/runtime-whatsapp-outbound.runtime-XzfTCc36.js +22 -0
- package/dist/{sandbox-BgsD1lf7.js → sandbox-Cuk1IWYT.js} +18 -18
- package/dist/{sandbox-cli-BnvmhiN9.js → sandbox-cli-BxgFeoAD.js} +25 -25
- package/dist/{secrets-cli-D7-K7P82.js → secrets-cli-DODLX29x.js} +11 -11
- package/dist/{security-cli-BFJAgNYH.js → security-cli-Ch83VrLP.js} +42 -42
- package/dist/{send-BYlxWwez.js → send-0EU-Y3Gn.js} +5 -5
- package/dist/{send-Jg_3nT2E.js → send-B92swUj4.js} +26 -26
- package/dist/{send-BvlkshC1.js → send-BfVgGHK6.js} +6 -6
- package/dist/{send-tK0H9nwq.js → send-Bw8LNCit.js} +5 -5
- package/dist/{send-Je58aHGD.js → send-By-oi8SV.js} +6 -6
- package/dist/{send-CqgPl09X.js → send-C2v8GsVK.js} +7 -7
- package/dist/{send-CDms2FQA.js → send-C9UJKBSM.js} +4 -4
- package/dist/{send-D2tGdo2t.js → send-CKtUdJpX.js} +8 -8
- package/dist/{send-CPFNtAP8.js → send-DX_fR45p.js} +11 -11
- package/dist/{send-C3Aeswif.js → send-FTQaNJPj.js} +8 -8
- package/dist/{server-OfKJG6Bo.js → server-Q9nnn04D.js} +20 -20
- package/dist/{server-context-B-0KzcZE.js → server-context-CX28l04l.js} +12 -12
- package/dist/{server-lifecycle-D6VNKVvQ.js → server-lifecycle-yAUMTJhv.js} +2 -2
- package/dist/{server-middleware-7cXowO4W.js → server-middleware-DIc4WJOS.js} +1 -1
- package/dist/{server-node-events-DWQhNK-0.js → server-node-events-qU3NTncQ.js} +73 -73
- package/dist/{service-Dk-UMipf.js → service-D4y0_Q5Z.js} +15 -15
- package/dist/{session-DC1-0Js7.js → session-CZ24KNcj.js} +8 -8
- package/dist/{session-Da18ilJ0.js → session-CZJ5Ux6-.js} +1 -1
- package/dist/{sessions-CmjcNTJ3.js → sessions-C5H_BZSr.js} +15 -15
- package/dist/{shared-BzY0v0tS.js → shared-CxdBWgym.js} +3 -3
- package/dist/{shared-BcB-feC8.js → shared-DwNtcoQg.js} +1 -1
- package/dist/{skill-commands-BaKuTMGP.js → skill-commands-BRoRvs2q.js} +9 -9
- package/dist/{skill-commands-BEWkEml_.js → skill-commands-BSRPnzXp.js} +5 -5
- package/dist/{skill-scanner-Bb5SMbCz.js → skill-scanner-rdr9cQew.js} +6 -6
- package/dist/{skills-Rnr7zPen.js → skills-BnBOxX1c.js} +3 -3
- package/dist/{skills-BeJSK5PY.js → skills-OLKf_9cW.js} +22 -22
- package/dist/{skills-cli-BowIIIzH.js → skills-cli-CUgeYV1y.js} +5 -5
- package/dist/{skills-install-BLNCKuex.js → skills-install-BE04CZ6e.js} +6 -6
- package/dist/{skills-status-BCU-5otB.js → skills-status-DQw98BkG.js} +1 -1
- package/dist/{slash-commands.runtime-BgVgQ-Eh.js → slash-commands.runtime-BPtL2Qev.js} +11 -11
- package/dist/slash-commands.runtime-jY_-vStu.js +16 -0
- package/dist/slash-dispatch.runtime-BxaEpG30.js +56 -0
- package/dist/slash-dispatch.runtime-Cf9dq1k6.js +113 -0
- package/dist/{slash-skill-commands.runtime-4dOiU6U0.js → slash-skill-commands.runtime-9BYoANpd.js} +15 -15
- package/dist/slash-skill-commands.runtime-B6vRGL-p.js +20 -0
- package/dist/{squidclaw-root-BcB7vo9M.js → squidclaw-root-CnE19yKj.js} +8 -8
- package/dist/{status-COTRBaam.js → status-rb5Jz-VU.js} +26 -26
- package/dist/{status.update-BUql4yz-.js → status.update-BNODJGA9.js} +2 -2
- package/dist/{store-Ky_egzlA.js → store-Mz6VjFuy.js} +2 -2
- package/dist/{store-aa15VM42.js → store-PDMRmC5Z.js} +5 -5
- package/dist/subagent-registry-runtime-BNE1FIwQ.js +56 -0
- package/dist/subagent-registry-runtime-CTiA365B.js +113 -0
- package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
- package/dist/{system-cli-CgCUbH_M.js → system-cli-DJYyTO07.js} +9 -9
- package/dist/{system-run-command-Ny1SbbOD.js → system-run-command-BgnCyvrj.js} +1 -1
- package/dist/{systemd-zbKl2Q3E.js → systemd-fP8tz4aL.js} +9 -9
- package/dist/{systemd-hints-C9_7ouv7.js → systemd-hints-BG_t__ZD.js} +6 -6
- package/dist/{systemd-linger-BM6JyzAr.js → systemd-linger-DgK8uuKY.js} +1 -1
- package/dist/{tables-BlsVH8H4.js → tables-0InE37AN.js} +1 -1
- package/dist/{tables-jZMI8hLl.js → tables-DUSFF9-W.js} +1 -1
- package/dist/{tailnet-gTCqUBfJ.js → tailnet-CLkKVwDq.js} +1 -1
- package/dist/{target-errors-CiNyvgLy.js → target-errors-B37sVq3w.js} +2 -2
- package/dist/{target-errors-DlzVutaL.js → target-errors-BxwxgIDk.js} +4 -4
- package/dist/{thinking-D9F_aLRB.js → thinking-D4AaB24F.js} +7 -7
- package/dist/{plugin-sdk/tokens-CLE20fRI.js → tokens-DfbMVF9y.js} +1 -1
- package/dist/{tool-images-C2WK6W0J.js → tool-images-Dpl5RgN7.js} +2 -2
- package/dist/{tool-images-DTl_LHMa.js → tool-images-FhSCiY-o.js} +1 -1
- package/dist/{tui-kDK-MAOc.js → tui-BMOMT-ma.js} +6 -6
- package/dist/{tui-cli-Dxy6fKkU.js → tui-cli-kqZ_-2Mz.js} +32 -32
- package/dist/{update-ZUTn6Jsu.js → update-blK9j2ag.js} +3 -3
- package/dist/{update-cli-D_QEiKyz.js → update-cli-CeMQxSs2.js} +102 -102
- package/dist/{update-cli-Fe17E_Xm.js → update-cli-esFXuN7Z.js} +5 -5
- package/dist/{update-runner-DOXPSA_-.js → update-runner-C2UrF4oZ.js} +16 -16
- package/dist/web-VmjeceHS.js +117 -0
- package/dist/{web-D4FdtS8P.js → web-gFh8coIz.js} +55 -55
- package/dist/{webhooks-cli-D1iehjkP.js → webhooks-cli-BEXPBILa.js} +6 -6
- package/dist/{whatsapp-actions-aF5qDSh_.js → whatsapp-actions-B-LXYZ6Z.js} +21 -21
- package/dist/{whatsapp-actions-hN5bwjWU.js → whatsapp-actions-DhiV181U.js} +17 -17
- package/dist/{with-timeout-BjaANd4G.js → with-timeout-BCAfkt03.js} +3 -3
- package/dist/{workspace-BITWyKG4.js → workspace-B-k5DNiQ.js} +1 -1
- package/dist/{workspace-dirs-B7O9BAHp.js → workspace-dirs-B2dNahfe.js} +1 -1
- package/dist/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
- package/dist/{ws-Bx8lpC1N.js → ws-DKt5HoA5.js} +2 -2
- package/dist/{wsl-wYxPJ8EO.js → wsl-CgxzAzRe.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-BSg7XU_9.js +0 -36
- package/dist/deliver-runtime-uwleBPlq.js +0 -61
- package/dist/deps-send-discord.runtime-CuZGpA7H.js +0 -36
- package/dist/deps-send-discord.runtime-DpEvkdzn.js +0 -26
- package/dist/deps-send-imessage.runtime-ByVW2alP.js +0 -35
- package/dist/deps-send-imessage.runtime-etYmfsQ1.js +0 -25
- package/dist/deps-send-signal.runtime-4HiuvLY4.js +0 -24
- package/dist/deps-send-signal.runtime-Dl4GaCbQ.js +0 -34
- package/dist/deps-send-slack.runtime-BEV10FHj.js +0 -32
- package/dist/deps-send-slack.runtime-Y5M5BNt7.js +0 -22
- package/dist/deps-send-telegram.runtime-CQ6XgUqx.js +0 -27
- package/dist/deps-send-whatsapp.runtime-B1XdeiW1.js +0 -60
- package/dist/deps-send-whatsapp.runtime-Di0SEPNK.js +0 -118
- package/dist/image-runtime-3Z60UCGO.js +0 -29
- package/dist/image-runtime-B5Q4J9w2.js +0 -55
- package/dist/manager-runtime-By-gmgqz.js +0 -18
- package/dist/pi-model-discovery-runtime-DiznhLrZ.js +0 -11
- package/dist/plugin-sdk/deliver-runtime-BJHbLq-S.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-CDRnV2G9.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-B6kLsqc2.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BSQh0bHr.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BFom-0ng.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-CpTtZ6JM.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-C0XcOgX1.js +0 -57
- package/dist/plugin-sdk/image-runtime-Bu3DSIBB.js +0 -25
- package/dist/plugin-sdk/manager-runtime-Dbz_bpiL.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-SPHihgeR.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DMNRnMAJ.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-w9rCES1O.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-CyZybvM0.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DGI2ovR2.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-Cb1PFrG4.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-TxOQ-aoU.js +0 -52
- package/dist/plugin-sdk/web-wfXoGaeS.js +0 -56
- package/dist/register.configure-CGptmTVZ.js +0 -164
- package/dist/runtime-whatsapp-login.runtime-nLoztrHq.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-ipj7KEHf.js +0 -22
- package/dist/runtime-whatsapp-outbound.runtime-uDhEmWe1.js +0 -32
- package/dist/slash-commands.runtime-SPLrdY5U.js +0 -16
- package/dist/slash-dispatch.runtime-BXF9mgkV.js +0 -56
- package/dist/slash-dispatch.runtime-D83FVeU7.js +0 -113
- package/dist/slash-skill-commands.runtime-DbWF-siU.js +0 -20
- package/dist/subagent-registry-runtime-CqsLRf4P.js +0 -56
- package/dist/subagent-registry-runtime-CrT5RSO9.js +0 -113
- package/dist/web-DtSq_aUB.js +0 -117
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-
|
|
3
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-
|
|
5
|
-
import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
6
|
-
import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-
|
|
7
|
-
import { c as parseBooleanValue } from "./legacy-names-
|
|
8
|
-
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-
|
|
9
|
-
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins
|
|
1
|
+
import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-DA5srn0U.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-kVMIaBrV.js";
|
|
5
|
+
import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
6
|
+
import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-BfuTT3Ie.js";
|
|
7
|
+
import { c as parseBooleanValue } from "./legacy-names-aGJJuzM_.js";
|
|
8
|
+
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-D4AaB24F.js";
|
|
9
|
+
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-Db8j13y8.js";
|
|
10
10
|
import { t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
|
|
11
|
-
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
12
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
13
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
14
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
15
|
-
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-
|
|
16
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
17
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
11
|
+
import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BSjD6uEb.js";
|
|
12
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_SQUIDCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_SQUIDCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveSquidClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchSquidClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopSquidClawChrome, p as snapshotAria, q as DEFAULT_SQUIDCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-53mklS3F.js";
|
|
13
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-OLKf_9cW.js";
|
|
14
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DORgbZ1w.js";
|
|
15
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-kkRuS2Cs.js";
|
|
16
|
+
import { n as SsrFBlockedError } from "./proxy-env-bjBQWAZU.js";
|
|
17
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-Mz6VjFuy.js";
|
|
18
18
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-B89VigUN.js";
|
|
19
19
|
import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
|
|
20
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
20
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DSd911Oe.js";
|
|
21
21
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
22
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
22
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-Dpl5RgN7.js";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
import os from "node:os";
|
|
25
25
|
import path, { posix } from "node:path";
|
|
26
|
-
import
|
|
26
|
+
import syncFs, { existsSync } from "node:fs";
|
|
27
27
|
import { spawn } from "node:child_process";
|
|
28
28
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
29
29
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
@@ -1278,7 +1278,7 @@ function isModuleNotFoundError(err) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
async function loadPwAiModule(mode) {
|
|
1280
1280
|
try {
|
|
1281
|
-
return await import("./pw-ai-
|
|
1281
|
+
return await import("./pw-ai-BMx3rnIH.js");
|
|
1282
1282
|
} catch (err) {
|
|
1283
1283
|
if (mode === "soft") return null;
|
|
1284
1284
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3055,11 +3055,11 @@ async function movePathToTrash(targetPath) {
|
|
|
3055
3055
|
return targetPath;
|
|
3056
3056
|
} catch {
|
|
3057
3057
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
3058
|
-
|
|
3058
|
+
syncFs.mkdirSync(trashDir, { recursive: true });
|
|
3059
3059
|
const base = path.basename(targetPath);
|
|
3060
3060
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
3061
|
-
if (
|
|
3062
|
-
|
|
3061
|
+
if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
3062
|
+
syncFs.renameSync(targetPath, dest);
|
|
3063
3063
|
return dest;
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
@@ -3146,7 +3146,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3146
3146
|
} catch {}
|
|
3147
3147
|
const userDataDir = resolveSquidClawUserDataDir(name);
|
|
3148
3148
|
const profileDir = path.dirname(userDataDir);
|
|
3149
|
-
if (
|
|
3149
|
+
if (syncFs.existsSync(profileDir)) {
|
|
3150
3150
|
await movePathToTrash(profileDir);
|
|
3151
3151
|
deleted = true;
|
|
3152
3152
|
}
|
|
@@ -3644,7 +3644,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3644
3644
|
//#region src/browser/server-context.reset.ts
|
|
3645
3645
|
async function closePlaywrightBrowserConnection() {
|
|
3646
3646
|
try {
|
|
3647
|
-
await (await import("./pw-ai-
|
|
3647
|
+
await (await import("./pw-ai-BMx3rnIH.js")).closePlaywrightBrowserConnection();
|
|
3648
3648
|
} catch {}
|
|
3649
3649
|
}
|
|
3650
3650
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveSquidClawUserDataDir }) {
|
|
@@ -3662,7 +3662,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
|
|
|
3662
3662
|
if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
|
|
3663
3663
|
if (profileState.running) await stopRunningBrowser();
|
|
3664
3664
|
await closePlaywrightBrowserConnection();
|
|
3665
|
-
if (!
|
|
3665
|
+
if (!syncFs.existsSync(userDataDir)) return {
|
|
3666
3666
|
moved: false,
|
|
3667
3667
|
from: userDataDir
|
|
3668
3668
|
};
|
|
@@ -4410,7 +4410,7 @@ function releaseAllLocksSync() {
|
|
|
4410
4410
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
4411
4411
|
} catch {}
|
|
4412
4412
|
try {
|
|
4413
|
-
|
|
4413
|
+
syncFs.rmSync(held.lockPath, { force: true });
|
|
4414
4414
|
} catch {}
|
|
4415
4415
|
HELD_LOCKS.delete(sessionFile);
|
|
4416
4416
|
}
|
|
@@ -6008,7 +6008,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6008
6008
|
if (guarded.reason !== "path") {
|
|
6009
6009
|
if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
|
|
6010
6010
|
}
|
|
6011
|
-
} else
|
|
6011
|
+
} else syncFs.closeSync(guarded.fd);
|
|
6012
6012
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
6013
6013
|
containerPath: target.containerPath,
|
|
6014
6014
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -6019,7 +6019,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
6019
6019
|
}
|
|
6020
6020
|
pathIsExistingDirectory(hostPath) {
|
|
6021
6021
|
try {
|
|
6022
|
-
return
|
|
6022
|
+
return syncFs.statSync(hostPath).isDirectory();
|
|
6023
6023
|
} catch {
|
|
6024
6024
|
return false;
|
|
6025
6025
|
}
|
|
@@ -6820,14 +6820,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
6820
6820
|
function canonicalizePathForComparison$1(filePath) {
|
|
6821
6821
|
const resolved = path.resolve(filePath);
|
|
6822
6822
|
try {
|
|
6823
|
-
return
|
|
6823
|
+
return syncFs.realpathSync(resolved);
|
|
6824
6824
|
} catch {
|
|
6825
6825
|
return resolved;
|
|
6826
6826
|
}
|
|
6827
6827
|
}
|
|
6828
6828
|
function archiveFileOnDisk(filePath, reason) {
|
|
6829
6829
|
const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
|
|
6830
|
-
|
|
6830
|
+
syncFs.renameSync(filePath, archived);
|
|
6831
6831
|
return archived;
|
|
6832
6832
|
}
|
|
6833
6833
|
/**
|
|
@@ -6843,7 +6843,7 @@ function archiveSessionTranscripts(opts) {
|
|
|
6843
6843
|
const relative = path.relative(storeDir, candidatePath);
|
|
6844
6844
|
if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
|
|
6845
6845
|
}
|
|
6846
|
-
if (!
|
|
6846
|
+
if (!syncFs.existsSync(candidatePath)) continue;
|
|
6847
6847
|
try {
|
|
6848
6848
|
archived.push(archiveFileOnDisk(candidatePath, opts.reason));
|
|
6849
6849
|
} catch {}
|
|
@@ -6861,15 +6861,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
6861
6861
|
let removed = 0;
|
|
6862
6862
|
let scanned = 0;
|
|
6863
6863
|
for (const dir of directories) {
|
|
6864
|
-
const entries = await
|
|
6864
|
+
const entries = await syncFs.promises.readdir(dir).catch(() => []);
|
|
6865
6865
|
for (const entry of entries) {
|
|
6866
6866
|
const timestamp = parseSessionArchiveTimestamp(entry, reason);
|
|
6867
6867
|
if (timestamp == null) continue;
|
|
6868
6868
|
scanned += 1;
|
|
6869
6869
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
6870
6870
|
const fullPath = path.join(dir, entry);
|
|
6871
|
-
if (!(await
|
|
6872
|
-
await
|
|
6871
|
+
if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
6872
|
+
await syncFs.promises.rm(fullPath).catch(() => void 0);
|
|
6873
6873
|
removed += 1;
|
|
6874
6874
|
}
|
|
6875
6875
|
}
|
|
@@ -6999,7 +6999,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
6999
6999
|
}
|
|
7000
7000
|
function getFileStatSnapshot(filePath) {
|
|
7001
7001
|
try {
|
|
7002
|
-
const stats =
|
|
7002
|
+
const stats = syncFs.statSync(filePath);
|
|
7003
7003
|
return {
|
|
7004
7004
|
mtimeMs: stats.mtimeMs,
|
|
7005
7005
|
sizeBytes: stats.size
|
|
@@ -7018,7 +7018,7 @@ const NOOP_LOGGER = {
|
|
|
7018
7018
|
function canonicalizePathForComparison(filePath) {
|
|
7019
7019
|
const resolved = path.resolve(filePath);
|
|
7020
7020
|
try {
|
|
7021
|
-
return
|
|
7021
|
+
return syncFs.realpathSync(resolved);
|
|
7022
7022
|
} catch {
|
|
7023
7023
|
return resolved;
|
|
7024
7024
|
}
|
|
@@ -7076,12 +7076,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
|
|
|
7076
7076
|
return referenced;
|
|
7077
7077
|
}
|
|
7078
7078
|
async function readSessionsDirFiles(sessionsDir) {
|
|
7079
|
-
const dirEntries = await
|
|
7079
|
+
const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
7080
7080
|
const files = [];
|
|
7081
7081
|
for (const dirent of dirEntries) {
|
|
7082
7082
|
if (!dirent.isFile()) continue;
|
|
7083
7083
|
const filePath = path.join(sessionsDir, dirent.name);
|
|
7084
|
-
const stat = await
|
|
7084
|
+
const stat = await syncFs.promises.stat(filePath).catch(() => null);
|
|
7085
7085
|
if (!stat?.isFile()) continue;
|
|
7086
7086
|
files.push({
|
|
7087
7087
|
path: filePath,
|
|
@@ -7094,9 +7094,9 @@ async function readSessionsDirFiles(sessionsDir) {
|
|
|
7094
7094
|
return files;
|
|
7095
7095
|
}
|
|
7096
7096
|
async function removeFileIfExists(filePath) {
|
|
7097
|
-
const stat = await
|
|
7097
|
+
const stat = await syncFs.promises.stat(filePath).catch(() => null);
|
|
7098
7098
|
if (!stat?.isFile()) return 0;
|
|
7099
|
-
await
|
|
7099
|
+
await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
|
|
7100
7100
|
return stat.size;
|
|
7101
7101
|
}
|
|
7102
7102
|
async function removeFileForBudget(params) {
|
|
@@ -7455,7 +7455,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
7455
7455
|
}
|
|
7456
7456
|
async function getSessionFileSize(storePath) {
|
|
7457
7457
|
try {
|
|
7458
|
-
return (await
|
|
7458
|
+
return (await syncFs.promises.stat(storePath)).size;
|
|
7459
7459
|
} catch {
|
|
7460
7460
|
return null;
|
|
7461
7461
|
}
|
|
@@ -7472,7 +7472,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7472
7472
|
if (fileSize <= maxBytes) return false;
|
|
7473
7473
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
7474
7474
|
try {
|
|
7475
|
-
await
|
|
7475
|
+
await syncFs.promises.rename(storePath, backupPath);
|
|
7476
7476
|
log$2.info("rotated session store file", {
|
|
7477
7477
|
backupPath: path.basename(backupPath),
|
|
7478
7478
|
sizeBytes: fileSize
|
|
@@ -7483,11 +7483,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
7483
7483
|
try {
|
|
7484
7484
|
const dir = path.dirname(storePath);
|
|
7485
7485
|
const baseName = path.basename(storePath);
|
|
7486
|
-
const backups = (await
|
|
7486
|
+
const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
7487
7487
|
const maxBackups = 3;
|
|
7488
7488
|
if (backups.length > maxBackups) {
|
|
7489
7489
|
const toDelete = backups.slice(maxBackups);
|
|
7490
|
-
for (const old of toDelete) await
|
|
7490
|
+
for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
7491
7491
|
log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
7492
7492
|
}
|
|
7493
7493
|
} catch {}
|
|
@@ -7610,7 +7610,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
7610
7610
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
7611
7611
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
7612
7612
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
7613
|
-
const raw =
|
|
7613
|
+
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
7614
7614
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
7615
7615
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
7616
7616
|
continue;
|
|
@@ -7764,7 +7764,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
7764
7764
|
});
|
|
7765
7765
|
}
|
|
7766
7766
|
}
|
|
7767
|
-
await
|
|
7767
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
7768
7768
|
const json = JSON.stringify(store, null, 2);
|
|
7769
7769
|
if (getSerializedSessionStore(storePath) === json) {
|
|
7770
7770
|
updateSessionStoreWriteCaches({
|
|
@@ -8101,8 +8101,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
8101
8101
|
return trimmed ? trimmed : null;
|
|
8102
8102
|
}
|
|
8103
8103
|
async function ensureSessionHeader(params) {
|
|
8104
|
-
if (
|
|
8105
|
-
await
|
|
8104
|
+
if (syncFs.existsSync(params.sessionFile)) return;
|
|
8105
|
+
await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
8106
8106
|
const header = {
|
|
8107
8107
|
type: "session",
|
|
8108
8108
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -8110,7 +8110,7 @@ async function ensureSessionHeader(params) {
|
|
|
8110
8110
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
8111
8111
|
cwd: process.cwd()
|
|
8112
8112
|
};
|
|
8113
|
-
await
|
|
8113
|
+
await syncFs.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
8114
8114
|
encoding: "utf-8",
|
|
8115
8115
|
mode: 384
|
|
8116
8116
|
});
|
|
@@ -8345,13 +8345,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
8345
8345
|
});
|
|
8346
8346
|
if (!opened.ok) continue;
|
|
8347
8347
|
try {
|
|
8348
|
-
const content =
|
|
8348
|
+
const content = syncFs.readFileSync(opened.fd, "utf-8");
|
|
8349
8349
|
await fs.writeFile(dest, content, {
|
|
8350
8350
|
encoding: "utf-8",
|
|
8351
8351
|
flag: "wx"
|
|
8352
8352
|
});
|
|
8353
8353
|
} finally {
|
|
8354
|
-
|
|
8354
|
+
syncFs.closeSync(opened.fd);
|
|
8355
8355
|
}
|
|
8356
8356
|
} catch {}
|
|
8357
8357
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { E as truncateUtf16Safe } from "./utils-DMGXr25O.js";
|
|
2
2
|
import { s as normalizeThinkLevel } from "./thinking-44rmAw5o.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
4
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
5
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
4
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-Cuk1IWYT.js";
|
|
5
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-FhSCiY-o.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -108,10 +108,10 @@ function clampToBudget(content, budget) {
|
|
|
108
108
|
async function ensureSessionHeader(params) {
|
|
109
109
|
const file = params.sessionFile;
|
|
110
110
|
try {
|
|
111
|
-
await
|
|
111
|
+
await fs.stat(file);
|
|
112
112
|
return;
|
|
113
113
|
} catch {}
|
|
114
|
-
await
|
|
114
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
115
115
|
const entry = {
|
|
116
116
|
type: "session",
|
|
117
117
|
version: 2,
|
|
@@ -119,7 +119,7 @@ async function ensureSessionHeader(params) {
|
|
|
119
119
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
120
120
|
cwd: params.cwd
|
|
121
121
|
};
|
|
122
|
-
await
|
|
122
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
123
123
|
}
|
|
124
124
|
function buildBootstrapContextFiles(files, opts) {
|
|
125
125
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as normalizeProviderId, vi as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { d as normalizeProviderId, vi as ensureAuthProfileStore } from "./model-selection-QgM_TOjC.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-BfuTT3Ie.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.SQUIDCLAW_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
syncFs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
syncFs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -0,0 +1,11 @@
|
|
|
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-BfuTT3Ie.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DE0XZt9x.js";
|
|
10
|
+
|
|
11
|
+
export { discoverAuthStorage, discoverModels };
|
package/dist/{pi-model-discovery-runtime-nh-zh_Bp.js → pi-model-discovery-runtime-CcXGQcru.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "./paths-mdt1HFK2.js";
|
|
2
2
|
import "./globals-xfUIfxbE.js";
|
|
3
3
|
import "./utils-DMGXr25O.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-C1XMay0T.js";
|
|
5
5
|
import "./subsystem-DC87CPVS.js";
|
|
6
|
-
import "./squidclaw-root-
|
|
6
|
+
import "./squidclaw-root-CnE19yKj.js";
|
|
7
7
|
import "./logger-DEmOJ9C3.js";
|
|
8
8
|
import "./exec-Dfgi8amS.js";
|
|
9
|
-
import "./model-selection-
|
|
9
|
+
import "./model-selection-QgM_TOjC.js";
|
|
10
10
|
import "./registry-CpzNS8-a.js";
|
|
11
11
|
import "./github-copilot-token-Xh3EqlDM.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-DeB9SeAQ.js";
|
|
14
14
|
import "./host-env-security-DkAVVuaw.js";
|
|
15
15
|
import "./env-vars-DpyLwTjM.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
16
|
+
import "./manifest-registry-BaUPjNKb.js";
|
|
17
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-D63dINOn.js";
|
|
18
18
|
|
|
19
19
|
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "./paths-mdt1HFK2.js";
|
|
2
2
|
import "./globals-xfUIfxbE.js";
|
|
3
3
|
import { D as isPlainObject } from "./utils-DMGXr25O.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-C1XMay0T.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
6
|
-
import "./squidclaw-root-
|
|
6
|
+
import "./squidclaw-root-CnE19yKj.js";
|
|
7
7
|
import "./logger-DEmOJ9C3.js";
|
|
8
8
|
import "./exec-Dfgi8amS.js";
|
|
9
|
-
import "./model-selection-
|
|
9
|
+
import "./model-selection-QgM_TOjC.js";
|
|
10
10
|
import "./registry-CpzNS8-a.js";
|
|
11
11
|
import "./github-copilot-token-Xh3EqlDM.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-DeB9SeAQ.js";
|
|
14
14
|
import "./host-env-security-DkAVVuaw.js";
|
|
15
15
|
import "./env-vars-DpyLwTjM.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
16
|
+
import "./manifest-registry-BaUPjNKb.js";
|
|
17
|
+
import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-CNl71AzW.js";
|
|
18
18
|
import { createHash } from "node:crypto";
|
|
19
19
|
|
|
20
20
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { D as isPlainObject } from "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import { D as isPlainObject } from "./logger-CnTSBL7T.js";
|
|
6
|
+
import "./model-selection-BfuTT3Ie.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-C2LLQE3X.js";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { i as resolveAgentConfig } from "./agent-scope-C1XMay0T.js";
|
|
2
2
|
import { D as resolveThreadParentSessionKey, c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-CIXZm7v4.js";
|
|
3
|
-
import { ti as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-
|
|
4
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
3
|
+
import { ti as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-QgM_TOjC.js";
|
|
4
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-C7N1CmcP.js";
|
|
5
5
|
import { l as normalizeMessageChannel } from "./message-channel-CSxZnhaV.js";
|
|
6
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
7
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
6
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-Cuk1IWYT.js";
|
|
7
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-C1FvWpDK.js";
|
|
8
8
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-CsQJtEUH.js";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/command-gating.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { d as isRecord, t as CONFIG_DIR, y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
2
|
-
import { d as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { d as normalizeProviderId } from "./model-selection-QgM_TOjC.js";
|
|
3
3
|
import { a as getChatChannelMeta, l as normalizeChatChannelId, o as listChatChannels } from "./registry-CpzNS8-a.js";
|
|
4
4
|
import { n as MANIFEST_KEY } from "./legacy-names-GnACgvLd.js";
|
|
5
|
-
import { n as loadPluginManifestRegistry, r as discoverSquidClawPlugins } from "./manifest-registry-
|
|
6
|
-
import { t as hasAnyWhatsAppAuth } from "./accounts-
|
|
5
|
+
import { n as loadPluginManifestRegistry, r as discoverSquidClawPlugins } from "./manifest-registry-BaUPjNKb.js";
|
|
6
|
+
import { t as hasAnyWhatsAppAuth } from "./accounts-D095MOmG.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ft as loadSquidClawPlugins } from "./reply-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { ft as loadSquidClawPlugins } from "./reply-BWXzPVSJ.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C1XMay0T.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
5
|
-
import { $t as loadConfig } from "./model-selection-
|
|
5
|
+
import { $t as loadConfig } from "./model-selection-QgM_TOjC.js";
|
|
6
6
|
import { u as getActivePluginRegistry } from "./registry-CpzNS8-a.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
3
|
-
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-B5u_IldI.js";
|
|
3
|
+
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import { o as resolveOAuthDir } from "./paths-Duwviem_.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-C9RGqL4T.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-C9RGqL4T.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-B5u_IldI.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ht as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Ht as normalizeProviderId } from "./config-B5u_IldI.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-9oVz7reJ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import { L as logVerbose, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import "./config-B5u_IldI.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import "./accounts-
|
|
5
|
+
import "./accounts-C9RGqL4T.js";
|
|
6
|
+
import "./plugins-BLeJXdd2.js";
|
|
7
|
+
import "./thinking-TLm688bb.js";
|
|
8
|
+
import "./accounts-DcDj_weC.js";
|
|
9
|
+
import "./image-ops-57ipHrBF.js";
|
|
10
|
+
import "./pi-embedded-helpers-8ieRSf-l.js";
|
|
11
|
+
import "./accounts-CgiUq3Un.js";
|
|
12
12
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
13
|
-
import "./paths-
|
|
14
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
15
|
-
import "./image-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./skills-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./store-
|
|
24
|
-
import "./tool-images-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./api-key-rotation-
|
|
27
|
-
import "./local-roots-
|
|
28
|
-
import "./proxy-fetch-
|
|
13
|
+
import "./paths-CP67O8eN.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-DSNzBBSH.js";
|
|
15
|
+
import "./image-C-YH4Uik.js";
|
|
16
|
+
import "./chrome-B1q83rKv.js";
|
|
17
|
+
import "./skills-OK3LublS.js";
|
|
18
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
19
|
+
import "./redact-DfACyt0X.js";
|
|
20
|
+
import "./errors-9oVz7reJ.js";
|
|
21
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
22
|
+
import "./proxy-env-CtPm4saU.js";
|
|
23
|
+
import "./store-BkxOV4wy.js";
|
|
24
|
+
import "./tool-images-CbObuT48.js";
|
|
25
|
+
import "./fetch-guard-C_jkJc0N.js";
|
|
26
|
+
import "./api-key-rotation-Z-Qny376.js";
|
|
27
|
+
import "./local-roots-BfR7HxIa.js";
|
|
28
|
+
import "./proxy-fetch-Cf3IUSDw.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|