@datatechsolutions/ui 2.11.90 → 2.11.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -39
- package/dist/astrlabe/index.js +108 -106
- package/dist/astrlabe/index.mjs +5 -3
- package/dist/astrlabe/workflow-canvas.js +5 -3
- package/dist/astrlabe/workflow-canvas.mjs +4 -2
- package/dist/{chunk-M7PKDVKA.js → chunk-24QKSC74.js} +6 -6
- package/dist/{chunk-M7PKDVKA.js.map → chunk-24QKSC74.js.map} +1 -1
- package/dist/{chunk-R5D6LLDF.js → chunk-2RDGJXYZ.js} +67 -67
- package/dist/{chunk-R5D6LLDF.js.map → chunk-2RDGJXYZ.js.map} +1 -1
- package/dist/{chunk-MR3BLQAU.mjs → chunk-3PKG4KFY.mjs} +4 -4
- package/dist/{chunk-MR3BLQAU.mjs.map → chunk-3PKG4KFY.mjs.map} +1 -1
- package/dist/{chunk-T3S6KZN3.mjs → chunk-3SUFSAP6.mjs} +3 -3
- package/dist/{chunk-T3S6KZN3.mjs.map → chunk-3SUFSAP6.mjs.map} +1 -1
- package/dist/{chunk-QHTA2ISY.js → chunk-43GCSCQA.js} +12 -12
- package/dist/{chunk-QHTA2ISY.js.map → chunk-43GCSCQA.js.map} +1 -1
- package/dist/{chunk-UZ3FGGUP.mjs → chunk-4TY55HGO.mjs} +3 -3
- package/dist/{chunk-UZ3FGGUP.mjs.map → chunk-4TY55HGO.mjs.map} +1 -1
- package/dist/{chunk-RTQOGG4T.mjs → chunk-6NAZVG2O.mjs} +4 -4
- package/dist/{chunk-RTQOGG4T.mjs.map → chunk-6NAZVG2O.mjs.map} +1 -1
- package/dist/{chunk-S3JHPXOX.mjs → chunk-A3BFURJB.mjs} +560 -6
- package/dist/chunk-A3BFURJB.mjs.map +1 -0
- package/dist/{chunk-YXPHJ2BQ.js → chunk-ARVLVWUC.js} +18 -5
- package/dist/chunk-ARVLVWUC.js.map +1 -0
- package/dist/{chunk-FXLGNKP4.js → chunk-BUI7BCUN.js} +33 -33
- package/dist/{chunk-FXLGNKP4.js.map → chunk-BUI7BCUN.js.map} +1 -1
- package/dist/{chunk-APXM5GFL.js → chunk-DADFESAQ.js} +4 -4
- package/dist/{chunk-APXM5GFL.js.map → chunk-DADFESAQ.js.map} +1 -1
- package/dist/{chunk-64DLD6FB.js → chunk-DB64YDV2.js} +55 -55
- package/dist/{chunk-64DLD6FB.js.map → chunk-DB64YDV2.js.map} +1 -1
- package/dist/{chunk-WAOCUWO3.js → chunk-DIMLLLZR.js} +36 -36
- package/dist/{chunk-WAOCUWO3.js.map → chunk-DIMLLLZR.js.map} +1 -1
- package/dist/{chunk-K6FX26BG.mjs → chunk-DWFLIXES.mjs} +3 -3
- package/dist/{chunk-K6FX26BG.mjs.map → chunk-DWFLIXES.mjs.map} +1 -1
- package/dist/{chunk-7GDDBF6E.js → chunk-FUVJHNNI.js} +67 -67
- package/dist/{chunk-7GDDBF6E.js.map → chunk-FUVJHNNI.js.map} +1 -1
- package/dist/{chunk-FS6SU7RE.mjs → chunk-HGN5W56D.mjs} +3 -3
- package/dist/{chunk-FS6SU7RE.mjs.map → chunk-HGN5W56D.mjs.map} +1 -1
- package/dist/{chunk-TLTYLDX4.mjs → chunk-LKJZGFM4.mjs} +3 -3
- package/dist/{chunk-TLTYLDX4.mjs.map → chunk-LKJZGFM4.mjs.map} +1 -1
- package/dist/{chunk-MWZQF2D5.js → chunk-MEEFOZC4.js} +4 -4
- package/dist/{chunk-MWZQF2D5.js.map → chunk-MEEFOZC4.js.map} +1 -1
- package/dist/{chunk-ZV5ZRT6E.mjs → chunk-MLAXYDEU.mjs} +3 -3
- package/dist/{chunk-ZV5ZRT6E.mjs.map → chunk-MLAXYDEU.mjs.map} +1 -1
- package/dist/{chunk-5NOWS6T3.mjs → chunk-MZAS6TG4.mjs} +3 -3
- package/dist/{chunk-5NOWS6T3.mjs.map → chunk-MZAS6TG4.mjs.map} +1 -1
- package/dist/{chunk-DIKLHCEM.js → chunk-NA57KK4O.js} +4 -4
- package/dist/{chunk-DIKLHCEM.js.map → chunk-NA57KK4O.js.map} +1 -1
- package/dist/{chunk-ULWVYDDG.js → chunk-PTGPQJZJ.js} +15 -15
- package/dist/{chunk-ULWVYDDG.js.map → chunk-PTGPQJZJ.js.map} +1 -1
- package/dist/{chunk-64G2HBRQ.mjs → chunk-PU2KTO4O.mjs} +18 -6
- package/dist/chunk-PU2KTO4O.mjs.map +1 -0
- package/dist/{chunk-QYH6WLKE.mjs → chunk-RELMVNNR.mjs} +4 -4
- package/dist/{chunk-QYH6WLKE.mjs.map → chunk-RELMVNNR.mjs.map} +1 -1
- package/dist/{chunk-FDK3PUTV.js → chunk-SFVSDGNF.js} +129 -129
- package/dist/{chunk-FDK3PUTV.js.map → chunk-SFVSDGNF.js.map} +1 -1
- package/dist/{chunk-5EBDOY4M.js → chunk-TBPWMPZU.js} +26 -26
- package/dist/{chunk-5EBDOY4M.js.map → chunk-TBPWMPZU.js.map} +1 -1
- package/dist/{chunk-ODEUUB2T.mjs → chunk-VGSWSQQU.mjs} +4 -4
- package/dist/{chunk-ODEUUB2T.mjs.map → chunk-VGSWSQQU.mjs.map} +1 -1
- package/dist/{chunk-76XIV6VV.mjs → chunk-WI663467.mjs} +7 -7
- package/dist/{chunk-76XIV6VV.mjs.map → chunk-WI663467.mjs.map} +1 -1
- package/dist/{chunk-WETG7OO3.js → chunk-XSBZNPUO.js} +53 -53
- package/dist/{chunk-WETG7OO3.js.map → chunk-XSBZNPUO.js.map} +1 -1
- package/dist/{chunk-B3DI2QUM.js → chunk-XXYDLYIT.js} +64 -64
- package/dist/{chunk-B3DI2QUM.js.map → chunk-XXYDLYIT.js.map} +1 -1
- package/dist/{chunk-IL5RSF2U.mjs → chunk-Y3WJAYOY.mjs} +6 -6
- package/dist/{chunk-IL5RSF2U.mjs.map → chunk-Y3WJAYOY.mjs.map} +1 -1
- package/dist/{chunk-MJOYUX2C.mjs → chunk-YEWXDCCI.mjs} +4 -4
- package/dist/{chunk-MJOYUX2C.mjs.map → chunk-YEWXDCCI.mjs.map} +1 -1
- package/dist/{chunk-CM5C4M4F.mjs → chunk-ZHUPYX4Q.mjs} +3 -3
- package/dist/{chunk-CM5C4M4F.mjs.map → chunk-ZHUPYX4Q.mjs.map} +1 -1
- package/dist/{chunk-ZBX2QSNH.js → chunk-ZKUYNCAG.js} +561 -5
- package/dist/chunk-ZKUYNCAG.js.map +1 -0
- package/dist/index.d.mts +152 -2
- package/dist/index.d.ts +152 -2
- package/dist/index.js +754 -744
- package/dist/index.mjs +3 -1
- package/dist/platform/admin/index.js +12 -10
- package/dist/platform/admin/index.mjs +6 -4
- package/dist/platform/agents-workspace.js +8 -8
- package/dist/platform/agents-workspace.mjs +7 -7
- package/dist/platform/app-shell.js +5 -3
- package/dist/platform/app-shell.mjs +4 -2
- package/dist/platform/auth/index.js +29 -27
- package/dist/platform/auth/index.mjs +6 -4
- package/dist/platform/billing/index.js +5 -3
- package/dist/platform/billing/index.mjs +4 -2
- package/dist/platform/impersonation/index.js +5 -3
- package/dist/platform/impersonation/index.mjs +4 -2
- package/dist/platform/index.d.mts +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.js +100 -100
- package/dist/platform/index.mjs +20 -20
- package/dist/platform/pages/index.d.mts +2 -2
- package/dist/platform/pages/index.d.ts +2 -2
- package/dist/platform/pages/index.js +197 -195
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +9 -7
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +9 -7
- package/dist/platform/settings/index.mjs +8 -6
- package/dist/platform/workflow-api-client.d.mts +1 -1
- package/dist/platform/workflow-api-client.d.ts +1 -1
- package/dist/platform/workflow-api-client.js +64 -60
- package/dist/platform/workflow-api-client.mjs +1 -1
- package/dist/platform/workflow-canvas-shell.js +6 -4
- package/dist/platform/workflow-canvas-shell.mjs +5 -3
- package/dist/{workflow-api-client-C8gPn_D1.d.mts → workflow-api-client-wLoap-tt.d.mts} +54 -3
- package/dist/{workflow-api-client-Dy1Ph8W-.d.ts → workflow-api-client-zVtc8FIl.d.ts} +54 -3
- package/package.json +1 -1
- package/dist/chunk-64G2HBRQ.mjs.map +0 -1
- package/dist/chunk-S3JHPXOX.mjs.map +0 -1
- package/dist/chunk-YXPHJ2BQ.js.map +0 -1
- package/dist/chunk-ZBX2QSNH.js.map +0 -1
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
4
|
+
var chunk43GCSCQA_js = require('../../chunk-43GCSCQA.js');
|
|
5
|
+
require('../../chunk-BUI7BCUN.js');
|
|
6
|
+
require('../../chunk-DB64YDV2.js');
|
|
7
|
+
require('../../chunk-NA57KK4O.js');
|
|
8
|
+
require('../../chunk-PTGPQJZJ.js');
|
|
9
|
+
require('../../chunk-ZKUYNCAG.js');
|
|
10
10
|
require('../../chunk-UZ3CMNUJ.js');
|
|
11
11
|
require('../../chunk-YXN2K77G.js');
|
|
12
12
|
require('../../chunk-S7KHTUHA.js');
|
|
13
|
+
require('../../chunk-ARVLVWUC.js');
|
|
14
|
+
require('../../chunk-FAGDZEKM.js');
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
17
19
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk43GCSCQA_js.PlatformSettings; }
|
|
19
21
|
});
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
21
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { PlatformSettings } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
2
|
+
export { PlatformSettings } from '../../chunk-Y3WJAYOY.mjs';
|
|
3
|
+
import '../../chunk-MLAXYDEU.mjs';
|
|
4
|
+
import '../../chunk-YEWXDCCI.mjs';
|
|
5
|
+
import '../../chunk-LKJZGFM4.mjs';
|
|
6
|
+
import '../../chunk-DWFLIXES.mjs';
|
|
7
|
+
import '../../chunk-A3BFURJB.mjs';
|
|
8
8
|
import '../../chunk-D2JF6C3E.mjs';
|
|
9
9
|
import '../../chunk-7VJ7CMMT.mjs';
|
|
10
10
|
import '../../chunk-QWG2FMUN.mjs';
|
|
11
|
+
import '../../chunk-PU2KTO4O.mjs';
|
|
12
|
+
import '../../chunk-SYNVNTLJ.mjs';
|
|
11
13
|
//# sourceMappingURL=index.mjs.map
|
|
12
14
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,5 +2,5 @@ import '../astrlabe/contracts.mjs';
|
|
|
2
2
|
import '../index-AioB90qq.mjs';
|
|
3
3
|
import '@datatechsolutions/shared-domain/ports/workflow';
|
|
4
4
|
import '@datatechsolutions/shared-domain/common';
|
|
5
|
-
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics,
|
|
5
|
+
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, m as NodeValidationIssue, P as PresignUploadInput, n as PresignedUpload, o as PublicSampleWorkflow, p as RunEvent, R as RunTimelineEntry, W as WorkflowRunListParams, q as WorkflowTemplateSummary, r as aiGenerateWorkflow, s as aiValidateWorkflow, t as buildAuthenticatedApiUrl, u as cancelWorkflowRun, v as createAgentConfig, w as createAgentPrompt, x as createAgentRule, y as createAgentTool, z as createAgentToolDefinition, B as createDatasource, C as createModelProviderConnection, E as createWorkflow, F as createWorkflowFromTemplate, G as deleteAgentConfig, H as deleteAgentPrompt, I as deleteAgentRule, J as deleteAgentTool, K as deleteAgentToolDefinition, L as deleteModelProviderConnection, O as deleteUpload, Q as deleteWorkflow, S as executeAgentRule, T as executeWorkflow, U as getAgentConfigsWithPrompts, V as getAgentModels, X as getAgentPrompts, Y as getAgentRules, Z as getAgentToolDefinitions, _ as getAgentTools, $ as getAnalyticsSummary, a0 as getCurrentAccessToken, a1 as getDatasourceSchema, a2 as getDatasourceTables, a3 as getDatasources, a4 as getPublicSampleWorkflow, a5 as getRunTimeline, a6 as getUploadDownloadUrl, a7 as getWorkflowById, a8 as getWorkflowRunById, a9 as getWorkflowRuns, aa as getWorkflows, ab as listModelProviderCatalog, ac as listModelProviderConnections, ad as listWorkflowRuns, ae as listWorkflowTemplates, af as presignUpload, ag as publishWorkflow, ah as replayWorkflowRun, ai as saveWorkflowDraft, aj as setAccessTokenProvider, ak as setAuthenticatedFetch, al as submitApproval, am as subscribeToRunEvents, an as updateAgentConfig, ao as updateAgentPrompt, ap as updateAgentRule, aq as updateAgentTool, ar as updateAgentToolDefinition, as as updateModelProviderConnection, at as updateWorkflowSettings } from '../workflow-api-client-wLoap-tt.mjs';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
@@ -2,5 +2,5 @@ import '../astrlabe/contracts.js';
|
|
|
2
2
|
import '../index-D5ai0cGZ.js';
|
|
3
3
|
import '@datatechsolutions/shared-domain/ports/workflow';
|
|
4
4
|
import '@datatechsolutions/shared-domain/common';
|
|
5
|
-
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics,
|
|
5
|
+
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, m as NodeValidationIssue, P as PresignUploadInput, n as PresignedUpload, o as PublicSampleWorkflow, p as RunEvent, R as RunTimelineEntry, W as WorkflowRunListParams, q as WorkflowTemplateSummary, r as aiGenerateWorkflow, s as aiValidateWorkflow, t as buildAuthenticatedApiUrl, u as cancelWorkflowRun, v as createAgentConfig, w as createAgentPrompt, x as createAgentRule, y as createAgentTool, z as createAgentToolDefinition, B as createDatasource, C as createModelProviderConnection, E as createWorkflow, F as createWorkflowFromTemplate, G as deleteAgentConfig, H as deleteAgentPrompt, I as deleteAgentRule, J as deleteAgentTool, K as deleteAgentToolDefinition, L as deleteModelProviderConnection, O as deleteUpload, Q as deleteWorkflow, S as executeAgentRule, T as executeWorkflow, U as getAgentConfigsWithPrompts, V as getAgentModels, X as getAgentPrompts, Y as getAgentRules, Z as getAgentToolDefinitions, _ as getAgentTools, $ as getAnalyticsSummary, a0 as getCurrentAccessToken, a1 as getDatasourceSchema, a2 as getDatasourceTables, a3 as getDatasources, a4 as getPublicSampleWorkflow, a5 as getRunTimeline, a6 as getUploadDownloadUrl, a7 as getWorkflowById, a8 as getWorkflowRunById, a9 as getWorkflowRuns, aa as getWorkflows, ab as listModelProviderCatalog, ac as listModelProviderConnections, ad as listWorkflowRuns, ae as listWorkflowTemplates, af as presignUpload, ag as publishWorkflow, ah as replayWorkflowRun, ai as saveWorkflowDraft, aj as setAccessTokenProvider, ak as setAuthenticatedFetch, al as submitApproval, am as subscribeToRunEvents, an as updateAgentConfig, ao as updateAgentPrompt, ap as updateAgentRule, aq as updateAgentTool, ar as updateAgentToolDefinition, as as updateModelProviderConnection, at as updateWorkflowSettings } from '../workflow-api-client-zVtc8FIl.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
@@ -1,246 +1,250 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkARVLVWUC_js = require('../chunk-ARVLVWUC.js');
|
|
5
5
|
require('../chunk-FAGDZEKM.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "aiGenerateWorkflow", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkARVLVWUC_js.aiGenerateWorkflow; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "aiValidateWorkflow", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkARVLVWUC_js.aiValidateWorkflow; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "buildAuthenticatedApiUrl", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkARVLVWUC_js.buildAuthenticatedApiUrl; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "cancelWorkflowRun", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkARVLVWUC_js.cancelWorkflowRun; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createAgentConfig", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkARVLVWUC_js.createAgentConfig; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "createAgentPrompt", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkARVLVWUC_js.createAgentPrompt; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "createAgentRule", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkARVLVWUC_js.createAgentRule; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "createAgentTool", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkARVLVWUC_js.createAgentTool; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "createAgentToolDefinition", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkARVLVWUC_js.createAgentToolDefinition; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "createDatasource", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkARVLVWUC_js.createDatasource; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "createModelProviderConnection", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkARVLVWUC_js.createModelProviderConnection; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "createWorkflow", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkARVLVWUC_js.createWorkflow; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "createWorkflowFromTemplate", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkARVLVWUC_js.createWorkflowFromTemplate; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "deleteAgentConfig", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkARVLVWUC_js.deleteAgentConfig; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "deleteAgentPrompt", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkARVLVWUC_js.deleteAgentPrompt; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "deleteAgentRule", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkARVLVWUC_js.deleteAgentRule; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "deleteAgentTool", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkARVLVWUC_js.deleteAgentTool; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "deleteAgentToolDefinition", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkARVLVWUC_js.deleteAgentToolDefinition; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "deleteModelProviderConnection", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkARVLVWUC_js.deleteModelProviderConnection; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "deleteUpload", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkARVLVWUC_js.deleteUpload; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "deleteWorkflow", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkARVLVWUC_js.deleteWorkflow; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "executeAgentRule", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkARVLVWUC_js.executeAgentRule; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "executeWorkflow", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkARVLVWUC_js.executeWorkflow; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "getAgentConfigsWithPrompts", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkARVLVWUC_js.getAgentConfigsWithPrompts; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "getAgentModels", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkARVLVWUC_js.getAgentModels; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "getAgentPrompts", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkARVLVWUC_js.getAgentPrompts; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getAgentRules", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkARVLVWUC_js.getAgentRules; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "getAgentToolDefinitions", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkARVLVWUC_js.getAgentToolDefinitions; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "getAgentTools", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkARVLVWUC_js.getAgentTools; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "getAnalyticsSummary", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkARVLVWUC_js.getAnalyticsSummary; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "getCurrentAccessToken", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkARVLVWUC_js.getCurrentAccessToken; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "getDatasourceSchema", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkARVLVWUC_js.getDatasourceSchema; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "getDatasourceTables", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkARVLVWUC_js.getDatasourceTables; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "getDatasources", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkARVLVWUC_js.getDatasources; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "getPublicSampleWorkflow", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkARVLVWUC_js.getPublicSampleWorkflow; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "getRunTimeline", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkARVLVWUC_js.getRunTimeline; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "getUploadDownloadUrl", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkARVLVWUC_js.getUploadDownloadUrl; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "getWorkflowById", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkARVLVWUC_js.getWorkflowById; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "getWorkflowRunById", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkARVLVWUC_js.getWorkflowRunById; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "getWorkflowRuns", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkARVLVWUC_js.getWorkflowRuns; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "getWorkflows", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkARVLVWUC_js.getWorkflows; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "listModelProviderCatalog", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkARVLVWUC_js.listModelProviderCatalog; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "listModelProviderConnections", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkARVLVWUC_js.listModelProviderConnections; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "listWorkflowRuns", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkARVLVWUC_js.listWorkflowRuns; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "listWorkflowTemplates", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkARVLVWUC_js.listWorkflowTemplates; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "presignUpload", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkARVLVWUC_js.presignUpload; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "publishWorkflow", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkARVLVWUC_js.publishWorkflow; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "replayWorkflowRun", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkARVLVWUC_js.replayWorkflowRun; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "saveWorkflowDraft", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkARVLVWUC_js.saveWorkflowDraft; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "setAccessTokenProvider", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkARVLVWUC_js.setAccessTokenProvider; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "setAuthenticatedFetch", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkARVLVWUC_js.setAuthenticatedFetch; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "submitApproval", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkARVLVWUC_js.submitApproval; }
|
|
212
216
|
});
|
|
213
217
|
Object.defineProperty(exports, "subscribeToRunEvents", {
|
|
214
218
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkARVLVWUC_js.subscribeToRunEvents; }
|
|
216
220
|
});
|
|
217
221
|
Object.defineProperty(exports, "updateAgentConfig", {
|
|
218
222
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkARVLVWUC_js.updateAgentConfig; }
|
|
220
224
|
});
|
|
221
225
|
Object.defineProperty(exports, "updateAgentPrompt", {
|
|
222
226
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkARVLVWUC_js.updateAgentPrompt; }
|
|
224
228
|
});
|
|
225
229
|
Object.defineProperty(exports, "updateAgentRule", {
|
|
226
230
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkARVLVWUC_js.updateAgentRule; }
|
|
228
232
|
});
|
|
229
233
|
Object.defineProperty(exports, "updateAgentTool", {
|
|
230
234
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkARVLVWUC_js.updateAgentTool; }
|
|
232
236
|
});
|
|
233
237
|
Object.defineProperty(exports, "updateAgentToolDefinition", {
|
|
234
238
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkARVLVWUC_js.updateAgentToolDefinition; }
|
|
236
240
|
});
|
|
237
241
|
Object.defineProperty(exports, "updateModelProviderConnection", {
|
|
238
242
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkARVLVWUC_js.updateModelProviderConnection; }
|
|
240
244
|
});
|
|
241
245
|
Object.defineProperty(exports, "updateWorkflowSettings", {
|
|
242
246
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkARVLVWUC_js.updateWorkflowSettings; }
|
|
244
248
|
});
|
|
245
249
|
//# sourceMappingURL=workflow-api-client.js.map
|
|
246
250
|
//# sourceMappingURL=workflow-api-client.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { aiGenerateWorkflow, aiValidateWorkflow, buildAuthenticatedApiUrl, cancelWorkflowRun, createAgentConfig, createAgentPrompt, createAgentRule, createAgentTool, createAgentToolDefinition, createDatasource, createModelProviderConnection, createWorkflow, createWorkflowFromTemplate, deleteAgentConfig, deleteAgentPrompt, deleteAgentRule, deleteAgentTool, deleteAgentToolDefinition, deleteModelProviderConnection, deleteUpload, deleteWorkflow, executeAgentRule, executeWorkflow, getAgentConfigsWithPrompts, getAgentModels, getAgentPrompts, getAgentRules, getAgentToolDefinitions, getAgentTools, getAnalyticsSummary, getCurrentAccessToken, getDatasourceSchema, getDatasourceTables, getDatasources, getPublicSampleWorkflow, getRunTimeline, getUploadDownloadUrl, getWorkflowById, getWorkflowRunById, getWorkflowRuns, getWorkflows, listModelProviderCatalog, listModelProviderConnections, listWorkflowRuns, listWorkflowTemplates, presignUpload, publishWorkflow, replayWorkflowRun, saveWorkflowDraft, setAccessTokenProvider, setAuthenticatedFetch, subscribeToRunEvents, updateAgentConfig, updateAgentPrompt, updateAgentRule, updateAgentTool, updateAgentToolDefinition, updateModelProviderConnection, updateWorkflowSettings } from '../chunk-
|
|
2
|
+
export { aiGenerateWorkflow, aiValidateWorkflow, buildAuthenticatedApiUrl, cancelWorkflowRun, createAgentConfig, createAgentPrompt, createAgentRule, createAgentTool, createAgentToolDefinition, createDatasource, createModelProviderConnection, createWorkflow, createWorkflowFromTemplate, deleteAgentConfig, deleteAgentPrompt, deleteAgentRule, deleteAgentTool, deleteAgentToolDefinition, deleteModelProviderConnection, deleteUpload, deleteWorkflow, executeAgentRule, executeWorkflow, getAgentConfigsWithPrompts, getAgentModels, getAgentPrompts, getAgentRules, getAgentToolDefinitions, getAgentTools, getAnalyticsSummary, getCurrentAccessToken, getDatasourceSchema, getDatasourceTables, getDatasources, getPublicSampleWorkflow, getRunTimeline, getUploadDownloadUrl, getWorkflowById, getWorkflowRunById, getWorkflowRuns, getWorkflows, listModelProviderCatalog, listModelProviderConnections, listWorkflowRuns, listWorkflowTemplates, presignUpload, publishWorkflow, replayWorkflowRun, saveWorkflowDraft, setAccessTokenProvider, setAuthenticatedFetch, submitApproval, subscribeToRunEvents, updateAgentConfig, updateAgentPrompt, updateAgentRule, updateAgentTool, updateAgentToolDefinition, updateModelProviderConnection, updateWorkflowSettings } from '../chunk-PU2KTO4O.mjs';
|
|
3
3
|
import '../chunk-SYNVNTLJ.mjs';
|
|
4
4
|
//# sourceMappingURL=workflow-api-client.mjs.map
|
|
5
5
|
//# sourceMappingURL=workflow-api-client.mjs.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunkDADFESAQ_js = require('../chunk-DADFESAQ.js');
|
|
5
|
+
require('../chunk-XXYDLYIT.js');
|
|
6
|
+
require('../chunk-ZKUYNCAG.js');
|
|
7
7
|
require('../chunk-UZ3CMNUJ.js');
|
|
8
8
|
require('../chunk-YXN2K77G.js');
|
|
9
9
|
require('../chunk-S7KHTUHA.js');
|
|
10
|
+
require('../chunk-ARVLVWUC.js');
|
|
11
|
+
require('../chunk-FAGDZEKM.js');
|
|
10
12
|
require('../chunk-P4YYEM4B.js');
|
|
11
13
|
require('../chunk-C7BI5LQ6.js');
|
|
12
14
|
|
|
@@ -14,7 +16,7 @@ require('../chunk-C7BI5LQ6.js');
|
|
|
14
16
|
|
|
15
17
|
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
16
18
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkDADFESAQ_js.WorkflowCanvasShell; }
|
|
18
20
|
});
|
|
19
21
|
//# sourceMappingURL=workflow-canvas-shell.js.map
|
|
20
22
|
//# sourceMappingURL=workflow-canvas-shell.js.map
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { WorkflowCanvasShell } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { WorkflowCanvasShell } from '../chunk-MZAS6TG4.mjs';
|
|
3
|
+
import '../chunk-3SUFSAP6.mjs';
|
|
4
|
+
import '../chunk-A3BFURJB.mjs';
|
|
5
5
|
import '../chunk-D2JF6C3E.mjs';
|
|
6
6
|
import '../chunk-7VJ7CMMT.mjs';
|
|
7
7
|
import '../chunk-QWG2FMUN.mjs';
|
|
8
|
+
import '../chunk-PU2KTO4O.mjs';
|
|
9
|
+
import '../chunk-SYNVNTLJ.mjs';
|
|
8
10
|
import '../chunk-OZNTQROP.mjs';
|
|
9
11
|
import '../chunk-WNCPAWLC.mjs';
|
|
10
12
|
//# sourceMappingURL=workflow-canvas-shell.mjs.map
|
|
@@ -357,10 +357,35 @@ declare function deleteUpload(objectKey: string): Promise<{
|
|
|
357
357
|
deleted: boolean;
|
|
358
358
|
}>;
|
|
359
359
|
type RunEvent = {
|
|
360
|
-
|
|
360
|
+
/**
|
|
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`.
|
|
372
|
+
*/
|
|
373
|
+
type: 'run_started' | 'node_started' | 'node_completed' | 'node_failed' | 'node_error' | 'run_completed' | 'run_failed' | 'run_paused' | 'ui_render' | 'log';
|
|
361
374
|
runId: string;
|
|
375
|
+
workflowId?: string;
|
|
362
376
|
nodeId?: string;
|
|
363
|
-
|
|
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. */
|
|
364
389
|
timestamp: string;
|
|
365
390
|
};
|
|
366
391
|
type PublicSampleWorkflow = {
|
|
@@ -372,6 +397,32 @@ type PublicSampleWorkflow = {
|
|
|
372
397
|
publishedAt: string | null;
|
|
373
398
|
};
|
|
374
399
|
declare function getPublicSampleWorkflow(slug: string): Promise<PublicSampleWorkflow>;
|
|
400
|
+
type ApprovalDecision = {
|
|
401
|
+
/** True approves and resumes the run; false fails it with `reason`. */
|
|
402
|
+
approved: boolean;
|
|
403
|
+
/** Operator-supplied rationale, surfaced on the audit row. */
|
|
404
|
+
reason?: string;
|
|
405
|
+
/**
|
|
406
|
+
* Captured payload — for `input_request` sections this carries the
|
|
407
|
+
* form field values. The downstream workflow nodes read it from
|
|
408
|
+
* `inputs.approvals.<nodeId>.payload`.
|
|
409
|
+
*/
|
|
410
|
+
payload?: Record<string, unknown>;
|
|
411
|
+
};
|
|
412
|
+
type ApprovalResponse = {
|
|
413
|
+
approvalId: string;
|
|
414
|
+
sourceRunId: string;
|
|
415
|
+
resumedRunId: string;
|
|
416
|
+
nodeId: string;
|
|
417
|
+
approved: boolean;
|
|
418
|
+
status: string;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Resolve a paused workflow run by recording an operator decision.
|
|
422
|
+
* The backend writes an audit row, merges the decision into the run's
|
|
423
|
+
* inputs, and re-executes — see #457.
|
|
424
|
+
*/
|
|
425
|
+
declare function submitApproval(runId: string, nodeId: string, decision: ApprovalDecision): Promise<ApprovalResponse>;
|
|
375
426
|
declare function subscribeToRunEvents(runId: string, onEvent: (event: RunEvent) => void, onError?: (error: Event) => void): () => void;
|
|
376
427
|
declare function getAgentConfigsWithPrompts(): Promise<AgentWithPrompts[]>;
|
|
377
428
|
declare function getDatasources(): Promise<DataSource[]>;
|
|
@@ -383,4 +434,4 @@ declare function getDatasourceSchema(datasourceId: string, table: string): Promi
|
|
|
383
434
|
nullable?: boolean;
|
|
384
435
|
}>>;
|
|
385
436
|
|
|
386
|
-
export {
|
|
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 };
|
|
@@ -357,10 +357,35 @@ declare function deleteUpload(objectKey: string): Promise<{
|
|
|
357
357
|
deleted: boolean;
|
|
358
358
|
}>;
|
|
359
359
|
type RunEvent = {
|
|
360
|
-
|
|
360
|
+
/**
|
|
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`.
|
|
372
|
+
*/
|
|
373
|
+
type: 'run_started' | 'node_started' | 'node_completed' | 'node_failed' | 'node_error' | 'run_completed' | 'run_failed' | 'run_paused' | 'ui_render' | 'log';
|
|
361
374
|
runId: string;
|
|
375
|
+
workflowId?: string;
|
|
362
376
|
nodeId?: string;
|
|
363
|
-
|
|
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. */
|
|
364
389
|
timestamp: string;
|
|
365
390
|
};
|
|
366
391
|
type PublicSampleWorkflow = {
|
|
@@ -372,6 +397,32 @@ type PublicSampleWorkflow = {
|
|
|
372
397
|
publishedAt: string | null;
|
|
373
398
|
};
|
|
374
399
|
declare function getPublicSampleWorkflow(slug: string): Promise<PublicSampleWorkflow>;
|
|
400
|
+
type ApprovalDecision = {
|
|
401
|
+
/** True approves and resumes the run; false fails it with `reason`. */
|
|
402
|
+
approved: boolean;
|
|
403
|
+
/** Operator-supplied rationale, surfaced on the audit row. */
|
|
404
|
+
reason?: string;
|
|
405
|
+
/**
|
|
406
|
+
* Captured payload — for `input_request` sections this carries the
|
|
407
|
+
* form field values. The downstream workflow nodes read it from
|
|
408
|
+
* `inputs.approvals.<nodeId>.payload`.
|
|
409
|
+
*/
|
|
410
|
+
payload?: Record<string, unknown>;
|
|
411
|
+
};
|
|
412
|
+
type ApprovalResponse = {
|
|
413
|
+
approvalId: string;
|
|
414
|
+
sourceRunId: string;
|
|
415
|
+
resumedRunId: string;
|
|
416
|
+
nodeId: string;
|
|
417
|
+
approved: boolean;
|
|
418
|
+
status: string;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Resolve a paused workflow run by recording an operator decision.
|
|
422
|
+
* The backend writes an audit row, merges the decision into the run's
|
|
423
|
+
* inputs, and re-executes — see #457.
|
|
424
|
+
*/
|
|
425
|
+
declare function submitApproval(runId: string, nodeId: string, decision: ApprovalDecision): Promise<ApprovalResponse>;
|
|
375
426
|
declare function subscribeToRunEvents(runId: string, onEvent: (event: RunEvent) => void, onError?: (error: Event) => void): () => void;
|
|
376
427
|
declare function getAgentConfigsWithPrompts(): Promise<AgentWithPrompts[]>;
|
|
377
428
|
declare function getDatasources(): Promise<DataSource[]>;
|
|
@@ -383,4 +434,4 @@ declare function getDatasourceSchema(datasourceId: string, table: string): Promi
|
|
|
383
434
|
nullable?: boolean;
|
|
384
435
|
}>>;
|
|
385
436
|
|
|
386
|
-
export {
|
|
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 };
|