wednesdayai 0.5.1-dev.40 → 0.5.1-dev.42
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/{agent-scope-BudmZlc1.js → agent-scope-CoIdVzmg.js} +3 -3
- package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
- package/dist/{agent-turn-runner-C5FiRTJg.js → agent-turn-runner-FwkD42Me.js} +6 -6
- package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
- package/dist/{api-key-rotation-DzXkIU1m.js → api-key-rotation-1bTDnvBU.js} +2 -2
- package/dist/{audio-preflight-E-nHdi7I.js → audio-preflight-CCjuApbs.js} +27 -27
- package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
- package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
- package/dist/{audio-transcription-runner-Cc-hAbE1.js → audio-transcription-runner-DgFYIaIw.js} +26 -26
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -58
- 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 +58 -58
- package/dist/bundled/session-memory/handler.js +58 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
- package/dist/{chat-content-CL44f6Ub.js → chat-content-BdADRLL0.js} +36 -36
- package/dist/{plugin-sdk/chrome-DML7V0HT.js → chrome-DQ2kyZpc.js} +34 -34
- package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
- package/dist/{chunk-BHQuzJtJ.js → chunk-BAxcOCcV.js} +3 -3
- package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
- package/dist/{command-queue-CyJUnsMn.js → command-queue-CRm1AADE.js} +1 -1
- package/dist/{command-registry-xYf1aBOy.js → command-registry-Ip0F63vx.js} +4 -4
- package/dist/{commands-registry-CNVoO37I.js → commands-registry-CtR9mXss.js} +2 -2
- package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
- package/dist/{completion-cli-od6mAB_x.js → completion-cli-BFHL_SSq.js} +2 -2
- package/dist/{completion-cli-BIuMSnSA.js → completion-cli-EqOcxJpx.js} +1 -1
- package/dist/{credentials-DnIj4HtR.js → credentials-BhiiI_Nr.js} +1 -1
- package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
- package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
- package/dist/{deliver-DUUEMT-w.js → deliver-BufoibUD.js} +29 -29
- package/dist/{diagnostic-YRGuisNG.js → diagnostic-BSnQ1U_E.js} +3 -3
- package/dist/{doctor-completion-xR-LI2Kc.js → doctor-completion-CNBGQIUD.js} +1 -1
- package/dist/{doctor-completion-B3oIZ4R2.js → doctor-completion-W6Xmw25w.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-DnS9ngr1.js → errors-BzL6hu4G.js} +1 -1
- package/dist/extensionAPI.js +40 -40
- package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
- package/dist/{fetch-ChtdmCYU.js → fetch-DUVm-Rj1.js} +8 -8
- package/dist/{plugin-sdk/fetch-BqFNIJpI.js → fetch-DmpLwwor.js} +1 -1
- package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
- package/dist/{fetch-guard-BnKTeFyb.js → fetch-guard-BySb6coS.js} +2 -2
- package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
- package/dist/{frontmatter-CqznVm7P.js → frontmatter-NYeLKFIP.js} +3 -3
- package/dist/{fs-safe-D96d8swI.js → fs-safe-DOdeIkaS.js} +26 -26
- package/dist/{gateway-cli-B0WWrjnY.js → gateway-cli-D17zAbrY.js} +20 -10
- package/dist/{gateway-cli-BRUhDHZW.js → gateway-cli-DktZhN9y.js} +20 -10
- package/dist/{image-ops-BiBI-uAf.js → image-ops-DEUr_rAC.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{ir-Drj2D5Gr.js → ir-B0rUqFWs.js} +5 -5
- package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
- package/dist/{legacy-names-Bx5L8LWT.js → legacy-names-D7ywm6_7.js} +1 -1
- package/dist/llm-slug-generator.js +58 -58
- package/dist/{manager-C9H5Oflk.js → manager-3Exjl08V.js} +18 -18
- package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
- package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
- package/dist/{markdown-tables-BvoP0b-H.js → markdown-tables-lzV8Hoxc.js} +2 -2
- package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
- package/dist/{model-selection-2-pBJbaC.js → model-selection-_StPBPAp.js} +80 -80
- package/dist/{models-config-7yfOGOZY.js → models-config-D3M9er_C.js} +2 -2
- package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
- package/dist/{nudge-CcGwhSSL.js → nudge-B06CLLon.js} +35 -35
- package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
- package/dist/{onboard-CRHyyv-F.js → onboard-D2AmYbm8.js} +1 -1
- package/dist/{onboard-CYQVIEKp.js → onboard-PJee12bv.js} +1 -1
- package/dist/{onboarding-CDHMZKiy.js → onboarding-C1f94rh1.js} +1 -1
- package/dist/{onboarding-vLVDuEr7.js → onboarding-DXRhSAcO.js} +1 -1
- package/dist/{onboarding.finalize-D3hX9K5R.js → onboarding.finalize-C0RUJoiz.js} +4 -4
- package/dist/{onboarding.finalize-BDJnDt6t.js → onboarding.finalize-Calv0MIe.js} +3 -3
- package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
- package/dist/{outbound-attachment-CxvBVgcJ.js → outbound-attachment-CCQDMmDH.js} +2 -2
- package/dist/{outbound-message-hooks-DfRORyCc.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
- package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
- package/dist/{pairing-files-ByediFgs.js → pairing-files-B1ukutA_.js} +1 -1
- package/dist/{path-alias-guards-BXXI1YTn.js → path-alias-guards-aXY57qPv.js} +1 -1
- package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
- package/dist/{pi-embedded-Dp5uUcq6.js → pi-embedded-DGpkqagr.js} +251 -251
- package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
- package/dist/{pi-embedded-utils-Dc-LEWCI.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
- package/dist/{pi-model-discovery-B44lshxv.js → pi-model-discovery-BTuzuVh1.js} +7 -7
- package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-D0szeKs8.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-D3tAlzpP.js → agent-turn-runner-fV3h6ELM.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-Dmd_whf1.js → api-key-rotation-DbJkvwYN.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-2XKqIXAx.js → audio-preflight-DhIYyWh0.js} +14 -14
- package/dist/plugin-sdk/{audio-transcription-runner-2ziIuais.js → audio-transcription-runner-DbjdWQRu.js} +8 -8
- package/dist/plugin-sdk/{auth-profiles-BxDhfCHT.js → auth-profiles-DPd1Ol-P.js} +1 -1
- package/dist/plugin-sdk/{chat-content-DWJ_WMLQ.js → chat-content-CEMoDe5q.js} +9 -9
- package/dist/{chrome-D1006Mu2.js → plugin-sdk/chrome-CobI3ImG.js} +8 -8
- package/dist/plugin-sdk/{chunk-SR4Ydfza.js → chunk-C3M1IW7W.js} +2 -2
- package/dist/plugin-sdk/{command-queue-DUO9-NRr.js → command-queue-DUuIiwvi.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DnePgYTq.js → commands-registry-DPCcTIwi.js} +2 -2
- package/dist/plugin-sdk/{credentials-DJMyq23O.js → credentials-BgX_xjTe.js} +1 -1
- package/dist/plugin-sdk/deliver-DTstMBfw.js +34 -0
- package/dist/plugin-sdk/{deliver-D3LWZpv1.js → deliver-lkeqXp0v.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BXgGsRnq.js → diagnostic-TucKQ5Fk.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-session-state-Y-_mHHE2.js → diagnostic-session-state-C74O1QW2.js} +1 -1
- package/dist/{fetch-CrTLz8wd.js → plugin-sdk/fetch-BEOHdT2e.js} +1 -1
- package/dist/plugin-sdk/{fetch-CpY6mDmQ.js → fetch-D7rvWjfk.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-BEue3kvx.js → fetch-guard-CQIsGUgZ.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-CKtZsNVT.js → inbound-context-BdGImnhD.js} +1 -1
- package/dist/plugin-sdk/{ir-Ep5lw12h.js → ir-D-nyt7yZ.js} +2 -2
- package/dist/plugin-sdk/{manager-DyYd10T2.js → manager-3Bw8zhA3.js} +4 -4
- package/dist/plugin-sdk/manager-BexdJt3o.js +14 -0
- package/dist/plugin-sdk/{markdown-tables-B4G-uOPz.js → markdown-tables-DczIA0hC.js} +2 -2
- package/dist/plugin-sdk/{models-config-DsHaLeW3.js → models-config-DPG3UP6h.js} +1 -1
- package/dist/plugin-sdk/{monitor-CbKokdL4.js → monitor-BQWiYAwC.js} +77 -77
- package/dist/plugin-sdk/{nudge-z8ozyWd6.js → nudge-Cp00v46W.js} +11 -11
- package/dist/plugin-sdk/{outbound-attachment-BrHUWeqB.js → outbound-attachment-JHREBMfy.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-utils-6FFFlkbd.js → pi-embedded-utils-JXHsJfhx.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-BnsoI-E6.js → pi-model-discovery-CKGA60jT.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-Cq6Acy3h.js +61 -0
- package/dist/plugin-sdk/{proxy-env-jBCtIiJH.js → proxy-env-D9QKz5Mq.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-IAdR6aX7.js → pw-ai-B_6I8TGZ.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-DERrmogO.js → qmd-manager-CIgxgs0D.js} +2 -2
- package/dist/plugin-sdk/{query-expansion-CWCvbGoy.js → query-expansion-CECAX0Pe.js} +1 -1
- package/dist/plugin-sdk/{recorder-xWMrt--U.js → recorder-C6OpZN3o.js} +1 -1
- package/dist/plugin-sdk/{registry-B-9fRLtl.js → registry-D9-EsIYH.js} +1 -1
- package/dist/plugin-sdk/{replies-BNtRlug2.js → replies-BhuMuYfa.js} +11 -11
- package/dist/plugin-sdk/{replies-CbnkLeUl.js → replies-ClN-Aak4.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-CKNwlk_8.js → reply-directives-C69Fd8zO.js} +1 -1
- package/dist/plugin-sdk/{reply-prefix-DCeyas-6.js → reply-prefix-BQ-rDIAU.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-t2HJkuDx.js → resolve-route-N9oe4tGM.js} +2 -2
- package/dist/plugin-sdk/{runs-B0mmuxPP.js → runs-0OTO0OVX.js} +12 -12
- package/dist/plugin-sdk/{runs-CSaP-UMd.js → runs-DK85oFoq.js} +7 -7
- package/dist/plugin-sdk/{send-BToCKtul.js → send-C8OYq5CD.js} +10 -10
- package/dist/plugin-sdk/send-CMAU8Lg8.js +23 -0
- package/dist/plugin-sdk/{send-CbbM7dcD.js → send-CVYVctJr.js} +6 -6
- package/dist/plugin-sdk/{send-hdgQBd4P.js → send-CciBIiE2.js} +4 -4
- package/dist/plugin-sdk/{send-rQhDBwIJ.js → send-CilPGWoe.js} +8 -8
- package/dist/plugin-sdk/{send-CTefF3Iw.js → send-CyKQnkbd.js} +6 -6
- package/dist/plugin-sdk/{send-CY2iq9C4.js → send-DFpY65tA.js} +10 -10
- package/dist/plugin-sdk/{send-BQYyBicH.js → send-dNeIyZEN.js} +5 -5
- package/dist/plugin-sdk/{session-context-E8Vv0lBU.js → session-context-4IeKkzGJ.js} +2 -2
- package/dist/plugin-sdk/{session-meta-_XFpsAgw.js → session-meta-BlMS0pts.js} +2 -2
- package/dist/plugin-sdk/{sessions-DGyoDRbg.js → sessions-BUjbH5K1.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-DJ9gv-vK.js → skill-commands-J-ZcPvqF.js} +3 -3
- package/dist/plugin-sdk/{skills-mfK8NK3f.js → skills-W6RHTFue.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-DyI22dHA.js → subagent-registry-Bek3q0nu.js} +44 -44
- package/dist/plugin-sdk/{tables-Dt2IrV1k.js → tables-ohryoECJ.js} +1 -1
- package/dist/plugin-sdk/testing.js +44 -44
- package/dist/plugin-sdk/{user-run-recording-C05KbS-o.js → user-run-recording-CAAdiBWD.js} +2 -2
- package/dist/plugin-sdk/{ws-BzjQAveZ.js → ws-zaFiZiYP.js} +1 -1
- package/dist/{program-CcLb8Psv.js → program-DYZ4XAFZ.js} +2 -2
- package/dist/{program-context-X8qIC1Px.js → program-context-BM_flY1J.js} +6 -6
- package/dist/{prompt-select-styled-NrfLylYh.js → prompt-select-styled-BFW0tf77.js} +1 -1
- package/dist/{prompt-select-styled-DUTH4ST5.js → prompt-select-styled-Eb9ltCzM.js} +1 -1
- package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
- package/dist/{proxy-env-DdoaBr4H.js → proxy-env-dFmQfhFb.js} +1 -1
- package/dist/{pw-ai-CV5A9Kt_.js → pw-ai-B2n3DHPt.js} +14 -14
- package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
- package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
- package/dist/{qmd-manager-Bw5dnMTy.js → qmd-manager-jLSZ3VID.js} +12 -12
- package/dist/{qmd-scope-0dG63o_w.js → qmd-scope-BN4oVeLu.js} +1 -1
- package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
- package/dist/{query-expansion-gzgHhq68.js → query-expansion-UPsVmvEm.js} +13 -13
- package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
- package/dist/{recorder-ciGDu2oO.js → recorder-DvYXNusz.js} +2 -2
- package/dist/{redact-Cp-v7ZNA.js → redact-CysJDryP.js} +1 -1
- package/dist/{register.maintenance-CFd160fT.js → register.maintenance-CNiAi_Bg.js} +5 -5
- package/dist/{register.maintenance-Dc0j0tvi.js → register.maintenance-Dq3k6jFc.js} +4 -4
- package/dist/{register.onboard-u0pMgMv4.js → register.onboard-DGBJtyFX.js} +2 -2
- package/dist/{register.onboard-C-lkIY7d.js → register.onboard-DqGIfQsO.js} +2 -2
- package/dist/{register.setup-BAiTfEey.js → register.setup-BdAQ_7gM.js} +2 -2
- package/dist/{register.setup-D6hviI6L.js → register.setup-Ckb9Hpks.js} +2 -2
- package/dist/{register.subclis-3YVvoBSB.js → register.subclis-Cn5DS2Th.js} +3 -3
- package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
- package/dist/{replies-EZyamg1p.js → replies-DfoUf3N4.js} +5 -5
- package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
- package/dist/{reply-directives-DMPiBIx3.js → reply-directives-DsGD4aw1.js} +2 -2
- package/dist/{reply-prefix-DLf0nmds.js → reply-prefix-gWrzAQtZ.js} +1 -1
- package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
- package/dist/{resolve-route-GBqD8iPk.js → resolve-route-RQpYXVl1.js} +4 -4
- package/dist/{run-main-BBLzm5df.js → run-main-BYnz7Ou5.js} +3 -3
- package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
- package/dist/{runs-EvR8ugp4.js → runs-DGr28sFu.js} +9 -9
- package/dist/{send-BVfxa93K.js → send-C-m_74Nc.js} +8 -8
- package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
- package/dist/{send-B5XVAKWg.js → send-DFsyNWFI.js} +7 -7
- package/dist/{send-BCEsHNBh.js → send-DYRbKT7y.js} +6 -6
- package/dist/{send-12uxFQQR.js → send-DkJqx60r.js} +8 -8
- package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
- package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
- package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
- package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
- package/dist/{session-meta-C_fW_AWG.js → session-meta-DVKEsZNl.js} +1 -1
- package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
- package/dist/{sessions-DODCZ4JK.js → sessions-CzjW7wiR.js} +5 -5
- package/dist/{skill-commands-5VtV6o_q.js → skill-commands-BfK22Jmi.js} +7 -7
- package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
- package/dist/{skills-B3DYwqF5.js → skills-D6riKXOf.js} +21 -21
- package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
- package/dist/{store-DnvoAjAE.js → store-Bt16sey6.js} +7 -7
- package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
- package/dist/{tables-CuZTAY1e.js → tables-tChtQWdX.js} +1 -1
- package/dist/{tokens-C8E7C2l5.js → tokens-C2ll8wSq.js} +1 -1
- package/dist/{tool-loop-detection-4AIUOil2.js → tool-loop-detection-D0CRFNOH.js} +2 -2
- package/dist/{update-cli-D4CRTu-Y.js → update-cli-BFg_CRum.js} +5 -5
- package/dist/{update-cli-q45uqAKK.js → update-cli-BfwXa0Uk.js} +4 -4
- package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
- package/dist/{user-run-recording-4Dhev2ED.js → user-run-recording-DJedyUge.js} +2 -2
- package/dist/{workspace-DOy2M7yN.js → workspace-xnzx7wEV.js} +26 -26
- package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
- package/dist/{ws-D916JacH.js → ws-DLbfGWAn.js} +1 -1
- 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/github-copilot-token-DrVydgnY.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/dist/plugin-sdk/agent-turn-execute-Co_96UFp.js +0 -61
- package/dist/plugin-sdk/deliver-5MyFMK8o.js +0 -34
- package/dist/plugin-sdk/manager-B9WMktLu.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-uLJ5yzx1.js +0 -61
- package/dist/plugin-sdk/send-vp7qbuoy.js +0 -23
- package/dist/subsystem-DoQFckDJ.js +0 -2777
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-Dv__vEQx.js";
|
|
3
3
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D81t1pbF.js";
|
|
4
|
-
import { Nt as getGlobalHookRunner } from "./sessions-
|
|
5
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
4
|
+
import { Nt as getGlobalHookRunner } from "./sessions-A1wDmvXO.js";
|
|
5
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BBj2TedD.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-CrrbzX7U.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
9
9
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
3
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
4
|
-
import { Nt as getGlobalHookRunner } from "./sessions-
|
|
5
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-DFsyNWFI.js";
|
|
3
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-C2ll8wSq.js";
|
|
4
|
+
import { Nt as getGlobalHookRunner } from "./sessions-CzjW7wiR.js";
|
|
5
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BAxcOCcV.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Bn5_bObR.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
9
9
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D81t1pbF.js";
|
|
2
|
-
import { o as parseInlineDirectives } from "./sessions-
|
|
2
|
+
import { o as parseInlineDirectives } from "./sessions-A1wDmvXO.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-C9CqDW38.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
2
|
-
import { o as parseInlineDirectives } from "./sessions-
|
|
1
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-C2ll8wSq.js";
|
|
2
|
+
import { o as parseInlineDirectives } from "./sessions-CzjW7wiR.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-B64kVeCJ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-CoIdVzmg.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as DEFAULT_MAIN_KEY, K as normalizeAgentId, P as DEFAULT_AGENT_ID, Q as sanitizeAgentId, R as buildAgentMainSessionKey, Y as resolveCanonicalIdentity, c as resolveDefaultAgentId, k as logDebug, nt as normalizeAccountId, tt as DEFAULT_ACCOUNT_ID, z as buildAgentPeerSessionKey } from "./agent-scope-Js3kUihf.js";
|
|
3
3
|
import { h as shouldLogVerbose } from "./subsystem-DynBFcQj.js";
|
|
4
|
-
import { St as listBindings } from "./model-selection-
|
|
4
|
+
import { St as listBindings } from "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import { r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
6
6
|
|
|
7
7
|
//#region src/routing/resolve-route.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { h as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, F as normalizeAgentId, G as normalizeAccountId, O as buildAgentPeerSessionKey, R as resolveCanonicalIdentity, V as sanitizeAgentId, W as DEFAULT_ACCOUNT_ID, w as DEFAULT_MAIN_KEY, y as logDebug } from "./workspace-
|
|
5
|
-
import { St as listBindings } from "./model-selection-
|
|
2
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-CoIdVzmg.js";
|
|
3
|
+
import { h as shouldLogVerbose } from "./subsystem-DynBFcQj.js";
|
|
4
|
+
import { C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, F as normalizeAgentId, G as normalizeAccountId, O as buildAgentPeerSessionKey, R as resolveCanonicalIdentity, V as sanitizeAgentId, W as DEFAULT_ACCOUNT_ID, w as DEFAULT_MAIN_KEY, y as logDebug } from "./workspace-xnzx7wEV.js";
|
|
5
|
+
import { St as listBindings } from "./model-selection-_StPBPAp.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-Ckfze_uK.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/resolve-route.ts
|
|
@@ -410,7 +410,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
410
410
|
assertSupportedRuntime();
|
|
411
411
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
412
412
|
enableConsoleCapture();
|
|
413
|
-
const { buildProgram } = await import("./program-
|
|
413
|
+
const { buildProgram } = await import("./program-DYZ4XAFZ.js");
|
|
414
414
|
const program = buildProgram();
|
|
415
415
|
installUnhandledRejectionHandler();
|
|
416
416
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -423,10 +423,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
423
423
|
const { getProgramContext } = await import("./program-context-CtfWJUBU.js").then((n) => n.n);
|
|
424
424
|
const ctx = getProgramContext(program);
|
|
425
425
|
if (ctx) {
|
|
426
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
426
|
+
const { registerCoreCliByName } = await import("./command-registry-Ip0F63vx.js").then((n) => n.t);
|
|
427
427
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
428
428
|
}
|
|
429
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
429
|
+
const { registerSubCliByName } = await import("./register.subclis-Cn5DS2Th.js").then((n) => n.a);
|
|
430
430
|
await registerSubCliByName(program, primary);
|
|
431
431
|
}
|
|
432
432
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { C as appendFileLog } from "./subsystem-DynBFcQj.js";
|
|
4
|
-
import { ua as isTruthyEnvValue } from "./model-selection-
|
|
4
|
+
import { ua as isTruthyEnvValue } from "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-D81t1pbF.js";
|
|
6
|
-
import { E as normalizeUsage } from "./sessions-
|
|
6
|
+
import { E as normalizeUsage } from "./sessions-A1wDmvXO.js";
|
|
7
7
|
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic-XckGznW_.js";
|
|
8
8
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CkpWUesj.js";
|
|
9
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
9
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-B7yKTLAY.js";
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-D9zLeiKy.js";
|
|
11
11
|
import { r as parseFenceSpans } from "./fences-C9CqDW38.js";
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-D4Hftiqp.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveStateDir } from "./paths-
|
|
3
|
-
import { C as appendFileLog } from "./subsystem-
|
|
4
|
-
import { oa as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
6
|
-
import { E as normalizeUsage } from "./sessions-
|
|
7
|
-
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic-
|
|
2
|
+
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
|
+
import { C as appendFileLog } from "./subsystem-DynBFcQj.js";
|
|
4
|
+
import { oa as isTruthyEnvValue } from "./model-selection-_StPBPAp.js";
|
|
5
|
+
import { n as SILENT_REPLY_TOKEN } from "./tokens-C2ll8wSq.js";
|
|
6
|
+
import { E as normalizeUsage } from "./sessions-CzjW7wiR.js";
|
|
7
|
+
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic-BSnQ1U_E.js";
|
|
8
8
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DJQj3Ka7.js";
|
|
9
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
9
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-BdADRLL0.js";
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-DD7HmeWR.js";
|
|
11
11
|
import { r as parseFenceSpans } from "./fences-B64kVeCJ.js";
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-DsGD4aw1.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Cr as resolveDiscordAccount, U as loadConfig, b as resolveRetryConfig, wr as normalizeDiscordToken, x as retryAsync } from "./model-selection-
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
|
+
import { Cr as resolveDiscordAccount, U as loadConfig, b as resolveRetryConfig, wr as normalizeDiscordToken, x as retryAsync } from "./model-selection-_StPBPAp.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CaO0zksh.js";
|
|
5
|
-
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
5
|
+
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-DEUr_rAC.js";
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BAxcOCcV.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-B0rUqFWs.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DmpLwwor.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdjlUaH0.js";
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-tChtQWdX.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import { promisify } from "node:util";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
|
-
import { Dr as resolveDiscordAccount, Or as normalizeDiscordToken, U as loadConfig, b as resolveRetryConfig, x as retryAsync } from "./model-selection-
|
|
3
|
+
import { Dr as resolveDiscordAccount, Or as normalizeDiscordToken, U as loadConfig, b as resolveRetryConfig, x as retryAsync } from "./model-selection-DFW5CGMj.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
5
5
|
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-Dk3eDp_u.js";
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BBj2TedD.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-Bra81NIe.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DQjTi7nc.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-HhYz4kBT.js";
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-BFlTcF5k.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import { promisify } from "node:util";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as logVerbose } from "./subsystem-
|
|
3
|
-
import { U as loadConfig, cr as resolveSlackAccount, dr as resolveSlackBotToken } from "./model-selection-
|
|
2
|
+
import { f as logVerbose } from "./subsystem-DynBFcQj.js";
|
|
3
|
+
import { U as loadConfig, cr as resolveSlackAccount, dr as resolveSlackBotToken } from "./model-selection-_StPBPAp.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CaO0zksh.js";
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-C2ll8wSq.js";
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BySb6coS.js";
|
|
7
|
+
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BAxcOCcV.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-B0rUqFWs.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-latcSJiL.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { it as normalizeE164, st as resolveUserPath } from "./subsystem-
|
|
3
|
-
import { U as loadConfig, br as resolveIMessageAccount } from "./model-selection-
|
|
4
|
-
import { p as kindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { it as normalizeE164, st as resolveUserPath } from "./subsystem-DynBFcQj.js";
|
|
3
|
+
import { U as loadConfig, br as resolveIMessageAccount } from "./model-selection-_StPBPAp.js";
|
|
4
|
+
import { p as kindFromMime } from "./image-ops-DEUr_rAC.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-tChtQWdX.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CCQDMmDH.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-
|
|
3
|
-
import { U as loadConfig, pr as resolveSignalAccount } from "./model-selection-
|
|
2
|
+
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-DynBFcQj.js";
|
|
3
|
+
import { U as loadConfig, pr as resolveSignalAccount } from "./model-selection-_StPBPAp.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-BDA1WAvZ.js";
|
|
5
|
-
import { p as kindFromMime } from "./image-ops-
|
|
6
|
-
import { o as fetchWithTimeout } from "./fetch-guard-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
5
|
+
import { p as kindFromMime } from "./image-ops-DEUr_rAC.js";
|
|
6
|
+
import { o as fetchWithTimeout } from "./fetch-guard-BySb6coS.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-B0rUqFWs.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DmpLwwor.js";
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CCQDMmDH.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as logVerbose } from "./subsystem-DynBFcQj.js";
|
|
3
|
-
import { U as loadConfig, fr as resolveSlackAccount, hr as resolveSlackBotToken } from "./model-selection-
|
|
3
|
+
import { U as loadConfig, fr as resolveSlackAccount, hr as resolveSlackBotToken } from "./model-selection-DFW5CGMj.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
5
5
|
import { i as isSilentReplyText } from "./tokens-D81t1pbF.js";
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dn6Z6n6a.js";
|
|
7
|
+
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BBj2TedD.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-Bra81NIe.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-95l30zcf.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-DynBFcQj.js";
|
|
3
|
-
import { U as loadConfig, _r as resolveSignalAccount } from "./model-selection-
|
|
3
|
+
import { U as loadConfig, _r as resolveSignalAccount } from "./model-selection-DFW5CGMj.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-CXrBi7Jq.js";
|
|
5
5
|
import { p as kindFromMime } from "./image-ops-Dk3eDp_u.js";
|
|
6
|
-
import { o as fetchWithTimeout } from "./fetch-guard-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
6
|
+
import { o as fetchWithTimeout } from "./fetch-guard-Dn6Z6n6a.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-Bra81NIe.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DQjTi7nc.js";
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BeSAM8qU.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { it as normalizeE164, st as resolveUserPath } from "./subsystem-DynBFcQj.js";
|
|
3
|
-
import { U as loadConfig, wr as resolveIMessageAccount } from "./model-selection-
|
|
3
|
+
import { U as loadConfig, wr as resolveIMessageAccount } from "./model-selection-DFW5CGMj.js";
|
|
4
4
|
import { p as kindFromMime } from "./image-ops-Dk3eDp_u.js";
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-BFlTcF5k.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BeSAM8qU.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Dn as recordSessionMetaFromInbound, Xn as resolveStorePath } from "./model-selection-
|
|
2
|
+
import { Dn as recordSessionMetaFromInbound, Xn as resolveStorePath } from "./model-selection-DFW5CGMj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/channels/session-meta.ts
|
|
5
5
|
var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Kn as resolveStorePath, wn as recordSessionMetaFromInbound } from "./model-selection-
|
|
2
|
+
import { Kn as resolveStorePath, wn as recordSessionMetaFromInbound } from "./model-selection-_StPBPAp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/channels/session-meta.ts
|
|
5
5
|
var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
|
|
@@ -2,7 +2,7 @@ import { H as computeIdentityLinkScopedMatchKey, K as normalizeAgentId, L as RAW
|
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { $r as CtxProjectionCorruptionError, Bn as serializeSessionIndexRecordKey, Cn as loadSessionStore, Gn as resolveDefaultSessionStorePath, Hn as resolveUpdatedAfterPageSize, Kn as resolveSessionFilePath, Nn as DEFAULT_IDLE_MINUTES, Qn as resolveGroupSessionKey, U as loadConfig, Wn as SESSION_RUN_STORE_FILE_NAME, Wr as normalizeMessageChannel, Xn as resolveStorePath, _n as requireSessionStorageRuntime, hn as getConversationReadQuery, ii as serializeRetryPolicy, jn as updateSessionStore, ni as isRetryExhausted, ri as parseRetryPolicy, ti as computeNextAvailableAtMs, xn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
5
|
+
import { $r as CtxProjectionCorruptionError, Bn as serializeSessionIndexRecordKey, Cn as loadSessionStore, Gn as resolveDefaultSessionStorePath, Hn as resolveUpdatedAfterPageSize, Kn as resolveSessionFilePath, Nn as DEFAULT_IDLE_MINUTES, Qn as resolveGroupSessionKey, U as loadConfig, Wn as SESSION_RUN_STORE_FILE_NAME, Wr as normalizeMessageChannel, Xn as resolveStorePath, _n as requireSessionStorageRuntime, hn as getConversationReadQuery, ii as serializeRetryPolicy, jn as updateSessionStore, ni as isRetryExhausted, ri as parseRetryPolicy, ti as computeNextAvailableAtMs, xn as getConfiguredSessionStorageRuntime } from "./model-selection-DFW5CGMj.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DMwgeRgr.js";
|
|
8
8
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Cg5s4YcQ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as resolveStateDir } from "./paths-
|
|
2
|
-
import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
2
|
+
import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { $ as isCronTriggerSessionKey, A as computeIdentityLinkMatchKeys, C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, I as normalizeMainKey, J as HEARTBEAT_SESSION_KEY_SEGMENT, R as resolveCanonicalIdentity, Y as WAKE_GATE_SESSION_KEY_SEGMENT, j as computeIdentityLinkScopedMatchKey, q as BACKGROUND_SESSION_KEY_SEGMENT, tt as parseAgentSessionKey, z as resolveConfiguredCanonicalIdentity } from "./workspace-
|
|
5
|
-
import { $r as parseRetryPolicy, Bn as SESSION_RUN_STORE_FILE_NAME, Br as normalizeMessageChannel, Dn as updateSessionStore, Hn as resolveSessionFilePath, In as serializeSessionIndexRecordKey, Jn as resolveGroupSessionKey, Kn as resolveStorePath, Qr as isRetryExhausted, Rn as resolveUpdatedAfterPageSize, U as loadConfig, Vn as resolveDefaultSessionStorePath, Yr as CtxProjectionCorruptionError, Zr as computeNextAvailableAtMs, bn as loadSessionStore, ei as serializeRetryPolicy, fn as getConversationReadQuery, kn as DEFAULT_IDLE_MINUTES, mn as requireSessionStorageRuntime, vn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
4
|
+
import { $ as isCronTriggerSessionKey, A as computeIdentityLinkMatchKeys, C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, I as normalizeMainKey, J as HEARTBEAT_SESSION_KEY_SEGMENT, R as resolveCanonicalIdentity, Y as WAKE_GATE_SESSION_KEY_SEGMENT, j as computeIdentityLinkScopedMatchKey, q as BACKGROUND_SESSION_KEY_SEGMENT, tt as parseAgentSessionKey, z as resolveConfiguredCanonicalIdentity } from "./workspace-xnzx7wEV.js";
|
|
5
|
+
import { $r as parseRetryPolicy, Bn as SESSION_RUN_STORE_FILE_NAME, Br as normalizeMessageChannel, Dn as updateSessionStore, Hn as resolveSessionFilePath, In as serializeSessionIndexRecordKey, Jn as resolveGroupSessionKey, Kn as resolveStorePath, Qr as isRetryExhausted, Rn as resolveUpdatedAfterPageSize, U as loadConfig, Vn as resolveDefaultSessionStorePath, Yr as CtxProjectionCorruptionError, Zr as computeNextAvailableAtMs, bn as loadSessionStore, ei as serializeRetryPolicy, fn as getConversationReadQuery, kn as DEFAULT_IDLE_MINUTES, mn as requireSessionStorageRuntime, vn as getConfiguredSessionStorageRuntime } from "./model-selection-_StPBPAp.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-Ckfze_uK.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-BTSwhIfk.js";
|
|
8
8
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
9
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
9
|
+
import { n as formatErrorChainMessage } from "./errors-BzL6hu4G.js";
|
|
10
10
|
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-BjtVxiJr.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import path, { join } from "node:path";
|
|
@@ -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 { 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 { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
5
|
+
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-D6riKXOf.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-DBtcstGX.js";
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-CtR9mXss.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";
|
|
@@ -232,13 +232,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
232
232
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
233
233
|
for (const agentId of agentIds) {
|
|
234
234
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
235
|
-
if (!
|
|
235
|
+
if (!syncFs.existsSync(workspaceDir)) {
|
|
236
236
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
237
237
|
continue;
|
|
238
238
|
}
|
|
239
239
|
let canonicalDir;
|
|
240
240
|
try {
|
|
241
|
-
canonicalDir =
|
|
241
|
+
canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
242
242
|
} catch {
|
|
243
243
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
244
244
|
continue;
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-Js3kUihf.js";
|
|
3
3
|
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
5
|
+
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-D7jLGkoP.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-1Zv08-ZT.js";
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-b4F_78R4.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import syncFs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as normalizeSkillFilter } from "./agent-scope-
|
|
2
|
-
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { m as normalizeSkillFilter } from "./agent-scope-CoIdVzmg.js";
|
|
2
|
+
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { h as resolveOpenClawPackageRootSync } from "./workspace-
|
|
5
|
-
import { At as resolveMemorySlotDecision, Ot as normalizePluginsConfig, Sa as normalizeResolvedSecretInputString, kt as resolveEffectiveEnableState, wt as loadPluginManifestRegistry } from "./model-selection-
|
|
6
|
-
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
7
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
4
|
+
import { h as resolveOpenClawPackageRootSync } from "./workspace-xnzx7wEV.js";
|
|
5
|
+
import { At as resolveMemorySlotDecision, Ot as normalizePluginsConfig, Sa as normalizeResolvedSecretInputString, kt as resolveEffectiveEnableState, wt as loadPluginManifestRegistry } from "./model-selection-_StPBPAp.js";
|
|
6
|
+
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-NYeLKFIP.js";
|
|
7
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-aXY57qPv.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 { URL as URL$1, fileURLToPath } from "node:url";
|
|
12
12
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -543,13 +543,13 @@ function shortPath(value) {
|
|
|
543
543
|
//#region src/agents/skills/bundled-dir.ts
|
|
544
544
|
function looksLikeSkillsDir(dir) {
|
|
545
545
|
try {
|
|
546
|
-
const entries =
|
|
546
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
547
547
|
for (const entry of entries) {
|
|
548
548
|
if (entry.name.startsWith(".")) continue;
|
|
549
549
|
const fullPath = path.join(dir, entry.name);
|
|
550
550
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
551
551
|
if (entry.isDirectory()) {
|
|
552
|
-
if (
|
|
552
|
+
if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
} catch {
|
|
@@ -564,7 +564,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
564
564
|
const execPath = opts.execPath ?? process.execPath;
|
|
565
565
|
const execDir = path.dirname(execPath);
|
|
566
566
|
const sibling = path.join(execDir, "skills");
|
|
567
|
-
if (
|
|
567
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
568
568
|
} catch {}
|
|
569
569
|
try {
|
|
570
570
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -627,7 +627,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
627
627
|
const trimmed = raw.trim();
|
|
628
628
|
if (!trimmed) continue;
|
|
629
629
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
630
|
-
if (!
|
|
630
|
+
if (!syncFs.existsSync(candidate)) {
|
|
631
631
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
632
632
|
continue;
|
|
633
633
|
}
|
|
@@ -658,7 +658,7 @@ async function serializeByKey(key, task) {
|
|
|
658
658
|
|
|
659
659
|
//#endregion
|
|
660
660
|
//#region src/agents/skills/workspace.ts
|
|
661
|
-
const fsp =
|
|
661
|
+
const fsp = syncFs.promises;
|
|
662
662
|
const skillsLogger = createSubsystemLogger("skills");
|
|
663
663
|
const skillCommandDebugOnceState = resolveProcessScopedMap(Symbol.for("openclaw.agents.skills.workspace.skillCommandDebugOnce"));
|
|
664
664
|
const skillCommandDebugOnce = skillCommandDebugOnceState.get("value") ?? /* @__PURE__ */ new Set();
|
|
@@ -737,7 +737,7 @@ function resolveSkillsLimits(config) {
|
|
|
737
737
|
}
|
|
738
738
|
function listChildDirectories(dir) {
|
|
739
739
|
try {
|
|
740
|
-
const entries =
|
|
740
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
741
741
|
const dirs = [];
|
|
742
742
|
for (const entry of entries) {
|
|
743
743
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -748,7 +748,7 @@ function listChildDirectories(dir) {
|
|
|
748
748
|
continue;
|
|
749
749
|
}
|
|
750
750
|
if (entry.isSymbolicLink()) try {
|
|
751
|
-
if (
|
|
751
|
+
if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
752
752
|
} catch {}
|
|
753
753
|
}
|
|
754
754
|
return dirs;
|
|
@@ -759,7 +759,7 @@ function listChildDirectories(dir) {
|
|
|
759
759
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
760
760
|
const nested = path.join(dir, "skills");
|
|
761
761
|
try {
|
|
762
|
-
if (!
|
|
762
|
+
if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
763
763
|
} catch {
|
|
764
764
|
return { baseDir: dir };
|
|
765
765
|
}
|
|
@@ -768,7 +768,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
768
768
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
769
769
|
for (const name of toScan) {
|
|
770
770
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
771
|
-
if (
|
|
771
|
+
if (syncFs.existsSync(skillMd)) return {
|
|
772
772
|
baseDir: nested,
|
|
773
773
|
note: `Detected nested skills root at ${nested}`
|
|
774
774
|
};
|
|
@@ -788,9 +788,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
788
788
|
const loadSkills = (params) => {
|
|
789
789
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
790
790
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
791
|
-
if (
|
|
791
|
+
if (syncFs.existsSync(rootSkillMd)) {
|
|
792
792
|
try {
|
|
793
|
-
const size =
|
|
793
|
+
const size = syncFs.statSync(rootSkillMd).size;
|
|
794
794
|
if (size > limits.maxSkillFileBytes) {
|
|
795
795
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
796
796
|
dir: baseDir,
|
|
@@ -829,9 +829,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
829
829
|
for (const name of limitedChildren) {
|
|
830
830
|
const skillDir = path.join(baseDir, name);
|
|
831
831
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
832
|
-
if (!
|
|
832
|
+
if (!syncFs.existsSync(skillMd)) continue;
|
|
833
833
|
try {
|
|
834
|
-
const size =
|
|
834
|
+
const size = syncFs.statSync(skillMd).size;
|
|
835
835
|
if (size > limits.maxSkillFileBytes) {
|
|
836
836
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
837
837
|
skill: name,
|
|
@@ -899,7 +899,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
899
899
|
return Array.from(merged.values()).map((skill) => {
|
|
900
900
|
let frontmatter = {};
|
|
901
901
|
try {
|
|
902
|
-
frontmatter = parseFrontmatter(
|
|
902
|
+
frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
|
|
903
903
|
} catch {}
|
|
904
904
|
return {
|
|
905
905
|
skill,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { N as normalizeSkillFilter, T as resolveOpenClawPackageRootSync } from "./agent-scope-Js3kUihf.js";
|
|
2
2
|
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { At as resolveMemorySlotDecision, Da as normalizeResolvedSecretInputString, Ot as normalizePluginsConfig, Pt as readManifestNamespace, da as parseBooleanValue, kt as resolveEffectiveEnableState, wt as loadPluginManifestRegistry } from "./model-selection-
|
|
4
|
+
import { At as resolveMemorySlotDecision, Da as normalizeResolvedSecretInputString, Ot as normalizePluginsConfig, Pt as readManifestNamespace, da as parseBooleanValue, kt as resolveEffectiveEnableState, wt as loadPluginManifestRegistry } from "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import { n as assertNoPathAliasEscape } from "./path-alias-guards-nWrE5acE.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import syncFs from "node:fs";
|