@instantkom/cli 3.157.0 → 3.158.0

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.
@@ -953,10 +953,10 @@
953
953
  "update.js"
954
954
  ]
955
955
  },
956
- "auth:login": {
956
+ "ai:reply": {
957
957
  "aliases": [],
958
958
  "args": {},
959
- "description": "Authenticate with the instantKOM API via device authorization flow",
959
+ "description": "Generate AI reply suggestions for a message",
960
960
  "flags": {
961
961
  "api-key": {
962
962
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1020,24 +1020,46 @@
1020
1020
  "multiple": false,
1021
1021
  "type": "option"
1022
1022
  },
1023
- "scope": {
1024
- "description": "Requested token scope",
1025
- "name": "scope",
1026
- "default": "read",
1023
+ "message-id": {
1024
+ "description": "Message ID to use as smart-reply anchor",
1025
+ "name": "message-id",
1026
+ "required": true,
1027
+ "hasDynamicHelp": false,
1028
+ "multiple": false,
1029
+ "type": "option"
1030
+ },
1031
+ "limit": {
1032
+ "description": "Number of suggestions to generate (1-5)",
1033
+ "name": "limit",
1034
+ "hasDynamicHelp": false,
1035
+ "multiple": false,
1036
+ "type": "option"
1037
+ },
1038
+ "context-length": {
1039
+ "description": "Number of recent messages to use as context (1-20)",
1040
+ "name": "context-length",
1041
+ "hasDynamicHelp": false,
1042
+ "multiple": false,
1043
+ "type": "option"
1044
+ },
1045
+ "style": {
1046
+ "description": "Response style",
1047
+ "name": "style",
1027
1048
  "hasDynamicHelp": false,
1028
1049
  "multiple": false,
1029
1050
  "options": [
1030
- "full",
1031
- "send",
1032
- "read",
1033
- "admin"
1051
+ "professional",
1052
+ "friendly",
1053
+ "concise",
1054
+ "detailed",
1055
+ "empathetic"
1034
1056
  ],
1035
1057
  "type": "option"
1036
1058
  }
1037
1059
  },
1038
1060
  "hasDynamicHelp": false,
1039
1061
  "hiddenAliases": [],
1040
- "id": "auth:login",
1062
+ "id": "ai:reply",
1041
1063
  "pluginAlias": "@instantkom/cli",
1042
1064
  "pluginName": "@instantkom/cli",
1043
1065
  "pluginType": "core",
@@ -1047,14 +1069,14 @@
1047
1069
  "relativePath": [
1048
1070
  "dist",
1049
1071
  "commands",
1050
- "auth",
1051
- "login.js"
1072
+ "ai",
1073
+ "reply.js"
1052
1074
  ]
1053
1075
  },
1054
- "auth:logout": {
1076
+ "auth:login": {
1055
1077
  "aliases": [],
1056
1078
  "args": {},
1057
- "description": "Remove the stored API token for the current profile",
1079
+ "description": "Authenticate with the instantKOM API via device authorization flow",
1058
1080
  "flags": {
1059
1081
  "api-key": {
1060
1082
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1117,45 +1139,25 @@
1117
1139
  "hasDynamicHelp": false,
1118
1140
  "multiple": false,
1119
1141
  "type": "option"
1120
- }
1121
- },
1122
- "hasDynamicHelp": false,
1123
- "hiddenAliases": [],
1124
- "id": "auth:logout",
1125
- "pluginAlias": "@instantkom/cli",
1126
- "pluginName": "@instantkom/cli",
1127
- "pluginType": "core",
1128
- "strict": true,
1129
- "enableJsonFlag": false,
1130
- "isESM": true,
1131
- "relativePath": [
1132
- "dist",
1133
- "commands",
1134
- "auth",
1135
- "logout.js"
1136
- ]
1137
- },
1138
- "autocomplete:script": {
1139
- "aliases": [],
1140
- "args": {
1141
- "shell": {
1142
- "description": "Shell type",
1143
- "name": "shell",
1142
+ },
1143
+ "scope": {
1144
+ "description": "Requested token scope",
1145
+ "name": "scope",
1146
+ "default": "read",
1147
+ "hasDynamicHelp": false,
1148
+ "multiple": false,
1144
1149
  "options": [
1145
- "zsh",
1146
- "bash",
1147
- "fish",
1148
- "powershell"
1150
+ "full",
1151
+ "send",
1152
+ "read",
1153
+ "admin"
1149
1154
  ],
1150
- "required": false
1155
+ "type": "option"
1151
1156
  }
1152
1157
  },
1153
- "description": "outputs autocomplete config script for shells",
1154
- "flags": {},
1155
1158
  "hasDynamicHelp": false,
1156
- "hidden": true,
1157
1159
  "hiddenAliases": [],
1158
- "id": "autocomplete:script",
1160
+ "id": "auth:login",
1159
1161
  "pluginAlias": "@instantkom/cli",
1160
1162
  "pluginName": "@instantkom/cli",
1161
1163
  "pluginType": "core",
@@ -1165,14 +1167,14 @@
1165
1167
  "relativePath": [
1166
1168
  "dist",
1167
1169
  "commands",
1168
- "autocomplete",
1169
- "script.js"
1170
+ "auth",
1171
+ "login.js"
1170
1172
  ]
1171
1173
  },
1172
- "ai:reply": {
1174
+ "auth:logout": {
1173
1175
  "aliases": [],
1174
1176
  "args": {},
1175
- "description": "Generate AI reply suggestions for a message",
1177
+ "description": "Remove the stored API token for the current profile",
1176
1178
  "flags": {
1177
1179
  "api-key": {
1178
1180
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1235,47 +1237,45 @@
1235
1237
  "hasDynamicHelp": false,
1236
1238
  "multiple": false,
1237
1239
  "type": "option"
1238
- },
1239
- "message-id": {
1240
- "description": "Message ID to use as smart-reply anchor",
1241
- "name": "message-id",
1242
- "required": true,
1243
- "hasDynamicHelp": false,
1244
- "multiple": false,
1245
- "type": "option"
1246
- },
1247
- "limit": {
1248
- "description": "Number of suggestions to generate (1-5)",
1249
- "name": "limit",
1250
- "hasDynamicHelp": false,
1251
- "multiple": false,
1252
- "type": "option"
1253
- },
1254
- "context-length": {
1255
- "description": "Number of recent messages to use as context (1-20)",
1256
- "name": "context-length",
1257
- "hasDynamicHelp": false,
1258
- "multiple": false,
1259
- "type": "option"
1260
- },
1261
- "style": {
1262
- "description": "Response style",
1263
- "name": "style",
1264
- "hasDynamicHelp": false,
1265
- "multiple": false,
1240
+ }
1241
+ },
1242
+ "hasDynamicHelp": false,
1243
+ "hiddenAliases": [],
1244
+ "id": "auth:logout",
1245
+ "pluginAlias": "@instantkom/cli",
1246
+ "pluginName": "@instantkom/cli",
1247
+ "pluginType": "core",
1248
+ "strict": true,
1249
+ "enableJsonFlag": false,
1250
+ "isESM": true,
1251
+ "relativePath": [
1252
+ "dist",
1253
+ "commands",
1254
+ "auth",
1255
+ "logout.js"
1256
+ ]
1257
+ },
1258
+ "autocomplete:script": {
1259
+ "aliases": [],
1260
+ "args": {
1261
+ "shell": {
1262
+ "description": "Shell type",
1263
+ "name": "shell",
1266
1264
  "options": [
1267
- "professional",
1268
- "friendly",
1269
- "concise",
1270
- "detailed",
1271
- "empathetic"
1265
+ "zsh",
1266
+ "bash",
1267
+ "fish",
1268
+ "powershell"
1272
1269
  ],
1273
- "type": "option"
1270
+ "required": false
1274
1271
  }
1275
1272
  },
1273
+ "description": "outputs autocomplete config script for shells",
1274
+ "flags": {},
1276
1275
  "hasDynamicHelp": false,
1276
+ "hidden": true,
1277
1277
  "hiddenAliases": [],
1278
- "id": "ai:reply",
1278
+ "id": "autocomplete:script",
1279
1279
  "pluginAlias": "@instantkom/cli",
1280
1280
  "pluginName": "@instantkom/cli",
1281
1281
  "pluginType": "core",
@@ -1285,14 +1285,14 @@
1285
1285
  "relativePath": [
1286
1286
  "dist",
1287
1287
  "commands",
1288
- "ai",
1289
- "reply.js"
1288
+ "autocomplete",
1289
+ "script.js"
1290
1290
  ]
1291
1291
  },
1292
- "broadcast:create": {
1292
+ "bots:create": {
1293
1293
  "aliases": [],
1294
1294
  "args": {},
1295
- "description": "Create a broadcast for channels or segments",
1295
+ "description": "Create a bot",
1296
1296
  "flags": {
1297
1297
  "api-key": {
1298
1298
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1357,91 +1357,74 @@
1357
1357
  "type": "option"
1358
1358
  },
1359
1359
  "channel": {
1360
- "description": "Channel ID target",
1360
+ "description": "Channel ID",
1361
1361
  "name": "channel",
1362
+ "required": true,
1362
1363
  "hasDynamicHelp": false,
1363
1364
  "multiple": false,
1364
1365
  "type": "option"
1365
1366
  },
1366
- "segment": {
1367
- "description": "Segment ID within --channel",
1368
- "name": "segment",
1367
+ "name": {
1368
+ "description": "Bot name",
1369
+ "name": "name",
1370
+ "required": true,
1369
1371
  "hasDynamicHelp": false,
1370
1372
  "multiple": false,
1371
1373
  "type": "option"
1372
1374
  },
1373
- "target": {
1374
- "description": "Target as channelId or channelId:segmentId; may be repeated",
1375
- "name": "target",
1376
- "hasDynamicHelp": false,
1377
- "multiple": true,
1378
- "type": "option"
1379
- },
1380
- "text": {
1381
- "description": "Broadcast message text",
1382
- "name": "text",
1375
+ "type": {
1376
+ "description": "Bot type",
1377
+ "name": "type",
1383
1378
  "required": true,
1384
1379
  "hasDynamicHelp": false,
1385
1380
  "multiple": false,
1381
+ "options": [
1382
+ "keyword",
1383
+ "schedule",
1384
+ "event",
1385
+ "ai"
1386
+ ],
1386
1387
  "type": "option"
1387
1388
  },
1388
- "send-at": {
1389
- "description": "Schedule send for an ISO-8601 date-time",
1390
- "name": "send-at",
1389
+ "message": {
1390
+ "description": "Bot message content",
1391
+ "name": "message",
1391
1392
  "hasDynamicHelp": false,
1392
1393
  "multiple": false,
1393
1394
  "type": "option"
1394
1395
  },
1395
- "dry-run": {
1396
- "description": "Validate and print the broadcast payload without mutating API calls",
1397
- "name": "dry-run",
1398
- "allowNo": false,
1399
- "type": "boolean"
1400
- },
1401
- "idempotency-key": {
1402
- "description": "Idempotency key forwarded as Idempotency-Key",
1403
- "name": "idempotency-key",
1396
+ "response": {
1397
+ "description": "Alias for --message",
1398
+ "name": "response",
1404
1399
  "hasDynamicHelp": false,
1405
1400
  "multiple": false,
1406
1401
  "type": "option"
1407
1402
  },
1408
- "media": {
1409
- "description": "Media file path to upload",
1410
- "name": "media",
1403
+ "color": {
1404
+ "description": "Bot color as HEX",
1405
+ "name": "color",
1411
1406
  "hasDynamicHelp": false,
1412
- "multiple": true,
1407
+ "multiple": false,
1413
1408
  "type": "option"
1414
1409
  },
1415
- "template-id": {
1416
- "description": "WhatsApp template ID",
1417
- "name": "template-id",
1410
+ "tags": {
1411
+ "description": "Comma-separated tags",
1412
+ "name": "tags",
1418
1413
  "hasDynamicHelp": false,
1419
1414
  "multiple": false,
1420
1415
  "type": "option"
1421
1416
  },
1422
- "send-status": {
1423
- "description": "Initial broadcast send status",
1424
- "name": "send-status",
1425
- "default": "draft",
1417
+ "data": {
1418
+ "description": "Additional JSON object payload",
1419
+ "name": "data",
1426
1420
  "hasDynamicHelp": false,
1427
1421
  "multiple": false,
1428
- "options": [
1429
- "draft",
1430
- "scheduled",
1431
- "sending"
1432
- ],
1433
1422
  "type": "option"
1434
- },
1435
- "auto-approve": {
1436
- "description": "Auto-approve broadcast when allowed by API permissions",
1437
- "name": "auto-approve",
1438
- "allowNo": false,
1439
- "type": "boolean"
1440
1423
  }
1441
1424
  },
1442
1425
  "hasDynamicHelp": false,
1443
1426
  "hiddenAliases": [],
1444
- "id": "broadcast:create",
1427
+ "id": "bots:create",
1445
1428
  "pluginAlias": "@instantkom/cli",
1446
1429
  "pluginName": "@instantkom/cli",
1447
1430
  "pluginType": "core",
@@ -1451,20 +1434,20 @@
1451
1434
  "relativePath": [
1452
1435
  "dist",
1453
1436
  "commands",
1454
- "broadcast",
1437
+ "bots",
1455
1438
  "create.js"
1456
1439
  ]
1457
1440
  },
1458
- "broadcast:delete": {
1441
+ "bots:delete": {
1459
1442
  "aliases": [],
1460
1443
  "args": {
1461
1444
  "id": {
1462
- "description": "broadcast ID",
1445
+ "description": "Bot ID",
1463
1446
  "name": "id",
1464
1447
  "required": true
1465
1448
  }
1466
1449
  },
1467
- "description": "Delete broadcast",
1450
+ "description": "Delete a bot",
1468
1451
  "flags": {
1469
1452
  "api-key": {
1470
1453
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1531,7 +1514,7 @@
1531
1514
  },
1532
1515
  "hasDynamicHelp": false,
1533
1516
  "hiddenAliases": [],
1534
- "id": "broadcast:delete",
1517
+ "id": "bots:delete",
1535
1518
  "pluginAlias": "@instantkom/cli",
1536
1519
  "pluginName": "@instantkom/cli",
1537
1520
  "pluginType": "core",
@@ -1541,20 +1524,20 @@
1541
1524
  "relativePath": [
1542
1525
  "dist",
1543
1526
  "commands",
1544
- "broadcast",
1527
+ "bots",
1545
1528
  "delete.js"
1546
1529
  ]
1547
1530
  },
1548
- "broadcast:get": {
1531
+ "bots:get": {
1549
1532
  "aliases": [],
1550
1533
  "args": {
1551
1534
  "id": {
1552
- "description": "broadcast ID",
1535
+ "description": "Bot ID",
1553
1536
  "name": "id",
1554
1537
  "required": true
1555
1538
  }
1556
1539
  },
1557
- "description": "Get broadcast by ID",
1540
+ "description": "Get a bot by ID",
1558
1541
  "flags": {
1559
1542
  "api-key": {
1560
1543
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1621,7 +1604,7 @@
1621
1604
  },
1622
1605
  "hasDynamicHelp": false,
1623
1606
  "hiddenAliases": [],
1624
- "id": "broadcast:get",
1607
+ "id": "bots:get",
1625
1608
  "pluginAlias": "@instantkom/cli",
1626
1609
  "pluginName": "@instantkom/cli",
1627
1610
  "pluginType": "core",
@@ -1631,14 +1614,14 @@
1631
1614
  "relativePath": [
1632
1615
  "dist",
1633
1616
  "commands",
1634
- "broadcast",
1617
+ "bots",
1635
1618
  "get.js"
1636
1619
  ]
1637
1620
  },
1638
- "broadcast:list": {
1621
+ "bots:list": {
1639
1622
  "aliases": [],
1640
1623
  "args": {},
1641
- "description": "List broadcasts",
1624
+ "description": "List bots",
1642
1625
  "flags": {
1643
1626
  "api-key": {
1644
1627
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1725,49 +1708,42 @@
1725
1708
  "multiple": false,
1726
1709
  "type": "option"
1727
1710
  },
1728
- "send-status": {
1729
- "description": "Filter by send status",
1730
- "name": "send-status",
1731
- "hasDynamicHelp": false,
1732
- "multiple": false,
1733
- "type": "option"
1734
- },
1735
1711
  "type": {
1736
- "description": "Broadcast type",
1712
+ "description": "Filter by bot type",
1737
1713
  "name": "type",
1738
1714
  "hasDynamicHelp": false,
1739
1715
  "multiple": false,
1740
- "options": [
1741
- "text",
1742
- "image",
1743
- "video",
1744
- "audio",
1745
- "document"
1746
- ],
1747
1716
  "type": "option"
1748
1717
  },
1749
1718
  "search": {
1750
- "description": "Search broadcasts",
1719
+ "description": "Search in bot name or message",
1751
1720
  "name": "search",
1752
1721
  "hasDynamicHelp": false,
1753
1722
  "multiple": false,
1754
1723
  "type": "option"
1755
1724
  },
1756
- "test": {
1757
- "description": "Filter test flag: 0 or 1",
1758
- "name": "test",
1725
+ "tags": {
1726
+ "description": "Comma-separated tag IDs",
1727
+ "name": "tags",
1728
+ "hasDynamicHelp": false,
1729
+ "multiple": false,
1730
+ "type": "option"
1731
+ },
1732
+ "tag-match": {
1733
+ "description": "Tag match mode",
1734
+ "name": "tag-match",
1759
1735
  "hasDynamicHelp": false,
1760
1736
  "multiple": false,
1761
1737
  "options": [
1762
- "0",
1763
- "1"
1738
+ "any",
1739
+ "all"
1764
1740
  ],
1765
1741
  "type": "option"
1766
1742
  }
1767
1743
  },
1768
1744
  "hasDynamicHelp": false,
1769
1745
  "hiddenAliases": [],
1770
- "id": "broadcast:list",
1746
+ "id": "bots:list",
1771
1747
  "pluginAlias": "@instantkom/cli",
1772
1748
  "pluginName": "@instantkom/cli",
1773
1749
  "pluginType": "core",
@@ -1777,20 +1753,20 @@
1777
1753
  "relativePath": [
1778
1754
  "dist",
1779
1755
  "commands",
1780
- "broadcast",
1756
+ "bots",
1781
1757
  "list.js"
1782
1758
  ]
1783
1759
  },
1784
- "broadcast:send": {
1760
+ "bots:matches": {
1785
1761
  "aliases": [],
1786
1762
  "args": {
1787
1763
  "id": {
1788
- "description": "Broadcast ID",
1764
+ "description": "Bot ID",
1789
1765
  "name": "id",
1790
1766
  "required": true
1791
1767
  }
1792
1768
  },
1793
- "description": "Send a broadcast immediately",
1769
+ "description": "List bot match history",
1794
1770
  "flags": {
1795
1771
  "api-key": {
1796
1772
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1853,93 +1829,26 @@
1853
1829
  "hasDynamicHelp": false,
1854
1830
  "multiple": false,
1855
1831
  "type": "option"
1856
- }
1857
- },
1858
- "hasDynamicHelp": false,
1859
- "hiddenAliases": [],
1860
- "id": "broadcast:send",
1861
- "pluginAlias": "@instantkom/cli",
1862
- "pluginName": "@instantkom/cli",
1863
- "pluginType": "core",
1864
- "strict": true,
1865
- "enableJsonFlag": false,
1866
- "isESM": true,
1867
- "relativePath": [
1868
- "dist",
1869
- "commands",
1870
- "broadcast",
1871
- "send.js"
1872
- ]
1873
- },
1874
- "broadcast:status": {
1875
- "aliases": [],
1876
- "args": {
1877
- "id": {
1878
- "description": "Broadcast ID",
1879
- "name": "id",
1880
- "required": true
1881
- }
1882
- },
1883
- "description": "Show broadcast send status",
1884
- "flags": {
1885
- "api-key": {
1886
- "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
1887
- "env": "IKM_API_KEY",
1888
- "helpGroup": "GLOBAL",
1889
- "name": "api-key",
1890
- "hasDynamicHelp": false,
1891
- "multiple": false,
1892
- "type": "option"
1893
1832
  },
1894
- "format": {
1895
- "description": "Output format: text, json, yaml, or table",
1896
- "helpGroup": "GLOBAL",
1897
- "name": "format",
1898
- "default": "text",
1833
+ "page": {
1834
+ "description": "Page number",
1835
+ "name": "page",
1836
+ "default": 1,
1899
1837
  "hasDynamicHelp": false,
1900
1838
  "multiple": false,
1901
- "options": [
1902
- "text",
1903
- "json",
1904
- "yaml",
1905
- "table"
1906
- ],
1907
1839
  "type": "option"
1908
1840
  },
1909
- "json": {
1910
- "description": "Output in JSON format (alias for --format=json)",
1911
- "helpGroup": "GLOBAL",
1912
- "name": "json",
1913
- "allowNo": false,
1914
- "type": "boolean"
1915
- },
1916
- "quiet": {
1917
- "description": "Suppress all output except errors",
1918
- "helpGroup": "GLOBAL",
1919
- "name": "quiet",
1920
- "allowNo": false,
1921
- "type": "boolean"
1922
- },
1923
- "no-color": {
1924
- "description": "Disable color output",
1925
- "helpGroup": "GLOBAL",
1926
- "name": "no-color",
1927
- "allowNo": false,
1928
- "type": "boolean"
1929
- },
1930
- "profile": {
1931
- "description": "Named configuration profile to use",
1932
- "helpGroup": "GLOBAL",
1933
- "name": "profile",
1934
- "default": "default",
1841
+ "limit": {
1842
+ "description": "Items per page",
1843
+ "name": "limit",
1844
+ "default": 50,
1935
1845
  "hasDynamicHelp": false,
1936
1846
  "multiple": false,
1937
1847
  "type": "option"
1938
1848
  },
1939
- "api-url": {
1940
- "description": "Override the API base URL (e.g. for staging)",
1941
- "helpGroup": "GLOBAL",
1942
- "name": "api-url",
1849
+ "search": {
1850
+ "description": "Search in matches",
1851
+ "name": "search",
1943
1852
  "hasDynamicHelp": false,
1944
1853
  "multiple": false,
1945
1854
  "type": "option"
@@ -1947,7 +1856,7 @@
1947
1856
  },
1948
1857
  "hasDynamicHelp": false,
1949
1858
  "hiddenAliases": [],
1950
- "id": "broadcast:status",
1859
+ "id": "bots:matches",
1951
1860
  "pluginAlias": "@instantkom/cli",
1952
1861
  "pluginName": "@instantkom/cli",
1953
1862
  "pluginType": "core",
@@ -1957,20 +1866,20 @@
1957
1866
  "relativePath": [
1958
1867
  "dist",
1959
1868
  "commands",
1960
- "broadcast",
1961
- "status.js"
1869
+ "bots",
1870
+ "matches.js"
1962
1871
  ]
1963
1872
  },
1964
- "broadcast:update": {
1873
+ "bots:update": {
1965
1874
  "aliases": [],
1966
1875
  "args": {
1967
1876
  "id": {
1968
- "description": "Broadcast ID",
1877
+ "description": "Bot ID",
1969
1878
  "name": "id",
1970
1879
  "required": true
1971
1880
  }
1972
1881
  },
1973
- "description": "Update a broadcast",
1882
+ "description": "Update a bot",
1974
1883
  "flags": {
1975
1884
  "api-key": {
1976
1885
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2034,61 +1943,50 @@
2034
1943
  "multiple": false,
2035
1944
  "type": "option"
2036
1945
  },
2037
- "text": {
2038
- "description": "Broadcast message text",
2039
- "name": "text",
1946
+ "name": {
1947
+ "description": "Bot name",
1948
+ "name": "name",
2040
1949
  "hasDynamicHelp": false,
2041
1950
  "multiple": false,
2042
1951
  "type": "option"
2043
1952
  },
2044
- "send-status": {
2045
- "description": "Send status",
2046
- "name": "send-status",
1953
+ "type": {
1954
+ "description": "Bot type",
1955
+ "name": "type",
2047
1956
  "hasDynamicHelp": false,
2048
1957
  "multiple": false,
1958
+ "options": [
1959
+ "keyword",
1960
+ "schedule",
1961
+ "event",
1962
+ "ai"
1963
+ ],
2049
1964
  "type": "option"
2050
1965
  },
2051
- "scheduled-at": {
2052
- "description": "Unix timestamp for scheduled send",
2053
- "name": "scheduled-at",
1966
+ "message": {
1967
+ "description": "Bot message content",
1968
+ "name": "message",
2054
1969
  "hasDynamicHelp": false,
2055
1970
  "multiple": false,
2056
1971
  "type": "option"
2057
1972
  },
2058
- "approved": {
2059
- "description": "Mark as approved",
2060
- "name": "approved",
2061
- "allowNo": false,
2062
- "type": "boolean"
2063
- },
2064
- "locked": {
2065
- "description": "Mark as locked",
2066
- "name": "locked",
2067
- "allowNo": false,
2068
- "type": "boolean"
2069
- },
2070
- "test": {
2071
- "description": "Mark as test broadcast",
2072
- "name": "test",
2073
- "allowNo": false,
2074
- "type": "boolean"
1973
+ "response": {
1974
+ "description": "Alias for --message",
1975
+ "name": "response",
1976
+ "hasDynamicHelp": false,
1977
+ "multiple": false,
1978
+ "type": "option"
2075
1979
  },
2076
- "template-id": {
2077
- "description": "Template ID",
2078
- "name": "template-id",
1980
+ "color": {
1981
+ "description": "Bot color as HEX",
1982
+ "name": "color",
2079
1983
  "hasDynamicHelp": false,
2080
1984
  "multiple": false,
2081
1985
  "type": "option"
2082
1986
  },
2083
- "remove-media": {
2084
- "description": "Remove existing media",
2085
- "name": "remove-media",
2086
- "allowNo": false,
2087
- "type": "boolean"
2088
- },
2089
- "header-footer": {
2090
- "description": "Header/footer JSON array",
2091
- "name": "header-footer",
1987
+ "tags": {
1988
+ "description": "Comma-separated tags",
1989
+ "name": "tags",
2092
1990
  "hasDynamicHelp": false,
2093
1991
  "multiple": false,
2094
1992
  "type": "option"
@@ -2103,7 +2001,7 @@
2103
2001
  },
2104
2002
  "hasDynamicHelp": false,
2105
2003
  "hiddenAliases": [],
2106
- "id": "broadcast:update",
2004
+ "id": "bots:update",
2107
2005
  "pluginAlias": "@instantkom/cli",
2108
2006
  "pluginName": "@instantkom/cli",
2109
2007
  "pluginType": "core",
@@ -2113,7 +2011,7 @@
2113
2011
  "relativePath": [
2114
2012
  "dist",
2115
2013
  "commands",
2116
- "broadcast",
2014
+ "bots",
2117
2015
  "update.js"
2118
2016
  ]
2119
2017
  },
@@ -2998,10 +2896,10 @@
2998
2896
  "reply.js"
2999
2897
  ]
3000
2898
  },
3001
- "bots:create": {
2899
+ "broadcast:create": {
3002
2900
  "aliases": [],
3003
2901
  "args": {},
3004
- "description": "Create a bot",
2902
+ "description": "Create a broadcast for channels or segments",
3005
2903
  "flags": {
3006
2904
  "api-key": {
3007
2905
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3066,74 +2964,91 @@
3066
2964
  "type": "option"
3067
2965
  },
3068
2966
  "channel": {
3069
- "description": "Channel ID",
2967
+ "description": "Channel ID target",
3070
2968
  "name": "channel",
3071
- "required": true,
3072
2969
  "hasDynamicHelp": false,
3073
2970
  "multiple": false,
3074
2971
  "type": "option"
3075
2972
  },
3076
- "name": {
3077
- "description": "Bot name",
3078
- "name": "name",
3079
- "required": true,
2973
+ "segment": {
2974
+ "description": "Segment ID within --channel",
2975
+ "name": "segment",
3080
2976
  "hasDynamicHelp": false,
3081
2977
  "multiple": false,
3082
2978
  "type": "option"
3083
2979
  },
3084
- "type": {
3085
- "description": "Bot type",
3086
- "name": "type",
2980
+ "target": {
2981
+ "description": "Target as channelId or channelId:segmentId; may be repeated",
2982
+ "name": "target",
2983
+ "hasDynamicHelp": false,
2984
+ "multiple": true,
2985
+ "type": "option"
2986
+ },
2987
+ "text": {
2988
+ "description": "Broadcast message text",
2989
+ "name": "text",
3087
2990
  "required": true,
3088
2991
  "hasDynamicHelp": false,
3089
2992
  "multiple": false,
3090
- "options": [
3091
- "keyword",
3092
- "schedule",
3093
- "event",
3094
- "ai"
3095
- ],
3096
2993
  "type": "option"
3097
2994
  },
3098
- "message": {
3099
- "description": "Bot message content",
3100
- "name": "message",
2995
+ "send-at": {
2996
+ "description": "Schedule send for an ISO-8601 date-time",
2997
+ "name": "send-at",
3101
2998
  "hasDynamicHelp": false,
3102
2999
  "multiple": false,
3103
3000
  "type": "option"
3104
3001
  },
3105
- "response": {
3106
- "description": "Alias for --message",
3107
- "name": "response",
3002
+ "dry-run": {
3003
+ "description": "Validate and print the broadcast payload without mutating API calls",
3004
+ "name": "dry-run",
3005
+ "allowNo": false,
3006
+ "type": "boolean"
3007
+ },
3008
+ "idempotency-key": {
3009
+ "description": "Idempotency key forwarded as Idempotency-Key",
3010
+ "name": "idempotency-key",
3108
3011
  "hasDynamicHelp": false,
3109
3012
  "multiple": false,
3110
3013
  "type": "option"
3111
3014
  },
3112
- "color": {
3113
- "description": "Bot color as HEX",
3114
- "name": "color",
3015
+ "media": {
3016
+ "description": "Media file path to upload",
3017
+ "name": "media",
3115
3018
  "hasDynamicHelp": false,
3116
- "multiple": false,
3019
+ "multiple": true,
3117
3020
  "type": "option"
3118
3021
  },
3119
- "tags": {
3120
- "description": "Comma-separated tags",
3121
- "name": "tags",
3022
+ "template-id": {
3023
+ "description": "WhatsApp template ID",
3024
+ "name": "template-id",
3122
3025
  "hasDynamicHelp": false,
3123
3026
  "multiple": false,
3124
3027
  "type": "option"
3125
3028
  },
3126
- "data": {
3127
- "description": "Additional JSON object payload",
3128
- "name": "data",
3029
+ "send-status": {
3030
+ "description": "Initial broadcast send status",
3031
+ "name": "send-status",
3032
+ "default": "draft",
3129
3033
  "hasDynamicHelp": false,
3130
3034
  "multiple": false,
3035
+ "options": [
3036
+ "draft",
3037
+ "scheduled",
3038
+ "sending"
3039
+ ],
3131
3040
  "type": "option"
3041
+ },
3042
+ "auto-approve": {
3043
+ "description": "Auto-approve broadcast when allowed by API permissions",
3044
+ "name": "auto-approve",
3045
+ "allowNo": false,
3046
+ "type": "boolean"
3132
3047
  }
3133
3048
  },
3134
3049
  "hasDynamicHelp": false,
3135
3050
  "hiddenAliases": [],
3136
- "id": "bots:create",
3051
+ "id": "broadcast:create",
3137
3052
  "pluginAlias": "@instantkom/cli",
3138
3053
  "pluginName": "@instantkom/cli",
3139
3054
  "pluginType": "core",
@@ -3143,20 +3058,20 @@
3143
3058
  "relativePath": [
3144
3059
  "dist",
3145
3060
  "commands",
3146
- "bots",
3061
+ "broadcast",
3147
3062
  "create.js"
3148
3063
  ]
3149
3064
  },
3150
- "bots:delete": {
3065
+ "broadcast:delete": {
3151
3066
  "aliases": [],
3152
3067
  "args": {
3153
3068
  "id": {
3154
- "description": "Bot ID",
3069
+ "description": "broadcast ID",
3155
3070
  "name": "id",
3156
3071
  "required": true
3157
3072
  }
3158
3073
  },
3159
- "description": "Delete a bot",
3074
+ "description": "Delete broadcast",
3160
3075
  "flags": {
3161
3076
  "api-key": {
3162
3077
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3223,7 +3138,7 @@
3223
3138
  },
3224
3139
  "hasDynamicHelp": false,
3225
3140
  "hiddenAliases": [],
3226
- "id": "bots:delete",
3141
+ "id": "broadcast:delete",
3227
3142
  "pluginAlias": "@instantkom/cli",
3228
3143
  "pluginName": "@instantkom/cli",
3229
3144
  "pluginType": "core",
@@ -3233,20 +3148,104 @@
3233
3148
  "relativePath": [
3234
3149
  "dist",
3235
3150
  "commands",
3236
- "bots",
3151
+ "broadcast",
3237
3152
  "delete.js"
3238
3153
  ]
3239
3154
  },
3240
- "bots:get": {
3155
+ "broadcast:get": {
3241
3156
  "aliases": [],
3242
3157
  "args": {
3243
3158
  "id": {
3244
- "description": "Bot ID",
3159
+ "description": "broadcast ID",
3245
3160
  "name": "id",
3246
3161
  "required": true
3247
3162
  }
3248
3163
  },
3249
- "description": "Get a bot by ID",
3164
+ "description": "Get broadcast by ID",
3165
+ "flags": {
3166
+ "api-key": {
3167
+ "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
3168
+ "env": "IKM_API_KEY",
3169
+ "helpGroup": "GLOBAL",
3170
+ "name": "api-key",
3171
+ "hasDynamicHelp": false,
3172
+ "multiple": false,
3173
+ "type": "option"
3174
+ },
3175
+ "format": {
3176
+ "description": "Output format: text, json, yaml, or table",
3177
+ "helpGroup": "GLOBAL",
3178
+ "name": "format",
3179
+ "default": "text",
3180
+ "hasDynamicHelp": false,
3181
+ "multiple": false,
3182
+ "options": [
3183
+ "text",
3184
+ "json",
3185
+ "yaml",
3186
+ "table"
3187
+ ],
3188
+ "type": "option"
3189
+ },
3190
+ "json": {
3191
+ "description": "Output in JSON format (alias for --format=json)",
3192
+ "helpGroup": "GLOBAL",
3193
+ "name": "json",
3194
+ "allowNo": false,
3195
+ "type": "boolean"
3196
+ },
3197
+ "quiet": {
3198
+ "description": "Suppress all output except errors",
3199
+ "helpGroup": "GLOBAL",
3200
+ "name": "quiet",
3201
+ "allowNo": false,
3202
+ "type": "boolean"
3203
+ },
3204
+ "no-color": {
3205
+ "description": "Disable color output",
3206
+ "helpGroup": "GLOBAL",
3207
+ "name": "no-color",
3208
+ "allowNo": false,
3209
+ "type": "boolean"
3210
+ },
3211
+ "profile": {
3212
+ "description": "Named configuration profile to use",
3213
+ "helpGroup": "GLOBAL",
3214
+ "name": "profile",
3215
+ "default": "default",
3216
+ "hasDynamicHelp": false,
3217
+ "multiple": false,
3218
+ "type": "option"
3219
+ },
3220
+ "api-url": {
3221
+ "description": "Override the API base URL (e.g. for staging)",
3222
+ "helpGroup": "GLOBAL",
3223
+ "name": "api-url",
3224
+ "hasDynamicHelp": false,
3225
+ "multiple": false,
3226
+ "type": "option"
3227
+ }
3228
+ },
3229
+ "hasDynamicHelp": false,
3230
+ "hiddenAliases": [],
3231
+ "id": "broadcast:get",
3232
+ "pluginAlias": "@instantkom/cli",
3233
+ "pluginName": "@instantkom/cli",
3234
+ "pluginType": "core",
3235
+ "strict": true,
3236
+ "enableJsonFlag": false,
3237
+ "isESM": true,
3238
+ "relativePath": [
3239
+ "dist",
3240
+ "commands",
3241
+ "broadcast",
3242
+ "get.js"
3243
+ ]
3244
+ },
3245
+ "broadcast:list": {
3246
+ "aliases": [],
3247
+ "args": {},
3248
+ "description": "List broadcasts",
3250
3249
  "flags": {
3251
3250
  "api-key": {
3252
3251
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3302,18 +3301,80 @@
3302
3301
  "multiple": false,
3303
3302
  "type": "option"
3304
3303
  },
3305
- "api-url": {
3306
- "description": "Override the API base URL (e.g. for staging)",
3307
- "helpGroup": "GLOBAL",
3308
- "name": "api-url",
3304
+ "api-url": {
3305
+ "description": "Override the API base URL (e.g. for staging)",
3306
+ "helpGroup": "GLOBAL",
3307
+ "name": "api-url",
3308
+ "hasDynamicHelp": false,
3309
+ "multiple": false,
3310
+ "type": "option"
3311
+ },
3312
+ "page": {
3313
+ "description": "Page number",
3314
+ "name": "page",
3315
+ "default": 1,
3316
+ "hasDynamicHelp": false,
3317
+ "multiple": false,
3318
+ "type": "option"
3319
+ },
3320
+ "limit": {
3321
+ "description": "Items per page",
3322
+ "name": "limit",
3323
+ "default": 20,
3324
+ "hasDynamicHelp": false,
3325
+ "multiple": false,
3326
+ "type": "option"
3327
+ },
3328
+ "channel": {
3329
+ "description": "Filter by channel ID",
3330
+ "name": "channel",
3331
+ "hasDynamicHelp": false,
3332
+ "multiple": false,
3333
+ "type": "option"
3334
+ },
3335
+ "send-status": {
3336
+ "description": "Filter by send status",
3337
+ "name": "send-status",
3338
+ "hasDynamicHelp": false,
3339
+ "multiple": false,
3340
+ "type": "option"
3341
+ },
3342
+ "type": {
3343
+ "description": "Broadcast type",
3344
+ "name": "type",
3345
+ "hasDynamicHelp": false,
3346
+ "multiple": false,
3347
+ "options": [
3348
+ "text",
3349
+ "image",
3350
+ "video",
3351
+ "audio",
3352
+ "document"
3353
+ ],
3354
+ "type": "option"
3355
+ },
3356
+ "search": {
3357
+ "description": "Search broadcasts",
3358
+ "name": "search",
3359
+ "hasDynamicHelp": false,
3360
+ "multiple": false,
3361
+ "type": "option"
3362
+ },
3363
+ "test": {
3364
+ "description": "Filter test flag: 0 or 1",
3365
+ "name": "test",
3309
3366
  "hasDynamicHelp": false,
3310
3367
  "multiple": false,
3368
+ "options": [
3369
+ "0",
3370
+ "1"
3371
+ ],
3311
3372
  "type": "option"
3312
3373
  }
3313
3374
  },
3314
3375
  "hasDynamicHelp": false,
3315
3376
  "hiddenAliases": [],
3316
- "id": "bots:get",
3377
+ "id": "broadcast:list",
3317
3378
  "pluginAlias": "@instantkom/cli",
3318
3379
  "pluginName": "@instantkom/cli",
3319
3380
  "pluginType": "core",
@@ -3323,14 +3384,20 @@
3323
3384
  "relativePath": [
3324
3385
  "dist",
3325
3386
  "commands",
3326
- "bots",
3327
- "get.js"
3387
+ "broadcast",
3388
+ "list.js"
3328
3389
  ]
3329
3390
  },
3330
- "bots:list": {
3391
+ "broadcast:send": {
3331
3392
  "aliases": [],
3332
- "args": {},
3333
- "description": "List bots",
3393
+ "args": {
3394
+ "id": {
3395
+ "description": "Broadcast ID",
3396
+ "name": "id",
3397
+ "required": true
3398
+ }
3399
+ },
3400
+ "description": "Send a broadcast immediately",
3334
3401
  "flags": {
3335
3402
  "api-key": {
3336
3403
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3393,66 +3460,11 @@
3393
3460
  "hasDynamicHelp": false,
3394
3461
  "multiple": false,
3395
3462
  "type": "option"
3396
- },
3397
- "page": {
3398
- "description": "Page number",
3399
- "name": "page",
3400
- "default": 1,
3401
- "hasDynamicHelp": false,
3402
- "multiple": false,
3403
- "type": "option"
3404
- },
3405
- "limit": {
3406
- "description": "Items per page",
3407
- "name": "limit",
3408
- "default": 20,
3409
- "hasDynamicHelp": false,
3410
- "multiple": false,
3411
- "type": "option"
3412
- },
3413
- "channel": {
3414
- "description": "Filter by channel ID",
3415
- "name": "channel",
3416
- "hasDynamicHelp": false,
3417
- "multiple": false,
3418
- "type": "option"
3419
- },
3420
- "type": {
3421
- "description": "Filter by bot type",
3422
- "name": "type",
3423
- "hasDynamicHelp": false,
3424
- "multiple": false,
3425
- "type": "option"
3426
- },
3427
- "search": {
3428
- "description": "Search in bot name or message",
3429
- "name": "search",
3430
- "hasDynamicHelp": false,
3431
- "multiple": false,
3432
- "type": "option"
3433
- },
3434
- "tags": {
3435
- "description": "Comma-separated tag IDs",
3436
- "name": "tags",
3437
- "hasDynamicHelp": false,
3438
- "multiple": false,
3439
- "type": "option"
3440
- },
3441
- "tag-match": {
3442
- "description": "Tag match mode",
3443
- "name": "tag-match",
3444
- "hasDynamicHelp": false,
3445
- "multiple": false,
3446
- "options": [
3447
- "any",
3448
- "all"
3449
- ],
3450
- "type": "option"
3451
3463
  }
3452
3464
  },
3453
3465
  "hasDynamicHelp": false,
3454
3466
  "hiddenAliases": [],
3455
- "id": "bots:list",
3467
+ "id": "broadcast:send",
3456
3468
  "pluginAlias": "@instantkom/cli",
3457
3469
  "pluginName": "@instantkom/cli",
3458
3470
  "pluginType": "core",
@@ -3462,20 +3474,20 @@
3462
3474
  "relativePath": [
3463
3475
  "dist",
3464
3476
  "commands",
3465
- "bots",
3466
- "list.js"
3477
+ "broadcast",
3478
+ "send.js"
3467
3479
  ]
3468
3480
  },
3469
- "bots:matches": {
3481
+ "broadcast:status": {
3470
3482
  "aliases": [],
3471
3483
  "args": {
3472
3484
  "id": {
3473
- "description": "Bot ID",
3485
+ "description": "Broadcast ID",
3474
3486
  "name": "id",
3475
3487
  "required": true
3476
3488
  }
3477
3489
  },
3478
- "description": "List bot match history",
3490
+ "description": "Show broadcast send status",
3479
3491
  "flags": {
3480
3492
  "api-key": {
3481
3493
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3538,34 +3550,11 @@
3538
3550
  "hasDynamicHelp": false,
3539
3551
  "multiple": false,
3540
3552
  "type": "option"
3541
- },
3542
- "page": {
3543
- "description": "Page number",
3544
- "name": "page",
3545
- "default": 1,
3546
- "hasDynamicHelp": false,
3547
- "multiple": false,
3548
- "type": "option"
3549
- },
3550
- "limit": {
3551
- "description": "Items per page",
3552
- "name": "limit",
3553
- "default": 50,
3554
- "hasDynamicHelp": false,
3555
- "multiple": false,
3556
- "type": "option"
3557
- },
3558
- "search": {
3559
- "description": "Search in matches",
3560
- "name": "search",
3561
- "hasDynamicHelp": false,
3562
- "multiple": false,
3563
- "type": "option"
3564
3553
  }
3565
3554
  },
3566
3555
  "hasDynamicHelp": false,
3567
3556
  "hiddenAliases": [],
3568
- "id": "bots:matches",
3557
+ "id": "broadcast:status",
3569
3558
  "pluginAlias": "@instantkom/cli",
3570
3559
  "pluginName": "@instantkom/cli",
3571
3560
  "pluginType": "core",
@@ -3575,20 +3564,20 @@
3575
3564
  "relativePath": [
3576
3565
  "dist",
3577
3566
  "commands",
3578
- "bots",
3579
- "matches.js"
3567
+ "broadcast",
3568
+ "status.js"
3580
3569
  ]
3581
3570
  },
3582
- "bots:update": {
3571
+ "broadcast:update": {
3583
3572
  "aliases": [],
3584
3573
  "args": {
3585
3574
  "id": {
3586
- "description": "Bot ID",
3575
+ "description": "Broadcast ID",
3587
3576
  "name": "id",
3588
3577
  "required": true
3589
3578
  }
3590
3579
  },
3591
- "description": "Update a bot",
3580
+ "description": "Update a broadcast",
3592
3581
  "flags": {
3593
3582
  "api-key": {
3594
3583
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3652,50 +3641,61 @@
3652
3641
  "multiple": false,
3653
3642
  "type": "option"
3654
3643
  },
3655
- "name": {
3656
- "description": "Bot name",
3657
- "name": "name",
3644
+ "text": {
3645
+ "description": "Broadcast message text",
3646
+ "name": "text",
3658
3647
  "hasDynamicHelp": false,
3659
3648
  "multiple": false,
3660
3649
  "type": "option"
3661
3650
  },
3662
- "type": {
3663
- "description": "Bot type",
3664
- "name": "type",
3651
+ "send-status": {
3652
+ "description": "Send status",
3653
+ "name": "send-status",
3665
3654
  "hasDynamicHelp": false,
3666
3655
  "multiple": false,
3667
- "options": [
3668
- "keyword",
3669
- "schedule",
3670
- "event",
3671
- "ai"
3672
- ],
3673
3656
  "type": "option"
3674
3657
  },
3675
- "message": {
3676
- "description": "Bot message content",
3677
- "name": "message",
3658
+ "scheduled-at": {
3659
+ "description": "Unix timestamp for scheduled send",
3660
+ "name": "scheduled-at",
3678
3661
  "hasDynamicHelp": false,
3679
3662
  "multiple": false,
3680
3663
  "type": "option"
3681
3664
  },
3682
- "response": {
3683
- "description": "Alias for --message",
3684
- "name": "response",
3685
- "hasDynamicHelp": false,
3686
- "multiple": false,
3687
- "type": "option"
3665
+ "approved": {
3666
+ "description": "Mark as approved",
3667
+ "name": "approved",
3668
+ "allowNo": false,
3669
+ "type": "boolean"
3688
3670
  },
3689
- "color": {
3690
- "description": "Bot color as HEX",
3691
- "name": "color",
3671
+ "locked": {
3672
+ "description": "Mark as locked",
3673
+ "name": "locked",
3674
+ "allowNo": false,
3675
+ "type": "boolean"
3676
+ },
3677
+ "test": {
3678
+ "description": "Mark as test broadcast",
3679
+ "name": "test",
3680
+ "allowNo": false,
3681
+ "type": "boolean"
3682
+ },
3683
+ "template-id": {
3684
+ "description": "Template ID",
3685
+ "name": "template-id",
3692
3686
  "hasDynamicHelp": false,
3693
3687
  "multiple": false,
3694
3688
  "type": "option"
3695
3689
  },
3696
- "tags": {
3697
- "description": "Comma-separated tags",
3698
- "name": "tags",
3690
+ "remove-media": {
3691
+ "description": "Remove existing media",
3692
+ "name": "remove-media",
3693
+ "allowNo": false,
3694
+ "type": "boolean"
3695
+ },
3696
+ "header-footer": {
3697
+ "description": "Header/footer JSON array",
3698
+ "name": "header-footer",
3699
3699
  "hasDynamicHelp": false,
3700
3700
  "multiple": false,
3701
3701
  "type": "option"
@@ -3710,7 +3710,7 @@
3710
3710
  },
3711
3711
  "hasDynamicHelp": false,
3712
3712
  "hiddenAliases": [],
3713
- "id": "bots:update",
3713
+ "id": "broadcast:update",
3714
3714
  "pluginAlias": "@instantkom/cli",
3715
3715
  "pluginName": "@instantkom/cli",
3716
3716
  "pluginType": "core",
@@ -3720,7 +3720,7 @@
3720
3720
  "relativePath": [
3721
3721
  "dist",
3722
3722
  "commands",
3723
- "bots",
3723
+ "broadcast",
3724
3724
  "update.js"
3725
3725
  ]
3726
3726
  },
@@ -12486,21 +12486,16 @@
12486
12486
  "update.js"
12487
12487
  ]
12488
12488
  },
12489
- "bots:tags:add": {
12489
+ "bots:env-vars:bots": {
12490
12490
  "aliases": [],
12491
12491
  "args": {
12492
12492
  "id": {
12493
- "description": "Bot ID",
12493
+ "description": "Environment variable ID",
12494
12494
  "name": "id",
12495
12495
  "required": true
12496
- },
12497
- "tagId": {
12498
- "description": "Tag ID",
12499
- "name": "tagId",
12500
- "required": true
12501
12496
  }
12502
12497
  },
12503
- "description": "Add a tag to a bot",
12498
+ "description": "List bots using a bot environment variable",
12504
12499
  "flags": {
12505
12500
  "api-key": {
12506
12501
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12567,7 +12562,7 @@
12567
12562
  },
12568
12563
  "hasDynamicHelp": false,
12569
12564
  "hiddenAliases": [],
12570
- "id": "bots:tags:add",
12565
+ "id": "bots:env-vars:bots",
12571
12566
  "pluginAlias": "@instantkom/cli",
12572
12567
  "pluginName": "@instantkom/cli",
12573
12568
  "pluginType": "core",
@@ -12578,20 +12573,14 @@
12578
12573
  "dist",
12579
12574
  "commands",
12580
12575
  "bots",
12581
- "tags",
12582
- "add.js"
12576
+ "env-vars",
12577
+ "bots.js"
12583
12578
  ]
12584
12579
  },
12585
- "bots:tags:list": {
12580
+ "bots:env-vars:create": {
12586
12581
  "aliases": [],
12587
- "args": {
12588
- "id": {
12589
- "description": "Bot ID",
12590
- "name": "id",
12591
- "required": true
12592
- }
12593
- },
12594
- "description": "List tags assigned to a bot",
12582
+ "args": {},
12583
+ "description": "Create a bot environment variable",
12595
12584
  "flags": {
12596
12585
  "api-key": {
12597
12586
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12638,19 +12627,48 @@
12638
12627
  "allowNo": false,
12639
12628
  "type": "boolean"
12640
12629
  },
12641
- "profile": {
12642
- "description": "Named configuration profile to use",
12643
- "helpGroup": "GLOBAL",
12644
- "name": "profile",
12645
- "default": "default",
12630
+ "profile": {
12631
+ "description": "Named configuration profile to use",
12632
+ "helpGroup": "GLOBAL",
12633
+ "name": "profile",
12634
+ "default": "default",
12635
+ "hasDynamicHelp": false,
12636
+ "multiple": false,
12637
+ "type": "option"
12638
+ },
12639
+ "api-url": {
12640
+ "description": "Override the API base URL (e.g. for staging)",
12641
+ "helpGroup": "GLOBAL",
12642
+ "name": "api-url",
12643
+ "hasDynamicHelp": false,
12644
+ "multiple": false,
12645
+ "type": "option"
12646
+ },
12647
+ "key": {
12648
+ "description": "Variable key (max 16 chars, letters, digits, underscore)",
12649
+ "name": "key",
12650
+ "required": true,
12651
+ "hasDynamicHelp": false,
12652
+ "multiple": false,
12653
+ "type": "option"
12654
+ },
12655
+ "description": {
12656
+ "description": "Variable description",
12657
+ "name": "description",
12646
12658
  "hasDynamicHelp": false,
12647
12659
  "multiple": false,
12648
12660
  "type": "option"
12649
12661
  },
12650
- "api-url": {
12651
- "description": "Override the API base URL (e.g. for staging)",
12652
- "helpGroup": "GLOBAL",
12653
- "name": "api-url",
12662
+ "color": {
12663
+ "description": "Variable color as HEX",
12664
+ "name": "color",
12665
+ "hasDynamicHelp": false,
12666
+ "multiple": false,
12667
+ "type": "option"
12668
+ },
12669
+ "data": {
12670
+ "description": "Additional JSON object payload",
12671
+ "name": "data",
12654
12672
  "hasDynamicHelp": false,
12655
12673
  "multiple": false,
12656
12674
  "type": "option"
@@ -12658,7 +12676,7 @@
12658
12676
  },
12659
12677
  "hasDynamicHelp": false,
12660
12678
  "hiddenAliases": [],
12661
- "id": "bots:tags:list",
12679
+ "id": "bots:env-vars:create",
12662
12680
  "pluginAlias": "@instantkom/cli",
12663
12681
  "pluginName": "@instantkom/cli",
12664
12682
  "pluginType": "core",
@@ -12669,25 +12687,20 @@
12669
12687
  "dist",
12670
12688
  "commands",
12671
12689
  "bots",
12672
- "tags",
12673
- "list.js"
12690
+ "env-vars",
12691
+ "create.js"
12674
12692
  ]
12675
12693
  },
12676
- "bots:tags:remove": {
12694
+ "bots:env-vars:delete": {
12677
12695
  "aliases": [],
12678
12696
  "args": {
12679
12697
  "id": {
12680
- "description": "Bot ID",
12698
+ "description": "Environment variable ID",
12681
12699
  "name": "id",
12682
12700
  "required": true
12683
- },
12684
- "tagId": {
12685
- "description": "Tag ID",
12686
- "name": "tagId",
12687
- "required": true
12688
12701
  }
12689
12702
  },
12690
- "description": "Remove a tag from a bot",
12703
+ "description": "Delete a bot environment variable",
12691
12704
  "flags": {
12692
12705
  "api-key": {
12693
12706
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12754,7 +12767,7 @@
12754
12767
  },
12755
12768
  "hasDynamicHelp": false,
12756
12769
  "hiddenAliases": [],
12757
- "id": "bots:tags:remove",
12770
+ "id": "bots:env-vars:delete",
12758
12771
  "pluginAlias": "@instantkom/cli",
12759
12772
  "pluginName": "@instantkom/cli",
12760
12773
  "pluginType": "core",
@@ -12765,11 +12778,11 @@
12765
12778
  "dist",
12766
12779
  "commands",
12767
12780
  "bots",
12768
- "tags",
12769
- "remove.js"
12781
+ "env-vars",
12782
+ "delete.js"
12770
12783
  ]
12771
12784
  },
12772
- "bots:env-vars:bots": {
12785
+ "bots:env-vars:get": {
12773
12786
  "aliases": [],
12774
12787
  "args": {
12775
12788
  "id": {
@@ -12778,7 +12791,7 @@
12778
12791
  "required": true
12779
12792
  }
12780
12793
  },
12781
- "description": "List bots using a bot environment variable",
12794
+ "description": "Get a bot environment variable",
12782
12795
  "flags": {
12783
12796
  "api-key": {
12784
12797
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12845,7 +12858,7 @@
12845
12858
  },
12846
12859
  "hasDynamicHelp": false,
12847
12860
  "hiddenAliases": [],
12848
- "id": "bots:env-vars:bots",
12861
+ "id": "bots:env-vars:get",
12849
12862
  "pluginAlias": "@instantkom/cli",
12850
12863
  "pluginName": "@instantkom/cli",
12851
12864
  "pluginType": "core",
@@ -12857,13 +12870,13 @@
12857
12870
  "commands",
12858
12871
  "bots",
12859
12872
  "env-vars",
12860
- "bots.js"
12873
+ "get.js"
12861
12874
  ]
12862
12875
  },
12863
- "bots:env-vars:create": {
12876
+ "bots:env-vars:list": {
12864
12877
  "aliases": [],
12865
12878
  "args": {},
12866
- "description": "Create a bot environment variable",
12879
+ "description": "List bot environment variables",
12867
12880
  "flags": {
12868
12881
  "api-key": {
12869
12882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -12927,31 +12940,32 @@
12927
12940
  "multiple": false,
12928
12941
  "type": "option"
12929
12942
  },
12930
- "key": {
12931
- "description": "Variable key (max 16 chars, letters, digits, underscore)",
12932
- "name": "key",
12933
- "required": true,
12943
+ "page": {
12944
+ "description": "Page number",
12945
+ "name": "page",
12946
+ "default": 1,
12934
12947
  "hasDynamicHelp": false,
12935
12948
  "multiple": false,
12936
12949
  "type": "option"
12937
12950
  },
12938
- "description": {
12939
- "description": "Variable description",
12940
- "name": "description",
12951
+ "limit": {
12952
+ "description": "Items per page",
12953
+ "name": "limit",
12954
+ "default": 20,
12941
12955
  "hasDynamicHelp": false,
12942
12956
  "multiple": false,
12943
12957
  "type": "option"
12944
12958
  },
12945
- "color": {
12946
- "description": "Variable color as HEX",
12947
- "name": "color",
12959
+ "search": {
12960
+ "description": "Search in key or description",
12961
+ "name": "search",
12948
12962
  "hasDynamicHelp": false,
12949
12963
  "multiple": false,
12950
12964
  "type": "option"
12951
12965
  },
12952
- "data": {
12953
- "description": "Additional JSON object payload",
12954
- "name": "data",
12966
+ "color": {
12967
+ "description": "Filter by color",
12968
+ "name": "color",
12955
12969
  "hasDynamicHelp": false,
12956
12970
  "multiple": false,
12957
12971
  "type": "option"
@@ -12959,7 +12973,7 @@
12959
12973
  },
12960
12974
  "hasDynamicHelp": false,
12961
12975
  "hiddenAliases": [],
12962
- "id": "bots:env-vars:create",
12976
+ "id": "bots:env-vars:list",
12963
12977
  "pluginAlias": "@instantkom/cli",
12964
12978
  "pluginName": "@instantkom/cli",
12965
12979
  "pluginType": "core",
@@ -12971,10 +12985,10 @@
12971
12985
  "commands",
12972
12986
  "bots",
12973
12987
  "env-vars",
12974
- "create.js"
12988
+ "list.js"
12975
12989
  ]
12976
12990
  },
12977
- "bots:env-vars:delete": {
12991
+ "bots:env-vars:update": {
12978
12992
  "aliases": [],
12979
12993
  "args": {
12980
12994
  "id": {
@@ -12983,7 +12997,7 @@
12983
12997
  "required": true
12984
12998
  }
12985
12999
  },
12986
- "description": "Delete a bot environment variable",
13000
+ "description": "Update a bot environment variable",
12987
13001
  "flags": {
12988
13002
  "api-key": {
12989
13003
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13046,11 +13060,32 @@
13046
13060
  "hasDynamicHelp": false,
13047
13061
  "multiple": false,
13048
13062
  "type": "option"
13063
+ },
13064
+ "description": {
13065
+ "description": "Variable description",
13066
+ "name": "description",
13067
+ "hasDynamicHelp": false,
13068
+ "multiple": false,
13069
+ "type": "option"
13070
+ },
13071
+ "color": {
13072
+ "description": "Variable color as HEX",
13073
+ "name": "color",
13074
+ "hasDynamicHelp": false,
13075
+ "multiple": false,
13076
+ "type": "option"
13077
+ },
13078
+ "data": {
13079
+ "description": "Additional JSON object payload",
13080
+ "name": "data",
13081
+ "hasDynamicHelp": false,
13082
+ "multiple": false,
13083
+ "type": "option"
13049
13084
  }
13050
13085
  },
13051
13086
  "hasDynamicHelp": false,
13052
13087
  "hiddenAliases": [],
13053
- "id": "bots:env-vars:delete",
13088
+ "id": "bots:env-vars:update",
13054
13089
  "pluginAlias": "@instantkom/cli",
13055
13090
  "pluginName": "@instantkom/cli",
13056
13091
  "pluginType": "core",
@@ -13062,10 +13097,10 @@
13062
13097
  "commands",
13063
13098
  "bots",
13064
13099
  "env-vars",
13065
- "delete.js"
13100
+ "update.js"
13066
13101
  ]
13067
13102
  },
13068
- "bots:env-vars:get": {
13103
+ "bots:env-vars:values": {
13069
13104
  "aliases": [],
13070
13105
  "args": {
13071
13106
  "id": {
@@ -13074,7 +13109,7 @@
13074
13109
  "required": true
13075
13110
  }
13076
13111
  },
13077
- "description": "Get a bot environment variable",
13112
+ "description": "List recipient values for a bot environment variable",
13078
13113
  "flags": {
13079
13114
  "api-key": {
13080
13115
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13137,11 +13172,41 @@
13137
13172
  "hasDynamicHelp": false,
13138
13173
  "multiple": false,
13139
13174
  "type": "option"
13175
+ },
13176
+ "page": {
13177
+ "description": "Page number",
13178
+ "name": "page",
13179
+ "default": 1,
13180
+ "hasDynamicHelp": false,
13181
+ "multiple": false,
13182
+ "type": "option"
13183
+ },
13184
+ "limit": {
13185
+ "description": "Items per page",
13186
+ "name": "limit",
13187
+ "default": 20,
13188
+ "hasDynamicHelp": false,
13189
+ "multiple": false,
13190
+ "type": "option"
13191
+ },
13192
+ "search": {
13193
+ "description": "Search in recipient name or identifier",
13194
+ "name": "search",
13195
+ "hasDynamicHelp": false,
13196
+ "multiple": false,
13197
+ "type": "option"
13198
+ },
13199
+ "recipient": {
13200
+ "description": "Filter by recipient ID",
13201
+ "name": "recipient",
13202
+ "hasDynamicHelp": false,
13203
+ "multiple": false,
13204
+ "type": "option"
13140
13205
  }
13141
13206
  },
13142
13207
  "hasDynamicHelp": false,
13143
13208
  "hiddenAliases": [],
13144
- "id": "bots:env-vars:get",
13209
+ "id": "bots:env-vars:values",
13145
13210
  "pluginAlias": "@instantkom/cli",
13146
13211
  "pluginName": "@instantkom/cli",
13147
13212
  "pluginType": "core",
@@ -13153,13 +13218,24 @@
13153
13218
  "commands",
13154
13219
  "bots",
13155
13220
  "env-vars",
13156
- "get.js"
13221
+ "values.js"
13157
13222
  ]
13158
13223
  },
13159
- "bots:env-vars:list": {
13224
+ "bots:tags:add": {
13160
13225
  "aliases": [],
13161
- "args": {},
13162
- "description": "List bot environment variables",
13226
+ "args": {
13227
+ "id": {
13228
+ "description": "Bot ID",
13229
+ "name": "id",
13230
+ "required": true
13231
+ },
13232
+ "tagId": {
13233
+ "description": "Tag ID",
13234
+ "name": "tagId",
13235
+ "required": true
13236
+ }
13237
+ },
13238
+ "description": "Add a tag to a bot",
13163
13239
  "flags": {
13164
13240
  "api-key": {
13165
13241
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13222,41 +13298,11 @@
13222
13298
  "hasDynamicHelp": false,
13223
13299
  "multiple": false,
13224
13300
  "type": "option"
13225
- },
13226
- "page": {
13227
- "description": "Page number",
13228
- "name": "page",
13229
- "default": 1,
13230
- "hasDynamicHelp": false,
13231
- "multiple": false,
13232
- "type": "option"
13233
- },
13234
- "limit": {
13235
- "description": "Items per page",
13236
- "name": "limit",
13237
- "default": 20,
13238
- "hasDynamicHelp": false,
13239
- "multiple": false,
13240
- "type": "option"
13241
- },
13242
- "search": {
13243
- "description": "Search in key or description",
13244
- "name": "search",
13245
- "hasDynamicHelp": false,
13246
- "multiple": false,
13247
- "type": "option"
13248
- },
13249
- "color": {
13250
- "description": "Filter by color",
13251
- "name": "color",
13252
- "hasDynamicHelp": false,
13253
- "multiple": false,
13254
- "type": "option"
13255
13301
  }
13256
13302
  },
13257
13303
  "hasDynamicHelp": false,
13258
13304
  "hiddenAliases": [],
13259
- "id": "bots:env-vars:list",
13305
+ "id": "bots:tags:add",
13260
13306
  "pluginAlias": "@instantkom/cli",
13261
13307
  "pluginName": "@instantkom/cli",
13262
13308
  "pluginType": "core",
@@ -13267,20 +13313,20 @@
13267
13313
  "dist",
13268
13314
  "commands",
13269
13315
  "bots",
13270
- "env-vars",
13271
- "list.js"
13316
+ "tags",
13317
+ "add.js"
13272
13318
  ]
13273
13319
  },
13274
- "bots:env-vars:update": {
13320
+ "bots:tags:list": {
13275
13321
  "aliases": [],
13276
13322
  "args": {
13277
13323
  "id": {
13278
- "description": "Environment variable ID",
13324
+ "description": "Bot ID",
13279
13325
  "name": "id",
13280
13326
  "required": true
13281
13327
  }
13282
13328
  },
13283
- "description": "Update a bot environment variable",
13329
+ "description": "List tags assigned to a bot",
13284
13330
  "flags": {
13285
13331
  "api-key": {
13286
13332
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13343,32 +13389,11 @@
13343
13389
  "hasDynamicHelp": false,
13344
13390
  "multiple": false,
13345
13391
  "type": "option"
13346
- },
13347
- "description": {
13348
- "description": "Variable description",
13349
- "name": "description",
13350
- "hasDynamicHelp": false,
13351
- "multiple": false,
13352
- "type": "option"
13353
- },
13354
- "color": {
13355
- "description": "Variable color as HEX",
13356
- "name": "color",
13357
- "hasDynamicHelp": false,
13358
- "multiple": false,
13359
- "type": "option"
13360
- },
13361
- "data": {
13362
- "description": "Additional JSON object payload",
13363
- "name": "data",
13364
- "hasDynamicHelp": false,
13365
- "multiple": false,
13366
- "type": "option"
13367
13392
  }
13368
13393
  },
13369
13394
  "hasDynamicHelp": false,
13370
13395
  "hiddenAliases": [],
13371
- "id": "bots:env-vars:update",
13396
+ "id": "bots:tags:list",
13372
13397
  "pluginAlias": "@instantkom/cli",
13373
13398
  "pluginName": "@instantkom/cli",
13374
13399
  "pluginType": "core",
@@ -13379,20 +13404,25 @@
13379
13404
  "dist",
13380
13405
  "commands",
13381
13406
  "bots",
13382
- "env-vars",
13383
- "update.js"
13407
+ "tags",
13408
+ "list.js"
13384
13409
  ]
13385
13410
  },
13386
- "bots:env-vars:values": {
13411
+ "bots:tags:remove": {
13387
13412
  "aliases": [],
13388
13413
  "args": {
13389
13414
  "id": {
13390
- "description": "Environment variable ID",
13415
+ "description": "Bot ID",
13391
13416
  "name": "id",
13392
13417
  "required": true
13418
+ },
13419
+ "tagId": {
13420
+ "description": "Tag ID",
13421
+ "name": "tagId",
13422
+ "required": true
13393
13423
  }
13394
13424
  },
13395
- "description": "List recipient values for a bot environment variable",
13425
+ "description": "Remove a tag from a bot",
13396
13426
  "flags": {
13397
13427
  "api-key": {
13398
13428
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -13455,41 +13485,11 @@
13455
13485
  "hasDynamicHelp": false,
13456
13486
  "multiple": false,
13457
13487
  "type": "option"
13458
- },
13459
- "page": {
13460
- "description": "Page number",
13461
- "name": "page",
13462
- "default": 1,
13463
- "hasDynamicHelp": false,
13464
- "multiple": false,
13465
- "type": "option"
13466
- },
13467
- "limit": {
13468
- "description": "Items per page",
13469
- "name": "limit",
13470
- "default": 20,
13471
- "hasDynamicHelp": false,
13472
- "multiple": false,
13473
- "type": "option"
13474
- },
13475
- "search": {
13476
- "description": "Search in recipient name or identifier",
13477
- "name": "search",
13478
- "hasDynamicHelp": false,
13479
- "multiple": false,
13480
- "type": "option"
13481
- },
13482
- "recipient": {
13483
- "description": "Filter by recipient ID",
13484
- "name": "recipient",
13485
- "hasDynamicHelp": false,
13486
- "multiple": false,
13487
- "type": "option"
13488
13488
  }
13489
13489
  },
13490
13490
  "hasDynamicHelp": false,
13491
13491
  "hiddenAliases": [],
13492
- "id": "bots:env-vars:values",
13492
+ "id": "bots:tags:remove",
13493
13493
  "pluginAlias": "@instantkom/cli",
13494
13494
  "pluginName": "@instantkom/cli",
13495
13495
  "pluginType": "core",
@@ -13500,8 +13500,8 @@
13500
13500
  "dist",
13501
13501
  "commands",
13502
13502
  "bots",
13503
- "env-vars",
13504
- "values.js"
13503
+ "tags",
13504
+ "remove.js"
13505
13505
  ]
13506
13506
  },
13507
13507
  "contacts:custom-fields:delete-value": {
@@ -14190,7 +14190,7 @@
14190
14190
  "remove.js"
14191
14191
  ]
14192
14192
  },
14193
- "flow:nodes:create": {
14193
+ "flow:edges:create": {
14194
14194
  "aliases": [],
14195
14195
  "args": {
14196
14196
  "flowId": {
@@ -14199,7 +14199,7 @@
14199
14199
  "required": true
14200
14200
  }
14201
14201
  },
14202
- "description": "Create a flow node",
14202
+ "description": "Create a flow edge",
14203
14203
  "flags": {
14204
14204
  "api-key": {
14205
14205
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14263,33 +14263,33 @@
14263
14263
  "multiple": false,
14264
14264
  "type": "option"
14265
14265
  },
14266
- "bot": {
14267
- "description": "Bot ID",
14268
- "name": "bot",
14266
+ "source": {
14267
+ "description": "Source node ID",
14268
+ "name": "source",
14269
+ "required": true,
14269
14270
  "hasDynamicHelp": false,
14270
14271
  "multiple": false,
14271
14272
  "type": "option"
14272
14273
  },
14273
- "type": {
14274
- "description": "Node type",
14275
- "name": "type",
14274
+ "target": {
14275
+ "description": "Target node ID",
14276
+ "name": "target",
14276
14277
  "required": true,
14277
14278
  "hasDynamicHelp": false,
14278
14279
  "multiple": false,
14279
14280
  "type": "option"
14280
14281
  },
14281
- "x": {
14282
- "description": "X position",
14283
- "name": "x",
14284
- "required": true,
14282
+ "label": {
14283
+ "description": "Edge label",
14284
+ "name": "label",
14285
14285
  "hasDynamicHelp": false,
14286
14286
  "multiple": false,
14287
14287
  "type": "option"
14288
14288
  },
14289
- "y": {
14290
- "description": "Y position",
14291
- "name": "y",
14292
- "required": true,
14289
+ "type": {
14290
+ "description": "Edge type",
14291
+ "name": "type",
14292
+ "default": "default",
14293
14293
  "hasDynamicHelp": false,
14294
14294
  "multiple": false,
14295
14295
  "type": "option"
@@ -14304,7 +14304,7 @@
14304
14304
  },
14305
14305
  "hasDynamicHelp": false,
14306
14306
  "hiddenAliases": [],
14307
- "id": "flow:nodes:create",
14307
+ "id": "flow:edges:create",
14308
14308
  "pluginAlias": "@instantkom/cli",
14309
14309
  "pluginName": "@instantkom/cli",
14310
14310
  "pluginType": "core",
@@ -14315,11 +14315,11 @@
14315
14315
  "dist",
14316
14316
  "commands",
14317
14317
  "flow",
14318
- "nodes",
14318
+ "edges",
14319
14319
  "create.js"
14320
14320
  ]
14321
14321
  },
14322
- "flow:nodes:delete": {
14322
+ "flow:edges:delete": {
14323
14323
  "aliases": [],
14324
14324
  "args": {
14325
14325
  "flowId": {
@@ -14327,13 +14327,13 @@
14327
14327
  "name": "flowId",
14328
14328
  "required": true
14329
14329
  },
14330
- "nodeId": {
14331
- "description": "Node ID",
14332
- "name": "nodeId",
14330
+ "edgeId": {
14331
+ "description": "Edge ID",
14332
+ "name": "edgeId",
14333
14333
  "required": true
14334
14334
  }
14335
14335
  },
14336
- "description": "Delete a flow node",
14336
+ "description": "Delete a flow edge",
14337
14337
  "flags": {
14338
14338
  "api-key": {
14339
14339
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14400,7 +14400,7 @@
14400
14400
  },
14401
14401
  "hasDynamicHelp": false,
14402
14402
  "hiddenAliases": [],
14403
- "id": "flow:nodes:delete",
14403
+ "id": "flow:edges:delete",
14404
14404
  "pluginAlias": "@instantkom/cli",
14405
14405
  "pluginName": "@instantkom/cli",
14406
14406
  "pluginType": "core",
@@ -14411,11 +14411,11 @@
14411
14411
  "dist",
14412
14412
  "commands",
14413
14413
  "flow",
14414
- "nodes",
14414
+ "edges",
14415
14415
  "delete.js"
14416
14416
  ]
14417
14417
  },
14418
- "flow:nodes:get": {
14418
+ "flow:edges:get": {
14419
14419
  "aliases": [],
14420
14420
  "args": {
14421
14421
  "flowId": {
@@ -14423,13 +14423,13 @@
14423
14423
  "name": "flowId",
14424
14424
  "required": true
14425
14425
  },
14426
- "nodeId": {
14427
- "description": "Node ID",
14428
- "name": "nodeId",
14426
+ "edgeId": {
14427
+ "description": "Edge ID",
14428
+ "name": "edgeId",
14429
14429
  "required": true
14430
14430
  }
14431
14431
  },
14432
- "description": "Get a flow node",
14432
+ "description": "Get a flow edge",
14433
14433
  "flags": {
14434
14434
  "api-key": {
14435
14435
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14496,7 +14496,7 @@
14496
14496
  },
14497
14497
  "hasDynamicHelp": false,
14498
14498
  "hiddenAliases": [],
14499
- "id": "flow:nodes:get",
14499
+ "id": "flow:edges:get",
14500
14500
  "pluginAlias": "@instantkom/cli",
14501
14501
  "pluginName": "@instantkom/cli",
14502
14502
  "pluginType": "core",
@@ -14507,11 +14507,11 @@
14507
14507
  "dist",
14508
14508
  "commands",
14509
14509
  "flow",
14510
- "nodes",
14510
+ "edges",
14511
14511
  "get.js"
14512
14512
  ]
14513
14513
  },
14514
- "flow:nodes:list": {
14514
+ "flow:edges:list": {
14515
14515
  "aliases": [],
14516
14516
  "args": {
14517
14517
  "flowId": {
@@ -14520,7 +14520,7 @@
14520
14520
  "required": true
14521
14521
  }
14522
14522
  },
14523
- "description": "List nodes in a flow",
14523
+ "description": "List edges in a flow",
14524
14524
  "flags": {
14525
14525
  "api-key": {
14526
14526
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14587,7 +14587,7 @@
14587
14587
  },
14588
14588
  "hasDynamicHelp": false,
14589
14589
  "hiddenAliases": [],
14590
- "id": "flow:nodes:list",
14590
+ "id": "flow:edges:list",
14591
14591
  "pluginAlias": "@instantkom/cli",
14592
14592
  "pluginName": "@instantkom/cli",
14593
14593
  "pluginType": "core",
@@ -14598,11 +14598,11 @@
14598
14598
  "dist",
14599
14599
  "commands",
14600
14600
  "flow",
14601
- "nodes",
14601
+ "edges",
14602
14602
  "list.js"
14603
14603
  ]
14604
14604
  },
14605
- "flow:nodes:update": {
14605
+ "flow:edges:update": {
14606
14606
  "aliases": [],
14607
14607
  "args": {
14608
14608
  "flowId": {
@@ -14610,13 +14610,13 @@
14610
14610
  "name": "flowId",
14611
14611
  "required": true
14612
14612
  },
14613
- "nodeId": {
14614
- "description": "Node ID",
14615
- "name": "nodeId",
14613
+ "edgeId": {
14614
+ "description": "Edge ID",
14615
+ "name": "edgeId",
14616
14616
  "required": true
14617
14617
  }
14618
14618
  },
14619
- "description": "Update a flow node",
14619
+ "description": "Update a flow edge",
14620
14620
  "flags": {
14621
14621
  "api-key": {
14622
14622
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14680,30 +14680,30 @@
14680
14680
  "multiple": false,
14681
14681
  "type": "option"
14682
14682
  },
14683
- "bot": {
14684
- "description": "Bot ID",
14685
- "name": "bot",
14683
+ "source": {
14684
+ "description": "Source node ID",
14685
+ "name": "source",
14686
14686
  "hasDynamicHelp": false,
14687
14687
  "multiple": false,
14688
14688
  "type": "option"
14689
14689
  },
14690
- "type": {
14691
- "description": "Node type",
14692
- "name": "type",
14690
+ "target": {
14691
+ "description": "Target node ID",
14692
+ "name": "target",
14693
14693
  "hasDynamicHelp": false,
14694
14694
  "multiple": false,
14695
14695
  "type": "option"
14696
14696
  },
14697
- "x": {
14698
- "description": "X position",
14699
- "name": "x",
14697
+ "label": {
14698
+ "description": "Edge label",
14699
+ "name": "label",
14700
14700
  "hasDynamicHelp": false,
14701
14701
  "multiple": false,
14702
14702
  "type": "option"
14703
14703
  },
14704
- "y": {
14705
- "description": "Y position",
14706
- "name": "y",
14704
+ "type": {
14705
+ "description": "Edge type",
14706
+ "name": "type",
14707
14707
  "hasDynamicHelp": false,
14708
14708
  "multiple": false,
14709
14709
  "type": "option"
@@ -14718,7 +14718,7 @@
14718
14718
  },
14719
14719
  "hasDynamicHelp": false,
14720
14720
  "hiddenAliases": [],
14721
- "id": "flow:nodes:update",
14721
+ "id": "flow:edges:update",
14722
14722
  "pluginAlias": "@instantkom/cli",
14723
14723
  "pluginName": "@instantkom/cli",
14724
14724
  "pluginType": "core",
@@ -14729,11 +14729,11 @@
14729
14729
  "dist",
14730
14730
  "commands",
14731
14731
  "flow",
14732
- "nodes",
14732
+ "edges",
14733
14733
  "update.js"
14734
14734
  ]
14735
14735
  },
14736
- "flow:edges:create": {
14736
+ "flow:nodes:create": {
14737
14737
  "aliases": [],
14738
14738
  "args": {
14739
14739
  "flowId": {
@@ -14742,7 +14742,7 @@
14742
14742
  "required": true
14743
14743
  }
14744
14744
  },
14745
- "description": "Create a flow edge",
14745
+ "description": "Create a flow node",
14746
14746
  "flags": {
14747
14747
  "api-key": {
14748
14748
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14806,33 +14806,33 @@
14806
14806
  "multiple": false,
14807
14807
  "type": "option"
14808
14808
  },
14809
- "source": {
14810
- "description": "Source node ID",
14811
- "name": "source",
14812
- "required": true,
14809
+ "bot": {
14810
+ "description": "Bot ID",
14811
+ "name": "bot",
14813
14812
  "hasDynamicHelp": false,
14814
14813
  "multiple": false,
14815
14814
  "type": "option"
14816
14815
  },
14817
- "target": {
14818
- "description": "Target node ID",
14819
- "name": "target",
14816
+ "type": {
14817
+ "description": "Node type",
14818
+ "name": "type",
14820
14819
  "required": true,
14821
14820
  "hasDynamicHelp": false,
14822
14821
  "multiple": false,
14823
14822
  "type": "option"
14824
14823
  },
14825
- "label": {
14826
- "description": "Edge label",
14827
- "name": "label",
14824
+ "x": {
14825
+ "description": "X position",
14826
+ "name": "x",
14827
+ "required": true,
14828
14828
  "hasDynamicHelp": false,
14829
14829
  "multiple": false,
14830
14830
  "type": "option"
14831
14831
  },
14832
- "type": {
14833
- "description": "Edge type",
14834
- "name": "type",
14835
- "default": "default",
14832
+ "y": {
14833
+ "description": "Y position",
14834
+ "name": "y",
14835
+ "required": true,
14836
14836
  "hasDynamicHelp": false,
14837
14837
  "multiple": false,
14838
14838
  "type": "option"
@@ -14847,7 +14847,7 @@
14847
14847
  },
14848
14848
  "hasDynamicHelp": false,
14849
14849
  "hiddenAliases": [],
14850
- "id": "flow:edges:create",
14850
+ "id": "flow:nodes:create",
14851
14851
  "pluginAlias": "@instantkom/cli",
14852
14852
  "pluginName": "@instantkom/cli",
14853
14853
  "pluginType": "core",
@@ -14858,11 +14858,11 @@
14858
14858
  "dist",
14859
14859
  "commands",
14860
14860
  "flow",
14861
- "edges",
14861
+ "nodes",
14862
14862
  "create.js"
14863
14863
  ]
14864
14864
  },
14865
- "flow:edges:delete": {
14865
+ "flow:nodes:delete": {
14866
14866
  "aliases": [],
14867
14867
  "args": {
14868
14868
  "flowId": {
@@ -14870,13 +14870,13 @@
14870
14870
  "name": "flowId",
14871
14871
  "required": true
14872
14872
  },
14873
- "edgeId": {
14874
- "description": "Edge ID",
14875
- "name": "edgeId",
14873
+ "nodeId": {
14874
+ "description": "Node ID",
14875
+ "name": "nodeId",
14876
14876
  "required": true
14877
14877
  }
14878
14878
  },
14879
- "description": "Delete a flow edge",
14879
+ "description": "Delete a flow node",
14880
14880
  "flags": {
14881
14881
  "api-key": {
14882
14882
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -14943,7 +14943,7 @@
14943
14943
  },
14944
14944
  "hasDynamicHelp": false,
14945
14945
  "hiddenAliases": [],
14946
- "id": "flow:edges:delete",
14946
+ "id": "flow:nodes:delete",
14947
14947
  "pluginAlias": "@instantkom/cli",
14948
14948
  "pluginName": "@instantkom/cli",
14949
14949
  "pluginType": "core",
@@ -14954,11 +14954,11 @@
14954
14954
  "dist",
14955
14955
  "commands",
14956
14956
  "flow",
14957
- "edges",
14957
+ "nodes",
14958
14958
  "delete.js"
14959
14959
  ]
14960
14960
  },
14961
- "flow:edges:get": {
14961
+ "flow:nodes:get": {
14962
14962
  "aliases": [],
14963
14963
  "args": {
14964
14964
  "flowId": {
@@ -14966,13 +14966,13 @@
14966
14966
  "name": "flowId",
14967
14967
  "required": true
14968
14968
  },
14969
- "edgeId": {
14970
- "description": "Edge ID",
14971
- "name": "edgeId",
14969
+ "nodeId": {
14970
+ "description": "Node ID",
14971
+ "name": "nodeId",
14972
14972
  "required": true
14973
14973
  }
14974
14974
  },
14975
- "description": "Get a flow edge",
14975
+ "description": "Get a flow node",
14976
14976
  "flags": {
14977
14977
  "api-key": {
14978
14978
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15039,7 +15039,7 @@
15039
15039
  },
15040
15040
  "hasDynamicHelp": false,
15041
15041
  "hiddenAliases": [],
15042
- "id": "flow:edges:get",
15042
+ "id": "flow:nodes:get",
15043
15043
  "pluginAlias": "@instantkom/cli",
15044
15044
  "pluginName": "@instantkom/cli",
15045
15045
  "pluginType": "core",
@@ -15050,11 +15050,11 @@
15050
15050
  "dist",
15051
15051
  "commands",
15052
15052
  "flow",
15053
- "edges",
15053
+ "nodes",
15054
15054
  "get.js"
15055
15055
  ]
15056
15056
  },
15057
- "flow:edges:list": {
15057
+ "flow:nodes:list": {
15058
15058
  "aliases": [],
15059
15059
  "args": {
15060
15060
  "flowId": {
@@ -15063,7 +15063,7 @@
15063
15063
  "required": true
15064
15064
  }
15065
15065
  },
15066
- "description": "List edges in a flow",
15066
+ "description": "List nodes in a flow",
15067
15067
  "flags": {
15068
15068
  "api-key": {
15069
15069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15130,7 +15130,7 @@
15130
15130
  },
15131
15131
  "hasDynamicHelp": false,
15132
15132
  "hiddenAliases": [],
15133
- "id": "flow:edges:list",
15133
+ "id": "flow:nodes:list",
15134
15134
  "pluginAlias": "@instantkom/cli",
15135
15135
  "pluginName": "@instantkom/cli",
15136
15136
  "pluginType": "core",
@@ -15141,11 +15141,11 @@
15141
15141
  "dist",
15142
15142
  "commands",
15143
15143
  "flow",
15144
- "edges",
15144
+ "nodes",
15145
15145
  "list.js"
15146
15146
  ]
15147
15147
  },
15148
- "flow:edges:update": {
15148
+ "flow:nodes:update": {
15149
15149
  "aliases": [],
15150
15150
  "args": {
15151
15151
  "flowId": {
@@ -15153,13 +15153,13 @@
15153
15153
  "name": "flowId",
15154
15154
  "required": true
15155
15155
  },
15156
- "edgeId": {
15157
- "description": "Edge ID",
15158
- "name": "edgeId",
15156
+ "nodeId": {
15157
+ "description": "Node ID",
15158
+ "name": "nodeId",
15159
15159
  "required": true
15160
15160
  }
15161
15161
  },
15162
- "description": "Update a flow edge",
15162
+ "description": "Update a flow node",
15163
15163
  "flags": {
15164
15164
  "api-key": {
15165
15165
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -15223,30 +15223,30 @@
15223
15223
  "multiple": false,
15224
15224
  "type": "option"
15225
15225
  },
15226
- "source": {
15227
- "description": "Source node ID",
15228
- "name": "source",
15226
+ "bot": {
15227
+ "description": "Bot ID",
15228
+ "name": "bot",
15229
15229
  "hasDynamicHelp": false,
15230
15230
  "multiple": false,
15231
15231
  "type": "option"
15232
15232
  },
15233
- "target": {
15234
- "description": "Target node ID",
15235
- "name": "target",
15233
+ "type": {
15234
+ "description": "Node type",
15235
+ "name": "type",
15236
15236
  "hasDynamicHelp": false,
15237
15237
  "multiple": false,
15238
15238
  "type": "option"
15239
15239
  },
15240
- "label": {
15241
- "description": "Edge label",
15242
- "name": "label",
15240
+ "x": {
15241
+ "description": "X position",
15242
+ "name": "x",
15243
15243
  "hasDynamicHelp": false,
15244
15244
  "multiple": false,
15245
15245
  "type": "option"
15246
15246
  },
15247
- "type": {
15248
- "description": "Edge type",
15249
- "name": "type",
15247
+ "y": {
15248
+ "description": "Y position",
15249
+ "name": "y",
15250
15250
  "hasDynamicHelp": false,
15251
15251
  "multiple": false,
15252
15252
  "type": "option"
@@ -15261,7 +15261,7 @@
15261
15261
  },
15262
15262
  "hasDynamicHelp": false,
15263
15263
  "hiddenAliases": [],
15264
- "id": "flow:edges:update",
15264
+ "id": "flow:nodes:update",
15265
15265
  "pluginAlias": "@instantkom/cli",
15266
15266
  "pluginName": "@instantkom/cli",
15267
15267
  "pluginType": "core",
@@ -15272,7 +15272,7 @@
15272
15272
  "dist",
15273
15273
  "commands",
15274
15274
  "flow",
15275
- "edges",
15275
+ "nodes",
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
@@ -16566,5 +16566,5 @@
16566
16566
  ]
16567
16567
  }
16568
16568
  },
16569
- "version": "3.157.0"
16569
+ "version": "3.158.0"
16570
16570
  }