@pushwoosh/rpc-gateway-ai-assistant 0.1.232 → 0.1.234

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
@@ -198,6 +198,14 @@ export const data = {
198
198
  }
199
199
  }
200
200
  },
201
+ "pushwoosh.aibuilder.v1.MobileStack": {
202
+ "type": "E",
203
+ "values": [
204
+ "MOBILE_STACK_UNSPECIFIED",
205
+ "MOBILE_STACK_NONE",
206
+ "MOBILE_STACK_REVERSE"
207
+ ]
208
+ },
201
209
  "pushwoosh.aibuilder.v1.ColumnsStyles": {
202
210
  "type": "I",
203
211
  "fields": {
@@ -212,6 +220,18 @@ export const data = {
212
220
  "padding": {
213
221
  "type": "pushwoosh.aibuilder.v1.EdgeInsets",
214
222
  "optional": true
223
+ },
224
+ "mobileColumnPadding": {
225
+ "type": "pushwoosh.aibuilder.v1.EdgeInsets",
226
+ "optional": true
227
+ },
228
+ "mobilePadding": {
229
+ "type": "pushwoosh.aibuilder.v1.EdgeInsets",
230
+ "optional": true
231
+ },
232
+ "mobileStack": {
233
+ "type": "pushwoosh.aibuilder.v1.MobileStack",
234
+ "optional": true
215
235
  }
216
236
  }
217
237
  },
@@ -221,6 +241,10 @@ export const data = {
221
241
  "contentPadding": {
222
242
  "type": "pushwoosh.aibuilder.v1.EdgeInsets",
223
243
  "optional": true
244
+ },
245
+ "mobileContentPadding": {
246
+ "type": "pushwoosh.aibuilder.v1.EdgeInsets",
247
+ "optional": true
224
248
  }
225
249
  }
226
250
  },
@@ -321,6 +345,10 @@ export const data = {
321
345
  "backgroundColor": {
322
346
  "type": "string",
323
347
  "optional": true
348
+ },
349
+ "mobileFontSize": {
350
+ "type": "number",
351
+ "optional": true
324
352
  }
325
353
  }
326
354
  },
@@ -726,6 +754,10 @@ export const data = {
726
754
  "hideOnDesktop": {
727
755
  "type": "boolean",
728
756
  "optional": true
757
+ },
758
+ "mobilePadding": {
759
+ "type": "pushwoosh.aibuilder.v1.EdgeInsets",
760
+ "optional": true
729
761
  }
730
762
  },
731
763
  "oneofs": {
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.232",
3
+ "version": "0.1.234",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "types": "index.d.js",
8
8
  "sideEffects": false,
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
9
12
  "repository": {
10
13
  "type": "git",
11
14
  "url": "https://gitlab.corp.pushwoosh.com/uds/onyx-mcp"
@@ -251,12 +251,29 @@ export type BackgroundGradient = {
251
251
  /** CSS angle in degrees (180 = top→bottom). */
252
252
  angle: number;
253
253
  };
254
+ /**
255
+ * How a columns block stacks on mobile (max-width media query). Unset /
256
+ * UNSPECIFIED = stack in DOM order (the historical behaviour).
257
+ */
258
+ export type MobileStack = 'MOBILE_STACK_UNSPECIFIED'
259
+ /** Keep the columns side by side on mobile (desktop widths). */
260
+ | 'MOBILE_STACK_NONE'
261
+ /** Stack in reverse order (last column on top). */
262
+ | 'MOBILE_STACK_REVERSE';
254
263
  export type ColumnsStyles = {
255
264
  /** Padding applied to each column in the columns block. */
256
265
  columnPadding?: EdgeInsets;
257
266
  gap?: number;
258
267
  /** Padding applied around the columns block (outside the columns row). */
259
268
  padding?: EdgeInsets;
269
+ /**
270
+ * Mobile (media-query) overrides of column_padding / padding. Unset =
271
+ * desktop value with the client's automatic mobile clamp. Client-managed,
272
+ * like the whole message (the LLM never sees ColumnsStyles).
273
+ */
274
+ mobileColumnPadding?: EdgeInsets;
275
+ mobilePadding?: EdgeInsets;
276
+ mobileStack?: MobileStack;
260
277
  };
261
278
  export type CardStyles = {
262
279
  /**
@@ -265,6 +282,11 @@ export type CardStyles = {
265
282
  * area (i.e. every layout, including NO).
266
283
  */
267
284
  contentPadding?: EdgeInsets;
285
+ /**
286
+ * Mobile (media-query) override of content_padding; same contract as
287
+ * ColumnsStyles.mobile_* — unset = desktop value + automatic clamp.
288
+ */
289
+ mobileContentPadding?: EdgeInsets;
268
290
  };
269
291
  export type DefaultStyles = {
270
292
  common: BlockStyles;
@@ -372,6 +394,12 @@ export type TextBlock = {
372
394
  * LLM regenerates the block (items are rewritten wholesale).
373
395
  */
374
396
  backgroundColor?: string;
397
+ /**
398
+ * Mobile (media-query) font-size override in px. Unset (or 0) = the
399
+ * client's automatic mobile clamp of the desktop size. Client-managed;
400
+ * like font_size, lost when the LLM regenerates the block.
401
+ */
402
+ mobileFontSize?: number;
375
403
  };
376
404
  export type ButtonActionHref = {
377
405
  url: string;
@@ -660,6 +688,11 @@ export type ContentItem = {
660
688
  */
661
689
  hideOnMobile?: boolean;
662
690
  hideOnDesktop?: boolean;
691
+ /**
692
+ * Mobile (media-query) override of `padding`. Unset = desktop value with
693
+ * the client's automatic mobile clamp. Client-managed, hidden from the LLM.
694
+ */
695
+ mobilePadding?: EdgeInsets;
663
696
  item: ContentItem_item;
664
697
  };
665
698
  export type Content = {