squidclaw 3.3.1 → 3.3.3
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/CHANGELOG.md +6 -0
- package/dist/{audio-preflight-BSsGMMaR.js → audio-preflight-B5XvcdFX.js} +4 -4
- package/dist/{audio-transcription-runner-BUC9KMTa.js → audio-transcription-runner-DUC0ItDY.js} +1 -1
- 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/a2ui.bundle.js +1 -1
- package/dist/{chrome-B-c9WuZW.js → chrome-BTwG9Gvh.js} +8 -8
- package/dist/{command-registry-8dFoJNwF.js → command-registry-okNPqigX.js} +4 -4
- package/dist/{completion-cli-DXKg2zHx.js → completion-cli-C_kX-zqx.js} +2 -2
- package/dist/{completion-cli-BLY0f3DS.js → completion-cli-DMPoKYSD.js} +1 -1
- package/dist/control-ui/assets/{index-BqxuPQOl.js → index-Bb5MB8jH.js} +358 -358
- package/dist/control-ui/assets/index-Bb5MB8jH.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/{deliver-cyA5bLhi.js → deliver-DZCNXFM8.js} +1 -1
- package/dist/{deliver-runtime-BVu0kgJH.js → deliver-runtime-BJoBkkm_.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-BKbax18q.js → deps-send-whatsapp.runtime-CO3zaqTI.js} +7 -7
- package/dist/{doctor-completion-kjDYgxZk.js → doctor-completion-D6js0phx.js} +1 -1
- package/dist/{doctor-completion-B4EOgAHX.js → doctor-completion-Dzzgvaw-.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-7hy6G1el.js → gateway-cli-C_bDC15s.js} +1 -1
- package/dist/{gateway-cli-lvhI_G2p.js → gateway-cli-DZSjLGTJ.js} +1 -1
- package/dist/{image-DNaaTm7C.js → image-COAbpp2B.js} +1 -1
- package/dist/{image-runtime-DzKlwROz.js → image-runtime-Dkwf1-U3.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-CNVVt7F3.js → onboard-CaDp4p48.js} +1 -1
- package/dist/{onboard-BP7rTtCO.js → onboard-qnQqEy5h.js} +1 -1
- package/dist/{onboarding-DQa8M7Fx.js → onboarding-D1z3JAaB.js} +1 -1
- package/dist/{onboarding-LbGi6oDz.js → onboarding-mo7rwJC-.js} +1 -1
- package/dist/{onboarding.finalize-D6qUa-0y.js → onboarding.finalize-CWzwBDG8.js} +67 -21
- package/dist/{onboarding.finalize-CWcaxeIO.js → onboarding.finalize-D8igsmtY.js} +66 -20
- package/dist/{pi-embedded-B0Fw5lST.js → pi-embedded-BKtpY3e4.js} +24 -24
- package/dist/{pi-embedded-helpers-DL-PzuCP.js → pi-embedded-helpers-1Z1aUoto.js} +3 -3
- package/dist/plugin-sdk/{accounts-ByCKM_Y3.js → accounts-BChIl5as.js} +2 -2
- package/dist/plugin-sdk/{accounts-BLOLIF6Q.js → accounts-BhCAa-05.js} +2 -2
- package/dist/plugin-sdk/{accounts-BvzvDHNx.js → accounts-DKXGC2Vu.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Ccj2fSCa.js → active-listener-TTbK9PGk.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-0Xm0okk5.js → api-key-rotation-BqhYVBBK.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B_pcDw8d.js → audio-preflight-DAf0ptAM.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-u6tijzUS.js → audio-transcription-runner-CBASOlbc.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DHQDvH4u.js → audit-membership-runtime-Xl20kCBe.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-BVUdxSNs.js → channel-activity-95JVLzNY.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BX2s-JXF.js → channel-web-DCkC6Ydu.js} +18 -18
- package/dist/plugin-sdk/{chrome-6EkqVcyR.js → chrome-BlXpNOQu.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-CDHo6SSs.js → commands-registry-C9y_w3eW.js} +4 -4
- package/dist/plugin-sdk/{common-Emz6EPQM.js → common-CEwMUbms.js} +2 -2
- package/dist/plugin-sdk/{config-CMjn_DSB.js → config-sMifxgre.js} +7 -7
- package/dist/plugin-sdk/{deliver-Cz6GluMN.js → deliver-2zt3NeFA.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-Dx0Sg-lg.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-bKwjojX0.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-DcxfdKGE.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-79rGat6V.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DfMO701H.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Bnjwm6SU.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CS50_Jgh.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DhO2TqL_.js → diagnostic-CU_mni6m.js} +2 -2
- package/dist/plugin-sdk/{errors-9oVz7reJ.js → errors-CgRPdp3o.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CGQ35-A_.js → fetch-guard-BxMLJbqt.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B26UxJny.js → fs-safe-5aQcM_qM.js} +3 -3
- package/dist/plugin-sdk/{image-DPgEp54d.js → image-BJXV9IMV.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CbKrfi-N.js → image-ops-DovJMvdf.js} +2 -2
- package/dist/plugin-sdk/image-runtime-f-WKB3Bx.js +25 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/{ir-4JdLS2Hz.js → ir-DE2ewdq5.js} +7 -7
- package/dist/plugin-sdk/{local-roots-T6lXDGzr.js → local-roots-CIwDgpY2.js} +4 -4
- package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
- package/dist/plugin-sdk/{login-BNCjks0C.js → login-CLIcsAVy.js} +4 -4
- package/dist/plugin-sdk/{login-qr-CTjNgxhl.js → login-qr-BlxjA0vQ.js} +5 -5
- package/dist/plugin-sdk/{manager-D__CoDGL.js → manager-CpAGPHeX.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-DAKJEbuY.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-DTQ-9Cjw.js → outbound-DDpRevO_.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-CdHX9v0q.js → outbound-attachment-CVavq5II.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DSCFtpsd.js → path-alias-guards-BfpU4lAT.js} +1 -1
- package/dist/plugin-sdk/{paths-BQHqKGA8.js → paths-CK3lTJYw.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B7nmCbf7.js → pi-embedded-helpers-Cb_h9zSJ.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DyDwYiK3.js → pi-model-discovery-B3B3R7L9.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-Bm4bHwpO.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-D_f6TDo7.js → pi-tools.before-tool-call.runtime-DivpBAM0.js} +4 -4
- package/dist/plugin-sdk/{plugins-BSPvol4w.js → plugins-BlTrm4bw.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-D-iVYTBk.js → proxy-env-Cdh-OQYk.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Cf3IUSDw.js → proxy-fetch-Dt5BedH8.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BO445UDA.js → pw-ai-DEDRpMlY.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-81ezWnIN.js → qmd-manager-Ct9rtJjd.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-DxTmIU4K.js → query-expansion-OdwWuN1S.js} +4 -4
- package/dist/plugin-sdk/{redact-DfACyt0X.js → redact-9WsNyb7S.js} +1 -1
- package/dist/plugin-sdk/{reply-DJ3rbbnv.js → reply-wZhosbPd.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-DtQd8TzZ.js → resolve-outbound-target-BJmCIkW_.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-CYcPpb5E.js → run-with-concurrency-EUEKeAa8.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D74eZbH7.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BidSddX5.js +19 -0
- package/dist/plugin-sdk/{send-CGjI0pJn.js → send-0C4KdD-T.js} +7 -7
- package/dist/plugin-sdk/{send-D6nUI0S3.js → send-BGWGV_mz.js} +6 -6
- package/dist/plugin-sdk/{send-BPEn9L0o.js → send-BMWyVUhm.js} +13 -13
- package/dist/plugin-sdk/{send-B9GVkvTk.js → send-Drs4JqVD.js} +5 -5
- package/dist/plugin-sdk/{send-CZ6HDwDu.js → send-oo6mQbab.js} +8 -8
- package/dist/plugin-sdk/{session-Bwjlseuf.js → session-CXVARKFK.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-BpB2Oe8e.js → skill-commands-CoqGFLfM.js} +4 -4
- package/dist/plugin-sdk/{skills-CaQpr1kx.js → skills-di-5uS9y.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-CseiMacz.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-88gX6CLk.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BNrQNIZ7.js +16 -0
- package/dist/plugin-sdk/{store-K6C7eOpg.js → store-Dn_E3uaN.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-Cv8RHTjT.js +52 -0
- package/dist/plugin-sdk/{tables-CeWt6UjS.js → tables-_e9wMygc.js} +1 -1
- package/dist/plugin-sdk/{thinking-gpcjIDQZ.js → thinking-Cih_nxDY.js} +7 -7
- package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
- package/dist/plugin-sdk/{tool-images-l3TE_qXt.js → tool-images-D6a1Ua4p.js} +2 -2
- package/dist/plugin-sdk/web-C4tTN9Xu.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-CbzdjX4B.js → whatsapp-actions-UAnHjKbE.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{program-DZxExBPG.js → program-Crlu6-Fd.js} +2 -2
- package/dist/{program-context-Cc5-MG37.js → program-context-BUiGRFn1.js} +6 -6
- package/dist/{prompt-select-styled-BmJHQFIe.js → prompt-select-styled-BeIW1IXq.js} +1 -1
- package/dist/{prompt-select-styled-CK2Ienpq.js → prompt-select-styled-DPnXlfvv.js} +1 -1
- package/dist/{pw-ai-DKk-nxfi.js → pw-ai-4QFtj-s9.js} +1 -1
- package/dist/{register.maintenance-Di-_iCcy.js → register.maintenance-BETLfpr3.js} +4 -4
- package/dist/{register.maintenance-zjqp4gVD.js → register.maintenance-DWquSvC1.js} +5 -5
- package/dist/{register.onboard-w_EDtQ3H.js → register.onboard-CJqPKqea.js} +2 -2
- package/dist/{register.onboard-D8V8BiRf.js → register.onboard-FYANtcb-.js} +2 -2
- package/dist/{register.setup-DkncXaAW.js → register.setup-DzAgPerh.js} +2 -2
- package/dist/{register.setup-CuD_ucSh.js → register.setup-_38deeF2.js} +2 -2
- package/dist/{register.subclis-D_k3jp2m.js → register.subclis-DX9OFUYu.js} +3 -3
- package/dist/{run-main-Czc9ESzd.js → run-main-BjSdMh29.js} +3 -3
- package/dist/{slash-dispatch.runtime-C6owhNFn.js → slash-dispatch.runtime-DxM7VUio.js} +6 -6
- package/dist/{subagent-registry-runtime-Chbfn_dG.js → subagent-registry-runtime-CrVeg8cq.js} +6 -6
- package/dist/{update-cli-XGRmAcuW.js → update-cli-Bh_QpVMZ.js} +4 -4
- package/dist/{update-cli-FbS4oJu1.js → update-cli-yUlN0mCs.js} +5 -5
- package/dist/{web-snD8T3x5.js → web-BmVAq-Dx.js} +6 -6
- package/extensions/acpx/node_modules/.bin/acpx +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +2 -2
- package/extensions/diffs/node_modules/.bin/playwright-core +2 -2
- package/extensions/googlechat/node_modules/.bin/squidclaw +2 -2
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/memory-core/node_modules/.bin/squidclaw +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/tlon/node_modules/.bin/tlon +2 -2
- package/package.json +1 -1
- package/dist/control-ui/assets/index-BqxuPQOl.js.map +0 -1
- package/dist/plugin-sdk/deliver-runtime-CjCJkoFM.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-C4AEwjGl.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-DCdEe-_E.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BNO6SPmR.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BChVBURL.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DyCorUw2.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DoOYrpKa.js +0 -57
- package/dist/plugin-sdk/image-runtime-DN6PHT8G.js +0 -25
- package/dist/plugin-sdk/manager-runtime-B9aBGLrF.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-CN6ZaL0W.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-ai8hcGi_.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BzvoaI1G.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BH06o3dH.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BotYesgY.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-CzPvxiUD.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-BbcgUYOO.js +0 -52
- package/dist/plugin-sdk/web-DZ7nBzZy.js +0 -56
- package/docs/reference/templates/IDENTITY.md +0 -14
- package/docs/reference/templates/USER.md +0 -9
- package/extensions/nostr/node_modules/.bin/tsc +0 -21
- package/extensions/nostr/node_modules/.bin/tsserver +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Docs: https://docs.openclaw.ai
|
|
4
4
|
|
|
5
|
+
## 2026.4.5
|
|
6
|
+
|
|
7
|
+
### Fixes
|
|
8
|
+
|
|
9
|
+
- Release housekeeping: bumped the CLI/package version to 3.3.2 so the recent memory extraction fixes can ship on npm (3.3.1 was already reserved upstream).
|
|
10
|
+
|
|
5
11
|
## 2026.3.3
|
|
6
12
|
|
|
7
13
|
### Changes
|
|
@@ -11,8 +11,8 @@ import "./plugins-D-K4oUXz.js";
|
|
|
11
11
|
import "./accounts-pMDX8iho.js";
|
|
12
12
|
import "./accounts-DfrJiFJJ.js";
|
|
13
13
|
import "./image-ops-QLLBkxzG.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./chrome-
|
|
14
|
+
import "./pi-embedded-helpers-1Z1aUoto.js";
|
|
15
|
+
import "./chrome-BTwG9Gvh.js";
|
|
16
16
|
import "./frontmatter-LLGh43CC.js";
|
|
17
17
|
import "./skills-BjHeDO5V.js";
|
|
18
18
|
import "./path-alias-guards-DgNuZPBA.js";
|
|
@@ -24,8 +24,8 @@ import "./store-C3iBzr-_.js";
|
|
|
24
24
|
import "./accounts-BFS_qklA.js";
|
|
25
25
|
import "./paths-7EEBmI5a.js";
|
|
26
26
|
import "./tool-images-HRwkh81U.js";
|
|
27
|
-
import "./image-
|
|
28
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
27
|
+
import "./image-COAbpp2B.js";
|
|
28
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DUC0ItDY.js";
|
|
29
29
|
import "./fetch-COEkF6YP.js";
|
|
30
30
|
import "./fetch-guard-CcP28UT1.js";
|
|
31
31
|
import "./api-key-rotation-DCBXT0v7.js";
|
package/dist/{audio-transcription-runner-BUC9KMTa.js → audio-transcription-runner-DUC0ItDY.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { _ as runExec } from "./workspace-MO4aE903.js";
|
|
|
4
4
|
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, ir as resolveSquidClawAgentDir, j as requireApiKey, ot as isInboundPathAllowed, st as mergeInboundPathRoots } from "./model-selection-Bjj4oU16.js";
|
|
5
5
|
import { _ as normalizeChatType } from "./plugins-D-K4oUXz.js";
|
|
6
6
|
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-QLLBkxzG.js";
|
|
7
|
-
import { t as describeImageWithModel, w as ensureSquidClawModelsJson } from "./image-
|
|
7
|
+
import { t as describeImageWithModel, w as ensureSquidClawModelsJson } from "./image-COAbpp2B.js";
|
|
8
8
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-COEkF6YP.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Wgx3OXYj.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CcP28UT1.js";
|
package/dist/build-info.json
CHANGED
|
@@ -8,19 +8,19 @@ import "../../github-copilot-token-B8Wx9FgQ.js";
|
|
|
8
8
|
import { a as isGatewayStartupEvent } from "../../legacy-names-CR_H5NWa.js";
|
|
9
9
|
import "../../thinking-BB_GM390.js";
|
|
10
10
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-Cdk21tF_.js";
|
|
11
|
-
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-
|
|
11
|
+
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-BKtpY3e4.js";
|
|
12
12
|
import "../../plugins-D-K4oUXz.js";
|
|
13
13
|
import "../../accounts-pMDX8iho.js";
|
|
14
14
|
import "../../send-CNzGOCHa.js";
|
|
15
15
|
import "../../send-DJcNRhf_.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-DZCNXFM8.js";
|
|
17
17
|
import "../../diagnostic-4Dbmo6KU.js";
|
|
18
18
|
import "../../accounts-DfrJiFJJ.js";
|
|
19
19
|
import "../../image-ops-QLLBkxzG.js";
|
|
20
20
|
import "../../send-pUHxPU20.js";
|
|
21
21
|
import "../../pi-model-discovery-DSuyTtRM.js";
|
|
22
|
-
import { Dt as resolveMainSessionKey, J as updateSessionStore, Tt as resolveAgentMainSessionKey, W as loadSessionStore } from "../../pi-embedded-helpers-
|
|
23
|
-
import "../../chrome-
|
|
22
|
+
import { Dt as resolveMainSessionKey, J as updateSessionStore, Tt as resolveAgentMainSessionKey, W as loadSessionStore } from "../../pi-embedded-helpers-1Z1aUoto.js";
|
|
23
|
+
import "../../chrome-BTwG9Gvh.js";
|
|
24
24
|
import "../../frontmatter-LLGh43CC.js";
|
|
25
25
|
import "../../skills-BjHeDO5V.js";
|
|
26
26
|
import "../../path-alias-guards-DgNuZPBA.js";
|
|
@@ -32,8 +32,8 @@ import "../../store-C3iBzr-_.js";
|
|
|
32
32
|
import "../../accounts-BFS_qklA.js";
|
|
33
33
|
import { s as resolveStorePath } from "../../paths-7EEBmI5a.js";
|
|
34
34
|
import "../../tool-images-HRwkh81U.js";
|
|
35
|
-
import "../../image-
|
|
36
|
-
import "../../audio-transcription-runner-
|
|
35
|
+
import "../../image-COAbpp2B.js";
|
|
36
|
+
import "../../audio-transcription-runner-DUC0ItDY.js";
|
|
37
37
|
import "../../fetch-COEkF6YP.js";
|
|
38
38
|
import "../../fetch-guard-CcP28UT1.js";
|
|
39
39
|
import "../../api-key-rotation-DCBXT0v7.js";
|
|
@@ -8,19 +8,19 @@ import "../../github-copilot-token-B8Wx9FgQ.js";
|
|
|
8
8
|
import { i as isAgentBootstrapEvent } from "../../legacy-names-CR_H5NWa.js";
|
|
9
9
|
import "../../thinking-BB_GM390.js";
|
|
10
10
|
import "../../tokens-Cdk21tF_.js";
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "../../pi-embedded-
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "../../pi-embedded-BKtpY3e4.js";
|
|
12
12
|
import "../../plugins-D-K4oUXz.js";
|
|
13
13
|
import "../../accounts-pMDX8iho.js";
|
|
14
14
|
import "../../send-CNzGOCHa.js";
|
|
15
15
|
import "../../send-DJcNRhf_.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-DZCNXFM8.js";
|
|
17
17
|
import "../../diagnostic-4Dbmo6KU.js";
|
|
18
18
|
import "../../accounts-DfrJiFJJ.js";
|
|
19
19
|
import "../../image-ops-QLLBkxzG.js";
|
|
20
20
|
import "../../send-pUHxPU20.js";
|
|
21
21
|
import "../../pi-model-discovery-DSuyTtRM.js";
|
|
22
|
-
import { dt as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
23
|
-
import "../../chrome-
|
|
22
|
+
import { dt as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-1Z1aUoto.js";
|
|
23
|
+
import "../../chrome-BTwG9Gvh.js";
|
|
24
24
|
import "../../frontmatter-LLGh43CC.js";
|
|
25
25
|
import "../../skills-BjHeDO5V.js";
|
|
26
26
|
import "../../path-alias-guards-DgNuZPBA.js";
|
|
@@ -32,8 +32,8 @@ import "../../store-C3iBzr-_.js";
|
|
|
32
32
|
import "../../accounts-BFS_qklA.js";
|
|
33
33
|
import "../../paths-7EEBmI5a.js";
|
|
34
34
|
import "../../tool-images-HRwkh81U.js";
|
|
35
|
-
import "../../image-
|
|
36
|
-
import "../../audio-transcription-runner-
|
|
35
|
+
import "../../image-COAbpp2B.js";
|
|
36
|
+
import "../../audio-transcription-runner-DUC0ItDY.js";
|
|
37
37
|
import "../../fetch-COEkF6YP.js";
|
|
38
38
|
import "../../fetch-guard-CcP28UT1.js";
|
|
39
39
|
import "../../api-key-rotation-DCBXT0v7.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Empty A2UI bundle for build compatibility
|
|
@@ -14,7 +14,7 @@ import { createHmac } from "node:crypto";
|
|
|
14
14
|
import net from "node:net";
|
|
15
15
|
import http, { createServer } from "node:http";
|
|
16
16
|
import https from "node:https";
|
|
17
|
-
import WebSocket
|
|
17
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
18
18
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
19
19
|
|
|
20
20
|
//#region src/browser/constants.ts
|
|
@@ -593,7 +593,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
593
593
|
let extensionWs = null;
|
|
594
594
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
595
595
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
596
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket
|
|
596
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
597
597
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
598
598
|
let extensionDisconnectCleanupTimer = null;
|
|
599
599
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -645,7 +645,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
645
645
|
let nextExtensionId = 1;
|
|
646
646
|
const sendToExtension = async (payload) => {
|
|
647
647
|
const ws = extensionWs;
|
|
648
|
-
if (!ws || ws.readyState !== WebSocket
|
|
648
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
649
649
|
ws.send(JSON.stringify(payload));
|
|
650
650
|
return await new Promise((resolve, reject) => {
|
|
651
651
|
const timer = setTimeout(() => {
|
|
@@ -662,12 +662,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
662
662
|
const broadcastToCdpClients = (evt) => {
|
|
663
663
|
const msg = JSON.stringify(evt);
|
|
664
664
|
for (const ws of cdpClients) {
|
|
665
|
-
if (ws.readyState !== WebSocket
|
|
665
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
666
666
|
ws.send(msg);
|
|
667
667
|
}
|
|
668
668
|
};
|
|
669
669
|
const sendResponseToCdp = (ws, res) => {
|
|
670
|
-
if (ws.readyState !== WebSocket
|
|
670
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
671
671
|
ws.send(JSON.stringify(res));
|
|
672
672
|
};
|
|
673
673
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -921,7 +921,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
921
921
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
922
922
|
return;
|
|
923
923
|
}
|
|
924
|
-
if (extensionWs && extensionWs.readyState !== WebSocket
|
|
924
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
925
925
|
try {
|
|
926
926
|
extensionWs.terminate();
|
|
927
927
|
} catch {}
|
|
@@ -954,7 +954,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
954
954
|
clearExtensionDisconnectCleanupTimer();
|
|
955
955
|
flushExtensionReconnectWaiters(true);
|
|
956
956
|
const ping = setInterval(() => {
|
|
957
|
-
if (ws.readyState !== WebSocket
|
|
957
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
958
958
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
959
959
|
}, 5e3);
|
|
960
960
|
ws.on("message", (data) => {
|
|
@@ -1310,7 +1310,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1310
1310
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1311
1311
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1312
1312
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1313
|
-
return new WebSocket
|
|
1313
|
+
return new WebSocket(wsUrl, {
|
|
1314
1314
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1315
1315
|
...Object.keys(headers).length ? { headers } : {},
|
|
1316
1316
|
...agent ? { agent } : {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-BrhVUl-N.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-DX9OFUYu.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-DzAgPerh.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-CJqPKqea.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-DWquSvC1.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -4,8 +4,8 @@ import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-Bw5n50gj.js";
|
|
5
5
|
import { m as pathExists } from "./utils-D6vohX1h.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DX9OFUYu.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-okNPqigX.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-DKVuITe2.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-xfUIfxbE.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-DMGXr25O.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-DC87CPVS.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-De9M3AmU.js";
|
|
7
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
7
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BUiGRFn1.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|