@getpaseo/server 0.1.92 → 0.1.93
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.
|
@@ -15,6 +15,13 @@ const CLAUDE_OPUS_EXTENDED_THINKING_OPTIONS = [
|
|
|
15
15
|
{ id: "max", label: "Max" },
|
|
16
16
|
];
|
|
17
17
|
const CLAUDE_MODELS = [
|
|
18
|
+
{
|
|
19
|
+
provider: "claude",
|
|
20
|
+
id: "claude-fable-5",
|
|
21
|
+
label: "Fable 5",
|
|
22
|
+
description: "Fable 5 · Most powerful model",
|
|
23
|
+
thinkingOptions: [...CLAUDE_OPUS_EXTENDED_THINKING_OPTIONS],
|
|
24
|
+
},
|
|
18
25
|
{
|
|
19
26
|
provider: "claude",
|
|
20
27
|
id: "claude-opus-4-8[1m]",
|
|
@@ -170,6 +177,14 @@ export function normalizeClaudeRuntimeModelId(value) {
|
|
|
170
177
|
if (CLAUDE_MODELS.some((model) => model.id === trimmed)) {
|
|
171
178
|
return trimmed;
|
|
172
179
|
}
|
|
180
|
+
// Fable uses a single-segment version (claude-fable-5), not the {major}-{minor}
|
|
181
|
+
// scheme of opus/sonnet/haiku, so match it separately. This maps dated runtime
|
|
182
|
+
// strings (e.g. claude-fable-5-20260301) back to the catalog ID. No [1m] variant:
|
|
183
|
+
// Fable 5 is natively 1M, so there is no 200K-default model to opt into 1M.
|
|
184
|
+
const fableMatch = trimmed.match(/(?:claude-)?fable[-_ ]+(\d+)/i);
|
|
185
|
+
if (fableMatch) {
|
|
186
|
+
return `claude-fable-${fableMatch[1]}`;
|
|
187
|
+
}
|
|
173
188
|
// Match: claude-{family}-{major}-{minor}[1m]? possibly followed by a date suffix
|
|
174
189
|
const runtimeMatch = trimmed.match(/(?:claude-)?(opus|sonnet|haiku)[-_ ]+(\d+)[-.](\d+)(\[1m\])?/i);
|
|
175
190
|
if (!runtimeMatch) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpaseo/server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.93",
|
|
4
4
|
"description": "Paseo backend server",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/server",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@agentclientprotocol/sdk": "^0.17.1",
|
|
61
61
|
"@anthropic-ai/claude-agent-sdk": "^0.2.133",
|
|
62
|
-
"@getpaseo/client": "0.1.
|
|
63
|
-
"@getpaseo/highlight": "0.1.
|
|
64
|
-
"@getpaseo/protocol": "0.1.
|
|
65
|
-
"@getpaseo/relay": "0.1.
|
|
62
|
+
"@getpaseo/client": "0.1.93",
|
|
63
|
+
"@getpaseo/highlight": "0.1.93",
|
|
64
|
+
"@getpaseo/protocol": "0.1.93",
|
|
65
|
+
"@getpaseo/relay": "0.1.93",
|
|
66
66
|
"@isaacs/ttlcache": "^2.1.4",
|
|
67
67
|
"@modelcontextprotocol/sdk": "^1.20.1",
|
|
68
68
|
"@opencode-ai/sdk": "1.14.46",
|