openclaw-cortex 3.2.1 → 3.2.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/{audio-preflight-CJMYPxgz.js → audio-preflight-CketII1D.js} +4 -4
- package/dist/{audio-preflight-DrLN-6C1.js → audio-preflight-DvPjddyW.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-jiKls1lm.js → chrome-7PNldBIY.js} +7 -7
- package/dist/{chrome-DBmAGMTR.js → chrome-C-c5M24y.js} +7 -7
- package/dist/{command-registry-C2HYRZO_.js → command-registry-bnmnLUnx.js} +4 -4
- package/dist/{completion-cli-DB5qbPxk.js → completion-cli-CNWQ3fEd.js} +1 -1
- package/dist/{completion-cli-rVm9UjTQ.js → completion-cli-DkjwWQiV.js} +2 -2
- package/dist/control-ui/_app/immutable/chunks/{B1iX_42Z.js → C1foZlYx.js} +1 -1
- package/dist/control-ui/_app/immutable/entry/{app.Bd8SQgW6.js → app.CrCCwjNG.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.COsntbkx.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.BhV9YmDE.js → 0.C_eDaxcG.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{1.BGSGmS27.js → 1.Bl8gqrPg.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.BJ_h8euT.js → 15.DprKPzQ3.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/{deliver-DXKF_Nu0.js → deliver-CFSxoz2_.js} +1 -1
- package/dist/{deliver-miQ_b14_.js → deliver-Cx5HCk1u.js} +1 -1
- package/dist/{doctor-completion-CDdw31wQ.js → doctor-completion-DsPB0eOt.js} +1 -1
- package/dist/{doctor-completion-lw65Gm69.js → doctor-completion-v-5OlFRw.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-D_RCXTvo.js → gateway-cli-Can-C2Mw.js} +2 -2
- package/dist/{gateway-cli-yd0wJM_1.js → gateway-cli-DlankjZa.js} +2 -2
- package/dist/{image-DChVqMFC.js → image-DafeVSso.js} +1 -1
- package/dist/{image-Bnzq6Ut_.js → image-Dgvueazf.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-DtWmcQlQ.js → onboard-Be9rD-tu.js} +1 -1
- package/dist/{onboard-Bd7A_X5U.js → onboard-Dq4WS2ai.js} +1 -1
- package/dist/{onboarding-JoS3gVBZ.js → onboarding-jX-gc6kQ.js} +1 -1
- package/dist/{onboarding-D5BRyKY0.js → onboarding-mZg7K8XF.js} +1 -1
- package/dist/{onboarding.finalize-DwWgfZqG.js → onboarding.finalize-A-p1VHgb.js} +4 -4
- package/dist/{onboarding.finalize-Bbi4NFVI.js → onboarding.finalize-CYqgr1Ah.js} +3 -3
- package/dist/{pi-embedded-D0HD9Cfc.js → pi-embedded-BUQwV3oO.js} +16 -16
- package/dist/{pi-embedded-DPsT4Vb4.js → pi-embedded-Ig1YOX5t.js} +16 -16
- package/dist/{pi-embedded-helpers--8pQ_5Ix.js → pi-embedded-helpers-C-3FQnQz.js} +4 -4
- package/dist/{pi-embedded-helpers-f1wpGfIT.js → pi-embedded-helpers-CdVb74wU.js} +4 -4
- package/dist/{program-a6gIDhmg.js → program-DuYe-jhV.js} +2 -2
- package/dist/{program-context-a5xRVp1E.js → program-context-BqVXk3-Z.js} +6 -6
- package/dist/{prompt-select-styled-BEAD7Qf_.js → prompt-select-styled-Bw0ENvI5.js} +1 -1
- package/dist/{prompt-select-styled-pDE5STe1.js → prompt-select-styled-jxYRRElg.js} +1 -1
- package/dist/{pw-ai-BJE3mkCf.js → pw-ai-BwFJauyF.js} +1 -1
- package/dist/{pw-ai-D6PxL0UG.js → pw-ai-CNp2t_EO.js} +1 -1
- package/dist/{register.maintenance-CkXb4wzI.js → register.maintenance-C4m4RDEl.js} +5 -5
- package/dist/{register.maintenance-C0OozXb_.js → register.maintenance-DGXOz6io.js} +4 -4
- package/dist/{register.onboard-B612Ekbb.js → register.onboard-BX_gqWPl.js} +2 -2
- package/dist/{register.onboard-BFR0fFZX.js → register.onboard-Cg6Xn_7w.js} +2 -2
- package/dist/{register.setup-CtDlzU4V.js → register.setup-BIKdjgm0.js} +2 -2
- package/dist/{register.setup-Caf3i42W.js → register.setup-BOb2yddg.js} +2 -2
- package/dist/{register.subclis-7bpaXBdE.js → register.subclis-NBD6Ksnk.js} +3 -3
- package/dist/{run-main-Y3Uf0qp5.js → run-main-SxDdrSGo.js} +3 -3
- package/dist/{runner-BmfMAciA.js → runner-46SPi1J0.js} +1 -1
- package/dist/{runner-CRUcM4a1.js → runner-BN1T_Ne4.js} +1 -1
- package/dist/{update-cli-D-f0EC6V.js → update-cli-BKj8J7RT.js} +5 -5
- package/dist/{update-cli-DQ-gzfuL.js → update-cli-DvEpui7q.js} +4 -4
- package/dist/{web-C0-NYLoG.js → web-BR2lk-tX.js} +6 -6
- package/dist/{web-QGqe0Uj4.js → web-ComVBhjb.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/entry/start.CNQsVt7L.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as _a,a as k,b as x,s as g,f as b,e as ka,g as Cr}from"../chunks/B2A7gHtL.js";import{p as wa,s as L,a as q,u as Ar,g as e,d as f,b as Ma,t as y,c as Ca,e as Aa,h as a,f as n,i as D,$ as Ta,r,n as O,j as Kt,m as Tr,o as Lr}from"../chunks/qR_TM3YX.js";import{i as w}from"../chunks/DpBBTLWw.js";import{g as La,a as Pt,s as S,r as K,e as ne,i as Qt,b as xe}from"../chunks/BLtDog0v.js";import{h as Sa}from"../chunks/CXQ1lKJR.js";import{s as ja}from"../chunks/SHB02qEx.js";import{b as $e,a as Be}from"../chunks/nnazh41B.js";import{b as Da,i as Sr,s as jr}from"../chunks/DVP7Iy08.js";import{g as $a}from"../chunks/C--qzJ6W.js";import{g as Ba}from"../chunks/Be_uRYmX.js";import{g as Fa}from"../chunks/
|
|
1
|
+
import{d as _a,a as k,b as x,s as g,f as b,e as ka,g as Cr}from"../chunks/B2A7gHtL.js";import{p as wa,s as L,a as q,u as Ar,g as e,d as f,b as Ma,t as y,c as Ca,e as Aa,h as a,f as n,i as D,$ as Ta,r,n as O,j as Kt,m as Tr,o as Lr}from"../chunks/qR_TM3YX.js";import{i as w}from"../chunks/DpBBTLWw.js";import{g as La,a as Pt,s as S,r as K,e as ne,i as Qt,b as xe}from"../chunks/BLtDog0v.js";import{h as Sa}from"../chunks/CXQ1lKJR.js";import{s as ja}from"../chunks/SHB02qEx.js";import{b as $e,a as Be}from"../chunks/nnazh41B.js";import{b as Da,i as Sr,s as jr}from"../chunks/DVP7Iy08.js";import{g as $a}from"../chunks/C--qzJ6W.js";import{g as Ba}from"../chunks/Be_uRYmX.js";import{g as Fa}from"../chunks/C1foZlYx.js";var za=b('<div class="mt-4 rounded-xl border border-border-default bg-bg-secondary/50 p-4 animate-fade-in"><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div><label class="block text-xs text-text-muted mb-1">Active Minutes (0=all)</label> <input type="number" min="0" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div><label class="block text-xs text-text-muted mb-1">Limit</label> <input type="number" min="1" max="500" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div class="flex flex-col justify-end gap-2"><label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Global</label> <label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Unknown</label></div> <div class="flex items-end"><button class="w-full px-3 py-1.5 text-sm rounded-lg bg-accent-cyan/10 text-accent-cyan border border-accent-cyan/30 hover:bg-accent-cyan/20 transition-all">Apply Filters</button></div></div></div>'),Va=b('<div class="flex rounded-lg border border-border-default overflow-hidden"><button>Grouped</button> <button>All</button></div>'),Ha=b('<div class="flex items-center gap-1"><button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Expand all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg></button> <button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Collapse all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button> <span class="text-[10px] text-text-muted ml-1"> </span></div>'),Ia=b('<div class="flex flex-col items-center justify-center h-full text-center"><div class="w-16 h-16 rounded-2xl bg-bg-tertiary border border-border-default flex items-center justify-center mb-4"><svg class="w-8 h-8 text-text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636a9 9 0 010 12.728m-2.829-2.829a5 5 0 000-7.07"></path></svg></div> <p class="text-text-muted text-sm">Connect to the gateway to view sessions.</p></div>'),Na=b('<div class="rounded-xl border border-border-default bg-bg-secondary/50 p-5 animate-pulse"><div class="h-4 w-48 bg-bg-tertiary rounded mb-3"></div> <div class="h-3 w-96 bg-bg-tertiary rounded mb-2"></div> <div class="flex gap-2"><div class="h-5 w-16 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-20 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-14 bg-bg-tertiary rounded-full"></div></div></div>'),Ra=b('<div class="flex flex-col gap-3"></div>'),Ua=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Ea=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Oa=b('<button><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button>'),Ga=b('<div class="w-6 flex-shrink-0 mt-0.5 flex items-center justify-center"><span></span></div>'),qa=b('<form class="flex items-center gap-2"><input type="text" class="px-2 py-1 text-sm rounded border border-accent-cyan/50 bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan w-48"/> <button type="submit" class="text-accent-cyan text-xs hover:underline">Save</button> <button type="button" class="text-text-muted text-xs hover:text-text-secondary">Cancel</button></form>'),Ka=b('<span> </span> <button class="p-0.5 rounded hover:bg-bg-hover text-text-muted hover:text-accent-cyan transition-colors" title="Rename"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path></svg></button>',1),Pa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Qa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-accent-purple/10 text-purple-300 border border-accent-purple/10"> </span>'),Wa=b("<span> </span>"),Ja=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-purple/10 text-purple-300 border border-accent-purple/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg> </span>'),Xa=b('<span class="px-2 py-0.5 rounded text-[10px] bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Ya=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-green/10 text-accent-green border border-accent-green/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A2 2 0 013 12V7a4 4 0 014-4z"></path></svg> </span>'),Za=b('<p class="text-xs text-text-muted truncate mb-1.5 max-w-[500px]"> </p>'),en=b('<span class="flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium bg-accent-amber/15 text-accent-amber border border-accent-amber/30"> </span>'),tn=b("<option> </option>"),rn=b(`<select class="px-2 py-1 rounded-lg text-[11px] border border-border-default bg-bg-tertiary
|
|
2
2
|
text-text-secondary hover:border-accent-purple/40 focus:outline-none focus:border-accent-purple
|
|
3
3
|
transition-all disabled:opacity-50 max-w-[200px] cursor-pointer appearance-none
|
|
4
4
|
bg-[url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2388929e%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%2F%3E%3C%2Fsvg%3E')]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1771720203044"}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
14
14
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
|
15
15
|
<link rel="preconnect" href="wss://openclaw.honercloud.com" />
|
|
16
|
-
<link href="/_app/immutable/entry/start.
|
|
17
|
-
<link href="/_app/immutable/chunks/
|
|
16
|
+
<link href="/_app/immutable/entry/start.COsntbkx.js" rel="modulepreload">
|
|
17
|
+
<link href="/_app/immutable/chunks/C1foZlYx.js" rel="modulepreload">
|
|
18
18
|
<link href="/_app/immutable/chunks/qR_TM3YX.js" rel="modulepreload">
|
|
19
19
|
<link href="/_app/immutable/chunks/B3DkuU-J.js" rel="modulepreload">
|
|
20
20
|
<link href="/_app/immutable/chunks/B-drBnSa.js" rel="modulepreload">
|
|
21
|
-
<link href="/_app/immutable/entry/app.
|
|
21
|
+
<link href="/_app/immutable/entry/app.CrCCwjNG.js" rel="modulepreload">
|
|
22
22
|
<link href="/_app/immutable/chunks/DpBBTLWw.js" rel="modulepreload">
|
|
23
23
|
<link href="/_app/immutable/chunks/B2A7gHtL.js" rel="modulepreload">
|
|
24
24
|
<link href="/_app/immutable/chunks/BYXRTvT-.js" rel="modulepreload">
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
<div style="display: contents">
|
|
30
30
|
<script>
|
|
31
31
|
{
|
|
32
|
-
|
|
32
|
+
__sveltekit_wi9aep = {
|
|
33
33
|
base: ""
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
const element = document.currentScript.parentElement;
|
|
37
37
|
|
|
38
38
|
Promise.all([
|
|
39
|
-
import("/_app/immutable/entry/start.
|
|
40
|
-
import("/_app/immutable/entry/app.
|
|
39
|
+
import("/_app/immutable/entry/start.COsntbkx.js"),
|
|
40
|
+
import("/_app/immutable/entry/app.CrCCwjNG.js")
|
|
41
41
|
]).then(([kit, app]) => {
|
|
42
42
|
kit.start(app, element);
|
|
43
43
|
});
|
|
@@ -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-C-3FQnQz.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";
|
|
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, x as trigge
|
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-B5g771Td.js";
|
|
6
6
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-BRx7o_ZS.js";
|
|
7
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-
|
|
8
|
+
import { R as appendAssistantMessageToSessionTranscript, i as isMessagingToolDuplicate, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-CdVb74wU.js";
|
|
9
9
|
import { d as getChannelDock } from "./thinking-wiChP3LK.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-TRVny4T1.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DO9qAEKa.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-ColUA4L7.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-CEn84_Bd.js";
|
|
3
3
|
import { t as note } from "./note-COLxJd1A.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-CNWQ3fEd.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -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-DewoEWtc.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-DkjwWQiV.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
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-SxDdrSGo.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-Ig1YOX5t.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-CFSxoz2_.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-C-3FQnQz.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-7PNldBIY.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-DafeVSso.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-BN1T_Ne4.js";
|
|
51
51
|
import "./fetch-BMa0enEg.js";
|
|
52
52
|
import "./send-DXvthxtM.js";
|
|
53
53
|
import "./outbound-attachment-BYcoEf4w.js";
|
|
@@ -139,7 +139,7 @@ import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-Cw
|
|
|
139
139
|
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CuD8XoQy.js";
|
|
140
140
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DnNkT3mI.js";
|
|
141
141
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BrrYgTQO.js";
|
|
142
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
142
|
+
import { t as runOnboardingWizard } from "./onboarding-mZg7K8XF.js";
|
|
143
143
|
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-DgHzRUEl.js";
|
|
144
144
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-C4IVVrZO.js";
|
|
145
145
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-DHoLdlhC.js";
|
|
@@ -16290,7 +16290,7 @@ function buildControlUiCspHeader() {
|
|
|
16290
16290
|
"base-uri 'none'",
|
|
16291
16291
|
"object-src 'none'",
|
|
16292
16292
|
"frame-ancestors 'none'",
|
|
16293
|
-
"script-src 'self' 'unsafe-inline'",
|
|
16293
|
+
"script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval'",
|
|
16294
16294
|
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
|
16295
16295
|
"img-src 'self' data: https: blob:",
|
|
16296
16296
|
"font-src 'self' data: https://fonts.gstatic.com",
|
|
@@ -146,7 +146,7 @@ import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status--m
|
|
|
146
146
|
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-HfXeNmAj.js";
|
|
147
147
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-LA1g8l2Z.js";
|
|
148
148
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-DnX0d2ne.js";
|
|
149
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
149
|
+
import { t as runOnboardingWizard } from "./onboarding-jX-gc6kQ.js";
|
|
150
150
|
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-CBVQ1O88.js";
|
|
151
151
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Rfb3FX0J.js";
|
|
152
152
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-sDVfdzxD.js";
|
|
@@ -16296,7 +16296,7 @@ function buildControlUiCspHeader() {
|
|
|
16296
16296
|
"base-uri 'none'",
|
|
16297
16297
|
"object-src 'none'",
|
|
16298
16298
|
"frame-ancestors 'none'",
|
|
16299
|
-
"script-src 'self' 'unsafe-inline'",
|
|
16299
|
+
"script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval'",
|
|
16300
16300
|
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
|
16301
16301
|
"img-src 'self' data: https: blob:",
|
|
16302
16302
|
"font-src 'self' data: https://fonts.gstatic.com",
|
|
@@ -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-C-3FQnQz.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";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { R as shortenHomeInString, k as isRecord } from "./registry-BmY4gNy6.js";
|
|
3
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-
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CdVb74wU.js";
|
|
6
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";
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-2t4JZsvc.js";
|
|
|
113
113
|
import { t as assertSupportedRuntime } from "./runtime-guard-C1Eeo_pS.js";
|
|
114
114
|
import "./ports-n8zR0k9G.js";
|
|
115
115
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-DR9zSCe_.js";
|
|
116
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
116
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BqVXk3-Z.js";
|
|
117
117
|
import "./catalog-Ce6N7fVU.js";
|
|
118
118
|
import "./plugin-registry-6pWyMqfg.js";
|
|
119
119
|
import { n as resolveCliChannelOptions } from "./channel-options-B48SGv9h.js";
|
|
@@ -4,7 +4,7 @@ import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWork
|
|
|
4
4
|
import "./subsystem-B5g771Td.js";
|
|
5
5
|
import "./workspace-D9IzNnST.js";
|
|
6
6
|
import "./tokens-BRx7o_ZS.js";
|
|
7
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
7
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-BUQwV3oO.js";
|
|
8
8
|
import "./normalize-D5KCCgTX.js";
|
|
9
9
|
import "./accounts-6btx_LVr.js";
|
|
10
10
|
import "./boolean-B8-BqKGQ.js";
|
|
@@ -13,7 +13,7 @@ import "./bindings-DWtXcdc8.js";
|
|
|
13
13
|
import "./send-C1F31aYA.js";
|
|
14
14
|
import "./plugins-CJYXNO4s.js";
|
|
15
15
|
import "./send-D6tzL2Tv.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-Cx5HCk1u.js";
|
|
17
17
|
import "./diagnostic-CoT2YQH4.js";
|
|
18
18
|
import "./diagnostic-session-state-DmrztgHU.js";
|
|
19
19
|
import "./accounts-Cg6z7lKw.js";
|
|
@@ -23,11 +23,11 @@ import "./model-auth-Dm1uOof6.js";
|
|
|
23
23
|
import "./github-copilot-token-BQ98eazZ.js";
|
|
24
24
|
import "./pi-model-discovery-C-yOXpma.js";
|
|
25
25
|
import "./message-channel-BDlvrUZF.js";
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
26
|
+
import "./pi-embedded-helpers-CdVb74wU.js";
|
|
27
27
|
import "./config-qfEsodS7.js";
|
|
28
28
|
import "./manifest-registry-Dovhiqzt.js";
|
|
29
29
|
import "./common-y9ALHdVZ.js";
|
|
30
|
-
import "./chrome-
|
|
30
|
+
import "./chrome-C-c5M24y.js";
|
|
31
31
|
import "./frontmatter-BT4H5SZG.js";
|
|
32
32
|
import "./skills-Ci_2Mah4.js";
|
|
33
33
|
import "./redact-BBbIZgau.js";
|
|
@@ -37,7 +37,7 @@ import "./store-Be0QxLPZ.js";
|
|
|
37
37
|
import "./thinking-wiChP3LK.js";
|
|
38
38
|
import "./accounts-BOYxuJ9C.js";
|
|
39
39
|
import "./paths-gnW-md4M.js";
|
|
40
|
-
import "./image-
|
|
40
|
+
import "./image-Dgvueazf.js";
|
|
41
41
|
import "./reply-prefix-BaCBHwi7.js";
|
|
42
42
|
import "./manager-KxfmY55A.js";
|
|
43
43
|
import "./gemini-auth-B32PFjFy.js";
|
|
@@ -50,7 +50,7 @@ import "./ir-CRTCIHIG.js";
|
|
|
50
50
|
import "./render-CDCvpfhh.js";
|
|
51
51
|
import "./commands-registry-B6FYKIxi.js";
|
|
52
52
|
import "./skill-commands-DVss6_wi.js";
|
|
53
|
-
import "./runner-
|
|
53
|
+
import "./runner-46SPi1J0.js";
|
|
54
54
|
import "./fetch-DtI0mtzx.js";
|
|
55
55
|
import "./send-DvBDdcQr.js";
|
|
56
56
|
import "./outbound-attachment-BChLBLPg.js";
|
|
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DOhPjoet.js";
|
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DemAzd31.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-Cu7ieLvZ.js";
|
|
12
12
|
import { r as healthCommand } from "./health-CuD8XoQy.js";
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-mZg7K8XF.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-NZQN5y-U.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-D59-dc0L.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-E4Y1ux1Z.js";
|
|
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DokFcnJ7.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-7TtUcMJq.js";
|
|
14
14
|
import { r as healthCommand } from "./health-HfXeNmAj.js";
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-jX-gc6kQ.js";
|
|
16
16
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DATumkKN.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-C8-t269D.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CYqgr1Ah.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-A-p1VHgb.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -98,10 +98,10 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
98
98
|
import "./prompt-style-BxVdnrLq.js";
|
|
99
99
|
import "./pairing-labels-BnEMZo4f.js";
|
|
100
100
|
import "./note-DewoEWtc.js";
|
|
101
|
-
import "./register.subclis-
|
|
102
|
-
import "./command-registry-
|
|
101
|
+
import "./register.subclis-NBD6Ksnk.js";
|
|
102
|
+
import "./command-registry-bnmnLUnx.js";
|
|
103
103
|
import "./program-context-Ds_91dTq.js";
|
|
104
|
-
import { r as installCompletion } from "./completion-cli-
|
|
104
|
+
import { r as installCompletion } from "./completion-cli-DkjwWQiV.js";
|
|
105
105
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DnzXuU_x.js";
|
|
106
106
|
import "./runtime-guard-DOhPjoet.js";
|
|
107
107
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DemAzd31.js";
|
|
@@ -109,7 +109,7 @@ import { t as resolveGatewayService } from "./service-Cu7ieLvZ.js";
|
|
|
109
109
|
import { r as healthCommand } from "./health-CuD8XoQy.js";
|
|
110
110
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DnNkT3mI.js";
|
|
111
111
|
import { t as formatHealthCheckFailure } from "./health-format-azWJfp5e.js";
|
|
112
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
112
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-v-5OlFRw.js";
|
|
113
113
|
import { t as runTui } from "./tui-B0NcNHYX.js";
|
|
114
114
|
import os from "node:os";
|
|
115
115
|
import path from "node:path";
|
|
@@ -104,16 +104,16 @@ import "./control-service-D5-XRzXx.js";
|
|
|
104
104
|
import "./stagger-CvFURHzt.js";
|
|
105
105
|
import "./channel-selection-DYhqnjYv.js";
|
|
106
106
|
import "./runtime-guard-C1Eeo_pS.js";
|
|
107
|
-
import "./program-context-
|
|
107
|
+
import "./program-context-BqVXk3-Z.js";
|
|
108
108
|
import "./note-COLxJd1A.js";
|
|
109
|
-
import { r as installCompletion } from "./completion-cli-
|
|
109
|
+
import { r as installCompletion } from "./completion-cli-CNWQ3fEd.js";
|
|
110
110
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-diKhAkzH.js";
|
|
111
111
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DokFcnJ7.js";
|
|
112
112
|
import { t as resolveGatewayService } from "./service-7TtUcMJq.js";
|
|
113
113
|
import { r as healthCommand } from "./health-HfXeNmAj.js";
|
|
114
114
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-LA1g8l2Z.js";
|
|
115
115
|
import { t as formatHealthCheckFailure } from "./health-format-S-b7sQsV.js";
|
|
116
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
116
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DsPB0eOt.js";
|
|
117
117
|
import { t as runTui } from "./tui-pbn3ONIE.js";
|
|
118
118
|
import os from "node:os";
|
|
119
119
|
import path from "node:path";
|
|
@@ -14,7 +14,7 @@ import { n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } fro
|
|
|
14
14
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-C1F31aYA.js";
|
|
15
15
|
import { n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-CJYXNO4s.js";
|
|
16
16
|
import { $ as hasAnyGuildPermissionDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as applyChannelMatchMeta, D as readMessagesDiscord, E as pinMessageDiscord, Et as resolveChannelEntryMatchWithFallback, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, P as fetchMemberInfoDiscord, Q as fetchChannelPermissionsDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as fetchDiscord, T as listThreadsDiscord, Tt as normalizeChannelSlug, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendPollDiscord, _t as shouldEmitDiscordReactionNotification, a as removeReactionDiscord, at as listDiscordDirectoryPeersLive, b as createThreadDiscord, bt as resolveDiscordSystemLocation, c as formatDiscordComponentEventText, ct as normalizeDiscordAllowList, d as parseDiscordModalCustomId, dt as resolveDiscordChannelConfigWithFallback, et as createDiscordClient, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordGuildEntry, g as sendMessageDiscord, gt as resolveGroupDmAllow, h as resolveDiscordModalEntry, ht as resolveDiscordShouldRequireMention, i as removeOwnReactionsDiscord, it as listDiscordDirectoryGroupsLive, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordSlug, m as resolveDiscordComponentEntry, mt as resolveDiscordOwnerAllowFrom, n as fetchReactionsDiscord, nt as parseDiscordTarget, o as sendDiscordComponentMessage, ot as allowListMatches$1, p as readDiscordComponentSpec, pt as resolveDiscordMemberAccessState, q as editChannelDiscord, r as reactMessageDiscord, rt as resolveDiscordChannelId, s as createDiscordFormModal, st as isDiscordGroupAllowedByPolicy, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordAllowListMatch, v as sendStickerDiscord, vt as formatDiscordReactionEmoji, w as listPinsDiscord, wt as buildChannelKeyCandidates, x as deleteMessageDiscord, xt as resolveTimestampMs, y as sendVoiceMessageDiscord, yt as formatDiscordUserTag, z as listScheduledEventsDiscord } from "./send-D6tzL2Tv.js";
|
|
17
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
17
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-Cx5HCk1u.js";
|
|
18
18
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-CoT2YQH4.js";
|
|
19
19
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DmrztgHU.js";
|
|
20
20
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-Cg6z7lKw.js";
|
|
@@ -24,11 +24,11 @@ import { A as normalizeProviderId, C as buildAllowedModelSet, D as isCliProvider
|
|
|
24
24
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BQ98eazZ.js";
|
|
25
25
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C-yOXpma.js";
|
|
26
26
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-BDlvrUZF.js";
|
|
27
|
-
import { $ as normalizeAccountId$4, A as isTransientHttpError, At as getBridgeAuthForPort, B as loadSessionStore, Bt as normalizeToolName, C as isContextOverflowError, Ct as resolveSessionLockMaxHoldFromTimeout, D as isRateLimitAssistantError, Dt as resolveProfile, E as isLikelyContextOverflowError, Et as resolveBrowserConfig, F as resolveSandboxContext, Ft as buildPluginToolGroups, G as updateSessionStoreEntry, Gt as buildBootstrapContextFiles, H as recordSessionMetaFromInbound, Ht as stripPluginOnlyAllowlist, I as resolveSandboxRuntimeStatus, It as collectExplicitAllowlist, J as deliveryContextFromSession, Jt as resolveBootstrapTotalMaxChars, K as isCacheEnabled, Kt as ensureSessionHeader, L as extractDeliveryInfo, Lt as expandPolicyWithPluginGroups, M as parseImageSizeError, Mt as resolveBrowserControlAuth, N as sanitizeUserFacingText, Nt as resolveSandboxConfigForAgent, O as isRawApiErrorPayload, Ot as DEFAULT_UPLOAD_DIR, P as ensureSandboxWorkspaceForSession, Pt as applyOwnerOnlyToolPolicy, Q as normalizeSessionDeliveryFields, R as appendAssistantMessageToSessionTranscript, Rt as expandToolGroups, S as isCompactionFailureError, St as acquireSessionWriteLock, T as isFailoverErrorMessage, Tt as registerBrowserRoutes, U as updateLastRoute, Ut as compileGlobPatterns, V as readSessionUpdatedAt, Vt as resolveToolProfilePolicy, W as updateSessionStore, Wt as matchesAnyGlobPattern, X as mergeDeliveryContext, Y as deliveryContextKey, Yt as sanitizeGoogleTurnOrdering, Z as normalizeDeliveryContext, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as applyInputProvenanceToUserMessage, b as isBillingAssistantError, bt as deriveSessionMetaPatch, c as extractToolCallsFromAssistant, ct as resolveSessionKey, d as isAntigravityClaude, dt as resolveSessionResetPolicy, et as archiveSessionTranscripts, f as isGoogleModelApi, ft as resolveSessionResetType, g as formatBillingErrorMessage, gt as canonicalizeMainSessionAlias, h as formatAssistantErrorText, ht as resolveFreshSessionTotalTokens, it as INPUT_PROVENANCE_KIND_VALUES, j as parseImageDimensionError, jt as ensureBrowserControlAuth, k as isTimeoutErrorMessage, kt as resolveExistingPathsWithinRoot, l as extractToolResultId, lt as evaluateSessionFreshness, m as classifyFailoverReason, mt as DEFAULT_RESET_TRIGGERS, n as validateGeminiTurns, nt as countToolResults, o as normalizeTextForComparison, ot as hasInterSessionUserProvenance, p as BILLING_ERROR_USER_MESSAGE, pt as resolveThreadFlag, q as resolveCacheTtlMs$1, qt as resolveBootstrapMaxChars, r as pickFallbackThinkingLevel, rt as extractToolCallNames, s as sanitizeSessionMessagesImages, st as normalizeInputProvenance, t as validateAnthropicTurns, tt as capArrayByJsonBytes, u as downgradeOpenAIReasoningBlocks, ut as resolveChannelResetConfig, v as getApiErrorPayloadFingerprint, vt as resolveExplicitAgentSessionKey, w as isFailoverAssistantError, wt as createBrowserRouteContext, x as isCloudCodeAssistFormatError, xt as resolveGroupSessionKey, y as isAuthAssistantError, yt as resolveMainSessionKey, zt as mergeAlsoAllowPolicy } from "./pi-embedded-helpers-
|
|
27
|
+
import { $ as normalizeAccountId$4, A as isTransientHttpError, At as getBridgeAuthForPort, B as loadSessionStore, Bt as normalizeToolName, C as isContextOverflowError, Ct as resolveSessionLockMaxHoldFromTimeout, D as isRateLimitAssistantError, Dt as resolveProfile, E as isLikelyContextOverflowError, Et as resolveBrowserConfig, F as resolveSandboxContext, Ft as buildPluginToolGroups, G as updateSessionStoreEntry, Gt as buildBootstrapContextFiles, H as recordSessionMetaFromInbound, Ht as stripPluginOnlyAllowlist, I as resolveSandboxRuntimeStatus, It as collectExplicitAllowlist, J as deliveryContextFromSession, Jt as resolveBootstrapTotalMaxChars, K as isCacheEnabled, Kt as ensureSessionHeader, L as extractDeliveryInfo, Lt as expandPolicyWithPluginGroups, M as parseImageSizeError, Mt as resolveBrowserControlAuth, N as sanitizeUserFacingText, Nt as resolveSandboxConfigForAgent, O as isRawApiErrorPayload, Ot as DEFAULT_UPLOAD_DIR, P as ensureSandboxWorkspaceForSession, Pt as applyOwnerOnlyToolPolicy, Q as normalizeSessionDeliveryFields, R as appendAssistantMessageToSessionTranscript, Rt as expandToolGroups, S as isCompactionFailureError, St as acquireSessionWriteLock, T as isFailoverErrorMessage, Tt as registerBrowserRoutes, U as updateLastRoute, Ut as compileGlobPatterns, V as readSessionUpdatedAt, Vt as resolveToolProfilePolicy, W as updateSessionStore, Wt as matchesAnyGlobPattern, X as mergeDeliveryContext, Y as deliveryContextKey, Yt as sanitizeGoogleTurnOrdering, Z as normalizeDeliveryContext, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as applyInputProvenanceToUserMessage, b as isBillingAssistantError, bt as deriveSessionMetaPatch, c as extractToolCallsFromAssistant, ct as resolveSessionKey, d as isAntigravityClaude, dt as resolveSessionResetPolicy, et as archiveSessionTranscripts, f as isGoogleModelApi, ft as resolveSessionResetType, g as formatBillingErrorMessage, gt as canonicalizeMainSessionAlias, h as formatAssistantErrorText, ht as resolveFreshSessionTotalTokens, it as INPUT_PROVENANCE_KIND_VALUES, j as parseImageDimensionError, jt as ensureBrowserControlAuth, k as isTimeoutErrorMessage, kt as resolveExistingPathsWithinRoot, l as extractToolResultId, lt as evaluateSessionFreshness, m as classifyFailoverReason, mt as DEFAULT_RESET_TRIGGERS, n as validateGeminiTurns, nt as countToolResults, o as normalizeTextForComparison, ot as hasInterSessionUserProvenance, p as BILLING_ERROR_USER_MESSAGE, pt as resolveThreadFlag, q as resolveCacheTtlMs$1, qt as resolveBootstrapMaxChars, r as pickFallbackThinkingLevel, rt as extractToolCallNames, s as sanitizeSessionMessagesImages, st as normalizeInputProvenance, t as validateAnthropicTurns, tt as capArrayByJsonBytes, u as downgradeOpenAIReasoningBlocks, ut as resolveChannelResetConfig, v as getApiErrorPayloadFingerprint, vt as resolveExplicitAgentSessionKey, w as isFailoverAssistantError, wt as createBrowserRouteContext, x as isCloudCodeAssistFormatError, xt as resolveGroupSessionKey, y as isAuthAssistantError, yt as resolveMainSessionKey, zt as mergeAlsoAllowPolicy } from "./pi-embedded-helpers-CdVb74wU.js";
|
|
28
28
|
import { C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as resolveAgentMaxConcurrent, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as VERSION, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-qfEsodS7.js";
|
|
29
29
|
import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, i as safeStatSync, n as discoverOpenClawPlugins, o as normalizePluginsConfig, r as isPathInside, s as resolveEnableState, t as loadPluginManifestRegistry, u as isPathInsideWithRealpath } from "./manifest-registry-Dovhiqzt.js";
|
|
30
30
|
import { a as parseAvailableTags, c as readStringArrayParam, h as resolveImageSanitizationLimits, i as jsonResult, l as readStringOrNumberParam, m as sanitizeToolResultImages, n as imageResult, o as readNumberParam, p as sanitizeImageBlocks, r as imageResultFromFile, s as readReactionParams, t as createActionGate, u as readStringParam } from "./common-y9ALHdVZ.js";
|
|
31
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
31
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-C-c5M24y.js";
|
|
32
32
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-Ci_2Mah4.js";
|
|
33
33
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-3KjSwJLH.js";
|
|
34
34
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-B8OrDkCk.js";
|
|
@@ -38,7 +38,7 @@ import { n as resolveConversationLabel } from "./conversation-label-BeLJTciU.js"
|
|
|
38
38
|
import { t as resolveIMessageAccount } from "./accounts-BOYxuJ9C.js";
|
|
39
39
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-gnW-md4M.js";
|
|
40
40
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-CZ8CG4ht.js";
|
|
41
|
-
import { S as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
41
|
+
import { S as ensureOpenClawModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-Dgvueazf.js";
|
|
42
42
|
import { a as resolveEffectiveMessagesConfig, i as resolveAckReaction, o as resolveHumanDelayConfig, r as resolveResponsePrefixTemplate, t as createReplyPrefixOptions } from "./reply-prefix-BaCBHwi7.js";
|
|
43
43
|
import { n as resolveMemorySearchConfig } from "./manager-KxfmY55A.js";
|
|
44
44
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as runTasksWithConcurrency } from "./sqlite-DJh2xLr6.js";
|
|
@@ -51,7 +51,7 @@ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-CRTCIHIG.js";
|
|
|
51
51
|
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-B6FYKIxi.js";
|
|
52
52
|
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DVss6_wi.js";
|
|
53
53
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CzKsDFGL.js";
|
|
54
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
54
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-46SPi1J0.js";
|
|
55
55
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
56
56
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-Bup9wS1y.js";
|
|
57
57
|
import { n as normalizePollInput } from "./polls-BX3wB_EC.js";
|
|
@@ -81,7 +81,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
81
81
|
import AjvPkg from "ajv";
|
|
82
82
|
import { createServer } from "node:http";
|
|
83
83
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
84
|
-
import WebSocket, { WebSocket
|
|
84
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
85
85
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
86
86
|
import { createJiti } from "jiti";
|
|
87
87
|
import { Type } from "@sinclair/typebox";
|
|
@@ -5714,7 +5714,7 @@ var GatewayClient = class {
|
|
|
5714
5714
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5715
5715
|
});
|
|
5716
5716
|
}
|
|
5717
|
-
this.ws = new WebSocket
|
|
5717
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
5718
5718
|
this.ws.on("open", () => {
|
|
5719
5719
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5720
5720
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -5933,7 +5933,7 @@ var GatewayClient = class {
|
|
|
5933
5933
|
return null;
|
|
5934
5934
|
}
|
|
5935
5935
|
async request(method, params, opts) {
|
|
5936
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
5936
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
5937
5937
|
const id = randomUUID();
|
|
5938
5938
|
const frame = {
|
|
5939
5939
|
type: "req",
|
|
@@ -7197,7 +7197,7 @@ async function routeReply(params) {
|
|
|
7197
7197
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7198
7198
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7199
7199
|
try {
|
|
7200
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7200
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cx5HCk1u.js").then((n) => n.n);
|
|
7201
7201
|
return {
|
|
7202
7202
|
ok: true,
|
|
7203
7203
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -39753,7 +39753,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
39753
39753
|
return;
|
|
39754
39754
|
}
|
|
39755
39755
|
try {
|
|
39756
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39756
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cx5HCk1u.js").then((n) => n.n);
|
|
39757
39757
|
await deliverOutboundPayloads({
|
|
39758
39758
|
cfg: params.cfg,
|
|
39759
39759
|
channel,
|
|
@@ -43185,7 +43185,7 @@ async function describeStickerImage(params) {
|
|
|
43185
43185
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
43186
43186
|
try {
|
|
43187
43187
|
const buffer = await fs.readFile(imagePath);
|
|
43188
|
-
const { describeImageWithModel } = await import("./image-
|
|
43188
|
+
const { describeImageWithModel } = await import("./image-Dgvueazf.js").then((n) => n.n);
|
|
43189
43189
|
return (await describeImageWithModel({
|
|
43190
43190
|
buffer,
|
|
43191
43191
|
fileName: "sticker.webp",
|
|
@@ -45605,7 +45605,7 @@ async function preflightDiscordMessage(params) {
|
|
|
45605
45605
|
let preflightTranscript;
|
|
45606
45606
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
45607
45607
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
45608
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
45608
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DvPjddyW.js");
|
|
45609
45609
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
45610
45610
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
45611
45611
|
ctx: {
|
|
@@ -49736,7 +49736,7 @@ function isVoiceChannelType(type) {
|
|
|
49736
49736
|
function createDefaultDeps() {
|
|
49737
49737
|
return {
|
|
49738
49738
|
sendMessageWhatsApp: async (...args) => {
|
|
49739
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
49739
|
+
const { sendMessageWhatsApp } = await import("./web-BR2lk-tX.js");
|
|
49740
49740
|
return await sendMessageWhatsApp(...args);
|
|
49741
49741
|
},
|
|
49742
49742
|
sendMessageTelegram: async (...args) => {
|
|
@@ -52632,7 +52632,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
52632
52632
|
super(options);
|
|
52633
52633
|
}
|
|
52634
52634
|
createWebSocket(url) {
|
|
52635
|
-
return new WebSocket(url, { agent });
|
|
52635
|
+
return new WebSocket$1(url, { agent });
|
|
52636
52636
|
}
|
|
52637
52637
|
}
|
|
52638
52638
|
return new ProxyGatewayPlugin();
|
|
@@ -62380,7 +62380,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
62380
62380
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
62381
62381
|
let preflightTranscript;
|
|
62382
62382
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
62383
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62383
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DvPjddyW.js");
|
|
62384
62384
|
preflightTranscript = await transcribeFirstAudio({
|
|
62385
62385
|
ctx: {
|
|
62386
62386
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -64558,7 +64558,7 @@ function loadWebLoginQr() {
|
|
|
64558
64558
|
return webLoginQrPromise;
|
|
64559
64559
|
}
|
|
64560
64560
|
function loadWebChannel() {
|
|
64561
|
-
webChannelPromise ??= import("./web-
|
|
64561
|
+
webChannelPromise ??= import("./web-BR2lk-tX.js");
|
|
64562
64562
|
return webChannelPromise;
|
|
64563
64563
|
}
|
|
64564
64564
|
function loadWhatsAppActions() {
|