@datatechsolutions/ui 2.11.81 → 2.11.83
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/dist/astrlabe/contracts.d.mts +5 -0
- package/dist/astrlabe/contracts.d.ts +5 -0
- package/dist/astrlabe/index.d.mts +59 -82
- package/dist/astrlabe/index.d.ts +59 -82
- package/dist/astrlabe/index.js +179 -4777
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +3 -4740
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.d.mts +69 -5
- package/dist/astrlabe/workflow-canvas.d.ts +69 -5
- package/dist/chunk-6PBTB5ZX.js +165 -0
- package/dist/chunk-6PBTB5ZX.js.map +1 -0
- package/dist/chunk-HZ4LOVHM.js +46 -0
- package/dist/chunk-HZ4LOVHM.js.map +1 -0
- package/dist/chunk-JFWZHROG.js +4996 -0
- package/dist/chunk-JFWZHROG.js.map +1 -0
- package/dist/chunk-UHHPBREK.mjs +135 -0
- package/dist/chunk-UHHPBREK.mjs.map +1 -0
- package/dist/chunk-UVGMKHWH.mjs +4951 -0
- package/dist/chunk-UVGMKHWH.mjs.map +1 -0
- package/dist/chunk-ZJPNP2YW.mjs +44 -0
- package/dist/chunk-ZJPNP2YW.mjs.map +1 -0
- package/dist/{workflow-canvas-NSxfr5dy.d.ts → index-AioB90qq.d.mts} +2 -67
- package/dist/{workflow-canvas-D4928AfA.d.mts → index-D5ai0cGZ.d.ts} +2 -67
- package/dist/platform/index.d.mts +41 -0
- package/dist/platform/index.d.ts +41 -0
- package/dist/platform/index.js +237 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/index.mjs +109 -0
- package/dist/platform/index.mjs.map +1 -0
- package/dist/platform/pages/index.d.mts +272 -0
- package/dist/platform/pages/index.d.ts +272 -0
- package/dist/platform/pages/index.js +1793 -0
- package/dist/platform/pages/index.js.map +1 -0
- package/dist/platform/pages/index.mjs +1777 -0
- package/dist/platform/pages/index.mjs.map +1 -0
- package/dist/platform/rbac.d.mts +41 -0
- package/dist/platform/rbac.d.ts +41 -0
- package/dist/platform/rbac.js +13 -0
- package/dist/platform/rbac.js.map +1 -0
- package/dist/platform/rbac.mjs +4 -0
- package/dist/platform/rbac.mjs.map +1 -0
- package/dist/platform/utils/index.d.mts +32 -0
- package/dist/platform/utils/index.d.ts +32 -0
- package/dist/platform/utils/index.js +131 -0
- package/dist/platform/utils/index.js.map +1 -0
- package/dist/platform/utils/index.mjs +119 -0
- package/dist/platform/utils/index.mjs.map +1 -0
- package/dist/platform/windsock-admin-client.d.mts +57 -0
- package/dist/platform/windsock-admin-client.d.ts +57 -0
- package/dist/platform/windsock-admin-client.js +125 -0
- package/dist/platform/windsock-admin-client.js.map +1 -0
- package/dist/platform/windsock-admin-client.mjs +4 -0
- package/dist/platform/windsock-admin-client.mjs.map +1 -0
- package/dist/rule-form-F5jBOeqk.d.mts +79 -0
- package/dist/rule-form-F5jBOeqk.d.ts +79 -0
- package/package.json +27 -1
|
@@ -411,6 +411,11 @@ type AgentPersistPayload = {
|
|
|
411
411
|
status?: string;
|
|
412
412
|
enabledToolIds?: string[];
|
|
413
413
|
metadata?: Record<string, unknown>;
|
|
414
|
+
/** Structured-output contract — when set, the engine parses + validates
|
|
415
|
+
* the LLM's response against this schema. `undefined` clears any
|
|
416
|
+
* previously-stored schema. See `AgentOutputSchema` for the supported
|
|
417
|
+
* JSON Schema subset. */
|
|
418
|
+
outputSchema?: AgentOutputSchema;
|
|
414
419
|
};
|
|
415
420
|
type AgentModel = {
|
|
416
421
|
id: string;
|
|
@@ -411,6 +411,11 @@ type AgentPersistPayload = {
|
|
|
411
411
|
status?: string;
|
|
412
412
|
enabledToolIds?: string[];
|
|
413
413
|
metadata?: Record<string, unknown>;
|
|
414
|
+
/** Structured-output contract — when set, the engine parses + validates
|
|
415
|
+
* the LLM's response against this schema. `undefined` clears any
|
|
416
|
+
* previously-stored schema. See `AgentOutputSchema` for the supported
|
|
417
|
+
* JSON Schema subset. */
|
|
418
|
+
outputSchema?: AgentOutputSchema;
|
|
414
419
|
};
|
|
415
420
|
type AgentModel = {
|
|
416
421
|
id: string;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { WorkspaceProps } from './workflow-canvas.mjs';
|
|
2
|
+
export { Workspace } from './workflow-canvas.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Workflow, WorkflowGraph, AgentModel, WorkflowTool, AgentRule, AgentPersistPayload, LogicNodeConfig, AgentOutputSchema, AgentTool, WorkflowRun } from './contracts.mjs';
|
|
5
5
|
export { AgentNodeConfig, ModelProviderNodeConfig, ModelProviderType } from './contracts.mjs';
|
|
6
|
+
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolCanvasData, R as RuleNodeData, E as EntityNodeData, M as ModelProviderNodeData, S as StartNodeData, b as EndNodeData, I as IfElseNodeData, C as CodeNodeData, H as HttpRequestNodeData, c as TemplateTransformNodeData, d as IterationNodeData, K as KnowledgeBaseNodeData, e as AnswerNodeData, Q as QuestionClassifierNodeData, P as ParameterExtractorNodeData, V as VariableAssignerNodeData, f as VariableAggregatorNodeData, D as DocumentExtractorNodeData, L as ListOperatorNodeData, g as IterationStartNodeData, N as NoteNodeData, G as GroupNodeData, W as WorkflowEntityDefinition } from '../index-AioB90qq.mjs';
|
|
7
|
+
export { h as AgentNodeTool } from '../index-AioB90qq.mjs';
|
|
6
8
|
import * as React$1 from 'react';
|
|
7
9
|
import { ReactNode, ComponentProps } from 'react';
|
|
8
10
|
export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta } from './graph-node.mjs';
|
|
11
|
+
import { a as RuleCondition, b as RuleAction } from '../rule-form-F5jBOeqk.mjs';
|
|
12
|
+
export { c as RULE_STATUS_OPTIONS, d as RuleConditionOperator, e as RuleForm, R as RuleFormValue, f as RuleStatus, T as TIMEZONE_OPTIONS, g as TimeWindow, h as defaultRuleForm } from '../rule-form-F5jBOeqk.mjs';
|
|
9
13
|
import { D as DynamicIslandConfirm$1 } from '../dynamic-island-confirm-BKsZkAEP.mjs';
|
|
10
14
|
import * as zustand from 'zustand';
|
|
11
15
|
import { Node, Edge } from '@xyflow/react';
|
|
@@ -286,57 +290,56 @@ type OutputSchemaBuilderProps = {
|
|
|
286
290
|
declare function OutputSchemaBuilder({ value, onChange, depth }: OutputSchemaBuilderProps): react_jsx_runtime.JSX.Element;
|
|
287
291
|
declare function defaultAgentOutputSchema(): AgentOutputSchema;
|
|
288
292
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
* no-op.
|
|
297
|
-
*/
|
|
298
|
-
type SimpleComparisonOperator = 'truthy' | 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains';
|
|
299
|
-
type RuleConditionOperator = SimpleComparisonOperator | 'regex_match' | 'threshold' | 'time_window' | 'boolean_expression';
|
|
300
|
-
type TimeWindow = {
|
|
301
|
-
startHour: number;
|
|
302
|
-
endHour: number;
|
|
303
|
-
startMinute?: number;
|
|
304
|
-
endMinute?: number;
|
|
305
|
-
/** 0 = Sunday, 6 = Saturday. Omit to match every day. */
|
|
306
|
-
daysOfWeek?: number[];
|
|
293
|
+
type ExecutionTimelineStatus = 'completed' | 'running' | 'failed' | 'pending' | 'skipped';
|
|
294
|
+
type ExecutionTimelineMetrics = {
|
|
295
|
+
tokensIn?: number;
|
|
296
|
+
tokensOut?: number;
|
|
297
|
+
costUsd?: number;
|
|
298
|
+
provider?: string;
|
|
299
|
+
model?: string;
|
|
307
300
|
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
type
|
|
301
|
+
type ExecutionTimelineEntry = {
|
|
302
|
+
nodeId: string;
|
|
303
|
+
nodeType: string;
|
|
304
|
+
status: ExecutionTimelineStatus;
|
|
305
|
+
startedAt: string | null;
|
|
306
|
+
completedAt: string | null;
|
|
307
|
+
durationMs: number | null;
|
|
308
|
+
inputs?: Record<string, unknown>;
|
|
309
|
+
outputs?: Record<string, unknown>;
|
|
310
|
+
error?: string | null;
|
|
311
|
+
metrics?: ExecutionTimelineMetrics;
|
|
312
|
+
};
|
|
313
|
+
type ExecutionTimelineLabels = {
|
|
314
|
+
status: string;
|
|
315
|
+
duration: string;
|
|
316
|
+
inputs: string;
|
|
317
|
+
outputs: string;
|
|
318
|
+
error: string;
|
|
319
|
+
started: string;
|
|
320
|
+
completed: string;
|
|
321
|
+
pending: string;
|
|
322
|
+
running: string;
|
|
323
|
+
failed: string;
|
|
324
|
+
skipped: string;
|
|
325
|
+
selectNode: string;
|
|
326
|
+
model: string;
|
|
327
|
+
tokens: string;
|
|
328
|
+
cost: string;
|
|
329
|
+
/** Used as the empty-state heading when `entries` is empty. */
|
|
330
|
+
empty?: string;
|
|
331
|
+
};
|
|
332
|
+
type ExecutionTimelinePanelProps = {
|
|
333
|
+
entries: ExecutionTimelineEntry[];
|
|
334
|
+
labels: ExecutionTimelineLabels;
|
|
335
|
+
/** When set, drives selection from the parent. Useful when the page
|
|
336
|
+
* syncs the selection with a URL query param. */
|
|
337
|
+
selectedNodeId?: string;
|
|
338
|
+
onSelect?: (nodeId: string) => void;
|
|
339
|
+
};
|
|
340
|
+
declare function ExecutionTimelinePanel({ entries, labels, selectedNodeId, onSelect, }: ExecutionTimelinePanelProps): react_jsx_runtime.JSX.Element;
|
|
341
|
+
|
|
342
|
+
type Props$1 = {
|
|
340
343
|
value: RuleCondition;
|
|
341
344
|
onChange: (next: RuleCondition) => void;
|
|
342
345
|
/** Recursion depth. Boolean_expression is capped at one level to keep
|
|
@@ -345,10 +348,10 @@ type Props$2 = {
|
|
|
345
348
|
* operands. */
|
|
346
349
|
depth?: number;
|
|
347
350
|
};
|
|
348
|
-
declare function RuleConditionBuilder({ value, onChange, depth }: Props$
|
|
351
|
+
declare function RuleConditionBuilder({ value, onChange, depth }: Props$1): react_jsx_runtime.JSX.Element;
|
|
349
352
|
declare function defaultRuleCondition(): RuleCondition;
|
|
350
353
|
|
|
351
|
-
type Props
|
|
354
|
+
type Props = {
|
|
352
355
|
value: RuleAction;
|
|
353
356
|
onChange: (next: RuleAction) => void;
|
|
354
357
|
};
|
|
@@ -357,35 +360,9 @@ type Props$1 = {
|
|
|
357
360
|
* executor contract. The `custom` type drops to a raw key/value editor for
|
|
358
361
|
* actions the UI doesn't have a dedicated template for.
|
|
359
362
|
*/
|
|
360
|
-
declare function RuleActionBuilder({ value, onChange }: Props
|
|
363
|
+
declare function RuleActionBuilder({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
|
|
361
364
|
declare function defaultRuleAction(): RuleAction;
|
|
362
365
|
|
|
363
|
-
type RuleFormValue = {
|
|
364
|
-
ruleId?: string;
|
|
365
|
-
name: string;
|
|
366
|
-
description?: string;
|
|
367
|
-
enabled: boolean;
|
|
368
|
-
priority: number;
|
|
369
|
-
status?: RuleStatus;
|
|
370
|
-
validFrom?: string | null;
|
|
371
|
-
validUntil?: string | null;
|
|
372
|
-
tags?: string[];
|
|
373
|
-
condition: RuleCondition;
|
|
374
|
-
action: RuleAction;
|
|
375
|
-
};
|
|
376
|
-
type Props = {
|
|
377
|
-
value: RuleFormValue;
|
|
378
|
-
onChange: (next: RuleFormValue) => void;
|
|
379
|
-
};
|
|
380
|
-
/**
|
|
381
|
-
* Full-field rule editor used inside the create/edit modal. Composes the
|
|
382
|
-
* visual condition + action builders and exposes the schedule / tagging /
|
|
383
|
-
* lifecycle fields that the `agent_rules` entity has but the old JSON-
|
|
384
|
-
* textarea form never surfaced.
|
|
385
|
-
*/
|
|
386
|
-
declare function RuleForm({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
|
|
387
|
-
declare function defaultRuleForm(): RuleFormValue;
|
|
388
|
-
|
|
389
366
|
type ModelProvider = {
|
|
390
367
|
id: string;
|
|
391
368
|
name: string;
|
|
@@ -886,4 +863,4 @@ declare function getEntityBadgeColor(entityKey: string | undefined): string;
|
|
|
886
863
|
declare function getEntityHandleColor(entityKey: string | undefined): string;
|
|
887
864
|
declare function getEntityMinimapColor(entityKey: string | undefined): string;
|
|
888
865
|
|
|
889
|
-
export { AgentFlowNode, type AgentFramework, AgentModal, AgentNodeData, AgentOutputSchema, AgentToolFlowNode, AgentWithPrompts, AmazonNovaIcon, AnswerFlowNode, AnswerNodeData, AnthropicIcon, AnthropicModelIcon, AutoSaveWorkspace, type AutoSaveWorkspaceProps, CodeFlowNode, CodeNodeData, CrewAIIcon, DocumentExtractorFlowNode, DocumentExtractorNodeData, DslExportModal, DslImportModal, DynamicIslandConfirm, type DynamicIslandConfirmProps, EndFlowNode, EndNodeData, EntityFlowNode, EntityNodeData, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, GroupNodeData, HttpRequestFlowNode, HttpRequestNodeData, IfElseFlowNode, IfElseNodeData, IterationFlowNode, IterationNodeData, IterationStartFlowNode, IterationStartNodeData, KnowledgeBaseFlowNode, KnowledgeBaseNodeData, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, LayoutDirection, ListOperatorFlowNode, ListOperatorNodeData, LogicNodeModal, MINIMAP_NODE_COLORS, MetaLlamaIcon, type ModelProvider, ModelProviderFlowNode, ModelProviderNodeData, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NodePalette, type NodeRunResult, NoteFlowNode, NoteNodeData, OpenAIIcon, OutputSchemaBuilder, type OutputSchemaBuilderProps, PanelContextMenu, ParameterExtractorFlowNode, ParameterExtractorNodeData, PipelineSettingsModal, type PipelineSettingsPatch, PreviewPanel, type PreviewPanelProps, QuestionClassifierFlowNode, QuestionClassifierNodeData,
|
|
866
|
+
export { AgentFlowNode, type AgentFramework, AgentModal, AgentNodeData, AgentOutputSchema, AgentToolFlowNode, AgentWithPrompts, AmazonNovaIcon, AnswerFlowNode, AnswerNodeData, AnthropicIcon, AnthropicModelIcon, AutoSaveWorkspace, type AutoSaveWorkspaceProps, CodeFlowNode, CodeNodeData, CrewAIIcon, DocumentExtractorFlowNode, DocumentExtractorNodeData, DslExportModal, DslImportModal, DynamicIslandConfirm, type DynamicIslandConfirmProps, EndFlowNode, EndNodeData, EntityFlowNode, EntityNodeData, type ExecutionTimelineEntry, type ExecutionTimelineLabels, type ExecutionTimelineMetrics, ExecutionTimelinePanel, type ExecutionTimelinePanelProps, type ExecutionTimelineStatus, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, GroupNodeData, HttpRequestFlowNode, HttpRequestNodeData, IfElseFlowNode, IfElseNodeData, IterationFlowNode, IterationNodeData, IterationStartFlowNode, IterationStartNodeData, KnowledgeBaseFlowNode, KnowledgeBaseNodeData, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, LayoutDirection, ListOperatorFlowNode, ListOperatorNodeData, LogicNodeModal, MINIMAP_NODE_COLORS, MetaLlamaIcon, type ModelProvider, ModelProviderFlowNode, ModelProviderNodeData, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NodePalette, type NodeRunResult, NoteFlowNode, NoteNodeData, OpenAIIcon, OutputSchemaBuilder, type OutputSchemaBuilderProps, PanelContextMenu, ParameterExtractorFlowNode, ParameterExtractorNodeData, PipelineSettingsModal, type PipelineSettingsPatch, PreviewPanel, type PreviewPanelProps, QuestionClassifierFlowNode, QuestionClassifierNodeData, type ReplayInputVariables, RuleAction, RuleActionBuilder, RuleCondition, RuleConditionBuilder, RuleFlowNode, RuleNodeData, RunInputDialog, type RunInputDialogProps, RunPanel, RunReplayModal, type RunReplayModalProps, SaveStatusBadge, type SaveStatusBadgeProps, SelectionContextMenu, StartFlowNode, StartNodeData, StrandsIcon, SubworkflowModal, TemplateTransformFlowNode, TemplateTransformNodeData, ToolCanvasData, ToolFlowNode, VariableAggregatorFlowNode, VariableAggregatorNodeData, VariableAssignerFlowNode, VariableAssignerNodeData, VariableInspector, VersionHistoryPanel, type WorkflowBuilderClient, WorkflowBuilderProvider, type WorkflowBuilderProviderProps, WorkflowEntityDefinition, WorkflowGraph, WorkflowListBar, type WorkflowStore, type WorkspaceBootstrapPayload, WorkspaceProps, defaultAgentOutputSchema, defaultRuleAction, defaultRuleCondition, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getModelIcon, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useCanRedo, useCanUndo, useCanvasShortcuts, useClipboard, useContextMenu, useEditingNodeId, useHasCopied, useHelpLines, useIsRunning, useModalStore, useNodeResults, useSelectedNodeCount, useSubworkflowStore, useUndoRedo, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
|
package/dist/astrlabe/index.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { WorkspaceProps } from './workflow-canvas.js';
|
|
2
|
+
export { Workspace } from './workflow-canvas.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Workflow, WorkflowGraph, AgentModel, WorkflowTool, AgentRule, AgentPersistPayload, LogicNodeConfig, AgentOutputSchema, AgentTool, WorkflowRun } from './contracts.js';
|
|
5
5
|
export { AgentNodeConfig, ModelProviderNodeConfig, ModelProviderType } from './contracts.js';
|
|
6
|
+
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolCanvasData, R as RuleNodeData, E as EntityNodeData, M as ModelProviderNodeData, S as StartNodeData, b as EndNodeData, I as IfElseNodeData, C as CodeNodeData, H as HttpRequestNodeData, c as TemplateTransformNodeData, d as IterationNodeData, K as KnowledgeBaseNodeData, e as AnswerNodeData, Q as QuestionClassifierNodeData, P as ParameterExtractorNodeData, V as VariableAssignerNodeData, f as VariableAggregatorNodeData, D as DocumentExtractorNodeData, L as ListOperatorNodeData, g as IterationStartNodeData, N as NoteNodeData, G as GroupNodeData, W as WorkflowEntityDefinition } from '../index-D5ai0cGZ.js';
|
|
7
|
+
export { h as AgentNodeTool } from '../index-D5ai0cGZ.js';
|
|
6
8
|
import * as React$1 from 'react';
|
|
7
9
|
import { ReactNode, ComponentProps } from 'react';
|
|
8
10
|
export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta } from './graph-node.js';
|
|
11
|
+
import { a as RuleCondition, b as RuleAction } from '../rule-form-F5jBOeqk.js';
|
|
12
|
+
export { c as RULE_STATUS_OPTIONS, d as RuleConditionOperator, e as RuleForm, R as RuleFormValue, f as RuleStatus, T as TIMEZONE_OPTIONS, g as TimeWindow, h as defaultRuleForm } from '../rule-form-F5jBOeqk.js';
|
|
9
13
|
import { D as DynamicIslandConfirm$1 } from '../dynamic-island-confirm-BKsZkAEP.js';
|
|
10
14
|
import * as zustand from 'zustand';
|
|
11
15
|
import { Node, Edge } from '@xyflow/react';
|
|
@@ -286,57 +290,56 @@ type OutputSchemaBuilderProps = {
|
|
|
286
290
|
declare function OutputSchemaBuilder({ value, onChange, depth }: OutputSchemaBuilderProps): react_jsx_runtime.JSX.Element;
|
|
287
291
|
declare function defaultAgentOutputSchema(): AgentOutputSchema;
|
|
288
292
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
* no-op.
|
|
297
|
-
*/
|
|
298
|
-
type SimpleComparisonOperator = 'truthy' | 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains';
|
|
299
|
-
type RuleConditionOperator = SimpleComparisonOperator | 'regex_match' | 'threshold' | 'time_window' | 'boolean_expression';
|
|
300
|
-
type TimeWindow = {
|
|
301
|
-
startHour: number;
|
|
302
|
-
endHour: number;
|
|
303
|
-
startMinute?: number;
|
|
304
|
-
endMinute?: number;
|
|
305
|
-
/** 0 = Sunday, 6 = Saturday. Omit to match every day. */
|
|
306
|
-
daysOfWeek?: number[];
|
|
293
|
+
type ExecutionTimelineStatus = 'completed' | 'running' | 'failed' | 'pending' | 'skipped';
|
|
294
|
+
type ExecutionTimelineMetrics = {
|
|
295
|
+
tokensIn?: number;
|
|
296
|
+
tokensOut?: number;
|
|
297
|
+
costUsd?: number;
|
|
298
|
+
provider?: string;
|
|
299
|
+
model?: string;
|
|
307
300
|
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
type
|
|
301
|
+
type ExecutionTimelineEntry = {
|
|
302
|
+
nodeId: string;
|
|
303
|
+
nodeType: string;
|
|
304
|
+
status: ExecutionTimelineStatus;
|
|
305
|
+
startedAt: string | null;
|
|
306
|
+
completedAt: string | null;
|
|
307
|
+
durationMs: number | null;
|
|
308
|
+
inputs?: Record<string, unknown>;
|
|
309
|
+
outputs?: Record<string, unknown>;
|
|
310
|
+
error?: string | null;
|
|
311
|
+
metrics?: ExecutionTimelineMetrics;
|
|
312
|
+
};
|
|
313
|
+
type ExecutionTimelineLabels = {
|
|
314
|
+
status: string;
|
|
315
|
+
duration: string;
|
|
316
|
+
inputs: string;
|
|
317
|
+
outputs: string;
|
|
318
|
+
error: string;
|
|
319
|
+
started: string;
|
|
320
|
+
completed: string;
|
|
321
|
+
pending: string;
|
|
322
|
+
running: string;
|
|
323
|
+
failed: string;
|
|
324
|
+
skipped: string;
|
|
325
|
+
selectNode: string;
|
|
326
|
+
model: string;
|
|
327
|
+
tokens: string;
|
|
328
|
+
cost: string;
|
|
329
|
+
/** Used as the empty-state heading when `entries` is empty. */
|
|
330
|
+
empty?: string;
|
|
331
|
+
};
|
|
332
|
+
type ExecutionTimelinePanelProps = {
|
|
333
|
+
entries: ExecutionTimelineEntry[];
|
|
334
|
+
labels: ExecutionTimelineLabels;
|
|
335
|
+
/** When set, drives selection from the parent. Useful when the page
|
|
336
|
+
* syncs the selection with a URL query param. */
|
|
337
|
+
selectedNodeId?: string;
|
|
338
|
+
onSelect?: (nodeId: string) => void;
|
|
339
|
+
};
|
|
340
|
+
declare function ExecutionTimelinePanel({ entries, labels, selectedNodeId, onSelect, }: ExecutionTimelinePanelProps): react_jsx_runtime.JSX.Element;
|
|
341
|
+
|
|
342
|
+
type Props$1 = {
|
|
340
343
|
value: RuleCondition;
|
|
341
344
|
onChange: (next: RuleCondition) => void;
|
|
342
345
|
/** Recursion depth. Boolean_expression is capped at one level to keep
|
|
@@ -345,10 +348,10 @@ type Props$2 = {
|
|
|
345
348
|
* operands. */
|
|
346
349
|
depth?: number;
|
|
347
350
|
};
|
|
348
|
-
declare function RuleConditionBuilder({ value, onChange, depth }: Props$
|
|
351
|
+
declare function RuleConditionBuilder({ value, onChange, depth }: Props$1): react_jsx_runtime.JSX.Element;
|
|
349
352
|
declare function defaultRuleCondition(): RuleCondition;
|
|
350
353
|
|
|
351
|
-
type Props
|
|
354
|
+
type Props = {
|
|
352
355
|
value: RuleAction;
|
|
353
356
|
onChange: (next: RuleAction) => void;
|
|
354
357
|
};
|
|
@@ -357,35 +360,9 @@ type Props$1 = {
|
|
|
357
360
|
* executor contract. The `custom` type drops to a raw key/value editor for
|
|
358
361
|
* actions the UI doesn't have a dedicated template for.
|
|
359
362
|
*/
|
|
360
|
-
declare function RuleActionBuilder({ value, onChange }: Props
|
|
363
|
+
declare function RuleActionBuilder({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
|
|
361
364
|
declare function defaultRuleAction(): RuleAction;
|
|
362
365
|
|
|
363
|
-
type RuleFormValue = {
|
|
364
|
-
ruleId?: string;
|
|
365
|
-
name: string;
|
|
366
|
-
description?: string;
|
|
367
|
-
enabled: boolean;
|
|
368
|
-
priority: number;
|
|
369
|
-
status?: RuleStatus;
|
|
370
|
-
validFrom?: string | null;
|
|
371
|
-
validUntil?: string | null;
|
|
372
|
-
tags?: string[];
|
|
373
|
-
condition: RuleCondition;
|
|
374
|
-
action: RuleAction;
|
|
375
|
-
};
|
|
376
|
-
type Props = {
|
|
377
|
-
value: RuleFormValue;
|
|
378
|
-
onChange: (next: RuleFormValue) => void;
|
|
379
|
-
};
|
|
380
|
-
/**
|
|
381
|
-
* Full-field rule editor used inside the create/edit modal. Composes the
|
|
382
|
-
* visual condition + action builders and exposes the schedule / tagging /
|
|
383
|
-
* lifecycle fields that the `agent_rules` entity has but the old JSON-
|
|
384
|
-
* textarea form never surfaced.
|
|
385
|
-
*/
|
|
386
|
-
declare function RuleForm({ value, onChange }: Props): react_jsx_runtime.JSX.Element;
|
|
387
|
-
declare function defaultRuleForm(): RuleFormValue;
|
|
388
|
-
|
|
389
366
|
type ModelProvider = {
|
|
390
367
|
id: string;
|
|
391
368
|
name: string;
|
|
@@ -886,4 +863,4 @@ declare function getEntityBadgeColor(entityKey: string | undefined): string;
|
|
|
886
863
|
declare function getEntityHandleColor(entityKey: string | undefined): string;
|
|
887
864
|
declare function getEntityMinimapColor(entityKey: string | undefined): string;
|
|
888
865
|
|
|
889
|
-
export { AgentFlowNode, type AgentFramework, AgentModal, AgentNodeData, AgentOutputSchema, AgentToolFlowNode, AgentWithPrompts, AmazonNovaIcon, AnswerFlowNode, AnswerNodeData, AnthropicIcon, AnthropicModelIcon, AutoSaveWorkspace, type AutoSaveWorkspaceProps, CodeFlowNode, CodeNodeData, CrewAIIcon, DocumentExtractorFlowNode, DocumentExtractorNodeData, DslExportModal, DslImportModal, DynamicIslandConfirm, type DynamicIslandConfirmProps, EndFlowNode, EndNodeData, EntityFlowNode, EntityNodeData, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, GroupNodeData, HttpRequestFlowNode, HttpRequestNodeData, IfElseFlowNode, IfElseNodeData, IterationFlowNode, IterationNodeData, IterationStartFlowNode, IterationStartNodeData, KnowledgeBaseFlowNode, KnowledgeBaseNodeData, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, LayoutDirection, ListOperatorFlowNode, ListOperatorNodeData, LogicNodeModal, MINIMAP_NODE_COLORS, MetaLlamaIcon, type ModelProvider, ModelProviderFlowNode, ModelProviderNodeData, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NodePalette, type NodeRunResult, NoteFlowNode, NoteNodeData, OpenAIIcon, OutputSchemaBuilder, type OutputSchemaBuilderProps, PanelContextMenu, ParameterExtractorFlowNode, ParameterExtractorNodeData, PipelineSettingsModal, type PipelineSettingsPatch, PreviewPanel, type PreviewPanelProps, QuestionClassifierFlowNode, QuestionClassifierNodeData,
|
|
866
|
+
export { AgentFlowNode, type AgentFramework, AgentModal, AgentNodeData, AgentOutputSchema, AgentToolFlowNode, AgentWithPrompts, AmazonNovaIcon, AnswerFlowNode, AnswerNodeData, AnthropicIcon, AnthropicModelIcon, AutoSaveWorkspace, type AutoSaveWorkspaceProps, CodeFlowNode, CodeNodeData, CrewAIIcon, DocumentExtractorFlowNode, DocumentExtractorNodeData, DslExportModal, DslImportModal, DynamicIslandConfirm, type DynamicIslandConfirmProps, EndFlowNode, EndNodeData, EntityFlowNode, EntityNodeData, type ExecutionTimelineEntry, type ExecutionTimelineLabels, type ExecutionTimelineMetrics, ExecutionTimelinePanel, type ExecutionTimelinePanelProps, type ExecutionTimelineStatus, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, GroupNodeData, HttpRequestFlowNode, HttpRequestNodeData, IfElseFlowNode, IfElseNodeData, IterationFlowNode, IterationNodeData, IterationStartFlowNode, IterationStartNodeData, KnowledgeBaseFlowNode, KnowledgeBaseNodeData, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, LayoutDirection, ListOperatorFlowNode, ListOperatorNodeData, LogicNodeModal, MINIMAP_NODE_COLORS, MetaLlamaIcon, type ModelProvider, ModelProviderFlowNode, ModelProviderNodeData, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NodePalette, type NodeRunResult, NoteFlowNode, NoteNodeData, OpenAIIcon, OutputSchemaBuilder, type OutputSchemaBuilderProps, PanelContextMenu, ParameterExtractorFlowNode, ParameterExtractorNodeData, PipelineSettingsModal, type PipelineSettingsPatch, PreviewPanel, type PreviewPanelProps, QuestionClassifierFlowNode, QuestionClassifierNodeData, type ReplayInputVariables, RuleAction, RuleActionBuilder, RuleCondition, RuleConditionBuilder, RuleFlowNode, RuleNodeData, RunInputDialog, type RunInputDialogProps, RunPanel, RunReplayModal, type RunReplayModalProps, SaveStatusBadge, type SaveStatusBadgeProps, SelectionContextMenu, StartFlowNode, StartNodeData, StrandsIcon, SubworkflowModal, TemplateTransformFlowNode, TemplateTransformNodeData, ToolCanvasData, ToolFlowNode, VariableAggregatorFlowNode, VariableAggregatorNodeData, VariableAssignerFlowNode, VariableAssignerNodeData, VariableInspector, VersionHistoryPanel, type WorkflowBuilderClient, WorkflowBuilderProvider, type WorkflowBuilderProviderProps, WorkflowEntityDefinition, WorkflowGraph, WorkflowListBar, type WorkflowStore, type WorkspaceBootstrapPayload, WorkspaceProps, defaultAgentOutputSchema, defaultRuleAction, defaultRuleCondition, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getModelIcon, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useCanRedo, useCanUndo, useCanvasShortcuts, useClipboard, useContextMenu, useEditingNodeId, useHasCopied, useHelpLines, useIsRunning, useModalStore, useNodeResults, useSelectedNodeCount, useSubworkflowStore, useUndoRedo, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
|