wednesdayai 0.5.1-dev.36 → 0.5.1-dev.38
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/{acp-cli-BCtWMJDr.js → acp-cli-DHAxJufY.js} +11 -11
- package/dist/{agent-scope-BXqrHhZ0.js → agent-scope-BZ0wFh-U.js} +21 -21
- package/dist/{agent-scope-cTY4-zRz.js → agent-scope-CoIdVzmg.js} +3 -3
- package/dist/{agent-turn-enqueue-TStC2eAo.js → agent-turn-enqueue-DZ607FR0.js} +6 -6
- package/dist/{agent-turn-execute-B8YL98Ei.js → agent-turn-execute-CGTvDxUE.js} +152 -152
- package/dist/{agent-turn-recovery-adapter-DMCiX5id.js → agent-turn-recovery-adapter-bACrcJAQ.js} +3 -3
- package/dist/{agent-turn-runner-7LQU6Fut.js → agent-turn-runner-C3LuaN7w.js} +6 -6
- package/dist/{agent-turn-runner-JxDS9bU_.js → agent-turn-runner-CiEPY6RO.js} +2 -2
- package/dist/{agent-turn-runner-Dqbqrgbg.js → agent-turn-runner-qSzYP-xO.js} +4 -4
- package/dist/{agents-DecMea6v.js → agents-C8johSLq.js} +21 -21
- package/dist/{agents.config-C9y5L4K8.js → agents.config-BjA0noNV.js} +3 -3
- package/dist/{api-key-rotation-BCh_J5f6.js → api-key-rotation-CoKWzuyV.js} +2 -2
- package/dist/{api-key-rotation-muerimbF.js → api-key-rotation-D4lnO3Ok.js} +1 -1
- package/dist/{audio-preflight-Cxyte-N3.js → audio-preflight-CKFGJslr.js} +3 -3
- package/dist/{audio-preflight-C9EHsVrE.js → audio-preflight-Djb8Ia-c.js} +23 -23
- package/dist/{audio-preflight-CP5CtdsH.js → audio-preflight-oL1-kPAm.js} +37 -37
- package/dist/{audio-transcription-runner-CoyogVcx.js → audio-transcription-runner-B-MEt_yD.js} +1 -1
- package/dist/{audio-transcription-runner-Bs4pG29e.js → audio-transcription-runner-BXSN8eBn.js} +27 -27
- package/dist/{audio-transcription-runner-DXlkPfwW.js → audio-transcription-runner-DhoPP3LM.js} +25 -25
- package/dist/{audit-CEciibi6.js → audit-CKbyr9j7.js} +31 -31
- package/dist/{auth-C4aicgu0.js → auth--kj7eWiw.js} +4 -4
- package/dist/{auth-choice-CzqQjA2v.js → auth-choice-BOcw0TMX.js} +15 -15
- package/dist/{auth-choice-CAZCvJj_.js → auth-choice-RfKE6K30.js} +13 -13
- package/dist/{auth-choice.apply-helpers-DWNqsu7M.js → auth-choice.apply-helpers-NHz-APrm.js} +1 -1
- package/dist/{auth-token-DEhILWtz.js → auth-token-BdrfJ6LM.js} +2 -2
- package/dist/{banner-CI86ZCI2.js → banner-BF4fYjB7.js} +4 -4
- package/dist/{bonjour-discovery-24oEkWjB.js → bonjour-discovery-BthO3c3w.js} +3 -3
- package/dist/{browser-cli-DhjLTPwH.js → browser-cli-sLIHnZHe.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +50 -50
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +50 -50
- package/dist/bundled/session-memory/handler.js +50 -50
- package/dist/{call-C4ArH9Si.js → call-BY-wbSIJ.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CndjAqFL.js → channel-account-context-DIx7V4k-.js} +7 -7
- package/dist/{channel-options-OJHp5c5p.js → channel-options-B10KsMrg.js} +3 -3
- package/dist/{channel-selection-JkSKVHJp.js → channel-selection-BxBw-nya.js} +1 -1
- package/dist/{channels-cli-Z1jMieGO.js → channels-cli-C4-OqjW1.js} +119 -119
- package/dist/{channels-status-issues-KrOAESoD.js → channels-status-issues-DYdDrl6F.js} +1 -1
- package/dist/{chat-content-Cafge7N8.js → chat-content-01nUeO9I.js} +3 -3
- package/dist/{chat-content-Csm95kDY.js → chat-content-Cp63XvqY.js} +39 -39
- package/dist/{chrome-CBtFbbNQ.js → chrome-CMvVElGc.js} +6 -6
- package/dist/{plugin-sdk/chrome-DT2r85gp.js → chrome-DW9-DzcL.js} +25 -25
- package/dist/{chrome-H5-7mQ4m.js → chrome-kwiyU0Mr.js} +8 -8
- package/dist/{chunk-zortZzCP.js → chunk-BRJHaAd6.js} +3 -3
- package/dist/{chunk-TNziyyRO.js → chunk-DAmLsltN.js} +3 -3
- package/dist/{clack-prompter-BGz_-0Jy.js → clack-prompter-gj894fSZ.js} +5 -5
- package/dist/clawbot-cli-Uwda-gwl.js +31 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-9kY6bXto.js +165 -0
- package/dist/{client-x4GnolXm.js → client-DsaKKPz1.js} +4 -4
- package/dist/{client-profiles-DeaEz84_.js → client-profiles-HTQt5I_7.js} +4 -4
- package/dist/{clipboard-CpnmAh1M.js → clipboard-Dwm1nI9r.js} +1 -1
- package/dist/{command-queue-DfL4YmGb.js → command-queue-CRm1AADE.js} +1 -1
- package/dist/{command-queue-DqvFUE_T.js → command-queue-D7PleaNJ.js} +1 -1
- package/dist/{command-registry-DZhaDT6k.js → command-registry-mp4MxXzC.js} +14 -14
- package/dist/{command-secret-targets-CX4FWTx8.js → command-secret-targets-MpNVd6gM.js} +4 -4
- package/dist/{commands-DYSm3eNj.js → commands-BSuDoyqC.js} +1 -1
- package/dist/{commands-registry-BbHkcgn_.js → commands-registry-CWGturUV.js} +3 -3
- package/dist/{commands-registry-Vo5C1XbD.js → commands-registry-D3lOVOa7.js} +2 -2
- package/dist/{completion-cli-KeHhpylY.js → completion-cli-D1oQvlFE.js} +16 -16
- package/dist/{config-2hPOvE4Z.js → config-D--rwfpd.js} +31 -31
- package/dist/{config-cli-D-H6Kr9B.js → config-cli-BXmt8okw.js} +10 -10
- package/dist/{config-guard-BvNFubkG.js → config-guard-Cw6VZZIa.js} +4 -4
- package/dist/{config-validation-CoY1swln.js → config-validation-ak7uy8sQ.js} +4 -4
- package/dist/{configure-DvBl6V3D.js → configure-Jq_Nd0lw.js} +25 -25
- package/dist/{control-ui-assets-DvutqvBd.js → control-ui-assets-D7LC9ugV.js} +3 -3
- package/dist/{controller-Cph9HEXR.js → controller-C5VfLHxD.js} +1 -1
- package/dist/{credentials-DLluMUaA.js → credentials-D2RfV9B5.js} +1 -1
- package/dist/{cron-cli-Bx35RD7d.js → cron-cli-BgEowQB-.js} +14 -14
- package/dist/{daemon-cli-DlS7PDJU.js → daemon-cli-BVlct7Qh.js} +19 -19
- package/dist/{daemon-install-P8cLD1fo.js → daemon-install-BXgUCwNe.js} +10 -10
- package/dist/{daemon-install-helpers-YbryCWUm.js → daemon-install-helpers-DN9p53IN.js} +13 -13
- package/dist/{delete-agent-sessions-C60hkBQ-.js → delete-agent-sessions-B4HnloYv.js} +1 -1
- package/dist/{deliver-x22mTRDq.js → deliver-CgFkiA4Z.js} +1 -1
- package/dist/{deliver-BKt_OVTK.js → deliver-CiY0WQtq.js} +28 -28
- package/dist/{deliver-gllA2ft3.js → deliver-CjuGs2ZT.js} +12 -12
- package/dist/{devices-cli-Dc_tu4bW.js → devices-cli-BCEiHurA.js} +13 -13
- package/dist/{diagnostic-8jsvSbYs.js → diagnostic-BSnQ1U_E.js} +3 -3
- package/dist/{diagnostic-C2zSaTPq.js → diagnostic-jFNdnXCb.js} +4 -4
- package/dist/{diagnostics-CSh5FcKM.js → diagnostics-CbXyRsTN.js} +5 -5
- package/dist/{directory-cli-CcMw7ktc.js → directory-cli-CEQEXtQ_.js} +11 -11
- package/dist/{dm-policy-shared-DyPD8y1v.js → dm-policy-shared-BHHuPFZr.js} +5 -5
- package/dist/{dns-cli-Cxw9US4K.js → dns-cli-CfEIvluV.js} +10 -10
- package/dist/{docs-cli-BnnuPnNf.js → docs-cli-BvqOi7vO.js} +9 -9
- package/dist/{doctor-completion-B4D14F1Y.js → doctor-completion-Cbb3ZrZO.js} +3 -3
- package/dist/{doctor-config-flow-CY4BZ2VP.js → doctor-config-flow-zfYUW8HP.js} +17 -17
- package/dist/{enable-PpktglSI.js → enable-B7CD1rL9.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{errors-muW4vMSB.js → errors-CgPgYfWg.js} +1 -1
- package/dist/{exec-EGo-G7vR.js → exec-DWOKM6EC.js} +2 -2
- package/dist/{exec-approvals-CImDpHtY.js → exec-approvals-CavJfWPl.js} +2 -2
- package/dist/{exec-approvals-allowlist-B3_jgDyG.js → exec-approvals-allowlist-CfzuCK0Q.js} +1 -1
- package/dist/{exec-approvals-cli-C6AHbPh4.js → exec-approvals-cli-uvLKhEsP.js} +22 -22
- package/dist/{exec-safe-bin-runtime-policy-h4hE5cjd.js → exec-safe-bin-runtime-policy-CY75nr5s.js} +2 -2
- package/dist/{extension-relay-auth-D49uIEqs.js → extension-relay-auth-CEkGLele.js} +10 -10
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-Ciq99DHJ.js → fetch-BBi5dEoV.js} +8 -8
- package/dist/{fetch-B9Tca1cY.js → fetch-BrwJHFZR.js} +1 -1
- package/dist/{fetch-BZPOzq9L.js → fetch-CLk1nKmU.js} +5 -5
- package/dist/{fetch-guard-DaJwMbcY.js → fetch-guard-BcLYPGi1.js} +2 -2
- package/dist/{fetch-guard-laNnWRKl.js → fetch-guard-TJQinE0a.js} +2 -2
- package/dist/{frontmatter-BzlMEBkz.js → frontmatter-DQTIIgFI.js} +5 -5
- package/dist/{fs-safe-CDfp5e8Q.js → fs-safe-CRbowDkj.js} +26 -26
- package/dist/{fs-safe-db4fkk2l.js → fs-safe-sWugzmbo.js} +25 -25
- package/dist/{gateway-cli-Y92yCSUC.js → gateway-cli-C4Xm8OKF.js} +197 -197
- package/dist/{gateway-rpc-DogQQ77j.js → gateway-rpc-CIkWW5n2.js} +3 -3
- package/dist/{globals-BRyHSrWD.js → globals-3lUHnZas.js} +7 -7
- package/dist/{gmail-setup-utils-CahF-fra.js → gmail-setup-utils-CBsUX2F0.js} +2 -2
- package/dist/{health-CKyXEs4C.js → health-CkjZqvKv.js} +11 -11
- package/dist/{health-format-81amZFDs.js → health-format-CCvWwiB3.js} +1 -1
- package/dist/{heartbeat-tick-SbqJkBFN.js → heartbeat-tick-BVllHRaT.js} +1 -1
- package/dist/{help-format-CUXi0c_1.js → help-format-BQ0UHPHt.js} +1 -1
- package/dist/{helpers-CmoGqLct.js → helpers-DpVn76ht.js} +1 -1
- package/dist/{hooks-cli-BQlL_eiX.js → hooks-cli-Ced8bfd_.js} +107 -107
- package/dist/{hooks-status-BcYtOqKY.js → hooks-status-CxaWMb-v.js} +2 -2
- package/dist/{image-ops-BFv9Aw5H.js → image-ops-C0np5f9V.js} +11 -11
- package/dist/{inspect-DmQmgYu2.js → inspect-GlutPeaP.js} +4 -4
- package/dist/{install-safe-path-BZ4b1O0D.js → install-safe-path-2eEPQsHT.js} +25 -25
- package/dist/{installs-D16nEuyM.js → installs-DSwIaqJH.js} +10 -10
- package/dist/{ipv4-DV6XbKGD.js → ipv4-BexgmRwg.js} +2 -2
- package/dist/{ir-BbGjFYnq.js → ir-BoNkouUO.js} +8 -8
- package/dist/{ir-BczXO28b.js → ir-D___VWlp.js} +4 -4
- package/dist/{issue-format-OFCh_2sH.js → issue-format-DhAa1_iS.js} +1 -1
- package/dist/{jobs-Pj6_tyn5.js → jobs-D8gtzx-n.js} +3 -3
- package/dist/{json-files-CNVg1Wi5.js → json-files-CurKd8gy.js} +28 -28
- package/dist/{json-files-G3m05NRY.js → json-files-DNNBEygD.js} +7 -7
- package/dist/{legacy-names-CRCLZarD.js → legacy-names-D7ywm6_7.js} +1 -1
- package/dist/{lifecycle-core-BI6xkw0D.js → lifecycle-core-BP96hEWA.js} +9 -9
- package/dist/{links-BRY-h8H0.js → links-CPIBVJ0k.js} +1 -1
- package/dist/llm-slug-generator.js +50 -50
- package/dist/{log-tail-DeaaUA7g.js → log-tail-DoAwmIXn.js} +7 -7
- package/dist/{logging-C7kf6mNZ.js → logging-CjgQOisq.js} +1 -1
- package/dist/{logs-cli-DQhMoYgT.js → logs-cli-CIeDTp3g.js} +18 -18
- package/dist/{manager-Be7W1lBp.js → manager-B5VtBnfA.js} +14 -14
- package/dist/{manager-C5AVBxrT.js → manager-vjvTALqw.js} +9 -9
- package/dist/{manager-ywiQQ5nv.js → manager-yAtdyPwQ.js} +18 -18
- package/dist/{markdown-tables-i_PaXF56.js → markdown-tables-BwQlrMEW.js} +2 -2
- package/dist/{markdown-tables-CmGUH7Wy.js → markdown-tables-DfqPFbkZ.js} +2 -2
- package/dist/{memory-cli-vUKqKvFg.js → memory-cli-DajAbkdp.js} +19 -19
- package/dist/{model-UbsJmYeh.js → model-A1TZLzNB.js} +2 -2
- package/dist/{model-catalog-D1B81cpq.js → model-catalog-BcJh6M8w.js} +4 -4
- package/dist/{model-picker-D7AGuTS7.js → model-picker-BYGP4JvH.js} +4 -4
- package/dist/{model-selection-BJZFC8fA.js → model-selection-B7FYf8Fo.js} +83 -83
- package/dist/{models-wwUL9ZYa.js → models-CaKTiIIq.js} +22 -22
- package/dist/{models-cli-DYk-Xwo5.js → models-cli-BA6zwth-.js} +107 -107
- package/dist/{models-config-CC5yFmpv.js → models-config-CBX2i56k.js} +7 -7
- package/dist/{node-cli-B7Zt1yCl.js → node-cli-BF1J4vkA.js} +43 -43
- package/dist/{node-command-policy-C-htkgT_.js → node-command-policy-S97zDTm2.js} +1 -1
- package/dist/{node-service-Ch4eBsUZ.js → node-service-Drxz78wf.js} +1 -1
- package/dist/{nodes-cli-CEm6ENzh.js → nodes-cli-BzNwotgj.js} +23 -23
- package/dist/{nodes-screen-DO6BNCQ6.js → nodes-screen-Brwiveoh.js} +8 -8
- package/dist/{note-Dq9MhE7Z.js → note-D-rFqUUL.js} +2 -2
- package/dist/{npm-pack-install-B__b0nDK.js → npm-pack-install-BwupN_XV.js} +23 -23
- package/dist/{npm-resolution-2lzpgd44.js → npm-resolution-DoQ0TbSm.js} +5 -5
- package/dist/{oauth-tls-preflight-CzOK4dkk.js → oauth-tls-preflight-CU1ceznS.js} +1 -1
- package/dist/{onboard-channels-CDVGqsGH.js → onboard-channels-aStIhqMG.js} +24 -24
- package/dist/{onboard-custom-BJe8lC0m.js → onboard-custom-CF-Qyb3Y.js} +4 -4
- package/dist/{onboard-helpers-ByS2aPrW.js → onboard-helpers-Bz91Pf6D.js} +13 -13
- package/dist/{onboard-hooks-ColglUdK.js → onboard-hooks-CP5ICg3d.js} +6 -6
- package/dist/{onboard-remote-CATwWYLS.js → onboard-remote-DkBLTgQh.js} +5 -5
- package/dist/{onboard-skills-CmLqdEyd.js → onboard-skills-BdbiUQFJ.js} +4 -4
- package/dist/{onboard-_LkcuZt4.js → onboard-uXr7A8A7.js} +11 -11
- package/dist/{onboarding-Z7sHNPIN.js → onboarding-CHVuwQW-.js} +18 -18
- package/dist/{onboarding.finalize-B2oQRJVj.js → onboarding.finalize-D4_usXNq.js} +115 -115
- package/dist/{onboarding.gateway-config-isEZPjpx.js → onboarding.gateway-config-DKqp9L2Q.js} +21 -21
- package/dist/{onboarding.secret-input--lcWBs-r.js → onboarding.secret-input-Bly8kI9z.js} +1 -1
- package/dist/{openai-model-default-BHLjGfhz.js → openai-model-default-hQ_Lz4xl.js} +2 -2
- package/dist/{openclaw-root-B6Tk0FH8.js → openclaw-root-CvJ5CJns.js} +2 -2
- package/dist/{operator-commands-WFKXbJHh.js → operator-commands-1PttwYpR.js} +6 -6
- package/dist/{outbound-attachment-BXAhY7Q6.js → outbound-attachment-BJq1brbB.js} +2 -2
- package/dist/{outbound-attachment-BbJWA7EA.js → outbound-attachment-DK190u8V.js} +2 -2
- package/dist/{outbound-message-hooks-_I696mNI.js → outbound-message-hooks-BvKzCtP_.js} +5 -5
- package/dist/{outbound-message-hooks-CjfNIFcN.js → outbound-message-hooks-Dl2zci3u.js} +5 -5
- package/dist/{pairing-cli-dhBxo6Vw.js → pairing-cli-CjvOW_Qy.js} +10 -10
- package/dist/{pairing-labels-BDuNTDsa.js → pairing-labels-BSl8PmyI.js} +1 -1
- package/dist/{pairing-store-ZXK7b5SG.js → pairing-store-BbBjVYYR.js} +4 -4
- package/dist/{path-alias-guards-L34PKmdW.js → path-alias-guards-DhwCAYKX.js} +3 -3
- package/dist/{path-alias-guards-BV6CR8H3.js → path-alias-guards-nWrE5acE.js} +1 -1
- package/dist/{path-safety-DHLkivTI.js → path-safety-Dibh-nnA.js} +1 -1
- package/dist/{pi-embedded-D6Ti_RiY.js → pi-embedded-1pY41iFz.js} +267 -267
- package/dist/{pi-embedded-BzjQS2tl.js → pi-embedded-BAKd4NmP.js} +18 -18
- package/dist/{pi-embedded-helpers--xcGBKr8.js → pi-embedded-helpers-BbOp_MHS.js} +6 -6
- package/dist/{pi-embedded-recovery-adapter-Cct1moq2.js → pi-embedded-recovery-adapter-mI-4XOPi.js} +37 -37
- package/dist/{pi-embedded-utils-Bqo7G8Hn.js → pi-embedded-utils-Df8_gFa-.js} +2 -2
- package/dist/{pi-model-discovery-Rjo2hv2p.js → pi-model-discovery-BWXqga5N.js} +1 -1
- package/dist/{pi-model-discovery-PH-bhX7g.js → pi-model-discovery-CusLASy5.js} +7 -7
- package/dist/{pid-alive-TVJ4mVal.js → pid-alive-DIe5jzmE.js} +1 -1
- package/dist/{plugin-auto-enable-CbW6trDK.js → plugin-auto-enable-BtVVoq7k.js} +2 -2
- package/dist/{plugin-owned-work-recovery-adapter-CStAW3lt.js → plugin-owned-work-recovery-adapter-Civ7pCIM.js} +7 -7
- package/dist/{plugin-registry-BPGjlX1-.js → plugin-registry-B9Gdebb5.js} +4 -4
- package/dist/plugin-sdk/{agent-scope-Brtnf-qo.js → agent-scope-DsdTj4Lw.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-B7OZd3j0.js +53 -0
- package/dist/plugin-sdk/{agent-turn-runner-BoyCp6a7.js → agent-turn-runner-DFx8RFgs.js} +7 -7
- package/dist/plugin-sdk/{api-key-rotation-rNPxdoXy.js → api-key-rotation-DLFDIQvI.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-7GBWBtz1.js → audio-preflight-BuvLfTSs.js} +18 -18
- package/dist/plugin-sdk/{audio-transcription-runner-Dh6ZjtWU.js → audio-transcription-runner-DVeHis5y.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-C9WuWuhF.js → auth-profiles-DWv_drRN.js} +3 -3
- package/dist/plugin-sdk/{chat-content-CLCeI_Qk.js → chat-content-CpswkXNb.js} +14 -14
- package/dist/{chrome-D-DfD0Cv.js → plugin-sdk/chrome-3OYkv183.js} +7 -7
- package/dist/plugin-sdk/{chunk-cBcZnYwM.js → chunk-BzqRmzIt.js} +4 -4
- package/dist/plugin-sdk/{command-queue-7UljN6ld.js → command-queue-CN4gqnUj.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-D2pMVn_S.js → commands-registry-Bdwwpat-.js} +3 -3
- package/dist/plugin-sdk/deliver-B5KEZCZc.js +30 -0
- package/dist/plugin-sdk/{deliver-Bg_r4acr.js → deliver-hk3L8q2Q.js} +13 -13
- package/dist/plugin-sdk/{diagnostic-Cr-CoLa3.js → diagnostic-CEwjaZ_7.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-session-state-DX8FyVQw.js → diagnostic-session-state-BzWdoxLm.js} +1 -1
- package/dist/plugin-sdk/{errors-D358LwuI.js → errors-CsbG_v7K.js} +1 -1
- package/dist/plugin-sdk/{fetch-Be4fqzal.js → fetch-DBno66KN.js} +1 -1
- package/dist/plugin-sdk/{fetch-ZGQKpqWb.js → fetch-WGWEe3le.js} +6 -6
- package/dist/plugin-sdk/{fetch-guard-BKTJU-gg.js → fetch-guard-A8GwiDhx.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B3AzvZ4l.js → fs-safe-1aioFv3e.js} +3 -3
- package/dist/plugin-sdk/{inbound-context-BtSlo1sB.js → inbound-context-Bxf_1vgP.js} +1 -1
- package/dist/plugin-sdk/{ir-B4yx0AL3.js → ir-D_W-MQYl.js} +4 -4
- package/dist/plugin-sdk/{json-files-B__As2nb.js → json-files-BnqU_vp9.js} +6 -6
- package/dist/plugin-sdk/manager-B_wRtuCz.js +14 -0
- package/dist/plugin-sdk/{manager-BINTVC6-.js → manager-UVkpOLce.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-DFUNbiGy.js → markdown-tables-DN5kZ7HX.js} +3 -3
- package/dist/plugin-sdk/{monitor-Cv-Hb6Vg.js → monitor-1WWBQbrJ.js} +88 -88
- package/dist/plugin-sdk/{outbound-attachment-DRUsY_P3.js → outbound-attachment-D2FAxmw-.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CRi90QdZ.js → path-alias-guards-BaV88b3G.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-DpiYKs_-.js → pi-model-discovery-eQO5jtHE.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-CIuwPWhR.js +53 -0
- package/dist/plugin-sdk/{proxy-env-CAAaD_vE.js → proxy-env-iizeE-yn.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DF_oDAcU.js → pw-ai-RkUVP2CG.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-DxXmjvMl.js → qmd-manager-DtWRq-3E.js} +8 -8
- package/dist/plugin-sdk/{qmd-scope-mVSXoI81.js → qmd-scope-hKKHM7ur.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-Bu7AUpJ5.js → query-expansion-BF9IjXa5.js} +2 -2
- package/dist/plugin-sdk/{recorder-BsamU-hC.js → recorder-EjxEn6z5.js} +2 -2
- package/dist/plugin-sdk/{redact-Lv3jVFd_.js → redact-CuefNlXl.js} +1 -1
- package/dist/plugin-sdk/{registry-CSJhdmW7.js → registry-B-PTnKXn.js} +6 -6
- package/dist/plugin-sdk/replies-BWD2mqj4.js +24 -0
- package/dist/plugin-sdk/{replies-CFNkUmLR.js → replies-CgjY5QeJ.js} +5 -5
- package/dist/plugin-sdk/{reply-prefix-DNyziUbc.js → reply-prefix-B_4F5prZ.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-CBCLd9yp.js → resolve-route-BHhFfPZt.js} +4 -4
- package/dist/plugin-sdk/{send-b1bp0W-q.js → send-BCEdvryY.js} +8 -8
- package/dist/plugin-sdk/{send-kEZiGg40.js → send-BJGiPB1S.js} +8 -8
- package/dist/plugin-sdk/send-C6pt4yW6.js +21 -0
- package/dist/plugin-sdk/{send-DCt-5Eqo.js → send-CFy9VJtY.js} +6 -6
- package/dist/plugin-sdk/{send-Dx8aO_vF.js → send-CIwbHo3j.js} +16 -16
- package/dist/plugin-sdk/{send-1zs5bgjT.js → send-Ct68W7Yb.js} +7 -7
- package/dist/plugin-sdk/send-MGm8Xvbs.js +22 -0
- package/dist/plugin-sdk/send-WNRxCcA_.js +20 -0
- package/dist/plugin-sdk/{session-context-B4geQCsj.js → session-context-CMK0kc4L.js} +4 -4
- package/dist/plugin-sdk/{session-meta-cugffpHm.js → session-meta-CnQldSIv.js} +2 -2
- package/dist/plugin-sdk/{sessions-Dx1DxBM0.js → sessions-Bi3Stvmk.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-BIbJBws5.js → skill-commands-B-RjcEg8.js} +5 -5
- package/dist/plugin-sdk/{store-CP7sxsrB.js → store-BS62UMsC.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-CWWUdAWI.js +53 -0
- package/dist/plugin-sdk/{subsystem-BRH2eiRx.js → subsystem-DbM6sYsb.js} +4 -4
- package/dist/plugin-sdk/{tables-C-7zslmS.js → tables-rlu-3LoD.js} +1 -1
- package/dist/plugin-sdk/testing.js +46 -46
- package/dist/plugin-sdk/{tokens-DEiV8tMG.js → tokens-DnxgKy4h.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-DnYfACQq.js → tool-loop-detection-CvzazEft.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-Cx-DPR7Y.js → user-run-recording-CuHcEoPI.js} +3 -3
- package/dist/{plugins-cli-B3yDmnzB.js → plugins-cli-xEbYlD1N.js} +110 -110
- package/dist/{ports-CbxaZ4JR.js → ports-DkQ0JgDq.js} +2 -2
- package/dist/{ports-CbjXbpjb.js → ports-R8I-Rd2p.js} +3 -3
- package/dist/{program-CiwRqh1J.js → program-Rzncx3aZ.js} +106 -106
- package/dist/{progress-80iGSJGv.js → progress-DGJz2cvq.js} +2 -2
- package/dist/{prompt-select-styled-Ds_J2iyU.js → prompt-select-styled-BeWIYKDx.js} +48 -48
- package/dist/{prompt-style-DUK2H9pQ.js → prompt-style-CevZQqqE.js} +1 -1
- package/dist/{provider-auth-helpers-C20ZUFM2.js → provider-auth-helpers-CLBGTBnJ.js} +6 -6
- package/dist/{proxy-env-DXcKRnns.js → proxy-env-DrmTb0QW.js} +1 -1
- package/dist/{proxy-env-BcMrDxNo.js → proxy-env-t-re7bCo.js} +1 -1
- package/dist/{push-apns-DspwiDEu.js → push-apns-CcZhsDRS.js} +10 -10
- package/dist/{pw-ai-ByUzz5o2.js → pw-ai-6cOpjyxA.js} +13 -13
- package/dist/{pw-ai-qlENNDHC.js → pw-ai-CPIjXEgJ.js} +1 -1
- package/dist/{pw-ai-BH-VHtsR.js → pw-ai-h0Uxwko3.js} +18 -18
- package/dist/{qmd-manager-CPPURYfg.js → qmd-manager-BYC9bX-E.js} +12 -12
- package/dist/{qmd-manager-JUjGk3hv.js → qmd-manager-DR95ckLZ.js} +25 -25
- package/dist/{qmd-scope-dd_YbPG-.js → qmd-scope-D6tMcgqR.js} +1 -1
- package/dist/{qmd-scope-bewl8Eiz.js → qmd-scope-DGZXz9jW.js} +1 -1
- package/dist/{qr-cli-Bk-iHfQo.js → qr-cli-K0UQq59w.js} +9 -9
- package/dist/{query-expansion-0S2l-J2-.js → query-expansion-CnQI0IeV.js} +13 -13
- package/dist/{query-expansion-BzoTldVy.js → query-expansion-DtX8mWw8.js} +10 -10
- package/dist/{reconcile-bundled-DM4QcNVH.js → reconcile-bundled-V0NDG76P.js} +3 -3
- package/dist/{recorder-CrrhLZt5.js → recorder-B7dhxQ62.js} +2 -2
- package/dist/{recorder-CLU0QuFV.js → recorder-C5MQyLQu.js} +2 -2
- package/dist/{recovery-adapter-CjmLDOyV.js → recovery-adapter-BRrpxylo.js} +2 -2
- package/dist/{recovery-adapter-ye4l6Gn4.js → recovery-adapter-C1kHnt9q.js} +3 -3
- package/dist/{recovery-adapter-ipXNpK0H.js → recovery-adapter-D14MlfbA.js} +7 -7
- package/dist/{recovery-prompt-Bmmt8OXc.js → recovery-prompt-BEH6XjKs.js} +1 -1
- package/dist/{redact-BkE4uRXu.js → redact-CysJDryP.js} +1 -1
- package/dist/{redact-snapshot-46g6fP3z.js → redact-snapshot-Dr2xSc0p.js} +2 -2
- package/dist/{register.agent-BAgBhHHu.js → register.agent-C5VjXiOa.js} +121 -121
- package/dist/register.configure-BrZHLfY5.js +169 -0
- package/dist/{register.maintenance-DZSlUCjt.js → register.maintenance-CRkCaoyK.js} +129 -129
- package/dist/{register.message-CmwWkv0S.js → register.message-T_8nxRk5.js} +100 -100
- package/dist/{register.onboard-D2FYzcez.js → register.onboard-V55Y2Ubu.js} +26 -26
- package/dist/{register.setup-Dviebdoo.js → register.setup-CADjhLHK.js} +29 -29
- package/dist/{register.status-health-sessions-ShjYv_Uh.js → register.status-health-sessions-DdVD0IOM.js} +119 -119
- package/dist/{register.subclis-DJxVoTQj.js → register.subclis-xNwfLrGG.js} +34 -34
- package/dist/{replies-j6q2EArA.js → replies-CP8xbTSR.js} +5 -5
- package/dist/{replies-DxPPKLeJ.js → replies-t1yaLy4q.js} +5 -5
- package/dist/{reply-directives-B_4oA3B0.js → reply-directives-De0PRN70.js} +2 -2
- package/dist/{reply-prefix-KAeJzNvt.js → reply-prefix-B0ufPLD2.js} +1 -1
- package/dist/{reply-prefix-BCu_i91I.js → reply-prefix-C7r81KLS.js} +1 -1
- package/dist/{reset-CDG1YZWx.js → reset-DxYrusrF.js} +1 -1
- package/dist/{resolve-route-WUZ7lH6L.js → resolve-route-BvD1w4_v.js} +4 -4
- package/dist/{resolve-route-IeN1DK4w.js → resolve-route-CZXzecu6.js} +5 -5
- package/dist/{rpc-C7VnW-Aw.js → rpc-Bg0RuGsL.js} +3 -3
- package/dist/{run-main-CnNc7DLd.js → run-main-C-PQ_TDh.js} +119 -119
- package/dist/{runs-0PYx5aDJ.js → runs-DzlzC2_b.js} +7 -7
- package/dist/{runtime-B1z-tYeF.js → runtime-DxtfUxa-.js} +4 -4
- package/dist/{runtime-config-Dm2RpLJ7.js → runtime-config-DZ4anlFD.js} +1 -1
- package/dist/{runtime-config-collectors-Chqse-1v.js → runtime-config-collectors-rhm6uhD8.js} +1 -1
- package/dist/{runtime-guard-BGWl62dI.js → runtime-guard-7e_ZRPFH.js} +1 -1
- package/dist/{sandbox-DSs8pONL.js → sandbox-BcT2OU_g.js} +21 -21
- package/dist/{sandbox-cli-X1PaKHUO.js → sandbox-cli-Cghszshw.js} +33 -33
- package/dist/{secrets-cli-D1DpG6VH.js → secrets-cli-2cyObDEq.js} +16 -16
- package/dist/{security-cli-ZmvFe4nX.js → security-cli-y5Ln-Bce.js} +47 -47
- package/dist/{send-DizMtGn_.js → send-36dNynVs.js} +7 -7
- package/dist/{send-lY0a6iA2.js → send-4WdiWuFu.js} +8 -8
- package/dist/{send-CFG2EYja.js → send-BZv91SjC.js} +6 -6
- package/dist/{send-0JKFG0wR.js → send-CFvOM8pI.js} +6 -6
- package/dist/{send-BPuhxPvx.js → send-CVaGAWEm.js} +6 -6
- package/dist/{send-80rMjd6V.js → send-CjR30q4U.js} +8 -8
- package/dist/{send-S06NYAWt.js → send-D1V_gt-x.js} +13 -13
- package/dist/{send-D1aXT71a.js → send-bmlVFiBl.js} +7 -7
- package/dist/{server-B_-KxUi3.js → server-DvHjKPLj.js} +24 -24
- package/dist/{server-context-D_ZTBjWX.js → server-context-DXaMid9A.js} +12 -12
- package/dist/{server-lifecycle-CAXoy64R.js → server-lifecycle-BHXiQH6m.js} +3 -3
- package/dist/{server-middleware-BxKu1j_s.js → server-middleware-CaVc3KiU.js} +1 -1
- package/dist/{server-node-events-3XEsy92y.js → server-node-events-D_Ue3RLX.js} +100 -100
- package/dist/{service-DMkBvr4B.js → service-DoOh34VG.js} +15 -15
- package/dist/{session-consumer-agents-CBqraSzI.js → session-consumer-agents-Zo97FAeD.js} +1 -1
- package/dist/{session-consumer-claim-sweep-AZ5o8Cu-.js → session-consumer-claim-sweep-xufX6DVl.js} +9 -9
- package/dist/{session-key-BRw3GFxY.js → session-key-Cr27HfX5.js} +1 -1
- package/dist/{session-meta-BjRAI6ON.js → session-meta-BeqTuIFU.js} +1 -1
- package/dist/{session-meta-WRN3ZcJ5.js → session-meta-wyuckoIK.js} +1 -1
- package/dist/{session-storage-7cXTEQfZ.js → session-storage-CwLPwLoF.js} +22 -22
- package/dist/{session-storage-owner-BLPjnobT.js → session-storage-owner-D0BMYGR6.js} +53 -53
- package/dist/{session-store-targets-i0Ss9Rbv.js → session-store-targets-hup1YSx3.js} +3 -3
- package/dist/{session-utils-Btoq903T.js → session-utils-BsJs6MoS.js} +9 -9
- package/dist/{sessions-B6iaKddN.js → sessions-BjSGNjb0.js} +5 -5
- package/dist/{sessions-Dp4oQDh2.js → sessions-CXVIRQ7I.js} +6 -6
- package/dist/{sessions-DPV-OS7q.js → sessions-D5-WnU1c.js} +5 -5
- package/dist/{sessions-Bi3UGKUO.js → sessions-DQ3diYco.js} +17 -17
- package/dist/{sessions-claims-status-Dhd9Pthy.js → sessions-claims-status-BIYvHBRD.js} +11 -11
- package/dist/{sessions-maintenance-core-C2cCpUiU.js → sessions-maintenance-core-CmawGRLz.js} +8 -8
- package/dist/{setup-helpers-zG3DfqLd.js → setup-helpers-BQ-rg8A3.js} +1 -1
- package/dist/{shared-B32sbGiP.js → shared-CN5xidM6.js} +4 -4
- package/dist/{shared-COhRUP1S.js → shared-DCN12ugV.js} +2 -2
- package/dist/{skill-commands-BG0ravVA.js → skill-commands-CcrQquVr.js} +8 -8
- package/dist/{skill-commands-BktltILY.js → skill-commands-DKmd3uhq.js} +7 -7
- package/dist/{skill-scanner-ubz0B8p_.js → skill-scanner-YQwX3yC-.js} +7 -7
- package/dist/{skills-cli-DE9fB_sx.js → skills-cli-mRBgNuUB.js} +9 -9
- package/dist/{skills-install-Cu_sfOVw.js → skills-install-B5X0Cyhn.js} +9 -9
- package/dist/{skills-CWQC3bQU.js → skills-rshN3U9G.js} +6 -6
- package/dist/{skills-status--U7Dyunf.js → skills-status-C40ecVhY.js} +3 -3
- package/dist/{status-CCetLhy5.js → status-D-NG9OFK.js} +49 -49
- package/dist/{status.update-CHNp32m-.js → status.update-BjR63JWs.js} +2 -2
- package/dist/{storage-config-CS0-6wW6.js → storage-config-BJj76p6F.js} +4 -4
- package/dist/{store-ccSeveJ0.js → store-BKtDaCRf.js} +7 -7
- package/dist/{store-BXWb__DD.js → store-DniD8E6a.js} +7 -7
- package/dist/{subsystem-BNf8H-Zm.js → subsystem-xTuYkxuQ.js} +1 -1
- package/dist/{supervisor-RBm1KDN1.js → supervisor-CbcownOj.js} +2 -2
- package/dist/{system-cli-YRe6nHya.js → system-cli-CqiLRr8j.js} +13 -13
- package/dist/{system-run-command-CtzUrDfp.js → system-run-command-DmwSJZGF.js} +2 -2
- package/dist/{systemd-CyRDQg6V.js → systemd-DCrSOh9E.js} +11 -11
- package/dist/{systemd-hints-CPEnXHmj.js → systemd-hints-Dc0OitcD.js} +9 -9
- package/dist/{systemd-linger-AXTvmw5z.js → systemd-linger-j9L7X6dA.js} +2 -2
- package/dist/{table-BRTxbR4E.js → table-Buk61GwP.js} +2 -2
- package/dist/{tables-BhzelQWA.js → tables-B62PgWcr.js} +1 -1
- package/dist/{tables-CBpS5G91.js → tables-BbmkAuhA.js} +1 -1
- package/dist/{tailnet-CBZAvwAf.js → tailnet-B5JdDATD.js} +1 -1
- package/dist/{tailscale-IMHmOQwv.js → tailscale-BiCf3X3Y.js} +2 -2
- package/dist/{task-pipeline-boot-BqE_GrmQ.js → task-pipeline-boot-DgTg-CLO.js} +100 -100
- package/dist/{task-runlog-retention-v6UWCQjX.js → task-runlog-retention-Cq2OgFdi.js} +5 -5
- package/dist/{tasks-B4CFmiA3.js → tasks-B8WGpUhG.js} +11 -11
- package/dist/{tokens-Q7TMdIpT.js → tokens-C2ll8wSq.js} +1 -1
- package/dist/{tokens-B0SYKifB.js → tokens-D5eYPE3_.js} +1 -1
- package/dist/{tool-display-CjfVgl4p.js → tool-display-BuSkjyOX.js} +1 -1
- package/dist/{tool-loop-detection-CVIDnpv_.js → tool-loop-detection-B0Jj6y2H.js} +2 -2
- package/dist/{tool-loop-detection--ScllGh1.js → tool-loop-detection-DcldeAQA.js} +2 -2
- package/dist/{trash-DhfDhVld.js → trash-D8OVe313.js} +3 -3
- package/dist/{tui-BtDuMK-Q.js → tui-Bbgsj5cD.js} +9 -9
- package/dist/{tui-cli-AAdDdzBF.js → tui-cli-BB3hPnig.js} +35 -35
- package/dist/{update-MKP9QOUt.js → update-OC3VeAt9.js} +3 -3
- package/dist/{update-cli-BSA_q7RE.js → update-cli-DqM1XIf_.js} +139 -139
- package/dist/{update-runner-BMqGHvjP.js → update-runner-CtQqJO0C.js} +18 -18
- package/dist/{user-run-recording-DNsWtMOn.js → user-run-recording-COpooN64.js} +2 -2
- package/dist/{user-run-recording-Cw29-tG1.js → user-run-recording-DrY68KAf.js} +2 -2
- package/dist/{validation-cli-VaCU6by-.js → validation-cli-CdS1nA-4.js} +99 -99
- package/dist/{web-cli-Dp96CkEW.js → web-cli-DvWcPGwe.js} +3 -3
- package/dist/{webhooks-cli--2FyIwfR.js → webhooks-cli-VMJNe3gx.js} +10 -10
- package/dist/{widearea-dns-BhBfoR1S.js → widearea-dns-CvnQrk1m.js} +1 -1
- package/dist/{with-timeout-BbJQtRIl.js → with-timeout-DG_Ef3S1.js} +6 -6
- package/dist/{workspace-C4JU6kgP.js → workspace-C8NxbJFT.js} +2 -2
- package/dist/{workspace-dirs-DBNKIvKX.js → workspace-dirs-B1dGJTd4.js} +1 -1
- package/dist/{workspace-D8z8s1Xz.js → workspace-xnzx7wEV.js} +26 -26
- package/dist/{ws-BafnkIRl.js → ws-Dnz-ugxp.js} +2 -2
- package/dist/{wsl-CG9o9v6x.js → wsl-Bm8bcioC.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/clawbot-cli-D1k1DpEc.js +0 -31
- package/dist/cli-Dc-MpdqR.js +0 -165
- package/dist/github-copilot-token-DrVydgnY.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/dist/plugin-sdk/agent-turn-execute-UxpRMk9j.js +0 -53
- package/dist/plugin-sdk/deliver-CM8QDSXe.js +0 -30
- package/dist/plugin-sdk/manager-DHw8x1pr.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-B7p6f3-i.js +0 -53
- package/dist/plugin-sdk/replies-Djswi7iH.js +0 -24
- package/dist/plugin-sdk/send-CTz3VFmd.js +0 -21
- package/dist/plugin-sdk/send-DsxMWGTy.js +0 -22
- package/dist/plugin-sdk/send-RHWHegWE.js +0 -20
- package/dist/plugin-sdk/subagent-registry-Ck6o6MPJ.js +0 -53
- package/dist/register.configure-zu159EnI.js +0 -169
- package/dist/subsystem-BOg9wqSC.js +0 -2777
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Eo as buildModelAliasIndex, Ho as resolveModelRefFromString, jo as modelKey, m as writeConfigFile, nl as DEFAULT_PROVIDER, u as readConfigFileSnapshot } from "./config-
|
|
2
|
-
import { p as normalizeAgentId } from "./session-key-
|
|
3
|
-
import { I as toAgentModelListLike, r as listAgentIds } from "./agent-scope-
|
|
1
|
+
import { Eo as buildModelAliasIndex, Ho as resolveModelRefFromString, jo as modelKey, m as writeConfigFile, nl as DEFAULT_PROVIDER, u as readConfigFileSnapshot } from "./config-D--rwfpd.js";
|
|
2
|
+
import { p as normalizeAgentId } from "./session-key-Cr27HfX5.js";
|
|
3
|
+
import { I as toAgentModelListLike, r as listAgentIds } from "./agent-scope-BZ0wFh-U.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
5
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
5
|
+
import { n as formatConfigIssueLines } from "./issue-format-DhAa1_iS.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
1
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
3
3
|
import { m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-C6ozS4px.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-DoOh34VG.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, n as listAgentIds, s as resolveAgentSkillsFilter } from "./agent-scope-
|
|
3
|
-
import { l as resolveStateDir } from "./paths-
|
|
4
|
-
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, n as listAgentIds, s as resolveAgentSkillsFilter } from "./agent-scope-CoIdVzmg.js";
|
|
3
|
+
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
|
+
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
5
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
6
|
-
import { i as buildWorkspaceSkillCommandSpecs, t as createAsyncLock, u as resolvePluginSkillDirs } from "./json-files-
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
6
|
+
import { i as buildWorkspaceSkillCommandSpecs, t as createAsyncLock, u as resolvePluginSkillDirs } from "./json-files-CurKd8gy.js";
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-D3lOVOa7.js";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import syncFs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import chokidar from "chokidar";
|
|
@@ -248,13 +248,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
248
248
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
249
249
|
for (const agentId of agentIds) {
|
|
250
250
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
251
|
-
if (!
|
|
251
|
+
if (!syncFs.existsSync(workspaceDir)) {
|
|
252
252
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
253
253
|
continue;
|
|
254
254
|
}
|
|
255
255
|
let canonicalDir;
|
|
256
256
|
try {
|
|
257
|
-
canonicalDir =
|
|
257
|
+
canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
258
258
|
} catch {
|
|
259
259
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
260
260
|
continue;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { St as resolveUserPath, a as logVerbose, ct as CONFIG_DIR } from "./globals-
|
|
2
|
+
import { St as resolveUserPath, a as logVerbose, ct as CONFIG_DIR } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as resolvePluginSkillDirs, i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
8
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
5
|
+
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-BZ0wFh-U.js";
|
|
6
|
+
import { c as resolvePluginSkillDirs, i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs } from "./skills-rshN3U9G.js";
|
|
7
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DNNBEygD.js";
|
|
8
|
+
import { a as listChatCommands } from "./commands-registry-CWGturUV.js";
|
|
9
9
|
import { a as resolvePairingPaths, i as pruneExpiredPending, n as verifyPairingToken, o as upsertPendingPairingRequest, r as rejectPendingPairingRequest, t as generatePairingToken } from "./pairing-token-D1vOP4TH.js";
|
|
10
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
10
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-B1dGJTd4.js";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { z as isPathInside } from "./globals-
|
|
1
|
+
import { z as isPathInside } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { o as hasErrnoCode } from "./errors-zRgI_PDI.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/security/skill-scanner.ts
|
|
7
7
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -195,7 +195,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
195
195
|
async function readDirEntriesWithCache(dirPath) {
|
|
196
196
|
let st = null;
|
|
197
197
|
try {
|
|
198
|
-
st = await
|
|
198
|
+
st = await fsPromises.stat(dirPath);
|
|
199
199
|
} catch (err) {
|
|
200
200
|
if (hasErrnoCode(err, "ENOENT")) return [];
|
|
201
201
|
throw err;
|
|
@@ -203,7 +203,7 @@ async function readDirEntriesWithCache(dirPath) {
|
|
|
203
203
|
if (!st?.isDirectory()) return [];
|
|
204
204
|
const cached = DIR_ENTRY_CACHE.get(dirPath);
|
|
205
205
|
if (cached && cached.mtimeMs === st.mtimeMs) return cached.entries;
|
|
206
|
-
const dirents = await
|
|
206
|
+
const dirents = await fsPromises.readdir(dirPath, { withFileTypes: true });
|
|
207
207
|
const entries = [];
|
|
208
208
|
for (const entry of dirents) if (entry.isDirectory()) entries.push({
|
|
209
209
|
name: entry.name,
|
|
@@ -230,7 +230,7 @@ async function resolveForcedFiles(params) {
|
|
|
230
230
|
if (seen.has(includePath)) continue;
|
|
231
231
|
let st = null;
|
|
232
232
|
try {
|
|
233
|
-
st = await
|
|
233
|
+
st = await fsPromises.stat(includePath);
|
|
234
234
|
} catch (err) {
|
|
235
235
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
236
236
|
throw err;
|
|
@@ -263,7 +263,7 @@ async function scanFileWithCache(params) {
|
|
|
263
263
|
const { filePath, maxFileBytes } = params;
|
|
264
264
|
let st = null;
|
|
265
265
|
try {
|
|
266
|
-
st = await
|
|
266
|
+
st = await fsPromises.stat(filePath);
|
|
267
267
|
} catch (err) {
|
|
268
268
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
269
269
|
scanned: false,
|
|
@@ -300,7 +300,7 @@ async function scanFileWithCache(params) {
|
|
|
300
300
|
}
|
|
301
301
|
let source;
|
|
302
302
|
try {
|
|
303
|
-
source = await
|
|
303
|
+
source = await fsPromises.readFile(filePath, "utf-8");
|
|
304
304
|
} catch (err) {
|
|
305
305
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
306
306
|
scanned: false,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Tt as shortenHomePath, p as theme } from "./globals-
|
|
1
|
+
import { Tt as shortenHomePath, p as theme } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { c as loadConfig } from "./config-
|
|
5
|
+
import { c as loadConfig } from "./config-D--rwfpd.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import "./exec-
|
|
7
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BZ0wFh-U.js";
|
|
8
|
+
import "./exec-DWOKM6EC.js";
|
|
9
9
|
import "./github-copilot-token-CvN6iidT.js";
|
|
10
|
-
import "./pid-alive-
|
|
10
|
+
import "./pid-alive-DIe5jzmE.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
12
12
|
import "./static-app-DG39qMau.js";
|
|
13
13
|
import "./retry-policy-BIRWkDiU.js";
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
15
|
-
import { t as renderTable } from "./table-
|
|
14
|
+
import { t as formatDocsLink } from "./links-CPIBVJ0k.js";
|
|
15
|
+
import { t as renderTable } from "./table-Buk61GwP.js";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/skills-cli.format.ts
|
|
18
18
|
function appendClawHubHint(output, json) {
|
|
@@ -230,7 +230,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
230
230
|
async function loadSkillsStatusReport() {
|
|
231
231
|
const config = loadConfig();
|
|
232
232
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
233
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status
|
|
233
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-C40ecVhY.js").then((n) => n.n);
|
|
234
234
|
return buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
235
235
|
}
|
|
236
236
|
async function runSkillsAction(render) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { St as resolveUserPath, bt as resolveConfigDir, mt as ensureDir } from "./globals-
|
|
2
|
-
import { c as loadConfig } from "./config-
|
|
3
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { St as resolveUserPath, bt as resolveConfigDir, mt as ensureDir } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { c as loadConfig } from "./config-D--rwfpd.js";
|
|
3
|
+
import { t as runCommandWithTimeout } from "./exec-DWOKM6EC.js";
|
|
4
4
|
import { d as hasBinary } from "./frontmatter-wrSOvVEg.js";
|
|
5
|
-
import { S as resolveSkillKey, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-
|
|
6
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
5
|
+
import { S as resolveSkillKey, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-rshN3U9G.js";
|
|
6
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-sWugzmbo.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-qRiQMP-8.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-TJQinE0a.js";
|
|
9
9
|
import { t as resolveBrewExecutable } from "./brew-CKGO8U5A.js";
|
|
10
|
-
import { t as isWithinDir } from "./path-safety-
|
|
11
|
-
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-
|
|
12
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
10
|
+
import { t as isWithinDir } from "./path-safety-Dibh-nnA.js";
|
|
11
|
+
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-2eEPQsHT.js";
|
|
12
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-YQwX3yC-.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as isPathInsideWithRealpath, St as resolveUserPath, X as isPathInside, ct as CONFIG_DIR, kt as resolvePreferredOpenClawTmpDir, tt as isDangerousHostEnvVarName } from "./globals-
|
|
1
|
+
import { B as isPathInsideWithRealpath, St as resolveUserPath, X as isPathInside, ct as CONFIG_DIR, kt as resolvePreferredOpenClawTmpDir, tt as isDangerousHostEnvVarName } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { St as resolveMemorySlotDecision, Xc as normalizeResolvedSecretInputString, bt as resolveEffectiveEnableState, dt as loadPluginManifestRegistry, yt as normalizePluginsConfig } from "./config-
|
|
5
|
-
import { N as normalizeSkillFilter } from "./agent-scope-
|
|
6
|
-
import { r as resolveOpenClawPackageRootSync } from "./openclaw-root-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
|
+
import { St as resolveMemorySlotDecision, Xc as normalizeResolvedSecretInputString, bt as resolveEffectiveEnableState, dt as loadPluginManifestRegistry, yt as normalizePluginsConfig } from "./config-D--rwfpd.js";
|
|
5
|
+
import { N as normalizeSkillFilter } from "./agent-scope-BZ0wFh-U.js";
|
|
6
|
+
import { r as resolveOpenClawPackageRootSync } from "./openclaw-root-CvJ5CJns.js";
|
|
7
7
|
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-wrSOvVEg.js";
|
|
8
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
8
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DhwCAYKX.js";
|
|
9
9
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ct as CONFIG_DIR } from "./globals-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { ct as CONFIG_DIR } from "./globals-3lUHnZas.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import { d as hasBinary } from "./frontmatter-wrSOvVEg.js";
|
|
5
|
-
import { b as resolveBundledAllowlist, i as loadWorkspaceSkillEntries, l as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, v as isBundledSkillAllowed, x as resolveSkillConfig, y as isConfigPathTruthy } from "./skills-
|
|
5
|
+
import { b as resolveBundledAllowlist, i as loadWorkspaceSkillEntries, l as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, v as isBundledSkillAllowed, x as resolveSkillConfig, y as isConfigPathTruthy } from "./skills-rshN3U9G.js";
|
|
6
6
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-xQNGl_Dy.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as isRich, n as info, p as theme } from "./globals-
|
|
2
|
+
import { f as isRich, n as info, p as theme } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { g as resolveStateDir, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { $n as resolveFreshSessionTotalTokens, Ar as listChannelPlugins, Bn as loadSessionStore, Nn as SessionStorageUnavailableError, aa as createRootWorkAdmission, c as loadConfig, el as DEFAULT_CONTEXT_TOKENS, nl as DEFAULT_PROVIDER, ra as RecoveryAdmissionError, rn as listRestartRecoveryAdapters, tl as DEFAULT_MODEL, to as resolveGatewayConsoleBasePath, u as readConfigFileSnapshot, vr as resolveStorePath, zo as resolveConfiguredModelRef } from "./config-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
5
|
+
import { $n as resolveFreshSessionTotalTokens, Ar as listChannelPlugins, Bn as loadSessionStore, Nn as SessionStorageUnavailableError, aa as createRootWorkAdmission, c as loadConfig, el as DEFAULT_CONTEXT_TOKENS, nl as DEFAULT_PROVIDER, ra as RecoveryAdmissionError, rn as listRestartRecoveryAdapters, tl as DEFAULT_MODEL, to as resolveGatewayConsoleBasePath, u as readConfigFileSnapshot, vr as resolveStorePath, zo as resolveConfiguredModelRef } from "./config-D--rwfpd.js";
|
|
6
6
|
import { t as VERSION } from "./version-D_9__Xw6.js";
|
|
7
|
-
import { V as parseAgentSessionKey } from "./session-key-
|
|
8
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
9
|
-
import { n as runExec } from "./exec-
|
|
10
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
7
|
+
import { V as parseAgentSessionKey } from "./session-key-Cr27HfX5.js";
|
|
8
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-BZ0wFh-U.js";
|
|
9
|
+
import { n as runExec } from "./exec-DWOKM6EC.js";
|
|
10
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-CvJ5CJns.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
12
12
|
import { n as sha256HexPrefix } from "./redact-identifier-C6kZ-VCd.js";
|
|
13
|
-
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-
|
|
14
|
-
import { a as resolveSessionRunStore } from "./recorder-
|
|
13
|
+
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-qSzYP-xO.js";
|
|
14
|
+
import { a as resolveSessionRunStore } from "./recorder-C5MQyLQu.js";
|
|
15
15
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-C5fGFkGu.js";
|
|
16
|
-
import { It as readRestartSentinel, Lt as summarizeRestartSentinel, Nn as peekSystemEvents, Sn as formatUsageReportLines, ct as buildChannelAccountSnapshot, dt as resolveChannelAccountEnabled, i as resolveHeartbeatSummaryForAgent, lt as formatChannelAllowFrom, st as buildChannelSummary, ut as resolveChannelAccountConfigured, xn as loadProviderUsageSummary } from "./agent-turn-execute-
|
|
17
|
-
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-
|
|
18
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
19
|
-
import { r as resolveSessionStorageConfig } from "./storage-config-
|
|
20
|
-
import { et as resolveMainSessionKey } from "./sessions-
|
|
16
|
+
import { It as readRestartSentinel, Lt as summarizeRestartSentinel, Nn as peekSystemEvents, Sn as formatUsageReportLines, ct as buildChannelAccountSnapshot, dt as resolveChannelAccountEnabled, i as resolveHeartbeatSummaryForAgent, lt as formatChannelAllowFrom, st as buildChannelSummary, ut as resolveChannelAccountConfigured, xn as loadProviderUsageSummary } from "./agent-turn-execute-CGTvDxUE.js";
|
|
17
|
+
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-BiCf3X3Y.js";
|
|
18
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-R8I-Rd2p.js";
|
|
19
|
+
import { r as resolveSessionStorageConfig } from "./storage-config-BJj76p6F.js";
|
|
20
|
+
import { et as resolveMainSessionKey } from "./sessions-D5-WnU1c.js";
|
|
21
21
|
import { n as docsSiteUrl } from "./docs-site-B8KujBhr.js";
|
|
22
|
-
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-
|
|
23
|
-
import { s as isEmbeddedPiRunActive } from "./runs-
|
|
24
|
-
import { S as resolveContextTokensForModel, n as classifySessionKey, r as listAgentsForGateway, u as resolveSessionModelRef } from "./session-utils-
|
|
22
|
+
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-BY-wbSIJ.js";
|
|
23
|
+
import { s as isEmbeddedPiRunActive } from "./runs-DzlzC2_b.js";
|
|
24
|
+
import { S as resolveContextTokensForModel, n as classifySessionKey, r as listAgentsForGateway, u as resolveSessionModelRef } from "./session-utils-BsJs6MoS.js";
|
|
25
25
|
import { n as formatTimeAgo } from "./format-relative-BwbQjKKI.js";
|
|
26
26
|
import { r as formatDurationPrecise } from "./format-duration-DmZvnykp.js";
|
|
27
|
-
import { o as getRemoteSkillEligibility } from "./skill-commands-
|
|
28
|
-
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
29
|
-
import { g as resolveControlUiLinks } from "./onboard-helpers-
|
|
30
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
31
|
-
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-
|
|
32
|
-
import { n as withProgress } from "./progress-
|
|
27
|
+
import { o as getRemoteSkillEligibility } from "./skill-commands-DKmd3uhq.js";
|
|
28
|
+
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-MpNVd6gM.js";
|
|
29
|
+
import { g as resolveControlUiLinks } from "./onboard-helpers-Bz91Pf6D.js";
|
|
30
|
+
import { r as getMemorySearchManager } from "./memory-cli-DajAbkdp.js";
|
|
31
|
+
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-D0BMYGR6.js";
|
|
32
|
+
import { n as withProgress } from "./progress-DGJz2cvq.js";
|
|
33
33
|
import { a as recoveryIncidentKey } from "./incidents-B64m0hZw.js";
|
|
34
|
-
import { c as OwnerLockHeldError, d as createOwnerIdentity, f as RecoveryJournalError, i as REASON_PRIOR_OWNER_UNPROVEN, l as PriorOwnerLiveError, n as REASON_JOURNAL_UNWRITABLE, o as createRestartRecoveryController, p as openRecoveryJournal, r as REASON_OWNER_LOCK_HELD, s as OwnerFenceLostError, t as REASON_JOURNAL_CORRUPT, u as acquireOwnerFence } from "./controller-
|
|
35
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status
|
|
36
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
37
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
38
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
39
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
34
|
+
import { c as OwnerLockHeldError, d as createOwnerIdentity, f as RecoveryJournalError, i as REASON_PRIOR_OWNER_UNPROVEN, l as PriorOwnerLiveError, n as REASON_JOURNAL_UNWRITABLE, o as createRestartRecoveryController, p as openRecoveryJournal, r as REASON_OWNER_LOCK_HELD, s as OwnerFenceLostError, t as REASON_JOURNAL_CORRUPT, u as acquireOwnerFence } from "./controller-C5VfLHxD.js";
|
|
35
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-C40ecVhY.js";
|
|
36
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-DpVn76ht.js";
|
|
37
|
+
import { t as formatConfigIssueLine } from "./issue-format-DhAa1_iS.js";
|
|
38
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-DYdDrl6F.js";
|
|
39
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DoOh34VG.js";
|
|
40
40
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D6c3G7my.js";
|
|
41
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
42
|
-
import { t as renderTable } from "./table-
|
|
43
|
-
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
44
|
-
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-
|
|
45
|
-
import { t as CRON_HEARTBEAT_ADAPTER_ID } from "./recovery-adapter-
|
|
46
|
-
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
47
|
-
import { t as resolveNodeService } from "./node-service-
|
|
41
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-CbXyRsTN.js";
|
|
42
|
+
import { t as renderTable } from "./table-Buk61GwP.js";
|
|
43
|
+
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-CKbyr9j7.js";
|
|
44
|
+
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-CkjZqvKv.js";
|
|
45
|
+
import { t as CRON_HEARTBEAT_ADAPTER_ID } from "./recovery-adapter-BRrpxylo.js";
|
|
46
|
+
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DIx7V4k-.js";
|
|
47
|
+
import { t as resolveNodeService } from "./node-service-Drxz78wf.js";
|
|
48
48
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-wIeBvJLR.js";
|
|
49
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
49
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-BjR63JWs.js";
|
|
50
50
|
import { t as shortenText } from "./text-format-CkEu4wfe.js";
|
|
51
51
|
import { spawnSync } from "node:child_process";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
54
54
|
import fs, { mkdirSync } from "node:fs";
|
|
55
|
-
import
|
|
55
|
+
import fsPromises from "node:fs/promises";
|
|
56
56
|
import { createHash, createHmac, randomBytes, timingSafeEqual } from "node:crypto";
|
|
57
57
|
|
|
58
58
|
//#region src/commands/gateway-presence.ts
|
|
@@ -622,13 +622,13 @@ async function resolveGatewayRecoveryAdapters(cfg, opts) {
|
|
|
622
622
|
async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
623
623
|
const adapters = [];
|
|
624
624
|
const stateDir = resolveStateDir();
|
|
625
|
-
const { getConfiguredSessionStorageRuntime } = await import("./config-
|
|
625
|
+
const { getConfiguredSessionStorageRuntime } = await import("./config-D--rwfpd.js").then((n) => n.Kn);
|
|
626
626
|
const runtime = getConfiguredSessionStorageRuntime()?.runtime;
|
|
627
627
|
const gatewayInstanceId = getGatewayInstanceId();
|
|
628
|
-
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
628
|
+
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-qSzYP-xO.js").then((n) => n.t);
|
|
629
629
|
const backbone = tryGetAgentTurnRuntime()?.backbone;
|
|
630
630
|
const { createOutboundDeliveryRecoveryAdapter } = await import("./delivery-recovery-adapter-BqBpBcLA.js");
|
|
631
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
631
|
+
const { deliverOutboundPayloads } = await import("./deliver-CjuGs2ZT.js").then((n) => n.n);
|
|
632
632
|
adapters.push(createOutboundDeliveryRecoveryAdapter({
|
|
633
633
|
cfg,
|
|
634
634
|
deliver: deliverOutboundPayloads,
|
|
@@ -642,7 +642,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
642
642
|
sessionRuns = void 0;
|
|
643
643
|
}
|
|
644
644
|
if (sessionRuns && wiring?.agentTurnStager) {
|
|
645
|
-
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-
|
|
645
|
+
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-C1kHnt9q.js").then((n) => n.i);
|
|
646
646
|
adapters.push(createSessionRunRecoveryAdapter({
|
|
647
647
|
store: sessionRuns,
|
|
648
648
|
cfg,
|
|
@@ -652,7 +652,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
652
652
|
}));
|
|
653
653
|
}
|
|
654
654
|
if (backbone && wiring?.agentTurnStager) {
|
|
655
|
-
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-
|
|
655
|
+
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-bACrcJAQ.js");
|
|
656
656
|
adapters.push(createAgentTurnRecoveryAdapter({
|
|
657
657
|
backbone,
|
|
658
658
|
stager: wiring.agentTurnStager
|
|
@@ -666,7 +666,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
666
666
|
}));
|
|
667
667
|
}
|
|
668
668
|
if (runtime?.cronJobs && runtime.taskRuns && sessionRuns) {
|
|
669
|
-
const { createCronHeartbeatRecoveryAdapter } = await import("./recovery-adapter-
|
|
669
|
+
const { createCronHeartbeatRecoveryAdapter } = await import("./recovery-adapter-BRrpxylo.js").then((n) => n.n);
|
|
670
670
|
adapters.push(createCronHeartbeatRecoveryAdapter({
|
|
671
671
|
cronJobs: runtime.cronJobs,
|
|
672
672
|
taskRuns: runtime.taskRuns,
|
|
@@ -675,7 +675,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
675
675
|
}));
|
|
676
676
|
}
|
|
677
677
|
if (sessionRuns) {
|
|
678
|
-
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-
|
|
678
|
+
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-mI-4XOPi.js");
|
|
679
679
|
adapters.push(createEmbeddedPiRecoveryAdapter({
|
|
680
680
|
sessionRuns,
|
|
681
681
|
cfg,
|
|
@@ -683,14 +683,14 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
683
683
|
stager: wiring?.agentTurnStager,
|
|
684
684
|
isRunActive: isEmbeddedPiRunActive
|
|
685
685
|
}));
|
|
686
|
-
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-
|
|
686
|
+
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-D14MlfbA.js");
|
|
687
687
|
adapters.push(createAcpRuntimeRecoveryAdapter({
|
|
688
688
|
sessionRuns,
|
|
689
689
|
gatewayInstanceId
|
|
690
690
|
}));
|
|
691
691
|
}
|
|
692
692
|
if (backbone) {
|
|
693
|
-
const { createPluginOwnedWorkRecoveryAdapter } = await import("./plugin-owned-work-recovery-adapter-
|
|
693
|
+
const { createPluginOwnedWorkRecoveryAdapter } = await import("./plugin-owned-work-recovery-adapter-Civ7pCIM.js");
|
|
694
694
|
adapters.push(createPluginOwnedWorkRecoveryAdapter({ backbone }));
|
|
695
695
|
}
|
|
696
696
|
return adapters;
|
|
@@ -1275,7 +1275,7 @@ async function getStatusSummary(options = {}) {
|
|
|
1275
1275
|
//#region src/commands/status.agent-local.ts
|
|
1276
1276
|
async function fileExists(p) {
|
|
1277
1277
|
try {
|
|
1278
|
-
await
|
|
1278
|
+
await fsPromises.access(p);
|
|
1279
1279
|
return true;
|
|
1280
1280
|
} catch {
|
|
1281
1281
|
return false;
|
|
@@ -1701,7 +1701,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
1701
1701
|
//#endregion
|
|
1702
1702
|
//#region src/commands/status-all/gateway.ts
|
|
1703
1703
|
async function readFileTailLines(filePath, maxLines) {
|
|
1704
|
-
const raw = await
|
|
1704
|
+
const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
|
|
1705
1705
|
if (!raw.trim()) return [];
|
|
1706
1706
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
1707
1707
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as VERSION } from "./version-D_9__Xw6.js";
|
|
2
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
2
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-CvJ5CJns.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
4
|
-
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-
|
|
4
|
+
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-DIx7V4k-.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Bi as CtxProjectionCorruptionError, dr as SESSION_RUN_STORE_FILE_NAME, lr as resolveUpdatedAfterPageSize, sr as serializeSessionIndexRecordKey } from "./config-
|
|
4
|
-
import { M as HEARTBEAT_SESSION_KEY_SEGMENT, N as WAKE_GATE_SESSION_KEY_SEGMENT, R as isCronTriggerSessionKey, c as computeIdentityLinkMatchKeys, i as RAW_PEER_KEY_PREFIX, j as BACKGROUND_SESSION_KEY_SEGMENT, l as computeIdentityLinkScopedMatchKey, v as resolveCanonicalIdentity, y as resolveConfiguredCanonicalIdentity } from "./session-key-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
3
|
+
import { Bi as CtxProjectionCorruptionError, dr as SESSION_RUN_STORE_FILE_NAME, lr as resolveUpdatedAfterPageSize, sr as serializeSessionIndexRecordKey } from "./config-D--rwfpd.js";
|
|
4
|
+
import { M as HEARTBEAT_SESSION_KEY_SEGMENT, N as WAKE_GATE_SESSION_KEY_SEGMENT, R as isCronTriggerSessionKey, c as computeIdentityLinkMatchKeys, i as RAW_PEER_KEY_PREFIX, j as BACKGROUND_SESSION_KEY_SEGMENT, l as computeIdentityLinkScopedMatchKey, v as resolveCanonicalIdentity, y as resolveConfiguredCanonicalIdentity } from "./session-key-Cr27HfX5.js";
|
|
5
5
|
import { a as serializeRetryPolicy, i as parseRetryPolicy, n as computeNextAvailableAtMs, r as isRetryExhausted } from "./retry-policy-BIRWkDiU.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BPhkn_eM.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-fDjlg2nm.js";
|
|
8
8
|
import { a as guardVerificationStoreInputs, i as clientResumeRecordArtifactId, n as VERIFICATION_STORE_ERROR_CODES, r as VerificationStoreError, t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-BuRIPR5S.js";
|
|
9
9
|
import { r as formatErrorChainMessage } from "./errors-zRgI_PDI.js";
|
|
10
|
-
import { n as computeJobNextRunAtMs } from "./jobs-
|
|
10
|
+
import { n as computeJobNextRunAtMs } from "./jobs-D8gtzx-n.js";
|
|
11
11
|
import { n as toTaskRunTimeIso, t as parseTaskRunTimeMs } from "./task-run-time-C4_5eNbJ.js";
|
|
12
12
|
import { t as TASK_RUN_IN_FLIGHT_STATUSES } from "./task-run-types-CXp-wZyE.js";
|
|
13
13
|
import { createRequire } from "node:module";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { bt as resolveConfigDir } from "./globals-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { bt as resolveConfigDir } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-C0np5f9V.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createWriteStream } from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
8
8
|
import { request } from "node:https";
|
|
@@ -16,7 +16,7 @@ const MEDIA_FILE_MODE = 420;
|
|
|
16
16
|
async function setMediaFileMode(filePath) {
|
|
17
17
|
if (process.platform === "win32") return;
|
|
18
18
|
try {
|
|
19
|
-
await
|
|
19
|
+
await fsPromises.chmod(filePath, MEDIA_FILE_MODE);
|
|
20
20
|
} catch (err) {
|
|
21
21
|
const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
|
|
22
22
|
if ([
|
|
@@ -43,7 +43,7 @@ function getMediaDir() {
|
|
|
43
43
|
}
|
|
44
44
|
async function ensureMediaDir() {
|
|
45
45
|
const mediaDir = resolveMediaDir();
|
|
46
|
-
await
|
|
46
|
+
await fsPromises.mkdir(mediaDir, {
|
|
47
47
|
recursive: true,
|
|
48
48
|
mode: 448
|
|
49
49
|
});
|
|
@@ -52,7 +52,7 @@ async function ensureMediaDir() {
|
|
|
52
52
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
53
53
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
54
54
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
55
|
-
await
|
|
55
|
+
await fsPromises.mkdir(dir, {
|
|
56
56
|
recursive: true,
|
|
57
57
|
mode: 448
|
|
58
58
|
});
|
|
@@ -72,7 +72,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
72
72
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
73
73
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
74
74
|
const dest = path.join(dir, id);
|
|
75
|
-
await
|
|
75
|
+
await fsPromises.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
76
76
|
await setMediaFileMode(dest);
|
|
77
77
|
return {
|
|
78
78
|
id,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ot as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { m as extensionForMime, p as detectMime } from "./fetch-
|
|
1
|
+
import { ot as resolveConfigDir } from "./subsystem-DynBFcQj.js";
|
|
2
|
+
import { m as extensionForMime, p as detectMime } from "./fetch-BBi5dEoV.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import fs
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
import { pipeline } from "node:stream/promises";
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ const MEDIA_FILE_MODE = 420;
|
|
|
14
14
|
async function setMediaFileMode(filePath) {
|
|
15
15
|
if (process.platform === "win32") return;
|
|
16
16
|
try {
|
|
17
|
-
await fs
|
|
17
|
+
await fs.chmod(filePath, MEDIA_FILE_MODE);
|
|
18
18
|
} catch (err) {
|
|
19
19
|
const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
|
|
20
20
|
if ([
|
|
@@ -41,7 +41,7 @@ function getMediaDir() {
|
|
|
41
41
|
}
|
|
42
42
|
async function ensureMediaDir() {
|
|
43
43
|
const mediaDir = resolveMediaDir();
|
|
44
|
-
await fs
|
|
44
|
+
await fs.mkdir(mediaDir, {
|
|
45
45
|
recursive: true,
|
|
46
46
|
mode: 448
|
|
47
47
|
});
|
|
@@ -50,7 +50,7 @@ async function ensureMediaDir() {
|
|
|
50
50
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
51
51
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
52
52
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
53
|
-
await fs
|
|
53
|
+
await fs.mkdir(dir, {
|
|
54
54
|
recursive: true,
|
|
55
55
|
mode: 448
|
|
56
56
|
});
|
|
@@ -70,7 +70,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
70
70
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
71
71
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
72
72
|
const dest = path.join(dir, id);
|
|
73
|
-
await fs
|
|
73
|
+
await fs.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
74
74
|
await setMediaFileMode(dest);
|
|
75
75
|
return {
|
|
76
76
|
id,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as readLoggingConfig, D as levelToMinLevel, O as normalizeLogLevel, T as loggingState, _ as isFileLogLevelEnabled, h as getLogger, m as getChildLogger, r as isVerbose, v as formatLocalIsoWithOffset, w as resolveEnvLogLevelOverride } from "./globals-
|
|
1
|
+
import { A as readLoggingConfig, D as levelToMinLevel, O as normalizeLogLevel, T as loggingState, _ as isFileLogLevelEnabled, h as getLogger, m as getChildLogger, r as isVerbose, v as formatLocalIsoWithOffset, w as resolveEnvLogLevelOverride } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { t as resolveNodeRequireFromMeta } from "./node-require-CBkkgmCn.js";
|
|
3
3
|
import { Chalk } from "chalk";
|
|
4
4
|
import util from "node:util";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import { n as spawnWithFallback } from "./spawn-utils-CbEMbWcD.js";
|
|
5
|
-
import { r as readProcessElapsedSeconds } from "./pid-alive-
|
|
5
|
+
import { r as readProcessElapsedSeconds } from "./pid-alive-DIe5jzmE.js";
|
|
6
6
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-C5fGFkGu.js";
|
|
7
7
|
import { t as killProcessTree$1 } from "./kill-tree-D_cyH_T3.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { p as theme, t as danger } from "./globals-
|
|
1
|
+
import { p as theme, t as danger } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import "./config-
|
|
5
|
+
import "./config-D--rwfpd.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./exec-
|
|
7
|
+
import "./agent-scope-BZ0wFh-U.js";
|
|
8
|
+
import "./exec-DWOKM6EC.js";
|
|
9
9
|
import "./github-copilot-token-CvN6iidT.js";
|
|
10
|
-
import "./pid-alive-
|
|
10
|
+
import "./pid-alive-DIe5jzmE.js";
|
|
11
11
|
import "./static-app-DG39qMau.js";
|
|
12
12
|
import "./retry-policy-BIRWkDiU.js";
|
|
13
|
-
import "./tailnet-
|
|
14
|
-
import "./ws-
|
|
13
|
+
import "./tailnet-B5JdDATD.js";
|
|
14
|
+
import "./ws-Dnz-ugxp.js";
|
|
15
15
|
import "./task-run-types-CXp-wZyE.js";
|
|
16
|
-
import "./client-
|
|
17
|
-
import "./call-
|
|
16
|
+
import "./client-DsaKKPz1.js";
|
|
17
|
+
import "./call-BY-wbSIJ.js";
|
|
18
18
|
import "./pairing-token-D1vOP4TH.js";
|
|
19
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
-
import "./progress-
|
|
21
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
19
|
+
import { t as formatDocsLink } from "./links-CPIBVJ0k.js";
|
|
20
|
+
import "./progress-DGJz2cvq.js";
|
|
21
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CIkWW5n2.js";
|
|
22
22
|
|
|
23
23
|
//#region src/cli/system-cli.ts
|
|
24
24
|
const normalizeWakeMode = (raw) => {
|