clawbrah 1.0.1 → 1.0.2
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/README.md +8 -0
- package/dist/{acp-cli-BnKXNti3.js → acp-cli-CcucTH3-.js} +2 -2
- package/dist/{agent-BIxLfYkv.js → agent-Dtt33y4K.js} +5 -5
- package/dist/{audit-DK1NXsUR.js → audit-XCSjij3p.js} +5 -5
- package/dist/build-info.json +2 -2
- package/dist/{call-B0EB11Hz.js → call-BCKAcENU.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DLVRytYw.js → channel-options-CtT-DYGS.js} +1 -1
- package/dist/{channel-summary-ECvQTB5n.js → channel-summary-DdBFUMut.js} +2 -2
- package/dist/{channels-cli-NW8TfhTG.js → channels-cli-BpWN37TL.js} +16 -16
- package/dist/{chrome-4hKxr5KT.js → chrome-YyXlpRHF.js} +7 -7
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CBWZx_9K.js → cli-CBRgCv0e.js} +14 -14
- package/dist/{client-to8eMV2s.js → client-B0XbrmGE.js} +3 -3
- package/dist/{completion-cli-BO3ziRR1.js → completion-cli-AvBp6AtM.js} +20 -20
- package/dist/{completion-cli-xQqLK_Ni.js → completion-cli-BJDSqY7E.js} +1 -1
- package/dist/{config-guard-CKr985of.js → config-guard-CZUUTZtP.js} +3 -3
- package/dist/{configure-tZw988ro.js → configure-D4Ol2sJ7.js} +4 -4
- package/dist/{control-service-Dssk9Kaa.js → control-service-CcBK8tVJ.js} +3 -3
- package/dist/control-ui/assets/{index-Dm6g1E26.js → index-D0ToVTL2.js} +73 -73
- package/dist/control-ui/assets/index-D0ToVTL2.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{cron-cli-B-LWRLK-.js → cron-cli-oVmbA9m3.js} +3 -3
- package/dist/{daemon-cli-CatDQvXp.js → daemon-cli-BTUVzdFV.js} +5 -5
- package/dist/{deliver-BBwjenkx.js → deliver-BL3iTzV7.js} +3 -3
- package/dist/{deps-NlR-vxlh.js → deps-DwFGYEfo.js} +2 -2
- package/dist/{devices-cli-_rugjRme.js → devices-cli-Dh1zQEai.js} +2 -2
- package/dist/{dispatcher-DOZGzrqb.js → dispatcher-BxDtNwSF.js} +1 -1
- package/dist/{doctor-CdqmZxrK.js → doctor-Cd7vdP5c.js} +1 -1
- package/dist/{doctor-DdHvLQSW.js → doctor-CxJU9o8E.js} +7 -7
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BGB1TyrS.js → exec-approvals-cli-cNZ2kj5G.js} +4 -4
- package/dist/{gateway-cli-Dm6fyKOW.js → gateway-cli-BNemVjwo.js} +19 -12
- package/dist/{gateway-cli-Ctozr1Nr.js → gateway-cli-BqqJby05.js} +43 -36
- package/dist/{gateway-rpc-DIBI9dZU.js → gateway-rpc-Cr07mZlu.js} +1 -1
- package/dist/{github-copilot-auth-CWMgcPFb.js → github-copilot-auth-CrVdsllh.js} +2 -2
- package/dist/{health-format-rvKQDZAe.js → health-format-DnQrmi90.js} +5 -5
- package/dist/{hooks-cli-Dk70ZlpQ.js → hooks-cli-DWEqzkp9.js} +15 -15
- package/dist/{image-fscCHaO2.js → image-D_5DXfCx.js} +1 -1
- package/dist/index.js +30 -30
- package/dist/{logs-cli-GIy-ReUJ.js → logs-cli-y18fKF21.js} +3 -3
- package/dist/{models-cli-BD-etPw9.js → models-cli-DanWmMCK.js} +15 -15
- package/dist/{node-cli-nnREUTNh.js → node-cli-DFGB6c29.js} +6 -6
- package/dist/{nodes-cli-C1KLCUgY.js → nodes-cli-B-CYGxk4.js} +3 -3
- package/dist/{onboard-channels--6mZlRdm.js → onboard-channels-BXvAgRr8.js} +1 -1
- package/dist/{onboard-skills-CKh0otKb.js → onboard-skills-Bi8vfuv9.js} +4 -4
- package/dist/{onboarding-C9T4fYdo.js → onboarding-gM1r4cd0.js} +12 -12
- package/dist/{pi-embedded-helpers-R5an9K5m.js → pi-embedded-helpers-C3JoQd_r.js} +2 -2
- package/dist/{pi-tools.policy-6uFIt3Ju.js → pi-tools.policy-UzfyMWa2.js} +1 -1
- package/dist/{plugins-cli-FsBHhKXs.js → plugins-cli-BEi-kDPv.js} +15 -15
- package/dist/{program-Tlz-_XHE.js → program-yY-4nnFP.js} +6 -6
- package/dist/{pw-ai-DRdnHJHd.js → pw-ai-C2z1o0vq.js} +1 -1
- package/dist/{register.subclis-Buhb02qd.js → register.subclis-CrzjDv0H.js} +3 -3
- package/dist/{reply-E1ga4GXi.js → reply-CuxaWVob.js} +15 -15
- package/dist/{routes-f7Edit7G.js → routes-D9Iafxku.js} +2 -2
- package/dist/{rpc-CGmdslK7.js → rpc-CCNQAZlJ.js} +1 -1
- package/dist/{run-main-7eydAwGv.js → run-main-CAI5BiMw.js} +8 -8
- package/dist/{sandbox-B4M0ryQ9.js → sandbox-AKDe5dkQ.js} +3 -3
- package/dist/{sandbox-cli-CoTcXRmo.js → sandbox-cli-DCLF09ZP.js} +4 -4
- package/dist/{security-cli-B_s4Rfs1.js → security-cli-CwgI6uQv.js} +8 -8
- package/dist/{server-context-BqWI0WDa.js → server-context-Cnep00Hq.js} +4 -4
- package/dist/{server-node-events-DXWeo9KB.js → server-node-events-Cb8AP2Lo.js} +16 -16
- package/dist/{status-BH22yQwC.js → status-PDg9fMff.js} +1 -1
- package/dist/{status-C09l2YXY.js → status-pc_aNqHa.js} +2 -2
- package/dist/{system-cli-DEm78jPM.js → system-cli-CHu5cmH5.js} +3 -3
- package/dist/{tui-M4SDqVBr.js → tui-B2ZEdepW.js} +4 -4
- package/dist/{tui-cli-DM2GolnA.js → tui-cli-DuluR3sM.js} +9 -9
- package/dist/{update-cli-Bfsx9UKw.js → update-cli-CRhNpoV5.js} +4 -4
- package/dist/{update-cli-DoiUKlNw.js → update-cli-DuendAEY.js} +20 -20
- package/dist/{update-runner-LPAHTmXu.js → update-runner-CXRmW-Uy.js} +1 -1
- package/dist/{update-runner-_TG-7dl6.js → update-runner-sVyFnQ5i.js} +3 -3
- package/extensions/brah-sync/index.ts +5 -4
- package/package.json +2 -2
- package/dist/control-ui/assets/index-Dm6g1E26.js.map +0 -1
package/README.md
CHANGED
|
@@ -76,6 +76,14 @@ clawbrah onboard --brah --accept-risk
|
|
|
76
76
|
clawbrah onboard --brah --brah-api-key "your-key" --brah-tracker-url "https://tracker.example.com" --accept-risk
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
+
### Gateway dashboard (Control UI)
|
|
80
|
+
|
|
81
|
+
After running `clawbrah gateway`, open **http://127.0.0.1:18789** in your browser. If the dashboard shows **"gateway token missing"** or "unauthorized":
|
|
82
|
+
|
|
83
|
+
1. Get the token: `clawbrah config get gateway.auth.token`
|
|
84
|
+
(If empty, generate one: `clawbrah doctor --generate-gateway-token`.)
|
|
85
|
+
2. In the dashboard, open **Settings**, paste the token into **Gateway Token**, then connect.
|
|
86
|
+
|
|
79
87
|
### Environment variables
|
|
80
88
|
|
|
81
89
|
| Variable | Description | Default |
|
|
@@ -13,8 +13,8 @@ import "./env-YhBsuZYR.js";
|
|
|
13
13
|
import { i as loadConfig, j as VERSION } from "./config-JJ_qstMV.js";
|
|
14
14
|
import "./manifest-registry-CWVhL1Tp.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C0Y-pfV3.js";
|
|
16
|
-
import { t as GatewayClient } from "./client-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { t as GatewayClient } from "./client-B0XbrmGE.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-BCKAcENU.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-DPN-zsft.js";
|
|
19
19
|
import "./tailscale-Csps5HaJ.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-BI9IbomE.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-
|
|
2
|
-
import { A as resolveOutboundTarget, Cn as AGENT_LANE_NESTED, F as runWithModelFallback, Ir as resolveAgentTimeoutMs, Kt as getSkillsSnapshotVersion, Nt as getRemoteSkillEligibility, On as registerAgentRunContext, Tn as emitAgentEvent, c as runEmbeddedPiAgent, gr as applyVerboseOverride, hr as applyModelOverrideToSessionEntry, i as runCliAgent, j as resolveSessionDeliveryTarget, mr as clearSessionAuthProfileOverride, n as getCliSessionId, o as resolveSendPolicy, pr as lookupContextTokens, r as setCliSessionId, wn as clearAgentRunContext, xr as loadModelCatalog } from "./reply-
|
|
1
|
+
import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-C3JoQd_r.js";
|
|
2
|
+
import { A as resolveOutboundTarget, Cn as AGENT_LANE_NESTED, F as runWithModelFallback, Ir as resolveAgentTimeoutMs, Kt as getSkillsSnapshotVersion, Nt as getRemoteSkillEligibility, On as registerAgentRunContext, Tn as emitAgentEvent, c as runEmbeddedPiAgent, gr as applyVerboseOverride, hr as applyModelOverrideToSessionEntry, i as runCliAgent, j as resolveSessionDeliveryTarget, mr as clearSessionAuthProfileOverride, n as getCliSessionId, o as resolveSendPolicy, pr as lookupContextTokens, r as setCliSessionId, wn as clearAgentRunContext, xr as loadModelCatalog } from "./reply-CuxaWVob.js";
|
|
3
3
|
import { c as normalizeAgentId, l as normalizeMainKey, u as resolveAgentIdFromSessionKey } from "./session-key-Dm2EOhrH.js";
|
|
4
4
|
import { d as DEFAULT_CHAT_CHANNEL, s as defaultRuntime } from "./subsystem-MZJ7YwGv.js";
|
|
5
5
|
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-BCxtHmMP.js";
|
|
@@ -7,13 +7,13 @@ import { a as isCliProvider, bt as DEFAULT_PROVIDER, d as resolveConfiguredModel
|
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-B96YFpq4.js";
|
|
8
8
|
import { i as loadConfig } from "./config-JJ_qstMV.js";
|
|
9
9
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-09ktk12_.js";
|
|
10
|
-
import { A as resolveSessionResetPolicy, D as resolveSessionKey, I as resolveExplicitAgentSessionKey, O as evaluateSessionFreshness, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, j as resolveSessionResetType, k as resolveChannelResetConfig } from "./sandbox-
|
|
10
|
+
import { A as resolveSessionResetPolicy, D as resolveSessionKey, I as resolveExplicitAgentSessionKey, O as evaluateSessionFreshness, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, j as resolveSessionResetType, k as resolveChannelResetConfig } from "./sandbox-AKDe5dkQ.js";
|
|
11
11
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-iqJKhB3Q.js";
|
|
12
12
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-C0Y-pfV3.js";
|
|
13
13
|
import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-DoU2wF-8.js";
|
|
14
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
14
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-BL3iTzV7.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-hz41m3rR.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-DwFGYEfo.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -6,14 +6,14 @@ import { t as formatCliCommand } from "./command-format-B96YFpq4.js";
|
|
|
6
6
|
import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, r as createConfigIO } from "./config-JJ_qstMV.js";
|
|
7
7
|
import { a as MANIFEST_KEY } from "./manifest-registry-CWVhL1Tp.js";
|
|
8
8
|
import { n as listChannelPlugins } from "./plugins-09ktk12_.js";
|
|
9
|
-
import { $ as resolveSandboxToolPolicyForAgent, Z as resolveSandboxConfigForAgent, ot as resolveToolProfilePolicy } from "./sandbox-
|
|
9
|
+
import { $ as resolveSandboxToolPolicyForAgent, Z as resolveSandboxConfigForAgent, ot as resolveToolProfilePolicy } from "./sandbox-AKDe5dkQ.js";
|
|
10
10
|
import { i as loadWorkspaceSkillEntries } from "./skills-iqJKhB3Q.js";
|
|
11
|
-
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-Cnep00Hq.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C0Y-pfV3.js";
|
|
13
|
-
import { t as GatewayClient } from "./client-
|
|
14
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
13
|
+
import { t as GatewayClient } from "./client-B0XbrmGE.js";
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-BCKAcENU.js";
|
|
15
15
|
import { i as readChannelAllowFromStore } from "./pairing-store-DfYWlf47.js";
|
|
16
|
-
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-
|
|
16
|
+
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-UzfyMWa2.js";
|
|
17
17
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CcHGV820.js";
|
|
18
18
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BSMluzCy.js";
|
|
19
19
|
import { i as resolveGatewayAuth } from "./auth-BPnkbfof.js";
|
package/dist/build-info.json
CHANGED
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort }
|
|
|
2
2
|
import { g as shortenHomeInString, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-DZrCbm8I.js";
|
|
3
3
|
import { i as loadConfig } from "./config-JJ_qstMV.js";
|
|
4
4
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C0Y-pfV3.js";
|
|
5
|
-
import { Ct as PROTOCOL_VERSION, jt as loadOrCreateDeviceIdentity, kt as normalizeFingerprint, t as GatewayClient } from "./client-
|
|
5
|
+
import { Ct as PROTOCOL_VERSION, jt as loadOrCreateDeviceIdentity, kt as normalizeFingerprint, t as GatewayClient } from "./client-B0XbrmGE.js";
|
|
6
6
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-PJSFUYzh.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b9679cc5436eb36ae47d67b07fe4a87cb104d6e08944f5066815a77c64ecd5e2
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { rt as loadOpenClawPlugins } from "./reply-
|
|
1
|
+
import { rt as loadOpenClawPlugins } from "./reply-CuxaWVob.js";
|
|
2
2
|
import { t as createSubsystemLogger, u as CHAT_CHANNEL_ORDER } from "./subsystem-MZJ7YwGv.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-BCxtHmMP.js";
|
|
4
4
|
import { t as isTruthyEnvValue } from "./env-YhBsuZYR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-
|
|
1
|
+
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-C3JoQd_r.js";
|
|
2
2
|
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-Dm2EOhrH.js";
|
|
3
3
|
import { y as getActivePluginRegistry } from "./subsystem-MZJ7YwGv.js";
|
|
4
4
|
import { c as theme } from "./ansi-Dslhk-pR.js";
|
|
5
5
|
import { bt as DEFAULT_PROVIDER, d as resolveConfiguredModelRef, yt as DEFAULT_MODEL } from "./model-selection-BtrQIp5S.js";
|
|
6
6
|
import { i as loadConfig } from "./config-JJ_qstMV.js";
|
|
7
7
|
import { n as listChannelPlugins } from "./plugins-09ktk12_.js";
|
|
8
|
-
import { H as listChannelDocks } from "./sandbox-
|
|
8
|
+
import { H as listChannelDocks } from "./sandbox-AKDe5dkQ.js";
|
|
9
9
|
import { n as formatTokenCount } from "./usage-format-C0mOZv3Q.js";
|
|
10
10
|
|
|
11
11
|
//#region src/auto-reply/commands-args.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { Mn as createSlackWebClient, at as formatUsageReportLines, gn as fetchChannelPermissionsDiscord, hn as parseDiscordTarget, it as loadProviderUsageSummary } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-C3JoQd_r.js";
|
|
2
|
+
import { Mn as createSlackWebClient, at as formatUsageReportLines, gn as fetchChannelPermissionsDiscord, hn as parseDiscordTarget, it as loadProviderUsageSummary } from "./reply-CuxaWVob.js";
|
|
3
3
|
import "./paths-scjhy7N2.js";
|
|
4
4
|
import { s as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-Dm2EOhrH.js";
|
|
5
5
|
import { O as setVerbose, P as getResolvedLoggerSettings, S as danger, d as DEFAULT_CHAT_CHANNEL, s as defaultRuntime } from "./subsystem-MZJ7YwGv.js";
|
|
@@ -16,49 +16,49 @@ import "./env-YhBsuZYR.js";
|
|
|
16
16
|
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-JJ_qstMV.js";
|
|
17
17
|
import "./manifest-registry-CWVhL1Tp.js";
|
|
18
18
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-09ktk12_.js";
|
|
19
|
-
import "./sandbox-
|
|
20
|
-
import "./image-
|
|
19
|
+
import "./sandbox-AKDe5dkQ.js";
|
|
20
|
+
import "./image-D_5DXfCx.js";
|
|
21
21
|
import "./pi-model-discovery-CmCpGwer.js";
|
|
22
|
-
import "./chrome-
|
|
22
|
+
import "./chrome-YyXlpRHF.js";
|
|
23
23
|
import "./skills-iqJKhB3Q.js";
|
|
24
|
-
import "./routes-
|
|
25
|
-
import "./server-context-
|
|
24
|
+
import "./routes-D9Iafxku.js";
|
|
25
|
+
import "./server-context-Cnep00Hq.js";
|
|
26
26
|
import "./message-channel-C0Y-pfV3.js";
|
|
27
27
|
import "./logging-BzvBIA3Y.js";
|
|
28
28
|
import "./accounts-CjPkmYhF.js";
|
|
29
29
|
import "./paths-DoU2wF-8.js";
|
|
30
30
|
import "./redact-DAKeu7PA.js";
|
|
31
31
|
import "./tool-display-B-D4P2Fx.js";
|
|
32
|
-
import "./deliver-
|
|
33
|
-
import "./dispatcher-
|
|
32
|
+
import "./deliver-BL3iTzV7.js";
|
|
33
|
+
import "./dispatcher-BxDtNwSF.js";
|
|
34
34
|
import "./manager-DYwowaGP.js";
|
|
35
35
|
import "./sqlite-wME36UET.js";
|
|
36
|
-
import { n as formatAge } from "./channel-summary-
|
|
37
|
-
import "./client-
|
|
38
|
-
import { n as callGateway } from "./call-
|
|
36
|
+
import { n as formatAge } from "./channel-summary-DdBFUMut.js";
|
|
37
|
+
import "./client-B0XbrmGE.js";
|
|
38
|
+
import { n as callGateway } from "./call-BCKAcENU.js";
|
|
39
39
|
import "./login-qr-AehM-U7T.js";
|
|
40
40
|
import "./pairing-store-DfYWlf47.js";
|
|
41
41
|
import { t as formatDocsLink } from "./links-DPN-zsft.js";
|
|
42
42
|
import { r as runCommandWithRuntime } from "./cli-utils-Yv4G3uEz.js";
|
|
43
43
|
import { n as withProgress } from "./progress-DsH6InCn.js";
|
|
44
|
-
import "./pi-tools.policy-
|
|
44
|
+
import "./pi-tools.policy-UzfyMWa2.js";
|
|
45
45
|
import "./prompt-style-XexlH5fB.js";
|
|
46
46
|
import "./pairing-labels-uGmG1FM-.js";
|
|
47
47
|
import "./session-cost-usage-hz41m3rR.js";
|
|
48
48
|
import "./nodes-screen-D9YOHKnK.js";
|
|
49
|
-
import "./control-service-
|
|
49
|
+
import "./control-service-CcBK8tVJ.js";
|
|
50
50
|
import "./constants-AeetkqWc.js";
|
|
51
51
|
import { n as resolveMessageChannelSelection } from "./channel-selection-BE7PqmOC.js";
|
|
52
52
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CcHGV820.js";
|
|
53
53
|
import "./note-DGwSQRou.js";
|
|
54
54
|
import { n as createClackPrompter } from "./clack-prompter-CJZpapQF.js";
|
|
55
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels
|
|
55
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-BXvAgRr8.js";
|
|
56
56
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-C5fXErMQ.js";
|
|
57
57
|
import "./archive-CCWYT_Aq.js";
|
|
58
58
|
import "./skill-scanner-BSMluzCy.js";
|
|
59
59
|
import "./installs-OI3UrTrZ.js";
|
|
60
60
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BiIcz4nz.js";
|
|
61
|
-
import { i as hasExplicitOptions, t as formatCliChannelOptions } from "./channel-options-
|
|
61
|
+
import { i as hasExplicitOptions, t as formatCliChannelOptions } from "./channel-options-CtT-DYGS.js";
|
|
62
62
|
import { t as buildChannelAccountSnapshot } from "./status-C_dMhoE0.js";
|
|
63
63
|
import { t as parseLogLine } from "./parse-log-line-BuRiE-Ij.js";
|
|
64
64
|
import fs from "node:fs/promises";
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs/promises";
|
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import { randomBytes } from "node:crypto";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket
|
|
13
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
14
14
|
import net from "node:net";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -127,7 +127,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
127
127
|
let nextExtensionId = 1;
|
|
128
128
|
const sendToExtension = async (payload) => {
|
|
129
129
|
const ws = extensionWs;
|
|
130
|
-
if (!ws || ws.readyState !== WebSocket
|
|
130
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
131
131
|
ws.send(JSON.stringify(payload));
|
|
132
132
|
return await new Promise((resolve, reject) => {
|
|
133
133
|
const timer = setTimeout(() => {
|
|
@@ -144,12 +144,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
144
144
|
const broadcastToCdpClients = (evt) => {
|
|
145
145
|
const msg = JSON.stringify(evt);
|
|
146
146
|
for (const ws of cdpClients) {
|
|
147
|
-
if (ws.readyState !== WebSocket
|
|
147
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
148
148
|
ws.send(msg);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
const sendResponseToCdp = (ws, res) => {
|
|
152
|
-
if (ws.readyState !== WebSocket
|
|
152
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
153
153
|
ws.send(JSON.stringify(res));
|
|
154
154
|
};
|
|
155
155
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -369,7 +369,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
369
369
|
wssExtension.on("connection", (ws) => {
|
|
370
370
|
extensionWs = ws;
|
|
371
371
|
const ping = setInterval(() => {
|
|
372
|
-
if (ws.readyState !== WebSocket
|
|
372
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
373
373
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
374
374
|
}, 5e3);
|
|
375
375
|
ws.on("message", (data) => {
|
|
@@ -666,7 +666,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
666
666
|
}
|
|
667
667
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
668
668
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
669
|
-
const ws = new WebSocket
|
|
669
|
+
const ws = new WebSocket(wsUrl, {
|
|
670
670
|
handshakeTimeout: 5e3,
|
|
671
671
|
...Object.keys(headers).length ? { headers } : {}
|
|
672
672
|
});
|
|
@@ -1828,7 +1828,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1828
1828
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1829
1829
|
return await new Promise((resolve) => {
|
|
1830
1830
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1831
|
-
const ws = new WebSocket
|
|
1831
|
+
const ws = new WebSocket(wsUrl, {
|
|
1832
1832
|
handshakeTimeout: timeoutMs,
|
|
1833
1833
|
...Object.keys(headers).length ? { headers } : {}
|
|
1834
1834
|
});
|
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
export { registerDaemonCli, runDaemonInstall, runDaemonRestart, runDaemonStart, runDaemonStatus, runDaemonStop, runDaemonUninstall } from "../daemon-cli-
|
|
2
|
+
export { registerDaemonCli, runDaemonInstall, runDaemonRestart, runDaemonStart, runDaemonStatus, runDaemonStop, runDaemonUninstall } from "../daemon-cli-BTUVzdFV.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { rt as loadOpenClawPlugins } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-C3JoQd_r.js";
|
|
2
|
+
import { rt as loadOpenClawPlugins } from "./reply-CuxaWVob.js";
|
|
3
3
|
import "./paths-scjhy7N2.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-MZJ7YwGv.js";
|
|
5
5
|
import "./ansi-Dslhk-pR.js";
|
|
@@ -15,36 +15,36 @@ import "./env-YhBsuZYR.js";
|
|
|
15
15
|
import { i as loadConfig } from "./config-JJ_qstMV.js";
|
|
16
16
|
import "./manifest-registry-CWVhL1Tp.js";
|
|
17
17
|
import "./plugins-09ktk12_.js";
|
|
18
|
-
import "./sandbox-
|
|
19
|
-
import "./image-
|
|
18
|
+
import "./sandbox-AKDe5dkQ.js";
|
|
19
|
+
import "./image-D_5DXfCx.js";
|
|
20
20
|
import "./pi-model-discovery-CmCpGwer.js";
|
|
21
|
-
import "./chrome-
|
|
21
|
+
import "./chrome-YyXlpRHF.js";
|
|
22
22
|
import "./skills-iqJKhB3Q.js";
|
|
23
|
-
import "./routes-
|
|
24
|
-
import "./server-context-
|
|
23
|
+
import "./routes-D9Iafxku.js";
|
|
24
|
+
import "./server-context-Cnep00Hq.js";
|
|
25
25
|
import "./message-channel-C0Y-pfV3.js";
|
|
26
26
|
import "./logging-BzvBIA3Y.js";
|
|
27
27
|
import "./accounts-CjPkmYhF.js";
|
|
28
28
|
import "./paths-DoU2wF-8.js";
|
|
29
29
|
import "./redact-DAKeu7PA.js";
|
|
30
30
|
import "./tool-display-B-D4P2Fx.js";
|
|
31
|
-
import "./deliver-
|
|
32
|
-
import "./dispatcher-
|
|
31
|
+
import "./deliver-BL3iTzV7.js";
|
|
32
|
+
import "./dispatcher-BxDtNwSF.js";
|
|
33
33
|
import "./manager-DYwowaGP.js";
|
|
34
34
|
import "./sqlite-wME36UET.js";
|
|
35
|
-
import "./channel-summary-
|
|
36
|
-
import "./client-
|
|
37
|
-
import "./call-
|
|
35
|
+
import "./channel-summary-DdBFUMut.js";
|
|
36
|
+
import "./client-B0XbrmGE.js";
|
|
37
|
+
import "./call-BCKAcENU.js";
|
|
38
38
|
import "./login-qr-AehM-U7T.js";
|
|
39
39
|
import "./pairing-store-DfYWlf47.js";
|
|
40
40
|
import "./links-DPN-zsft.js";
|
|
41
41
|
import "./progress-DsH6InCn.js";
|
|
42
|
-
import "./pi-tools.policy-
|
|
42
|
+
import "./pi-tools.policy-UzfyMWa2.js";
|
|
43
43
|
import "./prompt-style-XexlH5fB.js";
|
|
44
44
|
import "./pairing-labels-uGmG1FM-.js";
|
|
45
45
|
import "./session-cost-usage-hz41m3rR.js";
|
|
46
46
|
import "./nodes-screen-D9YOHKnK.js";
|
|
47
|
-
import "./control-service-
|
|
47
|
+
import "./control-service-CcBK8tVJ.js";
|
|
48
48
|
import "./constants-AeetkqWc.js";
|
|
49
49
|
import "./channel-selection-BE7PqmOC.js";
|
|
50
50
|
|
|
@@ -7,7 +7,7 @@ import path from "node:path";
|
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import crypto, { randomUUID } from "node:crypto";
|
|
9
9
|
import AjvPkg from "ajv";
|
|
10
|
-
import { WebSocket } from "ws";
|
|
10
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
11
11
|
import { Type } from "@sinclair/typebox";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/device-identity.ts
|
|
@@ -1387,7 +1387,7 @@ var GatewayClient = class {
|
|
|
1387
1387
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
1388
1388
|
});
|
|
1389
1389
|
}
|
|
1390
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
1390
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
1391
1391
|
this.ws.on("open", () => {
|
|
1392
1392
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
1393
1393
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -1591,7 +1591,7 @@ var GatewayClient = class {
|
|
|
1591
1591
|
return null;
|
|
1592
1592
|
}
|
|
1593
1593
|
async request(method, params, opts) {
|
|
1594
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
1594
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
1595
1595
|
const id = randomUUID();
|
|
1596
1596
|
const frame = {
|
|
1597
1597
|
type: "req",
|
|
@@ -117,91 +117,91 @@ const entries = [
|
|
|
117
117
|
name: "acp",
|
|
118
118
|
description: "Agent Control Protocol tools",
|
|
119
119
|
register: async (program) => {
|
|
120
|
-
(await import("./acp-cli-
|
|
120
|
+
(await import("./acp-cli-CcucTH3-.js")).registerAcpCli(program);
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-BqqJby05.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
name: "daemon",
|
|
132
132
|
description: "Gateway service (legacy alias)",
|
|
133
133
|
register: async (program) => {
|
|
134
|
-
(await import("./daemon-cli-
|
|
134
|
+
(await import("./daemon-cli-BTUVzdFV.js").then((n) => n.t)).registerDaemonCli(program);
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
name: "logs",
|
|
139
139
|
description: "Gateway logs",
|
|
140
140
|
register: async (program) => {
|
|
141
|
-
(await import("./logs-cli-
|
|
141
|
+
(await import("./logs-cli-y18fKF21.js")).registerLogsCli(program);
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
name: "system",
|
|
146
146
|
description: "System events, heartbeat, and presence",
|
|
147
147
|
register: async (program) => {
|
|
148
|
-
(await import("./system-cli-
|
|
148
|
+
(await import("./system-cli-CHu5cmH5.js")).registerSystemCli(program);
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
name: "models",
|
|
153
153
|
description: "Model configuration",
|
|
154
154
|
register: async (program) => {
|
|
155
|
-
(await import("./models-cli-
|
|
155
|
+
(await import("./models-cli-DanWmMCK.js")).registerModelsCli(program);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
name: "approvals",
|
|
160
160
|
description: "Exec approvals",
|
|
161
161
|
register: async (program) => {
|
|
162
|
-
(await import("./exec-approvals-cli-
|
|
162
|
+
(await import("./exec-approvals-cli-cNZ2kj5G.js")).registerExecApprovalsCli(program);
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
name: "nodes",
|
|
167
167
|
description: "Node commands",
|
|
168
168
|
register: async (program) => {
|
|
169
|
-
(await import("./nodes-cli-
|
|
169
|
+
(await import("./nodes-cli-B-CYGxk4.js")).registerNodesCli(program);
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
name: "devices",
|
|
174
174
|
description: "Device pairing + token management",
|
|
175
175
|
register: async (program) => {
|
|
176
|
-
(await import("./devices-cli-
|
|
176
|
+
(await import("./devices-cli-Dh1zQEai.js")).registerDevicesCli(program);
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
name: "node",
|
|
181
181
|
description: "Node control",
|
|
182
182
|
register: async (program) => {
|
|
183
|
-
(await import("./node-cli-
|
|
183
|
+
(await import("./node-cli-DFGB6c29.js")).registerNodeCli(program);
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
name: "sandbox",
|
|
188
188
|
description: "Sandbox tools",
|
|
189
189
|
register: async (program) => {
|
|
190
|
-
(await import("./sandbox-cli-
|
|
190
|
+
(await import("./sandbox-cli-DCLF09ZP.js")).registerSandboxCli(program);
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
name: "tui",
|
|
195
195
|
description: "Terminal UI",
|
|
196
196
|
register: async (program) => {
|
|
197
|
-
(await import("./tui-cli-
|
|
197
|
+
(await import("./tui-cli-DuluR3sM.js")).registerTuiCli(program);
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
name: "cron",
|
|
202
202
|
description: "Cron scheduler",
|
|
203
203
|
register: async (program) => {
|
|
204
|
-
(await import("./cron-cli-
|
|
204
|
+
(await import("./cron-cli-oVmbA9m3.js")).registerCronCli(program);
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
{
|
|
@@ -222,7 +222,7 @@ const entries = [
|
|
|
222
222
|
name: "hooks",
|
|
223
223
|
description: "Hooks tooling",
|
|
224
224
|
register: async (program) => {
|
|
225
|
-
(await import("./hooks-cli-
|
|
225
|
+
(await import("./hooks-cli-DWEqzkp9.js")).registerHooksCli(program);
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
{
|
|
@@ -236,7 +236,7 @@ const entries = [
|
|
|
236
236
|
name: "pairing",
|
|
237
237
|
description: "Pairing helpers",
|
|
238
238
|
register: async (program) => {
|
|
239
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
239
|
+
const { registerPluginCliCommands } = await import("./cli-CBRgCv0e.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-_nN81r25.js")).registerPairingCli(program);
|
|
242
242
|
}
|
|
@@ -245,8 +245,8 @@ const entries = [
|
|
|
245
245
|
name: "plugins",
|
|
246
246
|
description: "Plugin management",
|
|
247
247
|
register: async (program) => {
|
|
248
|
-
(await import("./plugins-cli-
|
|
249
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
248
|
+
(await import("./plugins-cli-BEi-kDPv.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-CBRgCv0e.js");
|
|
250
250
|
registerPluginCliCommands(program, await loadConfig());
|
|
251
251
|
}
|
|
252
252
|
},
|
|
@@ -254,7 +254,7 @@ const entries = [
|
|
|
254
254
|
name: "channels",
|
|
255
255
|
description: "Channel management",
|
|
256
256
|
register: async (program) => {
|
|
257
|
-
(await import("./channels-cli-
|
|
257
|
+
(await import("./channels-cli-BpWN37TL.js")).registerChannelsCli(program);
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
{
|
|
@@ -268,7 +268,7 @@ const entries = [
|
|
|
268
268
|
name: "security",
|
|
269
269
|
description: "Security helpers",
|
|
270
270
|
register: async (program) => {
|
|
271
|
-
(await import("./security-cli-
|
|
271
|
+
(await import("./security-cli-CwgI6uQv.js")).registerSecurityCli(program);
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
{
|
|
@@ -282,7 +282,7 @@ const entries = [
|
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-DuendAEY.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { X as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-CrzjDv0H.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -22,7 +22,7 @@ import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscrip
|
|
|
22
22
|
import { d as loadSessionStore } from "./sandbox-BO_Ngn9c.js";
|
|
23
23
|
import { r as runCommandWithRuntime } from "./cli-utils-EpvLL-7H.js";
|
|
24
24
|
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-CiVRXfHE.js";
|
|
25
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
25
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-CrzjDv0H.js";
|
|
26
26
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-D_jqdWkd.js";
|
|
27
27
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DiR8jxC9.js";
|
|
28
28
|
import { t as createDefaultDeps } from "./deps-CwIHF5Kq.js";
|
|
@@ -34,12 +34,12 @@ import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrou
|
|
|
34
34
|
import { l as healthCommand } from "./health-format-DZpQiSPr.js";
|
|
35
35
|
import { $ as setVeniceApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyXaiConfig, G as setCloudflareAiGatewayConfig, J as setMinimaxApiKey, K as setGeminiApiKey, L as applyXiaomiConfig, N as applyVercelAiGatewayConfig, Q as setSyntheticApiKey, W as setAnthropicApiKey, X as setOpencodeZenApiKey, Y as setMoonshotApiKey, Z as setOpenrouterApiKey, ct as buildTokenProfileId, et as setVercelAiGatewayApiKey, f as applyOpencodeZenConfig, g as applyMinimaxConfig, j as applyVeniceConfig, k as applySyntheticConfig, lt as validateAnthropicSetupToken, m as applyMinimaxApiConfig, nt as setXiaomiApiKey, q as setKimiCodingApiKey, rt as setZaiApiKey, tt as setXaiApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyZaiConfig } from "./github-copilot-auth-DBciFmic.js";
|
|
36
36
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-C-XFUtHZ.js";
|
|
37
|
-
import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-
|
|
37
|
+
import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-pc_aNqHa.js";
|
|
38
38
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-Dj_EwzkO.js";
|
|
39
39
|
import { t as formatHelpExamples } from "./help-format-DUy1KRxq.js";
|
|
40
40
|
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-Baroiqo5.js";
|
|
41
41
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-6najuv4T.js";
|
|
42
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
42
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-Cd7vdP5c.js";
|
|
43
43
|
import path from "node:path";
|
|
44
44
|
import fs from "node:fs";
|
|
45
45
|
import JSON5 from "json5";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ct as probeGatewayReachable, Dt as summarizeExistingConfig, Ot as waitForGatewayReachable, St as printWizardHeader, Tt as resolveControlUiLinks, _t as guardCancel, bt as normalizeGatewayTokenInput, dt as DEFAULT_WORKSPACE, ft as applyWizardMetadata, ht as ensureWorkspaceAndSessions, wt as randomToken } from "./reply-
|
|
2
|
+
import { Ct as probeGatewayReachable, Dt as summarizeExistingConfig, Ot as waitForGatewayReachable, St as printWizardHeader, Tt as resolveControlUiLinks, _t as guardCancel, bt as normalizeGatewayTokenInput, dt as DEFAULT_WORKSPACE, ft as applyWizardMetadata, ht as ensureWorkspaceAndSessions, wt as randomToken } from "./reply-CuxaWVob.js";
|
|
3
3
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-scjhy7N2.js";
|
|
4
4
|
import { s as defaultRuntime } from "./subsystem-MZJ7YwGv.js";
|
|
5
5
|
import { _ as shortenHomePath, h as resolveUserPath } from "./utils-DZrCbm8I.js";
|
|
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-BggTN-OA.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-DGwSQRou.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-BaP7USwc.js";
|
|
17
17
|
import { n as createClackPrompter } from "./clack-prompter-CJZpapQF.js";
|
|
18
|
-
import { a as applyModelAllowlist, c as promptDefaultModel, f as applyAuthChoice, g as promptAuthChoiceGrouped, l as promptModelAllowlist, o as applyModelFallbacksFromSelection, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-
|
|
19
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels
|
|
20
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
18
|
+
import { a as applyModelAllowlist, c as promptDefaultModel, f as applyAuthChoice, g as promptAuthChoiceGrouped, l as promptModelAllowlist, o as applyModelFallbacksFromSelection, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-Bi8vfuv9.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-BXvAgRr8.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-DnQrmi90.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-BmhixqmA.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BAqwxT4B.js";
|
|
23
23
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-MZJ7YwGv.js";
|
|
3
3
|
import { i as loadConfig } from "./config-JJ_qstMV.js";
|
|
4
|
-
import { S as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, t as createBrowserRouteContext } from "./server-context-
|
|
4
|
+
import { S as ensureChromeExtensionRelayServer } from "./chrome-YyXlpRHF.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, t as createBrowserRouteContext } from "./server-context-Cnep00Hq.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/control-service.ts
|
|
8
8
|
var control_service_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -53,7 +53,7 @@ async function stopBrowserControlService() {
|
|
|
53
53
|
}
|
|
54
54
|
state = null;
|
|
55
55
|
try {
|
|
56
|
-
await (await import("./pw-ai-
|
|
56
|
+
await (await import("./pw-ai-C2z1o0vq.js")).closePlaywrightBrowserConnection();
|
|
57
57
|
} catch {}
|
|
58
58
|
}
|
|
59
59
|
|