@wrongstack/cli 0.318.0 → 0.319.0
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/data/providers.json +1 -22
- package/dist/{acp-CEQINXWB.js → acp-5ANIAOZC.js} +4 -4
- package/dist/arg-parser.d.ts +4 -0
- package/dist/{auth-3OSF6BMU.js → auth-KF5TAD7V.js} +10 -10
- package/dist/{chunk-GKHUHAIK.js → chunk-42JD25KU.js} +5 -5
- package/dist/{chunk-QYIIOMLE.js → chunk-E4I2TF5S.js} +2 -2
- package/dist/{chunk-37SPPLUD.js → chunk-F5GA2QW2.js} +15 -2
- package/dist/chunk-GGGUZSAU.js +235 -0
- package/dist/{chunk-QC5I4VWZ.js → chunk-H7GABTGS.js} +6 -2
- package/dist/chunk-OZDE3OWD.js +52 -0
- package/dist/chunk-P2OKBDCH.js +1166 -0
- package/dist/chunk-PCBJSXYV.js +65 -0
- package/dist/{chunk-KG4X5F7Z.js → chunk-VFCJOWJB.js} +10 -12
- package/dist/chunk-VWCZL4OH.js +46 -0
- package/dist/{chunk-YX6KUIDF.js → chunk-XHIEA6LG.js} +861 -29
- package/dist/{chunk-BXFYBQKR.js → chunk-XPX432BZ.js} +8 -1
- package/dist/cli-context-LH4QP4W2.js +3369 -0
- package/dist/{cli-main-ILRTNPDP.js → cli-main-72XUFUCL.js} +50 -44
- package/dist/{execution-BN4QIFH6.js → execution-DKJDNPYF.js} +17 -17
- package/dist/index.js +20 -4440
- package/dist/{modeldiag-4NYBRSFP.js → modeldiag-5FRMT6FQ.js} +2 -2
- package/dist/per-subcommand-help-6VCIKDUW.js +23 -0
- package/dist/{plugin-usage-AP7SJCDA.js → plugin-usage-CYUORYM6.js} +2 -2
- package/dist/{plugins-HQ5FU2AM.js → plugins-RV3OBBND.js} +3 -3
- package/dist/pre-launch/first-run.d.ts +51 -0
- package/dist/pre-launch.d.ts +1 -0
- package/dist/{providers-models-663NDPRQ.js → providers-models-OKKQZIWU.js} +2 -2
- package/dist/{sessions-config-P2LK2L32.js → sessions-config-KAMEBVOX.js} +4 -4
- package/dist/short-circuit-flags-U6CJAF6J.js +11 -0
- package/dist/subcommands-J4JMWC5W.js +10 -0
- package/dist/{webui-server-OJLLM6PE.js → webui-server-SY4EQCKD.js} +5 -5
- package/package.json +28 -28
- package/dist/chunk-L6ZNCTRJ.js +0 -1067
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createHqCommandDispatcher
|
|
3
|
+
} from "./chunk-7YLN7YUA.js";
|
|
4
|
+
import {
|
|
5
|
+
runProjectPicker
|
|
6
|
+
} from "./chunk-2ZNBRZ4W.js";
|
|
7
|
+
import {
|
|
8
|
+
ensureProjectDataDir,
|
|
9
|
+
findProject,
|
|
10
|
+
generateSlug,
|
|
11
|
+
loadManifest,
|
|
12
|
+
saveManifest
|
|
13
|
+
} from "./chunk-G7337TTK.js";
|
|
1
14
|
import {
|
|
2
15
|
getWrongTrace
|
|
3
16
|
} from "./chunk-4JRIWVJ4.js";
|
|
@@ -12,7 +25,7 @@ import {
|
|
|
12
25
|
} from "./chunk-SXJTVNWF.js";
|
|
13
26
|
import {
|
|
14
27
|
setupPlugins
|
|
15
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-42JD25KU.js";
|
|
16
29
|
import {
|
|
17
30
|
deriveFsAccessPair,
|
|
18
31
|
filterSafeForProject,
|
|
@@ -20,6 +33,18 @@ import {
|
|
|
20
33
|
persistConfigSetting,
|
|
21
34
|
persistTelegramConfig
|
|
22
35
|
} from "./chunk-JACOMTIH.js";
|
|
36
|
+
import {
|
|
37
|
+
configureSimpleUiRuntimeContext,
|
|
38
|
+
detectProjectFacts,
|
|
39
|
+
makeConfirmAwaiter,
|
|
40
|
+
renderAgentsTemplate
|
|
41
|
+
} from "./chunk-VFCJOWJB.js";
|
|
42
|
+
import "./chunk-QD544J2B.js";
|
|
43
|
+
import {
|
|
44
|
+
fmtTaskResultLine,
|
|
45
|
+
fmtTok,
|
|
46
|
+
patchConfig
|
|
47
|
+
} from "./chunk-TYO2OVAD.js";
|
|
23
48
|
import {
|
|
24
49
|
awaitFirstWrongProxyProbe,
|
|
25
50
|
bootstrapWrongProxy
|
|
@@ -34,48 +59,17 @@ import {
|
|
|
34
59
|
matchTaskNode,
|
|
35
60
|
sddState
|
|
36
61
|
} from "./chunk-JHUJUIOH.js";
|
|
37
|
-
import {
|
|
38
|
-
createHqCommandDispatcher
|
|
39
|
-
} from "./chunk-7YLN7YUA.js";
|
|
40
|
-
import {
|
|
41
|
-
runProjectPicker
|
|
42
|
-
} from "./chunk-2ZNBRZ4W.js";
|
|
43
|
-
import {
|
|
44
|
-
ensureProjectDataDir,
|
|
45
|
-
findProject,
|
|
46
|
-
generateSlug,
|
|
47
|
-
loadManifest,
|
|
48
|
-
saveManifest
|
|
49
|
-
} from "./chunk-G7337TTK.js";
|
|
50
62
|
import {
|
|
51
63
|
startCliHqConnection
|
|
52
64
|
} from "./chunk-XYKYXFEE.js";
|
|
53
65
|
import {
|
|
54
66
|
PLUGIN_AUDIT_ENTRIES,
|
|
55
67
|
runPluginManagementCommand
|
|
56
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-H7GABTGS.js";
|
|
57
69
|
import "./chunk-G3IMKQRH.js";
|
|
58
70
|
import {
|
|
59
71
|
recordGateDecision
|
|
60
72
|
} from "./chunk-7CECQDNH.js";
|
|
61
|
-
import {
|
|
62
|
-
configureSimpleUiRuntimeContext,
|
|
63
|
-
detectProjectFacts,
|
|
64
|
-
makeConfirmAwaiter,
|
|
65
|
-
renderAgentsTemplate
|
|
66
|
-
} from "./chunk-KG4X5F7Z.js";
|
|
67
|
-
import "./chunk-QD544J2B.js";
|
|
68
|
-
import {
|
|
69
|
-
fmtTaskResultLine,
|
|
70
|
-
fmtTok,
|
|
71
|
-
patchConfig
|
|
72
|
-
} from "./chunk-TYO2OVAD.js";
|
|
73
|
-
import {
|
|
74
|
-
buildWin32CmdShimInvocation
|
|
75
|
-
} from "./chunk-U3SS4NRH.js";
|
|
76
|
-
import {
|
|
77
|
-
checkForUpdate
|
|
78
|
-
} from "./chunk-YLQEGYV4.js";
|
|
79
73
|
import {
|
|
80
74
|
CLI_VERSION
|
|
81
75
|
} from "./chunk-XJXDOF63.js";
|
|
@@ -86,8 +80,9 @@ import {
|
|
|
86
80
|
refreshAcpRegistry,
|
|
87
81
|
resolveProviderCfg,
|
|
88
82
|
setupProvider
|
|
89
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-F5GA2QW2.js";
|
|
90
84
|
import {
|
|
85
|
+
LOCAL_LLM_PRESETS,
|
|
91
86
|
addCustomProvider,
|
|
92
87
|
addKeyForCatalogProvider,
|
|
93
88
|
addKeyForProvider,
|
|
@@ -96,11 +91,7 @@ import {
|
|
|
96
91
|
runClaudeOAuthLogin,
|
|
97
92
|
runCopilotOAuthLogin,
|
|
98
93
|
validateFamily
|
|
99
|
-
} from "./chunk-
|
|
100
|
-
import {
|
|
101
|
-
LOCAL_LLM_PRESETS,
|
|
102
|
-
parseSpawnFlags
|
|
103
|
-
} from "./chunk-L6ZNCTRJ.js";
|
|
94
|
+
} from "./chunk-XHIEA6LG.js";
|
|
104
95
|
import {
|
|
105
96
|
appendHistory
|
|
106
97
|
} from "./chunk-B4JLSXZB.js";
|
|
@@ -111,9 +102,12 @@ import {
|
|
|
111
102
|
import {
|
|
112
103
|
activeProfileConfigPath
|
|
113
104
|
} from "./chunk-YMXXOOFN.js";
|
|
105
|
+
import {
|
|
106
|
+
parseSpawnFlags
|
|
107
|
+
} from "./chunk-GGGUZSAU.js";
|
|
114
108
|
import {
|
|
115
109
|
runCodexOAuthLogin
|
|
116
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-E4I2TF5S.js";
|
|
117
111
|
import {
|
|
118
112
|
activeLabel,
|
|
119
113
|
loadConfigProviders,
|
|
@@ -121,7 +115,13 @@ import {
|
|
|
121
115
|
normalizeKeys,
|
|
122
116
|
nowIso,
|
|
123
117
|
writeKeysBack
|
|
124
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-XPX432BZ.js";
|
|
119
|
+
import {
|
|
120
|
+
buildWin32CmdShimInvocation
|
|
121
|
+
} from "./chunk-U3SS4NRH.js";
|
|
122
|
+
import {
|
|
123
|
+
checkForUpdate
|
|
124
|
+
} from "./chunk-YLQEGYV4.js";
|
|
125
125
|
import {
|
|
126
126
|
__require
|
|
127
127
|
} from "./chunk-7OCVIDC7.js";
|
|
@@ -5710,7 +5710,7 @@ async function runCliExecution(params) {
|
|
|
5710
5710
|
governanceHandle,
|
|
5711
5711
|
setConfig
|
|
5712
5712
|
} = params;
|
|
5713
|
-
const { execute } = await import("./execution-
|
|
5713
|
+
const { execute } = await import("./execution-DKJDNPYF.js");
|
|
5714
5714
|
return execute(
|
|
5715
5715
|
toExecuteDeps({
|
|
5716
5716
|
core: {
|
|
@@ -12460,7 +12460,7 @@ function buildDoctorCommand(opts) {
|
|
|
12460
12460
|
].join("\n");
|
|
12461
12461
|
async function loadPluginSchemas() {
|
|
12462
12462
|
try {
|
|
12463
|
-
const { BUILTIN_PLUGIN_FACTORIES } = await import("./plugins-
|
|
12463
|
+
const { BUILTIN_PLUGIN_FACTORIES } = await import("./plugins-RV3OBBND.js");
|
|
12464
12464
|
const settled = await Promise.allSettled(BUILTIN_PLUGIN_FACTORIES.map((f) => f()));
|
|
12465
12465
|
const loaded = [];
|
|
12466
12466
|
for (const s of settled) {
|
|
@@ -13667,7 +13667,13 @@ function buildTierCommand(opts) {
|
|
|
13667
13667
|
return { message: `${color26.red("Invalid")} maxCostUsd: "${parts[2] ?? ""}"` };
|
|
13668
13668
|
}
|
|
13669
13669
|
const iters = parts[3] !== void 0 ? Number.parseInt(parts[3], 10) : void 0;
|
|
13670
|
+
if (iters !== void 0 && (!Number.isFinite(iters) || iters < 0)) {
|
|
13671
|
+
return { message: `${color26.red("Invalid")} maxIterations: "${parts[3]}"` };
|
|
13672
|
+
}
|
|
13670
13673
|
const tools = parts[4] !== void 0 ? Number.parseInt(parts[4], 10) : void 0;
|
|
13674
|
+
if (tools !== void 0 && (!Number.isFinite(tools) || tools < 0)) {
|
|
13675
|
+
return { message: `${color26.red("Invalid")} maxToolCalls: "${parts[4]}"` };
|
|
13676
|
+
}
|
|
13671
13677
|
await persist((tiers) => {
|
|
13672
13678
|
const levels = levelsOf(tiers);
|
|
13673
13679
|
levels[tier] = {
|
|
@@ -36677,4 +36683,4 @@ export {
|
|
|
36677
36683
|
CLI_VERSION,
|
|
36678
36684
|
runInteractive
|
|
36679
36685
|
};
|
|
36680
|
-
//# sourceMappingURL=cli-main-
|
|
36686
|
+
//# sourceMappingURL=cli-main-72XUFUCL.js.map
|
|
@@ -11,6 +11,17 @@ import {
|
|
|
11
11
|
resolveActualTarget,
|
|
12
12
|
resolvePersistPath
|
|
13
13
|
} from "./chunk-JACOMTIH.js";
|
|
14
|
+
import {
|
|
15
|
+
theme
|
|
16
|
+
} from "./chunk-QD544J2B.js";
|
|
17
|
+
import {
|
|
18
|
+
WEBUI_SESSION_CHILD_CAPABILITIES,
|
|
19
|
+
writeWebuiSessionChildError,
|
|
20
|
+
writeWebuiSessionChildReady
|
|
21
|
+
} from "./chunk-GPPRNAKW.js";
|
|
22
|
+
import {
|
|
23
|
+
fmtTok
|
|
24
|
+
} from "./chunk-TYO2OVAD.js";
|
|
14
25
|
import "./chunk-ALE5KHCA.js";
|
|
15
26
|
import {
|
|
16
27
|
advanceToNextTask,
|
|
@@ -25,24 +36,13 @@ import {
|
|
|
25
36
|
trySaveSpecFromAIOutput,
|
|
26
37
|
trySaveTasksFromAIOutput
|
|
27
38
|
} from "./chunk-JHUJUIOH.js";
|
|
28
|
-
import {
|
|
29
|
-
startCliHqConnection
|
|
30
|
-
} from "./chunk-XYKYXFEE.js";
|
|
31
|
-
import {
|
|
32
|
-
theme
|
|
33
|
-
} from "./chunk-QD544J2B.js";
|
|
34
|
-
import {
|
|
35
|
-
fmtTok
|
|
36
|
-
} from "./chunk-TYO2OVAD.js";
|
|
37
|
-
import {
|
|
38
|
-
WEBUI_SESSION_CHILD_CAPABILITIES,
|
|
39
|
-
writeWebuiSessionChildError,
|
|
40
|
-
writeWebuiSessionChildReady
|
|
41
|
-
} from "./chunk-GPPRNAKW.js";
|
|
42
39
|
import {
|
|
43
40
|
terminalLink,
|
|
44
41
|
terminalText
|
|
45
42
|
} from "./chunk-HXJYHAR4.js";
|
|
43
|
+
import {
|
|
44
|
+
startCliHqConnection
|
|
45
|
+
} from "./chunk-XYKYXFEE.js";
|
|
46
46
|
import {
|
|
47
47
|
CLI_VERSION
|
|
48
48
|
} from "./chunk-XJXDOF63.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-YMXXOOFN.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveActiveApiKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-XPX432BZ.js";
|
|
55
55
|
import "./chunk-7OCVIDC7.js";
|
|
56
56
|
|
|
57
57
|
// src/execution.ts
|
|
@@ -212,7 +212,7 @@ async function runWebUIDispatch(ctx) {
|
|
|
212
212
|
const isSimpleUi = !isSessionChild && flags["simpleui"] === true;
|
|
213
213
|
agent.disableInteractiveConfirmation();
|
|
214
214
|
renderer.setSilent(true);
|
|
215
|
-
const { runWebUI } = await import("./webui-server-
|
|
215
|
+
const { runWebUI } = await import("./webui-server-SY4EQCKD.js");
|
|
216
216
|
const flagValue = (names) => {
|
|
217
217
|
for (const name of names) {
|
|
218
218
|
if (!Object.hasOwn(flags, name)) continue;
|
|
@@ -6698,4 +6698,4 @@ export {
|
|
|
6698
6698
|
execute,
|
|
6699
6699
|
resolveReviewerFallbackModels
|
|
6700
6700
|
};
|
|
6701
|
-
//# sourceMappingURL=execution-
|
|
6701
|
+
//# sourceMappingURL=execution-DKJDNPYF.js.map
|