@burdenoff/fluidgrids-fe-sdk 2026.1111.16 → 2026.1111.17

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 (112) hide show
  1. package/README.md +41 -0
  2. package/dist/AiStudioPage-kJHSsIcj.js +774 -0
  3. package/dist/ApprovalInboxPage-dbBDSJ-f.js +558 -0
  4. package/dist/DataSinkDashboardPage-1h2QsMzH.js +270 -0
  5. package/dist/DataTablesPage-BZy2z0LB.js +1690 -0
  6. package/dist/EntityTagPicker-BqRNsLCQ.js +135 -0
  7. package/dist/{ExecutionDetailPage-D-0_POAf.js → ExecutionDetailPage-BdcZmLT4.js} +799 -4420
  8. package/dist/ExecutionDetailPage-DvQ667OE.d.ts +10 -0
  9. package/dist/ExecutionsListPage-BCUJoAIE.js +2742 -0
  10. package/dist/{FailureTriagePanel-BHiduL7A.js → FailureTriagePanel-B9hDQymi.js} +4 -97
  11. package/dist/{FluidGridsProvider-DmvFADFa.js → FluidGridsProvider-dvZSNtSW.js} +10 -350
  12. package/dist/HistoryPage-BLoRpJ1R.d.ts +6 -0
  13. package/dist/{HistoryPage-BbUgxx1I.js → HistoryPage-U0tqupBN.js} +6 -4
  14. package/dist/HumanRequestCard-D-ooVPDn.js +439 -0
  15. package/dist/{InsightsPage-s6f5bU-8.js → InsightsPage-CALo16eB.js} +17 -328
  16. package/dist/ManagedAiPolicyAuthority-BxwJ3ptd.js +40 -0
  17. package/dist/{ManagedAiPolicyAuthority-CGux_DaV.d.ts → ManagedAiPolicyAuthority-DM3t3wNr.d.ts} +1 -5
  18. package/dist/ManagedAiPolicyAuthorityContext-CNkxIOZ1.js +10 -0
  19. package/dist/{MissingNodesInstallModal-B-9gHy2K.js → MissingNodesInstallModal-CMybsI8h.js} +3 -2
  20. package/dist/{NodesPage-ClvhUfbh.js → NodesPage-Bf5PhfBK.js} +7 -3
  21. package/dist/NodesPage-DEbnz9iU.d.ts +6 -0
  22. package/dist/{PublishCustomNodeAction-D2F7oN0S.js → PublishCustomNodeAction-5XXnSA3H.js} +3 -45
  23. package/dist/QuotaExhaustedDialog-7IFSaLyi.js +54 -0
  24. package/dist/RunnerStatusPill-Ctg4TJcP.js +187 -0
  25. package/dist/RunnersPage-CLCOCclc.js +467 -0
  26. package/dist/{ManagedAiPolicyAuthority-DsSaz-vg.js → SettingsPage-CgkRlCM5.js} +19 -50
  27. package/dist/SettingsPage-DMHQFj5-.d.ts +9 -0
  28. package/dist/TagFilterSelect-DCBOH6Ou.js +41 -0
  29. package/dist/TaskQueuesPage-9VgSnLdL.js +951 -0
  30. package/dist/TemplateCard-DsC0KNH1.js +1416 -0
  31. package/dist/{TemplateConfigurationModal-D_Mvgxqa.js → TemplateConfigurationModal-BhGWIzpm.js} +3 -2
  32. package/dist/{TemplateDetailPanel-DfFfUcOe.js → TemplateDetailPanel-D4cUVr-m.js} +3 -3
  33. package/dist/TemplatePreview-GthzCOSo.js +231 -0
  34. package/dist/TemplatesPage-BG3H-6v6.d.ts +10 -0
  35. package/dist/{TemplatesPage-Cku13bav.js → TemplatesPage-CsDNT54N.js} +11 -228
  36. package/dist/VariablesPage-67WR_lVE.js +949 -0
  37. package/dist/{VersionDiffDialog-Dq2xlPFI.js → VersionDiffDialog-DSN0mU0f.js} +2 -1
  38. package/dist/WorkflowBuilder-DEi_9YOb.js +555 -0
  39. package/dist/{WorkflowSearchRedirect-CaoOOpEl.js → WorkflowBuilder-iPqXgbYr.js} +19 -585
  40. package/dist/{WorkflowProposalCard-8Vr56kQa.js → WorkflowProposalCard-qrEeNyYG.js} +4 -405
  41. package/dist/WorkflowSearchRedirect-DwDNZ_q5.js +36 -0
  42. package/dist/{WorkflowShareDialog-6RRDe-_v.js → WorkflowShareDialog-B_gn968c.js} +6 -52
  43. package/dist/{WorkflowsList-B2j1Pehb.js → WorkflowsList-CA20dVIl.js} +11 -6
  44. package/dist/WorkflowsList-CcNDQge5.d.ts +6 -0
  45. package/dist/agent-form-Bfvm32j1.js +83 -0
  46. package/dist/{agentTools-DJ5o2ekg.js → agentTools-CkRJB7r5.js} +3 -2
  47. package/dist/{ai-usage-D5p7ZeRR.js → ai-usage-glCwHyQz.js} +1 -1
  48. package/dist/api-BrCHB5oA.js +224 -0
  49. package/dist/api-C8e0iV-Q.js +55 -0
  50. package/dist/button-DG7y_FVJ.js +48 -0
  51. package/dist/{canvasNoteTools-D3zUdEeg.js → canvasNoteTools-CQIc7Oxg.js} +2 -2
  52. package/dist/client-C9XSzSXr.js +1147 -0
  53. package/dist/{codec-client-DstqyzTN.js → codec-client-CJ95Rmqo.js} +1 -1
  54. package/dist/constants-B2lhWNoN.js +202 -0
  55. package/dist/constants-XdvUxeWK.d.ts +162 -0
  56. package/dist/dialog-Cjb4lB4D.js +105 -0
  57. package/dist/executions.d.ts +1 -1
  58. package/dist/executions.js +2 -1
  59. package/dist/feature-flags-DM5myWaD.js +296 -0
  60. package/dist/flags.d.ts +3 -0
  61. package/dist/flags.js +4 -0
  62. package/dist/{flow-builder-DEzT8TQu.js → flow-builder-y2Y1iG4Y.js} +70 -1731
  63. package/dist/{node-endpoint-configs-DHFGA5MQ.js → graphql-operation-types-kX-MMjgW.js} +1 -1194
  64. package/dist/{graphql-types-XcDLtFwU.js → graphql-types-CDKVWH2R.js} +2 -202
  65. package/dist/history.d.ts +1 -1
  66. package/dist/history.js +1 -1
  67. package/dist/index-72XFgvbn.d.ts +132 -0
  68. package/dist/index-BcdtKBM-.d.ts +56 -0
  69. package/dist/{index-B3BWqafN.d.ts → index-DjiFgEQl.d.ts} +5 -131
  70. package/dist/{index-DRf25-D3.d.ts → index-W2o__Nm6.d.ts} +32 -214
  71. package/dist/index.d.ts +13 -9
  72. package/dist/index.js +50 -5300
  73. package/dist/{node-detail-view-LNqeIqN-.js → node-detail-view-B91kXzIy.js} +11 -8
  74. package/dist/node-endpoint-configs-B5bjNMDW.js +37 -0
  75. package/dist/node-registry-refresh-Dy0uRg9f.js +84 -0
  76. package/dist/nodes.d.ts +1 -1
  77. package/dist/nodes.js +1 -1
  78. package/dist/observability.d.ts +1 -1
  79. package/dist/observability.js +2 -1
  80. package/dist/{quick-config-panel-D3ogsaFL.js → quick-config-panel-DggPl1vY.js} +2 -2
  81. package/dist/rolldown-runtime-hDbaFkMy.js +18 -0
  82. package/dist/run-display-BycKYSU0.js +46 -0
  83. package/dist/run-list-links-ByYC0OlV.js +98 -0
  84. package/dist/settings.d.ts +2 -1
  85. package/dist/settings.js +2 -1
  86. package/dist/shared-CMfn30xT.js +196 -0
  87. package/dist/templates.d.ts +1 -1
  88. package/dist/templates.js +2 -1
  89. package/dist/theme-provider-B3mIuz2d.js +11 -0
  90. package/dist/{useAgentDefinitions-NFtLytDR.js → useAgentDefinitions-Dpz0HDTq.js} +2 -1
  91. package/dist/useDurableParity-CzUQMFJ3.js +415 -0
  92. package/dist/useEntityTags-DhnsZcTl.js +236 -0
  93. package/dist/{useExecutions-DAzeWHS6.js → useExecutions-9aLuOt1c.js} +4 -3
  94. package/dist/{useObservability-COCZ0hUS.js → useObservability-CfEw3ZFD.js} +2 -2
  95. package/dist/{useRunHistory-CsYUbouO.js → useRunHistory-B1xJDwl1.js} +4 -3
  96. package/dist/{useWorkflows-w4Dx2fF2.js → useWorkflows-BlVVu8NM.js} +3 -2
  97. package/dist/utils-uaL5UVxb.js +65 -0
  98. package/dist/workflow-builder.d.ts +1 -1
  99. package/dist/workflow-builder.js +4 -2
  100. package/dist/workflow-host.d.ts +6 -0
  101. package/dist/workflow-host.js +9 -0
  102. package/dist/workflow-pages.d.ts +55 -0
  103. package/dist/workflow-pages.js +113 -0
  104. package/dist/workflows-list.d.ts +1 -1
  105. package/dist/workflows-list.js +1 -1
  106. package/package.json +13 -1
  107. package/dist/ExecutionDetailPage-MvsnOnE1.d.ts +0 -4
  108. package/dist/HistoryPage-BqUizaFv.d.ts +0 -3
  109. package/dist/NodesPage-C97-9K2Y.d.ts +0 -3
  110. package/dist/TemplatesPage-D0qnXzHh.d.ts +0 -4
  111. package/dist/WorkflowsList-0d5GSKdh.d.ts +0 -3
  112. package/dist/agent-form-BvMWhQ42.js +0 -496
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { HC as OptimisationDismissReason, UC as OptimisationKind } from "./graphql-types-XcDLtFwU.js";
2
+ import { HC as OptimisationDismissReason, UC as OptimisationKind } from "./graphql-types-CDKVWH2R.js";
3
3
 
