feat(web): per-thread/per-spoon runtime picker and Anthropic OAuth provider profile

This commit is contained in:
Gabriel Brown committed 2026-07-11 11:20:33 -04:00
1 parent 6ec2e51312
commit 702e53a4ba
4 files changed
+190 -36

No files matched your search

@@ -13,7 +13,11 @@ const reasoningEffort = v.union(
v.literal('xhigh'),
);
const runtime = v.literal('opencode');
const runtime = v.union(
v.literal('codex'),
v.literal('opencode'),
v.literal('claude'),
);
const envFilePath = v.union(
v.literal('.env'),
@@ -123,7 +127,7 @@ export const update = mutation({
patch.testCommand = optionalText(args.testCommand);
}
if (args.runtime !== undefined) {
patch.runtime = 'opencode';
patch.runtime = args.runtime;
}
if (args.agentModel !== undefined) {
patch.agentModel = optionalText(args.agentModel) ?? defaults.agentModel;