@keemakr/ui-sdk 1.6.0-dev-20261029102802 → 1.6.0-dev-20261029104555

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.
@@ -28,6 +28,8 @@ import type { ChatPress, ScreenRootNode, ScreenTree } from './schema.js';
28
28
  * any published release; core's own renderer draws them). An older parse strips both without
29
29
  * a sign, so without it they become one muted line first in the body ("At risk · Tier 1 ·
30
30
  * ARR: $1.2M · Renewal: 15 Mar 2027"), where the breadcrumbs fold puts its own line above.
31
+ * The tree's `hideRefreshed` needs no fold: an older parse strips it and the client writes its
32
+ * refreshed time as before.
31
33
  * - `tabs.many`: a strip of up to 10 tabs (newer than any published release, which takes 6).
32
34
  * Without it, the first five stay tabs and a sixth, "More", holds the rest as titled sections
33
35
  * in order (tabs.ts `foldTabs`). A strip's `param` needs no feature: a parse that predates it
package/dist/schema.d.ts CHANGED
@@ -2422,6 +2422,7 @@ export declare const screenTreeSchema: z.ZodObject<{
2422
2422
  }, z.core.$strip>>;
2423
2423
  }, z.core.$strip>>;
2424
2424
  refreshSeconds: z.ZodOptional<z.ZodNumber>;
2425
+ hideRefreshed: z.ZodOptional<z.ZodBoolean>;
2425
2426
  }, z.core.$strip>;
2426
2427
  /** A job id the module chose. Opaque to core; it only travels back to the module. */
2427
2428
  export declare const jobIdSchema: z.ZodString;
@@ -2668,6 +2669,7 @@ export declare const actionResultSchema: z.ZodObject<{
2668
2669
  }, z.core.$strip>>;
2669
2670
  }, z.core.$strip>>;
2670
2671
  refreshSeconds: z.ZodOptional<z.ZodNumber>;
2672
+ hideRefreshed: z.ZodOptional<z.ZodBoolean>;
2671
2673
  }, z.core.$strip>>;
2672
2674
  job: z.ZodOptional<z.ZodObject<{
2673
2675
  id: z.ZodString;
@@ -2907,6 +2909,7 @@ export declare const jobStatusSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2907
2909
  }, z.core.$strip>>;
2908
2910
  }, z.core.$strip>>;
2909
2911
  refreshSeconds: z.ZodOptional<z.ZodNumber>;
2912
+ hideRefreshed: z.ZodOptional<z.ZodBoolean>;
2910
2913
  }, z.core.$strip>>;
2911
2914
  }, z.core.$strip>>;
2912
2915
  }, z.core.$strip>, z.ZodObject<{
@@ -3136,6 +3139,7 @@ export declare const screenLoadResponseSchema: z.ZodObject<{
3136
3139
  }, z.core.$strip>>;
3137
3140
  }, z.core.$strip>>;
3138
3141
  refreshSeconds: z.ZodOptional<z.ZodNumber>;
3142
+ hideRefreshed: z.ZodOptional<z.ZodBoolean>;
3139
3143
  }, z.core.$strip>;
3140
3144
  }, z.core.$strip>;
3141
3145
  export declare const screenActionRequestSchema: z.ZodObject<{
package/dist/schema.js CHANGED
@@ -2722,6 +2722,12 @@ export const screenTreeSchema = z
2722
2722
  // ponytail: polling keeps live views (agent activity) simple; switch to the
2723
2723
  // existing run-event NDJSON stream when polling measurably falls short.
2724
2724
  refreshSeconds: z.number().int().min(2).max(300).optional(),
2725
+ /**
2726
+ * Leave off the "Last refreshed at" time a client may write in the header, for a page that
2727
+ * reads as a record rather than a live view. Unset, it is shown as before; a client still
2728
+ * says when a refresh fails or newer data is waiting. Core's own renderer writes no such time.
2729
+ */
2730
+ hideRefreshed: z.boolean().optional(),
2725
2731
  })
2726
2732
  .superRefine((tree, ctx) => {
2727
2733
  // Two strips writing one param would fight over the address.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keemakr/ui-sdk",
3
- "version": "1.6.0-dev-20261029102802",
3
+ "version": "1.6.0-dev-20261029104555",
4
4
  "description": "Product screens for keemakr marketplace modules: a versioned, server-driven UI tree schema plus defineScreen() handlers. Module code never ships to the browser — keemakr-core validates the tree and renders it with platform components.",
5
5
  "license": "MIT",
6
6
  "type": "module",