@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 83 lines 2.2 KB
Raw
1 import type { ClaudeModelCatalog } from "./ClaudeModelCatalog.ts";
2
3 export const SYNTHETIC_CLAUDE_CAPABLE_MODEL = "claude-synthetic-capable";
4 export const SYNTHETIC_CLAUDE_COLLIDING_ALIAS = "synthetic-collision";
5 export const SYNTHETIC_CLAUDE_STANDARD_MODEL = "claude-synthetic-standard";
6 const SYNTHETIC_CLAUDE_THINKING_MODEL = "claude-synthetic-thinking";
7
8 const effort = {
9 id: "effort",
10 label: "Reasoning",
11 type: "select" as const,
12 options: [
13 { id: "low", label: "Low" },
14 { id: "high", label: "High", isDefault: true },
15 { id: "max", label: "Max" },
16 { id: "ultrathink", label: "Ultrathink" },
17 ],
18 promptInjectedValues: ["ultrathink"],
19 };
20
21 const contextWindow = {
22 id: "contextWindow",
23 label: "Context Window",
24 type: "select" as const,
25 options: [
26 { id: "standard", label: "Standard" },
27 { id: "expanded", label: "Expanded", isDefault: true },
28 ],
29 };
30
31 const runtime = {
32 effortMap: { ultrathink: null },
33 modelSuffixes: { contextWindow: { expanded: "[expanded]" } },
34 contextWindowTokens: { standard: 200_000, expanded: 1_000_000 },
35 };
36
37 export const SYNTHETIC_CLAUDE_MODEL_CATALOG: ClaudeModelCatalog = {
38 models: [
39 {
40 model: {
41 slug: SYNTHETIC_CLAUDE_CAPABLE_MODEL,
42 name: "Claude Synthetic Capable",
43 aliases: [SYNTHETIC_CLAUDE_COLLIDING_ALIAS],
44 isCustom: false,
45 capabilities: {
46 optionDescriptors: [
47 effort,
48 { id: "fastMode", label: "Fast Mode", type: "boolean" },
49 contextWindow,
50 ],
51 },
52 },
53 runtime,
54 compatibility: {},
55 },
56 {
57 model: {
58 slug: SYNTHETIC_CLAUDE_STANDARD_MODEL,
59 name: "Claude Synthetic Standard",
60 isCustom: false,
61 capabilities: {
62 optionDescriptors: [effort, contextWindow],
63 },
64 },
65 runtime,
66 compatibility: {},
67 },
68 {
69 model: {
70 slug: SYNTHETIC_CLAUDE_THINKING_MODEL,
71 name: "Claude Synthetic Thinking",
72 isCustom: false,
73 capabilities: {
74 optionDescriptors: [
75 { id: "thinking", label: "Thinking", type: "boolean", currentValue: true },
76 ],
77 },
78 },
79 runtime: {},
80 compatibility: {},
81 },
82 ],
83 };