wednesdayai 0.6.1-dev.27 → 0.6.1-dev.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-CQhgyAis.js → agent-BDuI5Zvc.js} +26 -26
- package/dist/{agent-Y_2aRBZH.js → agent-BW-Yan08.js} +11 -11
- package/dist/{agent-turn-runner-faZvyYiv.js → agent-turn-runner-BfXiXNe2.js} +6 -6
- package/dist/{agent-turn-runner-ClBJoKQQ.js → agent-turn-runner-CHm-I95T.js} +5 -5
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +32 -32
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +31 -31
- package/dist/bundled/session-memory/handler.js +31 -31
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-B3nEcesV.js → chrome-CKy31bWh.js} +32 -32
- package/dist/{chrome-DLbFTDQE.js → chrome-Ct9vb6SC.js} +12 -12
- package/dist/{command-queue-BSbitNdP.js → command-queue-AIWqKnVD.js} +1 -1
- package/dist/{command-queue-BijpV9rd.js → command-queue-CNStMA4Y.js} +1 -1
- package/dist/control-ui-v2/assets/{AgentsView-DVvw6PTU.js → AgentsView-3Qsr3xnf.js} +1 -1
- package/dist/control-ui-v2/assets/{AutomationsView-CxjmPRdI.js → AutomationsView-DkBzPKKQ.js} +1 -1
- package/dist/control-ui-v2/assets/Badge-CB5TWfdz.js +1 -0
- package/dist/control-ui-v2/assets/{Button-DL76WqX4.js → Button-CGdLofSY.js} +1 -1
- package/dist/control-ui-v2/assets/{ChannelsView-BDcVzQIM.js → ChannelsView-BRb8eYyh.js} +1 -1
- package/dist/control-ui-v2/assets/{ConfigForm-CbvOdyOA.js → ConfigForm-D8_bqW8x.js} +1 -1
- package/dist/control-ui-v2/assets/{ConfirmDialog-DGHQXUr5.js → ConfirmDialog-B7aotBjN.js} +1 -1
- package/dist/control-ui-v2/assets/{DataTable-lEkd1R85.js → DataTable-CSi930kO.js} +1 -1
- package/dist/control-ui-v2/assets/{DebugView-CHHmLv3x.js → DebugView-8cZqh6FQ.js} +1 -1
- package/dist/control-ui-v2/assets/{Dialog-rIrrCPSu.js → Dialog-CQE8Pvh6.js} +1 -1
- package/dist/control-ui-v2/assets/{DreamsView-uQSpm1S4.js → DreamsView-B0KzP2OM.js} +1 -1
- package/dist/control-ui-v2/assets/{EntityLink-AEBgCNQX.js → EntityLink-BO2oG3y8.js} +1 -1
- package/dist/control-ui-v2/assets/{FilterPills-HxAXXDO8.js → FilterPills-9pNaAyrL.js} +1 -1
- package/dist/control-ui-v2/assets/{InstancesView-Svk7C7AX.js → InstancesView-BbunCxYg.js} +1 -1
- package/dist/control-ui-v2/assets/{LearningView-CWqWycCM.js → LearningView-CEqD48Ll.js} +1 -1
- package/dist/control-ui-v2/assets/{LogsView-D7kaR6es.js → LogsView-fcI0vxkz.js} +1 -1
- package/dist/control-ui-v2/assets/{NodesView-CqKA1XAX.js → NodesView-BONHE7EP.js} +1 -1
- package/dist/control-ui-v2/assets/{OverviewView-Dz3YnxWP.js → OverviewView-BpynJnjy.js} +1 -1
- package/dist/control-ui-v2/assets/{Panel-CyfpswdJ.js → Panel-9wOynsWc.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginMount-C1HeSpS9.js → PluginMount-6N20-nhI.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginPageView-Dap5OwAt.js → PluginPageView-DZ3bh805.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginPanels-DdDZQ_Dn.js → PluginPanels-DulRlgcm.js} +1 -1
- package/dist/control-ui-v2/assets/{RunsView-CQXkKsIZ.js → RunsView-dcBTwtFX.js} +1 -1
- package/dist/control-ui-v2/assets/{SessionsView-Bs9UqOQr.js → SessionsView-CZuTvckb.js} +1 -1
- package/dist/control-ui-v2/assets/{SettingsView-BhorzAw5.js → SettingsView-BTcubWvr.js} +1 -1
- package/dist/control-ui-v2/assets/{SkillsView-ClzUjPU-.js → SkillsView-Bj7lvW23.js} +1 -1
- package/dist/control-ui-v2/assets/{Stat-BruDi6qc.js → Stat-BZwg1PGE.js} +1 -1
- package/dist/control-ui-v2/assets/{StatusDot-Cij-6nH8.js → StatusDot-DHhJ1VpB.js} +1 -1
- package/dist/control-ui-v2/assets/{StorageView-BYgvfNcg.js → StorageView-B5cF1lld.js} +1 -1
- package/dist/control-ui-v2/assets/{UpdatedAgo-DWSnE4WG.js → UpdatedAgo-Dw3kxb2x.js} +1 -1
- package/dist/control-ui-v2/assets/{UsageView-C_ezU9jy.js → UsageView-DBZ1WkEI.js} +1 -1
- package/dist/control-ui-v2/assets/{config-store-27hOx1yp.js → config-store-XvvVJ8Fq.js} +1 -1
- package/dist/control-ui-v2/assets/{format-dlOOV12I.js → format-CGs6a1G6.js} +1 -1
- package/dist/control-ui-v2/assets/gateway-features-BZH74_Oc.js +1 -0
- package/dist/control-ui-v2/assets/{index-OijNknZs.js → index-BvXiY83i.js} +1 -1
- package/dist/control-ui-v2/assets/{links-C1sAzVEH.js → links-DlVrQOFC.js} +2 -2
- package/dist/control-ui-v2/assets/{run-rows-BYCIH1Sn.js → run-rows-Au2UUkD7.js} +1 -1
- package/dist/control-ui-v2/assets/{runs-store-DLIlHRM6.js → runs-store-DXgNPFWM.js} +1 -1
- package/dist/control-ui-v2/assets/{use-gateway-query-CF94JYnM.js → use-gateway-query-D25QZANO.js} +1 -1
- package/dist/control-ui-v2/index.html +7 -7
- package/dist/{deliver-CY4Fs4RX.js → deliver-DsuMPE0S.js} +28 -28
- package/dist/{deliver-xfGDp6XD.js → deliver-DxVojbH7.js} +6 -6
- package/dist/{diagnostic-S8OX1Eq2.js → diagnostic-C4pLNG6a.js} +1 -1
- package/dist/{diagnostic-BZYYYnMx.js → diagnostic-DJ11ZJIJ.js} +3 -3
- package/dist/{errors-BRYMqzPb.js → errors-0-at0aYV.js} +1 -1
- package/dist/extensionAPI.js +24 -24
- package/dist/{fences-Dtk43Q2a.js → fences-Z8d1dj8p.js} +16 -16
- package/dist/{fences-DbKcVN_n.js → fences-j5vzXLXf.js} +1 -1
- package/dist/{fetch-guard-UCuiKQ5E.js → fetch-guard-BQ-NMG7L.js} +2 -2
- package/dist/{fetch-guard-DuBGo4VE.js → fetch-guard-BaBd9ZVm.js} +2 -2
- package/dist/{frontmatter-DHBTRDiB.js → frontmatter-CzhUc9Ri.js} +5 -5
- package/dist/{fs-safe-Bk4Thq7a.js → fs-safe-Bd1xxVwv.js} +1 -1
- package/dist/{fs-safe-CyG0wflg.js → fs-safe-DMWtsz4J.js} +26 -26
- package/dist/{legacy-names-6uH6aLhq.js → legacy-names-chsmo2vs.js} +26 -26
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{manager-BvLLls5L.js → manager-B4xc1xN6.js} +16 -16
- package/dist/{manager-Cf3W8LKj.js → manager-CD-sBxdS.js} +3 -3
- package/dist/{model-selection-Ca4WCV4n.js → model-selection-CYS--Nqz.js} +1 -1
- package/dist/{model-selection-CbMZx9fR.js → model-selection-Ds5bEVQ2.js} +82 -82
- package/dist/{nudge-DelcKR7z.js → nudge-CKFTN2YI.js} +9 -9
- package/dist/{nudge-Dd9wU1K5.js → nudge-DZuNGDE_.js} +32 -32
- package/dist/{outbound-attachment-CKATrxgO.js → outbound-attachment-BsEApkFu.js} +9 -9
- package/dist/{outbound-attachment-Btl5f-Lu.js → outbound-attachment-DHLTkCuI.js} +4 -4
- package/dist/{pi-embedded-ApthdT0k.js → pi-embedded-C8SqFziv.js} +40 -40
- package/dist/{pi-embedded-D-4wht-f.js → pi-embedded-yXKiYEGf.js} +229 -229
- package/dist/{pi-model-discovery-Dgbp4zjx.js → pi-model-discovery-CtfGh_up.js} +7 -7
- package/dist/{pi-model-discovery-D-D_mngz.js → pi-model-discovery-De5Z6lro.js} +1 -1
- package/dist/{proxy-env-v_oj7Urd.js → proxy-env-D4WYaw6X.js} +1 -1
- package/dist/{proxy-env-BRG1LWK1.js → proxy-env-DPCNy_X3.js} +1 -1
- package/dist/{pw-ai-BH-MmrGa.js → pw-ai-BmuDO1HM.js} +5 -5
- package/dist/{pw-ai-DK4N7_nV.js → pw-ai-ohfJZ9jX.js} +11 -11
- package/dist/{qmd-manager-Cdz2xlNp.js → qmd-manager-2dro3Ccn.js} +9 -9
- package/dist/{qmd-manager-NT_CKYQG.js → qmd-manager-CgZ9ng9u.js} +4 -4
- package/dist/{qmd-scope-CyWbQgiS.js → qmd-scope-DMUA3Vq9.js} +1 -1
- package/dist/{qmd-scope-hzI66flw.js → qmd-scope-RFd-g5Qi.js} +1 -1
- package/dist/{query-expansion-CPkdZdty.js → query-expansion-DQ8zm-TE.js} +1 -1
- package/dist/{query-expansion-feTsk3WF.js → query-expansion-GZKwviqQ.js} +13 -13
- package/dist/{recorder-DCGoPaKG.js → recorder-DA5NY6nl.js} +1 -1
- package/dist/{recorder-C3f7IlHZ.js → recorder-dKE74HOC.js} +2 -2
- package/dist/{redact-C4XKILzo.js → redact-LOuk7TRy.js} +1 -1
- package/dist/{reply-directives-BjV2MFIq.js → reply-directives-8FtYI79u.js} +9 -9
- package/dist/{reply-directives-ToqsETSh.js → reply-directives-CE9WoRyW.js} +49 -49
- package/dist/{runs-CPjMwHXQ.js → runs-BIabbRe5.js} +8 -8
- package/dist/{runs-D7qs08K3.js → runs-Dw8BeXyu.js} +5 -5
- package/dist/{send-BnVk7V-5.js → send-BQzswQlt.js} +5 -5
- package/dist/{send-DDBl5H1k.js → send-BTp_lz-m.js} +4 -4
- package/dist/{send-B9huC0Lk.js → send-CWcFiq7U.js} +3 -3
- package/dist/{send-Cj5zKV3M.js → send-DW_8PsC0.js} +4 -4
- package/dist/{sessions-zel35iDK.js → sessions-Bz8mUwgo.js} +5 -5
- package/dist/{sessions-CXuFR_IY.js → sessions-DKv9bCbi.js} +1 -1
- package/dist/{subsystem-DoQFckDJ.js → subsystem-cFv2jJm-.js} +71 -71
- package/dist/{tool-loop-detection-CtOkwPJY.js → tool-loop-detection-9fAxiikd.js} +2 -2
- package/dist/{user-run-recording-BVpLQDqe.js → user-run-recording-C1LRU5Lb.js} +2 -2
- package/dist/{user-run-recording-C10wwXyW.js → user-run-recording-CWRiZJsh.js} +1 -1
- package/dist/web-client/assets/{hast-util-from-dom-CvePVP6E.js → hast-util-from-dom-BoP9fB2c.js} +1 -1
- package/dist/web-client/assets/{hast-util-to-mdast-CwugKdbc.js → hast-util-to-mdast-Bo07nYTv.js} +1 -1
- package/dist/web-client/assets/{index-CFHLAWrp.js → index-CwqOe0fG.js} +2 -2
- package/dist/web-client/index.html +1 -1
- package/dist/{ws-2U5gNvRt.js → ws-Do6yaRWR.js} +1 -1
- package/dist/{ws-DrXm3NWZ.js → ws-Dt2EocLN.js} +1 -1
- package/extensions/a2a/package.json +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/identity-oidc/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/control-ui-v2/assets/Badge-4n2tRQ02.js +0 -1
- package/dist/control-ui-v2/assets/gateway-features-BIj6-KTX.js +0 -1
- package/dist/github-copilot-token-Bm6yG6tw.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Yi as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { Yi as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-Ds5bEVQ2.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.OPENCLAW_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
syncFs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
syncFs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, ea as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, ea as ensureAuthProfileStore } from "./model-selection-CYS--Nqz.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as parseLooseIpAddress, _t as isLegacyIpv4Literal, dt as extractEmbeddedIpv4FromIpv6, ft as ipMatchesAnyCidr, gt as isIpv4Address, ht as isCanonicalDottedDecimalIPv4, mt as isBlockedSpecialUseIpv6Address, pt as isBlockedSpecialUseIpv4Address, xt as parseCanonicalIpAddress } from "./model-selection-
|
|
1
|
+
import { St as parseLooseIpAddress, _t as isLegacyIpv4Literal, dt as extractEmbeddedIpv4FromIpv6, ft as ipMatchesAnyCidr, gt as isIpv4Address, ht as isCanonicalDottedDecimalIPv4, mt as isBlockedSpecialUseIpv6Address, pt as isBlockedSpecialUseIpv4Address, xt as parseCanonicalIpAddress } from "./model-selection-Ds5bEVQ2.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as parseLooseIpAddress, _t as isLegacyIpv4Literal, dt as extractEmbeddedIpv4FromIpv6, ft as ipMatchesAnyCidr, gt as isIpv4Address, ht as isCanonicalDottedDecimalIPv4, mt as isBlockedSpecialUseIpv6Address, pt as isBlockedSpecialUseIpv4Address, xt as parseCanonicalIpAddress } from "./model-selection-
|
|
1
|
+
import { St as parseLooseIpAddress, _t as isLegacyIpv4Literal, dt as extractEmbeddedIpv4FromIpv6, ft as ipMatchesAnyCidr, gt as isIpv4Address, ht as isCanonicalDottedDecimalIPv4, mt as isBlockedSpecialUseIpv6Address, pt as isBlockedSpecialUseIpv4Address, xt as parseCanonicalIpAddress } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { br as formatCliCommand } from "./model-selection-
|
|
1
|
+
import { br as formatCliCommand } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
import "./paths-B_gs59ga.js";
|
|
3
3
|
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import "./github-copilot-token-C-29TbW-.js";
|
|
5
5
|
import "./redact-CEFvBGJg.js";
|
|
6
|
-
import { A as DEFAULT_DOWNLOAD_DIR, I as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_UPLOAD_DIR, P as resolveStrictExistingPathsWithinRoot, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_TRACE_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
7
|
-
import "./ws-
|
|
8
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
6
|
+
import { A as DEFAULT_DOWNLOAD_DIR, I as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_UPLOAD_DIR, P as resolveStrictExistingPathsWithinRoot, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_TRACE_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-Ct9vb6SC.js";
|
|
7
|
+
import "./ws-Dt2EocLN.js";
|
|
8
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-Bd1xxVwv.js";
|
|
9
9
|
import { r as formatErrorMessage } from "./errors-yyPKpoXR.js";
|
|
10
|
-
import "./proxy-env-
|
|
10
|
+
import "./proxy-env-DPCNy_X3.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import crypto from "node:crypto";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { gr as formatCliCommand } from "./model-selection-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./legacy-names-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./redact-
|
|
7
|
-
import { A as DEFAULT_DOWNLOAD_DIR, I as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_UPLOAD_DIR, P as resolveStrictExistingPathsWithinRoot, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_TRACE_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
8
|
-
import "./ws-
|
|
9
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
10
|
-
import { r as formatErrorMessage } from "./errors-
|
|
11
|
-
import "./proxy-env-
|
|
1
|
+
import { gr as formatCliCommand } from "./model-selection-Ds5bEVQ2.js";
|
|
2
|
+
import "./paths-B_gs59ga.js";
|
|
3
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-cFv2jJm-.js";
|
|
4
|
+
import "./legacy-names-chsmo2vs.js";
|
|
5
|
+
import "./github-copilot-token-C-29TbW-.js";
|
|
6
|
+
import "./redact-LOuk7TRy.js";
|
|
7
|
+
import { A as DEFAULT_DOWNLOAD_DIR, I as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_UPLOAD_DIR, P as resolveStrictExistingPathsWithinRoot, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_TRACE_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CKy31bWh.js";
|
|
8
|
+
import "./ws-Do6yaRWR.js";
|
|
9
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-DMWtsz4J.js";
|
|
10
|
+
import { r as formatErrorMessage } from "./errors-0-at0aYV.js";
|
|
11
|
+
import "./proxy-env-D4WYaw6X.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import crypto from "node:crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Ca as resolveAgentWorkspaceDir } from "./model-selection-
|
|
2
|
-
import { l as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./legacy-names-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./redact-
|
|
7
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
1
|
+
import { Ca as resolveAgentWorkspaceDir } from "./model-selection-Ds5bEVQ2.js";
|
|
2
|
+
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-cFv2jJm-.js";
|
|
4
|
+
import "./legacy-names-chsmo2vs.js";
|
|
5
|
+
import "./github-copilot-token-C-29TbW-.js";
|
|
6
|
+
import "./redact-LOuk7TRy.js";
|
|
7
|
+
import { c as writeFileWithinRoot } from "./fs-safe-DMWtsz4J.js";
|
|
8
8
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-C5N_9RQ9.js";
|
|
9
|
-
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
10
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
9
|
+
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-GZKwviqQ.js";
|
|
10
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-DMUA3Vq9.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Ea as resolveAgentWorkspaceDir } from "./model-selection-
|
|
1
|
+
import { Ea as resolveAgentWorkspaceDir } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import "./github-copilot-token-C-29TbW-.js";
|
|
5
5
|
import "./redact-CEFvBGJg.js";
|
|
6
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
6
|
+
import { c as writeFileWithinRoot } from "./fs-safe-Bd1xxVwv.js";
|
|
7
7
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Czzx8vaJ.js";
|
|
8
|
-
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
9
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
8
|
+
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-DQ8zm-TE.js";
|
|
9
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-RFd-g5Qi.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as isSubagentSessionKey, dt as stripAgentSessionKeyPrefix } from "./legacy-names-
|
|
1
|
+
import { ct as isSubagentSessionKey, dt as stripAgentSessionKeyPrefix } from "./legacy-names-chsmo2vs.js";
|
|
2
2
|
|
|
3
3
|
//#region src/memory/qmd-scope.ts
|
|
4
4
|
function isQmdScopeAllowed(scope, sessionKey, identity) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ao as isSubagentSessionKey, No as stripAgentSessionKeyPrefix } from "./model-selection-
|
|
1
|
+
import { Ao as isSubagentSessionKey, No as stripAgentSessionKeyPrefix } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
|
|
3
3
|
//#region src/memory/qmd-scope.ts
|
|
4
4
|
function isQmdScopeAllowed(scope, sessionKey, identity) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bi as runTasksWithConcurrency, Bn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, In as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
1
|
+
import { Bi as runTasksWithConcurrency, Bn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, In as getConfiguredSessionStorageRuntime } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
import { t as redactSensitiveText } from "./redact-CEFvBGJg.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Ii as runTasksWithConcurrency, In as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, Mn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
2
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { Ii as runTasksWithConcurrency, In as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, Mn as getConfiguredSessionStorageRuntime } from "./model-selection-Ds5bEVQ2.js";
|
|
2
|
+
import { t as redactSensitiveText } from "./redact-LOuk7TRy.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
6
|
-
import fs
|
|
5
|
+
import syncFs from "node:fs";
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/memory/fs-utils.ts
|
|
@@ -13,7 +13,7 @@ function isFileMissingError(err) {
|
|
|
13
13
|
async function statRegularFile(absPath) {
|
|
14
14
|
let stat;
|
|
15
15
|
try {
|
|
16
|
-
stat = await fs
|
|
16
|
+
stat = await fs.lstat(absPath);
|
|
17
17
|
} catch (err) {
|
|
18
18
|
if (isFileMissingError(err)) return { missing: true };
|
|
19
19
|
throw err;
|
|
@@ -29,7 +29,7 @@ async function statRegularFile(absPath) {
|
|
|
29
29
|
//#region src/memory/internal.ts
|
|
30
30
|
function ensureDir(dir) {
|
|
31
31
|
try {
|
|
32
|
-
|
|
32
|
+
syncFs.mkdirSync(dir, { recursive: true });
|
|
33
33
|
} catch {}
|
|
34
34
|
return dir;
|
|
35
35
|
}
|
|
@@ -48,7 +48,7 @@ function isMemoryPath(relPath) {
|
|
|
48
48
|
return normalized.startsWith("memory/");
|
|
49
49
|
}
|
|
50
50
|
async function walkDir(dir, files) {
|
|
51
|
-
const entries = await fs
|
|
51
|
+
const entries = await fs.readdir(dir, { withFileTypes: true });
|
|
52
52
|
for (const entry of entries) {
|
|
53
53
|
const full = path.join(dir, entry.name);
|
|
54
54
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -68,7 +68,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
68
68
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
69
69
|
const addMarkdownFile = async (absPath) => {
|
|
70
70
|
try {
|
|
71
|
-
const stat = await fs
|
|
71
|
+
const stat = await fs.lstat(absPath);
|
|
72
72
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
73
73
|
if (!absPath.endsWith(".md")) return;
|
|
74
74
|
result.push(absPath);
|
|
@@ -77,12 +77,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
77
77
|
await addMarkdownFile(memoryFile);
|
|
78
78
|
await addMarkdownFile(altMemoryFile);
|
|
79
79
|
try {
|
|
80
|
-
const dirStat = await fs
|
|
80
|
+
const dirStat = await fs.lstat(memoryDir);
|
|
81
81
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
82
82
|
} catch {}
|
|
83
83
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
84
84
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
85
|
-
const stat = await fs
|
|
85
|
+
const stat = await fs.lstat(inputPath);
|
|
86
86
|
if (stat.isSymbolicLink()) continue;
|
|
87
87
|
if (stat.isDirectory()) {
|
|
88
88
|
await walkDir(inputPath, result);
|
|
@@ -96,7 +96,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
96
96
|
for (const entry of result) {
|
|
97
97
|
let key = entry;
|
|
98
98
|
try {
|
|
99
|
-
key = await fs
|
|
99
|
+
key = await fs.realpath(entry);
|
|
100
100
|
} catch {}
|
|
101
101
|
if (seen.has(key)) continue;
|
|
102
102
|
seen.add(key);
|
|
@@ -110,14 +110,14 @@ function hashText(value) {
|
|
|
110
110
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
111
111
|
let stat;
|
|
112
112
|
try {
|
|
113
|
-
stat = await fs
|
|
113
|
+
stat = await fs.stat(absPath);
|
|
114
114
|
} catch (err) {
|
|
115
115
|
if (isFileMissingError(err)) return null;
|
|
116
116
|
throw err;
|
|
117
117
|
}
|
|
118
118
|
let content;
|
|
119
119
|
try {
|
|
120
|
-
content = await fs
|
|
120
|
+
content = await fs.readFile(absPath, "utf-8");
|
|
121
121
|
} catch (err) {
|
|
122
122
|
if (isFileMissingError(err)) return null;
|
|
123
123
|
throw err;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { In as getConfiguredSessionStorageRuntime, bn as SessionStorageUnavailableError } from "./model-selection-
|
|
1
|
+
import { In as getConfiguredSessionStorageRuntime, bn as SessionStorageUnavailableError } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-q1w77c25.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mn as getConfiguredSessionStorageRuntime, _n as SessionStorageUnavailableError } from "./model-selection-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { Mn as getConfiguredSessionStorageRuntime, _n as SessionStorageUnavailableError } from "./model-selection-Ds5bEVQ2.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-cFv2jJm-.js";
|
|
3
3
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-RfJYFlJM.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Aa as resolveSessionAgentId, Ba as ensureAgentWorkspace, Ca as resolveAgentConfig, Et as loadPluginManifestRegistry, Fa as DEFAULT_HEARTBEAT_FILENAME, G as createConfigIO, Ia as DEFAULT_IDENTITY_FILENAME, Ka as runExec, Ki as parseBooleanValue, La as DEFAULT_SOUL_FILENAME, Ma as DEFAULT_AGENTS_FILENAME, Mt as normalizePluginsConfig, Na as DEFAULT_AGENT_WORKSPACE_DIR, Nt as resolveEffectiveEnableState, Pa as DEFAULT_BOOTSTRAP_FILENAME, Pi as resolveSecretRefValues, Pt as resolveMemorySlotDecision, Qa as normalizeSkillFilter, Ra as DEFAULT_TOOLS_FILENAME, Rt as readManifestNamespace, V as loadConfig, W as writeConfigFile, Wa as resolveOpenClawPackageRootSync, Xn as acquireSessionWriteLock, br as formatCliCommand, da as normalizeResolvedSecretInputString, fa as resolveSecretInputRef, po as resolveAgentIdFromSessionKey, uo as normalizeAgentId, ut as getBlockedNetworkModeReason, za as DEFAULT_USER_FILENAME, zi as secretRefKey, zt as CHANNEL_IDS } from "./model-selection-
|
|
1
|
+
import { Aa as resolveSessionAgentId, Ba as ensureAgentWorkspace, Ca as resolveAgentConfig, Et as loadPluginManifestRegistry, Fa as DEFAULT_HEARTBEAT_FILENAME, G as createConfigIO, Ia as DEFAULT_IDENTITY_FILENAME, Ka as runExec, Ki as parseBooleanValue, La as DEFAULT_SOUL_FILENAME, Ma as DEFAULT_AGENTS_FILENAME, Mt as normalizePluginsConfig, Na as DEFAULT_AGENT_WORKSPACE_DIR, Nt as resolveEffectiveEnableState, Pa as DEFAULT_BOOTSTRAP_FILENAME, Pi as resolveSecretRefValues, Pt as resolveMemorySlotDecision, Qa as normalizeSkillFilter, Ra as DEFAULT_TOOLS_FILENAME, Rt as readManifestNamespace, V as loadConfig, W as writeConfigFile, Wa as resolveOpenClawPackageRootSync, Xn as acquireSessionWriteLock, br as formatCliCommand, da as normalizeResolvedSecretInputString, fa as resolveSecretInputRef, po as resolveAgentIdFromSessionKey, uo as normalizeAgentId, ut as getBlockedNetworkModeReason, za as DEFAULT_USER_FILENAME, zi as secretRefKey, zt as CHANNEL_IDS } from "./model-selection-CYS--Nqz.js";
|
|
2
2
|
import { n as STATE_DIR, o as resolveGatewayPort } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, P as openBoundaryFile, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, z as resolvePathViaExistingAncestorSync } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { F as resolveAgentMainSessionKey, Ft as sanitizeToolCallIdsForCloudCodeAssist, H as writeJsonAtomic, P as canonicalizeMainSessionAlias, W as resolveGatewayCredentialsFromValues, o as parseInlineDirectives } from "./sessions-
|
|
5
|
+
import { F as resolveAgentMainSessionKey, Ft as sanitizeToolCallIdsForCloudCodeAssist, H as writeJsonAtomic, P as canonicalizeMainSessionAlias, W as resolveGatewayCredentialsFromValues, o as parseInlineDirectives } from "./sessions-DKv9bCbi.js";
|
|
6
6
|
import { t as generateSecureToken } from "./secure-random-gljjQeWv.js";
|
|
7
|
-
import { a as buildImageResizeSideGrid, f as ensureMediaDir, i as IMAGE_REDUCE_QUALITY_STEPS, m as saveMediaBuffer, r as parseFenceSpans, s as getImageMetadata, u as resizeToJpeg } from "./fences-
|
|
8
|
-
import { A as DEFAULT_DOWNLOAD_DIR, B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, F as resolveWritablePathWithinRoot, G as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, H as DEFAULT_BROWSER_EVALUATE_ENABLED, L as normalizeBrowserFormField, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, O as resolveCdpReachabilityTimeouts, R as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_OPENCLAW_BROWSER_COLOR, V as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, W as DEFAULT_OPENCLAW_BROWSER_ENABLED, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_TRACE_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
9
|
-
import { r as isLoopbackHost } from "./ws-
|
|
10
|
-
import { l as PATH_ALIAS_POLICIES, u as assertNoPathAliasEscape } from "./fs-safe-
|
|
7
|
+
import { a as buildImageResizeSideGrid, f as ensureMediaDir, i as IMAGE_REDUCE_QUALITY_STEPS, m as saveMediaBuffer, r as parseFenceSpans, s as getImageMetadata, u as resizeToJpeg } from "./fences-j5vzXLXf.js";
|
|
8
|
+
import { A as DEFAULT_DOWNLOAD_DIR, B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, F as resolveWritablePathWithinRoot, G as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, H as DEFAULT_BROWSER_EVALUATE_ENABLED, L as normalizeBrowserFormField, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, O as resolveCdpReachabilityTimeouts, R as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_OPENCLAW_BROWSER_COLOR, V as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, W as DEFAULT_OPENCLAW_BROWSER_ENABLED, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_TRACE_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-Ct9vb6SC.js";
|
|
9
|
+
import { r as isLoopbackHost } from "./ws-Dt2EocLN.js";
|
|
10
|
+
import { l as PATH_ALIAS_POLICIES, u as assertNoPathAliasEscape } from "./fs-safe-Bd1xxVwv.js";
|
|
11
11
|
import { r as formatErrorMessage, t as extractErrorCode } from "./errors-yyPKpoXR.js";
|
|
12
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
12
|
+
import { n as SsrFBlockedError } from "./proxy-env-DPCNy_X3.js";
|
|
13
13
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DYF6dHGu.js";
|
|
14
14
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Czzx8vaJ.js";
|
|
15
15
|
import path, { posix } from "node:path";
|
|
@@ -2618,7 +2618,7 @@ function isModuleNotFoundError(err) {
|
|
|
2618
2618
|
}
|
|
2619
2619
|
async function loadPwAiModule(mode) {
|
|
2620
2620
|
try {
|
|
2621
|
-
return await import("./pw-ai-
|
|
2621
|
+
return await import("./pw-ai-BmuDO1HM.js");
|
|
2622
2622
|
} catch (err) {
|
|
2623
2623
|
if (mode === "soft") return null;
|
|
2624
2624
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4983,7 +4983,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
4983
4983
|
//#region src/browser/server-context.reset.ts
|
|
4984
4984
|
async function closePlaywrightBrowserConnection() {
|
|
4985
4985
|
try {
|
|
4986
|
-
await (await import("./pw-ai-
|
|
4986
|
+
await (await import("./pw-ai-BmuDO1HM.js")).closePlaywrightBrowserConnection();
|
|
4987
4987
|
} catch {}
|
|
4988
4988
|
}
|
|
4989
4989
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|