@datatechsolutions/ui 2.11.92 → 3.1.0

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 (159) hide show
  1. package/README.md +39 -58
  2. package/dist/astrlabe/contracts.d.mts +17 -6
  3. package/dist/astrlabe/contracts.d.ts +17 -6
  4. package/dist/astrlabe/index.d.mts +9 -3
  5. package/dist/astrlabe/index.d.ts +9 -3
  6. package/dist/astrlabe/index.js +120 -116
  7. package/dist/astrlabe/index.mjs +6 -6
  8. package/dist/astrlabe/utils.d.mts +1 -1
  9. package/dist/astrlabe/utils.d.ts +1 -1
  10. package/dist/astrlabe/utils.js +9 -9
  11. package/dist/astrlabe/utils.mjs +2 -2
  12. package/dist/astrlabe/workflow-canvas.d.mts +1 -1
  13. package/dist/astrlabe/workflow-canvas.d.ts +1 -1
  14. package/dist/astrlabe/workflow-canvas.js +5 -5
  15. package/dist/astrlabe/workflow-canvas.mjs +4 -4
  16. package/dist/brand/index.d.mts +1 -15
  17. package/dist/brand/index.d.ts +1 -15
  18. package/dist/brand/index.js +0 -14
  19. package/dist/brand/index.js.map +1 -1
  20. package/dist/brand/index.mjs +0 -14
  21. package/dist/brand/index.mjs.map +1 -1
  22. package/dist/{chunk-24QKSC74.js → chunk-3JJWPOK6.js} +6 -6
  23. package/dist/{chunk-24QKSC74.js.map → chunk-3JJWPOK6.js.map} +1 -1
  24. package/dist/{chunk-HGN5W56D.mjs → chunk-3ZUMJTDT.mjs} +3 -3
  25. package/dist/{chunk-HGN5W56D.mjs.map → chunk-3ZUMJTDT.mjs.map} +1 -1
  26. package/dist/{chunk-LKJZGFM4.mjs → chunk-5GDKCFM5.mjs} +3 -3
  27. package/dist/{chunk-LKJZGFM4.mjs.map → chunk-5GDKCFM5.mjs.map} +1 -1
  28. package/dist/{chunk-ZHUPYX4Q.mjs → chunk-5RM6NGZ6.mjs} +3 -3
  29. package/dist/{chunk-ZHUPYX4Q.mjs.map → chunk-5RM6NGZ6.mjs.map} +1 -1
  30. package/dist/{chunk-WNCPAWLC.mjs → chunk-5W7L7BT7.mjs} +13 -2
  31. package/dist/chunk-5W7L7BT7.mjs.map +1 -0
  32. package/dist/{chunk-DB64YDV2.js → chunk-AOUUZ52N.js} +55 -55
  33. package/dist/{chunk-DB64YDV2.js.map → chunk-AOUUZ52N.js.map} +1 -1
  34. package/dist/{chunk-VGSWSQQU.mjs → chunk-B67DP7MI.mjs} +4 -4
  35. package/dist/{chunk-VGSWSQQU.mjs.map → chunk-B67DP7MI.mjs.map} +1 -1
  36. package/dist/{chunk-C7BI5LQ6.js → chunk-C3H4FM4A.js} +13 -2
  37. package/dist/chunk-C3H4FM4A.js.map +1 -0
  38. package/dist/{chunk-XXYDLYIT.js → chunk-EFOXN3LC.js} +288 -171
  39. package/dist/chunk-EFOXN3LC.js.map +1 -0
  40. package/dist/{chunk-ARVLVWUC.js → chunk-F54Q2YJY.js} +97 -15
  41. package/dist/chunk-F54Q2YJY.js.map +1 -0
  42. package/dist/{chunk-WI663467.mjs → chunk-H2D2CRTD.mjs} +8 -8
  43. package/dist/{chunk-WI663467.mjs.map → chunk-H2D2CRTD.mjs.map} +1 -1
  44. package/dist/{chunk-PTGPQJZJ.js → chunk-HDCUWUNH.js} +15 -15
  45. package/dist/{chunk-PTGPQJZJ.js.map → chunk-HDCUWUNH.js.map} +1 -1
  46. package/dist/{chunk-ZKUYNCAG.js → chunk-I2NZGVBG.js} +1595 -2140
  47. package/dist/chunk-I2NZGVBG.js.map +1 -0
  48. package/dist/{chunk-MLAXYDEU.mjs → chunk-IRPS5UCS.mjs} +3 -3
  49. package/dist/{chunk-MLAXYDEU.mjs.map → chunk-IRPS5UCS.mjs.map} +1 -1
  50. package/dist/{chunk-3SUFSAP6.mjs → chunk-IRT4T3CU.mjs} +214 -105
  51. package/dist/chunk-IRT4T3CU.mjs.map +1 -0
  52. package/dist/{chunk-A3BFURJB.mjs → chunk-JN6IL6OH.mjs} +1595 -2138
  53. package/dist/chunk-JN6IL6OH.mjs.map +1 -0
  54. package/dist/{chunk-NA57KK4O.js → chunk-JSNRCYSO.js} +4 -4
  55. package/dist/{chunk-NA57KK4O.js.map → chunk-JSNRCYSO.js.map} +1 -1
  56. package/dist/{chunk-XSBZNPUO.js → chunk-KR2X2WHJ.js} +53 -53
  57. package/dist/{chunk-XSBZNPUO.js.map → chunk-KR2X2WHJ.js.map} +1 -1
  58. package/dist/{chunk-YEWXDCCI.mjs → chunk-LEKZUS6N.mjs} +4 -4
  59. package/dist/{chunk-YEWXDCCI.mjs.map → chunk-LEKZUS6N.mjs.map} +1 -1
  60. package/dist/{chunk-6NAZVG2O.mjs → chunk-MVBIAXVN.mjs} +4 -4
  61. package/dist/{chunk-6NAZVG2O.mjs.map → chunk-MVBIAXVN.mjs.map} +1 -1
  62. package/dist/{chunk-5UU3RQRB.js → chunk-NJS2YC3J.js} +15 -2
  63. package/dist/chunk-NJS2YC3J.js.map +1 -0
  64. package/dist/{chunk-4TY55HGO.mjs → chunk-OL73LBX5.mjs} +3 -3
  65. package/dist/{chunk-4TY55HGO.mjs.map → chunk-OL73LBX5.mjs.map} +1 -1
  66. package/dist/{chunk-3PKG4KFY.mjs → chunk-QYA53LUF.mjs} +67 -10
  67. package/dist/chunk-QYA53LUF.mjs.map +1 -0
  68. package/dist/{chunk-DWFLIXES.mjs → chunk-R4TQWXNG.mjs} +3 -3
  69. package/dist/{chunk-DWFLIXES.mjs.map → chunk-R4TQWXNG.mjs.map} +1 -1
  70. package/dist/{chunk-DADFESAQ.js → chunk-RGI74SQH.js} +4 -4
  71. package/dist/{chunk-DADFESAQ.js.map → chunk-RGI74SQH.js.map} +1 -1
  72. package/dist/{chunk-SFVSDGNF.js → chunk-RL35XATZ.js} +192 -134
  73. package/dist/chunk-RL35XATZ.js.map +1 -0
  74. package/dist/{chunk-BUI7BCUN.js → chunk-RXZNACMI.js} +33 -33
  75. package/dist/{chunk-BUI7BCUN.js.map → chunk-RXZNACMI.js.map} +1 -1
  76. package/dist/{chunk-TBPWMPZU.js → chunk-SU3YPWFW.js} +26 -26
  77. package/dist/{chunk-TBPWMPZU.js.map → chunk-SU3YPWFW.js.map} +1 -1
  78. package/dist/{chunk-DIMLLLZR.js → chunk-TIJJHW2Z.js} +36 -36
  79. package/dist/{chunk-DIMLLLZR.js.map → chunk-TIJJHW2Z.js.map} +1 -1
  80. package/dist/{chunk-2RDGJXYZ.js → chunk-TVMLV675.js} +67 -67
  81. package/dist/{chunk-2RDGJXYZ.js.map → chunk-TVMLV675.js.map} +1 -1
  82. package/dist/{chunk-53SRKVKQ.mjs → chunk-U7XM3N7F.mjs} +15 -2
  83. package/dist/chunk-U7XM3N7F.mjs.map +1 -0
  84. package/dist/{chunk-Y3WJAYOY.mjs → chunk-UDDZTTLO.mjs} +6 -6
  85. package/dist/chunk-UDDZTTLO.mjs.map +1 -0
  86. package/dist/{chunk-43GCSCQA.js → chunk-W5OEBO6E.js} +12 -12
  87. package/dist/chunk-W5OEBO6E.js.map +1 -0
  88. package/dist/{chunk-FUVJHNNI.js → chunk-Y6AEE56Q.js} +69 -69
  89. package/dist/{chunk-FUVJHNNI.js.map → chunk-Y6AEE56Q.js.map} +1 -1
  90. package/dist/{chunk-MZAS6TG4.mjs → chunk-YIB2YAM5.mjs} +3 -3
  91. package/dist/{chunk-MZAS6TG4.mjs.map → chunk-YIB2YAM5.mjs.map} +1 -1
  92. package/dist/{chunk-RELMVNNR.mjs → chunk-YV72JM4B.mjs} +4 -4
  93. package/dist/{chunk-RELMVNNR.mjs.map → chunk-YV72JM4B.mjs.map} +1 -1
  94. package/dist/{chunk-MEEFOZC4.js → chunk-ZM5MVWIT.js} +4 -4
  95. package/dist/{chunk-MEEFOZC4.js.map → chunk-ZM5MVWIT.js.map} +1 -1
  96. package/dist/{chunk-PU2KTO4O.mjs → chunk-ZV5EZXXO.mjs} +97 -15
  97. package/dist/chunk-ZV5EZXXO.mjs.map +1 -0
  98. package/dist/{index-AioB90qq.d.mts → index-CoB18TbG.d.ts} +9 -2
  99. package/dist/{index-D5ai0cGZ.d.ts → index-VI9gyJXl.d.mts} +9 -2
  100. package/dist/index.d.mts +8 -41
  101. package/dist/index.d.ts +8 -41
  102. package/dist/index.js +745 -753
  103. package/dist/index.mjs +2 -2
  104. package/dist/platform/admin/index.js +11 -11
  105. package/dist/platform/admin/index.mjs +5 -5
  106. package/dist/platform/agents-workspace.js +9 -9
  107. package/dist/platform/agents-workspace.mjs +8 -8
  108. package/dist/platform/app-shell.js +4 -4
  109. package/dist/platform/app-shell.mjs +3 -3
  110. package/dist/platform/auth/index.js +28 -28
  111. package/dist/platform/auth/index.mjs +5 -5
  112. package/dist/platform/billing/index.js +4 -4
  113. package/dist/platform/billing/index.mjs +3 -3
  114. package/dist/platform/impersonation/index.js +4 -4
  115. package/dist/platform/impersonation/index.mjs +3 -3
  116. package/dist/platform/index.js +101 -101
  117. package/dist/platform/index.js.map +1 -1
  118. package/dist/platform/index.mjs +21 -21
  119. package/dist/platform/index.mjs.map +1 -1
  120. package/dist/platform/pages/index.d.mts +5 -6
  121. package/dist/platform/pages/index.d.ts +5 -6
  122. package/dist/platform/pages/index.js +199 -199
  123. package/dist/platform/pages/index.js.map +1 -1
  124. package/dist/platform/pages/index.mjs +11 -11
  125. package/dist/platform/pages/index.mjs.map +1 -1
  126. package/dist/platform/settings/index.js +8 -8
  127. package/dist/platform/settings/index.mjs +7 -7
  128. package/dist/platform/telemetry/index.d.mts +42 -0
  129. package/dist/platform/telemetry/index.d.ts +42 -0
  130. package/dist/platform/telemetry/index.js +75 -0
  131. package/dist/platform/telemetry/index.js.map +1 -0
  132. package/dist/platform/telemetry/index.mjs +68 -0
  133. package/dist/platform/telemetry/index.mjs.map +1 -0
  134. package/dist/platform/workflow-api-client.d.mts +2 -2
  135. package/dist/platform/workflow-api-client.d.ts +2 -2
  136. package/dist/platform/workflow-api-client.js +61 -61
  137. package/dist/platform/workflow-api-client.mjs +1 -1
  138. package/dist/platform/workflow-canvas-shell.js +6 -6
  139. package/dist/platform/workflow-canvas-shell.mjs +5 -5
  140. package/dist/{workflow-api-client-zVtc8FIl.d.ts → workflow-api-client-BKD8OfP_.d.ts} +62 -31
  141. package/dist/{workflow-api-client-wLoap-tt.d.mts → workflow-api-client-DoYj7nHz.d.mts} +62 -31
  142. package/package.json +7 -1
  143. package/dist/chunk-3PKG4KFY.mjs.map +0 -1
  144. package/dist/chunk-3SUFSAP6.mjs.map +0 -1
  145. package/dist/chunk-43GCSCQA.js.map +0 -1
  146. package/dist/chunk-53SRKVKQ.mjs.map +0 -1
  147. package/dist/chunk-5UU3RQRB.js.map +0 -1
  148. package/dist/chunk-A3BFURJB.mjs.map +0 -1
  149. package/dist/chunk-ARVLVWUC.js.map +0 -1
  150. package/dist/chunk-C7BI5LQ6.js.map +0 -1
  151. package/dist/chunk-PU2KTO4O.mjs.map +0 -1
  152. package/dist/chunk-SFVSDGNF.js.map +0 -1
  153. package/dist/chunk-WNCPAWLC.mjs.map +0 -1
  154. package/dist/chunk-XXYDLYIT.js.map +0 -1
  155. package/dist/chunk-Y3WJAYOY.mjs.map +0 -1
  156. package/dist/chunk-ZKUYNCAG.js.map +0 -1
  157. package/src/brand/logos/fuel-icon.svg +0 -32
  158. package/src/brand/logos/fuel-logo-dark.svg +0 -43
  159. package/src/brand/logos/fuel-logo.svg +0 -43
