react-semaphor 0.1.319 → 0.1.321

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.
Files changed (46) hide show
  1. package/dist/brand-studio/index.cjs +1 -1
  2. package/dist/brand-studio/index.js +4 -4
  3. package/dist/briefings/index.cjs +1 -1
  4. package/dist/briefings/index.js +657 -227
  5. package/dist/chunks/{braces-NfG5hX2c.js → braces-C7BeIXvM.js} +1 -1
  6. package/dist/chunks/{braces-CDPz6CF2.js → braces-Cy5NEBa8.js} +1 -1
  7. package/dist/chunks/{calendar-preferences-dialog-DLKB05SY.js → calendar-preferences-dialog-CzoSmQNw.js} +1 -1
  8. package/dist/chunks/{calendar-preferences-dialog-DPaVsZlk.js → calendar-preferences-dialog-D-0W76fR.js} +3 -3
  9. package/dist/chunks/{chevrons-up-down-DiWloubI.js → chevrons-up-down-Cuilz9aY.js} +1 -1
  10. package/dist/chunks/{chevrons-up-down-BsdQRmJL.js → chevrons-up-down-DZTs1oVD.js} +1 -1
  11. package/dist/chunks/dashboard-briefing-launcher-Cqm8NnVb.js +106 -0
  12. package/dist/chunks/{dashboard-briefing-launcher-DR_i0anv.js → dashboard-briefing-launcher-D5z1kf6J.js} +2238 -2139
  13. package/dist/chunks/{dashboard-controls-8J06Ot-K.js → dashboard-controls-CRIwHD59.js} +94 -94
  14. package/dist/chunks/{dashboard-controls-BNAIucBl.js → dashboard-controls-DSt7iwFC.js} +1 -1
  15. package/dist/chunks/{dashboard-json-DIsACFCO.js → dashboard-json-BRx9CbrK.js} +2 -2
  16. package/dist/chunks/{dashboard-json-B_Li7wO5.js → dashboard-json-ezFjz7Fc.js} +1 -1
  17. package/dist/chunks/{edit-dashboard-visual-2CBS2I52.js → edit-dashboard-visual-Cw0KmT4i.js} +1 -1
  18. package/dist/chunks/{edit-dashboard-visual-BGnC2DH7.js → edit-dashboard-visual-sI6ds8MP.js} +616 -616
  19. package/dist/chunks/{index-DYycYzpZ.js → index-BZg7rVe-.js} +27161 -26641
  20. package/dist/chunks/{index-cxoegFH9.js → index-DX6Krdga.js} +215 -210
  21. package/dist/chunks/{palette-BlxLchHy.js → palette-Bc-vOLSt.js} +1 -1
  22. package/dist/chunks/{palette-CJTdBzJB.js → palette-CanPG11m.js} +1 -1
  23. package/dist/chunks/resource-management-panel-CRRUcnVu.js +6 -0
  24. package/dist/chunks/{resource-management-panel-YtbKp2kW.js → resource-management-panel-pN81x7Gw.js} +451 -369
  25. package/dist/chunks/{save-DVRQBMeb.js → save-CXa6cKaY.js} +1 -1
  26. package/dist/chunks/{save-B8x5Vi0W.js → save-CqrBQKG6.js} +1 -1
  27. package/dist/chunks/{switch-DPaKnsb8.js → switch-BXICAlvS.js} +2 -2
  28. package/dist/chunks/{switch-sauemjyY.js → switch-DdTUsWgd.js} +127 -127
  29. package/dist/chunks/{use-create-flow-overlay-state-Qnd7FF6L.js → use-create-flow-overlay-state-B9ujZUon.js} +104 -104
  30. package/dist/chunks/{use-create-flow-overlay-state-DQZneUXL.js → use-create-flow-overlay-state-BfV5187a.js} +1 -1
  31. package/dist/chunks/{use-visual-utils-BdMhr0YR.js → use-visual-utils-D_uHFfTn.js} +1 -1
  32. package/dist/chunks/{use-visual-utils-t73RlvjS.js → use-visual-utils-PxijRlpS.js} +2 -2
  33. package/dist/dashboard/index.cjs +1 -1
  34. package/dist/dashboard/index.js +1 -1
  35. package/dist/dashboard-authoring/index.cjs +3 -0
  36. package/dist/dashboard-authoring/index.js +532 -0
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.js +7 -7
  39. package/dist/style.css +1 -1
  40. package/dist/surfboard/index.cjs +1 -1
  41. package/dist/surfboard/index.js +2 -2
  42. package/dist/types/briefings.d.ts +111 -0
  43. package/dist/types/dashboard-authoring.d.ts +2703 -0
  44. package/package.json +6 -1
  45. package/dist/chunks/dashboard-briefing-launcher-F3qKyuGr.js +0 -106
  46. package/dist/chunks/resource-management-panel-BwNGxqrB.js +0 -6
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-cxoegFH9.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-DLKB05SY.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-DX6Krdga.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-CzoSmQNw.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
@@ -1,6 +1,6 @@
1
- import { a as e } from "../chunks/index-DYycYzpZ.js";
1
+ import { a as e } from "../chunks/index-BZg7rVe-.js";
2
2
  import { C, E } from "../chunks/common-types-4bjoIgvm.js";
