@wrongstack/cli 1.0.35 → 1.0.37
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-T77EAEDB.js → acp-HCGUTFNE.js} +11 -8
- package/dist/ascii-mode-B6PKLRHM.js +8 -0
- package/dist/{audit-KCBTHUQI.js → audit-NH7NUKBV.js} +3 -2
- package/dist/{auth-M6LXZTDA.js → auth-ANOVZVHE.js} +12 -11
- package/dist/auto-discover-providers-V75ICIBG.js +8 -0
- package/dist/{automation-MCDFCIMV.js → automation-O7ZRZSFS.js} +20 -4
- package/dist/{bench-MMZHFHDL.js → bench-NDYES33Y.js} +3 -2
- package/dist/boot/governance-evidence-candidate.d.ts +1 -1
- package/dist/boot/system-prompt-menu.d.ts +7 -0
- package/dist/boot/tui-settings-adapter.d.ts +0 -12
- package/dist/{boot-auto-thin-YMAZI3QL.js → boot-auto-thin-7D4OVEWA.js} +5 -4
- package/dist/boot-provider-selection.d.ts +9 -0
- package/dist/{chronicle-PBJS7BN6.js → chronicle-WBK3TJRB.js} +2 -1
- package/dist/{chunk-R4QGL6GB.js → chunk-2MV474XR.js} +1 -1
- package/dist/{chunk-AFOH6CHO.js → chunk-3EXRPTAU.js} +1 -1
- package/dist/{chunk-2EZ2DHOW.js → chunk-3R3OADC5.js} +2 -2
- package/dist/{chunk-RKU66D2O.js → chunk-57PSSEBR.js} +1 -1
- package/dist/{chunk-2CMMWRQH.js → chunk-5TRZZHMN.js} +2 -2
- package/dist/{chunk-RWNI5OWT.js → chunk-6KJU6POA.js} +6 -6
- package/dist/{chunk-AKESWZH5.js → chunk-6VPWQ4TG.js} +2 -2
- package/dist/{chunk-CJSHS2K7.js → chunk-75OLD563.js} +1 -1
- package/dist/{chunk-4UWCMBPG.js → chunk-76JE54WD.js} +7 -5
- package/dist/{chunk-7BNBD4PE.js → chunk-7IY2UTBE.js} +2 -2
- package/dist/{chunk-6Z6C6ZHH.js → chunk-AWRZWPJ3.js} +20 -26
- package/dist/{chunk-TXAFIERF.js → chunk-BAWRRA6O.js} +2 -2
- package/dist/{chunk-DAKVBMD4.js → chunk-BCKVNORU.js} +1 -1
- package/dist/{chunk-4BX2YDTQ.js → chunk-BIGSVBPI.js} +45 -4
- package/dist/{chunk-CZTXF6HY.js → chunk-BJ4LDJ4H.js} +1 -1
- package/dist/{chunk-KMU7GF7X.js → chunk-C2BBH4S4.js} +2 -2
- package/dist/chunk-C4654QI2.js +8 -0
- package/dist/{chunk-M4G5FO7F.js → chunk-C5JP6DJN.js} +1 -1
- package/dist/{chunk-LDV4ERNV.js → chunk-CIGEY7NU.js} +5 -5
- package/dist/{chunk-WTJDSTYD.js → chunk-CVVQ5NCN.js} +5 -5
- package/dist/{chunk-D3K4NYQL.js → chunk-DXHQFV5V.js} +1 -1
- package/dist/{chunk-SUDNPYWD.js → chunk-FM7DPSYA.js} +2 -2
- package/dist/{chunk-YL4KCHZG.js → chunk-FPUB5WWP.js} +1 -1
- package/dist/{chunk-P3Q3KMFH.js → chunk-FUJHWQV4.js} +1 -1
- package/dist/{chunk-ERX4BLKP.js → chunk-GFQH77OH.js} +1 -1
- package/dist/{chunk-DIOODAYM.js → chunk-H53EXXAU.js} +3 -3
- package/dist/{chunk-F5DCFAKI.js → chunk-HKMOIIPQ.js} +1 -1
- package/dist/{chunk-AUQDGU5D.js → chunk-HQBY6OFT.js} +1 -1
- package/dist/{chunk-6SIUTX75.js → chunk-IJLIAPCW.js} +1 -2
- package/dist/{chunk-QD544J2B.js → chunk-JTTV2EVA.js} +1 -1
- package/dist/{chunk-UKP7H2U4.js → chunk-KHFFJ2LC.js} +1 -1
- package/dist/{chunk-4TVYGG6G.js → chunk-MKM4X2AM.js} +1 -1
- package/dist/chunk-ML3US333.js +61 -0
- package/dist/{chunk-HLSHFXTO.js → chunk-NL2ABOAS.js} +2 -2
- package/dist/{chunk-Q7E3BPDU.js → chunk-OGVSKS4Q.js} +1 -1
- package/dist/chunk-OZCYZYN2.js +3708 -0
- package/dist/{chunk-EWKESL4L.js → chunk-P24ZPPYH.js} +1 -1
- package/dist/chunk-PY2LMG2V.js +1 -0
- package/dist/{chunk-CSAPOCBP.js → chunk-QC6CLAK7.js} +1 -1
- package/dist/{chunk-HXJYHAR4.js → chunk-QVITQ425.js} +1 -1
- package/dist/{chunk-GZSKLXYG.js → chunk-RAWHRRUJ.js} +10 -10
- package/dist/{chunk-PA4VBCXS.js → chunk-RBZVDWTL.js} +1 -1
- package/dist/{chunk-YMXXOOFN.js → chunk-SPSHEZ46.js} +1 -1
- package/dist/{chunk-TWSQTQKR.js → chunk-T4TGMTH2.js} +3 -3
- package/dist/{chunk-LKFKO4JW.js → chunk-TZPKOS5G.js} +3 -3
- package/dist/{chunk-X4LW5CZM.js → chunk-UBDLNC3N.js} +1 -1
- package/dist/{chunk-SDJCLEK6.js → chunk-UFRVTBV6.js} +1 -1
- package/dist/{chunk-VCYZ3WZV.js → chunk-UOQPDZ5H.js} +1 -1
- package/dist/{chunk-PZQBGUVZ.js → chunk-UVF3BGET.js} +1 -1
- package/dist/{chunk-HHRYIDOW.js → chunk-VAQXOZKP.js} +34 -7
- package/dist/{chunk-4XCBEUBX.js → chunk-VHC47E7U.js} +1 -1
- package/dist/{chunk-LKPEBZBE.js → chunk-VI2HE4A5.js} +1 -1
- package/dist/chunk-W23PY4IJ.js +44 -0
- package/dist/{chunk-AT2A7RJZ.js → chunk-WDXNBYGD.js} +1 -1
- package/dist/{chunk-NRXWOMK7.js → chunk-XT3NAHRX.js} +1 -1
- package/dist/{chunk-ZYACRPLN.js → chunk-ZCXZGYO5.js} +6 -3
- package/dist/{chunk-65VNCAF6.js → chunk-ZNNFEKDZ.js} +2 -2
- package/dist/{chunk-CDY4D5QK.js → chunk-ZTSTMFYW.js} +2 -2
- package/dist/{chunk-YTEOAWOJ.js → chunk-ZXX3MJRL.js} +1 -1
- package/dist/{cli-context-II57EHD2.js → cli-context-V6NKFU2X.js} +166 -100
- package/dist/{cli-main-YR2WJCPL.js → cli-main-LHQTVOYW.js} +963 -246
- package/dist/{config-transfer-VOIFY7U4.js → config-transfer-Y7XJMJRN.js} +8 -5
- package/dist/{diag-doctor-BIZAFIAT.js → diag-doctor-5SVYK2DR.js} +5 -4
- package/dist/execute-deps.d.ts +8 -0
- package/dist/{execution-IBAZ2EIU.js → execution-BAP566QC.js} +103 -33
- package/dist/{export-VVRIOWFV.js → export-W27PTU6Y.js} +3 -2
- package/dist/fleet/host-director-setup.d.ts +2 -0
- package/dist/fleet/host-skill-companion.d.ts +73 -0
- package/dist/fleet/host.d.ts +1 -0
- package/dist/fleet/skill-companion-policy.d.ts +33 -0
- package/dist/{governance-RYSHV675.js → governance-A32M4ILK.js} +2 -1
- package/dist/{hq-5OIEKB4V.js → hq-JD5AZVMG.js} +8 -7
- package/dist/hq-server/snapshot.d.ts +1 -1
- package/dist/hq-server/socket-credentials.d.ts +1 -1
- package/dist/hq-server/ws.d.ts +1 -1
- package/dist/{hq-server-DU3ZH3X7.js → hq-server-BI23EPM7.js} +7 -5
- package/dist/{hq-service-LYZV7EK7.js → hq-service-TQNPIRHL.js} +8 -7
- package/dist/hq-ttl-RKRF7AQX.js +8 -0
- package/dist/{hq-tunnel-NIJ5EP2Y.js → hq-tunnel-6VU4IWV4.js} +2 -1
- package/dist/{import-claude-code-AYG24RG2.js → import-claude-code-D4F6ZE7I.js} +6 -5
- package/dist/index.js +9 -8
- package/dist/{init-DRMMFG2G.js → init-5PLABNLR.js} +2 -1
- package/dist/ip-allowlist-YDOFO7XJ.js +10 -0
- package/dist/{kanban-run-mirror-22HQ5FNG.js → kanban-run-mirror-SZ3S3S3Z.js} +3 -2
- package/dist/kanban-supervisor-55XPUHAM.js +8 -0
- package/dist/live-settings-input.d.ts +8 -0
- package/dist/{mailbox-serve-S536N66F.js → mailbox-serve-MMQCHOHI.js} +5 -3
- package/dist/{mcp-LBS45HWZ.js → mcp-2XWBJEQN.js} +4 -3
- package/dist/{modeldiag-NEPTLFZW.js → modeldiag-ERXYJODJ.js} +8 -7
- package/dist/{per-subcommand-help-VKPV3OEY.js → per-subcommand-help-D6J4ZXW2.js} +4 -3
- package/dist/{permissions-PL27UHYD.js → permissions-6YJ64W65.js} +3 -2
- package/dist/plugin-config.d.ts +6 -0
- package/dist/{plugin-usage-3TZGROK7.js → plugin-usage-TYF5HY4K.js} +6 -5
- package/dist/{plugins-ITH4SLO6.js → plugins-XGAXDLPT.js} +6 -5
- package/dist/pre-launch/launch-prompts.d.ts +21 -2
- package/dist/pre-launch.d.ts +1 -1
- package/dist/{project-AOQI5XTK.js → project-V5KNTLV4.js} +2 -1
- package/dist/{project-manifest-FTFDCCTZ.js → project-manifest-HXCID644.js} +3 -2
- package/dist/{project-picker-NZYJKQQC.js → project-picker-FUSLXKSA.js} +4 -3
- package/dist/{projects-T4CZCA25.js → projects-FWRJHW3S.js} +2 -1
- package/dist/{providers-models-37DUV2GW.js → providers-models-CDI5GVBX.js} +7 -6
- package/dist/{proxy-wiring-K2DORFFL.js → proxy-wiring-FIW6HFJV.js} +4 -3
- package/dist/{quick-CNB4Z3HS.js → quick-NPC3N3ZX.js} +2 -1
- package/dist/{remote-C74BCNND.js → remote-AKKRJEHK.js} +5 -4
- package/dist/{replay-DEI566CW.js → replay-5FOPERB2.js} +2 -1
- package/dist/{replay-JJ2NOWD6.js → replay-URJFMQCU.js} +3 -2
- package/dist/{rewind-7AULJS7F.js → rewind-GAUXWSTU.js} +3 -2
- package/dist/{sage-FFKUOCQL.js → sage-6KKXK2ZS.js} +11 -6
- package/dist/{sage-sync-ZMTHB477.js → sage-sync-IN3WKEBN.js} +5 -3
- package/dist/{sandbox-TYGD6FI2.js → sandbox-EZQ76MNY.js} +2 -1
- package/dist/{sdd-runtime-PF72WHLO.js → sdd-runtime-6MFUXWJK.js} +4 -3
- package/dist/{session-move-P2EC2COA.js → session-move-F3N45UQQ.js} +2 -1
- package/dist/{sessions-config-VE26SB56.js → sessions-config-SJVQXCIE.js} +7 -6
- package/dist/{sessions-doctor-QUL37U32.js → sessions-doctor-DZQTDQRY.js} +2 -1
- package/dist/short-circuit-flags-647S5WBL.js +11 -0
- package/dist/{simpleui-dist-7BQISSEP.js → simpleui-dist-EE3TJRBG.js} +2 -1
- package/dist/{skill-suggest-THANK3LV.js → skill-suggest-LZV2TIPQ.js} +22 -6
- package/dist/slash-commands/browser.d.ts +3 -0
- package/dist/slash-commands/command-context.d.ts +3 -0
- package/dist/slash-commands/doctor.d.ts +0 -9
- package/dist/{standalone-auto-update-VQC4GYCM.js → standalone-auto-update-X5SK4M5B.js} +17 -5
- package/dist/{standalone-update-HZHDZZOR.js → standalone-update-6U4NP5MN.js} +4 -3
- package/dist/subcommands-EGZPBQOO.js +10 -0
- package/dist/{tools-skills-33AI6K6S.js → tools-skills-55QVTMSK.js} +2 -1
- package/dist/{typesafe-NHC322W5.js → typesafe-YBEADNAH.js} +8 -7
- package/dist/{typesafe-brain-replay-C5276FVR.js → typesafe-brain-replay-XBU5RZDY.js} +2 -1
- package/dist/{typesafe-judgment-check-GGYYV5UF.js → typesafe-judgment-check-XRLBF5JV.js} +2 -1
- package/dist/{typesafe-topic-replay-DB2AYL7V.js → typesafe-topic-replay-L6NKFYPM.js} +4 -3
- package/dist/{typesafe-triage-replay-27NDAZ3V.js → typesafe-triage-replay-IRV2HHLN.js} +3 -2
- package/dist/{update-6OEPAEUV.js → update-54W7GUS5.js} +6 -5
- package/dist/{update-check-VLVT4IV2.js → update-check-JBGP4ZFI.js} +4 -3
- package/dist/utils/win32-cmd.d.ts +1 -1
- package/dist/{version-JB2UAV2A.js → version-Q6KJ23GB.js} +3 -2
- package/dist/version-help-RBZC5GZZ.js +11 -0
- package/dist/webui-server/credential-watcher.d.ts +3 -1
- package/dist/webui-server/provider-config.d.ts +12 -5
- package/dist/{webui-server-6IC3SLZG.js → webui-server-HIUY3RHD.js} +59 -49
- package/dist/wiring/management-tools.d.ts +9 -1
- package/dist/wiring/slash-commands.d.ts +3 -0
- package/dist/{wrongtrace-gate-counters-7C2EAAZL.js → wrongtrace-gate-counters-K44XG3H3.js} +3 -2
- package/dist/{wrongtrace-telemetry-3ASFKOZO.js → wrongtrace-telemetry-YS6SUBXK.js} +3 -2
- package/dist/ws-runtime.d.ts +6 -0
- package/package.json +39 -39
- package/LICENSE +0 -21
- package/dist/ascii-mode-SG4PRNLP.js +0 -7
- package/dist/auto-discover-providers-JX346GOM.js +0 -7
- package/dist/chunk-BHXAKTBE.js +0 -10
- package/dist/chunk-LDXXMPMS.js +0 -61
- package/dist/chunk-TGSPCFBT.js +0 -1
- package/dist/hq-ttl-N4DAIAVX.js +0 -7
- package/dist/ip-allowlist-NHXO6AKJ.js +0 -9
- package/dist/kanban-supervisor-67ECABTD.js +0 -7
- package/dist/short-circuit-flags-EXJBJ5GT.js +0 -10
- package/dist/subcommands-DTKBXLPU.js +0 -9
- package/dist/version-help-JQGRPDJW.js +0 -10
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseTokenTtlValue
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KHFFJ2LC.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveHqPasswordInput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HQBY6OFT.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeHqPublicOrigin,
|
|
9
9
|
resolveAuditActor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3EXRPTAU.js";
|
|
11
11
|
import {
|
|
12
12
|
parseHqIpAllowlist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OGVSKS4Q.js";
|
|
14
|
+
import "./chunk-W23PY4IJ.js";
|
|
14
15
|
|
|
15
16
|
// src/subcommands/handlers/hq.ts
|
|
16
17
|
import {
|
|
@@ -316,7 +317,7 @@ var hqCmd = async (args, deps) => {
|
|
|
316
317
|
return hqAlertsCmd(args.slice(1), deps);
|
|
317
318
|
}
|
|
318
319
|
if (sub === "service") {
|
|
319
|
-
const { hqServiceCmd } = await import("./hq-service-
|
|
320
|
+
const { hqServiceCmd } = await import("./hq-service-TQNPIRHL.js");
|
|
320
321
|
return hqServiceCmd(args.slice(1), deps);
|
|
321
322
|
}
|
|
322
323
|
if (sub === "help" || sub === "--help") {
|
|
@@ -329,7 +330,7 @@ var hqCmd = async (args, deps) => {
|
|
|
329
330
|
return 1;
|
|
330
331
|
};
|
|
331
332
|
async function startServer(deps) {
|
|
332
|
-
const { startHqServer } = await import("./hq-server-
|
|
333
|
+
const { startHqServer } = await import("./hq-server-BI23EPM7.js");
|
|
333
334
|
const dataDir = resolveDataDir(deps);
|
|
334
335
|
const flags = deps.flags ?? {};
|
|
335
336
|
const rawPublicUrl = typeof flags["hq-public-url"] === "string" ? flags["hq-public-url"] : process.env.WRONGSTACK_HQ_PUBLIC_URL;
|
|
@@ -1009,4 +1010,4 @@ function printTokenHelp(deps) {
|
|
|
1009
1010
|
export {
|
|
1010
1011
|
hqCmd
|
|
1011
1012
|
};
|
|
1012
|
-
//# sourceMappingURL=hq-
|
|
1013
|
+
//# sourceMappingURL=hq-JD5AZVMG.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @module hq-server/snapshot
|
|
5
5
|
*/
|
|
6
6
|
import type { HqCommandAuditEntry, HqEventEnvelope, HqPersistence, HqSnapshot } from '@wrongstack/core/hq';
|
|
7
|
-
import { WebSocket } from 'ws';
|
|
7
|
+
import { WebSocket } from '../ws-runtime.js';
|
|
8
8
|
import type { ConnectedClient, HqSnapshotBroadcaster, ProjectDetail } from './types.js';
|
|
9
9
|
/** Unsent bytes retained for one dashboard socket before it is disconnected. */
|
|
10
10
|
export declare const HQ_BROWSER_MAX_BUFFERED_BYTES: number;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @module hq-server/socket-credentials
|
|
11
11
|
*/
|
|
12
12
|
import { type HqToken } from '@wrongstack/core/hq';
|
|
13
|
-
import { WebSocket } from 'ws';
|
|
13
|
+
import { WebSocket } from '../ws-runtime.js';
|
|
14
14
|
import type { HqRouterMutableAuth, HqSessionEntry } from './types.js';
|
|
15
15
|
export interface HqSocketCredentialState {
|
|
16
16
|
mutableAuth: HqRouterMutableAuth;
|
package/dist/hq-server/ws.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @module hq-server/ws
|
|
5
5
|
*/
|
|
6
6
|
import type { HqCommandAuditLog, HqEventEnvelope, HqPersistence, HqRedactionPolicy, HqToken, HqTranscriptEntry } from '@wrongstack/core/hq';
|
|
7
|
-
import { WebSocket } from 'ws';
|
|
7
|
+
import { WebSocket } from '../ws-runtime.js';
|
|
8
8
|
import type { ConnectedClient, HqSnapshotBroadcaster, TranscriptRing } from './types.js';
|
|
9
9
|
export { fanoutKanbanDelta } from './ws-client-events.js';
|
|
10
10
|
export { detectLeaderLoss } from './ws-leader.js';
|
|
@@ -10,10 +10,12 @@ import {
|
|
|
10
10
|
readLocalSubagentTranscript,
|
|
11
11
|
sanitizeApiError,
|
|
12
12
|
startHqServer
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-AWRZWPJ3.js";
|
|
14
|
+
import "./chunk-QVITQ425.js";
|
|
15
|
+
import "./chunk-3EXRPTAU.js";
|
|
16
|
+
import "./chunk-OGVSKS4Q.js";
|
|
17
|
+
import "./chunk-OZCYZYN2.js";
|
|
18
|
+
import "./chunk-W23PY4IJ.js";
|
|
17
19
|
export {
|
|
18
20
|
DEFAULT_HOST,
|
|
19
21
|
DEFAULT_PORT,
|
|
@@ -27,4 +29,4 @@ export {
|
|
|
27
29
|
sanitizeApiError,
|
|
28
30
|
startHqServer
|
|
29
31
|
};
|
|
30
|
-
//# sourceMappingURL=hq-server-
|
|
32
|
+
//# sourceMappingURL=hq-server-BI23EPM7.js.map
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveHqPasswordInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQBY6OFT.js";
|
|
4
4
|
import {
|
|
5
5
|
detectUpdatePackageManager,
|
|
6
6
|
detectUpdatePackageName
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6KJU6POA.js";
|
|
8
|
+
import "./chunk-C4654QI2.js";
|
|
9
|
+
import "./chunk-H53EXXAU.js";
|
|
10
|
+
import "./chunk-HKMOIIPQ.js";
|
|
11
|
+
import "./chunk-W23PY4IJ.js";
|
|
11
12
|
|
|
12
13
|
// src/hq-service.ts
|
|
13
14
|
import { spawn } from "node:child_process";
|
|
@@ -365,7 +366,7 @@ async function installService(deps) {
|
|
|
365
366
|
let ipAllowlist;
|
|
366
367
|
if (allowlistValue !== void 0 && allowlistValue.trim() !== "") {
|
|
367
368
|
try {
|
|
368
|
-
const { parseHqIpAllowlist } = await import("./ip-allowlist-
|
|
369
|
+
const { parseHqIpAllowlist } = await import("./ip-allowlist-YDOFO7XJ.js");
|
|
369
370
|
ipAllowlist = parseHqIpAllowlist(allowlistValue)?.join(",");
|
|
370
371
|
} catch (cause) {
|
|
371
372
|
deps.renderer.writeError(`${cause instanceof Error ? cause.message : String(cause)}
|
|
@@ -511,4 +512,4 @@ export {
|
|
|
511
512
|
hqServiceCmd,
|
|
512
513
|
renderHqServiceAssets
|
|
513
514
|
};
|
|
514
|
-
//# sourceMappingURL=hq-service-
|
|
515
|
+
//# sourceMappingURL=hq-service-TQNPIRHL.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-W23PY4IJ.js";
|
|
1
2
|
|
|
2
3
|
// src/hq-tunnel.ts
|
|
3
4
|
import { spawn } from "node:child_process";
|
|
@@ -110,4 +111,4 @@ export {
|
|
|
110
111
|
hasRegisteredQuickTunnelConnection,
|
|
111
112
|
startHqQuickTunnel
|
|
112
113
|
};
|
|
113
|
-
//# sourceMappingURL=hq-tunnel-
|
|
114
|
+
//# sourceMappingURL=hq-tunnel-6VU4IWV4.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeMcpServerEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NL2ABOAS.js";
|
|
4
4
|
import {
|
|
5
5
|
activeProfileConfigPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SPSHEZ46.js";
|
|
7
7
|
import {
|
|
8
8
|
restoreFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QC6CLAK7.js";
|
|
10
|
+
import "./chunk-W23PY4IJ.js";
|
|
10
11
|
|
|
11
12
|
// src/subcommands/handlers/import-claude-code.ts
|
|
12
13
|
import * as fs from "node:fs/promises";
|
|
@@ -156,7 +157,7 @@ async function readJson(file) {
|
|
|
156
157
|
return void 0;
|
|
157
158
|
}
|
|
158
159
|
try {
|
|
159
|
-
const parsed = JSON.parse(raw);
|
|
160
|
+
const parsed = JSON.parse(raw.replace(/^\uFEFF/, ""));
|
|
160
161
|
return isRecord(parsed) ? parsed : void 0;
|
|
161
162
|
} catch {
|
|
162
163
|
throw new Error(`${file} is not valid JSON`);
|
|
@@ -265,4 +266,4 @@ export {
|
|
|
265
266
|
planClaudeCodeImport,
|
|
266
267
|
readClaudeCodeSources
|
|
267
268
|
};
|
|
268
|
-
//# sourceMappingURL=import-claude-code-
|
|
269
|
+
//# sourceMappingURL=import-claude-code-D4F6ZE7I.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
applyNodeEnvDefault,
|
|
4
4
|
applySessionShellDefault
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CVVQ5NCN.js";
|
|
6
6
|
import {
|
|
7
7
|
parseArgs
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-75OLD563.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HKMOIIPQ.js";
|
|
12
|
+
import "./chunk-W23PY4IJ.js";
|
|
12
13
|
|
|
13
14
|
// src/boot/tui-startup-output.ts
|
|
14
15
|
import { format, stripVTControlCharacters } from "node:util";
|
|
@@ -117,11 +118,11 @@ async function main(argv) {
|
|
|
117
118
|
applySessionShellDefault();
|
|
118
119
|
const earlyFlags = parseArgs(argv).flags;
|
|
119
120
|
if (earlyFlags["ascii"] === true || process.env["WRONGSTACK_TUI_ICON_STYLE"]) {
|
|
120
|
-
const { applyAsciiMode } = await import("./ascii-mode-
|
|
121
|
+
const { applyAsciiMode } = await import("./ascii-mode-B6PKLRHM.js");
|
|
121
122
|
applyAsciiMode(earlyFlags);
|
|
122
123
|
}
|
|
123
124
|
if (earlyFlags["help"] === true || earlyFlags["version"] === true) {
|
|
124
|
-
const { handleHelpVersionShortCircuit } = await import("./short-circuit-flags-
|
|
125
|
+
const { handleHelpVersionShortCircuit } = await import("./short-circuit-flags-647S5WBL.js");
|
|
125
126
|
const earlyExit = await handleHelpVersionShortCircuit(argv);
|
|
126
127
|
if (earlyExit !== null) return earlyExit;
|
|
127
128
|
}
|
|
@@ -130,7 +131,7 @@ async function main(argv) {
|
|
|
130
131
|
shouldCaptureTuiStartup(parsed.flags, parsed.positional)
|
|
131
132
|
);
|
|
132
133
|
try {
|
|
133
|
-
const { initializeCli } = await import("./cli-context-
|
|
134
|
+
const { initializeCli } = await import("./cli-context-V6NKFU2X.js");
|
|
134
135
|
const cliCtx = await initializeCli(argv, {
|
|
135
136
|
onNonTuiLaunch: () => startupOutput.stop()
|
|
136
137
|
});
|
|
@@ -140,7 +141,7 @@ async function main(argv) {
|
|
|
140
141
|
} else {
|
|
141
142
|
startupOutput.stop();
|
|
142
143
|
}
|
|
143
|
-
const { runInteractive } = await import("./cli-main-
|
|
144
|
+
const { runInteractive } = await import("./cli-main-LHQTVOYW.js");
|
|
144
145
|
return await runInteractive(cliCtx);
|
|
145
146
|
} finally {
|
|
146
147
|
startupOutput.stop();
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-W23PY4IJ.js";
|
|
1
2
|
|
|
2
3
|
// src/subcommands/handlers/init.ts
|
|
3
4
|
import { color } from "@wrongstack/core/utils";
|
|
@@ -23,4 +24,4 @@ var initCmd = async (_args, deps) => {
|
|
|
23
24
|
export {
|
|
24
25
|
initCmd
|
|
25
26
|
};
|
|
26
|
-
//# sourceMappingURL=init-
|
|
27
|
+
//# sourceMappingURL=init-5PLABNLR.js.map
|
|
@@ -2,10 +2,11 @@ import {
|
|
|
2
2
|
buildTaskGraphFromGoalPhase,
|
|
3
3
|
buildTaskGraphFromSddSnapshot,
|
|
4
4
|
createKanbanRunMirror
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UOQPDZ5H.js";
|
|
6
|
+
import "./chunk-W23PY4IJ.js";
|
|
6
7
|
export {
|
|
7
8
|
buildTaskGraphFromGoalPhase,
|
|
8
9
|
buildTaskGraphFromSddSnapshot,
|
|
9
10
|
createKanbanRunMirror
|
|
10
11
|
};
|
|
11
|
-
//# sourceMappingURL=kanban-run-mirror-
|
|
12
|
+
//# sourceMappingURL=kanban-run-mirror-SZ3S3S3Z.js.map
|
|
@@ -107,6 +107,14 @@ export interface LiveSettingsInput {
|
|
|
107
107
|
nextStepsTool?: boolean | undefined;
|
|
108
108
|
/** Persisted as `autonomy.nextSteps` ('required' when true). Read live. */
|
|
109
109
|
nextStepsRequired?: boolean | undefined;
|
|
110
|
+
/** Persisted as `launch.rememberStartupChoices`. Read at boot, so it applies next launch. */
|
|
111
|
+
rememberStartupChoices?: boolean | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* System prompt for the NEXT session. Written to the profile config's
|
|
114
|
+
* `systemPrompt.variant` only; the running session keeps the prompt and
|
|
115
|
+
* tool surface it was built with.
|
|
116
|
+
*/
|
|
117
|
+
nextSystemPromptVariant?: 'lite' | 'default' | 'pro' | 'scout' | undefined;
|
|
110
118
|
/** Minimum relation strength for SAGE memory injection. Default: 0.85. */
|
|
111
119
|
sageMemoryInjectThreshold?: number | undefined;
|
|
112
120
|
/**
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startCliHqConnection
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-76JE54WD.js";
|
|
4
|
+
import "./chunk-OZCYZYN2.js";
|
|
5
|
+
import "./chunk-HKMOIIPQ.js";
|
|
6
|
+
import "./chunk-W23PY4IJ.js";
|
|
5
7
|
|
|
6
8
|
// src/subcommands/handlers/mailbox-serve.ts
|
|
7
9
|
import { createServer } from "node:http";
|
|
@@ -362,4 +364,4 @@ function printHelp(deps) {
|
|
|
362
364
|
export {
|
|
363
365
|
mailboxServeCmd
|
|
364
366
|
};
|
|
365
|
-
//# sourceMappingURL=mailbox-serve-
|
|
367
|
+
//# sourceMappingURL=mailbox-serve-MMQCHOHI.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
activeProfileConfigPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SPSHEZ46.js";
|
|
4
4
|
import {
|
|
5
5
|
restoreFlags
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QC6CLAK7.js";
|
|
7
|
+
import "./chunk-W23PY4IJ.js";
|
|
7
8
|
|
|
8
9
|
// src/subcommands/handlers/mcp.ts
|
|
9
10
|
import { allServers, resolveMcpServerConfig } from "@wrongstack/core/infrastructure";
|
|
@@ -460,4 +461,4 @@ function isRecord(value) {
|
|
|
460
461
|
export {
|
|
461
462
|
mcpCmd
|
|
462
463
|
};
|
|
463
|
-
//# sourceMappingURL=mcp-
|
|
464
|
+
//# sourceMappingURL=mcp-2XWBJEQN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyProviderOAuthRefresh
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-T4TGMTH2.js";
|
|
4
4
|
import {
|
|
5
5
|
discoverAndMergeProviders
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RBZVDWTL.js";
|
|
7
7
|
import {
|
|
8
8
|
checkMark,
|
|
9
9
|
costLabel,
|
|
@@ -17,16 +17,17 @@ import {
|
|
|
17
17
|
runModeldiagEval,
|
|
18
18
|
scoreBar,
|
|
19
19
|
speedLabel
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FPUB5WWP.js";
|
|
21
21
|
import {
|
|
22
22
|
mutateConfigProviders
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZCXZGYO5.js";
|
|
24
24
|
import {
|
|
25
25
|
activeProfileConfigPath
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SPSHEZ46.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveRawProviderConnection
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UFRVTBV6.js";
|
|
30
|
+
import "./chunk-W23PY4IJ.js";
|
|
30
31
|
|
|
31
32
|
// src/subcommands/handlers/modeldiag.ts
|
|
32
33
|
import * as fs from "node:fs/promises";
|
|
@@ -843,4 +844,4 @@ var modeldiagCmd = async (args, deps) => {
|
|
|
843
844
|
export {
|
|
844
845
|
modeldiagCmd
|
|
845
846
|
};
|
|
846
|
-
//# sourceMappingURL=modeldiag-
|
|
847
|
+
//# sourceMappingURL=modeldiag-ERXYJODJ.js.map
|
|
@@ -7,8 +7,9 @@ import {
|
|
|
7
7
|
renderFocusedHelpToString,
|
|
8
8
|
renderGenericHelp,
|
|
9
9
|
subcommandsWithFocusedHelp
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-3R3OADC5.js";
|
|
11
|
+
import "./chunk-ZXX3MJRL.js";
|
|
12
|
+
import "./chunk-W23PY4IJ.js";
|
|
12
13
|
export {
|
|
13
14
|
deepSubcommandsWithFocusedHelp,
|
|
14
15
|
renderBlockToString,
|
|
@@ -19,4 +20,4 @@ export {
|
|
|
19
20
|
renderGenericHelp,
|
|
20
21
|
subcommandsWithFocusedHelp
|
|
21
22
|
};
|
|
22
|
-
//# sourceMappingURL=per-subcommand-help-
|
|
23
|
+
//# sourceMappingURL=per-subcommand-help-D6J4ZXW2.js.map
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
explainCall,
|
|
3
3
|
formatExplainedCall,
|
|
4
4
|
formatPermissionRules
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MKM4X2AM.js";
|
|
6
|
+
import "./chunk-W23PY4IJ.js";
|
|
6
7
|
|
|
7
8
|
// src/subcommands/handlers/permissions.ts
|
|
8
9
|
import { compilePermissionRules } from "@wrongstack/core/security";
|
|
@@ -135,4 +136,4 @@ answers and /permissions allow|deny rules.
|
|
|
135
136
|
export {
|
|
136
137
|
permissionsCmd
|
|
137
138
|
};
|
|
138
|
-
//# sourceMappingURL=permissions-
|
|
139
|
+
//# sourceMappingURL=permissions-6YJ64W65.js.map
|
package/dist/plugin-config.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { PluginConfig } from '@wrongstack/core/types';
|
|
2
2
|
import type { PluginManagementDeps, PluginManagementResult } from './plugin-management-types.js';
|
|
3
|
+
/**
|
|
4
|
+
* Read the profile config for a read-modify-write. Only a MISSING file reads as
|
|
5
|
+
* `{}`: callers write the result back over the whole profile, so treating an
|
|
6
|
+
* unreadable or corrupt file as empty wiped every provider, key and setting.
|
|
7
|
+
* A leading UTF-8 BOM is ignorable (RFC 8259) — the config loader accepts it.
|
|
8
|
+
*/
|
|
3
9
|
export declare function readConfig(file: string): Promise<Record<string, unknown>>;
|
|
4
10
|
export declare function pluginName(p: string | PluginConfig): string;
|
|
5
11
|
export declare function upsertPlugin(spec: string, opts: {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPluginManagementCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VAQXOZKP.js";
|
|
4
4
|
import {
|
|
5
5
|
activeProfileConfigPath
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-SPSHEZ46.js";
|
|
7
|
+
import "./chunk-BIGSVBPI.js";
|
|
8
8
|
import {
|
|
9
9
|
restoreFlags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QC6CLAK7.js";
|
|
11
|
+
import "./chunk-W23PY4IJ.js";
|
|
11
12
|
|
|
12
13
|
// src/subcommands/handlers/plugin-usage.ts
|
|
13
14
|
var pluginCmd = async (args, deps) => {
|
|
@@ -41,4 +42,4 @@ export {
|
|
|
41
42
|
pluginCmd,
|
|
42
43
|
usageCmd
|
|
43
44
|
};
|
|
44
|
-
//# sourceMappingURL=plugin-usage-
|
|
45
|
+
//# sourceMappingURL=plugin-usage-TYF5HY4K.js.map
|
|
@@ -7,10 +7,11 @@ import {
|
|
|
7
7
|
pluginNameFromSpec,
|
|
8
8
|
setupPlugins,
|
|
9
9
|
warnIfDeprecatedPluginName
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-TZPKOS5G.js";
|
|
11
|
+
import "./chunk-P24ZPPYH.js";
|
|
12
|
+
import "./chunk-VAQXOZKP.js";
|
|
13
|
+
import "./chunk-BIGSVBPI.js";
|
|
14
|
+
import "./chunk-W23PY4IJ.js";
|
|
14
15
|
export {
|
|
15
16
|
BUILTIN_PLUGIN_FACTORIES,
|
|
16
17
|
BUILTIN_PLUGIN_NAME_HINTS,
|
|
@@ -21,4 +22,4 @@ export {
|
|
|
21
22
|
setupPlugins,
|
|
22
23
|
warnIfDeprecatedPluginName
|
|
23
24
|
};
|
|
24
|
-
//# sourceMappingURL=plugins-
|
|
25
|
+
//# sourceMappingURL=plugins-XGAXDLPT.js.map
|
|
@@ -35,7 +35,23 @@ export declare function runLaunchPrompts(opts: {
|
|
|
35
35
|
autonomyPinned?: 'off' | 'auto' | undefined;
|
|
36
36
|
/** Saved launch preferences from a previous session (persisted to config). */
|
|
37
37
|
lastChoices?: LaunchModeChoices | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* `launch.rememberStartupChoices`: accept the saved preferences without the
|
|
40
|
+
* "Continue with these?" question. A CLI flag that diverges from the saved
|
|
41
|
+
* value still opens the individual prompts.
|
|
42
|
+
*/
|
|
43
|
+
reuseLast?: boolean | undefined;
|
|
38
44
|
}): Promise<LaunchModeChoices>;
|
|
45
|
+
/**
|
|
46
|
+
* Asked after the startup questions ran because "Reuse startup choices" is
|
|
47
|
+
* off: offers to turn it on so the next launches stop asking. Defaults to
|
|
48
|
+
* "no" (Enter / timeout) — the user chose to be asked, so silence keeps it.
|
|
49
|
+
* Returns true when the user wants to stop being asked.
|
|
50
|
+
*/
|
|
51
|
+
export declare function promptStopAskingStartupQuestions(opts: {
|
|
52
|
+
renderer: TerminalRenderer;
|
|
53
|
+
reader: ReadlineInputReader;
|
|
54
|
+
}): Promise<boolean>;
|
|
39
55
|
/**
|
|
40
56
|
* Persist the user's launch-mode choices (mode, yolo, autonomy)
|
|
41
57
|
* back to the global config file so the next boot can offer a one-line
|
|
@@ -43,7 +59,10 @@ export declare function runLaunchPrompts(opts: {
|
|
|
43
59
|
*
|
|
44
60
|
* Reads the existing config, updates only the `yolo` and `launch` keys,
|
|
45
61
|
* and writes back atomically. Other fields (including encrypted secrets)
|
|
46
|
-
* pass through round-trip unchanged.
|
|
62
|
+
* pass through round-trip unchanged. `extra.rememberStartupChoices`, when
|
|
63
|
+
* given, is written to `launch.rememberStartupChoices` in the same write.
|
|
47
64
|
*/
|
|
48
|
-
export declare function persistLaunchChoices(configPath: string, choices: LaunchModeChoices
|
|
65
|
+
export declare function persistLaunchChoices(configPath: string, choices: LaunchModeChoices, extra?: {
|
|
66
|
+
rememberStartupChoices?: boolean | undefined;
|
|
67
|
+
}): Promise<void>;
|
|
49
68
|
//# sourceMappingURL=launch-prompts.d.ts.map
|
package/dist/pre-launch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { type FirstRunDeps, type FirstRunOutcome, hasAnyCredential, runFirstRunSetup, } from './pre-launch/first-run.js';
|
|
2
|
-
export { LaunchAbortedError, type LaunchModeChoices, persistLaunchChoices, runLaunchPrompts, } from './pre-launch/launch-prompts.js';
|
|
2
|
+
export { LaunchAbortedError, type LaunchModeChoices, persistLaunchChoices, promptStopAskingStartupQuestions, runLaunchPrompts, } from './pre-launch/launch-prompts.js';
|
|
3
3
|
export { detectProjectKind, isOutsideProject, type ProjectKind, runProjectCheck, } from './pre-launch/project-check.js';
|
|
4
4
|
//# sourceMappingURL=pre-launch.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-W23PY4IJ.js";
|
|
1
2
|
|
|
2
3
|
// src/subcommands/handlers/project.ts
|
|
3
4
|
import {
|
|
@@ -72,4 +73,4 @@ ${color.dim("Commit this file so every clone and machine shares the same HQ proj
|
|
|
72
73
|
export {
|
|
73
74
|
projectCmd
|
|
74
75
|
};
|
|
75
|
-
//# sourceMappingURL=project-
|
|
76
|
+
//# sourceMappingURL=project-V5KNTLV4.js.map
|
|
@@ -5,7 +5,8 @@ import {
|
|
|
5
5
|
loadManifest,
|
|
6
6
|
saveManifest,
|
|
7
7
|
touchProjectInManifest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UBDLNC3N.js";
|
|
9
|
+
import "./chunk-W23PY4IJ.js";
|
|
9
10
|
export {
|
|
10
11
|
ensureProjectDataDir,
|
|
11
12
|
findProject,
|
|
@@ -14,4 +15,4 @@ export {
|
|
|
14
15
|
saveManifest,
|
|
15
16
|
touchProjectInManifest
|
|
16
17
|
};
|
|
17
|
-
//# sourceMappingURL=project-manifest-
|
|
18
|
+
//# sourceMappingURL=project-manifest-HXCID644.js.map
|
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
filterItems,
|
|
5
5
|
runProjectPicker,
|
|
6
6
|
skipDivider
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-7IY2UTBE.js";
|
|
8
|
+
import "./chunk-UBDLNC3N.js";
|
|
9
|
+
import "./chunk-W23PY4IJ.js";
|
|
9
10
|
export {
|
|
10
11
|
buildPickerItems,
|
|
11
12
|
effectiveVisibleHeight,
|
|
@@ -13,4 +14,4 @@ export {
|
|
|
13
14
|
runProjectPicker,
|
|
14
15
|
skipDivider
|
|
15
16
|
};
|
|
16
|
-
//# sourceMappingURL=project-picker-
|
|
17
|
+
//# sourceMappingURL=project-picker-FUSLXKSA.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-W23PY4IJ.js";
|
|
1
2
|
|
|
2
3
|
// src/subcommands/handlers/projects.ts
|
|
3
4
|
import { color } from "@wrongstack/core/utils";
|
|
@@ -30,4 +31,4 @@ var projectsCmd = async (_args, deps) => {
|
|
|
30
31
|
export {
|
|
31
32
|
projectsCmd
|
|
32
33
|
};
|
|
33
|
-
//# sourceMappingURL=projects-
|
|
34
|
+
//# sourceMappingURL=projects-FWRJHW3S.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
visibleModelIds
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-57PSSEBR.js";
|
|
4
4
|
import {
|
|
5
5
|
mutateConfigProviders
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZCXZGYO5.js";
|
|
7
7
|
import {
|
|
8
8
|
activeProfileConfigPath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SPSHEZ46.js";
|
|
10
|
+
import "./chunk-W23PY4IJ.js";
|
|
10
11
|
|
|
11
12
|
// src/subcommands/handlers/providers-models.ts
|
|
12
13
|
import { color as color3 } from "@wrongstack/core/utils";
|
|
@@ -33,7 +34,7 @@ function aliasProviderId(configProviderId, cfg) {
|
|
|
33
34
|
async function discoverProviderModels(deps, ids, onlyProviderId) {
|
|
34
35
|
if (!("mergeOverlay" in deps.modelsRegistry)) return void 0;
|
|
35
36
|
try {
|
|
36
|
-
const { discoverAndMergeProviders } = await import("./auto-discover-providers-
|
|
37
|
+
const { discoverAndMergeProviders } = await import("./auto-discover-providers-V75ICIBG.js");
|
|
37
38
|
const only = onlyProviderId ? deps.config.providers?.[onlyProviderId] : void 0;
|
|
38
39
|
await discoverAndMergeProviders({
|
|
39
40
|
config: only ? { ...deps.config, providers: { [onlyProviderId]: only } } : deps.config,
|
|
@@ -392,7 +393,7 @@ async function mutateModelsConfig(deps, mutator) {
|
|
|
392
393
|
}
|
|
393
394
|
let parsed;
|
|
394
395
|
try {
|
|
395
|
-
parsed = JSON.parse(raw);
|
|
396
|
+
parsed = JSON.parse(raw.replace(/^\uFEFF/, ""));
|
|
396
397
|
} catch (err) {
|
|
397
398
|
if (fileExists) {
|
|
398
399
|
throw new ConfigError({
|
|
@@ -714,4 +715,4 @@ export {
|
|
|
714
715
|
modelsCmd,
|
|
715
716
|
providersCmd
|
|
716
717
|
};
|
|
717
|
-
//# sourceMappingURL=providers-models-
|
|
718
|
+
//# sourceMappingURL=providers-models-CDI5GVBX.js.map
|
|
@@ -3,12 +3,13 @@ import {
|
|
|
3
3
|
awaitFirstWrongProxyProbe,
|
|
4
4
|
bootstrapWrongProxy,
|
|
5
5
|
shutdownWrongProxy
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZTSTMFYW.js";
|
|
7
|
+
import "./chunk-VHC47E7U.js";
|
|
8
|
+
import "./chunk-W23PY4IJ.js";
|
|
8
9
|
export {
|
|
9
10
|
applyWrongProxyPrefs,
|
|
10
11
|
awaitFirstWrongProxyProbe,
|
|
11
12
|
bootstrapWrongProxy,
|
|
12
13
|
shutdownWrongProxy
|
|
13
14
|
};
|
|
14
|
-
//# sourceMappingURL=proxy-wiring-
|
|
15
|
+
//# sourceMappingURL=proxy-wiring-FIW6HFJV.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./chunk-W23PY4IJ.js";
|
|
1
2
|
|
|
2
3
|
// src/subcommands/handlers/quick.ts
|
|
3
4
|
var quickCmd = (_args, _deps) => {
|
|
@@ -6,4 +7,4 @@ var quickCmd = (_args, _deps) => {
|
|
|
6
7
|
export {
|
|
7
8
|
quickCmd
|
|
8
9
|
};
|
|
9
|
-
//# sourceMappingURL=quick-
|
|
10
|
+
//# sourceMappingURL=quick-NPC3N3ZX.js.map
|