cryptoclaw 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-DERQMw3l.js → acp-cli-BxKmVDx5.js} +2 -2
- package/dist/{agent-DsRda_h9.js → agent-BHqKVeeJ.js} +5 -5
- package/dist/{audit-Be4QWGGJ.js → audit-9tbzV-Dc.js} +5 -5
- package/dist/build-info.json +3 -3
- package/dist/{call-DB7GWDvL.js → call-B3_jRa3f.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BwEOBqTY.js → channel-options-DTwYRONv.js} +1 -1
- package/dist/{channel-summary-BWtu-hXx.js → channel-summary-CdMMHbBa.js} +2 -2
- package/dist/{channels-cli-CPl09pyv.js → channels-cli-Dt-XueVb.js} +17 -17
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-H1QrT6N6.js → cli-Dfw5Wbrr.js} +14 -14
- package/dist/{client-DxfNASBf.js → client-N6zH1neq.js} +1 -1
- package/dist/{command-options-Dwj5XLlm.js → command-options-CQ5gXfCY.js} +1 -1
- package/dist/{commands-r_yTpEmf.js → commands-BUKEpa9h.js} +1 -1
- package/dist/{completion-cli-BFInOT6E.js → completion-cli-CMrKUaNQ.js} +1 -1
- package/dist/{completion-cli-BCmG6nXG.js → completion-cli-DsNRMY3C.js} +2 -2
- package/dist/{config-guard-DkRbE5o6.js → config-guard--Mps2UC-.js} +17 -17
- package/dist/{configure-DaSahOmL.js → configure-Lsu2DsiG.js} +4 -4
- package/dist/{control-service-ByOT2jeg.js → control-service-BMglGhDD.js} +3 -3
- package/dist/{cron-cli-D409kNrm.js → cron-cli-DFzW6dFe.js} +3 -3
- package/dist/{daemon-cli-BMeuXO-3.js → daemon-cli-Bwy_axRU.js} +5 -5
- package/dist/{deliver-CnYVmbq9.js → deliver-YWrVr0q9.js} +3 -3
- package/dist/{deps-BLwfARhd.js → deps-CmV2i_QO.js} +2 -2
- package/dist/{devices-cli-CruX2AeC.js → devices-cli-D4GIFZoG.js} +2 -2
- package/dist/{doctor-r3lyDsdL.js → doctor-BsQsMkFM.js} +7 -7
- package/dist/{doctor-RhXbewuM.js → doctor-CLPX3PLj.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{errors-CoJ8w6LV.js → errors-Ds-tnHIY.js} +1 -1
- package/dist/{exec-approvals-cli-CFlAGX-4.js → exec-approvals-cli-BjFUUQ9h.js} +4 -4
- package/dist/{gateway-cli-CKU0jryH.js → gateway-cli-B-Tk5DuQ.js} +3 -3
- package/dist/{gateway-cli-D455NYIX.js → gateway-cli-D2ic-1ck.js} +31 -31
- package/dist/{gateway-rpc-DjYMSTRq.js → gateway-rpc-FAU0VhGn.js} +1 -1
- package/dist/{github-copilot-auth-CvP8xgIc.js → github-copilot-auth-DK6nlj5J.js} +2 -2
- package/dist/{health-format-G9j1J_Mf.js → health-format-uiiBDhVH.js} +5 -5
- package/dist/{hooks-cli-CVrcE32k.js → hooks-cli-iM6rtPcK.js} +15 -15
- package/dist/{image-B9RWarBN.js → image-BsUnO2Qf.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/{loader-lEw5J-_D.js → loader-D94ov0s-.js} +15 -15
- package/dist/{logs-cli-DDckc3PE.js → logs-cli-CCwcCMhc.js} +3 -3
- package/dist/{models-cli-B9dPt17o.js → models-cli-DY9XGjRY.js} +15 -15
- package/dist/{node-cli-CPw3DbsN.js → node-cli-CRntS7i1.js} +6 -6
- package/dist/{nodes-cli-7ZlqtwjI.js → nodes-cli--29mgI69.js} +3 -3
- package/dist/{onboard-channels-zshcoufS.js → onboard-channels-C6z1vLUp.js} +1 -1
- package/dist/{onboard-skills-DL1ZYzUf.js → onboard-skills-Db4DrpwH.js} +4 -4
- package/dist/{onboarding-Ds5O38bX.js → onboarding-CIRbIS1L.js} +3 -3
- package/dist/{pi-embedded-helpers-Bt9kdAdU.js → pi-embedded-helpers-CFXJBOgG.js} +2 -2
- package/dist/plugin-sdk/index.d.ts +1 -1
- package/dist/{plugins-cli-jqnLLnUq.js → plugins-cli-D5OVgIir.js} +15 -15
- package/dist/{ports-D4ObP__K.js → ports-BDlmx5Xe.js} +1 -1
- package/dist/{program-Nue1aYvD.js → program-ChyHuvXr.js} +33 -33
- package/dist/{pw-ai-CEBMrAbE.js → pw-ai-c-azydBA.js} +1 -1
- package/dist/{register.subclis-Uli84GkM.js → register.subclis-Bmb5Fsmk.js} +21 -21
- package/dist/{routes-VtNmdbGa.js → routes-ipYdm4bV.js} +2 -2
- package/dist/{rpc-Bm-7pGTB.js → rpc-C1tvr4cz.js} +1 -1
- package/dist/{run-main-BCIYucfv.js → run-main-C_He1tQY.js} +34 -34
- package/dist/{sandbox-B4cfcOgz.js → sandbox-DGdtz99E.js} +3 -3
- package/dist/{sandbox-cli-OJAi_PbP.js → sandbox-cli-D0VKrfiJ.js} +4 -4
- package/dist/{security-cli-C8H3bJyD.js → security-cli-B6L0ei7L.js} +8 -8
- package/dist/{server-context-BDNbonh1.js → server-context-C83HxPhv.js} +4 -4
- package/dist/{server-node-events-SsoK_C-5.js → server-node-events-CRtiqGao.js} +16 -16
- package/dist/{status-BLPQx30K.js → status-DJahwhG7.js} +13 -13
- package/dist/{status-Bvhn6F9C.js → status-Dri6xQe-.js} +1 -1
- package/dist/{system-cli-DLTzlCcD.js → system-cli-Cs34Sqc3.js} +3 -3
- package/dist/{tui-C-qgRr6t.js → tui-CZHmi92G.js} +4 -4
- package/dist/{tui-cli-CPGGLjJe.js → tui-cli-B8Qr9hvY.js} +9 -9
- package/dist/{update-cli-D_uVcWMI.js → update-cli-D3Cw9YpG.js} +3 -3
- package/dist/{update-cli-aRwIZSie.js → update-cli-HhSL4U-U.js} +21 -21
- package/dist/{update-runner-zb1D3CqD.js → update-runner-CkYicIwK.js} +1 -1
- package/dist/{update-runner-C4M94t1_.js → update-runner-a3n7zlGQ.js} +2 -2
- package/dist/wallet-manager-7KHKMCbT.js +264 -0
- package/dist/wallet-manager-CT1ykq2O.js +264 -0
- package/dist/{wsl-Dzq27qZf.js → wsl-DTcjRqGt.js} +1 -1
- package/package.json +2 -1
- package/dist/wallet-manager-C6H_dE8_.js +0 -6761
- package/dist/wallet-manager-DNx-zCWf.js +0 -6761
|
@@ -10,8 +10,8 @@ import "./manifest-registry-BdTzIlta.js";
|
|
|
10
10
|
import { t as ensureOpenClawCliOnPath } from "./path-env-eQ-HoQtS.js";
|
|
11
11
|
import "./tailscale-CCLcQalf.js";
|
|
12
12
|
import { i as resolveGatewayAuth } from "./auth-phxCaFNX.js";
|
|
13
|
-
import { t as GatewayClient } from "./client-
|
|
14
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
13
|
+
import { t as GatewayClient } from "./client-N6zH1neq.js";
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-B3_jRa3f.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
16
16
|
import { t as isMainModule } from "./is-main-CBExsRNQ.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-cf9h8BXu.js";
|
|
@@ -6,14 +6,14 @@ import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride,
|
|
|
6
6
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
7
7
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-CfYBy4y3.js";
|
|
8
8
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BI-p2ba9.js";
|
|
9
|
-
import { Bt as emitAgentEvent, Dt as runEmbeddedPiAgent, Gt as AGENT_LANE_NESTED, H as getCliSessionId, K as resolveSendPolicy, Kt as loadModelCatalog, Rt as resolveAgentTimeoutMs, Tn as runWithModelFallback, U as setCliSessionId, Ut as registerAgentRunContext, W as runCliAgent, bn as resolveOutboundTarget, ct as clearSessionAuthProfileOverride, dn as lookupContextTokens, lt as applyVerboseOverride, ot as getSkillsSnapshotVersion, q as getRemoteSkillEligibility, qt as applyModelOverrideToSessionEntry, xn as resolveSessionDeliveryTarget, zt as clearAgentRunContext } from "./loader-
|
|
9
|
+
import { Bt as emitAgentEvent, Dt as runEmbeddedPiAgent, Gt as AGENT_LANE_NESTED, H as getCliSessionId, K as resolveSendPolicy, Kt as loadModelCatalog, Rt as resolveAgentTimeoutMs, Tn as runWithModelFallback, U as setCliSessionId, Ut as registerAgentRunContext, W as runCliAgent, bn as resolveOutboundTarget, ct as clearSessionAuthProfileOverride, dn as lookupContextTokens, lt as applyVerboseOverride, ot as getSkillsSnapshotVersion, q as getRemoteSkillEligibility, qt as applyModelOverrideToSessionEntry, xn as resolveSessionDeliveryTarget, zt as clearAgentRunContext } from "./loader-D94ov0s-.js";
|
|
10
10
|
import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-KUslkJRs.js";
|
|
11
|
-
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-
|
|
12
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
13
|
-
import { A as resolveSessionResetType, D as evaluateSessionFreshness, E as resolveSessionKey, F as resolveExplicitAgentSessionKey, O as resolveChannelResetConfig, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, k as resolveSessionResetPolicy } from "./sandbox-
|
|
11
|
+
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-CFXJBOgG.js";
|
|
12
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-YWrVr0q9.js";
|
|
13
|
+
import { A as resolveSessionResetType, D as evaluateSessionFreshness, E as resolveSessionKey, F as resolveExplicitAgentSessionKey, O as resolveChannelResetConfig, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, k as resolveSessionResetPolicy } from "./sandbox-DGdtz99E.js";
|
|
14
14
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-7V483a6m.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-DH3c4xJA.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-CmV2i_QO.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -5,17 +5,17 @@ import { n as runExec } from "./exec-CLQSz0CI.js";
|
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DBl1We79.js";
|
|
6
6
|
import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, r as createConfigIO } from "./config-jiiypghI.js";
|
|
7
7
|
import { a as MANIFEST_KEY } from "./manifest-registry-BdTzIlta.js";
|
|
8
|
-
import { a as resolveBrowserConfig, o as resolveProfile } from "./server-context-
|
|
8
|
+
import { a as resolveBrowserConfig, o as resolveProfile } from "./server-context-C83HxPhv.js";
|
|
9
9
|
import { i as resolveGatewayAuth } from "./auth-phxCaFNX.js";
|
|
10
|
-
import { t as GatewayClient } from "./client-
|
|
11
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as GatewayClient } from "./client-N6zH1neq.js";
|
|
11
|
+
import { t as buildGatewayConnectionDetails } from "./call-B3_jRa3f.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-BI-p2ba9.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-OUt4hxkS.js";
|
|
15
15
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-AfOudYI1.js";
|
|
16
|
-
import { G as resolveSandboxToolPolicyForAgent, Q as resolveToolProfilePolicy, U as resolveSandboxConfigForAgent } from "./sandbox-
|
|
16
|
+
import { G as resolveSandboxToolPolicyForAgent, Q as resolveToolProfilePolicy, U as resolveSandboxConfigForAgent } from "./sandbox-DGdtz99E.js";
|
|
17
17
|
import { i as loadWorkspaceSkillEntries } from "./skills-7V483a6m.js";
|
|
18
|
-
import { a as isToolAllowedByPolicies, n as resolveNativeCommandsEnabled, r as resolveNativeSkillsEnabled } from "./commands-
|
|
18
|
+
import { a as isToolAllowedByPolicies, n as resolveNativeCommandsEnabled, r as resolveNativeSkillsEnabled } from "./commands-BUKEpa9h.js";
|
|
19
19
|
import { i as readChannelAllowFromStore } from "./pairing-store-BOhO49Bi.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import os from "node:os";
|
package/dist/build-info.json
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as resolveStateDir, d as resolveGatewayPort, s as resolveConfigPath }
|
|
|
2
2
|
import { h as shortenHomeInString, m as resolveUserPath, o as ensureDir, t as CONFIG_DIR } from "./utils-7IMqr8vR.js";
|
|
3
3
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
4
4
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CZq_ZSNX.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-N6zH1neq.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
7
7
|
import { execFile } from "node:child_process";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0bcea766f4008ac53ecd178d86734dd0680fa614cab56ae0504f7fa9bcee3cdc
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-D_VYwnti.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-BI-p2ba9.js";
|
|
4
|
-
import { n as ensurePluginRegistryLoaded } from "./command-options-
|
|
4
|
+
import { n as ensurePluginRegistryLoaded } from "./command-options-CQ5gXfCY.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -3,8 +3,8 @@ import { N as resolveConfiguredModelRef, _t as DEFAULT_PROVIDER, gt as DEFAULT_M
|
|
|
3
3
|
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-C-ig2pxJ.js";
|
|
4
4
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
5
5
|
import { n as listChannelPlugins } from "./plugins-BI-p2ba9.js";
|
|
6
|
-
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
7
|
-
import { it as listChannelDocks } from "./sandbox-
|
|
6
|
+
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-CFXJBOgG.js";
|
|
7
|
+
import { it as listChannelDocks } from "./sandbox-DGdtz99E.js";
|
|
8
8
|
import { n as formatTokenCount } from "./usage-format-C4JfTbSp.js";
|
|
9
9
|
|
|
10
10
|
//#region src/auto-reply/commands-args.ts
|
|
@@ -10,51 +10,51 @@ import "./github-copilot-token-C1sArkX4.js";
|
|
|
10
10
|
import "./pi-model-discovery-DWTTaAgY.js";
|
|
11
11
|
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-jiiypghI.js";
|
|
12
12
|
import "./manifest-registry-BdTzIlta.js";
|
|
13
|
-
import "./server-context-
|
|
14
|
-
import "./errors-
|
|
15
|
-
import "./control-service-
|
|
16
|
-
import "./client-
|
|
17
|
-
import { n as callGateway } from "./call-
|
|
13
|
+
import "./server-context-C83HxPhv.js";
|
|
14
|
+
import "./errors-Ds-tnHIY.js";
|
|
15
|
+
import "./control-service-BMglGhDD.js";
|
|
16
|
+
import "./client-N6zH1neq.js";
|
|
17
|
+
import { n as callGateway } from "./call-B3_jRa3f.js";
|
|
18
18
|
import "./message-channel-CfYBy4y3.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-cf9h8BXu.js";
|
|
20
20
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-D_VYwnti.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BI-p2ba9.js";
|
|
22
22
|
import "./logging-5MtSkLpb.js";
|
|
23
23
|
import "./accounts-CIGHxE7R.js";
|
|
24
|
-
import { Er as createSlackWebClient, Jt as loadProviderUsageSummary, R as fetchChannelPermissionsDiscord, Yt as formatUsageReportLines, _n as parseDiscordTarget } from "./loader-
|
|
24
|
+
import { Er as createSlackWebClient, Jt as loadProviderUsageSummary, R as fetchChannelPermissionsDiscord, Yt as formatUsageReportLines, _n as parseDiscordTarget } from "./loader-D94ov0s-.js";
|
|
25
25
|
import { n as withProgress } from "./progress-D-Oc-KAH.js";
|
|
26
26
|
import "./prompt-style-BntC_Eoo.js";
|
|
27
27
|
import "./note-C5M2AQOP.js";
|
|
28
28
|
import { t as createClackPrompter } from "./clack-prompter-k_egRADS.js";
|
|
29
29
|
import { t as resolveChannelDefaultAccountId } from "./helpers-OUt4hxkS.js";
|
|
30
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
30
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-C6z1vLUp.js";
|
|
31
31
|
import "./archive-iT9wNsml.js";
|
|
32
32
|
import "./skill-scanner-AfOudYI1.js";
|
|
33
33
|
import "./installs-BAfo7YJ2.js";
|
|
34
34
|
import "./manager-BPNXbCiM.js";
|
|
35
35
|
import "./paths-KUslkJRs.js";
|
|
36
36
|
import "./sqlite-CvQzxS7q.js";
|
|
37
|
-
import "./routes-
|
|
38
|
-
import "./pi-embedded-helpers-
|
|
39
|
-
import "./deliver-
|
|
40
|
-
import "./sandbox-
|
|
41
|
-
import { n as formatAge } from "./channel-summary-
|
|
42
|
-
import "./wsl-
|
|
37
|
+
import "./routes-ipYdm4bV.js";
|
|
38
|
+
import "./pi-embedded-helpers-CFXJBOgG.js";
|
|
39
|
+
import "./deliver-YWrVr0q9.js";
|
|
40
|
+
import "./sandbox-DGdtz99E.js";
|
|
41
|
+
import { n as formatAge } from "./channel-summary-CdMMHbBa.js";
|
|
42
|
+
import "./wsl-DTcjRqGt.js";
|
|
43
43
|
import "./skills-7V483a6m.js";
|
|
44
|
-
import "./image-
|
|
44
|
+
import "./image-BsUnO2Qf.js";
|
|
45
45
|
import "./redact-1PNP01B_.js";
|
|
46
46
|
import "./tool-display-B2rS2o6B.js";
|
|
47
47
|
import { n as resolveMessageChannelSelection } from "./channel-selection-BdigfMZZ.js";
|
|
48
48
|
import "./session-cost-usage-DH3c4xJA.js";
|
|
49
|
-
import "./commands-
|
|
49
|
+
import "./commands-BUKEpa9h.js";
|
|
50
50
|
import "./pairing-store-BOhO49Bi.js";
|
|
51
51
|
import "./login-qr-DphIclSP.js";
|
|
52
52
|
import { r as runCommandWithRuntime } from "./cli-utils-B7iQwCY5.js";
|
|
53
53
|
import { t as buildChannelAccountSnapshot } from "./status-Drziap9H.js";
|
|
54
54
|
import { t as parseLogLine } from "./parse-log-line-CUrpqe1w.js";
|
|
55
55
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Dxmd7zYk.js";
|
|
56
|
-
import { t as hasExplicitOptions } from "./command-options-
|
|
57
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
56
|
+
import { t as hasExplicitOptions } from "./command-options-CQ5gXfCY.js";
|
|
57
|
+
import { t as formatCliChannelOptions } from "./channel-options-DTwYRONv.js";
|
|
58
58
|
import fs from "node:fs/promises";
|
|
59
59
|
|
|
60
60
|
//#region src/commands/channels/add-mutators.ts
|
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-Bwy_axRU.js";
|
|
@@ -8,35 +8,35 @@ import "./github-copilot-token-C1sArkX4.js";
|
|
|
8
8
|
import "./pi-model-discovery-DWTTaAgY.js";
|
|
9
9
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
10
10
|
import "./manifest-registry-BdTzIlta.js";
|
|
11
|
-
import "./server-context-
|
|
12
|
-
import "./errors-
|
|
13
|
-
import "./control-service-
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
11
|
+
import "./server-context-C83HxPhv.js";
|
|
12
|
+
import "./errors-Ds-tnHIY.js";
|
|
13
|
+
import "./control-service-BMglGhDD.js";
|
|
14
|
+
import "./client-N6zH1neq.js";
|
|
15
|
+
import "./call-B3_jRa3f.js";
|
|
16
16
|
import "./message-channel-CfYBy4y3.js";
|
|
17
17
|
import "./links-cf9h8BXu.js";
|
|
18
18
|
import "./plugins-BI-p2ba9.js";
|
|
19
19
|
import "./logging-5MtSkLpb.js";
|
|
20
20
|
import "./accounts-CIGHxE7R.js";
|
|
21
|
-
import { t as loadOpenClawPlugins } from "./loader-
|
|
21
|
+
import { t as loadOpenClawPlugins } from "./loader-D94ov0s-.js";
|
|
22
22
|
import "./progress-D-Oc-KAH.js";
|
|
23
23
|
import "./prompt-style-BntC_Eoo.js";
|
|
24
24
|
import "./manager-BPNXbCiM.js";
|
|
25
25
|
import "./paths-KUslkJRs.js";
|
|
26
26
|
import "./sqlite-CvQzxS7q.js";
|
|
27
|
-
import "./routes-
|
|
28
|
-
import "./pi-embedded-helpers-
|
|
29
|
-
import "./deliver-
|
|
30
|
-
import "./sandbox-
|
|
31
|
-
import "./channel-summary-
|
|
32
|
-
import "./wsl-
|
|
27
|
+
import "./routes-ipYdm4bV.js";
|
|
28
|
+
import "./pi-embedded-helpers-CFXJBOgG.js";
|
|
29
|
+
import "./deliver-YWrVr0q9.js";
|
|
30
|
+
import "./sandbox-DGdtz99E.js";
|
|
31
|
+
import "./channel-summary-CdMMHbBa.js";
|
|
32
|
+
import "./wsl-DTcjRqGt.js";
|
|
33
33
|
import "./skills-7V483a6m.js";
|
|
34
|
-
import "./image-
|
|
34
|
+
import "./image-BsUnO2Qf.js";
|
|
35
35
|
import "./redact-1PNP01B_.js";
|
|
36
36
|
import "./tool-display-B2rS2o6B.js";
|
|
37
37
|
import "./channel-selection-BdigfMZZ.js";
|
|
38
38
|
import "./session-cost-usage-DH3c4xJA.js";
|
|
39
|
-
import "./commands-
|
|
39
|
+
import "./commands-BUKEpa9h.js";
|
|
40
40
|
import "./pairing-store-BOhO49Bi.js";
|
|
41
41
|
import "./login-qr-DphIclSP.js";
|
|
42
42
|
|
|
@@ -6,8 +6,8 @@ import path from "node:path";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import crypto, { randomUUID } from "node:crypto";
|
|
9
|
-
import { WebSocket as WebSocket$1 } from "ws";
|
|
10
9
|
import AjvPkg from "ajv";
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DBl1We79.js";
|
|
3
3
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
4
|
-
import { t as loadOpenClawPlugins } from "./loader-
|
|
4
|
+
import { t as loadOpenClawPlugins } from "./loader-D94ov0s-.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/plugin-registry.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -2,7 +2,7 @@ import { u as resolveAgentIdFromSessionKey, v as resolveThreadParentSessionKey }
|
|
|
2
2
|
import { n as resolveAgentConfig } from "./agent-scope-DBl1We79.js";
|
|
3
3
|
import { l as normalizeMessageChannel } from "./message-channel-CfYBy4y3.js";
|
|
4
4
|
import { r as normalizeChannelId } from "./plugins-BI-p2ba9.js";
|
|
5
|
-
import { X as expandToolGroups, Z as normalizeToolName, rt as getChannelDock, st as resolveChannelGroupToolsPolicy } from "./sandbox-
|
|
5
|
+
import { X as expandToolGroups, Z as normalizeToolName, rt as getChannelDock, st as resolveChannelGroupToolsPolicy } from "./sandbox-DGdtz99E.js";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-tools.policy.ts
|
|
8
8
|
function compilePattern(pattern) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as resolveStateDir } from "./paths-D2ytuv-2.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-Bmb5Fsmk.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -124,7 +124,7 @@ const entries = [
|
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-B-Tk5DuQ.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -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-D3Cw9YpG.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -7,40 +7,40 @@ import { f as resolveHomeDir, g as shortenHomePath, h as shortenHomeInString, m
|
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CLQSz0CI.js";
|
|
8
8
|
import { c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, w as resolveDefaultAgentWorkspaceDir, x as ensureAgentWorkspace } from "./agent-scope-DBl1We79.js";
|
|
9
9
|
import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-jiiypghI.js";
|
|
10
|
-
import { n as movePathToTrash } from "./server-context-
|
|
11
|
-
import { i as randomIdempotencyKey, n as callGateway } from "./call-
|
|
10
|
+
import { n as movePathToTrash } from "./server-context-C83HxPhv.js";
|
|
11
|
+
import { i as randomIdempotencyKey, n as callGateway } from "./call-B3_jRa3f.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-cf9h8BXu.js";
|
|
14
14
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BI-p2ba9.js";
|
|
15
|
-
import { D as runMemoryStatus, E as registerMemoryCli, Hn as CHANNEL_TARGETS_DESCRIPTION, Sn as formatTargetDisplay, Un as CHANNEL_TARGET_DESCRIPTION, _ as randomToken, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, dn as lookupContextTokens, f as moveToTrash, i as DEFAULT_WORKSPACE, l as formatControlUiSshHint, m as openUrl, mn as runMessageAction, s as detectBrowserOpenSupport, un as resolveCommitHash, v as resolveControlUiLinks, wn as CHANNEL_MESSAGE_ACTION_NAMES, x as waitForGatewayReachable } from "./loader-
|
|
15
|
+
import { D as runMemoryStatus, E as registerMemoryCli, Hn as CHANNEL_TARGETS_DESCRIPTION, Sn as formatTargetDisplay, Un as CHANNEL_TARGET_DESCRIPTION, _ as randomToken, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, dn as lookupContextTokens, f as moveToTrash, i as DEFAULT_WORKSPACE, l as formatControlUiSshHint, m as openUrl, mn as runMessageAction, s as detectBrowserOpenSupport, un as resolveCommitHash, v as resolveControlUiLinks, wn as CHANNEL_MESSAGE_ACTION_NAMES, x as waitForGatewayReachable } from "./loader-D94ov0s-.js";
|
|
16
16
|
import { n as withProgress } from "./progress-D-Oc-KAH.js";
|
|
17
17
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BntC_Eoo.js";
|
|
18
18
|
import { t as WizardCancelledError } from "./prompts-C2D9_VZC.js";
|
|
19
19
|
import { t as createClackPrompter } from "./clack-prompter-k_egRADS.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-OUt4hxkS.js";
|
|
21
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
21
|
+
import { n as setupChannels } from "./onboard-channels-C6z1vLUp.js";
|
|
22
22
|
import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-KUslkJRs.js";
|
|
23
|
-
import { d as loadSessionStore } from "./sandbox-
|
|
23
|
+
import { d as loadSessionStore } from "./sandbox-DGdtz99E.js";
|
|
24
24
|
import { r as runCommandWithRuntime } from "./cli-utils-B7iQwCY5.js";
|
|
25
|
-
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-
|
|
26
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
25
|
+
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-CQ5gXfCY.js";
|
|
26
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-Bmb5Fsmk.js";
|
|
27
27
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CQI-5xS9.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
29
|
-
import { t as createDefaultDeps } from "./deps-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-FAU0VhGn.js";
|
|
29
|
+
import { t as createDefaultDeps } from "./deps-CmV2i_QO.js";
|
|
30
30
|
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CnQb2iGB.js";
|
|
31
31
|
import { t as resolveGatewayService } from "./service-aC_5lPUU.js";
|
|
32
32
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CwbNhlrj.js";
|
|
33
33
|
import { t as renderTable } from "./table-DDQGlZSe.js";
|
|
34
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
35
|
-
import { i as healthCommand } from "./health-format-
|
|
36
|
-
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-
|
|
34
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-Db4DrpwH.js";
|
|
35
|
+
import { i as healthCommand } from "./health-format-uiiBDhVH.js";
|
|
36
|
+
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-DK6nlj5J.js";
|
|
37
37
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BJRQDTME.js";
|
|
38
|
-
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-
|
|
39
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
38
|
+
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-DJahwhG7.js";
|
|
39
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-BHqKVeeJ.js";
|
|
40
40
|
import { t as formatHelpExamples } from "./help-format-CUnac_bT.js";
|
|
41
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
41
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-Lsu2DsiG.js";
|
|
42
42
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-C9sxk5dv.js";
|
|
43
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
43
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-BsQsMkFM.js";
|
|
44
44
|
import path from "node:path";
|
|
45
45
|
import fs from "node:fs";
|
|
46
46
|
import JSON5 from "json5";
|
|
@@ -2791,7 +2791,7 @@ async function loadValidConfig() {
|
|
|
2791
2791
|
}
|
|
2792
2792
|
function registerConfigCli(program) {
|
|
2793
2793
|
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.cryptoclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
2794
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2794
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-Lsu2DsiG.js").then((n) => n.t);
|
|
2795
2795
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2796
2796
|
if (sections.length === 0) {
|
|
2797
2797
|
await configureCommand(defaultRuntime);
|
|
@@ -7,17 +7,17 @@ import { g as shortenHomePath, m as resolveUserPath } from "./utils-7IMqr8vR.js"
|
|
|
7
7
|
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-jiiypghI.js";
|
|
8
8
|
import { a as findTailscaleBinary } from "./tailscale-CCLcQalf.js";
|
|
9
9
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BI-p2ba9.js";
|
|
10
|
-
import { _ as randomToken, a as applyWizardMetadata, b as summarizeExistingConfig, c as ensureWorkspaceAndSessions, g as probeGatewayReachable, h as printWizardHeader, i as DEFAULT_WORKSPACE, p as normalizeGatewayTokenInput, u as guardCancel, v as resolveControlUiLinks, x as waitForGatewayReachable } from "./loader-
|
|
10
|
+
import { _ as randomToken, a as applyWizardMetadata, b as summarizeExistingConfig, c as ensureWorkspaceAndSessions, g as probeGatewayReachable, h as printWizardHeader, i as DEFAULT_WORKSPACE, p as normalizeGatewayTokenInput, u as guardCancel, v as resolveControlUiLinks, x as waitForGatewayReachable } from "./loader-D94ov0s-.js";
|
|
11
11
|
import { n as withProgress } from "./progress-D-Oc-KAH.js";
|
|
12
12
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BntC_Eoo.js";
|
|
13
13
|
import { t as note$1 } from "./note-C5M2AQOP.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-C2D9_VZC.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-k_egRADS.js";
|
|
16
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-C6z1vLUp.js";
|
|
17
17
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CnQb2iGB.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-aC_5lPUU.js";
|
|
19
|
-
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, g as ensureControlUiAssetsBuilt, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-
|
|
20
|
-
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-
|
|
19
|
+
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, g as ensureControlUiAssetsBuilt, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-Db4DrpwH.js";
|
|
20
|
+
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-uiiBDhVH.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-BJRQDTME.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C9sxk5dv.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 { o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
4
|
-
import { a as resolveBrowserConfig, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-
|
|
5
|
-
import { S as ensureChromeExtensionRelayServer } from "./errors-
|
|
4
|
+
import { a as resolveBrowserConfig, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-C83HxPhv.js";
|
|
5
|
+
import { S as ensureChromeExtensionRelayServer } from "./errors-Ds-tnHIY.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-c-azydBA.js")).closePlaywrightBrowserConnection();
|
|
57
57
|
} catch {}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -8,8 +8,8 @@ import "./agent-scope-DBl1We79.js";
|
|
|
8
8
|
import "./github-copilot-token-C1sArkX4.js";
|
|
9
9
|
import "./config-jiiypghI.js";
|
|
10
10
|
import "./manifest-registry-BdTzIlta.js";
|
|
11
|
-
import "./client-
|
|
12
|
-
import "./call-
|
|
11
|
+
import "./client-N6zH1neq.js";
|
|
12
|
+
import "./call-B3_jRa3f.js";
|
|
13
13
|
import "./message-channel-CfYBy4y3.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-cf9h8BXu.js";
|
|
15
15
|
import { n as listChannelPlugins } from "./plugins-BI-p2ba9.js";
|
|
@@ -18,7 +18,7 @@ import "./accounts-CIGHxE7R.js";
|
|
|
18
18
|
import "./progress-D-Oc-KAH.js";
|
|
19
19
|
import { t as parseAbsoluteTimeMs } from "./parse-Bw0oH-rT.js";
|
|
20
20
|
import { n as parsePositiveIntOrUndefined } from "./helpers-CQI-5xS9.js";
|
|
21
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
21
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-FAU0VhGn.js";
|
|
22
22
|
|
|
23
23
|
//#region src/cli/cron-cli/shared.ts
|
|
24
24
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -4,17 +4,17 @@ import { D as colorize, M as getResolvedLoggerSettings, O as isRich, k as theme,
|
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-B0bnyrEA.js";
|
|
5
5
|
import { g as shortenHomePath } from "./utils-7IMqr8vR.js";
|
|
6
6
|
import { i as loadConfig, r as createConfigIO } from "./config-jiiypghI.js";
|
|
7
|
-
import { f as inspectPortUsage, m as formatPortDiagnostics } from "./errors-
|
|
7
|
+
import { f as inspectPortUsage, m as formatPortDiagnostics } from "./errors-Ds-tnHIY.js";
|
|
8
8
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CZq_ZSNX.js";
|
|
9
9
|
import { a as resolveGatewayBindHost } from "./net-YrbuVTd2.js";
|
|
10
|
-
import { n as callGateway } from "./call-
|
|
10
|
+
import { n as callGateway } from "./call-B3_jRa3f.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-cf9h8BXu.js";
|
|
13
|
-
import { v as resolveControlUiLinks } from "./loader-
|
|
13
|
+
import { v as resolveControlUiLinks } from "./loader-D94ov0s-.js";
|
|
14
14
|
import { n as withProgress } from "./progress-D-Oc-KAH.js";
|
|
15
|
-
import { n as isWSLEnv, t as isWSL } from "./wsl-
|
|
15
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-DTcjRqGt.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-BTuM-hpg.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-CmV2i_QO.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CnQb2iGB.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-aC_5lPUU.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CwbNhlrj.js";
|
|
@@ -5,9 +5,9 @@ import { m as resolveUserPath } from "./utils-7IMqr8vR.js";
|
|
|
5
5
|
import { i as loadConfig } from "./config-jiiypghI.js";
|
|
6
6
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-CfYBy4y3.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BI-p2ba9.js";
|
|
8
|
-
import { C as mediaKindFromMime, S as maxBytesForKind, a as closeDispatcher, c as resolvePinnedHostnameWithPolicy, d as hasAlphaChannel, f as optimizeImageToPng, h as extensionForMime, l as convertHeicToJpeg, m as detectMime, o as createPinnedDispatcher, p as resizeToJpeg, r as saveMediaBuffer, s as resolvePinnedHostname } from "./routes-
|
|
9
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
10
|
-
import { l as appendAssistantMessageToSessionTranscript, lt as resolveSignalAccount, rt as getChannelDock, u as resolveMirroredTranscriptText } from "./sandbox-
|
|
8
|
+
import { C as mediaKindFromMime, S as maxBytesForKind, a as closeDispatcher, c as resolvePinnedHostnameWithPolicy, d as hasAlphaChannel, f as optimizeImageToPng, h as extensionForMime, l as convertHeicToJpeg, m as detectMime, o as createPinnedDispatcher, p as resizeToJpeg, r as saveMediaBuffer, s as resolvePinnedHostname } from "./routes-ipYdm4bV.js";
|
|
9
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CFXJBOgG.js";
|
|
10
|
+
import { l as appendAssistantMessageToSessionTranscript, lt as resolveSignalAccount, rt as getChannelDock, u as resolveMirroredTranscriptText } from "./sandbox-DGdtz99E.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as sendMessageTelegram, I as sendMessageDiscord, Tr as sendMessageSlack, br as sendMessageWhatsApp, r as sendMessageIMessage } from "./loader-
|
|
2
|
-
import { m as sendMessageSignal } from "./deliver-
|
|
1
|
+
import { F as sendMessageTelegram, I as sendMessageDiscord, Tr as sendMessageSlack, br as sendMessageWhatsApp, r as sendMessageIMessage } from "./loader-D94ov0s-.js";
|
|
2
|
+
import { m as sendMessageSignal } from "./deliver-YWrVr0q9.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
5
5
|
function createDefaultDeps() {
|
|
@@ -7,8 +7,8 @@ import "./agent-scope-DBl1We79.js";
|
|
|
7
7
|
import "./github-copilot-token-C1sArkX4.js";
|
|
8
8
|
import "./config-jiiypghI.js";
|
|
9
9
|
import "./manifest-registry-BdTzIlta.js";
|
|
10
|
-
import "./client-
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
10
|
+
import "./client-N6zH1neq.js";
|
|
11
|
+
import { n as callGateway } from "./call-B3_jRa3f.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
13
13
|
import { n as withProgress } from "./progress-D-Oc-KAH.js";
|
|
14
14
|
import { t as renderTable } from "./table-DDQGlZSe.js";
|
|
@@ -8,19 +8,19 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-CLQSz0CI.js";
|
|
|
8
8
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-_zPXSqgo.js";
|
|
9
9
|
import { c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-DBl1We79.js";
|
|
10
10
|
import { c as writeConfigFile, n as migrateLegacyConfig, o as readConfigFileSnapshot, u as OpenClawSchema } from "./config-jiiypghI.js";
|
|
11
|
-
import { f as inspectPortUsage, m as formatPortDiagnostics } from "./errors-
|
|
11
|
+
import { f as inspectPortUsage, m as formatPortDiagnostics } from "./errors-Ds-tnHIY.js";
|
|
12
12
|
import { a as resolveGatewayBindHost, n as isLoopbackHost } from "./net-YrbuVTd2.js";
|
|
13
13
|
import { i as resolveGatewayAuth } from "./auth-phxCaFNX.js";
|
|
14
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-B3_jRa3f.js";
|
|
15
15
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-D_VYwnti.js";
|
|
16
16
|
import { n as listChannelPlugins } from "./plugins-BI-p2ba9.js";
|
|
17
|
-
import { Kt as loadModelCatalog, _ as randomToken, a as applyWizardMetadata, h as printWizardHeader, t as loadOpenClawPlugins, u as guardCancel } from "./loader-
|
|
17
|
+
import { Kt as loadModelCatalog, _ as randomToken, a as applyWizardMetadata, h as printWizardHeader, t as loadOpenClawPlugins, u as guardCancel } from "./loader-D94ov0s-.js";
|
|
18
18
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BntC_Eoo.js";
|
|
19
19
|
import { t as note$1 } from "./note-C5M2AQOP.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-OUt4hxkS.js";
|
|
21
21
|
import { a as resolveSessionTranscriptsDirForAgent, n as resolveSessionFilePath, o as resolveStorePath } from "./paths-KUslkJRs.js";
|
|
22
|
-
import { I as resolveMainSessionKey, N as canonicalizeMainSessionAlias, W as resolveSandboxScope, d as loadSessionStore, et as DEFAULT_SANDBOX_BROWSER_IMAGE, m as saveSessionStore, nt as DEFAULT_SANDBOX_IMAGE, tt as DEFAULT_SANDBOX_COMMON_IMAGE } from "./sandbox-
|
|
23
|
-
import { n as isWSLEnv, t as isWSL } from "./wsl-
|
|
22
|
+
import { I as resolveMainSessionKey, N as canonicalizeMainSessionAlias, W as resolveSandboxScope, d as loadSessionStore, et as DEFAULT_SANDBOX_BROWSER_IMAGE, m as saveSessionStore, nt as DEFAULT_SANDBOX_IMAGE, tt as DEFAULT_SANDBOX_COMMON_IMAGE } from "./sandbox-DGdtz99E.js";
|
|
23
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-DTcjRqGt.js";
|
|
24
24
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-BTuM-hpg.js";
|
|
25
25
|
import { i as readChannelAllowFromStore } from "./pairing-store-BOhO49Bi.js";
|
|
26
26
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Dxmd7zYk.js";
|
|
@@ -29,8 +29,8 @@ import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLa
|
|
|
29
29
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CwbNhlrj.js";
|
|
30
30
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-CgQqk98i.js";
|
|
31
31
|
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-CzwgA-D4.js";
|
|
32
|
-
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-
|
|
33
|
-
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
32
|
+
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-uiiBDhVH.js";
|
|
33
|
+
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-a3n7zlGQ.js";
|
|
34
34
|
import { n as logConfigUpdated } from "./logging-BJRQDTME.js";
|
|
35
35
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-cD4rfMR9.js";
|
|
36
36
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-C_rzC8Ks.js";
|
|
@@ -25,7 +25,7 @@ import { n as logConfigUpdated } from "./logging-CTm7mD6q.js";
|
|
|
25
25
|
import { t as note$1 } from "./note-BowasFEN.js";
|
|
26
26
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-DAdoWVec.js";
|
|
27
27
|
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-B0l6i4rk.js";
|
|
28
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
28
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-CkYicIwK.js";
|
|
29
29
|
import { a as resolveGatewayBindHost, n as isLoopbackHost } from "./net-D4G66Xui.js";
|
|
30
30
|
import { i as resolveGatewayAuth } from "./auth-cX1BaRme.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CWgR16tL.js";
|
package/dist/entry.js
CHANGED
|
@@ -1146,7 +1146,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1146
1146
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1147
1147
|
process$1.argv = parsed.argv;
|
|
1148
1148
|
}
|
|
1149
|
-
import("./run-main-
|
|
1149
|
+
import("./run-main-C_He1tQY.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1150
1150
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1151
1151
|
process$1.exitCode = 1;
|
|
1152
1152
|
});
|
|
@@ -8,9 +8,9 @@ import path from "node:path";
|
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import { randomBytes } from "node:crypto";
|
|
11
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
11
|
import fs$1 from "node:fs/promises";
|
|
13
12
|
import { createServer } from "node:http";
|
|
13
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
14
14
|
import net from "node:net";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -7,18 +7,18 @@ import "./agent-scope-DBl1We79.js";
|
|
|
7
7
|
import "./github-copilot-token-C1sArkX4.js";
|
|
8
8
|
import "./config-jiiypghI.js";
|
|
9
9
|
import "./manifest-registry-BdTzIlta.js";
|
|
10
|
-
import "./client-
|
|
11
|
-
import "./call-
|
|
10
|
+
import "./client-N6zH1neq.js";
|
|
11
|
+
import "./call-B3_jRa3f.js";
|
|
12
12
|
import "./message-channel-CfYBy4y3.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-cf9h8BXu.js";
|
|
14
14
|
import "./progress-D-Oc-KAH.js";
|
|
15
15
|
import { g as saveExecApprovals, l as readExecApprovalsSnapshot } from "./exec-approvals-Cx9jIef7.js";
|
|
16
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
16
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-FAU0VhGn.js";
|
|
17
17
|
import "./service-aC_5lPUU.js";
|
|
18
18
|
import "./systemd-CwbNhlrj.js";
|
|
19
19
|
import { t as renderTable } from "./table-DDQGlZSe.js";
|
|
20
20
|
import { t as describeUnknownError } from "./shared-BfMvlyE1.js";
|
|
21
|
-
import { n as nodesCallOpts, r as resolveNodeId } from "./rpc-
|
|
21
|
+
import { n as nodesCallOpts, r as resolveNodeId } from "./rpc-C1tvr4cz.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
|