cabletidy 0.1.0 → 0.2.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/README.md +94 -10
- package/package.json +6 -1
- package/src/claude-config-file.mjs +172 -0
- package/src/cli.mjs +6 -1
- package/src/codex-catalog.mjs +13 -4
- package/src/config.mjs +44 -64
- package/src/instance-lock.mjs +129 -0
- package/src/model-resolver.mjs +6 -8
- package/src/process-identity.mjs +72 -0
- package/src/server.mjs +142 -76
- package/src/target-artifacts.mjs +40 -3
- package/src/validation.mjs +26 -20
- package/src/windows-codex.ps1 +90 -0
- package/web/app.js +310 -170
- package/web/claude-models.js +39 -0
- package/web/styles.css +0 -56
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Reviewed against Anthropic's public docs; update this snapshot with releases.
|
|
2
|
+
// Suggestions only: never use this catalog to validate or route model requests.
|
|
3
|
+
export const CLAUDE_MODEL_CATALOG = {
|
|
4
|
+
updatedAt: "2026-09-23",
|
|
5
|
+
sources: [
|
|
6
|
+
"https://platform.claude.com/docs/en/about-claude/models/overview",
|
|
7
|
+
"https://platform.claude.com/docs/en/about-claude/models/model-ids-and-versions",
|
|
8
|
+
"https://platform.claude.com/docs/en/models/opus-4-5/overview",
|
|
9
|
+
"https://platform.claude.com/docs/en/models/sonnet-4-5/overview",
|
|
10
|
+
"https://code.claude.com/docs/en/model-config",
|
|
11
|
+
],
|
|
12
|
+
models: [
|
|
13
|
+
"claude-opus-5-5",
|
|
14
|
+
"claude-opus-5",
|
|
15
|
+
"claude-opus-4-8",
|
|
16
|
+
"claude-opus-4-7",
|
|
17
|
+
"claude-opus-4-6",
|
|
18
|
+
"claude-opus-4-5-20251101",
|
|
19
|
+
"claude-opus-4-5",
|
|
20
|
+
"claude-sonnet-5",
|
|
21
|
+
"claude-sonnet-4-6",
|
|
22
|
+
"claude-sonnet-4-5-20250929",
|
|
23
|
+
"claude-sonnet-4-5",
|
|
24
|
+
"claude-fable-5-1",
|
|
25
|
+
"claude-fable-5",
|
|
26
|
+
"claude-haiku-4-5-20251001",
|
|
27
|
+
"claude-haiku-4-5",
|
|
28
|
+
],
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
// Reviewed 2026-09-24. Keep startup modes separate from documented subagent aliases.
|
|
32
|
+
// https://code.claude.com/docs/en/model-config#model-aliases
|
|
33
|
+
// https://code.claude.com/docs/en/model-config#opusplan-model-setting
|
|
34
|
+
// https://code.claude.com/docs/en/sub-agents#choose-a-model
|
|
35
|
+
// `default` is a reset, and subagent `inherit` equals unset; the UI uses an empty value.
|
|
36
|
+
export const CLAUDE_MODEL_ALIASES = {
|
|
37
|
+
defaultModel: ["best", "opus", "sonnet", "fable", "haiku", "opusplan"],
|
|
38
|
+
subagent: ["opus", "sonnet", "fable", "haiku"],
|
|
39
|
+
};
|
package/web/styles.css
CHANGED
|
@@ -782,28 +782,6 @@ button.list-row:hover,
|
|
|
782
782
|
accent-color: var(--accent);
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
.static-field {
|
|
786
|
-
display: grid;
|
|
787
|
-
align-content: center;
|
|
788
|
-
gap: 3px;
|
|
789
|
-
min-height: 40px;
|
|
790
|
-
padding: 0 11px;
|
|
791
|
-
border: 1px solid var(--line);
|
|
792
|
-
background: var(--rail);
|
|
793
|
-
font-size: 12px;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
.static-field strong {
|
|
797
|
-
font-size: 12px;
|
|
798
|
-
font-weight: 650;
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
.static-field span {
|
|
802
|
-
color: var(--muted);
|
|
803
|
-
font-family: "SFMono-Regular", "Cascadia Code", monospace;
|
|
804
|
-
font-size: 10px;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
785
|
.field-hint {
|
|
808
786
|
line-height: 1.45;
|
|
809
787
|
}
|
|
@@ -829,36 +807,6 @@ button.list-row:hover,
|
|
|
829
807
|
padding-left: 20px;
|
|
830
808
|
}
|
|
831
809
|
|
|
832
|
-
.mapping-list {
|
|
833
|
-
display: grid;
|
|
834
|
-
gap: 10px;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
.mapping-row {
|
|
838
|
-
display: grid;
|
|
839
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
|
|
840
|
-
gap: 8px;
|
|
841
|
-
align-items: end;
|
|
842
|
-
padding: 12px;
|
|
843
|
-
border: 1px solid var(--line);
|
|
844
|
-
background: #fff;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.mapping-row input {
|
|
848
|
-
width: 100%;
|
|
849
|
-
min-height: 36px;
|
|
850
|
-
padding: 0 9px;
|
|
851
|
-
border: 1px solid var(--line-strong);
|
|
852
|
-
border-radius: var(--radius);
|
|
853
|
-
color: var(--ink);
|
|
854
|
-
background: var(--panel);
|
|
855
|
-
font-size: 12px;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
.mapping-row .mapping-capabilities {
|
|
859
|
-
margin-top: 7px;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
810
|
.subsection {
|
|
863
811
|
margin-top: 22px;
|
|
864
812
|
padding-top: 18px;
|
|
@@ -1155,10 +1103,6 @@ button.list-row:hover,
|
|
|
1155
1103
|
grid-column: auto;
|
|
1156
1104
|
}
|
|
1157
1105
|
|
|
1158
|
-
.mapping-row {
|
|
1159
|
-
grid-template-columns: 1fr;
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
1106
|
.list-row {
|
|
1163
1107
|
grid-template-columns: minmax(0, 1fr);
|
|
1164
1108
|
gap: 8px;
|