@bitseek/claw 1.2.7 → 1.2.8
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-Dd9DDvqB.js → audio-preflight-BWOdDA2n.js} +4 -4
- package/dist/{audio-transcription-runner-Bx53bUS2.js → audio-transcription-runner-DaoqvWoi.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/.bundle.hash +1 -1
- package/dist/{chrome-C6zMSR36.js → chrome-CjTE-vWv.js} +8 -8
- package/dist/{command-registry-Ce2f2xlT.js → command-registry-Keal8P25.js} +4 -4
- package/dist/{completion-cli-BmyLEw45.js → completion-cli-BWcHEWr6.js} +2 -2
- package/dist/{completion-cli-9Y73fGUi.js → completion-cli-B_pSnPVY.js} +1 -1
- package/dist/control-ui/assets/{index-CKSSOzJL.js → index-puDi2eTY.js} +2 -2
- package/dist/control-ui/assets/index-puDi2eTY.js.map +1 -0
- package/dist/control-ui/brand.png +0 -0
- package/dist/control-ui/index.html +4 -5
- package/dist/{deliver-DXa06hfk.js → deliver-xY3h9X6N.js} +1 -1
- package/dist/{doctor-completion-_GRkzsCa.js → doctor-completion-leOuoRMt.js} +1 -1
- package/dist/{doctor-completion-CWm9ZwKY.js → doctor-completion-sKCaOE5l.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-CSL5V3uF.js → gateway-cli-BlVNebTw.js} +15 -5
- package/dist/{gateway-cli-DRM2vzxA.js → gateway-cli-jL3MSRHB.js} +15 -5
- package/dist/{image-Dd4lgi4H.js → image-DCyaYY2d.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-BuGv9f2N.js → onboard-BCcjGKBR.js} +1 -1
- package/dist/{onboard-ATkjPZXm.js → onboard-KHObANUh.js} +1 -1
- package/dist/{onboarding-BAaREMfO.js → onboarding-BTXvw1Ro.js} +1 -1
- package/dist/{onboarding-BvdtFAPe.js → onboarding-DQNTd5J7.js} +1 -1
- package/dist/{onboarding.finalize-dkwktLJD.js → onboarding.finalize-CHYENeNO.js} +3 -3
- package/dist/{onboarding.finalize-CV7n10lP.js → onboarding.finalize-D0qfP3rB.js} +4 -4
- package/dist/{pi-embedded-DKX65Hec.js → pi-embedded-Bacc2S0h.js} +22 -22
- package/dist/{pi-embedded-helpers-BErNo2oq.js → pi-embedded-helpers-CMTVhLjq.js} +3 -3
- package/dist/plugin-sdk/{accounts-COLYAAOx.js → accounts-4WE2wtsW.js} +1 -1
- package/dist/plugin-sdk/{accounts-BZrkOo6-.js → accounts-AbI8uETR.js} +1 -1
- package/dist/plugin-sdk/{accounts-D_pT5EjF.js → accounts-BYcizTXn.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DxBXcWm_.js → active-listener-pnqLAUOh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DT5pxpJB.js → agent-scope-_j3fIYCK.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Dl6Ad7Nj.js → api-key-rotation-CYI51U_M.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CkPj4OVY.js → audio-preflight-BTRRjPew.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-BBn9jEMg.js → audio-transcription-runner-DFZS7uCO.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DAEbma-o.js → channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-O79O_ah6.js → channel-web-D2q54sK-.js} +23 -23
- package/dist/plugin-sdk/{chrome-Dn0G4NoF.js → chrome-oPevdeh5.js} +7 -7
- package/dist/plugin-sdk/{chunk-cvtXztAT.js → chunk-BPyPeheZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-BOJz3y1v.js → command-format-DvyMEXQo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CZWv_JwZ.js → commands-registry-Dk8re8Lz.js} +5 -5
- package/dist/plugin-sdk/{config-DAwOhnVF.js → config-D7I2_X4P.js} +10 -10
- package/dist/plugin-sdk/{deliver-PdH-MCq8.js → deliver-NrIHn0__.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BZvj-qNu.js → diagnostic-DL3k_wRi.js} +2 -2
- package/dist/plugin-sdk/{dock-BdR3OYZn.js → dock-CjdkiLH7.js} +6 -6
- package/dist/plugin-sdk/{errors-jusxdu7M.js → errors-DFTN4h2I.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dary6WwJ.js → fetch-guard-BivEyA4v.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DMCE0ej9.js → fs-safe-B256n7Ff.js} +3 -3
- package/dist/plugin-sdk/{image-B3A2l2ep.js → image-CkPzr3XN.js} +6 -6
- package/dist/plugin-sdk/{image-ops-DulHE5Qc.js → image-ops-C9GXWF3o.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BFXiJrsN.js → ir-BIm-jvIK.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DssN60r6.js → local-roots-2AOXGUXW.js} +4 -4
- package/dist/plugin-sdk/{logger-Cr-x0vMf.js → logger-CNhs9eKJ.js} +1 -1
- package/dist/plugin-sdk/{login-D0ul3-6C.js → login-BcLiF9tC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-XWKTFBuI.js → login-qr-GyPUodKJ.js} +9 -9
- package/dist/plugin-sdk/{manager-DGx_cF54.js → manager-DYLqNUb4.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-CsQpDNU5.js → markdown-tables-D9mmqMKi.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CvNq-esz.js → message-channel-_CEZcqxE.js} +1 -1
- package/dist/plugin-sdk/{outbound-D29FHlQl.js → outbound-DdTsUaXa.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DRHrZUOx.js → outbound-attachment--hkuIDR1.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DpKV1B5p.js → path-alias-guards-BqUCBfUg.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CKEUWckk.js → pi-embedded-helpers-CTfvZz83.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-BPeQq9XM.js → pi-model-discovery-CK3Ih_kq.js} +1 -1
- package/dist/plugin-sdk/{plugins-DF_dKXTR.js → plugins-BpHAMNJ1.js} +6 -6
- package/dist/plugin-sdk/{proxy-BfmEDoun.js → proxy-BJdRZOnJ.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BpHIgvBk.js → proxy-fetch-jmbopGcm.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BmmXDjtm.js → pw-ai-D0Kx7w1D.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-3hQbqkm5.js → qmd-manager-BDcutPp9.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-BOGLUWB7.js → query-expansion-C_X8SyEA.js} +2 -2
- package/dist/plugin-sdk/{redact-BOuKZWXa.js → redact-DH8u23pF.js} +1 -1
- package/dist/plugin-sdk/{registry-Cv-oHUj1.js → registry-HF8_S7QO.js} +2 -2
- package/dist/plugin-sdk/{replies-CddwWBTJ.js → replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-YZQvouuF.js → reply-Cs_Ks2Mr.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-DXthVxCx.js → reply-prefix-KODsMNJ-.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DuwYYn4a.js → resolve-route-De2B5QY_.js} +4 -4
- package/dist/plugin-sdk/{retry-BMcrIz7L.js → retry-pZ8iKytf.js} +1 -1
- package/dist/plugin-sdk/{send-D0AaWnIj.js → send-1uW-uqPf.js} +7 -7
- package/dist/plugin-sdk/{send-C5USYGq7.js → send-BoNw1Bki.js} +8 -8
- package/dist/plugin-sdk/{send-B0ztz6QC.js → send-C-Rd2stz.js} +6 -6
- package/dist/plugin-sdk/{send-DJzwu8kk.js → send-CZIN8SDx.js} +15 -15
- package/dist/plugin-sdk/{send-DEyQJTzd.js → send-wCqsQs_s.js} +10 -10
- package/dist/plugin-sdk/{session-meta-ChWvKVWj.js → session-meta-7J-uHiM_.js} +1 -1
- package/dist/plugin-sdk/{session-BA7tVDpV.js → session-ooYcB82T.js} +5 -5
- package/dist/plugin-sdk/{sessions-BXps6YzJ.js → sessions-lAIo5l8W.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-B20uUsji.js → skill-commands-D1Q6hGS4.js} +5 -5
- package/dist/plugin-sdk/{skills-DXOTei42.js → skills-BWSDv2F_.js} +8 -8
- package/dist/plugin-sdk/{ssrf-Doxv9M7Q.js → ssrf-JKDwTi8i.js} +1 -1
- package/dist/plugin-sdk/{store-BZbE1V-C.js → store-BMeqzQAf.js} +2 -2
- package/dist/plugin-sdk/{subsystem-CM1s2lDT.js → subsystem-B0V8LFBA.js} +2 -2
- package/dist/plugin-sdk/{tables-BhH8EIqU.js → tables-DCSeBGBz.js} +1 -1
- package/dist/plugin-sdk/{target-errors-QZay02Cv.js → target-errors-0u6pegQv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DIE-Bf72.js → tokens-DF2_VTJy.js} +1 -1
- package/dist/plugin-sdk/{tool-images-heXfaJdb.js → tool-images-BbsgbHMZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CygMSQUK.js → tool-loop-detection-JkCpGrfk.js} +2 -2
- package/dist/plugin-sdk/{utils-BcL6KGZf.js → utils-BfVxx6bk.js} +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{program-Br-upXE-.js → program-BI6W1Gll.js} +2 -2
- package/dist/{program-context-B7eOpdoF.js → program-context-D2D7wH7Q.js} +6 -6
- package/dist/{prompt-select-styled-CPPwmToI.js → prompt-select-styled-CdBJ0FWT.js} +1 -1
- package/dist/{prompt-select-styled-BpKwjfWa.js → prompt-select-styled-FGF3Su20.js} +1 -1
- package/dist/{pw-ai-pkfCxzhV.js → pw-ai-DGwA7iCM.js} +1 -1
- package/dist/{register.maintenance-DlVX7oGZ.js → register.maintenance-DTx6vUDv.js} +4 -4
- package/dist/{register.maintenance-D3hGsmW7.js → register.maintenance-f8NCHf6u.js} +5 -5
- package/dist/{register.onboard-BSOSCu5a.js → register.onboard-DmymXZNT.js} +2 -2
- package/dist/{register.onboard-BLl4Er9V.js → register.onboard-tT7keiju.js} +2 -2
- package/dist/{register.setup-CvAXGVEU.js → register.setup-D9AvFexw.js} +2 -2
- package/dist/{register.setup-NLg11E_9.js → register.setup-DjHaiqnA.js} +2 -2
- package/dist/{register.subclis-Zhshg_9Y.js → register.subclis-pmPhNoRB.js} +3 -3
- package/dist/{run-main-CiC7Az8U.js → run-main-D5C2p24j.js} +3 -3
- package/dist/{update-cli-B9F4MIMw.js → update-cli-C2EagLTi.js} +5 -5
- package/dist/{update-cli-mCVWiI6K.js → update-cli-DiT2fFEK.js} +4 -4
- package/dist/{web-V1uGLepo.js → web-CDHXvGxm.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/assets/index-CKSSOzJL.js.map +0 -1
- package/dist/plugin-sdk/web-jmxdxo0H.js +0 -72
|
@@ -18,8 +18,8 @@ import "./accounts-BTexwKe8.js";
|
|
|
18
18
|
import "./image-ops-DCpyia_K.js";
|
|
19
19
|
import "./pi-model-discovery-DCIw1y1c.js";
|
|
20
20
|
import "./message-channel-Dl8dSs0T.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
22
|
-
import "./chrome-
|
|
21
|
+
import "./pi-embedded-helpers-CMTVhLjq.js";
|
|
22
|
+
import "./chrome-CjTE-vWv.js";
|
|
23
23
|
import "./frontmatter-DIRc-IR1.js";
|
|
24
24
|
import "./skills-DMmr25nW.js";
|
|
25
25
|
import "./path-alias-guards-CKjKIhQ3.js";
|
|
@@ -33,8 +33,8 @@ import "./accounts-CFz9Jc5d.js";
|
|
|
33
33
|
import "./paths-Cpu0XgUj.js";
|
|
34
34
|
import "./tool-images-ffdfBx0b.js";
|
|
35
35
|
import "./thinking-FnAYAFD8.js";
|
|
36
|
-
import "./image-
|
|
37
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
36
|
+
import "./image-DCyaYY2d.js";
|
|
37
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DaoqvWoi.js";
|
|
38
38
|
import "./fetch--iXu7oa7.js";
|
|
39
39
|
import "./fetch-guard-CNvY0vzQ.js";
|
|
40
40
|
import "./api-key-rotation-WzOC5dTW.js";
|
package/dist/{audio-transcription-runner-Bx53bUS2.js → audio-transcription-runner-DaoqvWoi.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { y as runExec } from "./workspace-D6mrCnXi.js";
|
|
|
4
4
|
import { $ as mergeInboundPathRoots, A as resolveApiKeyForProvider, H as loadConfig, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, et as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, k as requireApiKey, kn as resolveOpenClawAgentDir } from "./model-selection-D_Si2Ict.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
6
6
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DCpyia_K.js";
|
|
7
|
-
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DCyaYY2d.js";
|
|
8
8
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch--iXu7oa7.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CYFFedEH.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CNvY0vzQ.js";
|
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.2.
|
|
2
|
+
"version": "1.2.8",
|
|
3
3
|
"upstreamVersion": "2026.3.2",
|
|
4
|
-
"commit": "
|
|
5
|
-
"builtAt": "2026-03-
|
|
4
|
+
"commit": "6f847a2f8d3d0e81253e643c9611a9f52b1c1a50",
|
|
5
|
+
"builtAt": "2026-03-14T03:51:18.238Z"
|
|
6
6
|
}
|
|
@@ -13,13 +13,13 @@ import { r as isGatewayStartupEvent } from "../../internal-hooks-yQe6H47q.js";
|
|
|
13
13
|
import "../../registry-CJCkqTms.js";
|
|
14
14
|
import "../../dock-Cr9V9V1V.js";
|
|
15
15
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-B9EDT4jv.js";
|
|
16
|
-
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-
|
|
16
|
+
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-Bacc2S0h.js";
|
|
17
17
|
import "../../plugins-CJoaoIHc.js";
|
|
18
18
|
import "../../accounts-ubG6irXZ.js";
|
|
19
19
|
import "../../bindings-CsIiIjqN.js";
|
|
20
20
|
import "../../send-B4pSMBHk.js";
|
|
21
21
|
import "../../send-V3fEVmLq.js";
|
|
22
|
-
import "../../deliver-
|
|
22
|
+
import "../../deliver-xY3h9X6N.js";
|
|
23
23
|
import "../../diagnostic-BO1GQJJf.js";
|
|
24
24
|
import "../../diagnostic-session-state-DBPrVBk3.js";
|
|
25
25
|
import "../../accounts-BTexwKe8.js";
|
|
@@ -27,8 +27,8 @@ import "../../send-BqKSZyIb.js";
|
|
|
27
27
|
import "../../image-ops-DCpyia_K.js";
|
|
28
28
|
import "../../pi-model-discovery-DCIw1y1c.js";
|
|
29
29
|
import "../../message-channel-Dl8dSs0T.js";
|
|
30
|
-
import "../../pi-embedded-helpers-
|
|
31
|
-
import "../../chrome-
|
|
30
|
+
import "../../pi-embedded-helpers-CMTVhLjq.js";
|
|
31
|
+
import "../../chrome-CjTE-vWv.js";
|
|
32
32
|
import "../../frontmatter-DIRc-IR1.js";
|
|
33
33
|
import "../../skills-DMmr25nW.js";
|
|
34
34
|
import "../../path-alias-guards-CKjKIhQ3.js";
|
|
@@ -42,8 +42,8 @@ import "../../accounts-CFz9Jc5d.js";
|
|
|
42
42
|
import { s as resolveStorePath } from "../../paths-Cpu0XgUj.js";
|
|
43
43
|
import "../../tool-images-ffdfBx0b.js";
|
|
44
44
|
import "../../thinking-FnAYAFD8.js";
|
|
45
|
-
import "../../image-
|
|
46
|
-
import "../../audio-transcription-runner-
|
|
45
|
+
import "../../image-DCyaYY2d.js";
|
|
46
|
+
import "../../audio-transcription-runner-DaoqvWoi.js";
|
|
47
47
|
import "../../fetch--iXu7oa7.js";
|
|
48
48
|
import "../../fetch-guard-CNvY0vzQ.js";
|
|
49
49
|
import "../../api-key-rotation-WzOC5dTW.js";
|
|
@@ -13,13 +13,13 @@ import "../../internal-hooks-yQe6H47q.js";
|
|
|
13
13
|
import "../../registry-CJCkqTms.js";
|
|
14
14
|
import "../../dock-Cr9V9V1V.js";
|
|
15
15
|
import "../../tokens-B9EDT4jv.js";
|
|
16
|
-
import "../../pi-embedded-
|
|
16
|
+
import "../../pi-embedded-Bacc2S0h.js";
|
|
17
17
|
import "../../plugins-CJoaoIHc.js";
|
|
18
18
|
import "../../accounts-ubG6irXZ.js";
|
|
19
19
|
import "../../bindings-CsIiIjqN.js";
|
|
20
20
|
import "../../send-B4pSMBHk.js";
|
|
21
21
|
import "../../send-V3fEVmLq.js";
|
|
22
|
-
import "../../deliver-
|
|
22
|
+
import "../../deliver-xY3h9X6N.js";
|
|
23
23
|
import "../../diagnostic-BO1GQJJf.js";
|
|
24
24
|
import "../../diagnostic-session-state-DBPrVBk3.js";
|
|
25
25
|
import "../../accounts-BTexwKe8.js";
|
|
@@ -27,8 +27,8 @@ import "../../send-BqKSZyIb.js";
|
|
|
27
27
|
import "../../image-ops-DCpyia_K.js";
|
|
28
28
|
import "../../pi-model-discovery-DCIw1y1c.js";
|
|
29
29
|
import "../../message-channel-Dl8dSs0T.js";
|
|
30
|
-
import "../../pi-embedded-helpers-
|
|
31
|
-
import "../../chrome-
|
|
30
|
+
import "../../pi-embedded-helpers-CMTVhLjq.js";
|
|
31
|
+
import "../../chrome-CjTE-vWv.js";
|
|
32
32
|
import "../../frontmatter-DIRc-IR1.js";
|
|
33
33
|
import "../../skills-DMmr25nW.js";
|
|
34
34
|
import "../../path-alias-guards-CKjKIhQ3.js";
|
|
@@ -42,8 +42,8 @@ import "../../accounts-CFz9Jc5d.js";
|
|
|
42
42
|
import "../../paths-Cpu0XgUj.js";
|
|
43
43
|
import "../../tool-images-ffdfBx0b.js";
|
|
44
44
|
import "../../thinking-FnAYAFD8.js";
|
|
45
|
-
import "../../image-
|
|
46
|
-
import "../../audio-transcription-runner-
|
|
45
|
+
import "../../image-DCyaYY2d.js";
|
|
46
|
+
import "../../audio-transcription-runner-DaoqvWoi.js";
|
|
47
47
|
import "../../fetch--iXu7oa7.js";
|
|
48
48
|
import "../../fetch-guard-CNvY0vzQ.js";
|
|
49
49
|
import "../../api-key-rotation-WzOC5dTW.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cf53a7d10b20a319fee88faf5a55c9950dea0f4ec92b850f25f251b64c97ddfa
|
|
@@ -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, { WebSocketServer } from "ws";
|
|
17
|
+
import WebSocket$1, { 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.OPEN;
|
|
596
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.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.OPEN) throw new Error("Chrome extension not connected");
|
|
648
|
+
if (!ws || ws.readyState !== WebSocket$1.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.OPEN) continue;
|
|
665
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
666
666
|
ws.send(msg);
|
|
667
667
|
}
|
|
668
668
|
};
|
|
669
669
|
const sendResponseToCdp = (ws, res) => {
|
|
670
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
670
|
+
if (ws.readyState !== WebSocket$1.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.OPEN) {
|
|
924
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.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.OPEN) return;
|
|
957
|
+
if (ws.readyState !== WebSocket$1.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(wsUrl, {
|
|
1313
|
+
return new WebSocket$1(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-B68W7uN8.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-pmPhNoRB.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.setup-
|
|
45
|
+
(await import("./register.setup-DjHaiqnA.js")).registerSetupCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: false
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./register.onboard-
|
|
55
|
+
(await import("./register.onboard-tT7keiju.js")).registerOnboardCommand(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -99,7 +99,7 @@ const coreEntries = [
|
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
register: async ({ program }) => {
|
|
102
|
-
(await import("./register.maintenance-
|
|
102
|
+
(await import("./register.maintenance-f8NCHf6u.js")).registerMaintenanceCommands(program);
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -4,8 +4,8 @@ import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-DjdBljTA.js";
|
|
5
5
|
import { m as pathExists } from "./utils-DIzy5B5o.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-BDNlbZvM.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-pmPhNoRB.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Keal8P25.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-Cy6hM1zR.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-uLeGcRW1.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-CP51tiAi.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-CM7pO4C5.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-D2D7wH7Q.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -8496,7 +8496,7 @@ ${JSON.stringify(e.issues,null,2)}</pre
|
|
|
8496
8496
|
`:h}
|
|
8497
8497
|
</div>
|
|
8498
8498
|
</div>
|
|
8499
|
-
`}const Gw=["off","minimal","low","medium","high"],Vw=["UTC","America/Los_Angeles","America/Denver","America/Chicago","America/New_York","Europe/London","Europe/Berlin","Asia/Tokyo"],Jw=new Set(["chat","overview","market","models"]);function Qw(e){return/^https?:\/\//i.test(e.trim())}function Yi(e){return typeof e=="string"?e.trim():""}function Hl(e){const t=new Set,n=[];for(const s of e){const i=s.trim();if(!i)continue;const o=i.toLowerCase();t.has(o)||(t.add(o),n.push(i))}return n}function Yw(e){const t=typeof e.hello?.server?.version=="string"&&e.hello.server.version.trim()||e.updateAvailable?.currentVersion||p("common.na"),n=e.updateAvailable&&e.updateAvailable.latestVersion!==e.updateAvailable.currentVersion?e.updateAvailable:null,s=n?"warn":"ok",i=e.presenceEntries.length,o=e.sessionsResult?.count??null,r=e.cronStatus?.nextWakeAtMs??null,l=e.connected?null:p("chat.disconnected"),a=e.tab==="chat",d=a&&(e.settings.chatFocusMode||e.onboarding),g=e.onboarding?!1:e.settings.chatShowThinking,u=e.configForm??e.configSnapshot?.config,f=u?.bitseek?.advancedMode===!0,v=async()=>{if(!e.client||!e.connected||e.configSaving||!e.configSnapshot?.hash&&(await Ae(e),!e.configSnapshot?.hash))return;!f?Me(e,["bitseek","advancedMode"],!0):qe(e,["bitseek","advancedMode"]),await On(e)},m=Xt(e.basePath??""),S=m?`${m}/
|
|
8499
|
+
`}const Gw=["off","minimal","low","medium","high"],Vw=["UTC","America/Los_Angeles","America/Denver","America/Chicago","America/New_York","Europe/London","Europe/Berlin","Asia/Tokyo"],Jw=new Set(["chat","overview","market","models"]);function Qw(e){return/^https?:\/\//i.test(e.trim())}function Yi(e){return typeof e=="string"?e.trim():""}function Hl(e){const t=new Set,n=[];for(const s of e){const i=s.trim();if(!i)continue;const o=i.toLowerCase();t.has(o)||(t.add(o),n.push(i))}return n}function Yw(e){const t=typeof e.hello?.server?.version=="string"&&e.hello.server.version.trim()||e.updateAvailable?.currentVersion||p("common.na"),n=e.updateAvailable&&e.updateAvailable.latestVersion!==e.updateAvailable.currentVersion?e.updateAvailable:null,s=n?"warn":"ok",i=e.presenceEntries.length,o=e.sessionsResult?.count??null,r=e.cronStatus?.nextWakeAtMs??null,l=e.connected?null:p("chat.disconnected"),a=e.tab==="chat",d=a&&(e.settings.chatFocusMode||e.onboarding),g=e.onboarding?!1:e.settings.chatShowThinking,u=e.configForm??e.configSnapshot?.config,f=u?.bitseek?.advancedMode===!0,v=async()=>{if(!e.client||!e.connected||e.configSaving||!e.configSnapshot?.hash&&(await Ae(e),!e.configSnapshot?.hash))return;!f?Me(e,["bitseek","advancedMode"],!0):qe(e,["bitseek","advancedMode"]),await On(e)},m=Xt(e.basePath??""),S=m?`${m}/brand.png`:"/brand.png",C=e.agentsSelectedId??e.agentsList?.defaultId??e.agentsList?.agents?.[0]?.id??null,R=bo(new Set([...e.agentsList?.agents?.map(b=>b.id.trim())??[],...e.cronJobs.map(b=>typeof b.agentId=="string"?b.agentId.trim():"").filter(Boolean)].filter(Boolean))),I=bo(new Set([...e.cronModelSuggestions,...ub(u),...e.cronJobs.map(b=>b.payload.kind!=="agentTurn"||typeof b.payload.model!="string"?"":b.payload.model.trim()).filter(Boolean)].filter(Boolean))),A=tf(e),w=e.cronForm.deliveryChannel&&e.cronForm.deliveryChannel.trim()?e.cronForm.deliveryChannel.trim():"last",L=e.cronJobs.map(b=>Yi(b.delivery?.to)).filter(Boolean),_=(w==="last"?Object.values(e.channelsSnapshot?.channelAccounts??{}).flat():e.channelsSnapshot?.channelAccounts?.[w]??[]).flatMap(b=>[Yi(b.accountId),Yi(b.name)]).filter(Boolean),M=Hl([...L,..._]),K=Hl(_),G=e.cronForm.deliveryMode==="webhook"?M.filter(b=>Qw(b)):M;return c`
|
|
8500
8500
|
<div class="shell ${a?"shell--chat":""} ${d?"shell--chat-focus":""} ${e.settings.navCollapsed?"shell--nav-collapsed":""} ${e.onboarding?"shell--onboarding":""}">
|
|
8501
8501
|
<header class="topbar">
|
|
8502
8502
|
<div class="topbar-left">
|
|
@@ -8636,4 +8636,4 @@ ${JSON.stringify(e.issues,null,2)}</pre
|
|
|
8636
8636
|
`}var Xw=Object.defineProperty,Zw=Object.getOwnPropertyDescriptor,$=(e,t,n,s)=>{for(var i=s>1?void 0:s?Zw(t,n):t,o=e.length-1,r;o>=0;o--)(r=e[o])&&(i=(s?r(t,n,i):r(i))||i);return s&&i&&Xw(t,n,i),i};const Xi=or({});function e1(){if(!window.location.search)return!1;const t=new URLSearchParams(window.location.search).get("onboarding");if(!t)return!1;const n=t.trim().toLowerCase();return n==="1"||n==="true"||n==="yes"||n==="on"}let y=class extends mn{constructor(){super(),this.i18nController=new ag(this),this.clientInstanceId=gi(),this.settings=Vp(),this.password="",this.tab="chat",this.onboarding=e1(),this.connected=!1,this.theme=this.settings.theme??"system",this.themeResolved="light",this.hello=null,this.lastError=null,this.lastErrorCode=null,this.eventLog=[],this.eventLogBuffer=[],this.toolStreamSyncTimer=null,this.sidebarCloseTimer=null,this.assistantName=Xi.name,this.assistantAvatar=Xi.avatar,this.assistantAgentId=Xi.agentId??null,this.sessionKey=this.settings.sessionKey,this.chatLoading=!1,this.chatSending=!1,this.chatMessage="",this.chatMessages=[],this.chatToolMessages=[],this.chatStream=null,this.chatStreamStartedAt=null,this.chatRunId=null,this.compactionStatus=null,this.fallbackStatus=null,this.chatAvatarUrl=null,this.chatThinkingLevel=null,this.chatQueue=[],this.chatAttachments=[],this.chatManualRefreshInFlight=!1,this.sidebarOpen=!1,this.sidebarContent=null,this.sidebarError=null,this.splitRatio=this.settings.splitRatio,this.nodesLoading=!1,this.nodes=[],this.devicesLoading=!1,this.devicesError=null,this.devicesList=null,this.execApprovalsLoading=!1,this.execApprovalsSaving=!1,this.execApprovalsDirty=!1,this.execApprovalsSnapshot=null,this.execApprovalsForm=null,this.execApprovalsSelectedAgent=null,this.execApprovalsTarget="gateway",this.execApprovalsTargetNodeId=null,this.execApprovalQueue=[],this.execApprovalBusy=!1,this.execApprovalError=null,this.pendingGatewayUrl=null,this.configLoading=!1,this.configRaw=`{
|
|
8637
8637
|
}
|
|
8638
8638
|
`,this.configRawOriginal="",this.configValid=null,this.configIssues=[],this.configSaving=!1,this.configApplying=!1,this.updateRunning=!1,this.applySessionKey=this.settings.lastActiveSessionKey,this.configSnapshot=null,this.configSchema=null,this.configSchemaVersion=null,this.configSchemaLoading=!1,this.configUiHints={},this.configForm=null,this.configFormOriginal=null,this.configFormDirty=!1,this.configFormMode="form",this.configSearchQuery="",this.configActiveSection=null,this.configActiveSubsection=null,this.modelsLoading=!1,this.modelsSaving=!1,this.modelsDefaultSaving=!1,this.modelsVerifyBusy=!1,this.modelsError=null,this.modelsProviders=[],this.modelsSwitchableModels=[],this.modelsSelectedProviderId=null,this.modelsSelectedDefault="",this.modelsDraft=null,this.modelsDefaultState=null,this.modelsVerifyState=null,this.channelsLoading=!1,this.channelsSnapshot=null,this.channelsError=null,this.channelsLastSuccess=null,this.whatsappLoginMessage=null,this.whatsappLoginQrDataUrl=null,this.whatsappLoginConnected=null,this.whatsappBusy=!1,this.nostrProfileFormState=null,this.nostrProfileAccountId=null,this.presenceLoading=!1,this.presenceEntries=[],this.presenceError=null,this.presenceStatus=null,this.agentsLoading=!1,this.agentsList=null,this.agentsError=null,this.agentsSelectedId=null,this.toolsCatalogLoading=!1,this.toolsCatalogError=null,this.toolsCatalogResult=null,this.agentsPanel="overview",this.agentFilesLoading=!1,this.agentFilesError=null,this.agentFilesList=null,this.agentFileContents={},this.agentFileDrafts={},this.agentFileActive=null,this.agentFileSaving=!1,this.agentIdentityLoading=!1,this.agentIdentityError=null,this.agentIdentityById={},this.agentSkillsLoading=!1,this.agentSkillsError=null,this.agentSkillsReport=null,this.agentSkillsAgentId=null,this.sessionsLoading=!1,this.sessionsResult=null,this.sessionsError=null,this.sessionsFilterActive="",this.sessionsFilterLimit="120",this.sessionsIncludeGlobal=!0,this.sessionsIncludeUnknown=!1,this.sessionsHideCron=!0,this.usageLoading=!1,this.usageResult=null,this.usageCostSummary=null,this.usageError=null,this.usageStartDate=(()=>{const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`})(),this.usageEndDate=(()=>{const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`})(),this.usageSelectedSessions=[],this.usageSelectedDays=[],this.usageSelectedHours=[],this.usageChartMode="tokens",this.usageDailyChartMode="by-type",this.usageTimeSeriesMode="per-turn",this.usageTimeSeriesBreakdownMode="by-type",this.usageTimeSeries=null,this.usageTimeSeriesLoading=!1,this.usageTimeSeriesCursorStart=null,this.usageTimeSeriesCursorEnd=null,this.usageSessionLogs=null,this.usageSessionLogsLoading=!1,this.usageSessionLogsExpanded=!1,this.usageQuery="",this.usageQueryDraft="",this.usageSessionSort="recent",this.usageSessionSortDir="desc",this.usageRecentSessions=[],this.usageTimeZone="local",this.usageContextExpanded=!1,this.usageHeaderPinned=!1,this.usageSessionsTab="all",this.usageVisibleColumns=["channel","agent","provider","model","messages","tools","errors","duration"],this.usageLogFilterRoles=[],this.usageLogFilterTools=[],this.usageLogFilterHasTools=!1,this.usageLogFilterQuery="",this.usageQueryDebounceTimer=null,this.cronLoading=!1,this.cronJobsLoadingMore=!1,this.cronJobs=[],this.cronJobsTotal=0,this.cronJobsHasMore=!1,this.cronJobsNextOffset=null,this.cronJobsLimit=50,this.cronJobsQuery="",this.cronJobsEnabledFilter="all",this.cronJobsScheduleKindFilter="all",this.cronJobsLastStatusFilter="all",this.cronJobsSortBy="nextRunAtMs",this.cronJobsSortDir="asc",this.cronStatus=null,this.cronError=null,this.cronForm={...Os},this.cronFieldErrors={},this.cronEditingJobId=null,this.cronRunsJobId=null,this.cronRunsLoadingMore=!1,this.cronRuns=[],this.cronRunsTotal=0,this.cronRunsHasMore=!1,this.cronRunsNextOffset=null,this.cronRunsLimit=50,this.cronRunsScope="all",this.cronRunsStatuses=[],this.cronRunsDeliveryStatuses=[],this.cronRunsStatusFilter="all",this.cronRunsQuery="",this.cronRunsSortDir="desc",this.cronModelSuggestions=[],this.cronBusy=!1,this.updateAvailable=null,this.skillsLoading=!1,this.skillsReport=null,this.skillsError=null,this.skillsFilter="",this.skillEdits={},this.skillsBusyKey=null,this.skillMessages={},this.marketLoading=!1,this.marketCatalog=[],this.marketError=null,this.marketFilter="",this.marketBusyKey=null,this.marketMessages={},this.debugLoading=!1,this.debugStatus=null,this.debugHealth=null,this.debugModels=[],this.debugHeartbeat=null,this.debugCallMethod="",this.debugCallParams="{}",this.debugCallResult=null,this.debugCallError=null,this.logsLoading=!1,this.logsError=null,this.logsFile=null,this.logsEntries=[],this.logsFilterText="",this.logsLevelFilters={...Kg},this.logsAutoFollow=!0,this.logsTruncated=!1,this.logsCursor=null,this.logsLastFetchAt=null,this.logsLimit=500,this.logsMaxBytes=25e4,this.logsAtBottom=!0,this.client=null,this.chatScrollFrame=null,this.chatScrollTimeout=null,this.chatHasAutoScrolled=!1,this.chatUserNearBottom=!0,this.chatNewMessagesBelow=!1,this.nodesPollInterval=null,this.logsPollInterval=null,this.debugPollInterval=null,this.logsScrollFrame=null,this.toolStreamById=new Map,this.toolStreamOrder=[],this.refreshSessionsAfterChat=new Set,this.basePath="",this.popStateHandler=()=>ah(this),this.themeMedia=null,this.themeMediaHandler=null,this.topbarObserver=null,Xl(this.settings.locale)&&Jn.setLocale(this.settings.locale)}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),hm(this)}firstUpdated(){mm(this)}disconnectedCallback(){vm(this),super.disconnectedCallback()}updated(e){bm(this,e)}connect(){md(this)}handleChatScroll(e){Rg(this,e)}handleLogsScroll(e){Lg(this,e)}exportLogs(e,t){Dg(e,t)}resetToolStream(){ui(this)}resetChatScroll(){na(this)}scrollToBottom(e){na(this),ss(this,!0,!!e?.smooth)}async loadAssistantIdentity(){await fd(this)}applySettings(e){At(this,e)}setTab(e){eh(this,e)}setTheme(e,t){th(this,e,t)}async loadOverview(){await Zc(this)}async loadCron(){await Ks(this)}async handleAbortChat(){await cd(this)}removeQueuedMessage(e){Kh(this,e)}async handleSendChat(e,t){await Wh(this,e,t)}async handleWhatsAppStart(e){await bg(this,e)}async handleWhatsAppWait(){await yg(this)}async handleWhatsAppLogout(){await $g(this)}async handleChannelConfigSave(){await xg(this)}async handleChannelConfigReload(){await wg(this)}handleNostrProfileEdit(e,t){Ag(this,e,t)}handleNostrProfileCancel(){Cg(this)}handleNostrProfileFieldChange(e,t){Tg(this,e,t)}async handleNostrProfileSave(){await _g(this)}async handleNostrProfileImport(){await Ig(this)}handleNostrProfileToggleAdvanced(){Eg(this)}async handleExecApprovalDecision(e){const t=this.execApprovalQueue[0];if(!(!t||!this.client||this.execApprovalBusy)){this.execApprovalBusy=!0,this.execApprovalError=null;try{await this.client.request("exec.approval.resolve",{id:t.id,decision:e}),this.execApprovalQueue=this.execApprovalQueue.filter(n=>n.id!==t.id)}catch(n){this.execApprovalError=`Exec approval failed: ${String(n)}`}finally{this.execApprovalBusy=!1}}}handleGatewayUrlConfirm(){const e=this.pendingGatewayUrl;e&&(this.pendingGatewayUrl=null,At(this,{...this.settings,gatewayUrl:e}),this.connect())}handleGatewayUrlCancel(){this.pendingGatewayUrl=null}handleOpenSidebar(e){this.sidebarCloseTimer!=null&&(window.clearTimeout(this.sidebarCloseTimer),this.sidebarCloseTimer=null),this.sidebarContent=e,this.sidebarError=null,this.sidebarOpen=!0}handleCloseSidebar(){this.sidebarOpen=!1,this.sidebarCloseTimer!=null&&window.clearTimeout(this.sidebarCloseTimer),this.sidebarCloseTimer=window.setTimeout(()=>{this.sidebarOpen||(this.sidebarContent=null,this.sidebarError=null,this.sidebarCloseTimer=null)},200)}handleSplitRatioChange(e){const t=Math.max(.4,Math.min(.7,e));this.splitRatio=t,this.applySettings({...this.settings,splitRatio:t})}render(){return Yw(this)}};$([x()],y.prototype,"settings",2);$([x()],y.prototype,"password",2);$([x()],y.prototype,"tab",2);$([x()],y.prototype,"onboarding",2);$([x()],y.prototype,"connected",2);$([x()],y.prototype,"theme",2);$([x()],y.prototype,"themeResolved",2);$([x()],y.prototype,"hello",2);$([x()],y.prototype,"lastError",2);$([x()],y.prototype,"lastErrorCode",2);$([x()],y.prototype,"eventLog",2);$([x()],y.prototype,"assistantName",2);$([x()],y.prototype,"assistantAvatar",2);$([x()],y.prototype,"assistantAgentId",2);$([x()],y.prototype,"sessionKey",2);$([x()],y.prototype,"chatLoading",2);$([x()],y.prototype,"chatSending",2);$([x()],y.prototype,"chatMessage",2);$([x()],y.prototype,"chatMessages",2);$([x()],y.prototype,"chatToolMessages",2);$([x()],y.prototype,"chatStream",2);$([x()],y.prototype,"chatStreamStartedAt",2);$([x()],y.prototype,"chatRunId",2);$([x()],y.prototype,"compactionStatus",2);$([x()],y.prototype,"fallbackStatus",2);$([x()],y.prototype,"chatAvatarUrl",2);$([x()],y.prototype,"chatThinkingLevel",2);$([x()],y.prototype,"chatQueue",2);$([x()],y.prototype,"chatAttachments",2);$([x()],y.prototype,"chatManualRefreshInFlight",2);$([x()],y.prototype,"sidebarOpen",2);$([x()],y.prototype,"sidebarContent",2);$([x()],y.prototype,"sidebarError",2);$([x()],y.prototype,"splitRatio",2);$([x()],y.prototype,"nodesLoading",2);$([x()],y.prototype,"nodes",2);$([x()],y.prototype,"devicesLoading",2);$([x()],y.prototype,"devicesError",2);$([x()],y.prototype,"devicesList",2);$([x()],y.prototype,"execApprovalsLoading",2);$([x()],y.prototype,"execApprovalsSaving",2);$([x()],y.prototype,"execApprovalsDirty",2);$([x()],y.prototype,"execApprovalsSnapshot",2);$([x()],y.prototype,"execApprovalsForm",2);$([x()],y.prototype,"execApprovalsSelectedAgent",2);$([x()],y.prototype,"execApprovalsTarget",2);$([x()],y.prototype,"execApprovalsTargetNodeId",2);$([x()],y.prototype,"execApprovalQueue",2);$([x()],y.prototype,"execApprovalBusy",2);$([x()],y.prototype,"execApprovalError",2);$([x()],y.prototype,"pendingGatewayUrl",2);$([x()],y.prototype,"configLoading",2);$([x()],y.prototype,"configRaw",2);$([x()],y.prototype,"configRawOriginal",2);$([x()],y.prototype,"configValid",2);$([x()],y.prototype,"configIssues",2);$([x()],y.prototype,"configSaving",2);$([x()],y.prototype,"configApplying",2);$([x()],y.prototype,"updateRunning",2);$([x()],y.prototype,"applySessionKey",2);$([x()],y.prototype,"configSnapshot",2);$([x()],y.prototype,"configSchema",2);$([x()],y.prototype,"configSchemaVersion",2);$([x()],y.prototype,"configSchemaLoading",2);$([x()],y.prototype,"configUiHints",2);$([x()],y.prototype,"configForm",2);$([x()],y.prototype,"configFormOriginal",2);$([x()],y.prototype,"configFormDirty",2);$([x()],y.prototype,"configFormMode",2);$([x()],y.prototype,"configSearchQuery",2);$([x()],y.prototype,"configActiveSection",2);$([x()],y.prototype,"configActiveSubsection",2);$([x()],y.prototype,"modelsLoading",2);$([x()],y.prototype,"modelsSaving",2);$([x()],y.prototype,"modelsDefaultSaving",2);$([x()],y.prototype,"modelsVerifyBusy",2);$([x()],y.prototype,"modelsError",2);$([x()],y.prototype,"modelsProviders",2);$([x()],y.prototype,"modelsSwitchableModels",2);$([x()],y.prototype,"modelsSelectedProviderId",2);$([x()],y.prototype,"modelsSelectedDefault",2);$([x()],y.prototype,"modelsDraft",2);$([x()],y.prototype,"modelsDefaultState",2);$([x()],y.prototype,"modelsVerifyState",2);$([x()],y.prototype,"channelsLoading",2);$([x()],y.prototype,"channelsSnapshot",2);$([x()],y.prototype,"channelsError",2);$([x()],y.prototype,"channelsLastSuccess",2);$([x()],y.prototype,"whatsappLoginMessage",2);$([x()],y.prototype,"whatsappLoginQrDataUrl",2);$([x()],y.prototype,"whatsappLoginConnected",2);$([x()],y.prototype,"whatsappBusy",2);$([x()],y.prototype,"nostrProfileFormState",2);$([x()],y.prototype,"nostrProfileAccountId",2);$([x()],y.prototype,"presenceLoading",2);$([x()],y.prototype,"presenceEntries",2);$([x()],y.prototype,"presenceError",2);$([x()],y.prototype,"presenceStatus",2);$([x()],y.prototype,"agentsLoading",2);$([x()],y.prototype,"agentsList",2);$([x()],y.prototype,"agentsError",2);$([x()],y.prototype,"agentsSelectedId",2);$([x()],y.prototype,"toolsCatalogLoading",2);$([x()],y.prototype,"toolsCatalogError",2);$([x()],y.prototype,"toolsCatalogResult",2);$([x()],y.prototype,"agentsPanel",2);$([x()],y.prototype,"agentFilesLoading",2);$([x()],y.prototype,"agentFilesError",2);$([x()],y.prototype,"agentFilesList",2);$([x()],y.prototype,"agentFileContents",2);$([x()],y.prototype,"agentFileDrafts",2);$([x()],y.prototype,"agentFileActive",2);$([x()],y.prototype,"agentFileSaving",2);$([x()],y.prototype,"agentIdentityLoading",2);$([x()],y.prototype,"agentIdentityError",2);$([x()],y.prototype,"agentIdentityById",2);$([x()],y.prototype,"agentSkillsLoading",2);$([x()],y.prototype,"agentSkillsError",2);$([x()],y.prototype,"agentSkillsReport",2);$([x()],y.prototype,"agentSkillsAgentId",2);$([x()],y.prototype,"sessionsLoading",2);$([x()],y.prototype,"sessionsResult",2);$([x()],y.prototype,"sessionsError",2);$([x()],y.prototype,"sessionsFilterActive",2);$([x()],y.prototype,"sessionsFilterLimit",2);$([x()],y.prototype,"sessionsIncludeGlobal",2);$([x()],y.prototype,"sessionsIncludeUnknown",2);$([x()],y.prototype,"sessionsHideCron",2);$([x()],y.prototype,"usageLoading",2);$([x()],y.prototype,"usageResult",2);$([x()],y.prototype,"usageCostSummary",2);$([x()],y.prototype,"usageError",2);$([x()],y.prototype,"usageStartDate",2);$([x()],y.prototype,"usageEndDate",2);$([x()],y.prototype,"usageSelectedSessions",2);$([x()],y.prototype,"usageSelectedDays",2);$([x()],y.prototype,"usageSelectedHours",2);$([x()],y.prototype,"usageChartMode",2);$([x()],y.prototype,"usageDailyChartMode",2);$([x()],y.prototype,"usageTimeSeriesMode",2);$([x()],y.prototype,"usageTimeSeriesBreakdownMode",2);$([x()],y.prototype,"usageTimeSeries",2);$([x()],y.prototype,"usageTimeSeriesLoading",2);$([x()],y.prototype,"usageTimeSeriesCursorStart",2);$([x()],y.prototype,"usageTimeSeriesCursorEnd",2);$([x()],y.prototype,"usageSessionLogs",2);$([x()],y.prototype,"usageSessionLogsLoading",2);$([x()],y.prototype,"usageSessionLogsExpanded",2);$([x()],y.prototype,"usageQuery",2);$([x()],y.prototype,"usageQueryDraft",2);$([x()],y.prototype,"usageSessionSort",2);$([x()],y.prototype,"usageSessionSortDir",2);$([x()],y.prototype,"usageRecentSessions",2);$([x()],y.prototype,"usageTimeZone",2);$([x()],y.prototype,"usageContextExpanded",2);$([x()],y.prototype,"usageHeaderPinned",2);$([x()],y.prototype,"usageSessionsTab",2);$([x()],y.prototype,"usageVisibleColumns",2);$([x()],y.prototype,"usageLogFilterRoles",2);$([x()],y.prototype,"usageLogFilterTools",2);$([x()],y.prototype,"usageLogFilterHasTools",2);$([x()],y.prototype,"usageLogFilterQuery",2);$([x()],y.prototype,"cronLoading",2);$([x()],y.prototype,"cronJobsLoadingMore",2);$([x()],y.prototype,"cronJobs",2);$([x()],y.prototype,"cronJobsTotal",2);$([x()],y.prototype,"cronJobsHasMore",2);$([x()],y.prototype,"cronJobsNextOffset",2);$([x()],y.prototype,"cronJobsLimit",2);$([x()],y.prototype,"cronJobsQuery",2);$([x()],y.prototype,"cronJobsEnabledFilter",2);$([x()],y.prototype,"cronJobsScheduleKindFilter",2);$([x()],y.prototype,"cronJobsLastStatusFilter",2);$([x()],y.prototype,"cronJobsSortBy",2);$([x()],y.prototype,"cronJobsSortDir",2);$([x()],y.prototype,"cronStatus",2);$([x()],y.prototype,"cronError",2);$([x()],y.prototype,"cronForm",2);$([x()],y.prototype,"cronFieldErrors",2);$([x()],y.prototype,"cronEditingJobId",2);$([x()],y.prototype,"cronRunsJobId",2);$([x()],y.prototype,"cronRunsLoadingMore",2);$([x()],y.prototype,"cronRuns",2);$([x()],y.prototype,"cronRunsTotal",2);$([x()],y.prototype,"cronRunsHasMore",2);$([x()],y.prototype,"cronRunsNextOffset",2);$([x()],y.prototype,"cronRunsLimit",2);$([x()],y.prototype,"cronRunsScope",2);$([x()],y.prototype,"cronRunsStatuses",2);$([x()],y.prototype,"cronRunsDeliveryStatuses",2);$([x()],y.prototype,"cronRunsStatusFilter",2);$([x()],y.prototype,"cronRunsQuery",2);$([x()],y.prototype,"cronRunsSortDir",2);$([x()],y.prototype,"cronModelSuggestions",2);$([x()],y.prototype,"cronBusy",2);$([x()],y.prototype,"updateAvailable",2);$([x()],y.prototype,"skillsLoading",2);$([x()],y.prototype,"skillsReport",2);$([x()],y.prototype,"skillsError",2);$([x()],y.prototype,"skillsFilter",2);$([x()],y.prototype,"skillEdits",2);$([x()],y.prototype,"skillsBusyKey",2);$([x()],y.prototype,"skillMessages",2);$([x()],y.prototype,"marketLoading",2);$([x()],y.prototype,"marketCatalog",2);$([x()],y.prototype,"marketError",2);$([x()],y.prototype,"marketFilter",2);$([x()],y.prototype,"marketBusyKey",2);$([x()],y.prototype,"marketMessages",2);$([x()],y.prototype,"debugLoading",2);$([x()],y.prototype,"debugStatus",2);$([x()],y.prototype,"debugHealth",2);$([x()],y.prototype,"debugModels",2);$([x()],y.prototype,"debugHeartbeat",2);$([x()],y.prototype,"debugCallMethod",2);$([x()],y.prototype,"debugCallParams",2);$([x()],y.prototype,"debugCallResult",2);$([x()],y.prototype,"debugCallError",2);$([x()],y.prototype,"logsLoading",2);$([x()],y.prototype,"logsError",2);$([x()],y.prototype,"logsFile",2);$([x()],y.prototype,"logsEntries",2);$([x()],y.prototype,"logsFilterText",2);$([x()],y.prototype,"logsLevelFilters",2);$([x()],y.prototype,"logsAutoFollow",2);$([x()],y.prototype,"logsTruncated",2);$([x()],y.prototype,"logsCursor",2);$([x()],y.prototype,"logsLastFetchAt",2);$([x()],y.prototype,"logsLimit",2);$([x()],y.prototype,"logsMaxBytes",2);$([x()],y.prototype,"logsAtBottom",2);$([x()],y.prototype,"chatNewMessagesBelow",2);y=$([Jl("openclaw-app")],y);
|
|
8639
|
-
//# sourceMappingURL=index-
|
|
8639
|
+
//# sourceMappingURL=index-puDi2eTY.js.map
|