openclaw-cortex 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-B3MIBUxY.js → accounts-6btx_LVr.js} +14 -14
- package/dist/{accounts-X5YWm9b7.js → accounts-BOYxuJ9C.js} +1 -1
- package/dist/{accounts-Doecg-Pe.js → accounts-Cg6z7lKw.js} +1 -1
- package/dist/{active-listener-DI-5r3l7.js → active-listener-BhL5jMd9.js} +1 -1
- package/dist/{agent-scope-DgSbJ6PA.js → agent-scope-BLYwrEEA.js} +3 -3
- package/dist/{audio-preflight-CketII1D.js → audio-preflight-CJMYPxgz.js} +4 -4
- package/dist/{audio-preflight-EwgV_X7F.js → audio-preflight-DrLN-6C1.js} +30 -30
- package/dist/{bindings-ZzFXeSUF.js → bindings-DWtXcdc8.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-By7mU0Ld.js → channel-activity-LT3oBvO7.js} +1 -1
- package/dist/{chrome-BwkFC1Kp.js → chrome-DBmAGMTR.js} +20 -20
- package/dist/{chrome-7PNldBIY.js → chrome-jiKls1lm.js} +7 -7
- package/dist/{chunk-DoTNWpve.js → chunk-TRVny4T1.js} +1 -1
- package/dist/{command-format--87BbJbN.js → command-format-D1Crrvey.js} +1 -1
- package/dist/{command-registry-CKl3i1dn.js → command-registry-B3oActxS.js} +4 -4
- package/dist/{commands-registry-C1TEcrP2.js → commands-registry-B6FYKIxi.js} +3 -3
- package/dist/{plugin-sdk/common-CJo4CK5_.js → common-y9ALHdVZ.js} +2 -2
- package/dist/{completion-cli-D9M167hh.js → completion-cli-C_J-jd9D.js} +1 -1
- package/dist/{completion-cli-DWbOrNO2.js → completion-cli-FIejYbDL.js} +2 -2
- package/dist/{config-DnorUs_i.js → config-qfEsodS7.js} +12 -12
- package/dist/control-ui/_app/immutable/chunks/Bf6c0cUg.js +1 -0
- package/dist/control-ui/_app/immutable/entry/{app.gjdkTR50.js → app.BwCsQnur.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.Br3cjxv0.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.DZBLEJTo.js → 0.Dx9jJZSo.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{1.El_L1H2f.js → 1.BL0sXqCf.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{14.ApTZ29I1.js → 14.CDt16nEp.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/{deliver-CFSxoz2_.js → deliver-DXKF_Nu0.js} +1 -1
- package/dist/{deliver-DotE8uPe.js → deliver-miQ_b14_.js} +20 -20
- package/dist/{diagnostic-D8zLma7p.js → diagnostic-CoT2YQH4.js} +1 -1
- package/dist/{doctor-completion-B18Bypvd.js → doctor-completion-D7sHoVar.js} +1 -1
- package/dist/{doctor-completion-C45zyyLh.js → doctor-completion-sHbqqiJx.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-D07uaEbx.js → frontmatter-BT4H5SZG.js} +2 -2
- package/dist/{fs-safe-DD7nl1O-.js → fs-safe-B8-WkEXM.js} +1 -1
- package/dist/{gateway-cli-C9P1VKyA.js → gateway-cli-Ch6gZFPT.js} +6 -6
- package/dist/{gateway-cli-Cy10TRa_.js → gateway-cli-DZ4LS2Gw.js} +6 -6
- package/dist/{gemini-auth-prEOLMZr.js → gemini-auth-B32PFjFy.js} +1 -1
- package/dist/{github-copilot-token-Bu5FPDAY.js → github-copilot-token-BQ98eazZ.js} +7 -7
- package/dist/{image-D-wXbQEl.js → image-Bnzq6Ut_.js} +4 -4
- package/dist/{image-DafeVSso.js → image-DChVqMFC.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{ir-D4AIeS28.js → ir-CRTCIHIG.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-B9HIz81e.js → local-roots-tMzVEQD2.js} +5 -5
- package/dist/{login-CHBdSags.js → login-DGwFcNWz.js} +7 -7
- package/dist/{login-qr-Ch834jRc.js → login-qr-IWLbGrDP.js} +12 -12
- package/dist/{manager-B8MDZuUH.js → manager-KxfmY55A.js} +13 -13
- package/dist/{manifest-registry-CpMEl7vN.js → manifest-registry-Dovhiqzt.js} +19 -19
- package/dist/{markdown-tables-1wSxjPR8.js → markdown-tables-DO9qAEKa.js} +1 -1
- package/dist/{message-channel-CW_Jr8qx.js → message-channel-BDlvrUZF.js} +1 -1
- package/dist/{model-auth-BlsavKKY.js → model-auth-Dm1uOof6.js} +9 -9
- package/dist/{normalize-DsdAOxp0.js → normalize-D5KCCgTX.js} +9 -9
- package/dist/{onboard-BO-10joL.js → onboard-C4csnV8K.js} +1 -1
- package/dist/{onboard-CoGGGg5K.js → onboard-PLazjdti.js} +1 -1
- package/dist/{onboarding-CiOMo5_c.js → onboarding-B_8tUxFm.js} +1 -1
- package/dist/{onboarding-EMqX1DQj.js → onboarding-IlBStOWQ.js} +1 -1
- package/dist/{onboarding.finalize-BkqY37UR.js → onboarding.finalize-CUfEwc_X.js} +4 -4
- package/dist/{onboarding.finalize-D-8iuvnX.js → onboarding.finalize-CscOXfzt.js} +3 -3
- package/dist/{outbound-BI27cc0j.js → outbound-CthSjSDV.js} +7 -7
- package/dist/{outbound-attachment-Ba6Ea-zP.js → outbound-attachment-BChLBLPg.js} +2 -2
- package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
- package/dist/{paths-B4zRLe0K.js → paths-gnW-md4M.js} +1 -1
- package/dist/{pi-auth-json-gQa8k4FW.js → pi-auth-json-mTixxeol.js} +8 -8
- package/dist/{pi-embedded-DzV18Sl5.js → pi-embedded-D0HD9Cfc.js} +158 -158
- package/dist/{pi-embedded-Ig1YOX5t.js → pi-embedded-DPsT4Vb4.js} +16 -16
- package/dist/{pi-embedded-helpers-C-3FQnQz.js → pi-embedded-helpers--8pQ_5Ix.js} +4 -4
- package/dist/{pi-embedded-helpers-B4V6-8TA.js → pi-embedded-helpers-f1wpGfIT.js} +52 -52
- package/dist/plugin-sdk/{accounts-vV5Gfd26.js → accounts-CRs7kbLB.js} +1 -1
- package/dist/plugin-sdk/{accounts-iN-dbgw4.js → accounts-b1Cok6r_.js} +3 -3
- package/dist/plugin-sdk/{accounts-LxMkgia0.js → accounts-uAqOguyH.js} +1 -1
- package/dist/plugin-sdk/{active-listener-Bh0LXjEI.js → active-listener-BdVTYHTN.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BS_vck4W.js → agent-scope-OWMdRegz.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-LkecAWT_.js → api-key-rotation-DedcgBOR.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Bs1SkEb1.js → audio-preflight-EYVIo5wC.js} +25 -25
- package/dist/plugin-sdk/{bindings-CTCkMENc.js → bindings-LROfNV1W.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-PV3vhwo2.js → channel-activity-DHI8R5Xg.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C1Hsjdgf.js → channel-web-CGp1_ZH4.js} +22 -22
- package/dist/plugin-sdk/{chrome-cWvSiZw3.js → chrome-BS8LYp6z.js} +3 -3
- package/dist/plugin-sdk/{chunk-CyOBR4uk.js → chunk-C9J4kyVw.js} +1 -1
- package/dist/plugin-sdk/{command-format-C5kdEGEu.js → command-format-BTciq6Gg.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Bvksrm0n.js → commands-registry-pHxVP_Zd.js} +3 -3
- package/dist/{common-B7QyEEac.js → plugin-sdk/common-CCPGi5xr.js} +2 -2
- package/dist/plugin-sdk/{config-B8Nc1zrG.js → config-DemNgb7Z.js} +9 -9
- package/dist/plugin-sdk/{deliver-Dut_1pt2.js → deliver-BCvqh6o3.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-DFXnVf2I.js → diagnostic-oBxO5N68.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CdpuSWry.js → fs-safe-CGcLaY9D.js} +1 -1
- package/dist/plugin-sdk/{image-B3tSrFDE.js → image-BHSeZfna.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-05vuco_v.js → ir-JSGKj1e6.js} +4 -4
- package/dist/plugin-sdk/{local-roots-DlmKIABh.js → local-roots-jpNoUngc.js} +3 -3
- package/dist/plugin-sdk/{login-_t6d0RBi.js → login-Ckh0Yz4j.js} +7 -7
- package/dist/plugin-sdk/{login-qr-Czq6nBnB.js → login-qr-DRY27T-V.js} +9 -9
- package/dist/plugin-sdk/{manager-DEOMAxd_.js → manager-B9XMF8DU.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-BgkX6ON4.js → manifest-registry-Lzj-fZNH.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-FF81O4MP.js → markdown-tables-CgnPuqk-.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DxNExIdv.js → message-channel-C3OrO29D.js} +1 -1
- package/dist/plugin-sdk/{model-selection-Bj-E4zbc.js → model-selection-BQiSfqzh.js} +4 -4
- package/dist/plugin-sdk/{normalize-DWmWs1Oq.js → normalize-raRH8X3d.js} +4 -4
- package/dist/plugin-sdk/{outbound-D2-05wUl.js → outbound-CtRrsxZT.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DmbQx_Vk.js → outbound-attachment-BD9q-xgD.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-D-qvsSpX.js → pi-auth-json-BlIDGSl5.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-C1u6XyK5.js → pi-embedded-helpers-0qu1zxwF.js} +17 -17
- package/dist/plugin-sdk/{plugins-0PB0IWJL.js → plugins-BJciHbYr.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-BIyeKPJF.js → pw-ai-DkUDisr8.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-DeQxerRp.js → qmd-manager-kPD4Wyie.js} +4 -4
- package/dist/plugin-sdk/{registry-BECEtj9n.js → registry-C8pj8ctW.js} +2 -2
- package/dist/plugin-sdk/{replies-DnGHvUeV.js → replies-0BFlZXJ5.js} +3 -3
- package/dist/plugin-sdk/{reply-Due6Dl-a.js → reply-BUzGHOJ7.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-UgReuQSG.js → reply-prefix-YUOHz1rF.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BaFHJbum.js → resolve-route-DudlMKs4.js} +3 -3
- package/dist/plugin-sdk/{retry-Bkj1k1me.js → retry-B8Oq5mgi.js} +1 -1
- package/dist/plugin-sdk/{runner-Bq1wBell.js → runner-BkD3LLSl.js} +9 -9
- package/dist/plugin-sdk/{send-MrY4gJ_w.js → send-9i1KJYhJ.js} +7 -7
- package/dist/plugin-sdk/{send-D4HKCCvV.js → send-A_uouj00.js} +7 -7
- package/dist/plugin-sdk/{send-By-dm-fT.js → send-CpfmIaxP.js} +11 -11
- package/dist/plugin-sdk/{send-NUKqMNZh.js → send-DREpPboJ.js} +6 -6
- package/dist/plugin-sdk/{send-M99nJHP9.js → send-Di1hHvf2.js} +11 -11
- package/dist/plugin-sdk/{session-DGLRioDC.js → session-CpS-Mhnp.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cw-IRPUz.js → skill-commands-CTB7AZXn.js} +5 -5
- package/dist/plugin-sdk/{skills-D0-IpJne.js → skills-BCD1hFBZ.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DtIiUWZr.js → sqlite-Yn48izJ_.js} +1 -1
- package/dist/plugin-sdk/{store-BcTI1iBS.js → store-BJRhX9Bi.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Ck27y_6W.js → subsystem-BfLMZ8kW.js} +1 -1
- package/dist/plugin-sdk/{tables-B6ajREI6.js → tables-D5aPNTF6.js} +1 -1
- package/dist/plugin-sdk/{thinking-D81fexfE.js → thinking-BACprzA0.js} +5 -5
- package/dist/plugin-sdk/{tokens-B6GWdF_0.js → tokens-D1LxPszt.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CbPwu1_R.js → tool-loop-detection-CYSptBsl.js} +2 -2
- package/dist/plugin-sdk/web-DNugKZLo.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-B8IYO5sc.js → whatsapp-actions-CGuheX42.js} +20 -20
- package/dist/{plugins-CLJ0iOl0.js → plugins-CJYXNO4s.js} +1 -1
- package/dist/{program-DWc2vj5U.js → program-BEOFzhHf.js} +2 -2
- package/dist/{program-context-g9Bf7H9y.js → program-context-CTRcW6qt.js} +6 -6
- package/dist/{prompt-select-styled-Dq1G221I.js → prompt-select-styled-DEl1ViOW.js} +1 -1
- package/dist/{prompt-select-styled-dUrAqGxZ.js → prompt-select-styled-DxHHs9eu.js} +1 -1
- package/dist/{pw-ai-Db7y7La-.js → pw-ai-BJE3mkCf.js} +11 -11
- package/dist/{pw-ai-CNp2t_EO.js → pw-ai-D6PxL0UG.js} +1 -1
- package/dist/{qmd-manager-3KfZrilm.js → qmd-manager-4-VYqNeC.js} +7 -7
- package/dist/{register.maintenance-BQlKe9JQ.js → register.maintenance-BdAIyY7s.js} +4 -4
- package/dist/{register.maintenance-BXCIyC2q.js → register.maintenance-jNMy6C-i.js} +5 -5
- package/dist/{register.onboard-XjRFAaX-.js → register.onboard-C_oZreTK.js} +2 -2
- package/dist/{register.onboard-BjMshgZ4.js → register.onboard-DlDtwyfd.js} +2 -2
- package/dist/{register.setup-D9k8Eyg7.js → register.setup-Ba6S39kI.js} +2 -2
- package/dist/{register.setup-C3aOJ-9J.js → register.setup-WBFMBTcP.js} +2 -2
- package/dist/{register.subclis-DpCWe0ca.js → register.subclis-DtUGzYVz.js} +3 -3
- package/dist/{registry-CXBAJGac.js → registry-BmY4gNy6.js} +17 -17
- package/dist/{replies-C3QP8Fs6.js → replies-BJH3pQXJ.js} +3 -3
- package/dist/{reply-prefix-DhPco1Lk.js → reply-prefix-BaCBHwi7.js} +1 -1
- package/dist/{resolve-route-BQouUsWd.js → resolve-route-ClURVRZM.js} +4 -4
- package/dist/{retry-BwVcNQB0.js → retry-BxB_D6Pn.js} +1 -1
- package/dist/{run-main-BRe5c6iW.js → run-main-B6uubEb8.js} +3 -3
- package/dist/{runner-cxIcSp2C.js → runner-BmfMAciA.js} +9 -9
- package/dist/{runner-BN1T_Ne4.js → runner-CRUcM4a1.js} +1 -1
- package/dist/{send-DNUVC_tJ.js → send-B6BrpfcR.js} +7 -7
- package/dist/{send-ByKJYHWg.js → send-BNdapfcg.js} +19 -19
- package/dist/{send-CPUILfmc.js → send-C1F31aYA.js} +6 -6
- package/dist/{send-3ea6pkzH.js → send-D6tzL2Tv.js} +10 -10
- package/dist/{send-2sCLgOVr.js → send-DvBDdcQr.js} +6 -6
- package/dist/{session-C0_85REJ.js → session-BH5NTora.js} +8 -8
- package/dist/{skill-commands-IxgOIsIT.js → skill-commands-DVss6_wi.js} +9 -9
- package/dist/{skills-CwAZv64I.js → skills-Ci_2Mah4.js} +21 -21
- package/dist/{sqlite-BY19hYgD.js → sqlite-DJh2xLr6.js} +4 -4
- package/dist/{store-CDqpQLub.js → store-Be0QxLPZ.js} +2 -2
- package/dist/{subsystem-BFaeHXzD.js → subsystem-B5g771Td.js} +1 -1
- package/dist/{tables-z72GfOJY.js → tables-xDr7OSBa.js} +1 -1
- package/dist/{thinking-BzWAkN2b.js → thinking-wiChP3LK.js} +5 -5
- package/dist/{tokens-CC-Nd7t2.js → tokens-BRx7o_ZS.js} +1 -1
- package/dist/{tool-loop-detection-DDnbw1kC.js → tool-loop-detection-BjQsVGUc.js} +3 -3
- package/dist/{update-cli-Cnm99-Cj.js → update-cli-COyyIt37.js} +5 -5
- package/dist/{update-cli-3URF877J.js → update-cli-WAMVsPit.js} +4 -4
- package/dist/{web-CXDGlE3A.js → web-C0-NYLoG.js} +57 -57
- package/dist/{web-ComVBhjb.js → web-QGqe0Uj4.js} +6 -6
- package/dist/{whatsapp-actions-CLGSXEPl.js → whatsapp-actions-CgowK4CW.js} +23 -23
- package/dist/{workspace-CGgFZdqw.js → workspace-D9IzNnST.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/CB9985Nn.js +0 -1
- package/dist/control-ui/_app/immutable/entry/start.B5atPhn7.js +0 -1
- package/dist/plugin-sdk/web-BfmMxgKj.js +0 -65
|
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, y as trigge
|
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CGx2ESmP.js";
|
|
6
6
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-B8d2DiXw.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C2vFjSxX.js";
|
|
8
|
-
import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers
|
|
8
|
+
import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers--8pQ_5Ix.js";
|
|
9
9
|
import { d as getChannelDock } from "./thinking-DNrVhgpB.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-YQGDBsHo.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-CNKgA0te.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
|
|
3
3
|
import { c as normalizeAccountId$1 } from "./session-key-CgcjHuX_.js";
|
|
4
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-
|
|
7
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
8
|
-
import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-
|
|
9
|
-
import { d as getChannelDock } from "./thinking-
|
|
10
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
11
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-BmY4gNy6.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
|
|
6
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-BRx7o_ZS.js";
|
|
7
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CJYXNO4s.js";
|
|
8
|
+
import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-f1wpGfIT.js";
|
|
9
|
+
import { d as getChannelDock } from "./thinking-wiChP3LK.js";
|
|
10
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-TRVny4T1.js";
|
|
11
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DO9qAEKa.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-tMzVEQD2.js";
|
|
13
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DvBDdcQr.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fs from "node:fs";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
|
|
18
18
|
//#region src/plugins/hooks.ts
|
|
@@ -677,11 +677,11 @@ function resolveFailedDir(stateDir) {
|
|
|
677
677
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
678
678
|
async function ensureQueueDir(stateDir) {
|
|
679
679
|
const queueDir = resolveQueueDir(stateDir);
|
|
680
|
-
await
|
|
680
|
+
await fs.promises.mkdir(queueDir, {
|
|
681
681
|
recursive: true,
|
|
682
682
|
mode: 448
|
|
683
683
|
});
|
|
684
|
-
await
|
|
684
|
+
await fs.promises.mkdir(resolveFailedDir(stateDir), {
|
|
685
685
|
recursive: true,
|
|
686
686
|
mode: 448
|
|
687
687
|
});
|
|
@@ -708,18 +708,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
708
708
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
709
709
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
710
710
|
const json = JSON.stringify(entry, null, 2);
|
|
711
|
-
await
|
|
711
|
+
await fs.promises.writeFile(tmp, json, {
|
|
712
712
|
encoding: "utf-8",
|
|
713
713
|
mode: 384
|
|
714
714
|
});
|
|
715
|
-
await
|
|
715
|
+
await fs.promises.rename(tmp, filePath);
|
|
716
716
|
return id;
|
|
717
717
|
}
|
|
718
718
|
/** Remove a successfully delivered entry from the queue. */
|
|
719
719
|
async function ackDelivery(id, stateDir) {
|
|
720
720
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
721
721
|
try {
|
|
722
|
-
await
|
|
722
|
+
await fs.promises.unlink(filePath);
|
|
723
723
|
} catch (err) {
|
|
724
724
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
725
725
|
}
|
|
@@ -727,16 +727,16 @@ async function ackDelivery(id, stateDir) {
|
|
|
727
727
|
/** Update a queue entry after a failed delivery attempt. */
|
|
728
728
|
async function failDelivery(id, error, stateDir) {
|
|
729
729
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
730
|
-
const raw = await
|
|
730
|
+
const raw = await fs.promises.readFile(filePath, "utf-8");
|
|
731
731
|
const entry = JSON.parse(raw);
|
|
732
732
|
entry.retryCount += 1;
|
|
733
733
|
entry.lastError = error;
|
|
734
734
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
735
|
-
await
|
|
735
|
+
await fs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
736
736
|
encoding: "utf-8",
|
|
737
737
|
mode: 384
|
|
738
738
|
});
|
|
739
|
-
await
|
|
739
|
+
await fs.promises.rename(tmp, filePath);
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DmrztgHU.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BXGqUdrf.js";
|
|
2
2
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-B5pKN_cp.js";
|
|
3
3
|
import { t as note } from "./note-D3Xn5qjj.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-FIejYbDL.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BM-yQZH6.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-X5BIa7jQ.js";
|
|
3
3
|
import { t as note } from "./note-C-OTWf0F.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-C_J-jd9D.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2508,7 +2508,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2508
2508
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2509
2509
|
process$1.argv = parsed.argv;
|
|
2510
2510
|
}
|
|
2511
|
-
import("./run-main-
|
|
2511
|
+
import("./run-main-B6uubEb8.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2512
2512
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2513
2513
|
process$1.exitCode = 1;
|
|
2514
2514
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,14 +7,14 @@ import { a as resolveAgentIdentity } from "./reply-prefix-DzTZTe-b.js";
|
|
|
7
7
|
import "./github-copilot-token-ttqQRqMA.js";
|
|
8
8
|
import "./env-DgmT4mUn.js";
|
|
9
9
|
import "./tokens-B8d2DiXw.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-DPsT4Vb4.js";
|
|
11
11
|
import "./normalize-ShYYjzjU.js";
|
|
12
12
|
import "./accounts-DAComajo.js";
|
|
13
13
|
import "./bindings-Du1RGVFM.js";
|
|
14
14
|
import "./send-CWMOAb1p.js";
|
|
15
15
|
import "./plugins-C2vFjSxX.js";
|
|
16
16
|
import "./send-QkIrcXE6.js";
|
|
17
|
-
import "./deliver-
|
|
17
|
+
import "./deliver-DXKF_Nu0.js";
|
|
18
18
|
import "./diagnostic-BPqN_C5K.js";
|
|
19
19
|
import "./diagnostic-session-state-Bu3E4Enn.js";
|
|
20
20
|
import "./accounts-4VxR4Yrw.js";
|
|
@@ -22,11 +22,11 @@ import "./send-DdDtTJa_.js";
|
|
|
22
22
|
import "./fs-safe-GrTh3Ydq.js";
|
|
23
23
|
import "./pi-model-discovery-DaNAekda.js";
|
|
24
24
|
import "./message-channel-BxsLQyfw.js";
|
|
25
|
-
import { B as loadSessionStore, U as saveSessionStore } from "./pi-embedded-helpers
|
|
25
|
+
import { B as loadSessionStore, U as saveSessionStore } from "./pi-embedded-helpers--8pQ_5Ix.js";
|
|
26
26
|
import "./config-C-FsU8K2.js";
|
|
27
27
|
import "./manifest-registry-DmjapxrQ.js";
|
|
28
28
|
import "./common-BLbt_nyn.js";
|
|
29
|
-
import "./chrome-
|
|
29
|
+
import "./chrome-jiKls1lm.js";
|
|
30
30
|
import "./skills-D0U6i6zO.js";
|
|
31
31
|
import "./redact-DAKoy-tb.js";
|
|
32
32
|
import "./errors-BxR4oB-s.js";
|
|
@@ -35,7 +35,7 @@ import "./store-D4zsSWrO.js";
|
|
|
35
35
|
import "./thinking-DNrVhgpB.js";
|
|
36
36
|
import "./accounts-Dh62JQhz.js";
|
|
37
37
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-COn9vdws.js";
|
|
38
|
-
import "./image-
|
|
38
|
+
import "./image-DChVqMFC.js";
|
|
39
39
|
import "./manager-8YM4OuaA.js";
|
|
40
40
|
import "./gemini-auth-DnVjaskb.js";
|
|
41
41
|
import "./sqlite-CNpRo6JS.js";
|
|
@@ -47,7 +47,7 @@ import "./ir-CEvNPW62.js";
|
|
|
47
47
|
import "./render-B1VqYyvo.js";
|
|
48
48
|
import "./commands-registry-DstTsjwe.js";
|
|
49
49
|
import "./skill-commands-ByybLoXv.js";
|
|
50
|
-
import "./runner-
|
|
50
|
+
import "./runner-CRUcM4a1.js";
|
|
51
51
|
import "./fetch-BMa0enEg.js";
|
|
52
52
|
import "./send-DXvthxtM.js";
|
|
53
53
|
import "./outbound-attachment-BYcoEf4w.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
|
|
2
2
|
import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-BkfUOe6z.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import JSON5 from "json5";
|
|
6
6
|
import YAML from "yaml";
|
|
7
7
|
|
|
@@ -79,7 +79,7 @@ function hasBinary(bin) {
|
|
|
79
79
|
for (const part of parts) for (const ext of extensions) {
|
|
80
80
|
const candidate = path.join(part, bin + ext);
|
|
81
81
|
try {
|
|
82
|
-
|
|
82
|
+
fs.accessSync(candidate, fs.constants.X_OK);
|
|
83
83
|
hasBinaryCache.set(bin, true);
|
|
84
84
|
return true;
|
|
85
85
|
} catch {}
|
|
@@ -137,7 +137,7 @@ import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-Ck
|
|
|
137
137
|
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-BsrXWJ-_.js";
|
|
138
138
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CwSEyfND.js";
|
|
139
139
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Cabl9Oh_.js";
|
|
140
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
140
|
+
import { t as runOnboardingWizard } from "./onboarding-B_8tUxFm.js";
|
|
141
141
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DieXdP6q.js";
|
|
142
142
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Dr-UjgD8.js";
|
|
143
143
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-CUoqlGqW.js";
|
|
@@ -15974,11 +15974,11 @@ function buildControlUiCspHeader() {
|
|
|
15974
15974
|
"base-uri 'none'",
|
|
15975
15975
|
"object-src 'none'",
|
|
15976
15976
|
"frame-ancestors 'none'",
|
|
15977
|
-
"script-src 'self'",
|
|
15978
|
-
"style-src 'self' 'unsafe-inline'",
|
|
15979
|
-
"img-src 'self' data: https:",
|
|
15980
|
-
"font-src 'self'",
|
|
15981
|
-
"connect-src 'self' ws: wss:"
|
|
15977
|
+
"script-src 'self' 'unsafe-inline'",
|
|
15978
|
+
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
|
15979
|
+
"img-src 'self' data: https: blob:",
|
|
15980
|
+
"font-src 'self' https://fonts.gstatic.com",
|
|
15981
|
+
"connect-src 'self' ws: wss: https:"
|
|
15982
15982
|
].join("; ");
|
|
15983
15983
|
}
|
|
15984
15984
|
|
|
@@ -142,7 +142,7 @@ import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-Bg
|
|
|
142
142
|
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-DoJPYIvC.js";
|
|
143
143
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BmaUgzFj.js";
|
|
144
144
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CHLDbXI4.js";
|
|
145
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
145
|
+
import { t as runOnboardingWizard } from "./onboarding-IlBStOWQ.js";
|
|
146
146
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-CVgJnnCa.js";
|
|
147
147
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BrHEum7O.js";
|
|
148
148
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config--k-cL9FH.js";
|
|
@@ -15978,11 +15978,11 @@ function buildControlUiCspHeader() {
|
|
|
15978
15978
|
"base-uri 'none'",
|
|
15979
15979
|
"object-src 'none'",
|
|
15980
15980
|
"frame-ancestors 'none'",
|
|
15981
|
-
"script-src 'self'",
|
|
15982
|
-
"style-src 'self' 'unsafe-inline'",
|
|
15983
|
-
"img-src 'self' data: https:",
|
|
15984
|
-
"font-src 'self'",
|
|
15985
|
-
"connect-src 'self' ws: wss:"
|
|
15981
|
+
"script-src 'self' 'unsafe-inline'",
|
|
15982
|
+
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
|
15983
|
+
"img-src 'self' data: https: blob:",
|
|
15984
|
+
"font-src 'self' https://fonts.gstatic.com",
|
|
15985
|
+
"connect-src 'self' ws: wss: https:"
|
|
15986
15986
|
].join("; ");
|
|
15987
15987
|
}
|
|
15988
15988
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/json-file.ts
|
|
7
7
|
function loadJsonFile(pathname) {
|
|
8
8
|
try {
|
|
9
|
-
if (!
|
|
10
|
-
const raw =
|
|
9
|
+
if (!fs.existsSync(pathname)) return;
|
|
10
|
+
const raw = fs.readFileSync(pathname, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return;
|
|
@@ -15,12 +15,12 @@ function loadJsonFile(pathname) {
|
|
|
15
15
|
}
|
|
16
16
|
function saveJsonFile(pathname, data) {
|
|
17
17
|
const dir = path.dirname(pathname);
|
|
18
|
-
if (!
|
|
18
|
+
if (!fs.existsSync(dir)) fs.mkdirSync(dir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
mode: 448
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
fs.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
23
|
+
fs.chmodSync(pathname, 384);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as shortenHomeInString, k as isRecord } from "./registry-
|
|
3
|
-
import { B as resolveImplicitCopilotProvider, J as normalizeSecretInput, R as normalizeProviders, V as resolveImplicitProviders, r as requireApiKey, t as getApiKeyForModel, y as resolveOpenClawAgentDir, z as resolveImplicitBedrockProvider } from "./model-auth-
|
|
2
|
+
import { R as shortenHomeInString, k as isRecord } from "./registry-BmY4gNy6.js";
|
|
3
|
+
import { B as resolveImplicitCopilotProvider, J as normalizeSecretInput, R as normalizeProviders, V as resolveImplicitProviders, r as requireApiKey, t as getApiKeyForModel, y as resolveOpenClawAgentDir, z as resolveImplicitBedrockProvider } from "./model-auth-Dm1uOof6.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C-yOXpma.js";
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-f1wpGfIT.js";
|
|
6
|
+
import { n as loadConfig } from "./config-qfEsodS7.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-BBbIZgau.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { D as isRecord, I as shortenHomeInString } from "./registry-dD2_jBuv.js";
|
|
3
3
|
import { G as resolveOpenClawAgentDir, S as getApiKeyForModel, Y as normalizeSecretInput, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-BlNTnLAe.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DaNAekda.js";
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers--8pQ_5Ix.js";
|
|
6
6
|
import { n as loadConfig } from "./config-C-FsU8K2.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-DAKoy-tb.js";
|
|
8
8
|
import path from "node:path";
|
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-BufaTTaN.js";
|
|
|
111
111
|
import { t as assertSupportedRuntime } from "./runtime-guard-DlT3NecY.js";
|
|
112
112
|
import "./ports-OAiP9UCI.js";
|
|
113
113
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-1cuXh2ix.js";
|
|
114
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
114
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-CTRcW6qt.js";
|
|
115
115
|
import "./catalog-CgtgPHMj.js";
|
|
116
116
|
import "./plugin-registry-Uby1FEL0.js";
|
|
117
117
|
import { n as resolveCliChannelOptions } from "./channel-options-D1e2PyE-.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-
|
|
2
|
-
import { b as maxBytesForKind, c as hasAlphaChannel, d as detectMime, f as extensionForMime, l as optimizeImageToPng, o as convertHeicToJpeg, r as readLocalFileSafely, t as SafeOpenError, u as resizeToJpeg, x as mediaKindFromMime } from "./fs-safe-
|
|
3
|
-
import { a as chunkText } from "./chunk-
|
|
4
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-BmY4gNy6.js";
|
|
2
|
+
import { b as maxBytesForKind, c as hasAlphaChannel, d as detectMime, f as extensionForMime, l as optimizeImageToPng, o as convertHeicToJpeg, r as readLocalFileSafely, t as SafeOpenError, u as resizeToJpeg, x as mediaKindFromMime } from "./fs-safe-B8-WkEXM.js";
|
|
3
|
+
import { a as chunkText } from "./chunk-TRVny4T1.js";
|
|
4
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-tMzVEQD2.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./tokens-
|
|
7
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
8
|
-
import "./normalize-
|
|
9
|
-
import "./accounts-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import "./registry-BmY4gNy6.js";
|
|
3
|
+
import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-BLYwrEEA.js";
|
|
4
|
+
import "./subsystem-B5g771Td.js";
|
|
5
|
+
import "./workspace-D9IzNnST.js";
|
|
6
|
+
import "./tokens-BRx7o_ZS.js";
|
|
7
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-D0HD9Cfc.js";
|
|
8
|
+
import "./normalize-D5KCCgTX.js";
|
|
9
|
+
import "./accounts-6btx_LVr.js";
|
|
10
10
|
import "./boolean-B8-BqKGQ.js";
|
|
11
|
-
import "./command-format
|
|
12
|
-
import "./bindings-
|
|
13
|
-
import "./send-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import "./send-
|
|
16
|
-
import "./deliver-
|
|
17
|
-
import "./diagnostic-
|
|
11
|
+
import "./command-format-D1Crrvey.js";
|
|
12
|
+
import "./bindings-DWtXcdc8.js";
|
|
13
|
+
import "./send-C1F31aYA.js";
|
|
14
|
+
import "./plugins-CJYXNO4s.js";
|
|
15
|
+
import "./send-D6tzL2Tv.js";
|
|
16
|
+
import "./deliver-miQ_b14_.js";
|
|
17
|
+
import "./diagnostic-CoT2YQH4.js";
|
|
18
18
|
import "./diagnostic-session-state-DmrztgHU.js";
|
|
19
|
-
import "./accounts-
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./model-auth-
|
|
23
|
-
import "./github-copilot-token-
|
|
19
|
+
import "./accounts-Cg6z7lKw.js";
|
|
20
|
+
import "./send-BNdapfcg.js";
|
|
21
|
+
import "./fs-safe-B8-WkEXM.js";
|
|
22
|
+
import "./model-auth-Dm1uOof6.js";
|
|
23
|
+
import "./github-copilot-token-BQ98eazZ.js";
|
|
24
24
|
import "./pi-model-discovery-C-yOXpma.js";
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
27
|
-
import "./config-
|
|
28
|
-
import "./manifest-registry-
|
|
29
|
-
import "./common-
|
|
30
|
-
import "./chrome-
|
|
31
|
-
import "./frontmatter-
|
|
32
|
-
import "./skills-
|
|
25
|
+
import "./message-channel-BDlvrUZF.js";
|
|
26
|
+
import "./pi-embedded-helpers-f1wpGfIT.js";
|
|
27
|
+
import "./config-qfEsodS7.js";
|
|
28
|
+
import "./manifest-registry-Dovhiqzt.js";
|
|
29
|
+
import "./common-y9ALHdVZ.js";
|
|
30
|
+
import "./chrome-DBmAGMTR.js";
|
|
31
|
+
import "./frontmatter-BT4H5SZG.js";
|
|
32
|
+
import "./skills-Ci_2Mah4.js";
|
|
33
33
|
import "./redact-BBbIZgau.js";
|
|
34
34
|
import "./errors-3KjSwJLH.js";
|
|
35
35
|
import "./ssrf-B8OrDkCk.js";
|
|
36
|
-
import "./store-
|
|
37
|
-
import "./thinking-
|
|
38
|
-
import "./accounts-
|
|
39
|
-
import "./paths-
|
|
40
|
-
import "./image-
|
|
41
|
-
import "./reply-prefix-
|
|
42
|
-
import "./manager-
|
|
43
|
-
import "./gemini-auth-
|
|
44
|
-
import "./sqlite-
|
|
45
|
-
import "./retry-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./markdown-tables-
|
|
48
|
-
import "./local-roots-
|
|
49
|
-
import "./ir-
|
|
36
|
+
import "./store-Be0QxLPZ.js";
|
|
37
|
+
import "./thinking-wiChP3LK.js";
|
|
38
|
+
import "./accounts-BOYxuJ9C.js";
|
|
39
|
+
import "./paths-gnW-md4M.js";
|
|
40
|
+
import "./image-Bnzq6Ut_.js";
|
|
41
|
+
import "./reply-prefix-BaCBHwi7.js";
|
|
42
|
+
import "./manager-KxfmY55A.js";
|
|
43
|
+
import "./gemini-auth-B32PFjFy.js";
|
|
44
|
+
import "./sqlite-DJh2xLr6.js";
|
|
45
|
+
import "./retry-BxB_D6Pn.js";
|
|
46
|
+
import "./chunk-TRVny4T1.js";
|
|
47
|
+
import "./markdown-tables-DO9qAEKa.js";
|
|
48
|
+
import "./local-roots-tMzVEQD2.js";
|
|
49
|
+
import "./ir-CRTCIHIG.js";
|
|
50
50
|
import "./render-CDCvpfhh.js";
|
|
51
|
-
import "./commands-registry-
|
|
52
|
-
import "./skill-commands-
|
|
53
|
-
import "./runner-
|
|
51
|
+
import "./commands-registry-B6FYKIxi.js";
|
|
52
|
+
import "./skill-commands-DVss6_wi.js";
|
|
53
|
+
import "./runner-BmfMAciA.js";
|
|
54
54
|
import "./fetch-DtI0mtzx.js";
|
|
55
|
-
import "./send-
|
|
56
|
-
import "./outbound-attachment-
|
|
57
|
-
import "./send-
|
|
58
|
-
import "./resolve-route-
|
|
59
|
-
import "./channel-activity-
|
|
60
|
-
import "./tables-
|
|
55
|
+
import "./send-DvBDdcQr.js";
|
|
56
|
+
import "./outbound-attachment-BChLBLPg.js";
|
|
57
|
+
import "./send-B6BrpfcR.js";
|
|
58
|
+
import "./resolve-route-ClURVRZM.js";
|
|
59
|
+
import "./channel-activity-LT3oBvO7.js";
|
|
60
|
+
import "./tables-xDr7OSBa.js";
|
|
61
61
|
import "./proxy-CBJ1upuz.js";
|
|
62
|
-
import "./replies-
|
|
62
|
+
import "./replies-BJH3pQXJ.js";
|
|
63
63
|
import fs from "node:fs/promises";
|
|
64
64
|
import os from "node:os";
|
|
65
65
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
-
import { dt as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
3
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { S as logWarn } from "./workspace-
|
|
5
|
-
import { d as detectMime, f as extensionForMime } from "./fs-safe-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
|
|
2
|
+
import { dt as resolvePreferredOpenClawTmpDir } from "./registry-BmY4gNy6.js";
|
|
3
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-BLYwrEEA.js";
|
|
4
|
+
import { S as logWarn } from "./workspace-D9IzNnST.js";
|
|
5
|
+
import { d as detectMime, f as extensionForMime } from "./fs-safe-B8-WkEXM.js";
|
|
6
6
|
import { a as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-B8OrDkCk.js";
|
|
7
7
|
import { t as bindAbortRelay } from "./fetch-timeout-DL3f_O53.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { x as logInfo } from "./workspace-
|
|
5
|
-
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format
|
|
7
|
-
import { n as loadConfig } from "./config-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-BmY4gNy6.js";
|
|
3
|
+
import { r as defaultRuntime } from "./subsystem-B5g771Td.js";
|
|
4
|
+
import { x as logInfo } from "./workspace-D9IzNnST.js";
|
|
5
|
+
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-6btx_LVr.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-D1Crrvey.js";
|
|
7
|
+
import { n as loadConfig } from "./config-qfEsodS7.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BH5NTora.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { x as logInfo } from "./workspace-
|
|
6
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-BmY4gNy6.js";
|
|
3
|
+
import "./agent-scope-BLYwrEEA.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-B5g771Td.js";
|
|
5
|
+
import { x as logInfo } from "./workspace-D9IzNnST.js";
|
|
6
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-6btx_LVr.js";
|
|
7
7
|
import "./boolean-B8-BqKGQ.js";
|
|
8
|
-
import "./command-format
|
|
9
|
-
import "./model-auth-
|
|
10
|
-
import "./github-copilot-token-
|
|
11
|
-
import { n as loadConfig } from "./config-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
8
|
+
import "./command-format-D1Crrvey.js";
|
|
9
|
+
import "./model-auth-Dm1uOof6.js";
|
|
10
|
+
import "./github-copilot-token-BQ98eazZ.js";
|
|
11
|
+
import { n as loadConfig } from "./config-qfEsodS7.js";
|
|
12
|
+
import "./manifest-registry-Dovhiqzt.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BH5NTora.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format
|
|
7
|
-
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
|
|
3
|
+
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-BmY4gNy6.js";
|
|
4
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-BLYwrEEA.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-D1Crrvey.js";
|
|
7
|
+
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-Dm1uOof6.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-3KjSwJLH.js";
|
|
9
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
9
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-gnW-md4M.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-CZ8CG4ht.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-
|
|
13
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-B32PFjFy.js";
|
|
12
|
+
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-DJh2xLr6.js";
|
|
13
|
+
import { n as retryAsync } from "./retry-BxB_D6Pn.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -511,7 +511,7 @@ function canAutoSelectLocal(options) {
|
|
|
511
511
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
512
512
|
const resolved = resolveUserPath(modelPath);
|
|
513
513
|
try {
|
|
514
|
-
return
|
|
514
|
+
return fs$1.statSync(resolved).isFile();
|
|
515
515
|
} catch {
|
|
516
516
|
return false;
|
|
517
517
|
}
|
|
@@ -1939,7 +1939,7 @@ var MemoryManagerSyncOps = class {
|
|
|
1939
1939
|
]);
|
|
1940
1940
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
1941
1941
|
for (const entry of additionalPaths) try {
|
|
1942
|
-
const stat =
|
|
1942
|
+
const stat = fs$1.lstatSync(entry);
|
|
1943
1943
|
if (stat.isSymbolicLink()) continue;
|
|
1944
1944
|
if (stat.isDirectory()) {
|
|
1945
1945
|
watchPaths.add(path.join(entry, "**", "*.md"));
|