@atomoz/workflows-nodes 0.1.8 → 0.1.10

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.cjs CHANGED
@@ -95,6 +95,7 @@ var HttpGetInputNode = {
95
95
  category: "input",
96
96
  icon: "\u{1F310}",
97
97
  description: "Node que representa uma rota GET HTTP e recebe query/path parameters",
98
+ group: "HTTP",
98
99
  tags: {
99
100
  execution: "sync",
100
101
  group: "HTTP"
@@ -533,6 +534,7 @@ var OutputNode = {
533
534
  category: "output",
534
535
  icon: "\u{1F4E4}",
535
536
  description: "Node de sa\xEDda do workflow que aceita qualquer entrada e retorna ela diretamente",
537
+ group: "HTTP",
536
538
  tags: {
537
539
  execution: "sync",
538
540
  group: "HTTP"
@@ -656,6 +658,7 @@ var IaAgentNode = {
656
658
  description: "Creates a configurable AI agent for supervision",
657
659
  icon: "\u{1F916}",
658
660
  toolable: true,
661
+ group: "IA",
659
662
  tags: {
660
663
  execution: "async",
661
664
  group: "IA"
@@ -725,7 +728,6 @@ var IaAgentNode = {
725
728
  },
726
729
  {
727
730
  id: "agent",
728
- // O output agora é o próprio agente
729
731
  label: "Agent",
730
732
  type: "agent",
731
733
  required: true,
@@ -738,7 +740,7 @@ var IaAgentNode = {
738
740
  }
739
741
  },
740
742
  {
741
- id: "output",
743
+ id: "response",
742
744
  label: "Response",
743
745
  type: "string",
744
746
  required: true,
@@ -746,7 +748,7 @@ var IaAgentNode = {
746
748
  handle: {
747
749
  type: "output",
748
750
  label: "response",
749
- name: "output",
751
+ name: "response",
750
752
  fieldType: "string"
751
753
  }
752
754
  }
@@ -941,6 +943,7 @@ var AiSupervisorNode = {
941
943
  description: "Coordinates multiple agents to perform tasks manually",
942
944
  icon: "\u{1F440}",
943
945
  toolable: false,
946
+ group: "IA",
944
947
  tags: {
945
948
  execution: "async",
946
949
  group: "IA"
@@ -996,12 +999,17 @@ var AiSupervisorNode = {
996
999
  }
997
1000
  },
998
1001
  {
999
- id: "output",
1000
- label: "Output",
1002
+ id: "response",
1003
+ label: "Response",
1001
1004
  type: "string",
1002
1005
  required: true,
1003
1006
  typeable: false,
1004
- handle: { type: "output", label: "Output", name: "output", fieldType: "string" }
1007
+ handle: {
1008
+ type: "output",
1009
+ label: "response",
1010
+ name: "response",
1011
+ fieldType: "string"
1012
+ }
1005
1013
  }
1006
1014
  ]
1007
1015
  };
@@ -1213,6 +1221,7 @@ var AiToolNode = {
1213
1221
  category: "step",
1214
1222
  description: "Wraps another node to be used as a tool by an AI agent",
1215
1223
  icon: "\u{1F6E0}\uFE0F",
1224
+ group: "IA",
1216
1225
  tags: {
1217
1226
  execution: "async",
1218
1227
  group: "IA"
@@ -1256,7 +1265,8 @@ var AiToolNode = {
1256
1265
  label: "Tool",
1257
1266
  name: "tool",
1258
1267
  fieldType: "tool",
1259
- required: true
1268
+ required: true,
1269
+ acceptTypes: ["tool"]
1260
1270
  }
1261
1271
  }
1262
1272
  ]
@@ -1359,6 +1369,7 @@ var IaMessageNode = {
1359
1369
  category: "step",
1360
1370
  description: "Send message to AI model and return response",
1361
1371
  icon: "\u{1F4AC}",
1372
+ group: "IA",
1362
1373
  tags: {
1363
1374
  execution: "async",
1364
1375
  group: "IA"
@@ -1407,17 +1418,16 @@ var IaMessageNode = {
1407
1418
  }
1408
1419
  },
1409
1420
  {
1410
- id: "output",
1411
- label: "Output",
1421
+ id: "response",
1422
+ label: "Response",
1412
1423
  type: "string",
1413
1424
  required: true,
1414
1425
  typeable: false,
1415
1426
  handle: {
1416
1427
  type: "output",
1417
- label: "Output",
1418
- name: "output",
1419
- fieldType: "string",
1420
- required: true
1428
+ label: "response",
1429
+ name: "response",
1430
+ fieldType: "string"
1421
1431
  }
1422
1432
  }
1423
1433
  ]
@@ -1436,6 +1446,7 @@ var WhatsappSendTemplateNode = {
1436
1446
  description: "Send a template message to a WhatsApp number",
1437
1447
  icon: "\u{1F4F1}",
1438
1448
  toolable: true,
1449
+ group: "Social",
1439
1450
  tags: {
1440
1451
  execution: "async",
1441
1452
  group: "Social"
@@ -1479,6 +1490,7 @@ var WhatsappSendMessageNode = {
1479
1490
  description: "Send an open text message to a WhatsApp number",
1480
1491
  icon: "\u{1F4AC}",
1481
1492
  toolable: true,
1493
+ group: "Social",
1482
1494
  tags: {
1483
1495
  execution: "async",
1484
1496
  group: "Social"
@@ -1521,6 +1533,7 @@ var WhatsappMessageTriggerNode = {
1521
1533
  description: "Trigger when a message is received from a WhatsApp number",
1522
1534
  icon: "\u{1F4F1}",
1523
1535
  toolable: false,
1536
+ group: "Social",
1524
1537
  tags: {
1525
1538
  execution: "async",
1526
1539
  group: "Social"
package/dist/index.d.cts CHANGED
@@ -158,6 +158,7 @@ type NodeData = {
158
158
  value?: any;
159
159
  friendlyId?: string;
160
160
  data?: any;
161
+ group?: string;
161
162
  };
162
163
 
163
164
  declare const nodes: NodeData[];
package/dist/index.d.ts CHANGED
@@ -158,6 +158,7 @@ type NodeData = {
158
158
  value?: any;
159
159
  friendlyId?: string;
160
160
  data?: any;
161
+ group?: string;
161
162
  };
162
163
 
163
164
  declare const nodes: NodeData[];
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ var HttpGetInputNode = {
5
5
  category: "input",
6
6
  icon: "\u{1F310}",
7
7
  description: "Node que representa uma rota GET HTTP e recebe query/path parameters",
8
+ group: "HTTP",
8
9
  tags: {
9
10
  execution: "sync",
10
11
  group: "HTTP"
@@ -443,6 +444,7 @@ var OutputNode = {
443
444
  category: "output",
444
445
  icon: "\u{1F4E4}",
445
446
  description: "Node de sa\xEDda do workflow que aceita qualquer entrada e retorna ela diretamente",
447
+ group: "HTTP",
446
448
  tags: {
447
449
  execution: "sync",
448
450
  group: "HTTP"
@@ -566,6 +568,7 @@ var IaAgentNode = {
566
568
  description: "Creates a configurable AI agent for supervision",
567
569
  icon: "\u{1F916}",
568
570
  toolable: true,
571
+ group: "IA",
569
572
  tags: {
570
573
  execution: "async",
571
574
  group: "IA"
@@ -635,7 +638,6 @@ var IaAgentNode = {
635
638
  },
636
639
  {
637
640
  id: "agent",
638
- // O output agora é o próprio agente
639
641
  label: "Agent",
640
642
  type: "agent",
641
643
  required: true,
@@ -648,7 +650,7 @@ var IaAgentNode = {
648
650
  }
649
651
  },
650
652
  {
651
- id: "output",
653
+ id: "response",
652
654
  label: "Response",
653
655
  type: "string",
654
656
  required: true,
@@ -656,7 +658,7 @@ var IaAgentNode = {
656
658
  handle: {
657
659
  type: "output",
658
660
  label: "response",
659
- name: "output",
661
+ name: "response",
660
662
  fieldType: "string"
661
663
  }
662
664
  }
@@ -851,6 +853,7 @@ var AiSupervisorNode = {
851
853
  description: "Coordinates multiple agents to perform tasks manually",
852
854
  icon: "\u{1F440}",
853
855
  toolable: false,
856
+ group: "IA",
854
857
  tags: {
855
858
  execution: "async",
856
859
  group: "IA"
@@ -906,12 +909,17 @@ var AiSupervisorNode = {
906
909
  }
907
910
  },
908
911
  {
909
- id: "output",
910
- label: "Output",
912
+ id: "response",
913
+ label: "Response",
911
914
  type: "string",
912
915
  required: true,
913
916
  typeable: false,
914
- handle: { type: "output", label: "Output", name: "output", fieldType: "string" }
917
+ handle: {
918
+ type: "output",
919
+ label: "response",
920
+ name: "response",
921
+ fieldType: "string"
922
+ }
915
923
  }
916
924
  ]
917
925
  };
@@ -1123,6 +1131,7 @@ var AiToolNode = {
1123
1131
  category: "step",
1124
1132
  description: "Wraps another node to be used as a tool by an AI agent",
1125
1133
  icon: "\u{1F6E0}\uFE0F",
1134
+ group: "IA",
1126
1135
  tags: {
1127
1136
  execution: "async",
1128
1137
  group: "IA"
@@ -1166,7 +1175,8 @@ var AiToolNode = {
1166
1175
  label: "Tool",
1167
1176
  name: "tool",
1168
1177
  fieldType: "tool",
1169
- required: true
1178
+ required: true,
1179
+ acceptTypes: ["tool"]
1170
1180
  }
1171
1181
  }
1172
1182
  ]
@@ -1269,6 +1279,7 @@ var IaMessageNode = {
1269
1279
  category: "step",
1270
1280
  description: "Send message to AI model and return response",
1271
1281
  icon: "\u{1F4AC}",
1282
+ group: "IA",
1272
1283
  tags: {
1273
1284
  execution: "async",
1274
1285
  group: "IA"
@@ -1317,17 +1328,16 @@ var IaMessageNode = {
1317
1328
  }
1318
1329
  },
1319
1330
  {
1320
- id: "output",
1321
- label: "Output",
1331
+ id: "response",
1332
+ label: "Response",
1322
1333
  type: "string",
1323
1334
  required: true,
1324
1335
  typeable: false,
1325
1336
  handle: {
1326
1337
  type: "output",
1327
- label: "Output",
1328
- name: "output",
1329
- fieldType: "string",
1330
- required: true
1338
+ label: "response",
1339
+ name: "response",
1340
+ fieldType: "string"
1331
1341
  }
1332
1342
  }
1333
1343
  ]
@@ -1346,6 +1356,7 @@ var WhatsappSendTemplateNode = {
1346
1356
  description: "Send a template message to a WhatsApp number",
1347
1357
  icon: "\u{1F4F1}",
1348
1358
  toolable: true,
1359
+ group: "Social",
1349
1360
  tags: {
1350
1361
  execution: "async",
1351
1362
  group: "Social"
@@ -1389,6 +1400,7 @@ var WhatsappSendMessageNode = {
1389
1400
  description: "Send an open text message to a WhatsApp number",
1390
1401
  icon: "\u{1F4AC}",
1391
1402
  toolable: true,
1403
+ group: "Social",
1392
1404
  tags: {
1393
1405
  execution: "async",
1394
1406
  group: "Social"
@@ -1431,6 +1443,7 @@ var WhatsappMessageTriggerNode = {
1431
1443
  description: "Trigger when a message is received from a WhatsApp number",
1432
1444
  icon: "\u{1F4F1}",
1433
1445
  toolable: false,
1446
+ group: "Social",
1434
1447
  tags: {
1435
1448
  execution: "async",
1436
1449
  group: "Social"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomoz/workflows-nodes",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Atomoz Workflows - Node Library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",