@datatechsolutions/ui 3.3.0 → 3.5.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 (212) hide show
  1. package/dist/astrlabe/index.js +113 -113
  2. package/dist/astrlabe/index.mjs +6 -6
  3. package/dist/astrlabe/workflow-canvas.js +6 -6
  4. package/dist/astrlabe/workflow-canvas.mjs +5 -5
  5. package/dist/brand/index.js +0 -14
  6. package/dist/brand/index.js.map +1 -1
  7. package/dist/brand/index.mjs +0 -14
  8. package/dist/brand/index.mjs.map +1 -1
  9. package/dist/{chunk-2WXRRQM3.mjs → chunk-2MJAHST4.mjs} +554 -516
  10. package/dist/chunk-2MJAHST4.mjs.map +1 -0
  11. package/dist/{chunk-FAGDZEKM.js → chunk-2OZZH2IO.js} +2 -2
  12. package/dist/chunk-2OZZH2IO.js.map +1 -0
  13. package/dist/{chunk-SYNVNTLJ.mjs → chunk-3AY5HIQ6.mjs} +2 -2
  14. package/dist/chunk-3AY5HIQ6.mjs.map +1 -0
  15. package/dist/{chunk-O6M3KDGT.mjs → chunk-3OLYSMI5.mjs} +41 -7
  16. package/dist/chunk-3OLYSMI5.mjs.map +1 -0
  17. package/dist/{chunk-GIQXB3BG.mjs → chunk-4PFU6A2B.mjs} +3 -3
  18. package/dist/{chunk-GIQXB3BG.mjs.map → chunk-4PFU6A2B.mjs.map} +1 -1
  19. package/dist/{chunk-3ZUMJTDT.mjs → chunk-5BEVTOZV.mjs} +4 -5
  20. package/dist/{chunk-3JJWPOK6.js.map → chunk-5BEVTOZV.mjs.map} +1 -1
  21. package/dist/{chunk-3JJWPOK6.js → chunk-5I7F7KZ6.js} +10 -11
  22. package/dist/chunk-5I7F7KZ6.js.map +1 -0
  23. package/dist/{chunk-BR2GAZKG.mjs → chunk-6V3DUBOZ.mjs} +7 -7
  24. package/dist/{chunk-BR2GAZKG.mjs.map → chunk-6V3DUBOZ.mjs.map} +1 -1
  25. package/dist/{chunk-5GDKCFM5.mjs → chunk-6W7VTZG6.mjs} +3 -3
  26. package/dist/{chunk-5GDKCFM5.mjs.map → chunk-6W7VTZG6.mjs.map} +1 -1
  27. package/dist/{chunk-IJAKZHXX.js → chunk-74MHWEDC.js} +684 -645
  28. package/dist/chunk-74MHWEDC.js.map +1 -0
  29. package/dist/{chunk-IRPS5UCS.mjs → chunk-7CEZB3ZD.mjs} +3 -3
  30. package/dist/{chunk-IRPS5UCS.mjs.map → chunk-7CEZB3ZD.mjs.map} +1 -1
  31. package/dist/{chunk-UDDZTTLO.mjs → chunk-7UHV6A4C.mjs} +6 -7
  32. package/dist/chunk-7UHV6A4C.mjs.map +1 -0
  33. package/dist/{chunk-ZM5MVWIT.js → chunk-A7FI4K7Z.js} +5 -6
  34. package/dist/chunk-A7FI4K7Z.js.map +1 -0
  35. package/dist/{chunk-MWPTSBAI.js → chunk-AVM53A3Y.js} +63 -29
  36. package/dist/chunk-AVM53A3Y.js.map +1 -0
  37. package/dist/{chunk-I2NZGVBG.js → chunk-AWDH6WNA.js} +1214 -5396
  38. package/dist/chunk-AWDH6WNA.js.map +1 -0
  39. package/dist/{chunk-ZJPNP2YW.mjs → chunk-BUDZNAKL.mjs} +2 -2
  40. package/dist/chunk-BUDZNAKL.mjs.map +1 -0
  41. package/dist/{chunk-OCELRSLO.js → chunk-BVXATTTA.js} +4 -4
  42. package/dist/{chunk-OCELRSLO.js.map → chunk-BVXATTTA.js.map} +1 -1
  43. package/dist/{chunk-W5OEBO6E.js → chunk-C4NRF2G2.js} +13 -14
  44. package/dist/chunk-C4NRF2G2.js.map +1 -0
  45. package/dist/{chunk-JSNRCYSO.js → chunk-CY2MBKVG.js} +4 -4
  46. package/dist/{chunk-JSNRCYSO.js.map → chunk-CY2MBKVG.js.map} +1 -1
  47. package/dist/{chunk-ZL6C2ZAF.js → chunk-FK3WDELF.js} +67 -67
  48. package/dist/{chunk-ZL6C2ZAF.js.map → chunk-FK3WDELF.js.map} +1 -1
  49. package/dist/{chunk-MVBIAXVN.mjs → chunk-IOEQ2GET.mjs} +14 -11
  50. package/dist/chunk-IOEQ2GET.mjs.map +1 -0
  51. package/dist/{chunk-AOUUZ52N.js → chunk-NCDBNGIB.js} +85 -86
  52. package/dist/chunk-NCDBNGIB.js.map +1 -0
  53. package/dist/{chunk-B67DP7MI.mjs → chunk-NJ5RVWLA.mjs} +4 -4
  54. package/dist/{chunk-B67DP7MI.mjs.map → chunk-NJ5RVWLA.mjs.map} +1 -1
  55. package/dist/{chunk-HDCUWUNH.js → chunk-NKXQYFS7.js} +28 -27
  56. package/dist/chunk-NKXQYFS7.js.map +1 -0
  57. package/dist/{chunk-JN6IL6OH.mjs → chunk-NOHHZ6FM.mjs} +1171 -5316
  58. package/dist/chunk-NOHHZ6FM.mjs.map +1 -0
  59. package/dist/{chunk-PCYL4MII.mjs → chunk-OASC7NYV.mjs} +156 -314
  60. package/dist/chunk-OASC7NYV.mjs.map +1 -0
  61. package/dist/{chunk-RXZNACMI.js → chunk-P43PX75J.js} +33 -33
  62. package/dist/{chunk-RXZNACMI.js.map → chunk-P43PX75J.js.map} +1 -1
  63. package/dist/{chunk-OL73LBX5.mjs → chunk-QLFSJ6HK.mjs} +3 -4
  64. package/dist/chunk-QLFSJ6HK.mjs.map +1 -0
  65. package/dist/{chunk-LEKZUS6N.mjs → chunk-QPSHM2JQ.mjs} +4 -5
  66. package/dist/chunk-QPSHM2JQ.mjs.map +1 -0
  67. package/dist/{chunk-NJFRJ6YD.js → chunk-QSMPKL27.js} +225 -384
  68. package/dist/chunk-QSMPKL27.js.map +1 -0
  69. package/dist/{chunk-ZV5EZXXO.mjs → chunk-RHRJXK5R.mjs} +3 -3
  70. package/dist/{chunk-ZV5EZXXO.mjs.map → chunk-RHRJXK5R.mjs.map} +1 -1
  71. package/dist/{chunk-F54Q2YJY.js → chunk-SY4MUT5V.js} +7 -7
  72. package/dist/{chunk-F54Q2YJY.js.map → chunk-SY4MUT5V.js.map} +1 -1
  73. package/dist/{chunk-5RM6NGZ6.mjs → chunk-UHMAKUON.mjs} +3 -3
  74. package/dist/{chunk-5RM6NGZ6.mjs.map → chunk-UHMAKUON.mjs.map} +1 -1
  75. package/dist/{chunk-TIJJHW2Z.js → chunk-V5VBYOF5.js} +36 -36
  76. package/dist/{chunk-TIJJHW2Z.js.map → chunk-V5VBYOF5.js.map} +1 -1
  77. package/dist/{chunk-KR2X2WHJ.js → chunk-VMGNQFRO.js} +53 -53
  78. package/dist/{chunk-KR2X2WHJ.js.map → chunk-VMGNQFRO.js.map} +1 -1
  79. package/dist/{chunk-HZ4LOVHM.js → chunk-VY52Y5GC.js} +2 -2
  80. package/dist/chunk-VY52Y5GC.js.map +1 -0
  81. package/dist/{chunk-TVMLV675.js → chunk-Z7VY5M4T.js} +98 -95
  82. package/dist/chunk-Z7VY5M4T.js.map +1 -0
  83. package/dist/{chunk-R4TQWXNG.mjs → chunk-ZM2Q2SMC.mjs} +6 -5
  84. package/dist/chunk-ZM2Q2SMC.mjs.map +1 -0
  85. package/dist/index.js +744 -904
  86. package/dist/index.mjs +4 -4
  87. package/dist/platform/admin/index.js +13 -13
  88. package/dist/platform/admin/index.mjs +7 -7
  89. package/dist/platform/agents-workspace.js +9 -9
  90. package/dist/platform/agents-workspace.mjs +8 -8
  91. package/dist/platform/app-shell.js +6 -6
  92. package/dist/platform/app-shell.mjs +5 -5
  93. package/dist/platform/auth/index.js +30 -30
  94. package/dist/platform/auth/index.mjs +7 -7
  95. package/dist/platform/billing/index.js +6 -6
  96. package/dist/platform/billing/index.mjs +5 -5
  97. package/dist/platform/impersonation/index.js +6 -6
  98. package/dist/platform/impersonation/index.mjs +5 -5
  99. package/dist/platform/index.js +102 -4812
  100. package/dist/platform/index.js.map +1 -1
  101. package/dist/platform/index.mjs +24 -4729
  102. package/dist/platform/index.mjs.map +1 -1
  103. package/dist/platform/pages/index.js +320 -204
  104. package/dist/platform/pages/index.js.map +1 -1
  105. package/dist/platform/pages/index.mjs +146 -30
  106. package/dist/platform/pages/index.mjs.map +1 -1
  107. package/dist/platform/rbac.js +2 -2
  108. package/dist/platform/rbac.mjs +1 -1
  109. package/dist/platform/settings/index.js +10 -10
  110. package/dist/platform/settings/index.mjs +9 -9
  111. package/dist/platform/utils/index.js +3 -3
  112. package/dist/platform/utils/index.js.map +1 -1
  113. package/dist/platform/utils/index.mjs +1 -1
  114. package/dist/platform/utils/index.mjs.map +1 -1
  115. package/dist/platform/workflow-api-client.js +62 -62
  116. package/dist/platform/workflow-api-client.mjs +2 -2
  117. package/dist/platform/workflow-canvas-shell.js +7 -7
  118. package/dist/platform/workflow-canvas-shell.mjs +6 -6
  119. package/package.json +15 -5
  120. package/src/styles/liquid-glass.css +283 -2
  121. package/dist/astrlabe/contracts.d.mts +0 -517
  122. package/dist/astrlabe/contracts.d.ts +0 -517
  123. package/dist/astrlabe/graph-node.d.mts +0 -28
  124. package/dist/astrlabe/graph-node.d.ts +0 -28
  125. package/dist/astrlabe/index.d.mts +0 -751
  126. package/dist/astrlabe/index.d.ts +0 -751
  127. package/dist/astrlabe/utils.d.mts +0 -60
  128. package/dist/astrlabe/utils.d.ts +0 -60
  129. package/dist/astrlabe/workflow-canvas.d.mts +0 -69
  130. package/dist/astrlabe/workflow-canvas.d.ts +0 -69
  131. package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
  132. package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
  133. package/dist/billing-panel-DsHhhJqG.d.mts +0 -18
  134. package/dist/billing-panel-DsHhhJqG.d.ts +0 -18
  135. package/dist/brand/index.d.mts +0 -85
  136. package/dist/brand/index.d.ts +0 -85
  137. package/dist/chunk-2WXRRQM3.mjs.map +0 -1
  138. package/dist/chunk-3ZUMJTDT.mjs.map +0 -1
  139. package/dist/chunk-AOUUZ52N.js.map +0 -1
  140. package/dist/chunk-FAGDZEKM.js.map +0 -1
  141. package/dist/chunk-HDCUWUNH.js.map +0 -1
  142. package/dist/chunk-HZ4LOVHM.js.map +0 -1
  143. package/dist/chunk-I2NZGVBG.js.map +0 -1
  144. package/dist/chunk-IJAKZHXX.js.map +0 -1
  145. package/dist/chunk-JN6IL6OH.mjs.map +0 -1
  146. package/dist/chunk-LEKZUS6N.mjs.map +0 -1
  147. package/dist/chunk-MVBIAXVN.mjs.map +0 -1
  148. package/dist/chunk-MWPTSBAI.js.map +0 -1
  149. package/dist/chunk-NJFRJ6YD.js.map +0 -1
  150. package/dist/chunk-O6M3KDGT.mjs.map +0 -1
  151. package/dist/chunk-OL73LBX5.mjs.map +0 -1
  152. package/dist/chunk-PCYL4MII.mjs.map +0 -1
  153. package/dist/chunk-R4TQWXNG.mjs.map +0 -1
  154. package/dist/chunk-SYNVNTLJ.mjs.map +0 -1
  155. package/dist/chunk-TVMLV675.js.map +0 -1
  156. package/dist/chunk-UDDZTTLO.mjs.map +0 -1
  157. package/dist/chunk-W5OEBO6E.js.map +0 -1
  158. package/dist/chunk-ZJPNP2YW.mjs.map +0 -1
  159. package/dist/chunk-ZM5MVWIT.js.map +0 -1
  160. package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +0 -17
  161. package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +0 -17
  162. package/dist/index-CoB18TbG.d.ts +0 -215
  163. package/dist/index-VI9gyJXl.d.mts +0 -215
  164. package/dist/index.d.mts +0 -5412
  165. package/dist/index.d.ts +0 -5412
  166. package/dist/layout-engine-YZcVr20M.d.mts +0 -19
  167. package/dist/layout-engine-YZcVr20M.d.ts +0 -19
  168. package/dist/lib/i18n-context.d.mts +0 -36
  169. package/dist/lib/i18n-context.d.ts +0 -36
  170. package/dist/lib/router-context.d.mts +0 -35
  171. package/dist/lib/router-context.d.ts +0 -35
  172. package/dist/navigation-BiWVffAN.d.mts +0 -49
  173. package/dist/navigation-BiWVffAN.d.ts +0 -49
  174. package/dist/platform/admin/index.d.mts +0 -17
  175. package/dist/platform/admin/index.d.ts +0 -17
  176. package/dist/platform/agents-workspace.d.mts +0 -19
  177. package/dist/platform/agents-workspace.d.ts +0 -19
  178. package/dist/platform/app-shell.d.mts +0 -58
  179. package/dist/platform/app-shell.d.ts +0 -58
  180. package/dist/platform/auth/index.d.mts +0 -73
  181. package/dist/platform/auth/index.d.ts +0 -73
  182. package/dist/platform/billing/index.d.mts +0 -29
  183. package/dist/platform/billing/index.d.ts +0 -29
  184. package/dist/platform/impersonation/index.d.mts +0 -19
  185. package/dist/platform/impersonation/index.d.ts +0 -19
  186. package/dist/platform/index.d.mts +0 -224
  187. package/dist/platform/index.d.ts +0 -224
  188. package/dist/platform/pages/index.d.mts +0 -432
  189. package/dist/platform/pages/index.d.ts +0 -432
  190. package/dist/platform/rbac.d.mts +0 -41
  191. package/dist/platform/rbac.d.ts +0 -41
  192. package/dist/platform/settings/index.d.mts +0 -31
  193. package/dist/platform/settings/index.d.ts +0 -31
  194. package/dist/platform/telemetry/index.d.mts +0 -51
  195. package/dist/platform/telemetry/index.d.ts +0 -51
  196. package/dist/platform/utils/index.d.mts +0 -32
  197. package/dist/platform/utils/index.d.ts +0 -32
  198. package/dist/platform/windsock-admin-client.d.mts +0 -57
  199. package/dist/platform/windsock-admin-client.d.ts +0 -57
  200. package/dist/platform/workflow-api-client.d.mts +0 -6
  201. package/dist/platform/workflow-api-client.d.ts +0 -6
  202. package/dist/platform/workflow-canvas-shell.d.mts +0 -18
  203. package/dist/platform/workflow-canvas-shell.d.ts +0 -18
  204. package/dist/rule-form-BYJzyork.d.mts +0 -128
  205. package/dist/rule-form-BYJzyork.d.ts +0 -128
  206. package/dist/workflow-api-client-BKD8OfP_.d.ts +0 -468
  207. package/dist/workflow-api-client-DoYj7nHz.d.mts +0 -468
  208. package/dist/workflow-store-o17I6L6A.d.ts +0 -79
  209. package/dist/workflow-store-ppVHdMZi.d.mts +0 -79
  210. package/src/brand/logos/kori-icon.svg +0 -45
  211. package/src/brand/logos/kori-logo-dark.svg +0 -40
  212. package/src/brand/logos/kori-logo.svg +0 -43
