@symerian/symi 2.1.8 → 2.1.9
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/{acp-cli-vT1oZCVL.js → acp-cli-BiMkLDR4.js} +2 -2
- package/dist/{agents.config-DzA8rWnM.js → agents.config-BXOMgfH8.js} +1 -1
- package/dist/{audio-preflight-1yi0nb1v.js → audio-preflight-BgsqiU2t.js} +8 -8
- package/dist/{audio-preflight-BnwAAlLw.js → audio-preflight-IRs02MgH.js} +4 -4
- package/dist/{audit-CxLSBkyf.js → audit-oRSxjF4Y.js} +5 -5
- package/dist/{auth-choice-Bcu1W1bS.js → auth-choice-CtkUWEzS.js} +4 -4
- package/dist/{browser-cli-CF7WrAl5.js → browser-cli-DNkgkAuj.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/{call-BQIBy8Tt.js → call-CZPSJe5I.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Dg8qatef.js → channel-options-hRv5uC1D.js} +1 -1
- package/dist/{channel-web-BWdWLBcD.js → channel-web-Dk4amkbo.js} +2 -2
- package/dist/{channels-cli-B9_P7h5c.js → channels-cli-D3xSNJol.js} +19 -19
- package/dist/{chrome-DPHgzMPu.js → chrome-CqribT6Z.js} +7 -7
- package/dist/{chrome-CJZsCHQH.js → chrome-KILXYAkl.js} +7 -7
- package/dist/{cli-DvfhqWwR.js → cli-d7xCa4Lk.js} +16 -16
- package/dist/{client-Z6SFrwob.js → client-CQSyCS4M.js} +3 -3
- package/dist/{command-registry-DgIaqRA8.js → command-registry-CJT_eUrJ.js} +4 -4
- package/dist/{completion-cli-Ch4L91ix.js → completion-cli-Co-f9nk-.js} +1 -1
- package/dist/{completion-cli-DBmrzP9n.js → completion-cli-CxjGg4Lh.js} +2 -2
- package/dist/{config-cli-B9uXxJg3.js → config-cli-oty7UgRW.js} +1 -1
- package/dist/{configure-DcNhZaKX.js → configure-BktcEJpM.js} +8 -8
- package/dist/{control-service-G76172X8.js → control-service-DPKlnETj.js} +3 -3
- package/dist/control-ui/js/app.js +7 -1
- package/dist/control-ui/js/render.js +9 -1
- package/dist/{cron-cli-DJhLBeA1.js → cron-cli-DugQ4zba.js} +3 -3
- package/dist/{daemon-cli-CwefaVx1.js → daemon-cli-ReIMAwZL.js} +2 -2
- package/dist/{deliver-DhcAHw6f.js → deliver-ezw61fxU.js} +1 -1
- package/dist/{deliver-EKA6SdgU.js → deliver-vWWI-94q.js} +1 -1
- package/dist/{devices-cli-BBRC971g.js → devices-cli-BD4P6j_3.js} +2 -2
- package/dist/{doctor-completion-DpSaxE2c.js → doctor-completion-BXzDsnC7.js} +1 -1
- package/dist/{doctor-completion-WpB4xjn7.js → doctor-completion-BkcTkshx.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-DPmmO3M_.js → exec-approvals-cli-BwCy8654.js} +4 -4
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-CGlLcg5W.js → gateway-cli-Dxv58SqI.js} +28 -28
- package/dist/{gateway-cli-DQm739gO.js → gateway-cli-cKh6eKom.js} +1 -1
- package/dist/{gateway-rpc-B6LPqjdz.js → gateway-rpc-DbGqu2XI.js} +1 -1
- package/dist/{glass-ui-ws-nfA4ysOL.js → glass-ui-ws-BVxkFkqP.js} +23 -23
- package/dist/{health-DWxiqmQJ.js → health-Dci8s5_s.js} +3 -3
- package/dist/{hooks-cli-Bkdca9pQ.js → hooks-cli-BL_ExzSA.js} +17 -17
- package/dist/{image-EKTeO3aa.js → image-CV4FUL4M.js} +1 -1
- package/dist/{image-DguD2G3e.js → image-yg__zJJR.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/{logs-cli-DN6g7pB5.js → logs-cli-B-4s2xLq.js} +3 -3
- package/dist/{model-catalog-Dib32CyX.js → model-catalog-Cr_E1v1f.js} +1 -1
- package/dist/{model-picker-DhS9QBgv.js → model-picker-DPsrrARn.js} +1 -1
- package/dist/{models-cli-B2aJE7eN.js → models-cli-AnsPkuSQ.js} +18 -18
- package/dist/{node-cli-DBSE1ho3.js → node-cli-B4XgCDP5.js} +6 -6
- package/dist/{nodes-cli-DTydh6Lw.js → nodes-cli-BFAaT-LN.js} +3 -3
- package/dist/{onboard-BtsHZR4B.js → onboard-D-tyHIqF.js} +5 -5
- package/dist/{onboard-channels-D-X56DJ8.js → onboard-channels-BK5dg-gk.js} +1 -1
- package/dist/{onboard-custom-BjpcSbRk.js → onboard-custom-BdK1IVud.js} +1 -1
- package/dist/{onboard-helpers-68fgh87u.js → onboard-helpers-DN1zuxEX.js} +1 -1
- package/dist/{onboard-C5byAT2N.js → onboard-qhbXdaD1.js} +1 -1
- package/dist/{onboard-remote-D3ZqwA9f.js → onboard-remote-CIXcmClI.js} +1 -1
- package/dist/{onboard-skills-FT6IHgfp.js → onboard-skills-DGLjSmKy.js} +1 -1
- package/dist/{onboarding-9vscZiF3.js → onboarding-CqKKfKUd.js} +9 -9
- package/dist/{onboarding-D1sXzbQB.js → onboarding-Cvyr4ups.js} +1 -1
- package/dist/{onboarding.finalize-DZ_rRX08.js → onboarding.finalize-C3KvhJD3.js} +21 -21
- package/dist/{onboarding.finalize-BgZsxJrK.js → onboarding.finalize-Cq4GQGdE.js} +5 -5
- package/dist/{onboarding.gateway-config-CcXyb2rj.js → onboarding.gateway-config-BOkD7ZTV.js} +3 -3
- package/dist/{pi-auth-json-bYGFgsxc.js → pi-auth-json-BMN17zl6.js} +1 -1
- package/dist/{pi-embedded-02ObvVIR.js → pi-embedded-DguKAKpR.js} +16 -16
- package/dist/{pi-embedded-helpers-B6ugLqkI.js → pi-embedded-helpers-SPJVuQfB.js} +4 -4
- package/dist/{pi-embedded-helpers-C6ML643R.js → pi-embedded-helpers-khMH03FT.js} +1 -1
- package/dist/{pi-tools.policy-Chetph_n.js → pi-tools.policy-YJHLQVvu.js} +1 -1
- package/dist/{plugin-registry-Dm857EK_.js → plugin-registry-MahBcTZy.js} +1 -1
- package/dist/{plugins-cli-B_mApNL7.js → plugins-cli-Bjj-8xm-.js} +17 -17
- package/dist/{program-DtUuEGz9.js → program-CJldpogh.js} +2 -2
- package/dist/{program-context-azGx1QUt.js → program-context-ymLH6wEd.js} +30 -30
- package/dist/{prompt-select-styled-DyFLFLxr.js → prompt-select-styled-Dpya9LMc.js} +1 -1
- package/dist/{prompt-select-styled-DuBHnZi0.js → prompt-select-styled-luOC2PiR.js} +8 -8
- package/dist/{provider-auth-helpers-B1A2z7Wq.js → provider-auth-helpers-CPBiRRJ7.js} +1 -1
- package/dist/{push-apns-ByIng2X-.js → push-apns-B75DQQZi.js} +1 -1
- package/dist/{pw-ai-CD2xT-vT.js → pw-ai-DnN0T7wd.js} +1 -1
- package/dist/{pw-ai-BIcOufAe.js → pw-ai-DxQzfOiI.js} +1 -1
- package/dist/{register.agent-slSgZnXa.js → register.agent-1AMj0tWy.js} +21 -21
- package/dist/{register.configure-Bv303J9I.js → register.configure-BA5m1RN3.js} +25 -25
- package/dist/{register.maintenance-C6qo-exc.js → register.maintenance-CAIO1FGc.js} +22 -22
- package/dist/{register.maintenance-BMbzbUs_.js → register.maintenance-DHzbNI1J.js} +5 -5
- package/dist/{register.message-Ma-4EWdL.js → register.message-CT_zCczX.js} +17 -17
- package/dist/{register.onboard-BG23MN_9.js → register.onboard-CWKWzaka.js} +2 -2
- package/dist/{register.onboard-rUCRhXsi.js → register.onboard-DsmdmVFM.js} +21 -21
- package/dist/{register.setup-CockGerD.js → register.setup-DQpmILEC.js} +21 -21
- package/dist/{register.setup-CCWe7bhq.js → register.setup-tWu8xDXn.js} +2 -2
- package/dist/{register.status-health-sessions-CsBE-Npn.js → register.status-health-sessions-C0Y8uSOv.js} +19 -19
- package/dist/{register.subclis-DzmwvA1a.js → register.subclis-BjV226TL.js} +4 -4
- package/dist/{reply-OC2fwtMD.js → reply-DHEXU7Cn.js} +23 -23
- package/dist/{routes-Bj0eL3Q0.js → routes-Bqu4HRi8.js} +2 -2
- package/dist/{rpc-D1L9G69Q.js → rpc-ByQikXey.js} +1 -1
- package/dist/{run-main-B9-lZdrw.js → run-main-CcPFqrVZ.js} +3 -3
- package/dist/{runner-BlTur7kC.js → runner-Cx1wJumq.js} +1 -1
- package/dist/{runner-B8kxK-2T.js → runner-h5ZwP1Uj.js} +2 -2
- package/dist/{sandbox-C93Jz4VH.js → sandbox-B47UASus.js} +3 -3
- package/dist/{sandbox-cli-DZ3ou_3q.js → sandbox-cli-CZjPwOz9.js} +4 -4
- package/dist/{security-cli-DGgK4UWF.js → security-cli-CQ3ChhHn.js} +8 -8
- package/dist/{server-context-8Y28Gc1g.js → server-context-DfM0b6MD.js} +4 -4
- package/dist/{server-methods-DLYjRtbk.js → server-methods-BCks-wpI.js} +14 -14
- package/dist/{server-node-events-BXvhA5oG.js → server-node-events-BfwbEkoh.js} +17 -17
- package/dist/{status-DSmMas06.js → status-pU_AObZR.js} +1 -1
- package/dist/{status-ULagy5pI.js → status-x9ATvv1I.js} +5 -5
- package/dist/{system-cli-Ckf5utOC.js → system-cli-BG-4fgem.js} +3 -3
- package/dist/{tui-DU8uSIS6.js → tui-NHaxoloZ.js} +4 -4
- package/dist/{tui-cli-BVRo6K5H.js → tui-cli-5PWtAk5p.js} +1 -1
- package/dist/{tui-cli-BaVcPxfw.js → tui-cli-BdVf7i3t.js} +8 -8
- package/dist/{tui-DQNaC0MU.js → tui-mEawX-jm.js} +1 -1
- package/dist/{update-cli-CJg7xflR.js → update-cli-Bi0zpfuT.js} +5 -5
- package/dist/{update-cli-0rovqj0x.js → update-cli-DCK6R1m2.js} +23 -23
- package/dist/{update-runner-C2ymIFie.js → update-runner-B2gtFGSb.js} +1 -1
- package/dist/{web-CAwp3iOn.js → web-CIc_459s.js} +17 -17
- package/dist/{web-CMl4g_Bl.js → web-cSkprx6P.js} +6 -6
- package/dist/{with-timeout-Dz8rHtW4.js → with-timeout-DAAdYGLS.js} +1 -1
- package/extensions/outlook/index.ts +1 -1
- package/package.json +1 -1
|
@@ -13,8 +13,8 @@ import { H as VERSION, i as loadConfig } from "./config-BQmJMIWv.js";
|
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
14
|
import "./tailscale-D5dKabOc.js";
|
|
15
15
|
import { a as resolveGatewayAuth } from "./auth-B741uFtk.js";
|
|
16
|
-
import { t as GatewayClient } from "./client-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { t as GatewayClient } from "./client-CQSyCS4M.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-CZPSJe5I.js";
|
|
18
18
|
import "./pairing-token-CX3NN_qj.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-DrpmTCqv.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-DHEXU7Cn.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CgUHAtCo.js";
|
|
4
4
|
|
|
@@ -12,19 +12,19 @@ import "./env-DPCHYPeH.js";
|
|
|
12
12
|
import "./message-channel-aT-I_DTX.js";
|
|
13
13
|
import "./config-BQmJMIWv.js";
|
|
14
14
|
import "./manifest-registry-C4BxOMWX.js";
|
|
15
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-
|
|
16
|
-
import "./image-
|
|
15
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, s as isAudioAttachment, t as buildProviderRegistry } from "./runner-h5ZwP1Uj.js";
|
|
16
|
+
import "./image-yg__zJJR.js";
|
|
17
17
|
import "./models-config-DQTsmVR2.js";
|
|
18
18
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
19
|
-
import "./pi-embedded-helpers-
|
|
20
|
-
import "./sandbox-
|
|
21
|
-
import "./chrome-
|
|
19
|
+
import "./pi-embedded-helpers-khMH03FT.js";
|
|
20
|
+
import "./sandbox-B47UASus.js";
|
|
21
|
+
import "./chrome-KILXYAkl.js";
|
|
22
22
|
import "./tailscale-D5dKabOc.js";
|
|
23
23
|
import "./auth-B741uFtk.js";
|
|
24
|
-
import "./server-context-
|
|
24
|
+
import "./server-context-DfM0b6MD.js";
|
|
25
25
|
import "./frontmatter-DWQhtOo7.js";
|
|
26
26
|
import "./skills-6jdJQ5ZL.js";
|
|
27
|
-
import "./routes-
|
|
27
|
+
import "./routes-Bqu4HRi8.js";
|
|
28
28
|
import "./redact-f-Q-hFt_.js";
|
|
29
29
|
import "./errors-BF3TeRH2.js";
|
|
30
30
|
import "./fs-safe-CUjO1ca2.js";
|
|
@@ -48,7 +48,7 @@ import "./tool-display-D8N3rsYt.js";
|
|
|
48
48
|
import "./fetch-guard-DOPkVbh3.js";
|
|
49
49
|
import "./api-key-rotation-CVUq_rfN.js";
|
|
50
50
|
import "./local-roots-aAFLQGkY.js";
|
|
51
|
-
import "./model-catalog-
|
|
51
|
+
import "./model-catalog-Cr_E1v1f.js";
|
|
52
52
|
|
|
53
53
|
//#region src/media-understanding/audio-preflight.ts
|
|
54
54
|
/**
|
|
@@ -12,10 +12,10 @@ import "./accounts-8zZqL37v.js";
|
|
|
12
12
|
import "./image-ops-ByaQt43P.js";
|
|
13
13
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
14
14
|
import "./message-channel-BQINJQIT.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./pi-embedded-helpers-SPJVuQfB.js";
|
|
16
16
|
import "./config-diuFc3fL.js";
|
|
17
17
|
import "./manifest-registry-D-mTF1cj.js";
|
|
18
|
-
import "./chrome-
|
|
18
|
+
import "./chrome-CqribT6Z.js";
|
|
19
19
|
import "./skills-BNpGMnp-.js";
|
|
20
20
|
import "./redact-1NGYV_8p.js";
|
|
21
21
|
import "./errors-CPfngF0S.js";
|
|
@@ -25,10 +25,10 @@ import "./thinking-W85Rb32m.js";
|
|
|
25
25
|
import "./accounts-DImOt9jX.js";
|
|
26
26
|
import "./paths-DkMamAQ-.js";
|
|
27
27
|
import "./tool-images-ChC2CXaN.js";
|
|
28
|
-
import "./image-
|
|
28
|
+
import "./image-CV4FUL4M.js";
|
|
29
29
|
import "./gemini-auth-CrwifqcZ.js";
|
|
30
30
|
import "./local-roots-CC8jiKDk.js";
|
|
31
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
31
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-Cx1wJumq.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -7,19 +7,19 @@ import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-
|
|
|
7
7
|
import { I as INCLUDE_KEY, L as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-BQmJMIWv.js";
|
|
8
8
|
import { u as normalizePluginsConfig } from "./manifest-registry-C4BxOMWX.js";
|
|
9
9
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-Be3msDZo.js";
|
|
10
|
-
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
10
|
+
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-B47UASus.js";
|
|
11
11
|
import { a as resolveGatewayAuth } from "./auth-B741uFtk.js";
|
|
12
|
-
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
12
|
+
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-DfM0b6MD.js";
|
|
13
13
|
import { i as loadWorkspaceSkillEntries } from "./skills-6jdJQ5ZL.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
15
15
|
import { l as normalizeStringEntries } from "./dock-BhS32F6E.js";
|
|
16
16
|
import { n as listChannelPlugins } from "./plugins-DKDeQZF0.js";
|
|
17
17
|
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-BNLCWX6e.js";
|
|
18
|
-
import { t as GatewayClient } from "./client-
|
|
19
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import { t as GatewayClient } from "./client-CQSyCS4M.js";
|
|
19
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-CZPSJe5I.js";
|
|
20
20
|
import { i as readChannelAllowFromStore } from "./pairing-store-0Vcl4kOG.js";
|
|
21
21
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-GpkFi6Kw.js";
|
|
22
|
-
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
22
|
+
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-YJHLQVvu.js";
|
|
23
23
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-BL-M3lPt.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
|
|
25
25
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-CLs8u6vQ.js";
|
|
@@ -2,13 +2,13 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-CgUHAtCo.js";
|
|
3
3
|
import { At as ensureAuthProfileStore, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, M as VENICE_DEFAULT_MODEL_REF, Ot as upsertAuthProfile, St as parseOAuthCallbackInput, Tt as listProfilesForProvider, Y as resolveEnvApiKey, bt as exchangeChutesCodeForTokens, ct as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, ft as resolveAuthProfileOrder, ot as discoverHuggingfaceModels, p as resolveConfiguredModelRef, st as isHuggingfacePolicyLocked, xt as generateChutesPkce, yt as CHUTES_AUTHORIZE_ENDPOINT, z as SYNTHETIC_DEFAULT_MODEL_REF } from "./model-selection-BD3oqNY9.js";
|
|
4
4
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
5
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
6
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-Cr_E1v1f.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-DN1zuxEX.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-jkttV9t2.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-CPBiRRJ7.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-0jvb2G0b.js";
|
|
11
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
11
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DPsrrARn.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
13
13
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
14
14
|
import { createServer } from "node:http";
|
|
@@ -17,15 +17,15 @@ import "./errors-BF3TeRH2.js";
|
|
|
17
17
|
import "./fs-safe-CUjO1ca2.js";
|
|
18
18
|
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-BBm9fwuG.js";
|
|
19
19
|
import { t as movePathToTrash } from "./trash-DcMh1i4B.js";
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
20
|
+
import "./client-CQSyCS4M.js";
|
|
21
|
+
import "./call-CZPSJe5I.js";
|
|
22
22
|
import "./pairing-token-CX3NN_qj.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-DN_hM6ov.js";
|
|
25
25
|
import { t as formatHelpExamples } from "./help-format-B_-M23wP.js";
|
|
26
26
|
import "./progress-jIePzvGA.js";
|
|
27
27
|
import { n as inheritOptionFromParent } from "./command-options-BtDai3oC.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DbGqu2XI.js";
|
|
29
29
|
import { t as copyToClipboard } from "./clipboard-Cg3cin13.js";
|
|
30
30
|
import { fileURLToPath } from "node:url";
|
|
31
31
|
import fs from "node:fs";
|
package/dist/build-info.json
CHANGED
|
@@ -3,7 +3,7 @@ import { c as ensureDir, t as CONFIG_DIR, x as shortenHomeInString, y as resolve
|
|
|
3
3
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
4
4
|
import { i as loadConfig } from "./config-BQmJMIWv.js";
|
|
5
5
|
import { i as isSecureWebSocketUrl } from "./ws-C7EXRv8z.js";
|
|
6
|
-
import { Jt as normalizeFingerprint, Xt as loadOrCreateDeviceIdentity, kt as PROTOCOL_VERSION, t as GatewayClient } from "./client-
|
|
6
|
+
import { Jt as normalizeFingerprint, Xt as loadOrCreateDeviceIdentity, kt as PROTOCOL_VERSION, t as GatewayClient } from "./client-CQSyCS4M.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import { execFile } from "node:child_process";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
93e433134c68f97bb481530ed5fd46f7fe65ea578e585c2cf6a92a7c52df1351
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-Cja8eT7G.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DKDeQZF0.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-MahBcTZy.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { C as sleep, F as shouldLogVerbose, M as logVerbose, T as toWhatsappJid, V as getChildLogger, f as isSelfChatMode, m as normalizeE164, p as jidToE164, r as clamp, v as resolveJidToE164 } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yr as enqueueSystemEvent, yt as parseActivationCommand } from "./reply-
|
|
2
|
+
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yr as enqueueSystemEvent, yt as parseActivationCommand } from "./reply-DHEXU7Cn.js";
|
|
3
3
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
6
6
|
import { i as loadConfig } from "./config-BQmJMIWv.js";
|
|
7
7
|
import { t as finalizeInboundContext } from "./inbound-context-CmmmT8IP.js";
|
|
8
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
8
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-h5ZwP1Uj.js";
|
|
9
9
|
import { r as saveMediaBuffer } from "./store-r1DJSDq-.js";
|
|
10
10
|
import { c as recordSessionMetaFromInbound, o as loadSessionStore, q as resolveGroupSessionKey, s as readSessionUpdatedAt, u as updateLastRoute } from "./sessions-DXfNaNdy.js";
|
|
11
11
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-BhS32F6E.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, d as isRecord } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { _t as deleteTelegramUpdateOffset, bt as loadProviderUsageSummary, xt as formatUsageReportLines } from "./reply-
|
|
4
|
+
import { _t as deleteTelegramUpdateOffset, bt as loadProviderUsageSummary, xt as formatUsageReportLines } from "./reply-DHEXU7Cn.js";
|
|
5
5
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as DEFAULT_CHAT_CHANNEL } from "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -16,19 +16,19 @@ import "./message-channel-aT-I_DTX.js";
|
|
|
16
16
|
import { $ as parseDiscordTarget, bt as fetchChannelPermissionsDiscord } from "./send-CpxUlSq0.js";
|
|
17
17
|
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BQmJMIWv.js";
|
|
18
18
|
import "./manifest-registry-C4BxOMWX.js";
|
|
19
|
-
import "./runner-
|
|
20
|
-
import "./image-
|
|
19
|
+
import "./runner-h5ZwP1Uj.js";
|
|
20
|
+
import "./image-yg__zJJR.js";
|
|
21
21
|
import "./models-config-DQTsmVR2.js";
|
|
22
22
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
23
|
-
import "./pi-embedded-helpers-
|
|
24
|
-
import "./sandbox-
|
|
25
|
-
import "./chrome-
|
|
23
|
+
import "./pi-embedded-helpers-khMH03FT.js";
|
|
24
|
+
import "./sandbox-B47UASus.js";
|
|
25
|
+
import "./chrome-KILXYAkl.js";
|
|
26
26
|
import "./tailscale-D5dKabOc.js";
|
|
27
27
|
import "./auth-B741uFtk.js";
|
|
28
|
-
import "./server-context-
|
|
28
|
+
import "./server-context-DfM0b6MD.js";
|
|
29
29
|
import "./frontmatter-DWQhtOo7.js";
|
|
30
30
|
import "./skills-6jdJQ5ZL.js";
|
|
31
|
-
import "./routes-
|
|
31
|
+
import "./routes-Bqu4HRi8.js";
|
|
32
32
|
import "./redact-f-Q-hFt_.js";
|
|
33
33
|
import "./errors-BF3TeRH2.js";
|
|
34
34
|
import "./fs-safe-CUjO1ca2.js";
|
|
@@ -54,10 +54,10 @@ import "./fetch-guard-DOPkVbh3.js";
|
|
|
54
54
|
import "./api-key-rotation-CVUq_rfN.js";
|
|
55
55
|
import "./local-roots-aAFLQGkY.js";
|
|
56
56
|
import "./sqlite-Dx3J_aSE.js";
|
|
57
|
-
import "./model-catalog-
|
|
57
|
+
import "./model-catalog-Cr_E1v1f.js";
|
|
58
58
|
import "./tokens-BuceUQDl.js";
|
|
59
|
-
import "./with-timeout-
|
|
60
|
-
import "./deliver-
|
|
59
|
+
import "./with-timeout-DAAdYGLS.js";
|
|
60
|
+
import "./deliver-ezw61fxU.js";
|
|
61
61
|
import "./diagnostic-DjBRPfu9.js";
|
|
62
62
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
63
63
|
import "./send-YsPVgB2E.js";
|
|
@@ -73,8 +73,8 @@ import "./ir-DZam9q5M.js";
|
|
|
73
73
|
import "./render-CXDO_kgw.js";
|
|
74
74
|
import "./commands-BNLCWX6e.js";
|
|
75
75
|
import "./commands-registry-Km-DI95L.js";
|
|
76
|
-
import "./client-
|
|
77
|
-
import { n as callGateway } from "./call-
|
|
76
|
+
import "./client-CQSyCS4M.js";
|
|
77
|
+
import { n as callGateway } from "./call-CZPSJe5I.js";
|
|
78
78
|
import "./pairing-token-CX3NN_qj.js";
|
|
79
79
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
80
80
|
import "./channel-activity-BOiuJS3t.js";
|
|
@@ -95,18 +95,18 @@ import "./outbound-attachment-D_QuKi8U.js";
|
|
|
95
95
|
import "./delivery-queue-Df1uodAG.js";
|
|
96
96
|
import "./session-cost-usage-BG4AXrGN.js";
|
|
97
97
|
import "./send-p1qmy2uO.js";
|
|
98
|
-
import "./onboard-helpers-
|
|
98
|
+
import "./onboard-helpers-DN1zuxEX.js";
|
|
99
99
|
import "./prompt-style-8JqOYj0q.js";
|
|
100
100
|
import "./pairing-labels-Lc04d2Gd.js";
|
|
101
101
|
import "./exec-approvals-Kn31mBcW.js";
|
|
102
102
|
import "./nodes-screen-VBGXKdLk.js";
|
|
103
|
-
import "./pi-tools.policy-
|
|
104
|
-
import "./control-service-
|
|
103
|
+
import "./pi-tools.policy-YJHLQVvu.js";
|
|
104
|
+
import "./control-service-DPKlnETj.js";
|
|
105
105
|
import "./stagger-BUClb97_.js";
|
|
106
106
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DuWs0Aak.js";
|
|
107
107
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
108
|
-
import "./plugin-registry-
|
|
109
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
108
|
+
import "./plugin-registry-MahBcTZy.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-hRv5uC1D.js";
|
|
110
110
|
import { t as hasExplicitOptions } from "./command-options-BtDai3oC.js";
|
|
111
111
|
import "./note-DeHoW7xO.js";
|
|
112
112
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
@@ -116,7 +116,7 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
116
116
|
import "./npm-registry-spec-C2JDdSZS.js";
|
|
117
117
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
118
118
|
import "./installs-C1Cebk97.js";
|
|
119
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
119
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BK5dg-gk.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-yMTbSphL.js";
|
|
121
121
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
122
122
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs/promises";
|
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket
|
|
13
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
14
14
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -178,7 +178,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
178
178
|
let nextExtensionId = 1;
|
|
179
179
|
const sendToExtension = async (payload) => {
|
|
180
180
|
const ws = extensionWs;
|
|
181
|
-
if (!ws || ws.readyState !== WebSocket
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
182
182
|
ws.send(JSON.stringify(payload));
|
|
183
183
|
return await new Promise((resolve, reject) => {
|
|
184
184
|
const timer = setTimeout(() => {
|
|
@@ -195,12 +195,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
195
195
|
const broadcastToCdpClients = (evt) => {
|
|
196
196
|
const msg = JSON.stringify(evt);
|
|
197
197
|
for (const ws of cdpClients) {
|
|
198
|
-
if (ws.readyState !== WebSocket
|
|
198
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket
|
|
203
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
204
204
|
ws.send(JSON.stringify(res));
|
|
205
205
|
};
|
|
206
206
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -425,7 +425,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
425
425
|
wssExtension.on("connection", (ws) => {
|
|
426
426
|
extensionWs = ws;
|
|
427
427
|
const ping = setInterval(() => {
|
|
428
|
-
if (ws.readyState !== WebSocket
|
|
428
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
429
429
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
430
430
|
}, 5e3);
|
|
431
431
|
ws.on("message", (data) => {
|
|
@@ -743,7 +743,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
743
743
|
}
|
|
744
744
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
745
745
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
746
|
-
const ws = new WebSocket
|
|
746
|
+
const ws = new WebSocket(wsUrl, {
|
|
747
747
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
748
748
|
...Object.keys(headers).length ? { headers } : {}
|
|
749
749
|
});
|
|
@@ -1637,7 +1637,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1637
1637
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1638
1638
|
return await new Promise((resolve) => {
|
|
1639
1639
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1640
|
-
const ws = new WebSocket
|
|
1640
|
+
const ws = new WebSocket(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -9,7 +9,7 @@ import os from "node:os";
|
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket
|
|
12
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
13
13
|
|
|
14
14
|
//#region src/browser/constants.ts
|
|
15
15
|
const DEFAULT_SYMI_BROWSER_ENABLED = true;
|
|
@@ -123,7 +123,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
123
123
|
let nextExtensionId = 1;
|
|
124
124
|
const sendToExtension = async (payload) => {
|
|
125
125
|
const ws = extensionWs;
|
|
126
|
-
if (!ws || ws.readyState !== WebSocket
|
|
126
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
127
127
|
ws.send(JSON.stringify(payload));
|
|
128
128
|
return await new Promise((resolve, reject) => {
|
|
129
129
|
const timer = setTimeout(() => {
|
|
@@ -140,12 +140,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
140
140
|
const broadcastToCdpClients = (evt) => {
|
|
141
141
|
const msg = JSON.stringify(evt);
|
|
142
142
|
for (const ws of cdpClients) {
|
|
143
|
-
if (ws.readyState !== WebSocket
|
|
143
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
144
144
|
ws.send(msg);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
const sendResponseToCdp = (ws, res) => {
|
|
148
|
-
if (ws.readyState !== WebSocket
|
|
148
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
149
149
|
ws.send(JSON.stringify(res));
|
|
150
150
|
};
|
|
151
151
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -370,7 +370,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
370
370
|
wssExtension.on("connection", (ws) => {
|
|
371
371
|
extensionWs = ws;
|
|
372
372
|
const ping = setInterval(() => {
|
|
373
|
-
if (ws.readyState !== WebSocket
|
|
373
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
374
374
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
375
375
|
}, 5e3);
|
|
376
376
|
ws.on("message", (data) => {
|
|
@@ -688,7 +688,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
688
688
|
}
|
|
689
689
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
690
690
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
691
|
-
const ws = new WebSocket
|
|
691
|
+
const ws = new WebSocket(wsUrl, {
|
|
692
692
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
693
693
|
...Object.keys(headers).length ? { headers } : {}
|
|
694
694
|
});
|
|
@@ -1555,7 +1555,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1555
1555
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1556
1556
|
return await new Promise((resolve) => {
|
|
1557
1557
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1558
|
-
const ws = new WebSocket
|
|
1558
|
+
const ws = new WebSocket(wsUrl, {
|
|
1559
1559
|
handshakeTimeout: timeoutMs,
|
|
1560
1560
|
...Object.keys(headers).length ? { headers } : {}
|
|
1561
1561
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { gt as loadSymiPlugins } from "./reply-
|
|
4
|
+
import { gt as loadSymiPlugins } from "./reply-DHEXU7Cn.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -14,19 +14,19 @@ import "./message-channel-aT-I_DTX.js";
|
|
|
14
14
|
import "./send-CpxUlSq0.js";
|
|
15
15
|
import { i as loadConfig } from "./config-BQmJMIWv.js";
|
|
16
16
|
import "./manifest-registry-C4BxOMWX.js";
|
|
17
|
-
import "./runner-
|
|
18
|
-
import "./image-
|
|
17
|
+
import "./runner-h5ZwP1Uj.js";
|
|
18
|
+
import "./image-yg__zJJR.js";
|
|
19
19
|
import "./models-config-DQTsmVR2.js";
|
|
20
20
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
22
|
-
import "./sandbox-
|
|
23
|
-
import "./chrome-
|
|
21
|
+
import "./pi-embedded-helpers-khMH03FT.js";
|
|
22
|
+
import "./sandbox-B47UASus.js";
|
|
23
|
+
import "./chrome-KILXYAkl.js";
|
|
24
24
|
import "./tailscale-D5dKabOc.js";
|
|
25
25
|
import "./auth-B741uFtk.js";
|
|
26
|
-
import "./server-context-
|
|
26
|
+
import "./server-context-DfM0b6MD.js";
|
|
27
27
|
import "./frontmatter-DWQhtOo7.js";
|
|
28
28
|
import "./skills-6jdJQ5ZL.js";
|
|
29
|
-
import "./routes-
|
|
29
|
+
import "./routes-Bqu4HRi8.js";
|
|
30
30
|
import "./redact-f-Q-hFt_.js";
|
|
31
31
|
import "./errors-BF3TeRH2.js";
|
|
32
32
|
import "./fs-safe-CUjO1ca2.js";
|
|
@@ -52,10 +52,10 @@ import "./fetch-guard-DOPkVbh3.js";
|
|
|
52
52
|
import "./api-key-rotation-CVUq_rfN.js";
|
|
53
53
|
import "./local-roots-aAFLQGkY.js";
|
|
54
54
|
import "./sqlite-Dx3J_aSE.js";
|
|
55
|
-
import "./model-catalog-
|
|
55
|
+
import "./model-catalog-Cr_E1v1f.js";
|
|
56
56
|
import "./tokens-BuceUQDl.js";
|
|
57
|
-
import "./with-timeout-
|
|
58
|
-
import "./deliver-
|
|
57
|
+
import "./with-timeout-DAAdYGLS.js";
|
|
58
|
+
import "./deliver-ezw61fxU.js";
|
|
59
59
|
import "./diagnostic-DjBRPfu9.js";
|
|
60
60
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
61
61
|
import "./send-YsPVgB2E.js";
|
|
@@ -71,8 +71,8 @@ import "./ir-DZam9q5M.js";
|
|
|
71
71
|
import "./render-CXDO_kgw.js";
|
|
72
72
|
import "./commands-BNLCWX6e.js";
|
|
73
73
|
import "./commands-registry-Km-DI95L.js";
|
|
74
|
-
import "./client-
|
|
75
|
-
import "./call-
|
|
74
|
+
import "./client-CQSyCS4M.js";
|
|
75
|
+
import "./call-CZPSJe5I.js";
|
|
76
76
|
import "./pairing-token-CX3NN_qj.js";
|
|
77
77
|
import "./channel-activity-BOiuJS3t.js";
|
|
78
78
|
import "./fetch-DTNGXEzX.js";
|
|
@@ -92,13 +92,13 @@ import "./outbound-attachment-D_QuKi8U.js";
|
|
|
92
92
|
import "./delivery-queue-Df1uodAG.js";
|
|
93
93
|
import "./session-cost-usage-BG4AXrGN.js";
|
|
94
94
|
import "./send-p1qmy2uO.js";
|
|
95
|
-
import "./onboard-helpers-
|
|
95
|
+
import "./onboard-helpers-DN1zuxEX.js";
|
|
96
96
|
import "./prompt-style-8JqOYj0q.js";
|
|
97
97
|
import "./pairing-labels-Lc04d2Gd.js";
|
|
98
98
|
import "./exec-approvals-Kn31mBcW.js";
|
|
99
99
|
import "./nodes-screen-VBGXKdLk.js";
|
|
100
|
-
import "./pi-tools.policy-
|
|
101
|
-
import "./control-service-
|
|
100
|
+
import "./pi-tools.policy-YJHLQVvu.js";
|
|
101
|
+
import "./control-service-DPKlnETj.js";
|
|
102
102
|
import "./stagger-BUClb97_.js";
|
|
103
103
|
import "./channel-selection-DuWs0Aak.js";
|
|
104
104
|
|
|
@@ -8,7 +8,7 @@ import fs from "node:fs";
|
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto, { randomUUID } from "node:crypto";
|
|
10
10
|
import AjvPkg from "ajv";
|
|
11
|
-
import { WebSocket } from "ws";
|
|
11
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
12
12
|
import { Type } from "@sinclair/typebox";
|
|
13
13
|
|
|
14
14
|
//#region src/infra/device-identity.ts
|
|
@@ -1968,7 +1968,7 @@ var GatewayClient = class {
|
|
|
1968
1968
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
1969
1969
|
});
|
|
1970
1970
|
}
|
|
1971
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
1971
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
1972
1972
|
this.ws.on("open", () => {
|
|
1973
1973
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
1974
1974
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -2187,7 +2187,7 @@ var GatewayClient = class {
|
|
|
2187
2187
|
return null;
|
|
2188
2188
|
}
|
|
2189
2189
|
async request(method, params, opts) {
|
|
2190
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
2190
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
2191
2191
|
const id = randomUUID();
|
|
2192
2192
|
const frame = {
|
|
2193
2193
|
type: "req",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-BjV226TL.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-tWu8xDXn.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-CWKWzaka.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-DHzbNI1J.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-ymLH6wEd.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-BjV226TL.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CJT_eUrJ.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-CqzR_m-7.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -206,7 +206,7 @@ async function runConfigUnset(opts) {
|
|
|
206
206
|
}
|
|
207
207
|
function registerConfigCli(program) {
|
|
208
208
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
209
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
209
|
+
const { configureCommandFromSectionsArg } = await import("./configure-BktcEJpM.js").then((n) => n.t);
|
|
210
210
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
211
211
|
});
|
|
212
212
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|