@atomoz/workflows-nodes 0.1.20 → 0.1.21

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/index.d.cts CHANGED
@@ -18,7 +18,7 @@ interface NodeField {
18
18
  label: string;
19
19
  toolField?: boolean;
20
20
  typeable?: boolean;
21
- type: 'text' | 'textarea' | 'number' | 'boolean' | 'select' | 'json' | 'string' | 'object' | 'HttpOutput' | 'route' | 'code' | 'keyValue' | 'any' | 'llm' | 'function' | 'agent' | 'tool' | 'model' | 'supervisor' | 'memory';
21
+ type: 'text' | 'textarea' | 'number' | 'boolean' | 'select' | 'json' | 'string' | 'object' | 'HttpOutput' | 'route' | 'code' | 'keyValue' | 'any' | 'llm' | 'function' | 'agent' | 'tool' | 'model' | 'supervisor' | 'memory' | 'guardrail';
22
22
  required?: boolean;
23
23
  placeholder?: string;
24
24
  defaultValue?: any;
@@ -142,7 +142,7 @@ interface ExecutionStep {
142
142
  type NodeExecution = 'sync' | 'async';
143
143
  interface NodeTags {
144
144
  execution: NodeExecution[] | NodeExecution;
145
- group: 'IA' | 'HTTP' | 'Data Transformation' | 'Custom' | 'Social' | 'Control' | 'Memory';
145
+ group: 'IA' | 'HTTP' | 'Data Transformation' | 'Custom' | 'Social' | 'Control' | 'Memory' | 'Guardrails';
146
146
  }
147
147
 
148
148
  type NodeData = {
@@ -185,6 +185,10 @@ declare const nodeFunctions: {
185
185
  CustomNode: (params: any) => any;
186
186
  PostgresMemoryNode: (inputs: any) => Promise<any>;
187
187
  RedisMemoryNode: (inputs: any) => Promise<any>;
188
+ PromptGuardrailNode: (inputs: any) => Promise<any>;
189
+ RuleGuardrailNode: (inputs: any) => Promise<any>;
190
+ FunctionGuardrailNode: (inputs: any) => Promise<any>;
191
+ ModelGuardrailNode: (inputs: any) => Promise<any>;
188
192
  };
189
193
 
190
194
  declare const IaAgentNodeSchema: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ interface NodeField {
18
18
  label: string;
19
19
  toolField?: boolean;
20
20
  typeable?: boolean;
21
- type: 'text' | 'textarea' | 'number' | 'boolean' | 'select' | 'json' | 'string' | 'object' | 'HttpOutput' | 'route' | 'code' | 'keyValue' | 'any' | 'llm' | 'function' | 'agent' | 'tool' | 'model' | 'supervisor' | 'memory';
21
+ type: 'text' | 'textarea' | 'number' | 'boolean' | 'select' | 'json' | 'string' | 'object' | 'HttpOutput' | 'route' | 'code' | 'keyValue' | 'any' | 'llm' | 'function' | 'agent' | 'tool' | 'model' | 'supervisor' | 'memory' | 'guardrail';
22
22
  required?: boolean;
23
23
  placeholder?: string;
24
24
  defaultValue?: any;
@@ -142,7 +142,7 @@ interface ExecutionStep {
142
142
  type NodeExecution = 'sync' | 'async';
143
143
  interface NodeTags {
144
144
  execution: NodeExecution[] | NodeExecution;
145
- group: 'IA' | 'HTTP' | 'Data Transformation' | 'Custom' | 'Social' | 'Control' | 'Memory';
145
+ group: 'IA' | 'HTTP' | 'Data Transformation' | 'Custom' | 'Social' | 'Control' | 'Memory' | 'Guardrails';
146
146
  }
147
147
 
148
148
  type NodeData = {
@@ -185,6 +185,10 @@ declare const nodeFunctions: {
185
185
  CustomNode: (params: any) => any;
186
186
  PostgresMemoryNode: (inputs: any) => Promise<any>;
187
187
  RedisMemoryNode: (inputs: any) => Promise<any>;
188
+ PromptGuardrailNode: (inputs: any) => Promise<any>;
189
+ RuleGuardrailNode: (inputs: any) => Promise<any>;
190
+ FunctionGuardrailNode: (inputs: any) => Promise<any>;
191
+ ModelGuardrailNode: (inputs: any) => Promise<any>;
188
192
  };
189
193
 
190
194
  declare const IaAgentNodeSchema: z.ZodObject<{