@@ -1,32 +0,0 @@
1
- import { WorkflowGraph } from '@datatechsolutions/shared-domain/ports/workflow';
2
- import { WorkflowGraph as WorkflowGraph$1 } from '../../astrlabe/contracts.mjs';
3
-
4
- /** Formats a millisecond count as a short, human-readable duration string. */
5
- declare function formatDurationMs(ms: number | null | undefined): string;
6
-
7
- /**
8
- * Parses a JSON string into a typed value, returning undefined (not throwing)
9
- * on empty input or malformed JSON. Used by form builders where the user types
10
- * JSON into a textarea and we want to surface a friendly "couldn't parse" state
11
- * rather than crashing the submit handler.
12
- */
13
- declare function tryParseJson<T = unknown>(value: FormDataEntryValue | string | null | undefined): T | undefined;
14
- /** Parses JSON into an object record. Returns undefined if the result is not a plain object. */
15
- declare function tryParseJsonObject(value: FormDataEntryValue | string | null | undefined): Record<string, unknown> | undefined;
16
- /** Parses JSON into an array of records. Returns undefined if not a plain array. */
17
- declare function tryParseJsonArray(value: FormDataEntryValue | string | null | undefined): Array<Record<string, unknown>> | undefined;
18
-
19
- type ToolCategory = 'search' | 'code' | 'file' | 'web' | 'math' | 'custom';
20
- declare const TOOL_CATEGORY_VALUES: readonly ToolCategory[];
21
- /** Narrows a form value to a ToolCategory, returning undefined if not one of the known values. */
22
- declare function parseToolCategory(value: FormDataEntryValue | null | undefined): ToolCategory | undefined;
23
-
24
- declare function adaptWorkflowGraphToUi(graph: WorkflowGraph): WorkflowGraph$1;
25
-
26
- declare function getLambdaApiBase(): string;
27
- declare function buildLambdaApiUrl(path: string): string;
28
-
29
- declare function getAuthAppUrl(): string;
30
- declare function buildHostedAuthUrl(path: string, search?: string): string;
31
-
32
- export { TOOL_CATEGORY_VALUES, type ToolCategory, adaptWorkflowGraphToUi, buildHostedAuthUrl, buildLambdaApiUrl, formatDurationMs, getAuthAppUrl, getLambdaApiBase, parseToolCategory, tryParseJson, tryParseJsonArray, tryParseJsonObject };
@@ -1,32 +0,0 @@
1
- import { WorkflowGraph } from '@datatechsolutions/shared-domain/ports/workflow';
2
- import { WorkflowGraph as WorkflowGraph$1 } from '../../astrlabe/contracts.js';
3
-
4
- /** Formats a millisecond count as a short, human-readable duration string. */
5
- declare function formatDurationMs(ms: number | null | undefined): string;
6
-
7
- /**
8
- * Parses a JSON string into a typed value, returning undefined (not throwing)
9
- * on empty input or malformed JSON. Used by form builders where the user types
10
- * JSON into a textarea and we want to surface a friendly "couldn't parse" state
11
- * rather than crashing the submit handler.
12
- */
13
- declare function tryParseJson<T = unknown>(value: FormDataEntryValue | string | null | undefined): T | undefined;
14
- /** Parses JSON into an object record. Returns undefined if the result is not a plain object. */
15
- declare function tryParseJsonObject(value: FormDataEntryValue | string | null | undefined): Record<string, unknown> | undefined;
16
- /** Parses JSON into an array of records. Returns undefined if not a plain array. */
17
- declare function tryParseJsonArray(value: FormDataEntryValue | string | null | undefined): Array<Record<string, unknown>> | undefined;
18
-
19
- type ToolCategory = 'search' | 'code' | 'file' | 'web' | 'math' | 'custom';
20
- declare const TOOL_CATEGORY_VALUES: readonly ToolCategory[];
21
- /** Narrows a form value to a ToolCategory, returning undefined if not one of the known values. */
22
- declare function parseToolCategory(value: FormDataEntryValue | null | undefined): ToolCategory | undefined;
23
-
24
- declare function adaptWorkflowGraphToUi(graph: WorkflowGraph): WorkflowGraph$1;
25
-
26
- declare function getLambdaApiBase(): string;
27
- declare function buildLambdaApiUrl(path: string): string;
28
-
29
- declare function getAuthAppUrl(): string;
30
- declare function buildHostedAuthUrl(path: string, search?: string): string;
31
-
32
- export { TOOL_CATEGORY_VALUES, type ToolCategory, adaptWorkflowGraphToUi, buildHostedAuthUrl, buildLambdaApiUrl, formatDurationMs, getAuthAppUrl, getLambdaApiBase, parseToolCategory, tryParseJson, tryParseJsonArray, tryParseJsonObject };
@@ -1,57 +0,0 @@
1
- import { AuthOrganizationDomain, AuthOrganizationRole, AdminCreateOrganizationInput, AuthOrganization, AdminCreateInvitationInput, AdminCreatePermissionInput, AdminPermission, AdminCreateUserInput, AdminUserSummary, AuthOrganizationInvitation, AdminOrganizationMember, AdminListParams, AdminListResult, AdminClient, AdminUpdateOrganizationInput, AdminUpdatePermissionInput, AdminUpdateUserInput } from '@datatechsolutions/shared-domain';
2
-
3
- declare function setWindsockAdminClient(client: AdminClient, issuer: string, authFetch: typeof fetch): void;
4
- declare function listUsers(params?: AdminListParams): Promise<AdminListResult<AdminUserSummary>>;
5
- declare function createUser(data: AdminCreateUserInput): Promise<AdminUserSummary>;
6
- declare function updateUser(userId: string, data: AdminUpdateUserInput): Promise<void>;
7
- declare function deleteUser(userId: string): Promise<void>;
8
- declare function resetUserPassword(userId: string, password: string): Promise<void>;
9
- declare function listOrganizations(): Promise<AuthOrganization[]>;
10
- declare function createOrganization(data: AdminCreateOrganizationInput): Promise<AuthOrganization>;
11
- declare function updateOrganization(organizationId: string, data: AdminUpdateOrganizationInput): Promise<AuthOrganization>;
12
- declare function deleteOrganization(organizationId: string): Promise<void>;
13
- declare function listOrganizationMembers(organizationId: string): Promise<AdminOrganizationMember[]>;
14
- declare function addOrganizationMember(organizationId: string, userId: string, role?: AuthOrganizationRole): Promise<void>;
15
- declare function removeOrganizationMember(organizationId: string, userId: string): Promise<void>;
16
- declare function listOrganizationInvitations(organizationId: string): Promise<AuthOrganizationInvitation[]>;
17
- declare function createOrganizationInvitation(organizationId: string, data: AdminCreateInvitationInput): Promise<void>;
18
- declare function listOrganizationDomains(organizationId: string): Promise<AuthOrganizationDomain[]>;
19
- declare function addOrganizationDomain(organizationId: string, domain: string): Promise<AuthOrganizationDomain>;
20
- declare function verifyOrganizationDomain(organizationId: string, domain: string): Promise<void>;
21
- declare function listPermissions(): Promise<AdminPermission[]>;
22
- declare function createPermission(data: AdminCreatePermissionInput): Promise<AdminPermission>;
23
- declare function updatePermission(permissionId: string, data: AdminUpdatePermissionInput): Promise<void>;
24
- declare function deletePermission(permissionId: string): Promise<void>;
25
- declare function getUserPermissions(userId: string): Promise<AdminPermission[]>;
26
- declare function setUserPermissions(userId: string, permissionIds: string[]): Promise<void>;
27
- type SecretSummary = {
28
- secretId: string;
29
- name: string;
30
- secretType: string;
31
- description: string | null;
32
- expiresAt: string | null;
33
- createdAt: string;
34
- updatedAt: string;
35
- disabled: boolean;
36
- };
37
- type SecretDetail = SecretSummary & {
38
- value?: string;
39
- };
40
- type CreateSecretInput = {
41
- name: string;
42
- value: string;
43
- secretType?: string;
44
- description?: string;
45
- leaseTtlSeconds?: number;
46
- };
47
- type UpdateSecretInput = {
48
- value: string;
49
- leaseTtlSeconds?: number;
50
- };
51
- declare function listSecrets(organizationId: string): Promise<SecretSummary[]>;
52
- declare function getSecret(organizationId: string, secretId: string): Promise<SecretDetail>;
53
- declare function createSecret(organizationId: string, input: CreateSecretInput): Promise<SecretSummary>;
54
- declare function rotateSecret(organizationId: string, secretId: string, input: UpdateSecretInput): Promise<SecretSummary>;
55
- declare function disableSecret(organizationId: string, secretId: string): Promise<void>;
56
-
57
- export { type CreateSecretInput, type SecretDetail, type SecretSummary, type UpdateSecretInput, addOrganizationDomain, addOrganizationMember, createOrganization, createOrganizationInvitation, createPermission, createSecret, createUser, deleteOrganization, deletePermission, deleteUser, disableSecret, getSecret, getUserPermissions, listOrganizationDomains, listOrganizationInvitations, listOrganizationMembers, listOrganizations, listPermissions, listSecrets, listUsers, removeOrganizationMember, resetUserPassword, rotateSecret, setUserPermissions, setWindsockAdminClient, updateOrganization, updatePermission, updateUser, verifyOrganizationDomain };
@@ -1,57 +0,0 @@
1
- import { AuthOrganizationDomain, AuthOrganizationRole, AdminCreateOrganizationInput, AuthOrganization, AdminCreateInvitationInput, AdminCreatePermissionInput, AdminPermission, AdminCreateUserInput, AdminUserSummary, AuthOrganizationInvitation, AdminOrganizationMember, AdminListParams, AdminListResult, AdminClient, AdminUpdateOrganizationInput, AdminUpdatePermissionInput, AdminUpdateUserInput } from '@datatechsolutions/shared-domain';
2
-
3
- declare function setWindsockAdminClient(client: AdminClient, issuer: string, authFetch: typeof fetch): void;
4
- declare function listUsers(params?: AdminListParams): Promise<AdminListResult<AdminUserSummary>>;
5
- declare function createUser(data: AdminCreateUserInput): Promise<AdminUserSummary>;
6
- declare function updateUser(userId: string, data: AdminUpdateUserInput): Promise<void>;
7
- declare function deleteUser(userId: string): Promise<void>;
8
- declare function resetUserPassword(userId: string, password: string): Promise<void>;
9
- declare function listOrganizations(): Promise<AuthOrganization[]>;
10
- declare function createOrganization(data: AdminCreateOrganizationInput): Promise<AuthOrganization>;
11
- declare function updateOrganization(organizationId: string, data: AdminUpdateOrganizationInput): Promise<AuthOrganization>;
12
- declare function deleteOrganization(organizationId: string): Promise<void>;
13
- declare function listOrganizationMembers(organizationId: string): Promise<AdminOrganizationMember[]>;
14
- declare function addOrganizationMember(organizationId: string, userId: string, role?: AuthOrganizationRole): Promise<void>;
15
- declare function removeOrganizationMember(organizationId: string, userId: string): Promise<void>;
16
- declare function listOrganizationInvitations(organizationId: string): Promise<AuthOrganizationInvitation[]>;
17
- declare function createOrganizationInvitation(organizationId: string, data: AdminCreateInvitationInput): Promise<void>;
18
- declare function listOrganizationDomains(organizationId: string): Promise<AuthOrganizationDomain[]>;
19
- declare function addOrganizationDomain(organizationId: string, domain: string): Promise<AuthOrganizationDomain>;
20
- declare function verifyOrganizationDomain(organizationId: string, domain: string): Promise<void>;
21
- declare function listPermissions(): Promise<AdminPermission[]>;
22
- declare function createPermission(data: AdminCreatePermissionInput): Promise<AdminPermission>;
23
- declare function updatePermission(permissionId: string, data: AdminUpdatePermissionInput): Promise<void>;
24
- declare function deletePermission(permissionId: string): Promise<void>;
25
- declare function getUserPermissions(userId: string): Promise<AdminPermission[]>;
26
- declare function setUserPermissions(userId: string, permissionIds: string[]): Promise<void>;
27
- type SecretSummary = {
28
- secretId: string;
29
- name: string;
30
- secretType: string;
31
- description: string | null;
32
- expiresAt: string | null;
33
- createdAt: string;
34
- updatedAt: string;
35
- disabled: boolean;
36
- };
37
- type SecretDetail = SecretSummary & {
38
- value?: string;
39
- };
40
- type CreateSecretInput = {
41
- name: string;
42
- value: string;
43
- secretType?: string;
44
- description?: string;
45
- leaseTtlSeconds?: number;
46
- };
47
- type UpdateSecretInput = {
48
- value: string;
49
- leaseTtlSeconds?: number;
50
- };
51
- declare function listSecrets(organizationId: string): Promise<SecretSummary[]>;
52
- declare function getSecret(organizationId: string, secretId: string): Promise<SecretDetail>;
53
- declare function createSecret(organizationId: string, input: CreateSecretInput): Promise<SecretSummary>;
54
- declare function rotateSecret(organizationId: string, secretId: string, input: UpdateSecretInput): Promise<SecretSummary>;
55
- declare function disableSecret(organizationId: string, secretId: string): Promise<void>;
56
-
57
- export { type CreateSecretInput, type SecretDetail, type SecretSummary, type UpdateSecretInput, addOrganizationDomain, addOrganizationMember, createOrganization, createOrganizationInvitation, createPermission, createSecret, createUser, deleteOrganization, deletePermission, deleteUser, disableSecret, getSecret, getUserPermissions, listOrganizationDomains, listOrganizationInvitations, listOrganizationMembers, listOrganizations, listPermissions, listSecrets, listUsers, removeOrganizationMember, resetUserPassword, rotateSecret, setUserPermissions, setWindsockAdminClient, updateOrganization, updatePermission, updateUser, verifyOrganizationDomain };
@@ -1,6 +0,0 @@
1
- import '../astrlabe/contracts.mjs';
2
- import '../index-VI9gyJXl.mjs';
3
- import '@datatechsolutions/shared-domain/ports/workflow';
4
- import '@datatechsolutions/shared-domain/common';
5
- export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelFamilyCatalogEntry, m as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, n as NodeValidationIssue, P as PresignUploadInput, o as PresignedUpload, p as PublicSampleWorkflow, q as RunEvent, r as RunSubscriptionState, R as RunTimelineEntry, W as WorkflowRunListParams, s as WorkflowTemplateSummary, t as aiGenerateWorkflow, u as aiValidateWorkflow, v as buildAuthenticatedApiUrl, w as cancelWorkflowRun, x as createAgentConfig, y as createAgentPrompt, z as createAgentRule, B as createAgentTool, C as createAgentToolDefinition, E as createDatasource, F as createModelProviderConnection, G as createWorkflow, H as createWorkflowFromTemplate, I as deleteAgentConfig, J as deleteAgentPrompt, K as deleteAgentRule, L as deleteAgentTool, O as deleteAgentToolDefinition, Q as deleteModelProviderConnection, S as deleteUpload, T as deleteWorkflow, U as executeAgentRule, V as executeWorkflow, X as getAgentConfigsWithPrompts, Y as getAgentModels, Z as getAgentPrompts, _ as getAgentRules, $ as getAgentToolDefinitions, a0 as getAgentTools, a1 as getAnalyticsSummary, a2 as getCurrentAccessToken, a3 as getDatasourceSchema, a4 as getDatasourceTables, a5 as getDatasources, a6 as getPublicSampleWorkflow, a7 as getRunTimeline, a8 as getUploadDownloadUrl, a9 as getWorkflowById, aa as getWorkflowRunById, ab as getWorkflowRuns, ac as getWorkflows, ad as listModelProviderCatalog, ae as listModelProviderConnections, af as listWorkflowRuns, ag as listWorkflowTemplates, ah as presignUpload, ai as publishWorkflow, aj as replayWorkflowRun, ak as saveWorkflowDraft, al as setAccessTokenProvider, am as setAuthenticatedFetch, an as submitApproval, ao as subscribeToRunEvents, ap as updateAgentConfig, aq as updateAgentPrompt, ar as updateAgentRule, as as updateAgentTool, at as updateAgentToolDefinition, au as updateModelProviderConnection, av as updateWorkflowSettings } from '../workflow-api-client-DoYj7nHz.mjs';
6
- import 'react/jsx-runtime';
@@ -1,6 +0,0 @@
1
- import '../astrlabe/contracts.js';
2
- import '../index-CoB18TbG.js';
3
- import '@datatechsolutions/shared-domain/ports/workflow';
4
- import '@datatechsolutions/shared-domain/common';
5
- export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelFamilyCatalogEntry, m as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, n as NodeValidationIssue, P as PresignUploadInput, o as PresignedUpload, p as PublicSampleWorkflow, q as RunEvent, r as RunSubscriptionState, R as RunTimelineEntry, W as WorkflowRunListParams, s as WorkflowTemplateSummary, t as aiGenerateWorkflow, u as aiValidateWorkflow, v as buildAuthenticatedApiUrl, w as cancelWorkflowRun, x as createAgentConfig, y as createAgentPrompt, z as createAgentRule, B as createAgentTool, C as createAgentToolDefinition, E as createDatasource, F as createModelProviderConnection, G as createWorkflow, H as createWorkflowFromTemplate, I as deleteAgentConfig, J as deleteAgentPrompt, K as deleteAgentRule, L as deleteAgentTool, O as deleteAgentToolDefinition, Q as deleteModelProviderConnection, S as deleteUpload, T as deleteWorkflow, U as executeAgentRule, V as executeWorkflow, X as getAgentConfigsWithPrompts, Y as getAgentModels, Z as getAgentPrompts, _ as getAgentRules, $ as getAgentToolDefinitions, a0 as getAgentTools, a1 as getAnalyticsSummary, a2 as getCurrentAccessToken, a3 as getDatasourceSchema, a4 as getDatasourceTables, a5 as getDatasources, a6 as getPublicSampleWorkflow, a7 as getRunTimeline, a8 as getUploadDownloadUrl, a9 as getWorkflowById, aa as getWorkflowRunById, ab as getWorkflowRuns, ac as getWorkflows, ad as listModelProviderCatalog, ae as listModelProviderConnections, af as listWorkflowRuns, ag as listWorkflowTemplates, ah as presignUpload, ai as publishWorkflow, aj as replayWorkflowRun, ak as saveWorkflowDraft, al as setAccessTokenProvider, am as setAuthenticatedFetch, an as submitApproval, ao as subscribeToRunEvents, ap as updateAgentConfig, aq as updateAgentPrompt, ar as updateAgentRule, as as updateAgentTool, at as updateAgentToolDefinition, au as updateModelProviderConnection, av as updateWorkflowSettings } from '../workflow-api-client-BKD8OfP_.js';
6
- import 'react/jsx-runtime';
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { WorkflowCanvasShellProps } from '@datatechsolutions/shared-domain/common';
3
-
4
- /**
5
- * Workflow canvas shell with optional message bundle override.
6
- *
7
- * Most apps wrap their tree in `<I18nProvider>` and let the canvas read
8
- * messages from context — in that case `messages` can be omitted. Apps
9
- * that need to inject a precomputed bundle (e.g. for tests or app-specific
10
- * overrides not shipped with shared-domain) can pass it explicitly.
11
- */
12
- type Props = WorkflowCanvasShellProps & {
13
- /** Optional override for the messages catalog passed into the canvas. */
14
- messages?: Record<string, unknown>;
15
- };
16
- declare function WorkflowCanvasShell({ graph, messages }: Props): react_jsx_runtime.JSX.Element;
17
-
18
- export { WorkflowCanvasShell };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { WorkflowCanvasShellProps } from '@datatechsolutions/shared-domain/common';
3
-
4
- /**
5
- * Workflow canvas shell with optional message bundle override.
6
- *
7
- * Most apps wrap their tree in `<I18nProvider>` and let the canvas read
8
- * messages from context — in that case `messages` can be omitted. Apps
9
- * that need to inject a precomputed bundle (e.g. for tests or app-specific
10
- * overrides not shipped with shared-domain) can pass it explicitly.
11
- */
12
- type Props = WorkflowCanvasShellProps & {
13
- /** Optional override for the messages catalog passed into the canvas. */
14
- messages?: Record<string, unknown>;
15
- };
16
- declare function WorkflowCanvasShell({ graph, messages }: Props): react_jsx_runtime.JSX.Element;
17
-
18
- export { WorkflowCanvasShell };
@@ -1,128 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type ExecutionTimelineStatus = 'completed' | 'running' | 'failed' | 'pending' | 'skipped';
4
- type ExecutionTimelineMetrics = {
5
- tokensIn?: number;
6
- tokensOut?: number;
7
- costUsd?: number;
8
- provider?: string;
9
- model?: string;
10
- };
11
- type ExecutionTimelineEntry = {
12
- nodeId: string;
13
- nodeType: string;
14
- status: ExecutionTimelineStatus;
15
- startedAt: string | null;
16
- completedAt: string | null;
17
- durationMs: number | null;
18
- inputs?: Record<string, unknown>;
19
- outputs?: Record<string, unknown>;
20
- error?: string | null;
21
- metrics?: ExecutionTimelineMetrics;
22
- };
23
- type ExecutionTimelineLabels = {
24
- status: string;
25
- duration: string;
26
- inputs: string;
27
- outputs: string;
28
- error: string;
29
- started: string;
30
- completed: string;
31
- pending: string;
32
- running: string;
33
- failed: string;
34
- skipped: string;
35
- selectNode: string;
36
- model: string;
37
- tokens: string;
38
- cost: string;
39
- /** Used as the empty-state heading when `entries` is empty. */
40
- empty?: string;
41
- };
42
- type ExecutionTimelinePanelProps = {
43
- entries: ExecutionTimelineEntry[];
44
- labels: ExecutionTimelineLabels;
45
- /** When set, drives selection from the parent. Useful when the page
46
- * syncs the selection with a URL query param. */
47
- selectedNodeId?: string;
48
- onSelect?: (nodeId: string) => void;
49
- };
50
- declare function ExecutionTimelinePanel({ entries, labels, selectedNodeId, onSelect, }: ExecutionTimelinePanelProps): react_jsx_runtime.JSX.Element;
51
-
52
- /**
53
- * Rule editing types.
54
- *
55
- * Mirrors the shape the Rust `RuleExecutor`
56
- * (`lambda-rs/crates/astrlabe-handlers/src/engine/executors/rule.rs`) reads
57
- * from `astrlabe.agent_rules.condition` + `action`. The UI builder below
58
- * writes exactly this shape, so round-tripping through the backend is a
59
- * no-op.
60
- */
61
- type SimpleComparisonOperator = 'truthy' | 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains';
62
- type RuleConditionOperator = SimpleComparisonOperator | 'regex_match' | 'threshold' | 'time_window' | 'boolean_expression';
63
- type TimeWindow = {
64
- startHour: number;
65
- endHour: number;
66
- startMinute?: number;
67
- endMinute?: number;
68
- /** 0 = Sunday, 6 = Saturday. Omit to match every day. */
69
- daysOfWeek?: number[];
70
- };
71
- /**
72
- * Canonical rule-condition shape. The executor branches on `operator`,
73
- * so every form tree ultimately serializes to this.
74
- */
75
- type RuleCondition = {
76
- operator: RuleConditionOperator;
77
- /** Simple operators + regex_match + threshold + time_window */
78
- field?: string;
79
- /** Simple operators + threshold */
80
- value?: string | number | boolean | null;
81
- /** regex_match */
82
- pattern?: string;
83
- /** threshold — which direction `value` is compared in. */
84
- comparison?: 'gt' | 'gte' | 'lt' | 'lte';
85
- /** time_window */
86
- timezone?: string;
87
- windows?: TimeWindow[];
88
- /** boolean_expression */
89
- combinator?: 'and' | 'or';
90
- operands?: RuleCondition[];
91
- };
92
- type RuleAction = {
93
- type: string;
94
- params?: Record<string, unknown>;
95
- };
96
- /** `agent_rules.status` free-form string — keep the UI picker aligned
97
- * with the values the engine / audit trail recognizes today. */
98
- declare const RULE_STATUS_OPTIONS: readonly ["draft", "active", "archived"];
99
- type RuleStatus = (typeof RULE_STATUS_OPTIONS)[number];
100
- declare const TIMEZONE_OPTIONS: readonly ["UTC", "America/Sao_Paulo", "America/New_York", "America/Los_Angeles", "Europe/London", "Europe/Lisbon"];
101
-
102
- type RuleFormValue = {
103
- ruleId?: string;
104
- name: string;
105
- description?: string;
106
- enabled: boolean;
107
- priority: number;
108
- status?: RuleStatus;
109
- validFrom?: string | null;
110
- validUntil?: string | null;
111
- tags?: string[];
112
- condition: RuleCondition;
113
- action: RuleAction;
114
- };
115
- type Props = {
116
- value: RuleFormValue;
117
- onChange: (next: RuleFormValue) => void;
118
- };
119
- /**
120
- * Full-field rule editor used inside the create/edit modal. Composes the
121
- * visual condition + action builders and exposes the schedule / tagging /
122
- * lifecycle fields that the `agent_rules` entity has but the old JSON-
123
- * textarea form never surfaced.
124
- */
125
- declare function RuleForm({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
126
- declare function defaultRuleForm(): RuleFormValue;
127
-
128
- export { type ExecutionTimelineLabels as E, type RuleFormValue as R, TIMEZONE_OPTIONS as T, type RuleCondition as a, type RuleAction as b, type ExecutionTimelineEntry as c, type ExecutionTimelineMetrics as d, ExecutionTimelinePanel as e, type ExecutionTimelinePanelProps as f, type ExecutionTimelineStatus as g, RULE_STATUS_OPTIONS as h, type RuleConditionOperator as i, RuleForm as j, type RuleStatus as k, type TimeWindow as l, defaultRuleForm as m };
@@ -1,128 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type ExecutionTimelineStatus = 'completed' | 'running' | 'failed' | 'pending' | 'skipped';
4
- type ExecutionTimelineMetrics = {
5
- tokensIn?: number;
6
- tokensOut?: number;
7
- costUsd?: number;
8
- provider?: string;
9
- model?: string;
10
- };
11
- type ExecutionTimelineEntry = {
12
- nodeId: string;
13
- nodeType: string;
14
- status: ExecutionTimelineStatus;
15
- startedAt: string | null;
16
- completedAt: string | null;
17
- durationMs: number | null;
18
- inputs?: Record<string, unknown>;
19
- outputs?: Record<string, unknown>;
20
- error?: string | null;
21
- metrics?: ExecutionTimelineMetrics;
22
- };
23
- type ExecutionTimelineLabels = {
24
- status: string;
25
- duration: string;
26
- inputs: string;
27
- outputs: string;
28
- error: string;
29
- started: string;
30
- completed: string;
31
- pending: string;
32
- running: string;
33
- failed: string;
34
- skipped: string;
35
- selectNode: string;
36
- model: string;
37
- tokens: string;
38
- cost: string;
39
- /** Used as the empty-state heading when `entries` is empty. */
40
- empty?: string;
41
- };
42
- type ExecutionTimelinePanelProps = {
43
- entries: ExecutionTimelineEntry[];
44
- labels: ExecutionTimelineLabels;
45
- /** When set, drives selection from the parent. Useful when the page
46
- * syncs the selection with a URL query param. */
47
- selectedNodeId?: string;
48
- onSelect?: (nodeId: string) => void;
49
- };
50
- declare function ExecutionTimelinePanel({ entries, labels, selectedNodeId, onSelect, }: ExecutionTimelinePanelProps): react_jsx_runtime.JSX.Element;
51
-
52
- /**
53
- * Rule editing types.
54
- *
55
- * Mirrors the shape the Rust `RuleExecutor`
56
- * (`lambda-rs/crates/astrlabe-handlers/src/engine/executors/rule.rs`) reads
57
- * from `astrlabe.agent_rules.condition` + `action`. The UI builder below
58
- * writes exactly this shape, so round-tripping through the backend is a
59
- * no-op.
60
- */
61
- type SimpleComparisonOperator = 'truthy' | 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains';
62
- type RuleConditionOperator = SimpleComparisonOperator | 'regex_match' | 'threshold' | 'time_window' | 'boolean_expression';
63
- type TimeWindow = {
64
- startHour: number;
65
- endHour: number;
66
- startMinute?: number;
67
- endMinute?: number;
68
- /** 0 = Sunday, 6 = Saturday. Omit to match every day. */
69
- daysOfWeek?: number[];
70
- };
71
- /**
72
- * Canonical rule-condition shape. The executor branches on `operator`,
73
- * so every form tree ultimately serializes to this.
74
- */
75
- type RuleCondition = {
76
- operator: RuleConditionOperator;
77
- /** Simple operators + regex_match + threshold + time_window */
78
- field?: string;
79
- /** Simple operators + threshold */
80
- value?: string | number | boolean | null;
81
- /** regex_match */
82
- pattern?: string;
83
- /** threshold — which direction `value` is compared in. */
84
- comparison?: 'gt' | 'gte' | 'lt' | 'lte';
85
- /** time_window */
86
- timezone?: string;
87
- windows?: TimeWindow[];
88
- /** boolean_expression */
89
- combinator?: 'and' | 'or';
90
- operands?: RuleCondition[];
91
- };
92
- type RuleAction = {
93
- type: string;
94
- params?: Record<string, unknown>;
95
- };
96
- /** `agent_rules.status` free-form string — keep the UI picker aligned
97
- * with the values the engine / audit trail recognizes today. */
98
- declare const RULE_STATUS_OPTIONS: readonly ["draft", "active", "archived"];
99
- type RuleStatus = (typeof RULE_STATUS_OPTIONS)[number];
100
- declare const TIMEZONE_OPTIONS: readonly ["UTC", "America/Sao_Paulo", "America/New_York", "America/Los_Angeles", "Europe/London", "Europe/Lisbon"];
101
-
102
- type RuleFormValue = {
103
- ruleId?: string;
104
- name: string;
105
- description?: string;
106
- enabled: boolean;
107
- priority: number;
108
- status?: RuleStatus;
109
- validFrom?: string | null;
110
- validUntil?: string | null;
111
- tags?: string[];
112
- condition: RuleCondition;
113
- action: RuleAction;
114
- };
115
- type Props = {
116
- value: RuleFormValue;
117
- onChange: (next: RuleFormValue) => void;
118
- };
119
- /**
120
- * Full-field rule editor used inside the create/edit modal. Composes the
121
- * visual condition + action builders and exposes the schedule / tagging /
122
- * lifecycle fields that the `agent_rules` entity has but the old JSON-
123
- * textarea form never surfaced.
124
- */
125
- declare function RuleForm({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
126
- declare function defaultRuleForm(): RuleFormValue;
127
-
128
- export { type ExecutionTimelineLabels as E, type RuleFormValue as R, TIMEZONE_OPTIONS as T, type RuleCondition as a, type RuleAction as b, type ExecutionTimelineEntry as c, type ExecutionTimelineMetrics as d, ExecutionTimelinePanel as e, type ExecutionTimelinePanelProps as f, type ExecutionTimelineStatus as g, RULE_STATUS_OPTIONS as h, type RuleConditionOperator as i, RuleForm as j, type RuleStatus as k, type TimeWindow as l, defaultRuleForm as m };