@multiplytech/openclaw 2026.2.15-pairing-code.3 → 2026.2.15-pairing-code.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-DyinIlq4.js → accounts-BvmssTEF.js} +1 -1
- package/dist/{accounts-Bu2DSNpQ.js → accounts-CyxQBpl8.js} +1 -1
- package/dist/{active-listener-BIBYF9eG.js → active-listener-BruG-udz.js} +1 -1
- package/dist/{agent-DTNvKM2P.js → agent-BxxBd9wX.js} +2 -2
- package/dist/{agent-DoKOzDAt.js → agent-D0LfsEPF.js} +2 -2
- package/dist/{agent-scope-BIw4Bz2L.js → agent-scope-DUn-XVYs.js} +3 -3
- package/dist/{agents-DB8xHohl.js → agents-jAnRMd-A.js} +2 -2
- package/dist/{audio-preflight-BHSwqB70.js → audio-preflight-CbR1q2CT.js} +17 -17
- package/dist/{audio-preflight-CeC5WuRi.js → audio-preflight-kYQdd_bY.js} +4 -4
- package/dist/{auth-choice-CTK4oGkS.js → auth-choice-B6AdPtCu.js} +1 -1
- package/dist/{auth-choice-C3--CpEI.js → auth-choice-GrNENivg.js} +1 -1
- package/dist/{banner-DlnL7Slb.js → banner-D3tgjbUi.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +38 -38
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +32 -32
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C4rZNocg.js → channel-activity--HqvQlN3.js} +1 -1
- package/dist/{channel-options-DjpVPRIl.js → channel-options-C0ayB7mx.js} +1 -1
- package/dist/{channel-options-DTszr7UZ.js → channel-options-CgdgqIte.js} +1 -1
- package/dist/{channel-web-D7bde6n5.js → channel-web-BTTW7H_d.js} +2 -2
- package/dist/{channels-cli-u2oRC89U.js → channels-cli-BcDsE2LA.js} +4 -4
- package/dist/{channels-cli-HhdoLxhz.js → channels-cli-p5hPpQzH.js} +4 -4
- package/dist/{chrome-BR14_3nU.js → chrome-B2PpxswT.js} +7 -7
- package/dist/{chrome-DlM4kwMc.js → chrome-BtogRifc.js} +18 -18
- package/dist/{cli-BmEEG6LF.js → cli-Cwzdze-z.js} +1 -1
- package/dist/{cli-DALx-L2z.js → cli-Oxxb4axp.js} +1 -1
- package/dist/{command-registry-Zu61QmVf.js → command-registry-C8q1jb3h.js} +9 -9
- package/dist/{common-BB2PeD4P.js → common-BJE3S8zA.js} +2 -2
- package/dist/{completion-cli-sZBZnfMK.js → completion-cli-CIcsx6ic.js} +1 -1
- package/dist/{completion-cli-C-q-FkeT.js → completion-cli-DQd6XSG4.js} +2 -2
- package/dist/{config-BA8Xs1ek.js → config-CYlbDcBt.js} +34 -34
- package/dist/{config-cli-CGOyIowg.js → config-cli-BmW3yfH6.js} +1 -1
- package/dist/{config-cli-BWKb4EMZ.js → config-cli-CZLDgS2E.js} +1 -1
- package/dist/{configure-DOqQjooh.js → configure-B0_p6Z1n.js} +3 -3
- package/dist/{configure-Vvq-cip8.js → configure-CRaYQ6hS.js} +3 -3
- package/dist/{deliver-CV4a0MBa.js → deliver-BwXnLuWH.js} +16 -16
- package/dist/{deliver-DOrBYvPC.js → deliver-C7HjLIB7.js} +1 -1
- package/dist/{deps-CtD8VF2g.js → deps-i6fBS1Dw.js} +1 -1
- package/dist/{doctor-DtN-z3_C.js → doctor-AUivq-af.js} +4 -4
- package/dist/{doctor-C4_8AvIH.js → doctor-Cs7rfmA-.js} +4 -4
- package/dist/{doctor-completion-I1dEiTU-.js → doctor-completion-C2PR6GJF.js} +1 -1
- package/dist/{doctor-completion-CHjJchGS.js → doctor-completion-CtBAIy0Z.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-C9rZpEqA.js → exec-C_bNT00b.js} +17 -17
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-Dyb5pqye.js → fetch-mr22CaT4.js} +2 -2
- package/dist/{frontmatter-Bk_vZq47.js → frontmatter-BetN20QN.js} +2 -2
- package/dist/{gateway-cli-CjGNIUv4.js → gateway-cli-BgGnL3cE.js} +9 -9
- package/dist/{gateway-cli-DLgphSfL.js → gateway-cli-M8r3XcpJ.js} +9 -9
- package/dist/{github-copilot-token-BXEGgIt5.js → github-copilot-token-U5JrmjNt.js} +7 -7
- package/dist/{health-B7GSkRWi.js → health-BqoIIu1u.js} +2 -2
- package/dist/{health-CZTNBGMI.js → health-shfUNbPM.js} +2 -2
- package/dist/{heartbeat-visibility-B9nOsKDd.js → heartbeat-visibility-BEMg5PJB.js} +1 -1
- package/dist/{heartbeat-visibility-Dgp5aP37.js → heartbeat-visibility-B_kubgRp.js} +1 -1
- package/dist/{hooks-cli-CB0R6yP9.js → hooks-cli-99NPDBK1.js} +2 -2
- package/dist/{hooks-cli-C8IQCUf9.js → hooks-cli-ec5DFn5g.js} +2 -2
- package/dist/{image-CIO7-OG5.js → image-CRFk69Io.js} +1 -1
- package/dist/{image-DVTZYmDL.js → image-DN3RgnPr.js} +4 -4
- package/dist/{image-ops-7EDUjzca.js → image-ops-CKPJXWk4.js} +9 -9
- package/dist/index.js +9 -9
- package/dist/{ir-eyTjTBlP.js → ir-C-hSqOPD.js} +6 -6
- package/dist/llm-slug-generator.js +32 -32
- package/dist/{login-NEYiBobK.js → login-BFkQgAbM.js} +1 -1
- package/dist/{login-CfzZlhYy.js → login-CmhHGO4I.js} +1 -1
- package/dist/{login-CrD6iwIT.js → login-CwQj2jUX.js} +1 -1
- package/dist/{login-CFjSEIg1.js → login-Dydm4XDa.js} +3 -3
- package/dist/{login-qr-B92LRmnh.js → login-qr-B_NTKK4T.js} +1 -1
- package/dist/{login-qr-LM0fkvty.js → login-qr-BrIxb_5N.js} +8 -8
- package/dist/{login-qr-CmkMkiw0.js → login-qr-CEOlIdRe.js} +1 -1
- package/dist/{login-qr-D3hsc4br.js → login-qr-CF5T7Eew.js} +1 -1
- package/dist/{manager-ihPMEKim.js → manager-Ec86Dapd.js} +10 -10
- package/dist/{model-auth-BBAJ-iuC.js → model-auth-COYibYBO.js} +8 -8
- package/dist/{models-VeXFWmzm.js → models-D688pDKn.js} +2 -2
- package/dist/{models-cli-fOdGdULJ.js → models-cli-CcHjNOe3.js} +3 -3
- package/dist/{models-cli-QFp-Qadk.js → models-cli-GWtfGvki.js} +2 -2
- package/dist/{onboard-DkkjXP5u.js → onboard-BmB1TAqN.js} +2 -2
- package/dist/{onboard-ApR__J6N.js → onboard-C5_njUCe.js} +2 -2
- package/dist/{onboard-channels-Oo2BI8vk.js → onboard-channels-BATBIQiN.js} +1 -1
- package/dist/{onboard-channels-CTkeYXWn.js → onboard-channels-BeXdUwL0.js} +1 -1
- package/dist/{onboarding-BvGs6yhQ.js → onboarding-Cjbb0fRA.js} +3 -3
- package/dist/{onboarding-DE9maYL1.js → onboarding-txZtcVMA.js} +3 -3
- package/dist/{onboarding.finalize-DFyOM5B6.js → onboarding.finalize-BI8zTyGF.js} +6 -6
- package/dist/{onboarding.finalize-CS-chLDk.js → onboarding.finalize-CSj3Rf0J.js} +5 -5
- package/dist/{outbound-N8cZjkHg.js → outbound-C8YnTFjo.js} +5 -5
- package/dist/{outbound-attachment-BAu7a9Bk.js → outbound-attachment-C8Qf4dh8.js} +2 -2
- package/dist/{outbound-send-deps-SJCtmIUG.js → outbound-send-deps-BCi2C-Sb.js} +1 -1
- package/dist/{paths-CMYSfM3T.js → paths-Bbik2tb_.js} +2 -2
- package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
- package/dist/{pi-auth-json-BX0whbu8.js → pi-auth-json-MhfZXNOP.js} +6 -6
- package/dist/{pi-embedded-D_ek_HF_.js → pi-embedded-8ou24X6D.js} +18 -18
- package/dist/{pi-embedded-helpers-DHT11gwA.js → pi-embedded-helpers-DmwtjJVo.js} +48 -48
- package/dist/{pi-embedded-helpers-D3YxFr03.js → pi-embedded-helpers-Dow6Qreh.js} +4 -4
- package/dist/{pi-embedded-DyKQ3bSU.js → pi-embedded-wVlKSjNK.js} +120 -120
- package/dist/{plugin-registry-Dcizpoio.js → plugin-registry-D_bG1PT_.js} +1 -1
- package/dist/{plugin-registry-DBpayaga.js → plugin-registry-N4ZFQdQ9.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CFLZdKRQ.js → active-listener-CkyAenz6.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-ip6rBrUD.js → agent-scope-DWZdK6Cr.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-C0NlyreL.js → audio-preflight-BzSvof9i.js} +12 -12
- package/dist/plugin-sdk/{channel-web-Za6SnC7J.js → channel-web-BXr_pHKk.js} +11 -11
- package/dist/plugin-sdk/{chrome-OZ5Ge8PR.js → chrome-BLYh1Ek9.js} +1 -1
- package/dist/plugin-sdk/{common-pKa0kElY.js → common-STTVkT-Z.js} +2 -2
- package/dist/plugin-sdk/{config-DelXkt58.js → config-iUJxJaTT.js} +8 -8
- package/dist/plugin-sdk/{deliver-ebYNQy_5.js → deliver-Bkdn7hYJ.js} +6 -6
- package/dist/plugin-sdk/{exec-C5lqk9X4.js → exec-9HIVkGqi.js} +2 -2
- package/dist/plugin-sdk/{fetch-Cw_7QfME.js → fetch-DjHoyhHv.js} +2 -2
- package/dist/plugin-sdk/{image-2KL1DOmN.js → image-DolmBtru.js} +4 -4
- package/dist/plugin-sdk/{image-ops-zm4O3fkk.js → image-ops-DvO68zWD.js} +4 -4
- package/dist/plugin-sdk/index.js +23 -23
- package/dist/plugin-sdk/{ir-BEwiHV7R.js → ir-D6TOa8wy.js} +4 -4
- package/dist/plugin-sdk/{login-DG-oB1Gg.js → login-CGRU_9Nh.js} +3 -3
- package/dist/plugin-sdk/{login-qr-DjYOgNGQ.js → login-qr-D6D-dPg-.js} +5 -5
- package/dist/plugin-sdk/{manager-Cqyl7HDP.js → manager-DSG4npLd.js} +5 -5
- package/dist/plugin-sdk/{model-selection-DHMRsTNB.js → model-selection-BfTuBvS4.js} +2 -2
- package/dist/plugin-sdk/{outbound-DT2nH6dY.js → outbound-BuWEi6UJ.js} +4 -4
- package/dist/plugin-sdk/{paths-wRVSwmkX.js → paths-6C0IeDIg.js} +1 -1
- package/dist/plugin-sdk/{pi-auth-json-XTF0mVQ6.js → pi-auth-json-CdSpUvvH.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-helpers-C3_rwWkJ.js → pi-embedded-helpers-rNIrRqeN.js} +13 -13
- package/dist/plugin-sdk/{pw-ai-BYr2wRwE.js → pw-ai-DHGDCfpy.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-CY7j7J3V.js → qmd-manager-D0FXZkrS.js} +4 -4
- package/dist/plugin-sdk/{reply-CnWG5ty5.js → reply-BvOTUN2t.js} +35 -35
- package/dist/plugin-sdk/{runner-DxPwS4ed.js → runner-CaaUwzMJ.js} +7 -7
- package/dist/plugin-sdk/{session-BO6X9uoj.js → session-Cjs4HuZk.js} +9 -4
- package/dist/plugin-sdk/{sqlite-CKrK6KKr.js → sqlite-QNHsO4bW.js} +2 -2
- package/dist/plugin-sdk/{tool-images-C4GaQjrF.js → tool-images-BuctNDly.js} +2 -2
- package/dist/plugin-sdk/web-CUrXnjRV.js +30 -0
- package/dist/plugin-sdk/{whatsapp-actions-C5T64qvX.js → whatsapp-actions-3adtwpVJ.js} +11 -11
- package/dist/{plugins-cli-Dc9-hwnS.js → plugins-cli-CFOLjXM-.js} +2 -2
- package/dist/{plugins-cli-ByM99YMv.js → plugins-cli-D2KHK9jR.js} +2 -2
- package/dist/{program-CxbZh7UH.js → program-B9I5xkOF.js} +7 -7
- package/dist/{program-context-BAwPjqcT.js → program-context-C3C2WLNP.js} +17 -17
- package/dist/{provider-auth-helpers-BHnRj7nc.js → provider-auth-helpers-DIPDa8Lw.js} +1 -1
- package/dist/{provider-auth-helpers-iolF14w8.js → provider-auth-helpers-DYPDXQQP.js} +1 -1
- package/dist/{pw-ai-xh9cPTDX.js → pw-ai-BCyIw4W4.js} +3 -3
- package/dist/{pw-ai-QsOEPS_1.js → pw-ai-Bbd79y0r.js} +1 -1
- package/dist/{qmd-manager-DtmZgEoS.js → qmd-manager-CgC5sB-T.js} +6 -6
- package/dist/{register.agent-BBVjFp8Y.js → register.agent-BedOGhk-.js} +7 -7
- package/dist/{register.agent-C4IrpTkN.js → register.agent-JL4_r2Jb.js} +6 -6
- package/dist/{register.configure-CUZo4Aot.js → register.configure-D_-8trFJ.js} +6 -6
- package/dist/{register.configure-aZaemwQh.js → register.configure-U45T1EJ-.js} +6 -6
- package/dist/{register.maintenance-BUk55ZfL.js → register.maintenance-BNhGCK92.js} +7 -7
- package/dist/{register.maintenance-k-FF9sjN.js → register.maintenance-TMdlbc45.js} +8 -8
- package/dist/{register.message-rDz6Pyj3.js → register.message-BdQletmJ.js} +3 -3
- package/dist/{register.message-C85LDxMG.js → register.message-DKw_hGiP.js} +3 -3
- package/dist/{register.onboard-qQ-XzgeJ.js → register.onboard-D5LHgdqV.js} +4 -4
- package/dist/{register.onboard-DoeqvAhF.js → register.onboard-DVHlSfZa.js} +4 -4
- package/dist/{register.setup-BYePf2X9.js → register.setup-CAVftQvz.js} +4 -4
- package/dist/{register.setup-UW5rhwoL.js → register.setup-Dfhxwzgk.js} +4 -4
- package/dist/{register.status-health-sessions-C7tVEUfl.js → register.status-health-sessions-YCJQ83my.js} +3 -3
- package/dist/{register.status-health-sessions-D-e34zX_.js → register.status-health-sessions-ixyM5rDz.js} +3 -3
- package/dist/{register.subclis-tuSSdE3-.js → register.subclis-D-kjKwwz.js} +9 -9
- package/dist/{reply-jLqhHIBQ.js → reply-d6yV4wB_.js} +4 -4
- package/dist/{retry-B0RhK9tX.js → retry-D1bxhFWp.js} +1 -1
- package/dist/{run-main-B3U7jH0W.js → run-main-D5duEqg3.js} +14 -14
- package/dist/{runner-nMdrG8eK.js → runner-DGYLHL8R.js} +7 -7
- package/dist/{runner-DED-FFOX.js → runner-oDUAvejt.js} +1 -1
- package/dist/{send-BRIcpOAj.js → send-CKSrJ7se.js} +5 -5
- package/dist/{send-DzhCsWw9.js → send-DULTJ0oK.js} +7 -7
- package/dist/{send-CNibEQip.js → send-Df7eglyR.js} +6 -6
- package/dist/{send-CWOrEtrR.js → send-DjP-Miy_.js} +7 -7
- package/dist/{send-BMQRcdbF.js → send-z4yxEOnF.js} +4 -4
- package/dist/{server-node-events-CKA4Mn5e.js → server-node-events-BE6fD68d.js} +3 -3
- package/dist/{server-node-events-CF_WTOvc.js → server-node-events-C51Bayv9.js} +3 -3
- package/dist/{session-BrloLgwj.js → session-2uX9t1PO.js} +13 -8
- package/dist/{session-D0vLMCo1.js → session-B5I8E41_.js} +7 -2
- package/dist/{session-EJQdFRC5.js → session-Bu5MF744.js} +7 -2
- package/dist/{session-CJ3QUnhn.js → session-ZppYapGg.js} +7 -2
- package/dist/{sqlite-Bfoh6OgV.js → sqlite-CBMbuGLX.js} +4 -4
- package/dist/{status-D0bufmRu.js → status-8g-vfjfP.js} +2 -2
- package/dist/{status-DfjRvBXf.js → status-BRNeaZhV.js} +1 -1
- package/dist/{status-DrjhxuYR.js → status-D0P0XQqw.js} +1 -1
- package/dist/{status-DVBJLUIs.js → status-NfZ6FkuQ.js} +2 -2
- package/dist/{store-B6Y3aOaY.js → store-m4I2z_5t.js} +2 -2
- package/dist/{subagent-registry-Do5aAYdm.js → subagent-registry-DJBVFvb4.js} +4 -4
- package/dist/{tables-BhgdJIJu.js → tables-7DihLyDw.js} +1 -1
- package/dist/{tool-images-DRiKq4of.js → tool-images-hzyBQ0Og.js} +2 -2
- package/dist/{update-cli-COHKHs55.js → update-cli-BOXR9slg.js} +7 -7
- package/dist/{update-cli-Dz5XBQ_v.js → update-cli-BZ2fDrwx.js} +8 -8
- package/dist/{update-runner-DIgoatPE.js → update-runner-B55O98W8.js} +1 -1
- package/dist/{update-runner-rbu-IrlQ.js → update-runner-BZFeJzUi.js} +1 -1
- package/dist/{web-B-mup9LH.js → web-By5urMji.js} +4 -4
- package/dist/{web-BTK9UUaM.js → web-C5vqAHQC.js} +36 -36
- package/dist/{web-DIO2jYwG.js → web-CtSLAgT_.js} +3 -3
- package/dist/{web-RzuY5nXI.js → web-DoaI-RpC.js} +8 -8
- package/dist/{whatsapp-actions-x16Ismcy.js → whatsapp-actions-C4JR_6XT.js} +14 -14
- package/dist/{workspace-LSLFINSz.js → workspace-CgGZnIx_.js} +5 -5
- package/package.json +2 -1
- package/dist/plugin-sdk/web-DY7ps8Jl.js +0 -30
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as formatXHighModelHint, G as normalizeThinkLevel, Y as supportsXHighThinking, q as normalizeVerboseLevel, z as formatThinkingLevels } from "./pi-embedded-helpers-DwIwt1C1.js";
|
|
2
|
-
import { Fr as clearSessionAuthProfileOverride, Ht as getRemoteSkillEligibility, Ir as applyModelOverrideToSessionEntry, J as runWithModelFallback, Jn as clearAgentRunContext, Kn as AGENT_LANE_NESTED, Lr as applyVerboseOverride, Pr as lookupContextTokens, Qn as registerAgentRunContext, U as resolveOutboundTarget, W as resolveSessionDeliveryTarget, Yn as emitAgentEvent, a as runCliAgent, f as runEmbeddedPiAgent, i as setCliSessionId, ii as resolveAgentTimeoutMs, ln as getSkillsSnapshotVersion, qn as AGENT_LANE_SUBAGENT, r as getCliSessionId, u as resolveSendPolicy } from "./reply-
|
|
2
|
+
import { Fr as clearSessionAuthProfileOverride, Ht as getRemoteSkillEligibility, Ir as applyModelOverrideToSessionEntry, J as runWithModelFallback, Jn as clearAgentRunContext, Kn as AGENT_LANE_NESTED, Lr as applyVerboseOverride, Pr as lookupContextTokens, Qn as registerAgentRunContext, U as resolveOutboundTarget, W as resolveSessionDeliveryTarget, Yn as emitAgentEvent, a as runCliAgent, f as runEmbeddedPiAgent, i as setCliSessionId, ii as resolveAgentTimeoutMs, ln as getSkillsSnapshotVersion, qn as AGENT_LANE_SUBAGENT, r as getCliSessionId, u as resolveSendPolicy } from "./reply-d6yV4wB_.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-CZ6OwgSB.js";
|
|
4
4
|
import { d as defaultRuntime, v as DEFAULT_CHAT_CHANNEL } from "./subsystem-azPHgTb4.js";
|
|
5
5
|
import { S as ensureAgentWorkspace, a as resolveAgentModelPrimary, l as resolveEffectiveModelFallbacks, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId } from "./agent-scope-aaTVOkax.js";
|
|
@@ -14,7 +14,7 @@ import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-BgQB
|
|
|
14
14
|
import { n as loadModelCatalog } from "./model-catalog-VwSY8LYS.js";
|
|
15
15
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CYip1VI8.js";
|
|
16
16
|
import { l as deriveSessionTotalTokens, u as hasNonzeroUsage } from "./session-cost-usage-CzGm3Z_4.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-i6fBS1Dw.js";
|
|
18
18
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-C31Ye6Om.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
@@ -6,7 +6,7 @@ import { S as ensureAgentWorkspace, a as resolveAgentModelPrimary, l as resolveE
|
|
|
6
6
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-BR49_1Y1.js";
|
|
7
7
|
import { i as loadConfig } from "./config-B4-Vvu6M.js";
|
|
8
8
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-CZpVDeRr.js";
|
|
9
|
-
import { Cn as applyVerboseOverride, F as getCliSessionId, I as setCliSessionId, L as runCliAgent, Lr as clearAgentRunContext, Ot as AGENT_LANE_NESTED, Qt as getRemoteSkillEligibility, Rr as emitAgentEvent, Sn as applyModelOverrideToSessionEntry, Vr as registerAgentRunContext, Wn as resolveAgentTimeoutMs, X as resolveSessionDeliveryTarget, Y as resolveOutboundTarget, Zt as resolveSendPolicy, et as runWithModelFallback, kt as AGENT_LANE_SUBAGENT, s as runEmbeddedPiAgent, xn as clearSessionAuthProfileOverride, yn as getSkillsSnapshotVersion } from "./subagent-registry-
|
|
9
|
+
import { Cn as applyVerboseOverride, F as getCliSessionId, I as setCliSessionId, L as runCliAgent, Lr as clearAgentRunContext, Ot as AGENT_LANE_NESTED, Qt as getRemoteSkillEligibility, Rr as emitAgentEvent, Sn as applyModelOverrideToSessionEntry, Vr as registerAgentRunContext, Wn as resolveAgentTimeoutMs, X as resolveSessionDeliveryTarget, Y as resolveOutboundTarget, Zt as resolveSendPolicy, et as runWithModelFallback, kt as AGENT_LANE_SUBAGENT, s as runEmbeddedPiAgent, xn as clearSessionAuthProfileOverride, yn as getSkillsSnapshotVersion } from "./subagent-registry-DJBVFvb4.js";
|
|
10
10
|
import { H as normalizeAccountId, _ as resolveSessionResetPolicy, g as resolveChannelResetConfig, h as evaluateSessionFreshness, i as loadSessionStore, l as updateSessionStore, m as resolveSessionKey, v as resolveSessionResetType, w as resolveExplicitAgentSessionKey } from "./sessions-D-LiJehh.js";
|
|
11
11
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-a9TlmfSI.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-bX81iDy5.js";
|
|
@@ -15,7 +15,7 @@ import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-Db26
|
|
|
15
15
|
import { n as loadModelCatalog } from "./model-catalog-BROGQLoP.js";
|
|
16
16
|
import { _ as lookupContextTokens } from "./session-utils-Dn8SbOVb.js";
|
|
17
17
|
import { c as hasNonzeroUsage, s as deriveSessionTotalTokens } from "./session-cost-usage-CLLT0xyz.js";
|
|
18
|
-
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
18
|
+
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-BCi2C-Sb.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/infra/outbound/agent-delivery.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
-
import { N as parseAgentSessionKey, _ as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir, w as normalizeAgentId } from "./workspace-
|
|
3
|
-
import { X as resolveUserPath } from "./exec-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-CkkDESQ2.js";
|
|
2
|
+
import { N as parseAgentSessionKey, _ as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir, w as normalizeAgentId } from "./workspace-CgGZnIx_.js";
|
|
3
|
+
import { X as resolveUserPath } from "./exec-C_bNT00b.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/agent-scope.ts
|
|
@@ -11,11 +11,11 @@ import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-hel
|
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-CVszWQps.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-CLpC8gca.js";
|
|
13
13
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DcEFMSmw.js";
|
|
14
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels } from "./onboard-channels-BeXdUwL0.js";
|
|
15
15
|
import { a as loadAgentIdentity, i as listAgentEntries, l as parseIdentityMarkdown, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, s as identityHasValues, t as applyAgentConfig } from "./agents.config-BYwbrVRy.js";
|
|
16
16
|
import { n as logConfigUpdated } from "./logging-DlBaGy5C.js";
|
|
17
17
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BAg1EsYm.js";
|
|
18
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
18
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-GrNENivg.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import fs from "node:fs/promises";
|
|
21
21
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./workspace-
|
|
3
|
-
import { ct as shouldLogVerbose, ot as logVerbose } from "./exec-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./image-ops-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import "./workspace-CgGZnIx_.js";
|
|
3
|
+
import { ct as shouldLogVerbose, ot as logVerbose } from "./exec-C_bNT00b.js";
|
|
4
|
+
import "./agent-scope-DUn-XVYs.js";
|
|
5
|
+
import "./image-ops-CKPJXWk4.js";
|
|
6
6
|
import "./boolean-Bb19hm9Y.js";
|
|
7
|
-
import "./model-auth-
|
|
8
|
-
import "./config-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./model-auth-COYibYBO.js";
|
|
8
|
+
import "./config-CYlbDcBt.js";
|
|
9
|
+
import "./github-copilot-token-U5JrmjNt.js";
|
|
10
10
|
import "./pi-model-discovery-Cexg1XRf.js";
|
|
11
|
-
import "./pi-embedded-helpers-
|
|
12
|
-
import "./chrome-
|
|
13
|
-
import "./frontmatter-
|
|
14
|
-
import "./store-
|
|
15
|
-
import "./paths-
|
|
16
|
-
import "./tool-images-
|
|
17
|
-
import "./image-
|
|
11
|
+
import "./pi-embedded-helpers-DmwtjJVo.js";
|
|
12
|
+
import "./chrome-BtogRifc.js";
|
|
13
|
+
import "./frontmatter-BetN20QN.js";
|
|
14
|
+
import "./store-m4I2z_5t.js";
|
|
15
|
+
import "./paths-Bbik2tb_.js";
|
|
16
|
+
import "./tool-images-hzyBQ0Og.js";
|
|
17
|
+
import "./image-DN3RgnPr.js";
|
|
18
18
|
import "./redact-C1ne-kC_.js";
|
|
19
|
-
import "./fetch-
|
|
20
|
-
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
19
|
+
import "./fetch-mr22CaT4.js";
|
|
20
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-DGYLHL8R.js";
|
|
21
21
|
|
|
22
22
|
//#region src/media-understanding/audio-preflight.ts
|
|
23
23
|
/**
|
|
@@ -5,15 +5,15 @@ import "./model-selection-Cb6822pn.js";
|
|
|
5
5
|
import "./github-copilot-token-DZwwYztr.js";
|
|
6
6
|
import "./image-ops-B9jnR447.js";
|
|
7
7
|
import "./config-Ejc5JKGl.js";
|
|
8
|
-
import "./pi-embedded-helpers-
|
|
8
|
+
import "./pi-embedded-helpers-Dow6Qreh.js";
|
|
9
9
|
import "./pi-model-discovery-DWTTaAgY.js";
|
|
10
|
-
import "./chrome-
|
|
10
|
+
import "./chrome-B2PpxswT.js";
|
|
11
11
|
import "./paths-CdHoK26P.js";
|
|
12
12
|
import "./tool-images-IRIIkjuN.js";
|
|
13
|
-
import "./image-
|
|
13
|
+
import "./image-CRFk69Io.js";
|
|
14
14
|
import "./redact-DO22U0Pj.js";
|
|
15
15
|
import "./fetch-CE6hQpN5.js";
|
|
16
|
-
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
16
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-oDUAvejt.js";
|
|
17
17
|
|
|
18
18
|
//#region src/media-understanding/audio-preflight.ts
|
|
19
19
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-VwSY8LYS.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-Dx5B8w_6.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-BxZ8MXqI.js";
|
|
8
8
|
import { $ as setKimiCodingApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as TOGETHER_DEFAULT_MODEL_REF, H as HUGGINGFACE_DEFAULT_MODEL_REF, I as applyLitellmConfig, J as ZAI_DEFAULT_MODEL_REF, K as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setHuggingfaceApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as LITELLM_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as OPENROUTER_DEFAULT_MODEL_REF, X as setCloudflareAiGatewayConfig, Y as setAnthropicApiKey, Z as setGeminiApiKey, _ as applyMoonshotConfigCn, _t as XAI_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setQianfanApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setVeniceApiKey, d as applyAuthProfileConfig, dt as setXiaomiApiKey, et as setLitellmApiKey, ft as setZaiApiKey, g as applyMoonshotConfig, gt as QIANFAN_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as MOONSHOT_DEFAULT_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpenrouterApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVercelAiGatewayApiKey, m as applyKimiCodeConfig, mt as KIMI_CODING_MODEL_REF, n as validateAnthropicSetupToken, nt as setMoonshotApiKey, o as applyMinimaxApiConfigCn, ot as setSyntheticApiKey, p as applyHuggingfaceProviderConfig, pt as writeOAuthCredentials, q as XIAOMI_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setOpencodeZenApiKey, s as applyMinimaxApiProviderConfig, st as setTogetherApiKey, t as buildTokenProfileId, tt as setMinimaxApiKey, u as applyMinimaxProviderConfig, ut as setXaiApiKey, v as applyMoonshotProviderConfig, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-BrkUk6Tx.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DYPDXQQP.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-B2s7UEK1.js";
|
|
11
11
|
import { n as OPENAI_CODEX_DEFAULT_MODEL, r as applyOpenAICodexModelDefault, t as promptAndConfigureVllm } from "./vllm-setup-Baq53Bfl.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-BROGQLoP.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-Bfg43UBg.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CYHVwKBG.js";
|
|
8
8
|
import { $ as setKimiCodingApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as TOGETHER_DEFAULT_MODEL_REF, H as HUGGINGFACE_DEFAULT_MODEL_REF, I as applyLitellmConfig, J as ZAI_DEFAULT_MODEL_REF, K as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setHuggingfaceApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as LITELLM_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as OPENROUTER_DEFAULT_MODEL_REF, X as setCloudflareAiGatewayConfig, Y as setAnthropicApiKey, Z as setGeminiApiKey, _ as applyMoonshotConfigCn, _t as XAI_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setQianfanApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setVeniceApiKey, d as applyAuthProfileConfig, dt as setXiaomiApiKey, et as setLitellmApiKey, ft as setZaiApiKey, g as applyMoonshotConfig, gt as QIANFAN_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as MOONSHOT_DEFAULT_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpenrouterApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVercelAiGatewayApiKey, m as applyKimiCodeConfig, mt as KIMI_CODING_MODEL_REF, n as validateAnthropicSetupToken, nt as setMoonshotApiKey, o as applyMinimaxApiConfigCn, ot as setSyntheticApiKey, p as applyHuggingfaceProviderConfig, pt as writeOAuthCredentials, q as XIAOMI_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setOpencodeZenApiKey, s as applyMinimaxApiProviderConfig, st as setTogetherApiKey, t as buildTokenProfileId, tt as setMinimaxApiKey, u as applyMinimaxProviderConfig, ut as setXaiApiKey, v as applyMoonshotProviderConfig, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-DiKqBpCr.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DIPDa8Lw.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-DRzI7Hpp.js";
|
|
11
11
|
import { n as OPENAI_CODEX_DEFAULT_MODEL, r as applyOpenAICodexModelDefault, t as promptAndConfigureVllm } from "./vllm-setup-CCVENrEE.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Et as theme, Tt as isRich, m as visibleWidth } from "./entry.js";
|
|
2
|
-
import { qt as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { qt as resolveCommitHash } from "./subagent-registry-DJBVFvb4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
|
package/dist/build-info.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2026.2.15-pairing-code.
|
|
3
|
-
"commit": "
|
|
4
|
-
"builtAt": "2026-02-
|
|
2
|
+
"version": "2026.2.15-pairing-code.4",
|
|
3
|
+
"commit": "fb277a44c62f8fffee956bdb3e81f07b18d79e4e",
|
|
4
|
+
"builtAt": "2026-02-16T02:44:23.195Z"
|
|
5
5
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import "../../paths-
|
|
2
|
-
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, l as ensureAgentWorkspace, w as normalizeAgentId } from "../../workspace-
|
|
3
|
-
import { _ as DEFAULT_CHAT_CHANNEL, d as defaultRuntime, l as createSubsystemLogger } from "../../exec-
|
|
4
|
-
import { a as resolveAgentModelPrimary, l as resolveEffectiveModelFallbacks, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId } from "../../agent-scope-
|
|
5
|
-
import { T as SILENT_REPLY_TOKEN, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-
|
|
6
|
-
import { A as getRemoteSkillEligibility, F as applyVerboseOverride, J as AGENT_LANE_NESTED, M as lookupContextTokens, N as clearSessionAuthProfileOverride, P as applyModelOverrideToSessionEntry, Q as registerAgentRunContext, T as hasNonzeroUsage, X as clearAgentRunContext, Y as AGENT_LANE_SUBAGENT, Z as emitAgentEvent, b as resolveSessionDeliveryTarget, g as runCliAgent, h as setCliSessionId, j as getSkillsSnapshotVersion, k as resolveSendPolicy, m as getCliSessionId, q as resolveAgentTimeoutMs, t as runEmbeddedPiAgent, w as deriveSessionTotalTokens, x as runWithModelFallback, y as resolveOutboundTarget } from "../../pi-embedded-
|
|
7
|
-
import { F as getChannelPlugin, L as normalizeChannelId, b as resolveMessageChannel, f as INTERNAL_MESSAGE_CHANNEL, h as isInternalMessageChannel, m as isGatewayMessageChannel, p as isDeliverableMessageChannel, v as normalizeMessageChannel } from "../../image-ops-
|
|
1
|
+
import "../../paths-CkkDESQ2.js";
|
|
2
|
+
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, l as ensureAgentWorkspace, w as normalizeAgentId } from "../../workspace-CgGZnIx_.js";
|
|
3
|
+
import { _ as DEFAULT_CHAT_CHANNEL, d as defaultRuntime, l as createSubsystemLogger } from "../../exec-C_bNT00b.js";
|
|
4
|
+
import { a as resolveAgentModelPrimary, l as resolveEffectiveModelFallbacks, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId } from "../../agent-scope-DUn-XVYs.js";
|
|
5
|
+
import { T as SILENT_REPLY_TOKEN, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-BwXnLuWH.js";
|
|
6
|
+
import { A as getRemoteSkillEligibility, F as applyVerboseOverride, J as AGENT_LANE_NESTED, M as lookupContextTokens, N as clearSessionAuthProfileOverride, P as applyModelOverrideToSessionEntry, Q as registerAgentRunContext, T as hasNonzeroUsage, X as clearAgentRunContext, Y as AGENT_LANE_SUBAGENT, Z as emitAgentEvent, b as resolveSessionDeliveryTarget, g as runCliAgent, h as setCliSessionId, j as getSkillsSnapshotVersion, k as resolveSendPolicy, m as getCliSessionId, q as resolveAgentTimeoutMs, t as runEmbeddedPiAgent, w as deriveSessionTotalTokens, x as runWithModelFallback, y as resolveOutboundTarget } from "../../pi-embedded-wVlKSjNK.js";
|
|
7
|
+
import { F as getChannelPlugin, L as normalizeChannelId, b as resolveMessageChannel, f as INTERNAL_MESSAGE_CHANNEL, h as isInternalMessageChannel, m as isGatewayMessageChannel, p as isDeliverableMessageChannel, v as normalizeMessageChannel } from "../../image-ops-CKPJXWk4.js";
|
|
8
8
|
import "../../boolean-Bb19hm9Y.js";
|
|
9
|
-
import { B as DEFAULT_MODEL, C as isCliProvider, O as resolveConfiguredModelRef, T as normalizeModelRef, V as DEFAULT_PROVIDER, b as buildAllowedModelSet, h as ensureAuthProfileStore, j as resolveThinkingDefault, w as modelKey, z as DEFAULT_CONTEXT_TOKENS } from "../../model-auth-
|
|
9
|
+
import { B as DEFAULT_MODEL, C as isCliProvider, O as resolveConfiguredModelRef, T as normalizeModelRef, V as DEFAULT_PROVIDER, b as buildAllowedModelSet, h as ensureAuthProfileStore, j as resolveThinkingDefault, w as modelKey, z as DEFAULT_CONTEXT_TOKENS } from "../../model-auth-COYibYBO.js";
|
|
10
10
|
import { t as formatCliCommand } from "../../command-format-BmTFj7S4.js";
|
|
11
|
-
import { n as loadConfig } from "../../config-
|
|
12
|
-
import "../../send-
|
|
13
|
-
import "../../send-
|
|
14
|
-
import "../../send-
|
|
15
|
-
import "../../github-copilot-token-
|
|
11
|
+
import { n as loadConfig } from "../../config-CYlbDcBt.js";
|
|
12
|
+
import "../../send-z4yxEOnF.js";
|
|
13
|
+
import "../../send-DULTJ0oK.js";
|
|
14
|
+
import "../../send-Df7eglyR.js";
|
|
15
|
+
import "../../github-copilot-token-U5JrmjNt.js";
|
|
16
16
|
import "../../pi-model-discovery-Cexg1XRf.js";
|
|
17
|
-
import { Rt as buildWorkspaceSkillSnapshot, X as loadSessionStore, a as formatXHighModelHint, bt as resolveExplicitAgentSessionKey, d as normalizeVerboseLevel, dt as resolveSessionKey, et as updateSessionStore, ft as evaluateSessionFreshness, ht as resolveSessionResetType, i as formatThinkingLevels, l as normalizeThinkLevel, lt as normalizeAccountId, mt as resolveSessionResetPolicy, p as supportsXHighThinking, pt as resolveChannelResetConfig, xt as resolveMainSessionKey } from "../../pi-embedded-helpers-
|
|
18
|
-
import "../../chrome-
|
|
19
|
-
import "../../frontmatter-
|
|
20
|
-
import "../../store-
|
|
21
|
-
import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-
|
|
22
|
-
import "../../tool-images-
|
|
23
|
-
import "../../image-
|
|
24
|
-
import "../../manager-
|
|
25
|
-
import "../../sqlite-
|
|
26
|
-
import "../../retry-
|
|
17
|
+
import { Rt as buildWorkspaceSkillSnapshot, X as loadSessionStore, a as formatXHighModelHint, bt as resolveExplicitAgentSessionKey, d as normalizeVerboseLevel, dt as resolveSessionKey, et as updateSessionStore, ft as evaluateSessionFreshness, ht as resolveSessionResetType, i as formatThinkingLevels, l as normalizeThinkLevel, lt as normalizeAccountId, mt as resolveSessionResetPolicy, p as supportsXHighThinking, pt as resolveChannelResetConfig, xt as resolveMainSessionKey } from "../../pi-embedded-helpers-DmwtjJVo.js";
|
|
18
|
+
import "../../chrome-BtogRifc.js";
|
|
19
|
+
import "../../frontmatter-BetN20QN.js";
|
|
20
|
+
import "../../store-m4I2z_5t.js";
|
|
21
|
+
import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-Bbik2tb_.js";
|
|
22
|
+
import "../../tool-images-hzyBQ0Og.js";
|
|
23
|
+
import "../../image-DN3RgnPr.js";
|
|
24
|
+
import "../../manager-Ec86Dapd.js";
|
|
25
|
+
import "../../sqlite-CBMbuGLX.js";
|
|
26
|
+
import "../../retry-D1bxhFWp.js";
|
|
27
27
|
import "../../redact-C1ne-kC_.js";
|
|
28
|
-
import "../../common-
|
|
29
|
-
import "../../ir-
|
|
30
|
-
import "../../fetch-
|
|
28
|
+
import "../../common-BJE3S8zA.js";
|
|
29
|
+
import "../../ir-C-hSqOPD.js";
|
|
30
|
+
import "../../fetch-mr22CaT4.js";
|
|
31
31
|
import "../../render-DSLzcBxk.js";
|
|
32
|
-
import { s as loadModelCatalog } from "../../runner-
|
|
33
|
-
import "../../send-
|
|
34
|
-
import "../../outbound-attachment-
|
|
35
|
-
import "../../send-
|
|
36
|
-
import "../../channel-activity
|
|
37
|
-
import "../../tables-
|
|
32
|
+
import { s as loadModelCatalog } from "../../runner-DGYLHL8R.js";
|
|
33
|
+
import "../../send-CKSrJ7se.js";
|
|
34
|
+
import "../../outbound-attachment-C8Qf4dh8.js";
|
|
35
|
+
import "../../send-DjP-Miy_.js";
|
|
36
|
+
import "../../channel-activity--HqvQlN3.js";
|
|
37
|
+
import "../../tables-7DihLyDw.js";
|
|
38
38
|
import "../../proxy-D9Y1zsMX.js";
|
|
39
39
|
import fs from "node:fs/promises";
|
|
40
40
|
import path from "node:path";
|
|
@@ -44,27 +44,27 @@ import crypto from "node:crypto";
|
|
|
44
44
|
function createDefaultDeps() {
|
|
45
45
|
return {
|
|
46
46
|
sendMessageWhatsApp: async (...args) => {
|
|
47
|
-
const { sendMessageWhatsApp } = await import("../../web-
|
|
47
|
+
const { sendMessageWhatsApp } = await import("../../web-C5vqAHQC.js");
|
|
48
48
|
return await sendMessageWhatsApp(...args);
|
|
49
49
|
},
|
|
50
50
|
sendMessageTelegram: async (...args) => {
|
|
51
|
-
const { sendMessageTelegram } = await import("../../send-
|
|
51
|
+
const { sendMessageTelegram } = await import("../../send-Df7eglyR.js").then((n) => n.c);
|
|
52
52
|
return await sendMessageTelegram(...args);
|
|
53
53
|
},
|
|
54
54
|
sendMessageDiscord: async (...args) => {
|
|
55
|
-
const { sendMessageDiscord } = await import("../../send-
|
|
55
|
+
const { sendMessageDiscord } = await import("../../send-DULTJ0oK.js").then((n) => n.t);
|
|
56
56
|
return await sendMessageDiscord(...args);
|
|
57
57
|
},
|
|
58
58
|
sendMessageSlack: async (...args) => {
|
|
59
|
-
const { sendMessageSlack } = await import("../../send-
|
|
59
|
+
const { sendMessageSlack } = await import("../../send-z4yxEOnF.js").then((n) => n.n);
|
|
60
60
|
return await sendMessageSlack(...args);
|
|
61
61
|
},
|
|
62
62
|
sendMessageSignal: async (...args) => {
|
|
63
|
-
const { sendMessageSignal } = await import("../../send-
|
|
63
|
+
const { sendMessageSignal } = await import("../../send-CKSrJ7se.js").then((n) => n.i);
|
|
64
64
|
return await sendMessageSignal(...args);
|
|
65
65
|
},
|
|
66
66
|
sendMessageIMessage: async (...args) => {
|
|
67
|
-
const { sendMessageIMessage } = await import("../../send-
|
|
67
|
+
const { sendMessageIMessage } = await import("../../send-DjP-Miy_.js").then((n) => n.n);
|
|
68
68
|
return await sendMessageIMessage(...args);
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../paths-
|
|
2
|
-
import { d as loadExtraBootstrapFiles, u as filterBootstrapFilesForSession } from "../../workspace-
|
|
3
|
-
import { N as isAgentBootstrapEvent } from "../../exec-
|
|
1
|
+
import "../../paths-CkkDESQ2.js";
|
|
2
|
+
import { d as loadExtraBootstrapFiles, u as filterBootstrapFilesForSession } from "../../workspace-CgGZnIx_.js";
|
|
3
|
+
import { N as isAgentBootstrapEvent } from "../../exec-C_bNT00b.js";
|
|
4
4
|
import "../../boolean-Bb19hm9Y.js";
|
|
5
|
-
import "../../frontmatter-
|
|
5
|
+
import "../../frontmatter-BetN20QN.js";
|
|
6
6
|
import { t as resolveHookConfig } from "../../config-DNqv3_GG.js";
|
|
7
7
|
|
|
8
8
|
//#region src/hooks/bundled/bootstrap-extra-files/handler.ts
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "../../paths-
|
|
2
|
-
import { E as resolveAgentIdFromSessionKey } from "../../workspace-
|
|
3
|
-
import { l as createSubsystemLogger } from "../../exec-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-
|
|
5
|
-
import "../../deliver-
|
|
6
|
-
import { $ as hasInterSessionUserProvenance } from "../../pi-embedded-
|
|
7
|
-
import "../../image-ops-
|
|
1
|
+
import { s as resolveStateDir } from "../../paths-CkkDESQ2.js";
|
|
2
|
+
import { E as resolveAgentIdFromSessionKey } from "../../workspace-CgGZnIx_.js";
|
|
3
|
+
import { l as createSubsystemLogger } from "../../exec-C_bNT00b.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-DUn-XVYs.js";
|
|
5
|
+
import "../../deliver-BwXnLuWH.js";
|
|
6
|
+
import { $ as hasInterSessionUserProvenance } from "../../pi-embedded-wVlKSjNK.js";
|
|
7
|
+
import "../../image-ops-CKPJXWk4.js";
|
|
8
8
|
import "../../boolean-Bb19hm9Y.js";
|
|
9
|
-
import "../../model-auth-
|
|
10
|
-
import "../../config-
|
|
11
|
-
import "../../send-
|
|
12
|
-
import "../../send-
|
|
13
|
-
import "../../send-
|
|
14
|
-
import "../../github-copilot-token-
|
|
9
|
+
import "../../model-auth-COYibYBO.js";
|
|
10
|
+
import "../../config-CYlbDcBt.js";
|
|
11
|
+
import "../../send-z4yxEOnF.js";
|
|
12
|
+
import "../../send-DULTJ0oK.js";
|
|
13
|
+
import "../../send-Df7eglyR.js";
|
|
14
|
+
import "../../github-copilot-token-U5JrmjNt.js";
|
|
15
15
|
import "../../pi-model-discovery-Cexg1XRf.js";
|
|
16
|
-
import "../../pi-embedded-helpers-
|
|
17
|
-
import "../../chrome-
|
|
18
|
-
import "../../frontmatter-
|
|
19
|
-
import "../../store-
|
|
20
|
-
import "../../paths-
|
|
21
|
-
import "../../tool-images-
|
|
22
|
-
import "../../image-
|
|
23
|
-
import "../../manager-
|
|
24
|
-
import "../../sqlite-
|
|
25
|
-
import "../../retry-
|
|
16
|
+
import "../../pi-embedded-helpers-DmwtjJVo.js";
|
|
17
|
+
import "../../chrome-BtogRifc.js";
|
|
18
|
+
import "../../frontmatter-BetN20QN.js";
|
|
19
|
+
import "../../store-m4I2z_5t.js";
|
|
20
|
+
import "../../paths-Bbik2tb_.js";
|
|
21
|
+
import "../../tool-images-hzyBQ0Og.js";
|
|
22
|
+
import "../../image-DN3RgnPr.js";
|
|
23
|
+
import "../../manager-Ec86Dapd.js";
|
|
24
|
+
import "../../sqlite-CBMbuGLX.js";
|
|
25
|
+
import "../../retry-D1bxhFWp.js";
|
|
26
26
|
import "../../redact-C1ne-kC_.js";
|
|
27
|
-
import "../../common-
|
|
28
|
-
import "../../ir-
|
|
29
|
-
import "../../fetch-
|
|
27
|
+
import "../../common-BJE3S8zA.js";
|
|
28
|
+
import "../../ir-C-hSqOPD.js";
|
|
29
|
+
import "../../fetch-mr22CaT4.js";
|
|
30
30
|
import "../../render-DSLzcBxk.js";
|
|
31
|
-
import "../../runner-
|
|
32
|
-
import "../../send-
|
|
33
|
-
import "../../outbound-attachment-
|
|
34
|
-
import "../../send-
|
|
35
|
-
import "../../channel-activity
|
|
36
|
-
import "../../tables-
|
|
31
|
+
import "../../runner-DGYLHL8R.js";
|
|
32
|
+
import "../../send-CKSrJ7se.js";
|
|
33
|
+
import "../../outbound-attachment-C8Qf4dh8.js";
|
|
34
|
+
import "../../send-DjP-Miy_.js";
|
|
35
|
+
import "../../channel-activity--HqvQlN3.js";
|
|
36
|
+
import "../../tables-7DihLyDw.js";
|
|
37
37
|
import "../../proxy-D9Y1zsMX.js";
|
|
38
38
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
39
39
|
import { t as resolveHookConfig } from "../../config-DNqv3_GG.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
42f834921e26316a4138d68829994181e5122fb373f813a1c85b726578552e3c
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as formatErrorMessage } from "./errors-8mFQsaX1.js";
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-D1bxhFWp.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/retry-policy.ts
|
|
@@ -2,7 +2,7 @@ import { _ as CHAT_CHANNEL_ORDER } from "./subsystem-azPHgTb4.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BQEyJDx2.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-NvLIH9mn.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CiILDAoN.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D_bG1PT_.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-bX81iDy5.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-D8aoRgov.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-N4ZFQdQ9.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as toWhatsappJid, F as shouldLogVerbose, M as logVerbose, V as getChildLogger, h as normalizeE164, m as jidToE164, p as isSelfChatMode, r as clamp, w as sleep, y as resolveJidToE164 } from "./utils-CFnnyoTP.js";
|
|
2
|
-
import { An as resolveInboundDebounceMs, At as normalizeGroupActivation, Bt as computeBackoff, Cn as shouldAckReactionForWhatsApp, Fn as shouldComputeCommandAuthorized, Mn as resolveEnvelopeFormatOptions, On as createDedupeCache, Pn as hasControlCommand, Rn as buildMentionRegexes, Sn as resolveAgentRoute, Vt as sleepWithAbort, _n as resolveMentionGating, bn as recordPendingHistoryEntryIfEnabled, gn as buildPairingReply, hn as createReplyPrefixOptions, jn as formatInboundEnvelope, jt as parseActivationCommand, kn as createInboundDebouncer, nr as resolveMessagePrefix, ri as finalizeInboundContext, t as getReplyFromConfig, tr as resolveIdentityNamePrefix, vn as DEFAULT_GROUP_HISTORY_LIMIT, wn as dispatchReplyWithBufferedBlockDispatcher, xn as buildAgentSessionKey, yn as buildHistoryContextFromEntries, zn as normalizeMentionText, zr as enqueueSystemEvent } from "./reply-
|
|
2
|
+
import { An as resolveInboundDebounceMs, At as normalizeGroupActivation, Bt as computeBackoff, Cn as shouldAckReactionForWhatsApp, Fn as shouldComputeCommandAuthorized, Mn as resolveEnvelopeFormatOptions, On as createDedupeCache, Pn as hasControlCommand, Rn as buildMentionRegexes, Sn as resolveAgentRoute, Vt as sleepWithAbort, _n as resolveMentionGating, bn as recordPendingHistoryEntryIfEnabled, gn as buildPairingReply, hn as createReplyPrefixOptions, jn as formatInboundEnvelope, jt as parseActivationCommand, kn as createInboundDebouncer, nr as resolveMessagePrefix, ri as finalizeInboundContext, t as getReplyFromConfig, tr as resolveIdentityNamePrefix, vn as DEFAULT_GROUP_HISTORY_LIMIT, wn as dispatchReplyWithBufferedBlockDispatcher, xn as buildAgentSessionKey, yn as buildHistoryContextFromEntries, zn as normalizeMentionText, zr as enqueueSystemEvent } from "./reply-d6yV4wB_.js";
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-CZ6OwgSB.js";
|
|
4
4
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-azPHgTb4.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
@@ -17,7 +17,7 @@ import { r as formatDurationPrecise } from "./format-duration-Da1_3_gD.js";
|
|
|
17
17
|
import { i as readChannelAllowFromStore, o as upsertChannelPairingRequest } from "./pairing-store-CSNwpzTk.js";
|
|
18
18
|
import { r as setActiveWebListener } from "./active-listener-DdzSPkFM.js";
|
|
19
19
|
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-D20MC3bS.js";
|
|
20
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
20
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Bu5MF744.js";
|
|
21
21
|
import { randomUUID } from "node:crypto";
|
|
22
22
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
23
23
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, f as isRecord } from "./utils-CFnnyoTP.js";
|
|
3
3
|
import "./pi-embedded-helpers-DwIwt1C1.js";
|
|
4
|
-
import { Mt as loadProviderUsageSummary, Nt as formatUsageReportLines } from "./reply-
|
|
4
|
+
import { Mt as loadProviderUsageSummary, Nt as formatUsageReportLines } from "./reply-d6yV4wB_.js";
|
|
5
5
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-CZ6OwgSB.js";
|
|
6
6
|
import { d as defaultRuntime, v as DEFAULT_CHAT_CHANNEL } from "./subsystem-azPHgTb4.js";
|
|
7
7
|
import "./exec-V7mqHC8U.js";
|
|
@@ -80,8 +80,8 @@ import "./control-service-CVqGIdhP.js";
|
|
|
80
80
|
import { n as resolveMessageChannelSelection } from "./channel-selection-CuBUJwMM.js";
|
|
81
81
|
import "./delivery-queue-BX5ZlJ58.js";
|
|
82
82
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CiILDAoN.js";
|
|
83
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
84
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
83
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D_bG1PT_.js";
|
|
84
|
+
import { t as formatCliChannelOptions } from "./channel-options-C0ayB7mx.js";
|
|
85
85
|
import "./note-DHzyZ-eO.js";
|
|
86
86
|
import { t as createClackPrompter } from "./clack-prompter-BVIKoybI.js";
|
|
87
87
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D9sJmea4.js";
|
|
@@ -90,7 +90,7 @@ import "./archive-1M3-wJGp.js";
|
|
|
90
90
|
import "./npm-registry-spec-CuFgcvQy.js";
|
|
91
91
|
import "./skill-scanner-rZe1OKVo.js";
|
|
92
92
|
import "./installs-J67aL6S5.js";
|
|
93
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
93
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BATBIQiN.js";
|
|
94
94
|
import { t as buildChannelAccountSnapshot } from "./status-DvTRhxOu.js";
|
|
95
95
|
import { t as parseLogLine } from "./parse-log-line-DLGp7cEA.js";
|
|
96
96
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CCbGOksf.js";
|
|
@@ -14,7 +14,7 @@ import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } fr
|
|
|
14
14
|
import "./client-gZv0X5tz.js";
|
|
15
15
|
import { n as callGateway } from "./call-CeM4F1rK.js";
|
|
16
16
|
import "./message-channel-CZpVDeRr.js";
|
|
17
|
-
import { Bt as loadProviderUsageSummary, Vt as formatUsageReportLines } from "./subagent-registry-
|
|
17
|
+
import { Bt as loadProviderUsageSummary, Vt as formatUsageReportLines } from "./subagent-registry-DJBVFvb4.js";
|
|
18
18
|
import "./sessions-D-LiJehh.js";
|
|
19
19
|
import "./deliver-a9TlmfSI.js";
|
|
20
20
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-bX81iDy5.js";
|
|
@@ -85,12 +85,12 @@ import "./archive-DF65ZKV5.js";
|
|
|
85
85
|
import "./npm-registry-spec-0gjaSbs4.js";
|
|
86
86
|
import "./skill-scanner-C6Fsebtt.js";
|
|
87
87
|
import "./installs-FdZTML_g.js";
|
|
88
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
88
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BeXdUwL0.js";
|
|
89
89
|
import { t as buildChannelAccountSnapshot } from "./status-DMWg_Ufj.js";
|
|
90
90
|
import { t as parseLogLine } from "./parse-log-line-C3T0Ekeh.js";
|
|
91
91
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DyMJ5ur1.js";
|
|
92
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
93
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
92
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-N4ZFQdQ9.js";
|
|
93
|
+
import { t as formatCliChannelOptions } from "./channel-options-CgdgqIte.js";
|
|
94
94
|
import { t as hasExplicitOptions } from "./command-options-C2wPGbdf.js";
|
|
95
95
|
import fs from "node:fs/promises";
|
|
96
96
|
|
|
@@ -8,7 +8,7 @@ import { execFileSync, spawn } from "node:child_process";
|
|
|
8
8
|
import { randomBytes } from "node:crypto";
|
|
9
9
|
import net from "node:net";
|
|
10
10
|
import { createServer } from "node:http";
|
|
11
|
-
import WebSocket
|
|
11
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
12
12
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
13
13
|
|
|
14
14
|
//#region src/browser/constants.ts
|
|
@@ -172,7 +172,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
172
172
|
let nextExtensionId = 1;
|
|
173
173
|
const sendToExtension = async (payload) => {
|
|
174
174
|
const ws = extensionWs;
|
|
175
|
-
if (!ws || ws.readyState !== WebSocket
|
|
175
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
176
176
|
ws.send(JSON.stringify(payload));
|
|
177
177
|
return await new Promise((resolve, reject) => {
|
|
178
178
|
const timer = setTimeout(() => {
|
|
@@ -189,12 +189,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
189
189
|
const broadcastToCdpClients = (evt) => {
|
|
190
190
|
const msg = JSON.stringify(evt);
|
|
191
191
|
for (const ws of cdpClients) {
|
|
192
|
-
if (ws.readyState !== WebSocket
|
|
192
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
193
193
|
ws.send(msg);
|
|
194
194
|
}
|
|
195
195
|
};
|
|
196
196
|
const sendResponseToCdp = (ws, res) => {
|
|
197
|
-
if (ws.readyState !== WebSocket
|
|
197
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
198
198
|
ws.send(JSON.stringify(res));
|
|
199
199
|
};
|
|
200
200
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -414,7 +414,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
414
414
|
wssExtension.on("connection", (ws) => {
|
|
415
415
|
extensionWs = ws;
|
|
416
416
|
const ping = setInterval(() => {
|
|
417
|
-
if (ws.readyState !== WebSocket
|
|
417
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
418
418
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
419
419
|
}, 5e3);
|
|
420
420
|
ws.on("message", (data) => {
|
|
@@ -726,7 +726,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
726
726
|
}
|
|
727
727
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
728
728
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
729
|
-
const ws = new WebSocket
|
|
729
|
+
const ws = new WebSocket(wsUrl, {
|
|
730
730
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
731
731
|
...Object.keys(headers).length ? { headers } : {}
|
|
732
732
|
});
|
|
@@ -1581,7 +1581,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1581
1581
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1582
1582
|
return await new Promise((resolve) => {
|
|
1583
1583
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1584
|
-
const ws = new WebSocket
|
|
1584
|
+
const ws = new WebSocket(wsUrl, {
|
|
1585
1585
|
handshakeTimeout: timeoutMs,
|
|
1586
1586
|
...Object.keys(headers).length ? { headers } : {}
|
|
1587
1587
|
});
|