@@ -1,5 +1,5 @@
1
1
  import { WorkflowGraph, WorkflowRun, AgentRule, WorkflowTool, AgentTool, Workflow, VariableValue, AgentModel } from './astrlabe/contracts.mjs';
2
- import { A as AgentWithPrompts } from './index-AioB90qq.mjs';
2
+ import { A as AgentWithPrompts } from './index-VI9gyJXl.mjs';
3
3
  import { AgentPrompt } from '@datatechsolutions/shared-domain/ports/workflow';
4
4
  import { AgentConfigLike, DataSource } from '@datatechsolutions/shared-domain/common';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -183,10 +183,26 @@ interface ModelProviderConnection {
183
183
  updatedAt?: string;
184
184
  }
185
185
  declare function listModelProviderConnections(): Promise<ModelProviderConnection[]>;
186
+ /**
187
+ * One model family record joined onto a provider in the catalog.
188
+ * Mirrors the `FamilyView` shape returned by `agents_providers.rs`.
189
+ */
190
+ type ModelFamilyCatalogEntry = {
191
+ id: string;
192
+ slug: string;
193
+ name: string;
194
+ modelIds: string[];
195
+ maxTokens?: number | null;
196
+ contextWindow?: string | null;
197
+ supportsTools?: boolean | null;
198
+ supportsVision?: boolean | null;
199
+ costTier?: string | null;
200
+ };
186
201
  /**
187
202
  * Catalog of supported LLM providers. Previously hard-coded in the
188
- * connections modal; now backed by `astrlabe.model_providers` so new
189
- * providers can be added server-side without a frontend release.
203
+ * connections modal; now backed by `astrlabe.model_providers` +
204
+ * `astrlabe.model_families` so new providers can be added server-side
205
+ * without a frontend release.
190
206
  */