4
4
  // src/modules/observability/optimisation.ts
5
5
  /** The look-back window the detectors use when the evidence does not say. */
@@ -0,0 +1,224 @@
1
+ "use client";
2
+ import { d as readTyped, f as writeTyped } from "./shared-CMfn30xT.js";
3
+ import { C as CompleteActivityByIdDocument, E as CreateActivityPauseRuleDocument, Fn as StartBatchExportDocument, In as StartBatchOperationDocument, It as PauseActivityDocument, J as DeleteWorkflowSearchAttributeDocument, Jn as TriggerWorkflowScheduleDocument, Kt as QueryWorkflowRunDocument, Ln as StartBatchTerminateDocument, N as CreateWorkflowSearchAttributeDocument, P as CreateWorkflowSignalTokenDocument, Rt as PauseWorkflowScheduleDocument, S as CodecServerSettingsDocument, Sr as WorkflowBatchOperationsDocument, V as DeleteActivityPauseRuleDocument, Xn as UnpauseActivityDocument, Xr as WorkflowRunHistoryArchiveDocument, Zn as UnpauseWorkflowScheduleDocument, _ as CancelBatchOperationDocument, br as WorkflowBatchOperationDocument, ci as WorkflowSearchAttributesDocument, di as WorkflowSignalTokensDocument, dr as UpsertWorkflowRunSearchAttributesDocument, er as UpdateActivityOptionsDocument, f as BackfillWorkflowScheduleDocument, ft as FailActivityByIdDocument, gr as WorkflowActivityPauseRulesDocument, ii as WorkflowScheduleDescribeDocument, in as ResetWorkflowRunToLastCleanTaskDocument, ln as RevokeWorkflowSignalTokenDocument, lr as UpdateWorkflowRunDocument, nn as ResetActivityDocument, nr as UpdateCodecServerSettingsDocument, pn as RunControlFieldsDocument, rn as ResetWorkflowRunDocument, ti as WorkflowRunUpdateDocument, tr as UpdateArchiveSettingsDocument, u as ArchiveSettingsDocument, wr as WorkflowCodeBundleSdkDocument } from "./graphql-operation-types-kX-MMjgW.js";
4
+
5
+ // src/modules/run-control/api.ts
6
+ /**
7
+ * Phase C run control (BOFF-9906): the reads and writes the run page, the
8
+ * Runs list, Settings and the builder's schedule panel send. Each is a plain
9
+ * network call through the shared FluidGrids client; the callers send them
10
+ * only while the matching Phase C flag is on (usePhaseCFlags), so with every
11
+ * flag off none of these operations is ever sent.
12
+ */
13
+ /**
14
+ * A JSON scalar argument. Codegen types every JSON scalar as an object
15
+ * record, but the service takes any JSON value (a string, a number, an
16
+ * array); the value is sent as is, so this is the one place the generated
17
+ * record type is widened.
18
+ */
19
+ function jsonArg(value) {
20
+ if (value === void 0) return null;
21
+ return value;
22
+ }
23
+ async function fetchRunControlFields(runId) {
24
+ return (await readTyped(RunControlFieldsDocument, { id: runId })).workflowRun ?? null;
25
+ }
26
+ async function fetchRunHistoryArchive(runId) {
27
+ return (await readTyped(WorkflowRunHistoryArchiveDocument, { runId })).workflowRunHistory;
28
+ }
29
+ async function queryRun(input) {
30
+ return (await readTyped(QueryWorkflowRunDocument, {
31
+ runId: input.runId,
32
+ name: input.name,
33
+ args: jsonArg(input.args),
34
+ rejectCondition: input.rejectCondition ?? null
35
+ })).queryWorkflowRun;
36
+ }
37
+ async function sendRunUpdate(input) {
38
+ return (await writeTyped(UpdateWorkflowRunDocument, {
39
+ runId: input.runId,
40
+ name: input.name,
41
+ args: jsonArg(input.args),
42
+ updateId: input.updateId,
43
+ waitFor: input.waitFor,
44
+ timeoutMs: input.timeoutMs ?? null
45
+ })).updateWorkflowRun;
46
+ }
47
+ async function fetchRunUpdate(runId, updateId) {
48
+ return (await readTyped(WorkflowRunUpdateDocument, {
49
+ runId,
50
+ updateId
51
+ })).workflowRunUpdate;
52
+ }
53
+ async function pauseActivities(input) {
54
+ await writeTyped(PauseActivityDocument, input);
55
+ }
56
+ async function unpauseActivities(input) {
57
+ await writeTyped(UnpauseActivityDocument, {
58
+ runId: input.runId,
59
+ selector: input.selector,
60
+ resetAttempts: input.resetAttempts ?? false,
61
+ resetHeartbeat: input.resetHeartbeat ?? false
62
+ });
63
+ }
64
+ async function resetActivities(input) {
65
+ await writeTyped(ResetActivityDocument, {
66
+ runId: input.runId,
67
+ selector: input.selector,
68
+ resetHeartbeat: input.resetHeartbeat ?? false
69
+ });
70
+ }
71
+ async function updateActivityOptions(input) {
72
+ await writeTyped(UpdateActivityOptionsDocument, input);
73
+ }
74
+ async function completeActivityById(input) {
75
+ return (await writeTyped(CompleteActivityByIdDocument, {
76
+ runId: input.runId,
77
+ activityId: input.activityId,
78
+ result: jsonArg(input.result)
79
+ })).completeActivityById;
80
+ }
81
+ async function failActivityById(input) {
82
+ return (await writeTyped(FailActivityByIdDocument, input)).failActivityById;
83
+ }
84
+ /** The run the reset forked (the original is terminated with RESET). */
85
+ async function resetRun(input) {
86
+ return (await writeTyped(ResetWorkflowRunDocument, {
87
+ runId: input.runId,
88
+ to: input.to,
89
+ reason: input.reason?.trim() || null,
90
+ reapplySignals: input.reapplySignals ?? true,
91
+ reapplyUpdates: input.reapplyUpdates ?? true
92
+ })).resetWorkflowRun;
93
+ }
94
+ async function resetRunToLastCleanTask(input) {
95
+ return (await writeTyped(ResetWorkflowRunToLastCleanTaskDocument, {
96
+ runId: input.runId,
97
+ reason: input.reason?.trim() || null
98
+ })).resetWorkflowRunToLastCleanTask;
99
+ }
100
+ async function fetchSignalTokens(runId) {
101
+ return (await readTyped(WorkflowSignalTokensDocument, { runId })).workflowSignalTokens;
102
+ }
103
+ async function createSignalToken(input) {
104
+ return (await writeTyped(CreateWorkflowSignalTokenDocument, { input })).createWorkflowSignalToken;
105
+ }
106
+ async function revokeSignalToken(id) {
107
+ return (await writeTyped(RevokeWorkflowSignalTokenDocument, { id })).revokeWorkflowSignalToken;
108
+ }
109
+ async function fetchSearchAttributes() {
110
+ return (await readTyped(WorkflowSearchAttributesDocument, {})).workflowSearchAttributes;
111
+ }
112
+ async function createSearchAttribute(input) {
113
+ return (await writeTyped(CreateWorkflowSearchAttributeDocument, { input: {
114
+ name: input.name.trim(),
115
+ type: input.type,
116
+ description: input.description?.trim() || null
117
+ } })).createWorkflowSearchAttribute;
118
+ }
119
+ async function deleteSearchAttribute(id) {
120
+ return (await writeTyped(DeleteWorkflowSearchAttributeDocument, { id })).deleteWorkflowSearchAttribute;
121
+ }
122
+ async function upsertRunSearchAttributes(runId, attributes) {
123
+ return (await writeTyped(UpsertWorkflowRunSearchAttributesDocument, {
124
+ runId,
125
+ attributes
126
+ })).upsertWorkflowRunSearchAttributes.searchAttributes;
127
+ }
128
+ async function fetchPauseRules() {
129
+ return (await readTyped(WorkflowActivityPauseRulesDocument, {})).workflowActivityPauseRules;
130
+ }
131
+ async function createPauseRule(input) {
132
+ return (await writeTyped(CreateActivityPauseRuleDocument, { input })).createActivityPauseRule;
133
+ }
134
+ async function deletePauseRule(id) {
135
+ return (await writeTyped(DeleteActivityPauseRuleDocument, { id })).deleteActivityPauseRule;
136
+ }
137
+ async function fetchCodecServerSettings() {
138
+ return (await readTyped(CodecServerSettingsDocument, {})).workflowExecutionSettings ?? {
139
+ __typename: "WorkflowExecutionSettings",
140
+ codecServerUrl: null,
141
+ codecServerIncludeCredentials: false
142
+ };
143
+ }
144
+ async function saveCodecServerSettings(input) {
145
+ return (await writeTyped(UpdateCodecServerSettingsDocument, input)).updateWorkflowExecutionSettings;
146
+ }
147
+ async function fetchArchiveSettings() {
148
+ return (await readTyped(ArchiveSettingsDocument, {})).workflowExecutionSettings?.archive ?? null;
149
+ }
150
+ async function saveArchiveSettings(archive) {
151
+ return (await writeTyped(UpdateArchiveSettingsDocument, {
152
+ archive,
153
+ clearArchive: null
154
+ })).updateWorkflowExecutionSettings.archive ?? null;
155
+ }
156
+ async function clearArchiveSettings() {
157
+ await writeTyped(UpdateArchiveSettingsDocument, {
158
+ archive: null,
159
+ clearArchive: true
160
+ });
161
+ }
162
+ async function startBatchOperation(input) {
163
+ return (await writeTyped(StartBatchOperationDocument, { input })).startBatchOperation;
164
+ }
165
+ async function startBatchTerminate(input) {
166
+ return (await writeTyped(StartBatchTerminateDocument, { input })).startBatchTerminate;
167
+ }
168
+ async function startBatchExport(input) {
169
+ return (await writeTyped(StartBatchExportDocument, { input })).startBatchExport;
170
+ }
171
+ async function cancelBatchOperation(id) {
172
+ return (await writeTyped(CancelBatchOperationDocument, { id })).cancelBatchOperation;
173
+ }
174
+ async function fetchBatchOperation(id) {
175
+ return (await readTyped(WorkflowBatchOperationDocument, { id })).workflowBatchOperation;
176
+ }
177
+ async function fetchBatchOperations(input) {
178
+ const page = (await readTyped(WorkflowBatchOperationsDocument, {
179
+ status: input.status ?? null,
180
+ first: input.first ?? 20,
181
+ after: input.after ?? null
182
+ })).workflowBatchOperations;
183
+ return {
184
+ items: page.items,
185
+ nextCursor: page.nextCursor ?? null
186
+ };
187
+ }
188
+ async function describeSchedule(workflowKey, triggerNodeId) {
189
+ return (await readTyped(WorkflowScheduleDescribeDocument, {
190
+ workflowKey,
191
+ triggerNodeId
192
+ })).workflowScheduleDescribe;
193
+ }
194
+ async function triggerSchedule(input) {
195
+ return (await writeTyped(TriggerWorkflowScheduleDocument, {
196
+ workflowKey: input.workflowKey,
197
+ triggerNodeId: input.triggerNodeId,
198
+ overlapPolicy: input.overlapPolicy ?? null
199
+ })).triggerWorkflowSchedule;
200
+ }
201
+ async function backfillSchedule(input) {
202
+ return (await writeTyped(BackfillWorkflowScheduleDocument, {
203
+ ...input,
204
+ overlapPolicy: input.overlapPolicy ?? null
205
+ })).backfillWorkflowSchedule;
206
+ }
207
+ async function pauseSchedule(input) {
208
+ return (await writeTyped(PauseWorkflowScheduleDocument, {
209
+ workflowKey: input.workflowKey,
210
+ triggerNodeId: input.triggerNodeId,
211
+ note: input.note?.trim() || null
212
+ })).pauseWorkflowSchedule;
213
+ }
214
+ async function unpauseSchedule(input) {
215
+ return (await writeTyped(UnpauseWorkflowScheduleDocument, input)).unpauseWorkflowSchedule;
216
+ }
217
+ async function fetchCodeBundleSdk(workflowKey, version) {
218
+ return (await readTyped(WorkflowCodeBundleSdkDocument, {
219
+ workflowKey,
220
+ version
221
+ })).workflowCodeBundle ?? null;
222
+ }
223
+
224
+ export { revokeSignalToken as A, updateActivityOptions as B, jsonArg as C, resetActivities as D, queryRun as E, startBatchOperation as F, startBatchTerminate as I, triggerSchedule as L, saveCodecServerSettings as M, sendRunUpdate as N, resetRun as O, startBatchExport as P, unpauseActivities as R, fetchSignalTokens as S, pauseSchedule as T, upsertRunSearchAttributes as V, fetchPauseRules as _, createPauseRule as a, fetchRunUpdate as b, deletePauseRule as c, failActivityById as d, fetchArchiveSettings as f, fetchCodecServerSettings as g, fetchCodeBundleSdk as h, completeActivityById as i, saveArchiveSettings as j, resetRunToLastCleanTask as k, deleteSearchAttribute as l, fetchBatchOperations as m, cancelBatchOperation as n, createSearchAttribute as o, fetchBatchOperation as p, clearArchiveSettings as r, createSignalToken as s, backfillSchedule as t, describeSchedule as u, fetchRunControlFields as v, pauseActivities as w, fetchSearchAttributes as x, fetchRunHistoryArchive as y, unpauseSchedule as z };
@@ -0,0 +1,55 @@
1
+ "use client";
2
+ import { d as readTyped, f as writeTyped } from "./shared-CMfn30xT.js";
3
+ import { Ci as WorkflowWorkersDocument, H as DeleteTaskQueueDocument, O as CreateTaskQueueDocument, U as DeleteWorkerTokenDocument, Un as TaskQueueStatsDocument, Wn as TaskQueuesDocument, ar as UpdateTaskQueueDocument, k as CreateWorkerTokenDocument, kn as SetWorkerTokenConnectionAllowlistDocument, mr as WorkerTokensDocument, un as RotateWorkerTokenDocument } from "./graphql-operation-types-kX-MMjgW.js";
4
+
5
+ // src/modules/task-queues/api.ts
6
+ /**
7
+ * Task queues and self-hosted workers (BOFF-9906, spec code-first 04 §8 and
8
+ * 08 §3): the queue CRUD and stats of wspace-workflow-svc, and the workers
9
+ * and worker tokens of wspace-sandbox-svc, both through the workspace
10
+ * gateway. Sent only while fluidgrids.self-hosted-workers is on.
11
+ */
12
+ async function fetchTaskQueues() {
13
+ return (await readTyped(TaskQueuesDocument, {})).taskQueues;
14
+ }
15
+ async function fetchTaskQueueStats(name, environment) {
16
+ return (await readTyped(TaskQueueStatsDocument, {
17
+ name,
18
+ environment: environment ?? null
19
+ })).taskQueueStats;
20
+ }
21
+ async function createTaskQueue(input) {
22
+ return (await writeTyped(CreateTaskQueueDocument, { input })).createTaskQueue;
23
+ }
24
+ async function updateTaskQueue(id, input) {
25
+ return (await writeTyped(UpdateTaskQueueDocument, {
26
+ id,
27
+ input
28
+ })).updateTaskQueue;
29
+ }
30
+ async function deleteTaskQueue(id) {
31
+ return (await writeTyped(DeleteTaskQueueDocument, { id })).deleteTaskQueue;
32
+ }
33
+ async function fetchWorkflowWorkers(filter) {
34
+ return (await readTyped(WorkflowWorkersDocument, { filter: filter ?? null })).workflowWorkers;
35
+ }
36
+ async function fetchWorkerTokens() {
37
+ return (await readTyped(WorkerTokensDocument, {})).workerTokens;
38
+ }
39
+ async function createWorkerToken(input) {
40
+ return (await writeTyped(CreateWorkerTokenDocument, input)).createWorkerToken;
41
+ }
42
+ async function rotateWorkerToken(id) {
43
+ return (await writeTyped(RotateWorkerTokenDocument, { id })).rotateWorkerToken;
44
+ }
45
+ async function deleteWorkerToken(id) {
46
+ return (await writeTyped(DeleteWorkerTokenDocument, { id })).deleteWorkerToken;
47
+ }
48
+ async function setWorkerTokenConnectionAllowlist(id, names) {
49
+ return (await writeTyped(SetWorkerTokenConnectionAllowlistDocument, {
50
+ id,
51
+ names
52
+ })).setWorkerTokenConnectionAllowlist;
53
+ }
54
+
55
+ export { fetchTaskQueueStats as a, fetchWorkflowWorkers as c, updateTaskQueue as d, deleteWorkerToken as i, rotateWorkerToken as l, createWorkerToken as n, fetchTaskQueues as o, deleteTaskQueue as r, fetchWorkerTokens as s, createTaskQueue as t, setWorkerTokenConnectionAllowlist as u };
@@ -0,0 +1,48 @@
1
+ "use client";
2
+ import { t as cn } from "./cn-QqidFIgr.js";
3
+ import "react";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Slot } from "@radix-ui/react-slot";
6
+ import { cva } from "class-variance-authority";
7
+
8
+ // src/ui/button.tsx
9
+ const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*=\"size-\"])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", {
10
+ variants: {
11
+ variant: {
12
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
13
+ destructive: "bg-action-danger-bg text-action-danger-text hover:bg-action-danger-bgHover",
14
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",
15
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
16
+ ghost: "hover:bg-accent hover:text-accent-foreground",
17
+ link: "text-primary underline-offset-4 hover:underline"
18
+ },
19
+ size: {
20
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
21
+ xs: "h-7 rounded-md gap-1 px-2 text-xs has-[>svg]:px-1.5",
22
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
23
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
24
+ icon: "size-9",
25
+ "icon-sm": "size-8",
26
+ "icon-lg": "size-10"
27
+ }
28
+ },
29
+ defaultVariants: {
30
+ variant: "default",
31
+ size: "default"
32
+ }
33
+ });
34
+ function Button({ className, variant = "default", size = "default", asChild = false, ...props }) {
35
+ return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
36
+ "data-slot": "button",
37
+ "data-variant": variant,
38
+ "data-size": size,
39
+ className: cn(buttonVariants({
40
+ variant,
41
+ size,
42
+ className
43
+ })),
44
+ ...props
45
+ });
46
+ }
47
+
48
+ export { buttonVariants as n, Button as t };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { n as useAgentMarksStore, r as toPlainText } from "./marksStore-DGCXjTmZ.js";
3
- import { J as paramsFromOperation, K as nodeTitle, Y as selectedOperationOf } from "./FluidGridsProvider-DmvFADFa.js";
3
+ import { J as paramsFromOperation, K as nodeTitle, Y as selectedOperationOf } from "./FluidGridsProvider-dvZSNtSW.js";
4
4
  import { H as useFlowStore } from "./node-operation-selection--oy-yEq_.js";
5
- import { g as notesKeyOf } from "./flow-builder-DEzT8TQu.js";
5
+ import { g as notesKeyOf } from "./flow-builder-y2Y1iG4Y.js";
6
6
  import { AgentToolError, defineAgentTool } from "@burdenoff/fe-libs/shared/agent-tools";
7
7
  import { z } from "zod";
8
8