@paneui/core 0.0.14 → 0.0.15

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/dist/client.js CHANGED
@@ -133,6 +133,7 @@ export class PaneClient {
133
133
  metadata: req.metadata,
134
134
  callback: req.callback,
135
135
  context_key: req.context_key,
136
+ tags: req.tags,
136
137
  icon_emoji: req.icon_emoji,
137
138
  icon_attachment_id: req.icon_attachment_id,
138
139
  });
package/dist/schemas.d.ts CHANGED
@@ -22,6 +22,7 @@ export declare const createPaneSchema: z.ZodObject<{
22
22
  }, z.core.$strip>, z.ZodObject<{
23
23
  name: z.ZodString;
24
24
  slug: z.ZodOptional<z.ZodString>;
25
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
26
  source: z.ZodString;
26
27
  type: z.ZodEnum<{
27
28
  "html-inline": "html-inline";
@@ -42,6 +43,7 @@ export declare const createPaneSchema: z.ZodObject<{
42
43
  events: z.ZodArray<z.ZodString>;
43
44
  secret: z.ZodString;
44
45
  }, z.core.$strip>>;
46
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
47
  title: z.ZodOptional<z.ZodString>;
46
48
  preamble: z.ZodOptional<z.ZodString>;
47
49
  context_key: z.ZodOptional<z.ZodString>;
package/dist/schemas.js CHANGED
@@ -34,6 +34,9 @@ const inlineArtifactSchema = z.object({
34
34
  // createArtifactSchema below).
35
35
  name: z.string().min(1),
36
36
  slug: z.string().min(1).optional(),
37
+ // Tags for the auto-created template (and inherited by the pane). Same shape
38
+ // as createArtifactSchema.tags.
39
+ tags: z.array(z.string().min(1).max(50)).max(20).optional(),
37
40
  source: z.string().min(1),
38
41
  type: artifactTypeSchema,
39
42
  // Optional: omit for a view-only one-off (a report/dashboard the human only
@@ -79,6 +82,9 @@ export const createPaneSchema = z.object({
79
82
  ttl: z.number().int().positive().optional(),
80
83
  metadata: z.record(z.string(), z.unknown()).optional(),
81
84
  callback: callbackSchema.optional(),
85
+ // Per-pane filter tags. Merged (deduped) with the template's tags at create
86
+ // time and snapshotted onto the pane. Each ≤50 chars, ≤20 per pane.
87
+ tags: z.array(z.string().min(1).max(50)).max(20).optional(),
82
88
  // Tab title for the human's browser. Optional on the wire because the relay
83
89
  // also accepts the implicit fallback: the reference form falls back to the
84
90
  // existing Template.name, and the inline form now carries its own `name`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paneui/core",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Pane relay client: typed HTTP + WebSocket operations against a Pane relay. Framework-free.",
5
5
  "license": "MIT",
6
6
  "type": "module",