@oh-my-pi/pi-catalog 18.3.5 → 18.4.1
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/build.d.ts +2 -2
- package/dist/types/compat/resolve.d.ts +6 -0
- package/dist/types/compat/types.d.ts +2 -0
- package/dist/types/discovery/cursor-proto.d.ts +5 -0
- package/dist/types/wire/devin.d.ts +15 -4
- package/package.json +4 -4
- package/src/build.ts +10 -2
- package/src/compat/axes.ts +10 -0
- package/src/compat/behavior.ts +1 -1
- package/src/compat/catalog-policy.ts +2 -2
- package/src/compat/context-window.ts +3 -3
- package/src/compat/resolve.ts +9 -0
- package/src/compat/rules/providers/amazon-bedrock.kdl +16 -5
- package/src/compat/rules/providers/cerebras.kdl +3 -0
- package/src/compat/rules/providers/cursor.kdl +593 -2
- package/src/compat/rules/providers/github-copilot.kdl +14 -0
- package/src/compat/rules/runtime/behavior.kdl +8 -0
- package/src/compat/rules/taxonomy/xai.kdl +4 -2
- package/src/compat/rules.json +1 -1
- package/src/compat/types.ts +2 -0
- package/src/discovery/cursor-proto.ts +10 -0
- package/src/models.json +1 -1
- package/src/wire/devin.ts +13 -9
package/src/compat/types.ts
CHANGED
|
@@ -270,6 +270,8 @@ export interface CompiledCursorParameter {
|
|
|
270
270
|
/** One provider quota-scope table. */
|
|
271
271
|
export interface CompiledQuotaRule {
|
|
272
272
|
provider: string;
|
|
273
|
+
/** Tier used when no exact or fallback membership matches. */
|
|
274
|
+
defaultTier?: string;
|
|
273
275
|
tiers: { label: string; models: string[] }[];
|
|
274
276
|
fallbacks: { label: string; substring: string }[];
|
|
275
277
|
}
|
|
@@ -7837,9 +7837,19 @@ export const TruncatedToolCallSuccessSchema: MessageCodec<TruncatedToolCallSucce
|
|
|
7837
7837
|
|
|
7838
7838
|
/** Cursor agent message agent.v1.TurnEndedUpdate. */
|
|
7839
7839
|
export interface TurnEndedUpdate extends ProtoMessage {
|
|
7840
|
+
inputTokens?: bigint;
|
|
7841
|
+
outputTokens?: bigint;
|
|
7842
|
+
cacheReadTokens?: bigint;
|
|
7843
|
+
cacheWriteTokens?: bigint;
|
|
7844
|
+
reasoningTokens?: bigint;
|
|
7840
7845
|
}
|
|
7841
7846
|
|
|
7842
7847
|
export const TurnEndedUpdateSchema: MessageCodec<TurnEndedUpdate> = pb<TurnEndedUpdate>("agent.v1.TurnEndedUpdate", [
|
|
7848
|
+
{ no: 1, name: "inputTokens", kind: "int64", optional: true },
|
|
7849
|
+
{ no: 2, name: "outputTokens", kind: "int64", optional: true },
|
|
7850
|
+
{ no: 3, name: "cacheReadTokens", kind: "int64", optional: true },
|
|
7851
|
+
{ no: 4, name: "cacheWriteTokens", kind: "int64", optional: true },
|
|
7852
|
+
{ no: 5, name: "reasoningTokens", kind: "int64", optional: true },
|
|
7843
7853
|
]);
|
|
7844
7854
|
|
|
7845
7855
|
/** Cursor agent message agent.v1.TypeAction. */
|