getkova 2.0.0-beta.2 → 2.0.0-beta.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/.buildstamp +1 -1
- package/dist/{agents-sGM5BfK4.js → agents-BbtbtJkS.js} +2 -2
- package/dist/{agents-CrMMmWVs.js → agents-Bt4GAWyu.js} +2 -2
- package/dist/{agents.commands.add-BS7Tg61B.js → agents.commands.add-BYE1_wN-.js} +1 -1
- package/dist/agents.commands.add-p0OHbTf0.js +2 -0
- package/dist/{api-D54BQXKU.js → api-i6SrkNmf.js} +4 -4
- package/dist/{auth-B561yKK2.js → auth-DEI6XxhP.js} +1 -1
- package/dist/{bridge-server-BslgBRBr.js → bridge-server-D198Y1v9.js} +1 -1
- package/dist/browser-cli-DS4rpEvz.js +2 -0
- package/dist/{browser-cli-DjE3HhZq.js → browser-cli-K9YZXUu8.js} +8 -8
- package/dist/{browser-cli-actions-input-BzvO_uXl.js → browser-cli-actions-input-D6n3Ljw7.js} +5 -5
- package/dist/{browser-cli-actions-observe-BGxySD6b.js → browser-cli-actions-observe-Cmxv1QvJ.js} +3 -3
- package/dist/{browser-cli-debug-Dr1WLWA0.js → browser-cli-debug-Dyjf0DOx.js} +3 -3
- package/dist/{browser-cli-inspect-CUzi-fyX.js → browser-cli-inspect-D1Ik9cMY.js} +2 -2
- package/dist/{browser-cli-manage-1Fq8uUB3.js → browser-cli-manage-CKzUODk9.js} +3 -3
- package/dist/{browser-cli-resize-CP7rSsYU.js → browser-cli-resize-BO-zynNp.js} +2 -2
- package/dist/{browser-cli-shared-BXnA_Drl.js → browser-cli-shared-cyb7Nvtr.js} +2 -2
- package/dist/{browser-cli-state-BeENpLv7.js → browser-cli-state-B4wI_PKh.js} +4 -4
- package/dist/browser-control-auth-Bc6sIz9Z.js +2 -0
- package/dist/{browser-node-runtime-Cfw6dlaK.js → browser-node-runtime-Bg2sR7aI.js} +1 -1
- package/dist/browser-profiles-C0RCYE6e.js +2 -0
- package/dist/{browser-runtime-Dumqd-M-.js → browser-runtime-65FT8CgS.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/{capability-cli-C-x3phz3.js → capability-cli-BX2X6Rqu.js} +2 -2
- package/dist/{channel-DGhF5Gbv.js → channel-BECydiYv.js} +2 -2
- package/dist/{channel-CluE_pHj.js → channel-BMQZM1VG.js} +3 -3
- package/dist/{channel-Ch8b9eow.js → channel-CO_QdmOB.js} +2 -2
- package/dist/{channel-DgVkgtBb.js → channel-DB_7Wc8V.js} +1 -1
- package/dist/{channel-plugin-resolution-DjEWGxJu.js → channel-plugin-resolution-CaSgPLvo.js} +1 -1
- package/dist/{channel-plugin-resolution-DKrIfbQm.js → channel-plugin-resolution-nYfdiP3l.js} +1 -1
- package/dist/{channel-plugin-runtime-CassiqiG.js → channel-plugin-runtime-UXm2BGNm.js} +1 -1
- package/dist/{channel.runtime-BlctaOme.js → channel.runtime-B9KxCEEI.js} +1 -1
- package/dist/{channel.runtime-IuMItIA-.js → channel.runtime-QDP7xeTH.js} +1 -1
- package/dist/{channel.setup-BE04Arxr.js → channel.setup-Dy4klqRQ.js} +2 -2
- package/dist/{channels-ey-rr28A.js → channels-BgCgO6Hc.js} +5 -5
- package/dist/{channels-cli-CcGwUx-v.js → channels-cli-fIgPOGzD.js} +4 -4
- package/dist/{chrome-BSjVFoRU.js → chrome-DSmdsp8t.js} +1 -1
- package/dist/{clack-prompter-BqTMgdz2.js → clack-prompter-eOBlKT28.js} +1 -1
- package/dist/cli/daemon-cli.js +2 -2
- package/dist/cli/run-main.js +6 -6
- package/dist/cli-C7wIIAHh.js +2 -0
- package/dist/cli-startup-metadata.json +3 -3
- package/dist/{cli-B1Us91os.js → cli-ukn5xBwt.js} +2 -2
- package/dist/{cli.runtime-WaLHg9Iq.js → cli.runtime-RosXKYBn.js} +2 -2
- package/dist/cli.runtime.js +1 -1
- package/dist/{command-registry-C8OAj6LP.js → command-registry-BD83S4X-.js} +2 -2
- package/dist/{command-registry-6FRvP9QJ.js → command-registry-DVPQyD_A.js} +2 -2
- package/dist/{command-registry-core-Cjxfi40u.js → command-registry-core-BSHXBU0I.js} +11 -11
- package/dist/{completion-cli-SAfGByxB.js → completion-cli-D_Hn_amB.js} +2 -2
- package/dist/{config-CEm5h9KI.js → config-CUn5nxgj.js} +1 -1
- package/dist/{config-cli-CJIrhubg.js → config-cli-LVB5eZWV.js} +1 -1
- package/dist/configure-ByDOBZDh.js +2 -0
- package/dist/{configure-D36jz57W.js → configure-C8-ni80d.js} +2 -2
- package/dist/{configure.commands-2EjZF9Z2.js → configure.commands-DmtuIOXF.js} +3 -3
- package/dist/{control-auth-C7l19C_M.js → control-auth-BkJJHec2.js} +1 -1
- package/dist/{control-service-C9si5fR5.js → control-service-CuS1DGW_.js} +5 -5
- package/dist/core-api-B56PceVC.js +2 -0
- package/dist/{core-api-DJh_fM7-.js → core-api-Ce4UdeuG.js} +2 -2
- package/dist/crestodian/crestodian.js +1 -1
- package/dist/crestodian/rescue-message.js +1 -1
- package/dist/{crestodian-Coe6VzBS.js → crestodian-b12ryK98.js} +4 -4
- package/dist/{cron-cli-DM5L3eVO.js → cron-cli-BsyuLSl_.js} +1 -1
- package/dist/{daemon-cli-h1KgB3nE.js → daemon-cli-B7qVxy0c.js} +2 -2
- package/dist/{devices-cli-CUreome4.js → devices-cli-CIqzvdhV.js} +1 -1
- package/dist/{dialogue-BCEQGzDA.js → dialogue-ynGz26K8.js} +1 -1
- package/dist/{directory-cli-CGZUctfM.js → directory-cli-DNqBAJT4.js} +1 -1
- package/dist/{doctor-CzrgPvMK.js → doctor-DZVnDK3z.js} +1 -1
- package/dist/doctor-DtAPRBXa.js +2 -0
- package/dist/{doctor-bundled-plugin-runtime-deps-DH83VwkZ.js → doctor-bundled-plugin-runtime-deps-Cczob1ui.js} +1 -1
- package/dist/{doctor-config-flow-DP53_Mi6.js → doctor-config-flow-RvLigf9S.js} +1 -1
- package/dist/{doctor-gateway-daemon-flow-BWjHvw3q.js → doctor-gateway-daemon-flow-bTwEVN14.js} +1 -1
- package/dist/{doctor-gateway-health-D5YkmvFk.js → doctor-gateway-health-BW3UJZ8R.js} +1 -1
- package/dist/{doctor-health-Cbd5nyYh.js → doctor-health-A2_a5WWH.js} +2 -2
- package/dist/{doctor-health-contributions-BnXrTVhu.js → doctor-health-contributions-Bwcp_E5P.js} +3 -3
- package/dist/{exec-approvals-cli-DtedKPuJ.js → exec-approvals-cli-BBc-KOF2.js} +2 -2
- package/dist/extensions/browser/browser-bridge.js +1 -1
- package/dist/extensions/browser/browser-config.js +4 -4
- package/dist/extensions/browser/browser-control-auth.js +2 -2
- package/dist/extensions/browser/browser-doctor.js +1 -1
- package/dist/extensions/browser/browser-maintenance.js +2 -2
- package/dist/extensions/browser/browser-profiles.js +2 -2
- package/dist/extensions/browser/browser-runtime-api.js +12 -12
- package/dist/extensions/browser/cli-metadata.js +1 -1
- package/dist/extensions/browser/index.js +1 -1
- package/dist/extensions/browser/package.json +1 -1
- package/dist/extensions/browser/plugin-registration.js +1 -1
- package/dist/extensions/browser/register.runtime.js +4 -4
- package/dist/extensions/browser/runtime-api.js +14 -14
- package/dist/extensions/discord/package.json +1 -1
- package/dist/extensions/google-meet/index.js +2 -2
- package/dist/extensions/imessage/api.js +2 -2
- package/dist/extensions/imessage/channel-plugin-api.js +1 -1
- package/dist/extensions/mattermost/channel-plugin-api.js +1 -1
- package/dist/extensions/mattermost/channel-plugin-runtime.js +1 -1
- package/dist/extensions/memory-core/cli-metadata.js +1 -1
- package/dist/extensions/memory-core/index.js +1 -1
- package/dist/extensions/nextcloud-talk/api.js +1 -1
- package/dist/extensions/nextcloud-talk/channel-plugin-api.js +1 -1
- package/dist/extensions/signal/api.js +2 -2
- package/dist/extensions/signal/channel-plugin-api.js +1 -1
- package/dist/extensions/telegram/package.json +1 -1
- package/dist/extensions/whatsapp/package.json +1 -1
- package/dist/extensions/zalo/package.json +1 -1
- package/dist/extensions/zalouser/api.js +5 -5
- package/dist/extensions/zalouser/channel-plugin-api.js +1 -1
- package/dist/extensions/zalouser/runtime-api.js +5 -5
- package/dist/extensions/zalouser/setup-plugin-api.js +1 -1
- package/dist/{gateway-cli-zuQCsmyT.js → gateway-cli-BoU_PrLL.js} +6 -6
- package/dist/{gateway-rpc-C2uXMwSv.js → gateway-rpc-58HpkpIW.js} +1 -1
- package/dist/{gateway-rpc.runtime-DXkS5Uu5.js → gateway-rpc.runtime-D8heYBuD.js} +1 -1
- package/dist/gateway-rpc.runtime.js +1 -1
- package/dist/{gateway-runtime-BCrt_u0m.js → gateway-runtime-DbvQWD4Y.js} +1 -1
- package/dist/{gateway-status-DmAUlwww.js → gateway-status-9G_Z9xoX.js} +1 -1
- package/dist/{health-CBKrQqF3.js → health-CsCCWpBx.js} +1 -1
- package/dist/{health-rr8Sy1iS.js → health-D2AoarM9.js} +1 -1
- package/dist/list-CwZdRljZ.js +2 -0
- package/dist/{list-BcjWfu-5.js → list-DmrCkMha.js} +1 -1
- package/dist/{list.status-command-D7FWKlw1.js → list.status-command-Ce6ymcmJ.js} +1 -1
- package/dist/{local-dispatch.runtime-YuTqGWhb.js → local-dispatch.runtime-DZl7AzHC.js} +1 -1
- package/dist/local-dispatch.runtime.js +1 -1
- package/dist/{logs-cli-DaXOQF1m.js → logs-cli-BAXukgDR.js} +1 -1
- package/dist/{memory-core-host-runtime-cli-DpYSjVk6.js → memory-core-host-runtime-cli-BqHGL9XA.js} +1 -1
- package/dist/{models-cli-CclCzmAr.js → models-cli-C9GWRcBC.js} +8 -8
- package/dist/{nodes-cli-DtyGFhJY.js → nodes-cli-BUZ6KxT0.js} +1 -1
- package/dist/{onboard-BBizbwzG.js → onboard-B9-9ADFh.js} +3 -3
- package/dist/{operations-BTzd9j9s.js → operations-BykZ8RtT.js} +7 -7
- package/dist/{plugin-enabled-DlqTqbFk.js → plugin-enabled-CSRseLrb.js} +6 -6
- package/dist/{plugin-registration-B6v6Wy-7.js → plugin-registration-oH4_fssz.js} +1 -1
- package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
- package/dist/plugin-sdk/browser-node-runtime.js +2 -2
- package/dist/plugin-sdk/browser-support.js +2 -2
- package/dist/plugin-sdk/feishu.js +1 -1
- package/dist/plugin-sdk/gateway-runtime.js +2 -2
- package/dist/plugin-sdk/memory-core-host-runtime-cli.js +2 -2
- package/dist/plugin-sdk/memory-core.js +2 -2
- package/dist/plugin-sdk/setup-runtime.js +2 -2
- package/dist/{plugin-service-D2vGm97E.js → plugin-service-CwHLOwgo.js} +8 -8
- package/dist/postinstall-inventory.json +151 -151
- package/dist/{probe-DsCumvGd.js → probe-Cfgw17cd.js} +1 -1
- package/dist/{program-DwkwiN8q.js → program-fx1ap44A.js} +1 -1
- package/dist/{progress-l8tObp7q.js → progress-DcOdkT64.js} +30 -1
- package/dist/{progress-DxvxzVKX.js → progress-UT7xScVC.js} +1 -1
- package/dist/{pw-ai-BF9KI0gJ.js → pw-ai-BTaXsZps.js} +3 -3
- package/dist/{pw-role-snapshot-DcxDAVfq.js → pw-role-snapshot-BZgGQRSo.js} +1 -1
- package/dist/{register-service-commands-DylyMkrZ.js → register-service-commands-BdHyh2Ze.js} +1 -1
- package/dist/{register.agent-DP8HKeWx.js → register.agent-CQ_cJfai.js} +3 -3
- package/dist/{register.configure-CbaSWdEb.js → register.configure-DKPUIxZ6.js} +2 -2
- package/dist/{register.crestodian-6hCd91uT.js → register.crestodian-D_bgOzGb.js} +1 -1
- package/dist/{register.maintenance-Bsl4XAe6.js → register.maintenance-CuDARkLp.js} +1 -1
- package/dist/{register.message-C9j-IA9I.js → register.message-DUIwaaK2.js} +1 -1
- package/dist/{register.onboard-AvBiTiIH.js → register.onboard-mzwe50em.js} +2 -2
- package/dist/{register.settings-Bd0995aE.js → register.settings-DBS7zV_5.js} +1 -1
- package/dist/{register.setup-CleBJ0Mm.js → register.setup-B2Yv0Zda.js} +1 -1
- package/dist/{register.status-health-sessions-DhE5s9jJ.js → register.status-health-sessions-DqN50c1M.js} +3 -3
- package/dist/register.subclis-C6vqzQhE.js +3 -0
- package/dist/{register.subclis-core-P0TQ3kJy.js → register.subclis-core-CcmlHKaM.js} +13 -13
- package/dist/{register.subclis-eSSlPgdN.js → register.subclis-pVjf6gja.js} +2 -2
- package/dist/{route-9lbouGYQ.js → route-DPbtoHOm.js} +8 -8
- package/dist/routes-CC-a6hDO.js +2 -0
- package/dist/{routes-DbBOfwOF.js → routes-PguVB-65.js} +6 -6
- package/dist/{rpc-B7t0Bdg9.js → rpc-BWOD9C6Y.js} +1 -1
- package/dist/{rpc.runtime-DLgowi0h.js → rpc.runtime-BAVKrzBm.js} +1 -1
- package/dist/rpc.runtime.js +1 -1
- package/dist/{scan-Bz2-YoKF.js → scan-CoiNaFy1.js} +1 -1
- package/dist/{secrets-cli-DburDin7.js → secrets-cli-DhEASPW2.js} +1 -1
- package/dist/{server-DXYmz_wI.js → server-B0_wgWJQ.js} +5 -5
- package/dist/{server-BVYADGMQ.js → server-COAvztev.js} +1 -1
- package/dist/{server-context-DwNt17Td.js → server-context-BqqNKouy.js} +1 -1
- package/dist/{server-context-BzlCZDeA.js → server-context-DtThrtfA.js} +5 -5
- package/dist/{server-methods-C_9YxncZ.js → server-methods-B7fWyD2B.js} +1 -1
- package/dist/{server-plugin-bootstrap-rWeRV-73.js → server-plugin-bootstrap-BEH9W3Li.js} +1 -1
- package/dist/{server-plugin-bootstrap-QMEqgBu6.js → server-plugin-bootstrap-Dd2kZPu3.js} +1 -1
- package/dist/{server.impl-D0TTTIfP.js → server.impl-BFBPY3qE.js} +5 -5
- package/dist/{session-tab-registry-5SQ031tk.js → session-tab-registry-B1PIxYDI.js} +3 -3
- package/dist/settings-4jyvLfD7.js +2 -0
- package/dist/{settings-2hjAyIwm.js → settings-DdLXYd2s.js} +175 -175
- package/dist/{setup-core-CSueUHFv.js → setup-core-CjfdEoBZ.js} +1 -1
- package/dist/{setup-core-CPeTN92h.js → setup-core-D-ZcCIIN.js} +1 -1
- package/dist/{setup-core-CgvnAPAj.js → setup-core-cH0qZW7S.js} +1 -1
- package/dist/{setup-BiQFO-cN.js → setup-laSoPSz2.js} +1 -1
- package/dist/setup-orKNfwu4.js +2 -0
- package/dist/{setup-runtime-7PCm6GDI.js → setup-runtime-By8FwMRh.js} +1 -1
- package/dist/{setup-surface-YSONZ06L.js → setup-surface-BV0InjMg.js} +1 -1
- package/dist/setup-surface-DvlDGs5-.js +3 -0
- package/dist/{setup.finalize-A9HKbT9k.js → setup.finalize-wl81qFtH.js} +1 -1
- package/dist/{status-eGLMZLD2.js → status-3WlG_P77.js} +1 -1
- package/dist/status-BV3hIvwg.js +2 -0
- package/dist/{status-B5UB_Th-.js → status-COYCYkeA.js} +1 -1
- package/dist/status-DTfI2ai7.js +2 -0
- package/dist/status-DwuWnlJ3.js +4 -0
- package/dist/{status-all-SC-gBpIG.js → status-all-kHxkjRke.js} +1 -1
- package/dist/{status-Ce9B-Jul.js → status-k_Kw7XBL.js} +1 -1
- package/dist/{status.command-BcohVurL.js → status.command-5-vpdASr.js} +3 -3
- package/dist/status.command-BfHfbRaq.js +2 -0
- package/dist/{status.gather-DbA7Lwod.js → status.gather-BiOxgYIq.js} +1 -1
- package/dist/{status.gather-Dk-e_Yvi.js → status.gather-BjHTLL6k.js} +1 -1
- package/dist/status.runtime-Cfttlrng.js +2 -0
- package/dist/status.runtime.js +1 -1
- package/dist/{status.scan-DW_OHVAP.js → status.scan-1iziHi1I.js} +1 -1
- package/dist/{system-cli-Hjc4r93K.js → system-cli-D75BdWRM.js} +1 -1
- package/dist/{target-id-BBQbQLED.js → target-id-Cs6A5UmJ.js} +2 -2
- package/dist/{trash-DcdwwOOR.js → trash-DOAjF-I4.js} +1 -1
- package/dist/{tui-backend-B_dTdYag.js → tui-backend-4sKSPouQ.js} +2 -2
- package/dist/{update-cli-CPU0uWhx.js → update-cli-CFWH6A59.js} +2 -2
- package/docs/reference/templates/IDENTITY.md +34 -0
- package/docs/reference/templates/USER.md +28 -0
- package/package.json +3 -3
- package/dist/agents.commands.add-ChekshaN.js +0 -2
- package/dist/browser-cli-Cq6Osub2.js +0 -2
- package/dist/browser-control-auth-nYCwOkdJ.js +0 -2
- package/dist/browser-profiles-BjGTLRDk.js +0 -2
- package/dist/cli-Cbdf2Lev.js +0 -2
- package/dist/configure-2K5ZtWBS.js +0 -2
- package/dist/core-api-AhuQ8dAm.js +0 -2
- package/dist/doctor-CcZsOWvl.js +0 -2
- package/dist/list-_qRrLC-I.js +0 -2
- package/dist/register.subclis-Dm8AQA-d.js +0 -3
- package/dist/routes-BHUi_lum.js +0 -2
- package/dist/settings-B2lOTGMa.js +0 -2
- package/dist/setup-C2eFnnPR.js +0 -2
- package/dist/setup-surface-DyHwdIgL.js +0 -3
- package/dist/status-D4nggsmb.js +0 -4
- package/dist/status-DBPSHSeR.js +0 -2
- package/dist/status-EnUzcTjE.js +0 -2
- package/dist/status.command-BL6jIqk5.js +0 -2
- package/dist/status.runtime-DnDG_tZY.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as formatErrorMessage } from "./errors-DOA7pyD6.js";
|
|
2
|
-
import { n as withProgress } from "./progress-
|
|
2
|
+
import { n as withProgress } from "./progress-DcOdkT64.js";
|
|
3
3
|
//#region src/cli/daemon-cli/probe.ts
|
|
4
4
|
let probeGatewayModulePromise;
|
|
5
5
|
async function loadProbeGatewayModule() {
|
|
@@ -9,7 +9,7 @@ import { n as setProgramContext } from "./program-context-BXBahJLW.js";
|
|
|
9
9
|
import { t as isCommandJsonOutputMode } from "./json-mode-DlPE3-bc.js";
|
|
10
10
|
import { t as forceFreePort } from "./ports-wmuNy9jc.js";
|
|
11
11
|
import { n as resolvePluginInstallPreactionRequest, t as resolvePluginInstallInvalidConfigPolicy } from "./plugin-install-config-policy-DQkLBnOq.js";
|
|
12
|
-
import { t as registerProgramCommands } from "./command-registry-
|
|
12
|
+
import { t as registerProgramCommands } from "./command-registry-BD83S4X-.js";
|
|
13
13
|
import { t as configureProgramHelp } from "./help-B0gdxftI.js";
|
|
14
14
|
import { i as shouldBypassConfigGuardForCommandPath, n as ensureCliExecutionBootstrap, r as resolveCliExecutionStartupContext, t as applyCliExecutionStartupPresentation } from "./command-execution-startup-egSeaEtD.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { n as registerActiveProgressLine, r as unregisterActiveProgressLine, t as clearActiveProgressLine } from "./progress-line-BLlwPNs4.js";
|
|
2
2
|
import { r as theme } from "./theme-B128avno.js";
|
|
3
3
|
import { spinner } from "@clack/prompts";
|
|
4
|
-
import { createOscProgressController, supportsOscProgress } from "osc-progress";
|
|
5
4
|
//#region src/cli/progress.ts
|
|
6
5
|
const DEFAULT_DELAY_MS = 0;
|
|
6
|
+
const OSC_PROGRESS_PREFIX = "\x1B]9;4;";
|
|
7
|
+
const OSC_PROGRESS_ST = "\x1B\\";
|
|
8
|
+
const OSC_PROGRESS_BEL = "\x07";
|
|
9
|
+
const OSC_PROGRESS_C1_ST = "";
|
|
7
10
|
let activeProgress = 0;
|
|
8
11
|
const noopReporter = {
|
|
9
12
|
setLabel: () => {},
|
|
@@ -11,6 +14,32 @@ const noopReporter = {
|
|
|
11
14
|
tick: () => {},
|
|
12
15
|
done: () => {}
|
|
13
16
|
};
|
|
17
|
+
function sanitizeOscProgressLabel(label) {
|
|
18
|
+
return label.replaceAll(OSC_PROGRESS_ST, "").split("\x1B").join("").replaceAll(OSC_PROGRESS_BEL, "").replaceAll(OSC_PROGRESS_C1_ST, "").replaceAll("]", "").trim();
|
|
19
|
+
}
|
|
20
|
+
function supportsOscProgress(env, isTty) {
|
|
21
|
+
if (!isTty) return false;
|
|
22
|
+
const termProgram = (env.TERM_PROGRAM ?? "").toLowerCase();
|
|
23
|
+
return termProgram.includes("ghostty") || termProgram.includes("wezterm") || Boolean(env.WT_SESSION);
|
|
24
|
+
}
|
|
25
|
+
function createOscProgressController(options) {
|
|
26
|
+
if (!supportsOscProgress(options.env, options.isTty)) return {
|
|
27
|
+
setIndeterminate: () => {},
|
|
28
|
+
setPercent: () => {},
|
|
29
|
+
clear: () => {}
|
|
30
|
+
};
|
|
31
|
+
let lastLabel = "Working";
|
|
32
|
+
const send = (state, percent, label) => {
|
|
33
|
+
lastLabel = sanitizeOscProgressLabel(label) || lastLabel;
|
|
34
|
+
const progress = percent === null ? "" : String(Math.max(0, Math.min(100, Math.round(percent))));
|
|
35
|
+
options.write(`${OSC_PROGRESS_PREFIX}${String(state)};${progress};${lastLabel}${OSC_PROGRESS_ST}`);
|
|
36
|
+
};
|
|
37
|
+
return {
|
|
38
|
+
setIndeterminate: (label) => send(3, null, label),
|
|
39
|
+
setPercent: (label, percent) => send(1, percent, label),
|
|
40
|
+
clear: () => send(0, 0, lastLabel)
|
|
41
|
+
};
|
|
42
|
+
}
|
|
14
43
|
function createCliProgress(options) {
|
|
15
44
|
if (options.enabled === false) return noopReporter;
|
|
16
45
|
if (activeProgress > 0) return noopReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as withProgress, r as withProgressTotals, t as createCliProgress } from "./progress-
|
|
1
|
+
import { n as withProgress, r as withProgressTotals, t as createCliProgress } from "./progress-DcOdkT64.js";
|
|
2
2
|
export { createCliProgress, withProgress, withProgressTotals };
|
|
@@ -6,9 +6,9 @@ import { t as SsrFBlockedError } from "./ssrf-BcaD8qK3.js";
|
|
|
6
6
|
import "./text-runtime-E9ONa0Z_.js";
|
|
7
7
|
import { L as withNoProxyForCdpUrl, c as isWebSocketUrl, i as fetchJson, l as normalizeCdpHttpBaseForJsonEndpoints, n as assertCdpEndpointAllowed, o as getHeadersWithAuth, p as withCdpSocket, t as appendCdpPath } from "./cdp.helpers-BpSm2MkJ.js";
|
|
8
8
|
import { c as BrowserTabNotFoundError } from "./errors-BG1dPbJE.js";
|
|
9
|
-
import { a as DEFAULT_DOWNLOAD_DIR, l as resolveStrictExistingPathsWithinRoot, o as DEFAULT_TRACE_DIR, s as DEFAULT_UPLOAD_DIR } from "./config-
|
|
10
|
-
import { C as assertBrowserNavigationResultAllowed, S as assertBrowserNavigationRedirectChainAllowed, T as withBrowserNavigationPolicy, b as InvalidBrowserNavigationUrlError, f as formatAriaSnapshot, l as AX_REF_PATTERN, p as normalizeCdpWsUrl, t as getChromeWebSocketUrl, x as assertBrowserNavigationAllowed } from "./chrome-
|
|
11
|
-
import { c as ACT_MAX_CLICK_DELAY_MS, d as resolveActInteractionTimeoutMs, f as resolveActWaitTimeoutMs, i as parseRoleRef, l as ACT_MAX_WAIT_TIME_MS, n as buildRoleSnapshotFromAriaSnapshot, p as matchBrowserUrlPattern, r as getRoleSnapshotStats, t as buildRoleSnapshotFromAiSnapshot } from "./pw-role-snapshot-
|
|
9
|
+
import { a as DEFAULT_DOWNLOAD_DIR, l as resolveStrictExistingPathsWithinRoot, o as DEFAULT_TRACE_DIR, s as DEFAULT_UPLOAD_DIR } from "./config-CUn5nxgj.js";
|
|
10
|
+
import { C as assertBrowserNavigationResultAllowed, S as assertBrowserNavigationRedirectChainAllowed, T as withBrowserNavigationPolicy, b as InvalidBrowserNavigationUrlError, f as formatAriaSnapshot, l as AX_REF_PATTERN, p as normalizeCdpWsUrl, t as getChromeWebSocketUrl, x as assertBrowserNavigationAllowed } from "./chrome-DSmdsp8t.js";
|
|
11
|
+
import { c as ACT_MAX_CLICK_DELAY_MS, d as resolveActInteractionTimeoutMs, f as resolveActWaitTimeoutMs, i as parseRoleRef, l as ACT_MAX_WAIT_TIME_MS, n as buildRoleSnapshotFromAriaSnapshot, p as matchBrowserUrlPattern, r as getRoleSnapshotStats, t as buildRoleSnapshotFromAiSnapshot } from "./pw-role-snapshot-BZgGQRSo.js";
|
|
12
12
|
import { n as markPwAiLoaded } from "./pw-ai-state-MAqbEcMj.js";
|
|
13
13
|
import { createRequire } from "node:module";
|
|
14
14
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as normalizeLowercaseStringOrEmpty, c as normalizeOptionalString } from "./string-coerce-Bje8XVt9.js";
|
|
2
2
|
import "./text-runtime-E9ONa0Z_.js";
|
|
3
|
-
import { _ as INTERACTIVE_ROLES, g as CONTENT_ROLES, v as STRUCTURAL_ROLES } from "./chrome-
|
|
3
|
+
import { _ as INTERACTIVE_ROLES, g as CONTENT_ROLES, v as STRUCTURAL_ROLES } from "./chrome-DSmdsp8t.js";
|
|
4
4
|
//#region extensions/browser/src/browser/url-pattern.ts
|
|
5
5
|
function matchBrowserUrlPattern(pattern, url) {
|
|
6
6
|
const trimmedPattern = pattern.trim();
|
package/dist/{register-service-commands-DylyMkrZ.js → register-service-commands-BdHyh2Ze.js}
RENAMED
|
@@ -12,7 +12,7 @@ function loadDaemonLifecycleModule() {
|
|
|
12
12
|
return daemonLifecycleModulePromise;
|
|
13
13
|
}
|
|
14
14
|
function loadDaemonStatusModule() {
|
|
15
|
-
daemonStatusModulePromise ??= import("./status.runtime-
|
|
15
|
+
daemonStatusModulePromise ??= import("./status.runtime-Cfttlrng.js");
|
|
16
16
|
return daemonStatusModulePromise;
|
|
17
17
|
}
|
|
18
18
|
function resolveInstallOptions(cmdOpts, command) {
|
|
@@ -16,15 +16,15 @@ import { u as normalizeMessageChannel } from "./message-channel-CZp1EA6q.js";
|
|
|
16
16
|
import { m as resolveSendableOutboundReplyParts } from "./reply-payload-C4mevo-Y.js";
|
|
17
17
|
import { c as randomIdempotencyKey, r as callGateway } from "./call-BDgRATaE.js";
|
|
18
18
|
import { i as resolveSessionKeyForRequest } from "./live-model-switch-CN7UOzkF.js";
|
|
19
|
-
import { n as withProgress } from "./progress-
|
|
19
|
+
import { n as withProgress } from "./progress-DcOdkT64.js";
|
|
20
20
|
import { n as agentCommand } from "./agent-command-B3POwX45.js";
|
|
21
21
|
import { t as collectOption } from "./helpers-BCymp1ru.js";
|
|
22
22
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
23
23
|
import { t as formatHelpExamples } from "./help-format-De9mS3Kk.js";
|
|
24
24
|
import { t as createDefaultDeps } from "./deps-D3TDUCSF.js";
|
|
25
25
|
import "./agent-BYOSIPqQ.js";
|
|
26
|
-
import { a as agentsBindingsCommand, i as agentsBindCommand, n as agentsSetIdentityCommand, o as agentsUnbindCommand, r as agentsDeleteCommand, t as agentsListCommand } from "./agents-
|
|
27
|
-
import { t as agentsAddCommand } from "./agents.commands.add-
|
|
26
|
+
import { a as agentsBindingsCommand, i as agentsBindCommand, n as agentsSetIdentityCommand, o as agentsUnbindCommand, r as agentsDeleteCommand, t as agentsListCommand } from "./agents-BbtbtJkS.js";
|
|
27
|
+
import { t as agentsAddCommand } from "./agents.commands.add-BYE1_wN-.js";
|
|
28
28
|
//#region src/commands/agent-via-gateway.ts
|
|
29
29
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
30
30
|
const EMBEDDED_FALLBACK_META = {
|
|
@@ -2,8 +2,8 @@ import { t as formatDocsLink } from "./links-m69AEvat.js";
|
|
|
2
2
|
import { r as theme } from "./theme-B128avno.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-izpjJukX.js";
|
|
4
4
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
5
|
-
import { n as configureCommandFromSectionsArg, o as CONFIGURE_WIZARD_SECTIONS } from "./configure.commands-
|
|
6
|
-
import "./configure-
|
|
5
|
+
import { n as configureCommandFromSectionsArg, o as CONFIGURE_WIZARD_SECTIONS } from "./configure.commands-DmtuIOXF.js";
|
|
6
|
+
import "./configure-ByDOBZDh.js";
|
|
7
7
|
//#region src/cli/program/register.configure.ts
|
|
8
8
|
function registerConfigureCommand(program) {
|
|
9
9
|
program.command("configure").description("Interactive configuration for credentials, channels, gateway, and agent defaults").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/configure", "docs.neuralstudio.in/cli/configure")}\n`).option("--section <section>", `Configuration sections (repeatable). Options: ${CONFIGURE_WIZARD_SECTIONS.join(", ")}`, (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as theme } from "./theme-B128avno.js";
|
|
2
2
|
import { n as defaultRuntime } from "./runtime-izpjJukX.js";
|
|
3
|
-
import { t as runCrestodian } from "./crestodian-
|
|
3
|
+
import { t as runCrestodian } from "./crestodian-b12ryK98.js";
|
|
4
4
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
5
5
|
import { t as formatHelpExamples } from "./help-format-De9mS3Kk.js";
|
|
6
6
|
//#region src/cli/program/register.crestodian.ts
|
|
@@ -15,7 +15,7 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
15
15
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
16
16
|
import { n as openUrl, t as detectBrowserOpenSupport } from "./browser-open-DDXwrbi1.js";
|
|
17
17
|
import { a as formatControlUiSshHint } from "./onboard-helpers-Cdg5RXgY.js";
|
|
18
|
-
import { t as doctorCommand } from "./doctor-
|
|
18
|
+
import { t as doctorCommand } from "./doctor-DZVnDK3z.js";
|
|
19
19
|
import { t as selectStyled } from "./prompt-select-styled-D0_B56_r.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -15,7 +15,7 @@ import { o as runGlobalGatewayStopSafely } from "./hook-runner-global-DqdLltSu.j
|
|
|
15
15
|
import { n as CHANNEL_MESSAGE_ACTION_NAMES, t as resolveMessageSecretScope } from "./message-secret-scope-BG-TfpTa.js";
|
|
16
16
|
import { o as getScopedChannelsCommandSecretTargets } from "./command-secret-targets-CiCUExrx.js";
|
|
17
17
|
import { n as runMessageAction } from "./message-action-runner-DjD86Isp.js";
|
|
18
|
-
import { n as withProgress } from "./progress-
|
|
18
|
+
import { n as withProgress } from "./progress-DcOdkT64.js";
|
|
19
19
|
import { t as collectOption } from "./helpers-BCymp1ru.js";
|
|
20
20
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
21
21
|
import { t as formatHelpExamples } from "./help-format-De9mS3Kk.js";
|
|
@@ -7,7 +7,7 @@ import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
|
7
7
|
import { a as resolveManifestProviderOnboardAuthFlags } from "./provider-auth-choices-BelJiJO_.js";
|
|
8
8
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-Cv9DPxMk.js";
|
|
9
9
|
import { t as CORE_ONBOARD_AUTH_FLAGS } from "./onboard-core-auth-flags-D5fRhl92.js";
|
|
10
|
-
import { t as setupWizardCommand } from "./onboard-
|
|
10
|
+
import { t as setupWizardCommand } from "./onboard-B9-9ADFh.js";
|
|
11
11
|
//#region src/cli/program/register.onboard.ts
|
|
12
12
|
function resolveInstallDaemonFlag(command, opts) {
|
|
13
13
|
if (!command || typeof command !== "object") return;
|
|
@@ -116,7 +116,7 @@ function registerOnboardCommand(program) {
|
|
|
116
116
|
if (shouldOpenSettingsDashboardForRepeatOnboard(commandRuntime)) {
|
|
117
117
|
const snapshot = await readConfigFileSnapshot();
|
|
118
118
|
if (snapshot.exists && snapshot.valid) {
|
|
119
|
-
const { settingsCommand } = await import("./settings-
|
|
119
|
+
const { settingsCommand } = await import("./settings-4jyvLfD7.js");
|
|
120
120
|
await settingsCommand(defaultRuntime);
|
|
121
121
|
return;
|
|
122
122
|
}
|
|
@@ -2,7 +2,7 @@ import { t as formatDocsLink } from "./links-m69AEvat.js";
|
|
|
2
2
|
import { r as theme } from "./theme-B128avno.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-izpjJukX.js";
|
|
4
4
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
5
|
-
import { s as settingsCommand } from "./settings-
|
|
5
|
+
import { s as settingsCommand } from "./settings-DdLXYd2s.js";
|
|
6
6
|
//#region src/cli/program/register.settings.ts
|
|
7
7
|
function registerSettingsCommand(program) {
|
|
8
8
|
program.command("settings").description("Open the Kova settings dashboard").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/settings", "docs.neuralstudio.in/cli/settings")}\n`).action(async () => {
|
|
@@ -5,7 +5,7 @@ import { g as shortenHomePath } from "./utils-jWfOO8bT.js";
|
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-izpjJukX.js";
|
|
6
6
|
import { n as safeParseWithSchema } from "./zod-parse-CTdib6MN.js";
|
|
7
7
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
8
|
-
import { t as setupWizardCommand } from "./onboard-
|
|
8
|
+
import { t as setupWizardCommand } from "./onboard-B9-9ADFh.js";
|
|
9
9
|
import JSON5 from "json5";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import { z } from "zod";
|
|
@@ -19,10 +19,10 @@ import { r as resolveCronStorePath } from "./store-DcfxvTO0.js";
|
|
|
19
19
|
import { n as parsePositiveIntOrUndefined } from "./helpers-BCymp1ru.js";
|
|
20
20
|
import { n as runCommandWithRuntime } from "./cli-utils-D2KTkfpk.js";
|
|
21
21
|
import { t as formatHelpExamples } from "./help-format-De9mS3Kk.js";
|
|
22
|
-
import { n as healthCommand } from "./health-
|
|
22
|
+
import { n as healthCommand } from "./health-CsCCWpBx.js";
|
|
23
23
|
import { a as formatSessionModelCell, c as resolveSessionDisplayModel, i as formatSessionKeyCell, l as resolveSessionStoreTargetsOrExit, n as formatSessionAgeCell, o as toSessionDisplayRows, r as formatSessionFlagsCell, s as resolveSessionDisplayDefaults, t as sessionsCommand } from "./sessions-BNjMgQp-.js";
|
|
24
|
-
import { n as statusCommand } from "./status.command-
|
|
25
|
-
import "./status-
|
|
24
|
+
import { n as statusCommand } from "./status.command-5-vpdASr.js";
|
|
25
|
+
import "./status-COYCYkeA.js";
|
|
26
26
|
import { n as summarizeTaskFlowAuditFindings, t as listTaskFlowAuditFindings } from "./task-flow-registry.audit-DOYrQ43o.js";
|
|
27
27
|
import { t as compareTaskAuditFindingSortKeys } from "./task-registry.audit.shared-BZ0gAY6c.js";
|
|
28
28
|
import { n as listTaskAuditFindings, r as summarizeTaskAuditFindings } from "./task-registry.audit-DRwSjDqV.js";
|
|
@@ -61,7 +61,7 @@ const entrySpecs = [
|
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
commandNames: ["gateway"],
|
|
64
|
-
loadModule: () => import("./gateway-cli-
|
|
64
|
+
loadModule: () => import("./gateway-cli-BoU_PrLL.js"),
|
|
65
65
|
exportName: "registerGatewayCli"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
@@ -71,27 +71,27 @@ const entrySpecs = [
|
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
commandNames: ["logs"],
|
|
74
|
-
loadModule: () => import("./logs-cli-
|
|
74
|
+
loadModule: () => import("./logs-cli-BAXukgDR.js"),
|
|
75
75
|
exportName: "registerLogsCli"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
commandNames: ["system"],
|
|
79
|
-
loadModule: () => import("./system-cli-
|
|
79
|
+
loadModule: () => import("./system-cli-D75BdWRM.js"),
|
|
80
80
|
exportName: "registerSystemCli"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
commandNames: ["models"],
|
|
84
|
-
loadModule: () => import("./models-cli-
|
|
84
|
+
loadModule: () => import("./models-cli-C9GWRcBC.js"),
|
|
85
85
|
exportName: "registerModelsCli"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
commandNames: ["infer", "capability"],
|
|
89
|
-
loadModule: () => import("./capability-cli-
|
|
89
|
+
loadModule: () => import("./capability-cli-BX2X6Rqu.js"),
|
|
90
90
|
exportName: "registerCapabilityCli"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
commandNames: ["approvals"],
|
|
94
|
-
loadModule: () => import("./exec-approvals-cli-
|
|
94
|
+
loadModule: () => import("./exec-approvals-cli-BBc-KOF2.js"),
|
|
95
95
|
exportName: "registerExecApprovalsCli"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
@@ -101,12 +101,12 @@ const entrySpecs = [
|
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
commandNames: ["nodes"],
|
|
104
|
-
loadModule: () => import("./nodes-cli-
|
|
104
|
+
loadModule: () => import("./nodes-cli-BUZ6KxT0.js"),
|
|
105
105
|
exportName: "registerNodesCli"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
commandNames: ["devices"],
|
|
109
|
-
loadModule: () => import("./devices-cli-
|
|
109
|
+
loadModule: () => import("./devices-cli-CIqzvdhV.js"),
|
|
110
110
|
exportName: "registerDevicesCli"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -130,7 +130,7 @@ const entrySpecs = [
|
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
commandNames: ["cron"],
|
|
133
|
-
loadModule: () => import("./cron-cli-
|
|
133
|
+
loadModule: () => import("./cron-cli-BsyuLSl_.js"),
|
|
134
134
|
exportName: "registerCronCli"
|
|
135
135
|
},
|
|
136
136
|
{
|
|
@@ -193,12 +193,12 @@ const entrySpecs = [
|
|
|
193
193
|
...defineImportedProgramCommandGroupSpecs([
|
|
194
194
|
{
|
|
195
195
|
commandNames: ["channels"],
|
|
196
|
-
loadModule: () => import("./channels-cli-
|
|
196
|
+
loadModule: () => import("./channels-cli-fIgPOGzD.js"),
|
|
197
197
|
exportName: "registerChannelsCli"
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
commandNames: ["directory"],
|
|
201
|
-
loadModule: () => import("./directory-cli-
|
|
201
|
+
loadModule: () => import("./directory-cli-DNqBAJT4.js"),
|
|
202
202
|
exportName: "registerDirectoryCli"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
@@ -208,7 +208,7 @@ const entrySpecs = [
|
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
commandNames: ["secrets"],
|
|
211
|
-
loadModule: () => import("./secrets-cli-
|
|
211
|
+
loadModule: () => import("./secrets-cli-DhEASPW2.js"),
|
|
212
212
|
exportName: "registerSecretsCli"
|
|
213
213
|
},
|
|
214
214
|
{
|
|
@@ -218,7 +218,7 @@ const entrySpecs = [
|
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
commandNames: ["update"],
|
|
221
|
-
loadModule: () => import("./update-cli-
|
|
221
|
+
loadModule: () => import("./update-cli-CFWH6A59.js"),
|
|
222
222
|
exportName: "registerUpdateCli"
|
|
223
223
|
}
|
|
224
224
|
])
|
|
@@ -2,11 +2,11 @@ import { h as getSubCliEntries } from "./argv-DLxOXRIh.js";
|
|
|
2
2
|
import { t as resolveCliArgvInvocation } from "./argv-invocation-DD-D3jj8.js";
|
|
3
3
|
import { r as shouldRegisterPrimarySubcommandOnly, t as shouldEagerRegisterSubcommands } from "./command-registration-policy-CWNy8kVU.js";
|
|
4
4
|
import { i as registerCommandGroups, r as registerCommandGroupByName } from "./register-command-groups-B_YlPtp5.js";
|
|
5
|
-
import { i as buildCommandGroupEntries, n as registerSubCliByName$1, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands$1 } from "./register.subclis-core-
|
|
5
|
+
import { i as buildCommandGroupEntries, n as registerSubCliByName$1, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands$1 } from "./register.subclis-core-CcmlHKaM.js";
|
|
6
6
|
//#region src/cli/program/register.subclis.ts
|
|
7
7
|
const entrySpecs = [...defineImportedProgramCommandGroupSpecs([{
|
|
8
8
|
commandNames: ["completion"],
|
|
9
|
-
loadModule: () => import("./completion-cli-
|
|
9
|
+
loadModule: () => import("./completion-cli-D_Hn_amB.js"),
|
|
10
10
|
exportName: "registerCompletionCli"
|
|
11
11
|
}])];
|
|
12
12
|
function resolveSubCliCommandGroups() {
|
|
@@ -232,7 +232,7 @@ let configCliPromise;
|
|
|
232
232
|
let modelsListCommandPromise;
|
|
233
233
|
let modelsStatusCommandPromise;
|
|
234
234
|
function loadConfigCli() {
|
|
235
|
-
configCliPromise ??= import("./config-cli-
|
|
235
|
+
configCliPromise ??= import("./config-cli-LVB5eZWV.js");
|
|
236
236
|
return configCliPromise;
|
|
237
237
|
}
|
|
238
238
|
function loadModelsListCommand() {
|
|
@@ -240,14 +240,14 @@ function loadModelsListCommand() {
|
|
|
240
240
|
return modelsListCommandPromise;
|
|
241
241
|
}
|
|
242
242
|
function loadModelsStatusCommand() {
|
|
243
|
-
modelsStatusCommandPromise ??= import("./list.status-command-
|
|
243
|
+
modelsStatusCommandPromise ??= import("./list.status-command-Ce6ymcmJ.js");
|
|
244
244
|
return modelsStatusCommandPromise;
|
|
245
245
|
}
|
|
246
246
|
const routedCommandDefinitions = {
|
|
247
247
|
health: defineRoutedCommand({
|
|
248
248
|
parseArgs: parseHealthRouteArgs,
|
|
249
249
|
runParsedArgs: async (args) => {
|
|
250
|
-
const { healthCommand } = await import("./health-
|
|
250
|
+
const { healthCommand } = await import("./health-D2AoarM9.js");
|
|
251
251
|
await healthCommand(args, defaultRuntime);
|
|
252
252
|
}
|
|
253
253
|
}),
|
|
@@ -264,14 +264,14 @@ const routedCommandDefinitions = {
|
|
|
264
264
|
}, defaultRuntime);
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
|
-
const { statusCommand } = await import("./status-
|
|
267
|
+
const { statusCommand } = await import("./status-DwuWnlJ3.js");
|
|
268
268
|
await statusCommand(args, defaultRuntime);
|
|
269
269
|
}
|
|
270
270
|
}),
|
|
271
271
|
"gateway-status": defineRoutedCommand({
|
|
272
272
|
parseArgs: parseGatewayStatusRouteArgs,
|
|
273
273
|
runParsedArgs: async (args) => {
|
|
274
|
-
const { runDaemonStatus } = await import("./status-
|
|
274
|
+
const { runDaemonStatus } = await import("./status-DTfI2ai7.js");
|
|
275
275
|
await runDaemonStatus(args);
|
|
276
276
|
}
|
|
277
277
|
}),
|
|
@@ -285,7 +285,7 @@ const routedCommandDefinitions = {
|
|
|
285
285
|
"agents-list": defineRoutedCommand({
|
|
286
286
|
parseArgs: parseAgentsListRouteArgs,
|
|
287
287
|
runParsedArgs: async (args) => {
|
|
288
|
-
const { agentsListCommand } = await import("./agents-
|
|
288
|
+
const { agentsListCommand } = await import("./agents-Bt4GAWyu.js");
|
|
289
289
|
await agentsListCommand(args, defaultRuntime);
|
|
290
290
|
}
|
|
291
291
|
}),
|
|
@@ -334,14 +334,14 @@ const routedCommandDefinitions = {
|
|
|
334
334
|
"channels-list": defineRoutedCommand({
|
|
335
335
|
parseArgs: parseChannelsListRouteArgs,
|
|
336
336
|
runParsedArgs: async (args) => {
|
|
337
|
-
const { channelsListCommand } = await import("./list-
|
|
337
|
+
const { channelsListCommand } = await import("./list-CwZdRljZ.js");
|
|
338
338
|
await channelsListCommand(args, defaultRuntime);
|
|
339
339
|
}
|
|
340
340
|
}),
|
|
341
341
|
"channels-status": defineRoutedCommand({
|
|
342
342
|
parseArgs: parseChannelsStatusRouteArgs,
|
|
343
343
|
runParsedArgs: async (args) => {
|
|
344
|
-
const { channelsStatusCommand } = await import("./status-
|
|
344
|
+
const { channelsStatusCommand } = await import("./status-BV3hIvwg.js");
|
|
345
345
|
await channelsStatusCommand(args, defaultRuntime);
|
|
346
346
|
}
|
|
347
347
|
})
|
|
@@ -10,15 +10,15 @@ import "./text-runtime-E9ONa0Z_.js";
|
|
|
10
10
|
import "./browser-setup-tools-CPS885aW.js";
|
|
11
11
|
import { D as DEFAULT_AI_SNAPSHOT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as DEFAULT_BROWSER_SCREENSHOT_TIMEOUT_MS, d as parseBrowserHttpUrl, n as assertCdpEndpointAllowed } from "./cdp.helpers-BpSm2MkJ.js";
|
|
12
12
|
import { a as BrowserProfileUnavailableError, c as BrowserTabNotFoundError, d as toBrowserErrorResponse, i as BrowserProfileNotFoundError, l as BrowserTargetAmbiguousError, n as BrowserConflictError, r as BrowserError, s as BrowserResourceExhaustedError, u as BrowserValidationError } from "./errors-BG1dPbJE.js";
|
|
13
|
-
import { a as DEFAULT_DOWNLOAD_DIR, c as resolveExistingPathsWithinRoot, i as resolveProfile, o as DEFAULT_TRACE_DIR, r as resolveManagedBrowserHeadlessMode, s as DEFAULT_UPLOAD_DIR, u as resolveWritablePathWithinRoot } from "./config-
|
|
14
|
-
import "./control-auth-
|
|
13
|
+
import { a as DEFAULT_DOWNLOAD_DIR, c as resolveExistingPathsWithinRoot, i as resolveProfile, o as DEFAULT_TRACE_DIR, r as resolveManagedBrowserHeadlessMode, s as DEFAULT_UPLOAD_DIR, u as resolveWritablePathWithinRoot } from "./config-CUn5nxgj.js";
|
|
14
|
+
import "./control-auth-BkJJHec2.js";
|
|
15
15
|
import { r as resolveBrowserExecutableForPlatform } from "./chrome.executables-DLNbF488.js";
|
|
16
16
|
import { n as normalizeString } from "./record-shared-D-RvIII0.js";
|
|
17
|
-
import { t as movePathToTrash } from "./trash-
|
|
18
|
-
import { C as assertBrowserNavigationResultAllowed, T as withBrowserNavigationPolicy, _ as INTERACTIVE_ROLES, a as resolveOpenClawUserDataDir, g as CONTENT_ROLES, h as snapshotRoleViaCdp, m as snapshotAria, u as captureScreenshot, v as STRUCTURAL_ROLES, x as assertBrowserNavigationAllowed, y as resolveBrowserNavigationProxyMode } from "./chrome-
|
|
17
|
+
import { t as movePathToTrash } from "./trash-DOAjF-I4.js";
|
|
18
|
+
import { C as assertBrowserNavigationResultAllowed, T as withBrowserNavigationPolicy, _ as INTERACTIVE_ROLES, a as resolveOpenClawUserDataDir, g as CONTENT_ROLES, h as snapshotRoleViaCdp, m as snapshotAria, u as captureScreenshot, v as STRUCTURAL_ROLES, x as assertBrowserNavigationAllowed, y as resolveBrowserNavigationProxyMode } from "./chrome-DSmdsp8t.js";
|
|
19
19
|
import { E as uploadChromeMcpFile, T as takeChromeMcpSnapshot, _ as navigateChromeMcpPage, a as closeChromeMcpTab, c as evaluateChromeMcpScript, f as getChromeMcpPid, l as fillChromeMcpElement, m as hoverChromeMcpElement, n as clickChromeMcpCoords, o as dragChromeMcpElement, r as clickChromeMcpElement, u as fillChromeMcpForm, w as takeChromeMcpScreenshot, x as resizeChromeMcpPage, y as pressChromeMcpKey } from "./chrome-mcp-Dygc2Eqa.js";
|
|
20
|
-
import { a as shouldUsePlaywrightForAriaSnapshot, i as resolveDefaultSnapshotFormat, n as getPwAiModule$1, o as shouldUsePlaywrightForScreenshot, r as getBrowserProfileCapabilities, t as resolveTargetIdFromTabs } from "./target-id-
|
|
21
|
-
import { c as ACT_MAX_CLICK_DELAY_MS, l as ACT_MAX_WAIT_TIME_MS, o as normalizeBrowserFormField, p as matchBrowserUrlPattern, r as getRoleSnapshotStats, u as normalizeActBoundedNonNegativeMs } from "./pw-role-snapshot-
|
|
20
|
+
import { a as shouldUsePlaywrightForAriaSnapshot, i as resolveDefaultSnapshotFormat, n as getPwAiModule$1, o as shouldUsePlaywrightForScreenshot, r as getBrowserProfileCapabilities, t as resolveTargetIdFromTabs } from "./target-id-Cs6A5UmJ.js";
|
|
21
|
+
import { c as ACT_MAX_CLICK_DELAY_MS, l as ACT_MAX_WAIT_TIME_MS, o as normalizeBrowserFormField, p as matchBrowserUrlPattern, r as getRoleSnapshotStats, u as normalizeActBoundedNonNegativeMs } from "./pw-role-snapshot-BZgGQRSo.js";
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs$1 from "node:fs/promises";
|
|
@@ -12,7 +12,7 @@ function formatPermissions(raw) {
|
|
|
12
12
|
//#region src/cli/nodes-cli/rpc.ts
|
|
13
13
|
let nodesCliRpcRuntimePromise;
|
|
14
14
|
async function loadNodesCliRpcRuntime() {
|
|
15
|
-
nodesCliRpcRuntimePromise ??= import("./rpc.runtime-
|
|
15
|
+
nodesCliRpcRuntimePromise ??= import("./rpc.runtime-BAVKrzBm.js");
|
|
16
16
|
return nodesCliRpcRuntimePromise;
|
|
17
17
|
}
|
|
18
18
|
const nodesCallOpts = (cmd, defaults) => cmd.option("--url <url>", "Gateway WebSocket URL (defaults to gateway.remote.url when configured)").option("--token <token>", "Gateway token (if required)").option("--timeout <ms>", "Timeout in ms", String(defaults?.timeoutMs ?? 1e4)).option("--json", "Output JSON", false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as GATEWAY_CLIENT_NAMES, i as GATEWAY_CLIENT_MODES } from "./client-info-CWmQnqft.js";
|
|
2
2
|
import { r as callGateway } from "./call-BDgRATaE.js";
|
|
3
|
-
import { n as withProgress } from "./progress-
|
|
3
|
+
import { n as withProgress } from "./progress-DcOdkT64.js";
|
|
4
4
|
//#region src/cli/nodes-cli/rpc.runtime.ts
|
|
5
5
|
async function callGatewayCliRuntime(method, opts, params, callOpts) {
|
|
6
6
|
return await withProgress({
|
package/dist/rpc.runtime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./rpc.runtime-
|
|
1
|
+
export * from "./rpc.runtime-BAVKrzBm.js";
|
|
@@ -4,7 +4,7 @@ import { r as writeRuntimeJson } from "./runtime-izpjJukX.js";
|
|
|
4
4
|
import { r as normalizeProviderId } from "./provider-id-DcL1eCKB.js";
|
|
5
5
|
import { i as toAgentModelListLike } from "./model-input-DCRqfZzn.js";
|
|
6
6
|
import { s as resolveApiKeyForProvider } from "./model-auth-B7dzQjNK.js";
|
|
7
|
-
import { r as withProgressTotals } from "./progress-
|
|
7
|
+
import { r as withProgressTotals } from "./progress-DcOdkT64.js";
|
|
8
8
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-f6WEaY4e.js";
|
|
9
9
|
import { n as logConfigUpdated } from "./logging-BzGAUWqz.js";
|
|
10
10
|
import { i as formatTokenK, r as formatMs, u as updateConfig } from "./shared-CZpT2TO2.js";
|
|
@@ -28,7 +28,7 @@ import "./model-selection-BJHBzT3a.js";
|
|
|
28
28
|
import "./auth-profiles-DtqZc0_t.js";
|
|
29
29
|
import { a as prepareSecretsRuntimeSnapshot } from "./runtime-ZP9CflZW.js";
|
|
30
30
|
import { n as hasConfiguredPlaintextSecretValue, r as isExpectedResolvedSecretValue, t as assertExpectedResolvedSecretValue } from "./secret-value-CK57tPGM.js";
|
|
31
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
31
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-58HpkpIW.js";
|
|
32
32
|
import fs from "node:fs";
|
|
33
33
|
import path from "node:path";
|
|
34
34
|
import os from "node:os";
|
|
@@ -2,12 +2,12 @@ import { t as createSubsystemLogger } from "./subsystem-R7XOFpAU.js";
|
|
|
2
2
|
import { i as getRuntimeConfig } from "./io-Bx7J2ZA0.js";
|
|
3
3
|
import { r as setBridgeAuthForPort, t as deleteBridgeAuthForPort } from "./bridge-auth-registry-D961hjfC.js";
|
|
4
4
|
import { n as installBrowserAuthMiddleware, r as installBrowserCommonMiddleware } from "./server-middleware-CMc-ioJ-.js";
|
|
5
|
-
import { n as resolveBrowserConfig } from "./config-
|
|
6
|
-
import { n as resolveBrowserControlAuth, r as shouldAutoGenerateBrowserAuth, t as ensureBrowserControlAuth } from "./control-auth-
|
|
5
|
+
import { n as resolveBrowserConfig } from "./config-CUn5nxgj.js";
|
|
6
|
+
import { n as resolveBrowserControlAuth, r as shouldAutoGenerateBrowserAuth, t as ensureBrowserControlAuth } from "./control-auth-BkJJHec2.js";
|
|
7
7
|
import "./subsystem-bM_e3Zvc.js";
|
|
8
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
9
|
-
import { t as createBrowserRouteContext } from "./server-context-
|
|
10
|
-
import { n as createBrowserRuntimeState, r as stopBrowserRuntime, t as isDefaultBrowserPluginEnabled } from "./plugin-enabled-
|
|
8
|
+
import { t as registerBrowserRoutes } from "./routes-PguVB-65.js";
|
|
9
|
+
import { t as createBrowserRouteContext } from "./server-context-DtThrtfA.js";
|
|
10
|
+
import { n as createBrowserRuntimeState, r as stopBrowserRuntime, t as isDefaultBrowserPluginEnabled } from "./plugin-enabled-CSRseLrb.js";
|
|
11
11
|
import express from "express";
|
|
12
12
|
//#region extensions/browser/src/server.ts
|
|
13
13
|
let state = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as truncateCloseReason } from "./close-reason-TRf3azqh.js";
|
|
2
2
|
//#region src/gateway/server.ts
|
|
3
3
|
async function loadServerImpl() {
|
|
4
|
-
return await import("./server.impl-
|
|
4
|
+
return await import("./server.impl-BFBPY3qE.js");
|
|
5
5
|
}
|
|
6
6
|
async function startGatewayServer(...args) {
|
|
7
7
|
return await (await loadServerImpl()).startGatewayServer(...args);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as listKnownProfileNames, t as createBrowserRouteContext } from "./server-context-
|
|
1
|
+
import { n as listKnownProfileNames, t as createBrowserRouteContext } from "./server-context-DtThrtfA.js";
|
|
2
2
|
export { createBrowserRouteContext, listKnownProfileNames };
|
|
@@ -4,12 +4,12 @@ import { d as isPrivateNetworkAllowedByPolicy } from "./ssrf-BcaD8qK3.js";
|
|
|
4
4
|
import "./text-runtime-E9ONa0Z_.js";
|
|
5
5
|
import { C as PROFILE_ATTACH_RETRY_TIMEOUT_MS, T as usesFastLoopbackCdpProbeClass, a as fetchOk, b as CHROME_MCP_ATTACH_READY_WINDOW_MS, f as redactCdpUrl, i as fetchJson, j as DEFAULT_BROWSER_LOCAL_CDP_READY_TIMEOUT_MS, l as normalizeCdpHttpBaseForJsonEndpoints, m as withAllowedHostname, n as assertCdpEndpointAllowed, t as appendCdpPath, w as resolveCdpReachabilityTimeouts } from "./cdp.helpers-BpSm2MkJ.js";
|
|
6
6
|
import { a as BrowserProfileUnavailableError, c as BrowserTabNotFoundError, d as toBrowserErrorResponse, i as BrowserProfileNotFoundError, l as BrowserTargetAmbiguousError, o as BrowserResetUnsupportedError } from "./errors-BG1dPbJE.js";
|
|
7
|
-
import { i as resolveProfile, n as resolveBrowserConfig } from "./config-
|
|
8
|
-
import "./control-auth-
|
|
9
|
-
import { t as movePathToTrash } from "./trash-
|
|
10
|
-
import { C as assertBrowserNavigationResultAllowed, T as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as InvalidBrowserNavigationUrlError, c as formatChromeCdpDiagnostic, d as createTargetViaCdp, i as launchOpenClawChrome, n as isChromeCdpReady, o as stopOpenClawChrome, p as normalizeCdpWsUrl, r as isChromeReachable, s as diagnoseChromeCdp, w as requiresInspectableBrowserNavigationRedirectsForUrl, x as assertBrowserNavigationAllowed, y as resolveBrowserNavigationProxyMode } from "./chrome-
|
|
7
|
+
import { i as resolveProfile, n as resolveBrowserConfig } from "./config-CUn5nxgj.js";
|
|
8
|
+
import "./control-auth-BkJJHec2.js";
|
|
9
|
+
import { t as movePathToTrash } from "./trash-DOAjF-I4.js";
|
|
10
|
+
import { C as assertBrowserNavigationResultAllowed, T as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as InvalidBrowserNavigationUrlError, c as formatChromeCdpDiagnostic, d as createTargetViaCdp, i as launchOpenClawChrome, n as isChromeCdpReady, o as stopOpenClawChrome, p as normalizeCdpWsUrl, r as isChromeReachable, s as diagnoseChromeCdp, w as requiresInspectableBrowserNavigationRedirectsForUrl, x as assertBrowserNavigationAllowed, y as resolveBrowserNavigationProxyMode } from "./chrome-DSmdsp8t.js";
|
|
11
11
|
import { g as listChromeMcpTabs } from "./chrome-mcp-Dygc2Eqa.js";
|
|
12
|
-
import { n as getPwAiModule, r as getBrowserProfileCapabilities, t as resolveTargetIdFromTabs } from "./target-id-
|
|
12
|
+
import { n as getPwAiModule, r as getBrowserProfileCapabilities, t as resolveTargetIdFromTabs } from "./target-id-Cs6A5UmJ.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
//#region extensions/browser/src/browser/cdp-reachability-policy.ts
|
|
15
15
|
function withCdpHostnameAllowed(profile, ssrfPolicy) {
|
|
@@ -160,7 +160,7 @@ import { o as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig
|
|
|
160
160
|
import { t as installSkill } from "./skills-install-BYLmrNbY.js";
|
|
161
161
|
import { m as normalizeUpdateChannel } from "./update-check-5aBSTuhb.js";
|
|
162
162
|
import { t as getStatusSummary } from "./status.summary-k1gVxuh0.js";
|
|
163
|
-
import "./status-
|
|
163
|
+
import "./status-COYCYkeA.js";
|
|
164
164
|
import { a as resolveCronRunLogPath, n as readCronRunLogEntriesPage, r as readCronRunLogEntriesPageAll } from "./run-log-DixwbMlr.js";
|
|
165
165
|
import { i as updateSkillsFromClawHub, r as searchSkillsFromClawHub, t as installSkillFromClawHub } from "./skills-clawhub-DzKizfO9.js";
|
|
166
166
|
import { m as readPackageVersion, n as runGatewayUpdate, t as resolveUpdateInstallSurface } from "./update-runner-B1MwNotS.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as reloadDeferredGatewayPlugins } from "./server-plugin-bootstrap-
|
|
1
|
+
import { r as reloadDeferredGatewayPlugins } from "./server-plugin-bootstrap-Dd2kZPu3.js";
|
|
2
2
|
export { reloadDeferredGatewayPlugins };
|
|
@@ -281,7 +281,7 @@ async function dispatchGatewayMethod(method, params, options) {
|
|
|
281
281
|
const isWebchatConnect = scope?.isWebchatConnect ?? (() => false);
|
|
282
282
|
if (!context) throw new Error(`Plugin subagent dispatch requires a gateway request scope (method: ${method}). No scope set and no fallback context available.`);
|
|
283
283
|
let result;
|
|
284
|
-
const { handleGatewayRequest } = await import("./server-methods-
|
|
284
|
+
const { handleGatewayRequest } = await import("./server-methods-B7fWyD2B.js");
|
|
285
285
|
const pluginRuntimeOwnerId = typeof options?.pluginRuntimeOwnerId === "string" && options.pluginRuntimeOwnerId.trim() ? options.pluginRuntimeOwnerId.trim() : void 0;
|
|
286
286
|
const syntheticClient = createSyntheticOperatorClient({
|
|
287
287
|
allowModelOverride: options?.allowSyntheticModelOverride === true,
|