@oh-my-pi/pi-catalog 18.3.4 → 18.4.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/CHANGELOG.md +13 -0
- package/dist/types/build.d.ts +2 -2
- package/dist/types/discovery/cursor-proto.d.ts +5 -0
- package/dist/types/types.d.ts +15 -1
- package/package.json +4 -4
- package/src/build.ts +21 -3
- package/src/compat/axes.ts +12 -1
- package/src/compat/rules/providers/anthropic.kdl +8 -0
- package/src/compat/rules/providers/cerebras.kdl +3 -0
- package/src/compat/rules/providers/openai.kdl +6 -0
- package/src/compat/rules.json +1 -1
- package/src/discovery/cursor-proto.ts +10 -0
- package/src/models.json +1 -1
- package/src/types.ts +16 -1
|
@@ -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. */
|