@pushwoosh/rpc-gateway-ai-assistant 0.1.336 → 0.1.338

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
  },
@@ -1719,6 +1722,9 @@ export const data = {
1719
1722
  "feed": {
1720
1723
  "type": "pushwoosh.aibuilder.v1.NewsFeedSource",
1721
1724
  "optional": true
1725
+ },
1726
+ "pinned": {
1727
+ "type": "number"
1722
1728
  }
1723
1729
  }
1724
1730
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.336",
3
+ "version": "0.1.338",
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
  };
@@ -1229,6 +1229,11 @@ export type NewsData = {
1229
1229
  gap?: number;
1230
1230
  source: NewsSource;
1231
1231
  feed?: NewsFeedSource;
1232
+ /**
1233
+ * Leading cells taken from items[] instead of the feed — the editorial pin.
1234
+ * Clamped to leave at least one feed cell; ignored by a MANUAL block.
1235
+ */
1236
+ pinned: number;
1232
1237
  };
1233
1238
  export type AiBuilderBlock_block_card = {
1234
1239
  type: 'card';