squidclaw 3.0.13 → 3.0.14
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-Xp5W2xrR.js → accounts-CyBVeR-N.js} +1 -1
- package/dist/{accounts-BFC1okn9.js → accounts-D095MOmG.js} +7 -7
- package/dist/{acp-cli-Dt95OPXW.js → acp-cli-Dd2joFFS.js} +8 -8
- 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/{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/{audit-Bq3iosCf.js → audit-B4s_5Gn1.js} +29 -29
- 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 +2 -2
- 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-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-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-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/{completion-cli-BIY_jjYY.js → completion-cli-8PdK97J-.js} +12 -12
- 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-runtime-CaV7seKv.js +61 -0
- package/dist/deps-send-discord.runtime-DbS5pxta.js +36 -0
- package/dist/deps-send-imessage.runtime-Ji753_F7.js +35 -0
- package/dist/deps-send-signal.runtime-DLJqvPLf.js +34 -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-whatsapp.runtime-BOE0Ke6v.js +118 -0
- package/dist/{devices-cli-BT8K0hdG.js → devices-cli-Dn_norz3.js} +8 -8
- 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-Emprau8v.js → doctor-completion-CGmYWy0n.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/{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-guard-VcWeni3c.js → fetch-guard-DNykKlIv.js} +1 -1
- package/dist/{fs-safe-CjHYKGbt.js → fs-safe-CKHYu4Vz.js} +24 -24
- package/dist/{gateway-cli-B2fScwuY.js → gateway-cli-CUph5Eqo.js} +152 -152
- package/dist/{gateway-rpc-DpqZnhyz.js → gateway-rpc-DoKw40aG.js} +1 -1
- 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-CulZw1up.js → image-D2a7rcK1.js} +5 -5
- package/dist/{image-ops-BpsIdA2j.js → image-ops-BIWika4g.js} +10 -10
- 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/{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/{lifecycle-core-DKiBjZdv.js → lifecycle-core-DsfZ6965.js} +5 -5
- package/dist/{local-roots-BrxGyJnb.js → local-roots-CMxJ8L4w.js} +3 -3
- package/dist/{login-CxDYXbgx.js → login-BjtBaVVG.js} +3 -3
- package/dist/{login-qr-zf4B1lpU.js → login-qr-JfRlpd7I.js} +6 -6
- package/dist/{logs-cli-CJAe1_dv.js → logs-cli-gv2Ql7GE.js} +9 -9
- package/dist/{manager-DBgRFvYb.js → manager-XeZQ6ws7.js} +14 -14
- package/dist/{manager-runtime-Dl31cGh-.js → manager-runtime-BvGqzQIY.js} +9 -9
- 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-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-CCaYDSO2.js → onboard-aISMp4Kt.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-Bl4RDn6W.js} +14 -14
- package/dist/{onboarding.finalize-B8wqvggG.js → onboarding.finalize-Bm7_INHb.js} +85 -85
- 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-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-safety-3wUzDqI9.js → path-safety-BWiXz6D4.js} +1 -1
- package/dist/{paths-BguvT84s.js → paths-Bg6h1q3v.js} +9 -9
- 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-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.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-B6gye1Jd.js +46 -0
- package/dist/plugin-sdk/accounts-C-BT6Po7.js +288 -0
- package/dist/plugin-sdk/accounts-DQDXV8eB.js +35 -0
- package/dist/plugin-sdk/active-listener-DZCohPuZ.js +50 -0
- package/dist/plugin-sdk/api-key-rotation-CrX0fvDj.js +181 -0
- package/dist/plugin-sdk/audio-preflight-xnWAFqH-.js +69 -0
- package/dist/plugin-sdk/audio-transcription-runner-BDmtq7-q.js +2176 -0
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
- package/dist/plugin-sdk/channel-activity-JjLRpUa_.js +94 -0
- package/dist/plugin-sdk/channel-web-DNWsxhYh.js +2256 -0
- package/dist/plugin-sdk/chrome-B5PWOUbr.js +2415 -0
- package/dist/plugin-sdk/commands-registry-BKeyJUxK.js +1125 -0
- package/dist/plugin-sdk/config-FhBFLsNm.js +17911 -0
- package/dist/plugin-sdk/deliver-DEbTlzFy.js +1694 -0
- package/dist/plugin-sdk/deliver-runtime-CO2uP-r9.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DIPW0tR4.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-ByGjRa1H.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-Ca1awu4L.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-CRzWCVkC.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-BWyavKp9.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-cC_XvHV8.js +57 -0
- package/dist/plugin-sdk/diagnostic-Dv9S12vm.js +319 -0
- package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
- package/dist/plugin-sdk/fetch-guard-W_A4uSz2.js +156 -0
- package/dist/plugin-sdk/fs-safe-Dqmpk-Fr.js +352 -0
- package/dist/plugin-sdk/image-BSFy8d1M.js +2310 -0
- package/dist/plugin-sdk/image-ops-DN17S88I.js +584 -0
- package/dist/plugin-sdk/image-runtime-5YO31sjU.js +25 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/ir-JaPZ0yKH.js +1296 -0
- package/dist/plugin-sdk/local-roots-BTW3ifco.js +186 -0
- package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
- package/dist/plugin-sdk/login-BXGRny-S.js +57 -0
- package/dist/plugin-sdk/login-qr-DTs92ap8.js +320 -0
- package/dist/plugin-sdk/manager-DzFj9oHX.js +3917 -0
- package/dist/plugin-sdk/manager-runtime-DrpyZvO0.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/outbound-CQ7uBBML.js +212 -0
- package/dist/plugin-sdk/outbound-attachment-dTE6EVdX.js +19 -0
- package/dist/plugin-sdk/path-alias-guards-gBhrAn14.js +43 -0
- package/dist/plugin-sdk/paths-C6W4VHoa.js +166 -0
- package/dist/plugin-sdk/pi-embedded-helpers-CfzQPXDC.js +9627 -0
- package/dist/plugin-sdk/pi-model-discovery-Bt6B0MAj.js +134 -0
- package/dist/plugin-sdk/pi-model-discovery-runtime-BcgXpTmL.js +8 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-DYJQxhuo.js +354 -0
- package/dist/plugin-sdk/plugins-6NxPd6TS.js +864 -0
- package/dist/plugin-sdk/proxy-fetch-ZPEvp58f.js +38 -0
- package/dist/plugin-sdk/pw-ai-BFK39pwE.js +1938 -0
- package/dist/plugin-sdk/qmd-manager-6bozlfFg.js +1448 -0
- package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +1011 -0
- package/dist/plugin-sdk/redact-BoNEjbpF.js +319 -0
- package/dist/plugin-sdk/reply-DgcrQBKL.js +98828 -0
- package/dist/plugin-sdk/resolve-outbound-target-CbaJ-kc2.js +40 -0
- package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +1994 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-jkgyeVsN.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DdLJJ1YC.js +19 -0
- package/dist/plugin-sdk/send-BSoMbeqA.js +3135 -0
- package/dist/plugin-sdk/send-Byyfc20_.js +503 -0
- package/dist/plugin-sdk/send-CI-xWEs7.js +2587 -0
- package/dist/plugin-sdk/send-DzP9EJqK.js +540 -0
- package/dist/plugin-sdk/send-MlSZ82sA.js +414 -0
- package/dist/plugin-sdk/session-DFy97tfW.js +169 -0
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/skill-commands-yum46YuA.js +342 -0
- package/dist/plugin-sdk/skills-DUphJGKn.js +1428 -0
- package/dist/plugin-sdk/slash-commands.runtime-5UW5KLyR.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-4oQ2P_qo.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-y_mOLyS7.js +16 -0
- package/dist/plugin-sdk/ssrf-B3XRWBsP.js +202 -0
- package/dist/plugin-sdk/store-DFvIhzWZ.js +81 -0
- package/dist/plugin-sdk/subagent-registry-runtime-DtKXhKtl.js +52 -0
- package/dist/plugin-sdk/tables-bDM_jlLP.js +55 -0
- package/dist/{target-errors-DlzVutaL.js → plugin-sdk/target-errors-BVBW25Y3.js} +4 -4
- package/dist/plugin-sdk/thinking-Bu-w5mW5.js +1206 -0
- package/dist/plugin-sdk/tokens-CTIYTLWu.js +52 -0
- package/dist/plugin-sdk/tool-images-D0G_giwP.js +274 -0
- package/dist/plugin-sdk/web-DSXk7XCb.js +56 -0
- package/dist/plugin-sdk/whatsapp-actions-BOyA0Uuj.js +80 -0
- 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-context-ehHvCw9L.js → program-context-tphS7xu7.js} +41 -41
- package/dist/{prompt-select-styled-CSMviLJY.js → prompt-select-styled-DL2p1pfi.js} +40 -40
- 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/{push-apns-DoYzx3tH.js → push-apns-C-YdARdy.js} +5 -5
- 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/{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/{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-C-Yv2mHK.js → register.maintenance-CMAt3Nl8.js} +93 -93
- package/dist/{register.message-CUNXtFOj.js → register.message-CbxQ5lgi.js} +73 -73
- package/dist/{register.onboard-BKXm1mL7.js → register.onboard-CbiTdKQX.js} +18 -18
- package/dist/{register.setup-DaT9AIAz.js → register.setup-KhsHMx2v.js} +21 -21
- package/dist/{register.status-health-sessions-7yZmSvUL.js → register.status-health-sessions-Bw5YDa_s.js} +86 -86
- package/dist/{reply-CeUYZhWu.js → reply-BWXzPVSJ.js} +149 -149
- package/dist/{rpc-BDpuIniF.js → rpc-DlN_W_L1.js} +1 -1
- 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-outbound.runtime-B-UsXwvb.js +32 -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-BvlkshC1.js → send-BfVgGHK6.js} +6 -6
- package/dist/{send-tK0H9nwq.js → send-Bw8LNCit.js} +5 -5
- package/dist/{send-CDms2FQA.js → send-C9UJKBSM.js} +4 -4
- 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-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-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-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-dispatch.runtime-Cf9dq1k6.js +113 -0
- package/dist/{slash-skill-commands.runtime-4dOiU6U0.js → slash-skill-commands.runtime-9BYoANpd.js} +15 -15
- 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-aa15VM42.js → store-PDMRmC5Z.js} +5 -5
- package/dist/subagent-registry-runtime-CTiA365B.js +113 -0
- 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-jZMI8hLl.js → tables-DUSFF9-W.js} +1 -1
- package/dist/{tailnet-gTCqUBfJ.js → tailnet-CLkKVwDq.js} +1 -1
- package/dist/target-errors-BxwxgIDk.js +195 -0
- 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-gLKrP8UQ.js} +102 -102
- package/dist/{update-runner-DOXPSA_-.js → update-runner-C2UrF4oZ.js} +16 -16
- package/dist/web-VmjeceHS.js +117 -0
- package/dist/{webhooks-cli-D1iehjkP.js → webhooks-cli-BEXPBILa.js} +6 -6
- 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/{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-uwleBPlq.js +0 -61
- package/dist/deps-send-discord.runtime-CuZGpA7H.js +0 -36
- package/dist/deps-send-imessage.runtime-ByVW2alP.js +0 -35
- package/dist/deps-send-signal.runtime-Dl4GaCbQ.js +0 -34
- package/dist/deps-send-slack.runtime-BEV10FHj.js +0 -32
- package/dist/deps-send-whatsapp.runtime-Di0SEPNK.js +0 -118
- package/dist/image-runtime-B5Q4J9w2.js +0 -55
- package/dist/register.configure-CGptmTVZ.js +0 -164
- package/dist/runtime-whatsapp-outbound.runtime-uDhEmWe1.js +0 -32
- package/dist/slash-dispatch.runtime-D83FVeU7.js +0 -113
- package/dist/subagent-registry-runtime-CrT5RSO9.js +0 -113
- package/dist/web-DtSq_aUB.js +0 -117
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import "./paths-mdt1HFK2.js";
|
|
2
|
+
import "./globals-xfUIfxbE.js";
|
|
3
|
+
import "./utils-DMGXr25O.js";
|
|
4
|
+
import "./thinking-44rmAw5o.js";
|
|
5
|
+
import { Jn as countActiveDescendantRuns, Qn as isSubagentSessionRunActive, Xn as countPendingDescendantRunsExcludingRun, Yn as countPendingDescendantRuns, er as resolveRequesterForChildSession } from "./reply-BWXzPVSJ.js";
|
|
6
|
+
import "./agent-scope-C1XMay0T.js";
|
|
7
|
+
import "./subsystem-DC87CPVS.js";
|
|
8
|
+
import "./squidclaw-root-CnE19yKj.js";
|
|
9
|
+
import "./logger-DEmOJ9C3.js";
|
|
10
|
+
import "./exec-Dfgi8amS.js";
|
|
11
|
+
import "./model-selection-QgM_TOjC.js";
|
|
12
|
+
import "./registry-CpzNS8-a.js";
|
|
13
|
+
import "./github-copilot-token-Xh3EqlDM.js";
|
|
14
|
+
import "./boolean-BsqeuxE6.js";
|
|
15
|
+
import "./env-DeB9SeAQ.js";
|
|
16
|
+
import "./host-env-security-DkAVVuaw.js";
|
|
17
|
+
import "./env-vars-DpyLwTjM.js";
|
|
18
|
+
import "./manifest-registry-BaUPjNKb.js";
|
|
19
|
+
import "./dock-C7N1CmcP.js";
|
|
20
|
+
import "./message-channel-CSxZnhaV.js";
|
|
21
|
+
import "./send-DX_fR45p.js";
|
|
22
|
+
import "./plugins-H53_4Gxb.js";
|
|
23
|
+
import "./sessions-C5H_BZSr.js";
|
|
24
|
+
import "./audio-transcription-runner-Bnl3Ubjo.js";
|
|
25
|
+
import "./image-D2a7rcK1.js";
|
|
26
|
+
import "./models-config-DOD5jluc.js";
|
|
27
|
+
import "./pi-embedded-helpers-DctimJJI.js";
|
|
28
|
+
import "./sandbox-Cuk1IWYT.js";
|
|
29
|
+
import "./tool-catalog-DEbNxV11.js";
|
|
30
|
+
import "./chrome-BNfSmFAM.js";
|
|
31
|
+
import "./tailscale-D0l0E6wR.js";
|
|
32
|
+
import "./tailnet-CLkKVwDq.js";
|
|
33
|
+
import "./ws-DKt5HoA5.js";
|
|
34
|
+
import "./auth-DHSeaNcB.js";
|
|
35
|
+
import "./server-context-CX28l04l.js";
|
|
36
|
+
import "./frontmatter-2aKLThq2.js";
|
|
37
|
+
import "./skills-BnBOxX1c.js";
|
|
38
|
+
import "./path-alias-guards-CCRXJArp.js";
|
|
39
|
+
import "./paths-Bg6h1q3v.js";
|
|
40
|
+
import "./redact-BHOzodtN.js";
|
|
41
|
+
import "./errors-oMAXKmXG.js";
|
|
42
|
+
import "./fs-safe-CKHYu4Vz.js";
|
|
43
|
+
import "./proxy-env-D1tz4Z6a.js";
|
|
44
|
+
import "./image-ops-BIWika4g.js";
|
|
45
|
+
import "./store-PDMRmC5Z.js";
|
|
46
|
+
import "./ports-CKXuQJST.js";
|
|
47
|
+
import "./trash-C4dj1x0P.js";
|
|
48
|
+
import "./server-middleware-DIc4WJOS.js";
|
|
49
|
+
import "./accounts-D095MOmG.js";
|
|
50
|
+
import "./accounts-CyBVeR-N.js";
|
|
51
|
+
import "./logging-D3KTM1pH.js";
|
|
52
|
+
import "./accounts-BjEXPlGc.js";
|
|
53
|
+
import "./send-C9UJKBSM.js";
|
|
54
|
+
import "./paths-B9v1dJHA.js";
|
|
55
|
+
import "./chat-envelope-D5xd2cOr.js";
|
|
56
|
+
import "./tool-images-FhSCiY-o.js";
|
|
57
|
+
import "./tool-display-j0Y5n8v7.js";
|
|
58
|
+
import "./fetch-guard-DNykKlIv.js";
|
|
59
|
+
import "./api-key-rotation-BcKKu9kK.js";
|
|
60
|
+
import "./local-roots-CMxJ8L4w.js";
|
|
61
|
+
import "./model-catalog-BfoWgIDd.js";
|
|
62
|
+
import "./proxy-fetch-C4C5I8Js.js";
|
|
63
|
+
import "./tokens-B4_ntOSs.js";
|
|
64
|
+
import "./deliver-B1sllFkh.js";
|
|
65
|
+
import "./commands-CiY9HjRt.js";
|
|
66
|
+
import "./commands-registry-0bpX7A_Q.js";
|
|
67
|
+
import "./client-BURktNyH.js";
|
|
68
|
+
import "./call-DkR5OGhh.js";
|
|
69
|
+
import "./pairing-token-C0LPdqAt.js";
|
|
70
|
+
import "./fetch-C7NOAcr0.js";
|
|
71
|
+
import "./pairing-store-C1FvWpDK.js";
|
|
72
|
+
import "./exec-approvals-B7ShUtAS.js";
|
|
73
|
+
import "./exec-approvals-allowlist-Bu_oaDJC.js";
|
|
74
|
+
import "./exec-safe-bin-runtime-policy-DRQwt8kj.js";
|
|
75
|
+
import "./nodes-screen-iR_FzGNs.js";
|
|
76
|
+
import "./target-errors-BxwxgIDk.js";
|
|
77
|
+
import "./system-run-command-BgnCyvrj.js";
|
|
78
|
+
import "./diagnostic-CNl71AzW.js";
|
|
79
|
+
import "./with-timeout-BCAfkt03.js";
|
|
80
|
+
import "./send-FTQaNJPj.js";
|
|
81
|
+
import "./model-Jy6fO59G.js";
|
|
82
|
+
import "./pi-model-discovery-D63dINOn.js";
|
|
83
|
+
import "./ir-BPM7rQYq.js";
|
|
84
|
+
import "./render-Bwu_WxwA.js";
|
|
85
|
+
import "./channel-selection-D_20zq3H.js";
|
|
86
|
+
import "./plugin-auto-enable-DMABTEO-.js";
|
|
87
|
+
import "./send-Bw8LNCit.js";
|
|
88
|
+
import "./outbound-attachment-WnXMTJC4.js";
|
|
89
|
+
import "./delivery-queue-BHAfJDuf.js";
|
|
90
|
+
import "./send-BfVgGHK6.js";
|
|
91
|
+
import "./pi-tools.policy-CXvZtJB7.js";
|
|
92
|
+
import "./channel-activity-CCjlTlcN.js";
|
|
93
|
+
import "./tables-DUSFF9-W.js";
|
|
94
|
+
import "./proxy-CzncRRd4.js";
|
|
95
|
+
import "./skill-commands-BSRPnzXp.js";
|
|
96
|
+
import "./workspace-dirs-B2dNahfe.js";
|
|
97
|
+
import "./runtime-config-collectors-CKmGmTQ5.js";
|
|
98
|
+
import "./command-secret-targets-WwcPUFAf.js";
|
|
99
|
+
import "./session-cost-usage-B4DbYmaL.js";
|
|
100
|
+
import "./onboard-helpers-DRk4Y5uA.js";
|
|
101
|
+
import "./prompt-style-BoYH_ODs.js";
|
|
102
|
+
import "./pairing-labels-BXfoinTP.js";
|
|
103
|
+
import "./memory-cli-BUJHSsW6.js";
|
|
104
|
+
import "./manager-XeZQ6ws7.js";
|
|
105
|
+
import "./query-expansion-Bf60ekMj.js";
|
|
106
|
+
import "./links-De9M3AmU.js";
|
|
107
|
+
import "./cli-utils-Ca0KE-dW.js";
|
|
108
|
+
import "./help-format-BMkyP_P-.js";
|
|
109
|
+
import "./progress-BHN121Ps.js";
|
|
110
|
+
import "./server-lifecycle-yAUMTJhv.js";
|
|
111
|
+
import "./stagger-DL-XRpny.js";
|
|
112
|
+
|
|
113
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import "./paths-mdt1HFK2.js";
|
|
2
2
|
import { p as theme, t as danger } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import "./utils-DMGXr25O.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-C1XMay0T.js";
|
|
5
5
|
import { d as defaultRuntime } 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-
|
|
16
|
+
import "./manifest-registry-BaUPjNKb.js";
|
|
17
17
|
import "./message-channel-CSxZnhaV.js";
|
|
18
|
-
import "./tailnet-
|
|
19
|
-
import "./ws-
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
18
|
+
import "./tailnet-CLkKVwDq.js";
|
|
19
|
+
import "./ws-DKt5HoA5.js";
|
|
20
|
+
import "./client-BURktNyH.js";
|
|
21
|
+
import "./call-DkR5OGhh.js";
|
|
22
22
|
import "./pairing-token-C0LPdqAt.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-De9M3AmU.js";
|
|
24
24
|
import "./progress-BHN121Ps.js";
|
|
25
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
25
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DoKw40aG.js";
|
|
26
26
|
|
|
27
27
|
//#region src/cli/system-cli.ts
|
|
28
28
|
const normalizeWakeMode = (raw) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as normalizeExecutableToken, Dr as hasEnvManipulationBeforeShellWrapper, Fr as POWERSHELL_INLINE_COMMAND_FLAGS, Ir as resolveInlineCommandMatch, Nr as unwrapKnownShellMultiplexerInvocation, Pr as POSIX_INLINE_COMMAND_FLAGS, Tr as extractShellWrapperCommand, jr as unwrapDispatchWrappersForResolution } from "./model-selection-
|
|
1
|
+
import { Ar as normalizeExecutableToken, Dr as hasEnvManipulationBeforeShellWrapper, Fr as POWERSHELL_INLINE_COMMAND_FLAGS, Ir as resolveInlineCommandMatch, Nr as unwrapKnownShellMultiplexerInvocation, Pr as POSIX_INLINE_COMMAND_FLAGS, Tr as extractShellWrapperCommand, jr as unwrapDispatchWrappersForResolution } from "./model-selection-QgM_TOjC.js";
|
|
2
2
|
|
|
3
3
|
//#region src/infra/system-run-command.ts
|
|
4
4
|
function formatExecCommand(argv) {
|
|
@@ -3,7 +3,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-Dfgi8amS.js";
|
|
|
3
3
|
import { d as resolveGatewayServiceDescription, f as resolveGatewaySystemdServiceName, i as LEGACY_GATEWAY_SYSTEMD_SERVICE_NAMES, u as resolveGatewayProfileSuffix } from "./constants-JYGbA1vc.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
import { execFile } from "node:child_process";
|
|
8
8
|
|
|
9
9
|
//#region src/daemon/exec-file.ts
|
|
@@ -300,7 +300,7 @@ function resolveSystemdUserUnitPath(env) {
|
|
|
300
300
|
async function readSystemdServiceExecStart(env) {
|
|
301
301
|
const unitPath = resolveSystemdUnitPath(env);
|
|
302
302
|
try {
|
|
303
|
-
const content = await
|
|
303
|
+
const content = await fs.readFile(unitPath, "utf8");
|
|
304
304
|
let execStart = "";
|
|
305
305
|
let workingDirectory = "";
|
|
306
306
|
const environment = {};
|
|
@@ -384,12 +384,12 @@ async function assertSystemdAvailable() {
|
|
|
384
384
|
async function installSystemdService({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
385
385
|
await assertSystemdAvailable();
|
|
386
386
|
const unitPath = resolveSystemdUnitPath(env);
|
|
387
|
-
await
|
|
387
|
+
await fs.mkdir(path.dirname(unitPath), { recursive: true });
|
|
388
388
|
let backedUp = false;
|
|
389
389
|
try {
|
|
390
|
-
await
|
|
390
|
+
await fs.access(unitPath);
|
|
391
391
|
const backupPath = `${unitPath}.bak`;
|
|
392
|
-
await
|
|
392
|
+
await fs.copyFile(unitPath, backupPath);
|
|
393
393
|
backedUp = true;
|
|
394
394
|
} catch {}
|
|
395
395
|
const unit = buildSystemdUnit({
|
|
@@ -402,7 +402,7 @@ async function installSystemdService({ env, stdout, programArguments, workingDir
|
|
|
402
402
|
workingDirectory,
|
|
403
403
|
environment
|
|
404
404
|
});
|
|
405
|
-
await
|
|
405
|
+
await fs.writeFile(unitPath, unit, "utf8");
|
|
406
406
|
const unitName = `${resolveGatewaySystemdServiceName(env.SQUIDCLAW_PROFILE)}.service`;
|
|
407
407
|
const reload = await execSystemctl(sysArgs(["daemon-reload"]));
|
|
408
408
|
if (reload.code !== 0) throw new Error(`systemctl daemon-reload failed: ${reload.stderr || reload.stdout}`.trim());
|
|
@@ -428,7 +428,7 @@ async function uninstallSystemdService({ env, stdout }) {
|
|
|
428
428
|
]));
|
|
429
429
|
const unitPath = resolveSystemdUnitPath(env);
|
|
430
430
|
try {
|
|
431
|
-
await
|
|
431
|
+
await fs.unlink(unitPath);
|
|
432
432
|
stdout.write(`${formatLine("Removed systemd service", unitPath)}\n`);
|
|
433
433
|
} catch {
|
|
434
434
|
stdout.write(`Systemd service not found at ${unitPath}\n`);
|
|
@@ -512,7 +512,7 @@ async function findLegacySystemdUnits(env) {
|
|
|
512
512
|
const unitPath = resolveSystemdUnitPathForName(env, name);
|
|
513
513
|
let exists = false;
|
|
514
514
|
try {
|
|
515
|
-
await
|
|
515
|
+
await fs.access(unitPath);
|
|
516
516
|
exists = true;
|
|
517
517
|
} catch {}
|
|
518
518
|
let enabled = false;
|
|
@@ -538,7 +538,7 @@ async function uninstallLegacySystemdUnits({ env, stdout }) {
|
|
|
538
538
|
]));
|
|
539
539
|
else stdout.write(`systemctl unavailable; removed legacy unit file only: ${unit.name}.service\n`);
|
|
540
540
|
try {
|
|
541
|
-
await
|
|
541
|
+
await fs.unlink(unit.unitPath);
|
|
542
542
|
stdout.write(`${formatLine("Removed legacy systemd service", unit.unitPath)}\n`);
|
|
543
543
|
} catch {
|
|
544
544
|
stdout.write(`Legacy systemd unit not found at ${unit.unitPath}\n`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { B as isBunRuntime, V as isNodeRuntime } from "./globals-xfUIfxbE.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-z1t1m-Kx.js";
|
|
3
|
-
import { c as isVersionManagedNodePath, f as resolveSystemNodePath, o as getMinimalServicePathPartsFromEnv, s as isSystemNodePath } from "./daemon-install-helpers-
|
|
4
|
-
import { o as resolveSystemdUserUnitPath } from "./systemd-
|
|
5
|
-
import { c as resolveLaunchAgentPlistPath } from "./service-
|
|
3
|
+
import { c as isVersionManagedNodePath, f as resolveSystemNodePath, o as getMinimalServicePathPartsFromEnv, s as isSystemNodePath } from "./daemon-install-helpers-a4pGEsbA.js";
|
|
4
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-fP8tz4aL.js";
|
|
5
|
+
import { c as resolveLaunchAgentPlistPath } from "./service-D4y0_Q5Z.js";
|
|
6
6
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-x0mCWQJo.js";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/daemon/runtime-format.ts
|
|
11
11
|
function formatRuntimeStatus(runtime) {
|
|
@@ -86,7 +86,7 @@ async function auditSystemdUnit(env, issues) {
|
|
|
86
86
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
87
87
|
let content = "";
|
|
88
88
|
try {
|
|
89
|
-
content = await
|
|
89
|
+
content = await fs.readFile(unitPath, "utf8");
|
|
90
90
|
} catch {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
@@ -114,7 +114,7 @@ async function auditLaunchdPlist(env, issues) {
|
|
|
114
114
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
115
115
|
let content = "";
|
|
116
116
|
try {
|
|
117
|
-
content = await
|
|
117
|
+
content = await fs.readFile(plistPath, "utf8");
|
|
118
118
|
} catch {
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as note } from "./note-CBt9wSWa.js";
|
|
3
|
-
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
3
|
+
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-fP8tz4aL.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/systemd-linger.ts
|
|
6
6
|
var systemd_linger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { c as detectMime } from "./image-ops-BIWika4g.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-FhSCiY-o.js";
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
|
+
|
|
5
|
+
//#region src/agents/tools/common.ts
|
|
6
|
+
var ToolInputError = class extends Error {
|
|
7
|
+
constructor(message) {
|
|
8
|
+
super(message);
|
|
9
|
+
this.status = 400;
|
|
10
|
+
this.name = "ToolInputError";
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
var ToolAuthorizationError = class extends ToolInputError {
|
|
14
|
+
constructor(message) {
|
|
15
|
+
super(message);
|
|
16
|
+
this.status = 403;
|
|
17
|
+
this.name = "ToolAuthorizationError";
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
function createActionGate(actions) {
|
|
21
|
+
return (key, defaultValue = true) => {
|
|
22
|
+
const value = actions?.[key];
|
|
23
|
+
if (value === void 0) return defaultValue;
|
|
24
|
+
return value !== false;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function toSnakeCaseKey(key) {
|
|
28
|
+
return key.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z0-9])([A-Z])/g, "$1_$2").toLowerCase();
|
|
29
|
+
}
|
|
30
|
+
function readParamRaw(params, key) {
|
|
31
|
+
if (Object.hasOwn(params, key)) return params[key];
|
|
32
|
+
const snakeKey = toSnakeCaseKey(key);
|
|
33
|
+
if (snakeKey !== key && Object.hasOwn(params, snakeKey)) return params[snakeKey];
|
|
34
|
+
}
|
|
35
|
+
function readStringParam(params, key, options = {}) {
|
|
36
|
+
const { required = false, trim = true, label = key, allowEmpty = false } = options;
|
|
37
|
+
const raw = readParamRaw(params, key);
|
|
38
|
+
if (typeof raw !== "string") {
|
|
39
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const value = trim ? raw.trim() : raw;
|
|
43
|
+
if (!value && !allowEmpty) {
|
|
44
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function readStringOrNumberParam(params, key, options = {}) {
|
|
50
|
+
const { required = false, label = key } = options;
|
|
51
|
+
const raw = readParamRaw(params, key);
|
|
52
|
+
if (typeof raw === "number" && Number.isFinite(raw)) return String(raw);
|
|
53
|
+
if (typeof raw === "string") {
|
|
54
|
+
const value = raw.trim();
|
|
55
|
+
if (value) return value;
|
|
56
|
+
}
|
|
57
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
58
|
+
}
|
|
59
|
+
function readNumberParam(params, key, options = {}) {
|
|
60
|
+
const { required = false, label = key, integer = false } = options;
|
|
61
|
+
const raw = readParamRaw(params, key);
|
|
62
|
+
let value;
|
|
63
|
+
if (typeof raw === "number" && Number.isFinite(raw)) value = raw;
|
|
64
|
+
else if (typeof raw === "string") {
|
|
65
|
+
const trimmed = raw.trim();
|
|
66
|
+
if (trimmed) {
|
|
67
|
+
const parsed = Number.parseFloat(trimmed);
|
|
68
|
+
if (Number.isFinite(parsed)) value = parsed;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (value === void 0) {
|
|
72
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
return integer ? Math.trunc(value) : value;
|
|
76
|
+
}
|
|
77
|
+
function readStringArrayParam(params, key, options = {}) {
|
|
78
|
+
const { required = false, label = key } = options;
|
|
79
|
+
const raw = readParamRaw(params, key);
|
|
80
|
+
if (Array.isArray(raw)) {
|
|
81
|
+
const values = raw.filter((entry) => typeof entry === "string").map((entry) => entry.trim()).filter(Boolean);
|
|
82
|
+
if (values.length === 0) {
|
|
83
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
return values;
|
|
87
|
+
}
|
|
88
|
+
if (typeof raw === "string") {
|
|
89
|
+
const value = raw.trim();
|
|
90
|
+
if (!value) {
|
|
91
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
return [value];
|
|
95
|
+
}
|
|
96
|
+
if (required) throw new ToolInputError(`${label} required`);
|
|
97
|
+
}
|
|
98
|
+
function readReactionParams(params, options) {
|
|
99
|
+
const emojiKey = options.emojiKey ?? "emoji";
|
|
100
|
+
const removeKey = options.removeKey ?? "remove";
|
|
101
|
+
const remove = typeof params[removeKey] === "boolean" ? params[removeKey] : false;
|
|
102
|
+
const emoji = readStringParam(params, emojiKey, {
|
|
103
|
+
required: true,
|
|
104
|
+
allowEmpty: true
|
|
105
|
+
});
|
|
106
|
+
if (remove && !emoji) throw new ToolInputError(options.removeErrorMessage);
|
|
107
|
+
return {
|
|
108
|
+
emoji,
|
|
109
|
+
remove,
|
|
110
|
+
isEmpty: !emoji
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
function jsonResult(payload) {
|
|
114
|
+
return {
|
|
115
|
+
content: [{
|
|
116
|
+
type: "text",
|
|
117
|
+
text: JSON.stringify(payload, null, 2)
|
|
118
|
+
}],
|
|
119
|
+
details: payload
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
async function imageResult(params) {
|
|
123
|
+
return await sanitizeToolResultImages({
|
|
124
|
+
content: [{
|
|
125
|
+
type: "text",
|
|
126
|
+
text: params.extraText ?? `MEDIA:${params.path}`
|
|
127
|
+
}, {
|
|
128
|
+
type: "image",
|
|
129
|
+
data: params.base64,
|
|
130
|
+
mimeType: params.mimeType
|
|
131
|
+
}],
|
|
132
|
+
details: {
|
|
133
|
+
path: params.path,
|
|
134
|
+
...params.details
|
|
135
|
+
}
|
|
136
|
+
}, params.label, params.imageSanitization);
|
|
137
|
+
}
|
|
138
|
+
async function imageResultFromFile(params) {
|
|
139
|
+
const buf = await fs.readFile(params.path);
|
|
140
|
+
const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
|
|
141
|
+
return await imageResult({
|
|
142
|
+
label: params.label,
|
|
143
|
+
path: params.path,
|
|
144
|
+
base64: buf.toString("base64"),
|
|
145
|
+
mimeType,
|
|
146
|
+
extraText: params.extraText,
|
|
147
|
+
details: params.details,
|
|
148
|
+
imageSanitization: params.imageSanitization
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Validate and parse an `availableTags` parameter from untrusted input.
|
|
153
|
+
* Returns `undefined` when the value is missing or not an array.
|
|
154
|
+
* Entries that lack a string `name` are silently dropped.
|
|
155
|
+
*/
|
|
156
|
+
function parseAvailableTags(raw) {
|
|
157
|
+
if (raw === void 0 || raw === null) return;
|
|
158
|
+
if (!Array.isArray(raw)) return;
|
|
159
|
+
const result = raw.filter((t) => typeof t === "object" && t !== null && typeof t.name === "string").map((t) => ({
|
|
160
|
+
...t.id !== void 0 && typeof t.id === "string" ? { id: t.id } : {},
|
|
161
|
+
name: t.name,
|
|
162
|
+
...typeof t.moderated === "boolean" ? { moderated: t.moderated } : {},
|
|
163
|
+
...t.emoji_id === null || typeof t.emoji_id === "string" ? { emoji_id: t.emoji_id } : {},
|
|
164
|
+
...t.emoji_name === null || typeof t.emoji_name === "string" ? { emoji_name: t.emoji_name } : {}
|
|
165
|
+
}));
|
|
166
|
+
return result.length ? result : void 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/infra/outbound/target-errors.ts
|
|
171
|
+
function missingTargetMessage(provider, hint) {
|
|
172
|
+
return `Delivering to ${provider} requires target${formatTargetHint(hint)}`;
|
|
173
|
+
}
|
|
174
|
+
function missingTargetError(provider, hint) {
|
|
175
|
+
return new Error(missingTargetMessage(provider, hint));
|
|
176
|
+
}
|
|
177
|
+
function ambiguousTargetMessage(provider, raw, hint) {
|
|
178
|
+
return `Ambiguous target "${raw}" for ${provider}. Provide a unique name or an explicit id.${formatTargetHint(hint, true)}`;
|
|
179
|
+
}
|
|
180
|
+
function ambiguousTargetError(provider, raw, hint) {
|
|
181
|
+
return new Error(ambiguousTargetMessage(provider, raw, hint));
|
|
182
|
+
}
|
|
183
|
+
function unknownTargetMessage(provider, raw, hint) {
|
|
184
|
+
return `Unknown target "${raw}" for ${provider}.${formatTargetHint(hint, true)}`;
|
|
185
|
+
}
|
|
186
|
+
function unknownTargetError(provider, raw, hint) {
|
|
187
|
+
return new Error(unknownTargetMessage(provider, raw, hint));
|
|
188
|
+
}
|
|
189
|
+
function formatTargetHint(hint, withLabel = false) {
|
|
190
|
+
if (!hint) return "";
|
|
191
|
+
return withLabel ? ` Hint: ${hint}` : ` ${hint}`;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
//#endregion
|
|
195
|
+
export { ToolInputError as a, imageResultFromFile as c, readNumberParam as d, readReactionParams as f, readStringParam as h, ToolAuthorizationError as i, jsonResult as l, readStringOrNumberParam as m, missingTargetError as n, createActionGate as o, readStringArrayParam as p, unknownTargetError as r, imageResult as s, ambiguousTargetError as t, parseAvailableTags as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BIWika4g.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as normalizeUsageDisplay, r as listThinkingLevelLabels, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-44rmAw5o.js";
|
|
2
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-C1XMay0T.js";
|
|
3
3
|
import { c as stripAnsi$1, l as visibleWidth } from "./subsystem-DC87CPVS.js";
|
|
4
4
|
import { E as parseAgentSessionKey, c as normalizeAgentId, l as normalizeMainKey, r as buildAgentMainSessionKey } from "./session-key-CIXZm7v4.js";
|
|
5
|
-
import { $t as loadConfig } from "./model-selection-
|
|
5
|
+
import { $t as loadConfig } from "./model-selection-QgM_TOjC.js";
|
|
6
6
|
import { r as VERSION } from "./env-vars-DpyLwTjM.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CSxZnhaV.js";
|
|
8
|
-
import { v as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
8
|
+
import { v as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-DctimJJI.js";
|
|
9
9
|
import { i as stripLeadingInboundMetadata } from "./chat-envelope-D5xd2cOr.js";
|
|
10
10
|
import { r as resolveToolDisplay, t as formatToolDetail } from "./tool-display-j0Y5n8v7.js";
|
|
11
|
-
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-
|
|
12
|
-
import { Mt as PROTOCOL_VERSION, t as GatewayClient } from "./client-
|
|
13
|
-
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-0bpX7A_Q.js";
|
|
12
|
+
import { Mt as PROTOCOL_VERSION, t as GatewayClient } from "./client-BURktNyH.js";
|
|
13
|
+
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-DkR5OGhh.js";
|
|
14
14
|
import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-DQEv82Cs.js";
|
|
15
15
|
import { n as formatTokenCount } from "./usage-format-CpAFclrX.js";
|
|
16
16
|
import chalk from "chalk";
|
|
@@ -2,61 +2,61 @@ import "./paths-mdt1HFK2.js";
|
|
|
2
2
|
import { p as theme } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import "./utils-DMGXr25O.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./agent-scope-
|
|
5
|
+
import "./agent-scope-C1XMay0T.js";
|
|
6
6
|
import { d as defaultRuntime } from "./subsystem-DC87CPVS.js";
|
|
7
|
-
import "./squidclaw-root-
|
|
7
|
+
import "./squidclaw-root-CnE19yKj.js";
|
|
8
8
|
import "./logger-DEmOJ9C3.js";
|
|
9
9
|
import "./exec-Dfgi8amS.js";
|
|
10
|
-
import "./model-selection-
|
|
10
|
+
import "./model-selection-QgM_TOjC.js";
|
|
11
11
|
import "./registry-CpzNS8-a.js";
|
|
12
12
|
import "./github-copilot-token-Xh3EqlDM.js";
|
|
13
13
|
import "./boolean-BsqeuxE6.js";
|
|
14
14
|
import "./env-DeB9SeAQ.js";
|
|
15
15
|
import "./host-env-security-DkAVVuaw.js";
|
|
16
16
|
import "./env-vars-DpyLwTjM.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
17
|
+
import "./manifest-registry-BaUPjNKb.js";
|
|
18
|
+
import "./dock-C7N1CmcP.js";
|
|
19
19
|
import "./message-channel-CSxZnhaV.js";
|
|
20
|
-
import "./plugins-
|
|
21
|
-
import "./sessions-
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./sandbox-
|
|
20
|
+
import "./plugins-H53_4Gxb.js";
|
|
21
|
+
import "./sessions-C5H_BZSr.js";
|
|
22
|
+
import "./pi-embedded-helpers-DctimJJI.js";
|
|
23
|
+
import "./sandbox-Cuk1IWYT.js";
|
|
24
24
|
import "./tool-catalog-DEbNxV11.js";
|
|
25
|
-
import "./chrome-
|
|
25
|
+
import "./chrome-BNfSmFAM.js";
|
|
26
26
|
import "./tailscale-D0l0E6wR.js";
|
|
27
|
-
import "./tailnet-
|
|
28
|
-
import "./ws-
|
|
29
|
-
import "./auth-
|
|
30
|
-
import "./server-context-
|
|
27
|
+
import "./tailnet-CLkKVwDq.js";
|
|
28
|
+
import "./ws-DKt5HoA5.js";
|
|
29
|
+
import "./auth-DHSeaNcB.js";
|
|
30
|
+
import "./server-context-CX28l04l.js";
|
|
31
31
|
import "./frontmatter-2aKLThq2.js";
|
|
32
|
-
import "./skills-
|
|
33
|
-
import "./path-alias-guards-
|
|
34
|
-
import "./paths-
|
|
32
|
+
import "./skills-BnBOxX1c.js";
|
|
33
|
+
import "./path-alias-guards-CCRXJArp.js";
|
|
34
|
+
import "./paths-Bg6h1q3v.js";
|
|
35
35
|
import "./redact-BHOzodtN.js";
|
|
36
36
|
import "./errors-oMAXKmXG.js";
|
|
37
|
-
import "./fs-safe-
|
|
38
|
-
import "./proxy-env-
|
|
39
|
-
import "./image-ops-
|
|
40
|
-
import "./store-
|
|
41
|
-
import "./ports-
|
|
37
|
+
import "./fs-safe-CKHYu4Vz.js";
|
|
38
|
+
import "./proxy-env-D1tz4Z6a.js";
|
|
39
|
+
import "./image-ops-BIWika4g.js";
|
|
40
|
+
import "./store-PDMRmC5Z.js";
|
|
41
|
+
import "./ports-CKXuQJST.js";
|
|
42
42
|
import "./trash-C4dj1x0P.js";
|
|
43
|
-
import "./server-middleware-
|
|
44
|
-
import "./accounts-
|
|
45
|
-
import "./accounts-
|
|
43
|
+
import "./server-middleware-DIc4WJOS.js";
|
|
44
|
+
import "./accounts-D095MOmG.js";
|
|
45
|
+
import "./accounts-CyBVeR-N.js";
|
|
46
46
|
import "./logging-D3KTM1pH.js";
|
|
47
|
-
import "./accounts-
|
|
47
|
+
import "./accounts-BjEXPlGc.js";
|
|
48
48
|
import "./paths-B9v1dJHA.js";
|
|
49
49
|
import "./chat-envelope-D5xd2cOr.js";
|
|
50
|
-
import "./tool-images-
|
|
50
|
+
import "./tool-images-FhSCiY-o.js";
|
|
51
51
|
import "./tool-display-j0Y5n8v7.js";
|
|
52
|
-
import "./commands-
|
|
53
|
-
import "./commands-registry-
|
|
54
|
-
import "./client-
|
|
55
|
-
import "./call-
|
|
52
|
+
import "./commands-CiY9HjRt.js";
|
|
53
|
+
import "./commands-registry-0bpX7A_Q.js";
|
|
54
|
+
import "./client-BURktNyH.js";
|
|
55
|
+
import "./call-DkR5OGhh.js";
|
|
56
56
|
import "./pairing-token-C0LPdqAt.js";
|
|
57
57
|
import { t as formatDocsLink } from "./links-De9M3AmU.js";
|
|
58
58
|
import { t as parseTimeoutMs } from "./parse-timeout-BwFhOmlt.js";
|
|
59
|
-
import { t as runTui } from "./tui-
|
|
59
|
+
import { t as runTui } from "./tui-BMOMT-ma.js";
|
|
60
60
|
|
|
61
61
|
//#region src/cli/tui-cli.ts
|
|
62
62
|
function registerTuiCli(program) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
2
|
-
import { a as openBoundaryFileSync } from "./squidclaw-root-
|
|
3
|
-
import { o as loadPluginManifest, r as discoverSquidClawPlugins } from "./manifest-registry-
|
|
4
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, o as resolvePluginInstallDir, r as PLUGIN_INSTALL_ERROR_CODE, t as buildNpmResolutionInstallFields } from "./installs-
|
|
2
|
+
import { a as openBoundaryFileSync } from "./squidclaw-root-CnE19yKj.js";
|
|
3
|
+
import { o as loadPluginManifest, r as discoverSquidClawPlugins } from "./manifest-registry-BaUPjNKb.js";
|
|
4
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, o as resolvePluginInstallDir, r as PLUGIN_INSTALL_ERROR_CODE, t as buildNpmResolutionInstallFields } from "./installs-CyjlehlR.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|