191
207
  type ModelProviderCatalogEntry = {
192
208
  id: string;
@@ -198,8 +214,15 @@ type ModelProviderCatalogEntry = {
198
214
  logoUrl?: string | null;
199
215
  docsUrl?: string | null;
200
216
  authType?: string | null;
217
+ /**
218
+ * Full family records joined from `model_families`. Empty array if no
219
+ * families are seeded for this provider (`custom`, where the operator
220
+ * supplies the model id at node-config time).
221
+ */
222
+ families: ModelFamilyCatalogEntry[];
223
+ /** @deprecated — array of family slugs only. New callers read `families`. */
201
224
  supportedModelFamilies?: unknown;
202
- regions?: unknown;
225
+ regions?: string[] | null;
203
226
  enabled: boolean;
204
227
  };
205
228
  declare function listModelProviderCatalog(): Promise<ModelProviderCatalogEntry[]>;
@@ -358,34 +381,15 @@ declare function deleteUpload(objectKey: string): Promise<{
358
381
  }>;
359
382
  type RunEvent = {
360
383
  /**
361
- * Discriminator for the event payload. Wire format is snake_case
362
- * because the Rust engine's `ExecutionEvent.kind` (in
363
- * `lambda-rs/.../engine/events.rs`) is set as `node_started` /
364
- * `run_completed` / `ui_render` / etc. The `serde(rename = "type")`
365
- * keeps the JSON key as `type` but the *value* stays snake_case
366
- * end-to-end through Redis pub/sub and the SSE handler. Matches
367
- * `WorkflowEventType` in `@datatechsolutions/shared-domain`.
368
- *
369
- * `ui_render` is the per-section generative-UI event — the agent's
370
- * tool_use block content lives in `outputs.section`. `run_paused`
371
- * is the human_approval pause, with `outputs.prompt` + `outputs.payload`.
384
+ * Discriminator for the event payload. The set is open-ended on purpose
385
+ * Phase 2/3 of the generative-UI work adds `ui-render` (per-section
386
+ * progressive rendering) and `run-paused` (operator-input pause) without
387
+ * a breaking change.
372
388
  */
373
- type: 'run_started' | 'node_started' | 'node_completed' | 'node_failed' | 'node_error' | 'run_completed' | 'run_failed' | 'run_paused' | 'ui_render' | 'log';
389
+ type: 'run-started' | 'node-started' | 'node-completed' | 'node-failed' | 'run-completed' | 'run-failed' | 'run-paused' | 'ui-render' | 'log';
374
390
  runId: string;
375
- workflowId?: string;
376
391
  nodeId?: string;
377
- nodeType?: string;
378
- status?: string;
379
- /**
380
- * Engine attaches the executor's output here. For `node_completed`
381
- * this is the node's full output; for `ui_render` it carries
382
- * `{ section, toolName, toolUseId }`; for `run_paused` it carries
383
- * `{ prompt, payload, kind, nodeId }` — the human_approval sentinel.
384
- */
385
- outputs?: Record<string, unknown>;
386
- error?: string;
387
- durationMs?: number;
388
- /** RFC 3339. */
392
+ data?: Record<string, unknown>;
389
393
  timestamp: string;
390
394
  };
391
395
  type PublicSampleWorkflow = {
@@ -423,7 +427,34 @@ type ApprovalResponse = {
423
427
  * inputs, and re-executes — see #457.
424
428
  */
425
429
  declare function submitApproval(runId: string, nodeId: string, decision: ApprovalDecision): Promise<ApprovalResponse>;
426
- declare function subscribeToRunEvents(runId: string, onEvent: (event: RunEvent) => void, onError?: (error: Event) => void): () => void;
430
+ /**
431
+ * Connection state for {@link subscribeToRunEvents}. UI consumers can
432
+ * surface this — e.g. show "reconnecting…" badge — by passing an
433
+ * `onState` callback.
434
+ */
435
+ type RunSubscriptionState = 'live' | 'reconnecting' | 'polling' | 'closed';
436
+ /**
437
+ * Subscribe to a run's event stream with auto-reconnect + polling fallback.
438
+ *
439
+ * The default `EventSource` drops silently on idle proxies / cold-restarts
440
+ * (CloudFront + Lambda Function URL combo at customer scale will close
441
+ * an idle connection after ~30–60s). When that happens the run viewer
442
+ * looks frozen with no signal to the user.
443
+ *
444
+ * Lifecycle:
445
+ * 1. Open SSE. On `open`, state = `live`.
446
+ * 2. On `error`, close the source and exponential-backoff (1s → 2s → 4s
447
+ * → 8s → 16s, with jitter). State = `reconnecting`.
448
+ * 3. After {@link SSE_MAX_RECONNECT_ATTEMPTS} failures, fall back to
449
+ * polling `GET /workflow-runs/{runId}` every 5s. State = `polling`.
450
+ * 4. On terminal event (`run-completed` / `run-failed`) or terminal
451
+ * polled status (completed/failed/cancelled), close + state = `closed`.
452
+ * 5. Returned disposer also flips to `closed`; idempotent.
453
+ *
454
+ * Backwards-compatible with the previous 3-arg signature; pass `onState`
455
+ * as a 4th arg if you want to render connection-state UI.
456
+ */
457
+ declare function subscribeToRunEvents(runId: string, onEvent: (event: RunEvent) => void, onError?: (error: Event) => void, onState?: (state: RunSubscriptionState) => void): () => void;
427
458
  declare function getAgentConfigsWithPrompts(): Promise<AgentWithPrompts[]>;
428
459
  declare function getDatasources(): Promise<DataSource[]>;
429
460
  declare function createDatasource(data: DatasourceFormData): Promise<DataSource>;
@@ -434,4 +465,4 @@ declare function getDatasourceSchema(datasourceId: string, table: string): Promi
434
465
  nullable?: boolean;
435
466
  }>>;
436
467
 
437
- export { getAnalyticsSummary as $, type AnalyticsSummary as A, createDatasource as B, createModelProviderConnection as C, type DatasourceFormData as D, createWorkflow as E, createWorkflowFromTemplate as F, deleteAgentConfig as G, deleteAgentPrompt as H, deleteAgentRule as I, deleteAgentTool as J, deleteAgentToolDefinition as K, deleteModelProviderConnection as L, type ModelProviderConnection as M, type NodeMetrics as N, deleteUpload as O, type PresignUploadInput as P, deleteWorkflow as Q, type RunTimelineEntry as R, executeAgentRule as S, executeWorkflow as T, getAgentConfigsWithPrompts as U, getAgentModels as V, type WorkflowRunListParams as W, getAgentPrompts as X, getAgentRules as Y, getAgentToolDefinitions as Z, getAgentTools as _, DIALECT_CATEGORIES as a, getCurrentAccessToken as a0, getDatasourceSchema as a1, getDatasourceTables as a2, getDatasources as a3, getPublicSampleWorkflow as a4, getRunTimeline as a5, getUploadDownloadUrl as a6, getWorkflowById as a7, getWorkflowRunById as a8, getWorkflowRuns as a9, getWorkflows as aa, listModelProviderCatalog as ab, listModelProviderConnections as ac, listWorkflowRuns as ad, listWorkflowTemplates as ae, presignUpload as af, publishWorkflow as ag, replayWorkflowRun as ah, saveWorkflowDraft as ai, setAccessTokenProvider as aj, setAuthenticatedFetch as ak, submitApproval as al, subscribeToRunEvents as am, updateAgentConfig as an, updateAgentPrompt as ao, updateAgentRule as ap, updateAgentTool as aq, updateAgentToolDefinition as ar, updateModelProviderConnection as as, updateWorkflowSettings as at, DatasourceFormModal as b, type DatasourceFormModalProps as c, DatasourceModal as d, type DatasourceModalProps as e, findCategory as f, findDialect as g, type AiGenerateResponse as h, type AiValidateResponse as i, type ApprovalDecision as j, type ApprovalResponse as k, type ModelProviderCatalogEntry as l, type NodeValidationIssue as m, type PresignedUpload as n, type PublicSampleWorkflow as o, type RunEvent as p, type WorkflowTemplateSummary as q, aiGenerateWorkflow as r, aiValidateWorkflow as s, buildAuthenticatedApiUrl as t, cancelWorkflowRun as u, createAgentConfig as v, createAgentPrompt as w, createAgentRule as x, createAgentTool as y, createAgentToolDefinition as z };
468
+ export { getAgentToolDefinitions as $, type AnalyticsSummary as A, createAgentTool as B, createAgentToolDefinition as C, type DatasourceFormData as D, createDatasource as E, createModelProviderConnection as F, createWorkflow as G, createWorkflowFromTemplate as H, deleteAgentConfig as I, deleteAgentPrompt as J, deleteAgentRule as K, deleteAgentTool as L, type ModelProviderConnection as M, type NodeMetrics as N, deleteAgentToolDefinition as O, type PresignUploadInput as P, deleteModelProviderConnection as Q, type RunTimelineEntry as R, deleteUpload as S, deleteWorkflow as T, executeAgentRule as U, executeWorkflow as V, type WorkflowRunListParams as W, getAgentConfigsWithPrompts as X, getAgentModels as Y, getAgentPrompts as Z, getAgentRules as _, DIALECT_CATEGORIES as a, getAgentTools as a0, getAnalyticsSummary as a1, getCurrentAccessToken as a2, getDatasourceSchema as a3, getDatasourceTables as a4, getDatasources as a5, getPublicSampleWorkflow as a6, getRunTimeline as a7, getUploadDownloadUrl as a8, getWorkflowById as a9, getWorkflowRunById as aa, getWorkflowRuns as ab, getWorkflows as ac, listModelProviderCatalog as ad, listModelProviderConnections as ae, listWorkflowRuns as af, listWorkflowTemplates as ag, presignUpload as ah, publishWorkflow as ai, replayWorkflowRun as aj, saveWorkflowDraft as ak, setAccessTokenProvider as al, setAuthenticatedFetch as am, submitApproval as an, subscribeToRunEvents as ao, updateAgentConfig as ap, updateAgentPrompt as aq, updateAgentRule as ar, updateAgentTool as as, updateAgentToolDefinition as at, updateModelProviderConnection as au, updateWorkflowSettings as av, DatasourceFormModal as b, type DatasourceFormModalProps as c, DatasourceModal as d, type DatasourceModalProps as e, findCategory as f, findDialect as g, type AiGenerateResponse as h, type AiValidateResponse as i, type ApprovalDecision as j, type ApprovalResponse as k, type ModelFamilyCatalogEntry as l, type ModelProviderCatalogEntry as m, type NodeValidationIssue as n, type PresignedUpload as o, type PublicSampleWorkflow as p, type RunEvent as q, type RunSubscriptionState as r, type WorkflowTemplateSummary as s, aiGenerateWorkflow as t, aiValidateWorkflow as u, buildAuthenticatedApiUrl as v, cancelWorkflowRun as w, createAgentConfig as x, createAgentPrompt as y, createAgentRule as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.11.92",
3
+ "version": "3.1.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -125,6 +125,11 @@
125
125
  "import": "./dist/platform/settings/index.mjs",
126
126
  "require": "./dist/platform/settings/index.js"
127
127
  },
128
+ "./platform/telemetry": {
129
+ "types": "./dist/platform/telemetry/index.d.ts",
130
+ "import": "./dist/platform/telemetry/index.mjs",
131
+ "require": "./dist/platform/telemetry/index.js"
132
+ },
128
133
  "./styles": "./src/styles/liquid-glass.css",
129
134
  "./styles/*": "./src/styles/*"
130
135
  },
@@ -149,6 +154,7 @@
149
154
  "@radix-ui/react-progress": "^1.1.8",
150
155
  "@radix-ui/react-tabs": "^1.1.13",
151
156
  "next-intl": "4.8.3",
157
+ "posthog-js": "^1.207.0",
152
158
  "typescript": "^5.3.0"
153
159
  },
154
160
  "peerDependencies": {