@pushwoosh/rpc-gateway-ai-assistant 0.1.335 → 0.1.337

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/data.js CHANGED
@@ -243,6 +243,9 @@ export const data = {
243
243
  },
244
244
  "turnCapHit": {
245
245
  "type": "boolean"
246
+ },
247
+ "usage": {
248
+ "type": "pushwoosh.agentrunner.v1.Usage"
246
249
  }
247
250
  }
248
251
  },
@@ -1677,6 +1680,9 @@ export const data = {
1677
1680
  },
1678
1681
  "limit": {
1679
1682
  "type": "number"
1683
+ },
1684
+ "strategy": {
1685
+ "type": "string"
1680
1686
  }
1681
1687
  }
1682
1688
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.335",
3
+ "version": "0.1.337",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -130,4 +130,6 @@ export type TurnDone = {
130
130
  error: string;
131
131
  turns: number;
132
132
  turnCapHit: boolean;
133
+ /** Turn totals from result.modelUsage; AssistantMessage.usage is a message_start snapshot. */
134
+ usage: Usage;
133
135
  };
@@ -1198,6 +1198,11 @@ export type NewsFeedSource = {
1198
1198
  category: string;
1199
1199
  /** Grid cells emitted, and the feed limit. <= 0 → degrades to MANUAL. */
1200
1200
  limit: number;
1201
+ /**
1202
+ * How the feed RANKS the articles, in the feed's own vocabulary (hence not an
1203
+ * enum); "" and an unknown value leave the feed on its recency default.
1204
+ */
1205
+ strategy: string;
1201
1206
  };
1202
1207
  /**
1203
1208
  * News repeater: one card template per article — baked at edit time, or fetched