reevesagents 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/{chunk-65LHCGPC.js → chunk-36SYE7IU.js} +11 -1
- package/dist/{chunk-4W6MVOPK.js → chunk-5Q5XP5QI.js} +2 -2
- package/dist/{chunk-2LC6V55H.js → chunk-GUM4JMVF.js} +2 -2
- package/dist/{chunk-YMUISYYB.js → chunk-KVMBCWLI.js} +2 -2
- package/dist/{chunk-HS6TOISU.js → chunk-TO32PH23.js} +2 -2
- package/dist/{chunk-Z2JHNE7V.js → chunk-VTLLF2Z4.js} +2 -2
- package/dist/cli.js +8 -8
- package/dist/index.js +2 -2
- package/dist/{router-TGRU5BFX.js → router-AOJOUKAY.js} +47 -38
- package/dist/{server-H2XEJQYT.js → server-I2ROVLSH.js} +6 -4
- package/dist/{server-GYB53IBP.js → server-Y4HMP3OI.js} +10 -6
- package/dist/{tui-launch-45ERRX5M.js → tui-launch-SJNFGH42.js} +2 -2
- package/dist/web/app.js +6 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.3.2](https://github.com/mertkayacs/reevesagents/compare/v1.3.1...v1.3.2) (2026-07-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **providers:** show auth-mode and effort pickers only where they apply ([43fc16d](https://github.com/mertkayacs/reevesagents/commit/43fc16dae8e4544c6a40218956e3bee7cfafeb96))
|
|
9
|
+
|
|
3
10
|
## [1.3.1](https://github.com/mertkayacs/reevesagents/compare/v1.3.0...v1.3.1) (2026-06-26)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -119,6 +119,8 @@ var PROVIDER_REGISTRY = {
|
|
|
119
119
|
helpRequirements: [
|
|
120
120
|
{ feature: "skip permissions", tokens: ["--dangerously-skip-permissions"] }
|
|
121
121
|
],
|
|
122
|
+
supportsAuthMode: true,
|
|
123
|
+
supportsEffort: true,
|
|
122
124
|
buildArgs: ({ permissions, model, auth_mode, effort }) => {
|
|
123
125
|
const args = [];
|
|
124
126
|
if (permissions === "skip") args.push("--dangerously-skip-permissions");
|
|
@@ -308,6 +310,12 @@ function normalizeProvider(value) {
|
|
|
308
310
|
if (typeof value !== "string") return null;
|
|
309
311
|
return PROVIDER_ALIASES[value.trim().toLowerCase()] ?? null;
|
|
310
312
|
}
|
|
313
|
+
function providerSupportsAuthMode(provider) {
|
|
314
|
+
return PROVIDER_REGISTRY[provider]?.supportsAuthMode === true;
|
|
315
|
+
}
|
|
316
|
+
function providerSupportsEffort(provider) {
|
|
317
|
+
return PROVIDER_REGISTRY[provider]?.supportsEffort === true;
|
|
318
|
+
}
|
|
311
319
|
function buildCommand(opts) {
|
|
312
320
|
const { provider, permissions, model, auth_mode = "default", effort = "default" } = opts;
|
|
313
321
|
if (!isProvider(provider)) {
|
|
@@ -1970,6 +1978,8 @@ export {
|
|
|
1970
1978
|
PROVIDERS,
|
|
1971
1979
|
isProvider,
|
|
1972
1980
|
normalizeProvider,
|
|
1981
|
+
providerSupportsAuthMode,
|
|
1982
|
+
providerSupportsEffort,
|
|
1973
1983
|
buildCommand,
|
|
1974
1984
|
detectAvailable,
|
|
1975
1985
|
colors,
|
|
@@ -2032,4 +2042,4 @@ export {
|
|
|
2032
2042
|
stopRun,
|
|
2033
2043
|
openTmuxTarget
|
|
2034
2044
|
};
|
|
2035
|
-
//# sourceMappingURL=chunk-
|
|
2045
|
+
//# sourceMappingURL=chunk-36SYE7IU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
stateRoot
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36SYE7IU.js";
|
|
5
5
|
|
|
6
6
|
// src/core/tui-open.ts
|
|
7
7
|
import { mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
readTuiOpenToken,
|
|
27
27
|
writeTuiOpenToken
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-5Q5XP5QI.js.map
|
|
@@ -28,7 +28,7 @@ async function startTuiWebServer() {
|
|
|
28
28
|
const { checkWebExtras, webExtrasMessage } = await import("./extras-25AF6TAR.js");
|
|
29
29
|
const extras = await checkWebExtras();
|
|
30
30
|
if (!extras.ok) throw new Error(webExtrasMessage(extras.missing));
|
|
31
|
-
const { startWebServer } = await import("./server-
|
|
31
|
+
const { startWebServer } = await import("./server-Y4HMP3OI.js");
|
|
32
32
|
return startWebServer({ open: true });
|
|
33
33
|
}
|
|
34
34
|
async function closeTuiWebServer() {
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
startWebFromTui,
|
|
49
49
|
closeTuiWebServer
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-GUM4JMVF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_LANGUAGE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36SYE7IU.js";
|
|
5
5
|
|
|
6
6
|
// src/i18n/locales/en.ts
|
|
7
7
|
var en = {
|
|
@@ -5423,4 +5423,4 @@ export {
|
|
|
5423
5423
|
localeCatalog,
|
|
5424
5424
|
translatePhrase
|
|
5425
5425
|
};
|
|
5426
|
-
//# sourceMappingURL=chunk-
|
|
5426
|
+
//# sourceMappingURL=chunk-KVMBCWLI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
PROVIDER_DEFS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36SYE7IU.js";
|
|
5
5
|
|
|
6
6
|
// src/core/model-catalog.ts
|
|
7
7
|
var PROVIDER_DEFAULT_MODEL = "";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
modelDisplayName,
|
|
28
28
|
modelSourceForProvider
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-TO32PH23.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
redactSecrets,
|
|
8
8
|
runDir,
|
|
9
9
|
withRunsLock
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-36SYE7IU.js";
|
|
11
11
|
|
|
12
12
|
// src/core/approvals.ts
|
|
13
13
|
import {
|
|
@@ -314,4 +314,4 @@ export {
|
|
|
314
314
|
attachAll,
|
|
315
315
|
REEVESAGENTS_VERSION
|
|
316
316
|
};
|
|
317
|
-
//# sourceMappingURL=chunk-
|
|
317
|
+
//# sourceMappingURL=chunk-VTLLF2Z4.js.map
|
package/dist/cli.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
writeTuiOpenToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5Q5XP5QI.js";
|
|
5
5
|
import {
|
|
6
6
|
MODEL_CATALOG
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TO32PH23.js";
|
|
8
8
|
import {
|
|
9
9
|
REEVESAGENTS_VERSION,
|
|
10
10
|
attach,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
hostStatus,
|
|
14
14
|
listRunApprovals,
|
|
15
15
|
resolveRunApproval
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VTLLF2Z4.js";
|
|
17
17
|
import {
|
|
18
18
|
ALLOWED_KEYS,
|
|
19
19
|
CONFIG_FIELDS,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
startRun,
|
|
49
49
|
startRunFromPreset,
|
|
50
50
|
stopRun
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-36SYE7IU.js";
|
|
52
52
|
import "./chunk-D24DQQ6V.js";
|
|
53
53
|
|
|
54
54
|
// src/cli.ts
|
|
@@ -656,7 +656,7 @@ program.command("web").description("start the on-demand loopback web UI for agen
|
|
|
656
656
|
});
|
|
657
657
|
program.command("mcp").description("start the agent control MCP server over stdio (for CLIs that have it attached)").action(async () => {
|
|
658
658
|
try {
|
|
659
|
-
const { startAgentMcpServer } = await import("./server-
|
|
659
|
+
const { startAgentMcpServer } = await import("./server-I2ROVLSH.js");
|
|
660
660
|
await startAgentMcpServer();
|
|
661
661
|
} catch (err) {
|
|
662
662
|
console.error(err instanceof Error ? err.message : String(err));
|
|
@@ -670,7 +670,7 @@ async function runWeb(opts) {
|
|
|
670
670
|
console.error(webExtrasMessage(extras.missing));
|
|
671
671
|
process.exit(1);
|
|
672
672
|
}
|
|
673
|
-
const { startWebServer } = await import("./server-
|
|
673
|
+
const { startWebServer } = await import("./server-Y4HMP3OI.js");
|
|
674
674
|
const parsed = opts.port ? Number.parseInt(opts.port, 10) : void 0;
|
|
675
675
|
const handle = await startWebServer({
|
|
676
676
|
port: parsed !== void 0 && Number.isFinite(parsed) ? parsed : void 0,
|
|
@@ -689,12 +689,12 @@ async function renderTui() {
|
|
|
689
689
|
const [{ default: React }, { render }, { Router }] = await Promise.all([
|
|
690
690
|
import("react"),
|
|
691
691
|
import("ink"),
|
|
692
|
-
import("./router-
|
|
692
|
+
import("./router-AOJOUKAY.js")
|
|
693
693
|
]);
|
|
694
694
|
try {
|
|
695
695
|
await render(React.createElement(Router), { alternateScreen: false }).waitUntilExit();
|
|
696
696
|
} finally {
|
|
697
|
-
const { closeTuiWebServer } = await import("./tui-launch-
|
|
697
|
+
const { closeTuiWebServer } = await import("./tui-launch-SJNFGH42.js");
|
|
698
698
|
await closeTuiWebServer();
|
|
699
699
|
}
|
|
700
700
|
process.exit(0);
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
modelDisplayName,
|
|
7
7
|
modelSourceForProvider,
|
|
8
8
|
modelValuesForProvider
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TO32PH23.js";
|
|
10
10
|
import {
|
|
11
11
|
BIN,
|
|
12
12
|
PROVIDERS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
startRun,
|
|
40
40
|
stateRoot,
|
|
41
41
|
stopRun
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-36SYE7IU.js";
|
|
43
43
|
import "./chunk-D24DQQ6V.js";
|
|
44
44
|
export {
|
|
45
45
|
BIN,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readTuiOpenToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5Q5XP5QI.js";
|
|
5
5
|
import {
|
|
6
6
|
translate,
|
|
7
7
|
translatePhrase
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KVMBCWLI.js";
|
|
9
9
|
import {
|
|
10
10
|
modelDisplayName,
|
|
11
11
|
modelValuesForProvider
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TO32PH23.js";
|
|
13
13
|
import {
|
|
14
14
|
REEVESAGENTS_VERSION,
|
|
15
15
|
attach,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
hostStatus,
|
|
19
19
|
listRunApprovals,
|
|
20
20
|
resolveRunApproval
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VTLLF2Z4.js";
|
|
22
22
|
import {
|
|
23
23
|
CONFIG_FIELDS,
|
|
24
24
|
DEFAULT_LANGUAGE,
|
|
@@ -52,6 +52,8 @@ import {
|
|
|
52
52
|
presetsDir,
|
|
53
53
|
providerColor,
|
|
54
54
|
providerDisplayName,
|
|
55
|
+
providerSupportsAuthMode,
|
|
56
|
+
providerSupportsEffort,
|
|
55
57
|
readRun,
|
|
56
58
|
runDoctor,
|
|
57
59
|
runHasLiveTmuxTarget,
|
|
@@ -66,11 +68,11 @@ import {
|
|
|
66
68
|
startRunFromPreset,
|
|
67
69
|
stateRoot,
|
|
68
70
|
stopRun
|
|
69
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-36SYE7IU.js";
|
|
70
72
|
import "./chunk-D24DQQ6V.js";
|
|
71
73
|
import {
|
|
72
74
|
startWebFromTui
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-GUM4JMVF.js";
|
|
74
76
|
|
|
75
77
|
// src/tui/router.tsx
|
|
76
78
|
import { createContext as createContext6, useContext as useContext6, useState as useState36, useCallback as useCallback5, useEffect as useEffect17, useRef as useRef4 } from "react";
|
|
@@ -3617,10 +3619,10 @@ function NewRunRoot() {
|
|
|
3617
3619
|
hint: state.root.permissions === "skip" ? "trusted workspaces only" : "provider asks before sensitive actions"
|
|
3618
3620
|
}
|
|
3619
3621
|
];
|
|
3620
|
-
if (state.root.provider
|
|
3622
|
+
if (providerSupportsAuthMode(state.root.provider)) {
|
|
3621
3623
|
list.push({ kind: "picker", id: "authMode", label: "Auth", current: state.root.authMode, values: AUTH_MODE_VALUES, display: authModeDisplay(state.root.authMode), hint: "api-key uses the API key instead of the default login" });
|
|
3622
3624
|
}
|
|
3623
|
-
if (state.root.provider
|
|
3625
|
+
if (providerSupportsEffort(state.root.provider)) {
|
|
3624
3626
|
list.push({ kind: "picker", id: "effort", label: "Effort", current: state.root.effort, values: EFFORT_VALUES });
|
|
3625
3627
|
}
|
|
3626
3628
|
return list;
|
|
@@ -4054,10 +4056,10 @@ function NewRunWorker() {
|
|
|
4054
4056
|
hint: worker.permissions === "skip" ? "trusted workspaces only" : "provider asks before sensitive actions"
|
|
4055
4057
|
}
|
|
4056
4058
|
];
|
|
4057
|
-
if (worker.provider
|
|
4059
|
+
if (providerSupportsAuthMode(worker.provider)) {
|
|
4058
4060
|
list.push({ kind: "picker", id: "authMode", label: "Auth", current: worker.authMode, values: AUTH_MODE_VALUES2, display: authModeDisplay2(worker.authMode), hint: "api-key uses the API key instead of the default login" });
|
|
4059
4061
|
}
|
|
4060
|
-
if (worker.provider
|
|
4062
|
+
if (providerSupportsEffort(worker.provider)) {
|
|
4061
4063
|
list.push({ kind: "picker", id: "effort", label: "Effort", current: worker.effort, values: EFFORT_VALUES2 });
|
|
4062
4064
|
}
|
|
4063
4065
|
return list;
|
|
@@ -4325,7 +4327,7 @@ function NewRunReview() {
|
|
|
4325
4327
|
}
|
|
4326
4328
|
});
|
|
4327
4329
|
const promptPreview = state.root.prompt.length > 40 ? state.root.prompt.slice(0, 40) + "..." : state.root.prompt;
|
|
4328
|
-
const showEffort = state.root.provider
|
|
4330
|
+
const showEffort = providerSupportsEffort(state.root.provider);
|
|
4329
4331
|
const permissionsSummary = showEffort ? `${permissionDisplay3(state.root.permissions)} \xB7 ${state.root.effort}` : permissionDisplay3(state.root.permissions);
|
|
4330
4332
|
return /* @__PURE__ */ jsxs31(
|
|
4331
4333
|
Frame,
|
|
@@ -4585,32 +4587,39 @@ function AddWorker() {
|
|
|
4585
4587
|
const bodyRows = frameBodyRows(termRows, true, false);
|
|
4586
4588
|
const compactBody = bodyRows <= 9;
|
|
4587
4589
|
const run = selectedRunId ? safeReadRun(selectedRunId) : null;
|
|
4588
|
-
const fields = useMemo7(() =>
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4590
|
+
const fields = useMemo7(() => {
|
|
4591
|
+
const list = [
|
|
4592
|
+
{ kind: "text", id: "nickname", label: "Nickname", value: draft.nickname, helpText: "tmux window name; letters, digits, dashes", required: true },
|
|
4593
|
+
{ kind: "picker", id: "provider", label: "Provider", current: draft.provider, values: PROVIDERS, display: providerDisplayName(draft.provider) },
|
|
4594
|
+
{
|
|
4595
|
+
kind: "picker",
|
|
4596
|
+
id: "model",
|
|
4597
|
+
label: "Model",
|
|
4598
|
+
current: draft.model,
|
|
4599
|
+
values: modelValuesForProvider(draft.provider),
|
|
4600
|
+
display: modelDisplayName(draft.model),
|
|
4601
|
+
hint: "optional \xB7 blank uses provider default"
|
|
4602
|
+
},
|
|
4603
|
+
{ kind: "text", id: "prompt", label: "Prompt", value: draft.prompt, helpText: "optional initial prompt \xB7 enter newline \xB7 esc done", required: false },
|
|
4604
|
+
{ kind: "text", id: "workingDir", label: "Working Dir", value: draft.workingDir, helpText: "defaults to the run working dir", required: false },
|
|
4605
|
+
{
|
|
4606
|
+
kind: "picker",
|
|
4607
|
+
id: "permissions",
|
|
4608
|
+
label: "Permissions",
|
|
4609
|
+
current: draft.permissions,
|
|
4610
|
+
values: PERMISSIONS_VALUES3,
|
|
4611
|
+
display: permissionDisplay4(draft.permissions),
|
|
4612
|
+
hint: draft.permissions === "skip" ? "trusted workspaces only" : "provider asks before sensitive actions"
|
|
4613
|
+
}
|
|
4614
|
+
];
|
|
4615
|
+
if (providerSupportsAuthMode(draft.provider)) {
|
|
4616
|
+
list.push({ kind: "picker", id: "authMode", label: "Auth", current: draft.authMode, values: AUTH_MODE_VALUES3, display: authModeDisplay3(draft.authMode), hint: "api-key uses the API key instead of the default login" });
|
|
4617
|
+
}
|
|
4618
|
+
if (providerSupportsEffort(draft.provider)) {
|
|
4619
|
+
list.push({ kind: "picker", id: "effort", label: "Effort", current: draft.effort, values: EFFORT_VALUES3 });
|
|
4620
|
+
}
|
|
4621
|
+
return list;
|
|
4622
|
+
}, [draft]);
|
|
4614
4623
|
const actions = [
|
|
4615
4624
|
{ id: "add", label: "Add Agent", hint: "add this agent to the run" },
|
|
4616
4625
|
{ id: "cancel", label: "Cancel", hint: "discard and return" }
|
|
@@ -6443,4 +6452,4 @@ export {
|
|
|
6443
6452
|
nextHistoryOnReset,
|
|
6444
6453
|
useRouter
|
|
6445
6454
|
};
|
|
6446
|
-
//# sourceMappingURL=router-
|
|
6455
|
+
//# sourceMappingURL=router-AOJOUKAY.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
listRunApprovals,
|
|
10
10
|
readRunApproval,
|
|
11
11
|
resolveRunApproval
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VTLLF2Z4.js";
|
|
13
13
|
import {
|
|
14
14
|
ALLOWED_KEYS,
|
|
15
15
|
BIN,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
startRunFromPreset,
|
|
43
43
|
startRunWithHead,
|
|
44
44
|
stopRun
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-36SYE7IU.js";
|
|
46
46
|
import "./chunk-D24DQQ6V.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/server.ts
|
|
@@ -156,7 +156,9 @@ function buildProviderCatalog() {
|
|
|
156
156
|
available: available[def.id],
|
|
157
157
|
aliases: [...def.aliases],
|
|
158
158
|
models: [...def.models],
|
|
159
|
-
model_source: def.modelSource
|
|
159
|
+
model_source: def.modelSource,
|
|
160
|
+
supports_auth_mode: def.supportsAuthMode === true,
|
|
161
|
+
supports_effort: def.supportsEffort === true
|
|
160
162
|
}));
|
|
161
163
|
}
|
|
162
164
|
function spawnHandler(a) {
|
|
@@ -619,4 +621,4 @@ export {
|
|
|
619
621
|
sessionRunIsLive,
|
|
620
622
|
startAgentMcpServer
|
|
621
623
|
};
|
|
622
|
-
//# sourceMappingURL=server-
|
|
624
|
+
//# sourceMappingURL=server-I2ROVLSH.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
localeCatalog,
|
|
4
4
|
translatePhrase
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KVMBCWLI.js";
|
|
6
6
|
import {
|
|
7
7
|
modelValuesForProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TO32PH23.js";
|
|
9
9
|
import {
|
|
10
10
|
REEVESAGENTS_VERSION,
|
|
11
11
|
attach,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
hostStatus,
|
|
15
15
|
listRunApprovals,
|
|
16
16
|
resolveRunApproval
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VTLLF2Z4.js";
|
|
18
18
|
import {
|
|
19
19
|
CONFIG_FIELDS,
|
|
20
20
|
LANGUAGE_OPTIONS,
|
|
@@ -37,6 +37,8 @@ import {
|
|
|
37
37
|
normalizeProvider,
|
|
38
38
|
providerColor,
|
|
39
39
|
providerDisplayName,
|
|
40
|
+
providerSupportsAuthMode,
|
|
41
|
+
providerSupportsEffort,
|
|
40
42
|
readRun,
|
|
41
43
|
runDoctor,
|
|
42
44
|
runHasLiveTmuxTarget,
|
|
@@ -46,7 +48,7 @@ import {
|
|
|
46
48
|
startRun,
|
|
47
49
|
startRunFromPreset,
|
|
48
50
|
stopRun
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-36SYE7IU.js";
|
|
50
52
|
import "./chunk-D24DQQ6V.js";
|
|
51
53
|
|
|
52
54
|
// src/web/server.ts
|
|
@@ -178,7 +180,9 @@ function listWebProviders() {
|
|
|
178
180
|
name: providerDisplayName(id),
|
|
179
181
|
available: available[id],
|
|
180
182
|
color: providerColor(id),
|
|
181
|
-
models: [...modelValuesForProvider(id)]
|
|
183
|
+
models: [...modelValuesForProvider(id)],
|
|
184
|
+
supportsAuthMode: providerSupportsAuthMode(id),
|
|
185
|
+
supportsEffort: providerSupportsEffort(id)
|
|
182
186
|
}));
|
|
183
187
|
}
|
|
184
188
|
|
|
@@ -1011,4 +1015,4 @@ async function startWebServer(options = {}) {
|
|
|
1011
1015
|
export {
|
|
1012
1016
|
startWebServer
|
|
1013
1017
|
};
|
|
1014
|
-
//# sourceMappingURL=server-
|
|
1018
|
+
//# sourceMappingURL=server-Y4HMP3OI.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
closeTuiWebServer,
|
|
4
4
|
startWebFromTui
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GUM4JMVF.js";
|
|
6
6
|
export {
|
|
7
7
|
closeTuiWebServer,
|
|
8
8
|
startWebFromTui
|
|
9
9
|
};
|
|
10
|
-
//# sourceMappingURL=tui-launch-
|
|
10
|
+
//# sourceMappingURL=tui-launch-SJNFGH42.js.map
|
package/dist/web/app.js
CHANGED
|
@@ -642,12 +642,13 @@
|
|
|
642
642
|
updateCreateSubmitState()
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
//
|
|
646
|
-
//
|
|
645
|
+
// Auth mode and reasoning effort apply only to providers whose launch command
|
|
646
|
+
// uses them; the flags come from the provider registry via /api/state. Hide the
|
|
647
|
+
// irrelevant knobs and reset them so a stale value is never submitted.
|
|
647
648
|
function updateLaunchKnobVisibility() {
|
|
648
|
-
const provider = el.fProvider.value
|
|
649
|
-
const showAuthMode = provider
|
|
650
|
-
const showEffort = provider
|
|
649
|
+
const provider = providerById(el.fProvider.value)
|
|
650
|
+
const showAuthMode = !!(provider && provider.supportsAuthMode)
|
|
651
|
+
const showEffort = !!(provider && provider.supportsEffort)
|
|
651
652
|
el.authModeField.hidden = !showAuthMode
|
|
652
653
|
el.effortField.hidden = !showEffort
|
|
653
654
|
if (!showAuthMode) el.fAuthMode.value = ''
|