3
- import { C as s } from "../chunks/calendar-preferences-dialog-DPaVsZlk.js";
3
+ import { C as s } from "../chunks/calendar-preferences-dialog-D-0W76fR.js";
4
4
  export {
5
5
  C as CONTROL_CARD_DEFAULT_VALUE,
6
6
  s as CalendarPreferencesDialog,
@@ -1,5 +1,16 @@
1
1
  export declare const BRIEFING_ARTIFACT_FORMATS: readonly ["markdown", "html"];
2
2
 
3
+ export declare const BRIEFING_CONTENT_LIMITS: {
4
+ readonly maxBlocks: 50;
5
+ readonly maxTableRows: 100;
6
+ readonly maxTableColumns: 20;
7
+ readonly maxTableCellCharacters: 500;
8
+ readonly maxParagraphCharacters: 5000;
9
+ readonly maxFindingCharacters: 5000;
10
+ readonly maxListItems: 100;
11
+ readonly maxKpiTiles: 8;
12
+ };
13
+
3
14
  export declare const BRIEFING_KIND: "BRIEFING";
4
15
 
5
16
  export declare const BRIEFING_TEXT_LIMITS: {
@@ -7,6 +18,11 @@ export declare const BRIEFING_TEXT_LIMITS: {
7
18
  readonly description: 2000;
8
19
  readonly instruction: 50000;
9
20
  readonly customMessage: 50000;
21
+ readonly contentTitle: 500;
22
+ readonly contentSummary: 20000;
23
+ readonly contentText: 5000;
24
+ readonly contentItem: 2000;
25
+ readonly contentCell: 500;
10
26
  readonly attachmentTitle: 500;
11
27
  readonly presentationAudience: 1000;
12
28
  readonly presentationTone: 500;
@@ -95,6 +111,88 @@ export declare type BriefingChannelConfig = {
95
111
  webhookConfig?: BriefingWebhookConfig;
96
112
  };
97
113
 
114
+ export declare type BriefingContentBlock = {
115
+ type: 'heading';
116
+ text: string;
117
+ level?: 2 | 3;
118
+ evidenceIds?: string[];
119
+ } | {
120
+ type: 'paragraph';
121
+ text: string;
122
+ evidenceIds?: string[];
123
+ } | {
124
+ type: 'finding';
125
+ title?: string;
126
+ text: string;
127
+ severity?: BriefingContentSeverity;
128
+ evidenceIds: string[];
129
+ } | {
130
+ type: 'bullets';
131
+ title?: string;
132
+ items: string[];
133
+ evidenceIds?: string[];
134
+ } | {
135
+ type: 'metric';
136
+ label: string;
137
+ value: string | number;
138
+ previousValue?: string | number | null;
139
+ delta?: string | number | null;
140
+ unit?: string;
141
+ evidenceIds?: string[];
142
+ } | {
143
+ type: 'kpi_grid';
144
+ title?: string;
145
+ tiles: BriefingKpiTile[];
146
+ evidenceIds?: string[];
147
+ } | BriefingContentTableBlock | {
148
+ type: 'actions';
149
+ title?: string;
150
+ items: string[];
151
+ evidenceIds?: string[];
152
+ } | {
153
+ type: 'limitations';
154
+ title?: string;
155
+ items: string[];
156
+ evidenceIds?: string[];
157
+ } | {
158
+ type: 'evidence_appendix';
159
+ title?: string;
160
+ evidenceIds: string[];
161
+ };
162
+
163
+ export declare type BriefingContentColumnAlign = 'left' | 'center' | 'right';
164
+
165
+ export declare type BriefingContentColumnKind = 'text' | 'number' | 'currency' | 'percent' | 'date' | 'boolean';
166
+
167
+ export declare type BriefingContentDocument = {
168
+ version: 1;
169
+ title?: string;
170
+ summary?: string;
171
+ blocks: BriefingContentBlock[];
172
+ };
173
+
174
+ export declare type BriefingContentScalar = string | number | boolean | null;
175
+
176
+ export declare type BriefingContentSeverity = 'info' | 'positive' | 'warning' | 'critical';
177
+
178
+ export declare type BriefingContentTableBlock = {
179
+ type: 'table';
180
+ id?: string;
181
+ title?: string;
182
+ columns: BriefingContentTableColumn[];
183
+ rows: Array<Record<string, BriefingContentScalar>>;
184
+ caption?: string;
185
+ totalRows?: number;
186
+ evidenceIds?: string[];
187
+ };
188
+
189
+ export declare type BriefingContentTableColumn = {
190
+ key: string;
191
+ label: string;
192
+ kind?: BriefingContentColumnKind;
193
+ align?: BriefingContentColumnAlign;
194
+ };
195
+
98
196
  export declare class BriefingContractError extends Error {
99
197
  readonly issues: BriefingValidationIssue[];
100
198
  constructor(issues: BriefingValidationIssue[]);
@@ -137,6 +235,15 @@ export declare type BriefingJobConfig = {
137
235
 
138
236
  export declare type BriefingKind = typeof BRIEFING_KIND;
139
237
 
238
+ export declare type BriefingKpiTile = {
239
+ label: string;
240
+ value: string | number;
241
+ previousValue?: string | number | null;
242
+ delta?: string | number | null;
243
+ unit?: string;
244
+ evidenceIds?: string[];
245
+ };
246
+
140
247
  export declare type BriefingLimits = {
141
248
  maxToolCalls?: number;
142
249
  maxRows?: number;
@@ -255,12 +362,16 @@ export declare function isBriefingDeliveryChannel(input: unknown): input is Brie
255
362
 
256
363
  export declare const MAX_BRIEFING_ATTACHMENTS = 20;
257
364
 
365
+ export declare function normalizeBriefingContentDocument(input: unknown): BriefingContentDocument;
366
+
258
367
  export declare function normalizeBriefingDraft(input: unknown): CreateBriefingRequest;
259
368
 
260
369
  export declare function normalizeBriefingJobConfig(input: unknown): BriefingJobConfig;
261
370
 
262
371
  export declare type UpdateBriefingRequest = CreateBriefingRequest;
263
372
 
373
+ export declare function validateBriefingContentDocument(input: unknown): BriefingValidationResult<BriefingContentDocument>;
374
+
264
375
  export declare function validateBriefingDraft(draft: unknown): BriefingValidationResult<CreateBriefingRequest>;
265
376
 
266
377
  export declare function validateBriefingJobConfig(input: unknown): BriefingValidationResult<BriefingJobConfig>;