@oh-my-pi/pi-catalog 18.14.0 → 18.14.2
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 +22 -0
- package/dist/types/discovery/cursor-proto.d.ts +8 -0
- package/dist/types/model-manager.d.ts +11 -1
- package/dist/types/model-thinking.d.ts +4 -0
- package/dist/types/types.d.ts +3 -14
- package/package.json +4 -4
- package/src/compat/axes.ts +16 -7
- package/src/compat/resolve.ts +0 -3
- package/src/compat/rules/README.md +1 -1
- package/src/compat/rules/classes/anthropic.kdl +5 -0
- package/src/compat/rules/classes/deepseek.kdl +1 -1
- package/src/compat/rules/classes/gemini.kdl +1 -1
- package/src/compat/rules/classes/xai.kdl +1 -1
- package/src/compat/rules/providers/anthropic.kdl +8 -4
- package/src/compat/rules/providers/cursor.kdl +10 -0
- package/src/compat/rules/providers/deepseek.kdl +2 -2
- package/src/compat/rules/providers/openai-codex.kdl +1 -1
- package/src/compat/rules.json +1 -1
- package/src/discovery/cursor-proto.ts +12 -1
- package/src/model-manager.ts +58 -22
- package/src/model-thinking.ts +10 -0
- package/src/models.json +1 -1
- package/src/types.ts +0 -14
package/src/types.ts
CHANGED
|
@@ -598,8 +598,6 @@ export interface OpenAICompat {
|
|
|
598
598
|
clampOutputToModelMax?: boolean;
|
|
599
599
|
/** Strip image inputs before encoding (text-only serving of a multimodal id). */
|
|
600
600
|
stripImageInput?: boolean;
|
|
601
|
-
/** Thinking-loop watchdog guard family applied to streamed reasoning. */
|
|
602
|
-
thinkingLoopGuard?: "gemini" | "deepseek" | "xai";
|
|
603
601
|
}
|
|
604
602
|
|
|
605
603
|
/**
|
|
@@ -798,8 +796,6 @@ export interface AnthropicCompat {
|
|
|
798
796
|
* contract override it. Default: 10485760.
|
|
799
797
|
*/
|
|
800
798
|
maxImagePayloadBytes?: number;
|
|
801
|
-
/** Thinking-loop watchdog guard family applied to streamed reasoning. */
|
|
802
|
-
thinkingLoopGuard?: "gemini" | "deepseek" | "xai";
|
|
803
799
|
/**
|
|
804
800
|
* Drop the enabled `thinking` config and replayed thinking blocks when the
|
|
805
801
|
* conversation is not thinking-led (a proxy contract for non-interleaved
|
|
@@ -1015,8 +1011,6 @@ export interface ResolvedOpenAISharedCompat {
|
|
|
1015
1011
|
toolSchemaFlavor?: OpenAICompat["toolSchemaFlavor"];
|
|
1016
1012
|
/** Strip image inputs before encoding (text-only serving of a multimodal id). */
|
|
1017
1013
|
stripImageInput: boolean;
|
|
1018
|
-
/** Thinking-loop watchdog guard family applied to streamed reasoning. */
|
|
1019
|
-
thinkingLoopGuard?: OpenAICompat["thinkingLoopGuard"];
|
|
1020
1014
|
/** Flatten/reject leftover root `anyOf`/`oneOf` unions in strict tool schemas (xAI's function-calling validator 400s on them). */
|
|
1021
1015
|
rejectRootObjectUnion: boolean;
|
|
1022
1016
|
/** Retry without strict tools when the host rejects a strict grammar as too large (OpenRouter-Anthropic compiled-grammar overflow). */
|
|
@@ -1099,7 +1093,6 @@ export type ResolvedOpenAICompat = ResolvedOpenAISharedCompat &
|
|
|
1099
1093
|
| "supportsConfigurationUpdate"
|
|
1100
1094
|
| "supportsSteering"
|
|
1101
1095
|
| "stripImageInput"
|
|
1102
|
-
| "thinkingLoopGuard"
|
|
1103
1096
|
| "whenThinking"
|
|
1104
1097
|
>
|
|
1105
1098
|
> & {
|
|
@@ -1201,7 +1194,6 @@ export type ResolvedAnthropicCompat = Required<
|
|
|
1201
1194
|
Omit<
|
|
1202
1195
|
AnthropicCompat,
|
|
1203
1196
|
| "streamIdleTimeoutMs"
|
|
1204
|
-
| "thinkingLoopGuard"
|
|
1205
1197
|
| "bedrockMessagesApi"
|
|
1206
1198
|
| "effortBeta"
|
|
1207
1199
|
| "extendedCacheTtlBeta"
|
|
@@ -1236,8 +1228,6 @@ export type ResolvedAnthropicCompat = Required<
|
|
|
1236
1228
|
* request builder.
|
|
1237
1229
|
*/
|
|
1238
1230
|
maxImagePayloadBytes?: number;
|
|
1239
|
-
/** Thinking-loop watchdog guard family applied to streamed reasoning. */
|
|
1240
|
-
thinkingLoopGuard?: AnthropicCompat["thinkingLoopGuard"];
|
|
1241
1231
|
/**
|
|
1242
1232
|
* Bedrock's Anthropic Messages API (see {@link AnthropicCompat.bedrockMessagesApi}).
|
|
1243
1233
|
* `true` when detected or configured; otherwise unset, so rows baked before
|
|
@@ -1339,8 +1329,6 @@ export interface GoogleCompat {
|
|
|
1339
1329
|
* {@link AnthropicCompat.maxImagePayloadBytes}).
|
|
1340
1330
|
*/
|
|
1341
1331
|
maxImagePayloadBytes?: number;
|
|
1342
|
-
/** Thinking-loop watchdog guard family applied to streamed reasoning. */
|
|
1343
|
-
thinkingLoopGuard?: "gemini" | "deepseek" | "xai";
|
|
1344
1332
|
/** See {@link BedrockCompat.supportsSamplingParams}. */
|
|
1345
1333
|
supportsSamplingParams?: boolean;
|
|
1346
1334
|
}
|
|
@@ -1351,7 +1339,6 @@ export type ResolvedGoogleCompat = Required<
|
|
|
1351
1339
|
GoogleCompat,
|
|
1352
1340
|
| "streamFirstEventTimeoutMs"
|
|
1353
1341
|
| "streamIdleTimeoutMs"
|
|
1354
|
-
| "thinkingLoopGuard"
|
|
1355
1342
|
| "antigravityUsageLabel"
|
|
1356
1343
|
| "supportsSamplingParams"
|
|
1357
1344
|
| "maxImageDimension"
|
|
@@ -1360,7 +1347,6 @@ export type ResolvedGoogleCompat = Required<
|
|
|
1360
1347
|
> & {
|
|
1361
1348
|
streamFirstEventTimeoutMs?: number;
|
|
1362
1349
|
streamIdleTimeoutMs?: number;
|
|
1363
|
-
thinkingLoopGuard?: GoogleCompat["thinkingLoopGuard"];
|
|
1364
1350
|
antigravityUsageLabel?: string;
|
|
1365
1351
|
supportsSamplingParams?: boolean;
|
|
1366
1352
|
maxImageDimension?: number;
|