@datatechsolutions/ui 2.11.11 → 2.11.13
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/index.d.mts +7 -3
- package/dist/astrlabe/index.d.ts +7 -3
- package/dist/astrlabe/index.js +178 -128
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +81 -31
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.d.mts +1 -1
- package/dist/astrlabe/workflow-canvas.d.ts +1 -1
- package/dist/astrlabe/workflow-canvas.js +2 -2
- package/dist/astrlabe/workflow-canvas.mjs +1 -1
- package/dist/{chunk-VWKBMTTC.mjs → chunk-B64PWT4B.mjs} +15 -4
- package/dist/chunk-B64PWT4B.mjs.map +1 -0
- package/dist/{chunk-LFWRE3A3.js → chunk-RUH6YJXW.js} +15 -4
- package/dist/chunk-RUH6YJXW.js.map +1 -0
- package/dist/{workflow-canvas-DSm0iyof.d.ts → workflow-canvas-BUpiBzxZ.d.ts} +11 -1
- package/dist/{workflow-canvas-CJwGehdk.d.mts → workflow-canvas-CooSZh-g.d.mts} +11 -1
- package/package.json +1 -1
- package/dist/chunk-LFWRE3A3.js.map +0 -1
- package/dist/chunk-VWKBMTTC.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolNodeData, R as RuleNodeData, E as EntityNodeData, 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, h as WorkspaceProps } from '../workflow-canvas-
|
|
2
|
-
export { i as Workspace } from '../workflow-canvas-
|
|
1
|
+
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolNodeData, R as RuleNodeData, E as EntityNodeData, 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, h as WorkspaceProps } from '../workflow-canvas-CooSZh-g.mjs';
|
|
2
|
+
export { i as AgentNodeTool, j as Workspace } from '../workflow-canvas-CooSZh-g.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Workflow, WorkflowGraph, AgentModel, Subworkflow, AgentRule, LogicNodeConfig, AgentTool, WorkflowRun } from './contracts.mjs';
|
|
5
5
|
import * as React$1 from 'react';
|
|
@@ -516,6 +516,10 @@ type ModalType = 'agent' | 'logic-node' | 'pipeline-settings' | null;
|
|
|
516
516
|
type AgentModalData = {
|
|
517
517
|
agent: AgentWithPrompts;
|
|
518
518
|
models: AgentModel[];
|
|
519
|
+
/** Available agent tools the agent can use */
|
|
520
|
+
agentTools?: AgentTool[];
|
|
521
|
+
/** Available model providers for credential config */
|
|
522
|
+
modelProviders?: ModelProvider[];
|
|
519
523
|
isCreateMode: boolean;
|
|
520
524
|
};
|
|
521
525
|
type LogicNodeModalData = {
|
|
@@ -543,7 +547,7 @@ type ModalStoreState = {
|
|
|
543
547
|
stack: ModalEntry[];
|
|
544
548
|
};
|
|
545
549
|
type ModalStoreActions = {
|
|
546
|
-
openAgentModal: (agent: AgentWithPrompts, models: AgentModel[], isCreateMode?: boolean) => void;
|
|
550
|
+
openAgentModal: (agent: AgentWithPrompts, models: AgentModel[], isCreateMode?: boolean, agentTools?: AgentTool[], modelProviders?: ModelProvider[]) => void;
|
|
547
551
|
openLogicNodeModal: (nodeId: string, nodeLabel: string, config: LogicNodeConfig) => void;
|
|
548
552
|
openPipelineSettingsModal: (name: string, description: string) => void;
|
|
549
553
|
/** Close current modal. If stack has entries, restores the previous modal. */
|
package/dist/astrlabe/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolNodeData, R as RuleNodeData, E as EntityNodeData, 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, h as WorkspaceProps } from '../workflow-canvas-
|
|
2
|
-
export { i as Workspace } from '../workflow-canvas-
|
|
1
|
+
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolNodeData, R as RuleNodeData, E as EntityNodeData, 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, h as WorkspaceProps } from '../workflow-canvas-BUpiBzxZ.js';
|
|
2
|
+
export { i as AgentNodeTool, j as Workspace } from '../workflow-canvas-BUpiBzxZ.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Workflow, WorkflowGraph, AgentModel, Subworkflow, AgentRule, LogicNodeConfig, AgentTool, WorkflowRun } from './contracts.js';
|
|
5
5
|
import * as React$1 from 'react';
|
|
@@ -516,6 +516,10 @@ type ModalType = 'agent' | 'logic-node' | 'pipeline-settings' | null;
|
|
|
516
516
|
type AgentModalData = {
|
|
517
517
|
agent: AgentWithPrompts;
|
|
518
518
|
models: AgentModel[];
|
|
519
|
+
/** Available agent tools the agent can use */
|
|
520
|
+
agentTools?: AgentTool[];
|
|
521
|
+
/** Available model providers for credential config */
|
|
522
|
+
modelProviders?: ModelProvider[];
|
|
519
523
|
isCreateMode: boolean;
|
|
520
524
|
};
|
|
521
525
|
type LogicNodeModalData = {
|
|
@@ -543,7 +547,7 @@ type ModalStoreState = {
|
|
|
543
547
|
stack: ModalEntry[];
|
|
544
548
|
};
|
|
545
549
|
type ModalStoreActions = {
|
|
546
|
-
openAgentModal: (agent: AgentWithPrompts, models: AgentModel[], isCreateMode?: boolean) => void;
|
|
550
|
+
openAgentModal: (agent: AgentWithPrompts, models: AgentModel[], isCreateMode?: boolean, agentTools?: AgentTool[], modelProviders?: ModelProvider[]) => void;
|
|
547
551
|
openLogicNodeModal: (nodeId: string, nodeLabel: string, config: LogicNodeConfig) => void;
|
|
548
552
|
openPipelineSettingsModal: (name: string, description: string) => void;
|
|
549
553
|
/** Close current modal. If stack has entries, restores the previous modal. */
|