@oh-my-pi/pi-catalog 18.4.4 → 18.4.5
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 +20 -0
- package/dist/types/compat/auth-ids.d.ts +2 -2
- package/dist/types/compat/axes.d.ts +3 -1
- package/dist/types/compat/factory-droid.d.ts +65 -0
- package/dist/types/compat/provider-ids.d.ts +1 -1
- package/dist/types/compat/resolve.d.ts +8 -2
- package/dist/types/compat/types.d.ts +26 -1
- package/dist/types/discovery/cursor-proto.d.ts +284 -0
- package/dist/types/discovery/cursor.d.ts +12 -6
- package/dist/types/discovery/factory-droid.d.ts +28 -0
- package/dist/types/discovery/index.d.ts +1 -0
- package/dist/types/discovery/protobuf.d.ts +3 -3
- package/dist/types/model-manager.d.ts +10 -0
- package/dist/types/models.d.ts +5 -1
- package/dist/types/provider-models/cache-provider-id.d.ts +2 -1
- package/dist/types/provider-models/descriptor-types.d.ts +2 -1
- package/dist/types/provider-models/openai-compat.d.ts +21 -0
- package/dist/types/provider-models/special.d.ts +2 -0
- package/dist/types/types.d.ts +87 -3
- package/dist/types/wire/cursor.d.ts +20 -0
- package/dist/types/wire/factory-droid.d.ts +45 -0
- package/package.json +4 -4
- package/src/build.ts +19 -0
- package/src/compat/auth-ids.ts +4 -0
- package/src/compat/axes.ts +112 -1
- package/src/compat/cascade.ts +8 -1
- package/src/compat/collapse.ts +3 -0
- package/src/compat/factory-droid.ts +170 -0
- package/src/compat/provider-ids.ts +2 -0
- package/src/compat/resolve.ts +46 -5
- package/src/compat/rules/README.md +15 -7
- package/src/compat/rules/auth/_order.kdl +2 -2
- package/src/compat/rules/auth/factory-droid.kdl +28 -0
- package/src/compat/rules/auth/helmcode.kdl +9 -0
- package/src/compat/rules/classes/anthropic.kdl +9 -1
- package/src/compat/rules/providers/cursor.kdl +29 -17
- package/src/compat/rules/providers/factory-droid.kdl +1166 -0
- package/src/compat/rules/providers/helmcode.kdl +120 -0
- package/src/compat/rules/runtime/behavior.kdl +44 -0
- package/src/compat/rules/taxonomy/_collapse.kdl +36 -14
- package/src/compat/rules.json +1 -1
- package/src/compat/types.ts +27 -1
- package/src/discovery/cursor-models.proto +261 -0
- package/src/discovery/cursor-proto.ts +471 -0
- package/src/discovery/cursor.ts +817 -88
- package/src/discovery/devin.ts +1 -3
- package/src/discovery/factory-droid.ts +296 -0
- package/src/discovery/index.ts +1 -0
- package/src/discovery/protobuf.ts +16 -7
- package/src/model-manager.ts +13 -0
- package/src/models.json +1 -1
- package/src/models.ts +13 -0
- package/src/provider-models/cache-provider-id.ts +37 -6
- package/src/provider-models/descriptor-types.ts +2 -1
- package/src/provider-models/descriptors.ts +4 -0
- package/src/provider-models/openai-compat.ts +83 -17
- package/src/provider-models/special.ts +26 -2
- package/src/types.ts +99 -1
- package/src/wire/cursor.ts +32 -0
- package/src/wire/factory-droid.ts +130 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
auth "factory-droid" {
|
|
2
|
+
name "Factory Droid"
|
|
3
|
+
org-scoped-identity #true
|
|
4
|
+
// WorkOS public client: the access token authorizes the Factory LLM proxy.
|
|
5
|
+
login "device-code" {
|
|
6
|
+
client-id "client_01HNM792M5G5G1A2THWPXKFMXB"
|
|
7
|
+
device url="https://api.workos.com/user_management/authorize/device" timeout-ms=15000 {
|
|
8
|
+
headers { Accept "application/json" }
|
|
9
|
+
}
|
|
10
|
+
token url="https://api.workos.com/user_management/authenticate" timeout-ms=15000 {
|
|
11
|
+
headers { Accept "application/json" }
|
|
12
|
+
}
|
|
13
|
+
credential {
|
|
14
|
+
expires "jwt" skew-ms=0 fallback-ms=86400000
|
|
15
|
+
email "user.email" claim="email"
|
|
16
|
+
account-id "user.id" claim="sub"
|
|
17
|
+
// WorkOS organization_id is internal; only this claim can be used as X-Factory-Org-Id.
|
|
18
|
+
org-id claim="external_org_id"
|
|
19
|
+
}
|
|
20
|
+
after-exchange hook="factory-droid-region"
|
|
21
|
+
}
|
|
22
|
+
refresh {
|
|
23
|
+
token url="https://api.workos.com/user_management/authenticate" timeout-ms=15000 {
|
|
24
|
+
headers { Accept "application/json" }
|
|
25
|
+
}
|
|
26
|
+
after-refresh hook="factory-droid-region"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
auth "helmcode" {
|
|
2
|
+
name "Helmcode"
|
|
3
|
+
login "api-key" {
|
|
4
|
+
auth-url "https://cloud.helmcode.com"
|
|
5
|
+
instructions "Copy your API key from the Helmcode dashboard"
|
|
6
|
+
prompt "Paste your Helmcode API key" placeholder="sk-..."
|
|
7
|
+
validate "models-endpoint" label="Helmcode" url="https://api.helmcode.com/v1/models"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -108,7 +108,6 @@ class "anthropic" {
|
|
|
108
108
|
supports-mid-conversation-tool-changes #true
|
|
109
109
|
supports-turn-scoped-system #true
|
|
110
110
|
supports-per-message-effort #true
|
|
111
|
-
supports-thinking-binding-controls #true
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
family "opus" {
|
|
@@ -122,6 +121,15 @@ class "anthropic" {
|
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
123
|
}
|
|
124
|
+
// Vertex rejects `thinking.block_binding` on Sonnet 5.5 with 400
|
|
125
|
+
// `thinking.adaptive.block_binding: Extra inputs are not permitted`.
|
|
126
|
+
on "anthropic" "cloudflare-ai-gateway" {
|
|
127
|
+
family "sonnet" {
|
|
128
|
+
revision ">=5.5" {
|
|
129
|
+
supports-thinking-binding-controls #true
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
125
133
|
on "aimlapi" "gitlab-duo" "kilo" "nanogpt" "venice" {
|
|
126
134
|
thinking-efforts "minimal" "low" "medium" "high" "xhigh"
|
|
127
135
|
}
|
|
@@ -8,6 +8,11 @@ provider "cursor" {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
thinking-mode "effort"
|
|
11
|
+
// Cursor's default route selects a differently priced backing model per request.
|
|
12
|
+
models "default" {
|
|
13
|
+
pricing-status "variable"
|
|
14
|
+
}
|
|
15
|
+
|
|
11
16
|
class "anthropic" {
|
|
12
17
|
family "fable" {
|
|
13
18
|
requires-cursor-tool-schema-projection #true
|
|
@@ -211,9 +216,10 @@ provider "cursor" {
|
|
|
211
216
|
}
|
|
212
217
|
}
|
|
213
218
|
// Claude Opus 5 Fast: the docs name the fast wire ids but publish no
|
|
214
|
-
// fast
|
|
219
|
+
// fast rate. Discovery applies AvailableModels' declared fast multiplier
|
|
220
|
+
// (2x); the base card only seeds rows discovery left unpriced.
|
|
215
221
|
models "claude-opus-5-high-fast" "claude-opus-5-low-fast" "claude-opus-5-medium-fast" "claude-opus-5-thinking-max-fast" "claude-opus-5-thinking-xhigh-fast" {
|
|
216
|
-
cost-
|
|
222
|
+
cost-fallback {
|
|
217
223
|
input 5.0
|
|
218
224
|
output 25.0
|
|
219
225
|
cache-read 0.5
|
|
@@ -231,9 +237,10 @@ provider "cursor" {
|
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
// Claude Opus 5.5 Fast: the docs name the fast wire id but publish no
|
|
234
|
-
// fast
|
|
240
|
+
// fast rate. Discovery prices it from AvailableModels' declared fast
|
|
241
|
+
// multiplier; the base card only seeds rows discovery left unpriced.
|
|
235
242
|
models "claude-opus-5-5-fast" {
|
|
236
|
-
cost-
|
|
243
|
+
cost-fallback {
|
|
237
244
|
input 4.0
|
|
238
245
|
output 20.0
|
|
239
246
|
cache-read 0.2
|
|
@@ -267,8 +274,9 @@ provider "cursor" {
|
|
|
267
274
|
cache-write 0
|
|
268
275
|
}
|
|
269
276
|
}
|
|
270
|
-
// Grok 4.5: $2/$6, cache read $0.50, no write fee.
|
|
271
|
-
|
|
277
|
+
// Grok 4.5: $2/$6, cache read $0.50, no write fee. Legacy id plus the
|
|
278
|
+
// per-effort wire slugs AvailableModels serves.
|
|
279
|
+
models "cursor-grok-4.5" "cursor-grok-4.5-low" "cursor-grok-4.5-medium" "cursor-grok-4.5-high" {
|
|
272
280
|
cost-patch {
|
|
273
281
|
input 2.0
|
|
274
282
|
output 6.0
|
|
@@ -277,7 +285,7 @@ provider "cursor" {
|
|
|
277
285
|
}
|
|
278
286
|
}
|
|
279
287
|
// Grok 4.5 Fast: $4/$18, cache read $1.00. Output is 3x base per docs.
|
|
280
|
-
models "cursor-grok-4.5-fast" {
|
|
288
|
+
models "cursor-grok-4.5-fast" "cursor-grok-4.5-low-fast" "cursor-grok-4.5-medium-fast" "cursor-grok-4.5-high-fast" {
|
|
281
289
|
cost-patch {
|
|
282
290
|
input 4.0
|
|
283
291
|
output 18.0
|
|
@@ -285,8 +293,9 @@ provider "cursor" {
|
|
|
285
293
|
cache-write 0
|
|
286
294
|
}
|
|
287
295
|
}
|
|
288
|
-
// Grok 4.6: $2/$6, cache read $0.50, no write fee.
|
|
289
|
-
|
|
296
|
+
// Grok 4.6: $2/$6, cache read $0.50, no write fee. Legacy id plus the
|
|
297
|
+
// per-effort wire slugs AvailableModels serves.
|
|
298
|
+
models "cursor-grok-4.6" "cursor-grok-4.6-low" "cursor-grok-4.6-medium" "cursor-grok-4.6-high" "cursor-grok-4.6-xhigh" {
|
|
290
299
|
cost-patch {
|
|
291
300
|
input 2.0
|
|
292
301
|
output 6.0
|
|
@@ -295,7 +304,8 @@ provider "cursor" {
|
|
|
295
304
|
}
|
|
296
305
|
}
|
|
297
306
|
// Grok 4.6 Fast: $4/$12, cache read $1.00.
|
|
298
|
-
models "cursor-grok-4.6-fast"
|
|
307
|
+
models "cursor-grok-4.6-fast" "cursor-grok-4.6-low-fast" "cursor-grok-4.6-medium-fast" "cursor-grok-4.6-high-fast" \
|
|
308
|
+
"cursor-grok-4.6-xhigh-fast" {
|
|
299
309
|
cost-patch {
|
|
300
310
|
input 4.0
|
|
301
311
|
output 12.0
|
|
@@ -448,10 +458,10 @@ provider "cursor" {
|
|
|
448
458
|
cache-write 0
|
|
449
459
|
}
|
|
450
460
|
}
|
|
451
|
-
// GPT-5.2 Fast: the docs publish no fast
|
|
452
|
-
// the base
|
|
461
|
+
// GPT-5.2 Fast: the docs publish no fast rate. Discovery applies the
|
|
462
|
+
// declared fast multiplier; the base card only seeds unpriced rows.
|
|
453
463
|
models "gpt-5.2-fast" "gpt-5.2-high-fast" "gpt-5.2-low-fast" "gpt-5.2-xhigh-fast" {
|
|
454
|
-
cost-
|
|
464
|
+
cost-fallback {
|
|
455
465
|
input 1.75
|
|
456
466
|
output 14.0
|
|
457
467
|
cache-read 0.175
|
|
@@ -486,9 +496,10 @@ provider "cursor" {
|
|
|
486
496
|
cache-write 0
|
|
487
497
|
}
|
|
488
498
|
}
|
|
489
|
-
// GPT-5.3 Codex Fast: no fast
|
|
499
|
+
// GPT-5.3 Codex Fast: no fast rate published; discovery applies the
|
|
500
|
+
// declared multiplier, and the base card only seeds unpriced rows.
|
|
490
501
|
models "gpt-5.3-codex-fast" "gpt-5.3-codex-high-fast" "gpt-5.3-codex-low-fast" "gpt-5.3-codex-xhigh-fast" {
|
|
491
|
-
cost-
|
|
502
|
+
cost-fallback {
|
|
492
503
|
input 1.75
|
|
493
504
|
output 14.0
|
|
494
505
|
cache-read 0.175
|
|
@@ -543,9 +554,10 @@ provider "cursor" {
|
|
|
543
554
|
cache-write 0
|
|
544
555
|
}
|
|
545
556
|
}
|
|
546
|
-
// GPT-5.5 Fast:
|
|
557
|
+
// GPT-5.5 Fast: fast rates are unpublished; discovery applies the declared
|
|
558
|
+
// multiplier, and the base card only seeds unpriced rows.
|
|
547
559
|
models "gpt-5.5-fast" {
|
|
548
|
-
cost-
|
|
560
|
+
cost-fallback {
|
|
549
561
|
input 5.0
|
|
550
562
|
output 30.0
|
|
551
563
|
cache-read 0.5
|