@instantkom/cli 3.159.0 → 3.159.1

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@instantkom/cli",
3
- "version": "3.159.0",
3
+ "version": "3.159.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@instantkom/cli",
9
- "version": "3.159.0",
9
+ "version": "3.159.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
@@ -2843,10 +2843,16 @@
2843
2843
  "update.js"
2844
2844
  ]
2845
2845
  },
2846
- "channels:create": {
2846
+ "chats:get": {
2847
2847
  "aliases": [],
2848
- "args": {},
2849
- "description": "Create a channel",
2848
+ "args": {
2849
+ "id": {
2850
+ "description": "chat ID",
2851
+ "name": "id",
2852
+ "required": true
2853
+ }
2854
+ },
2855
+ "description": "Get chat by ID",
2850
2856
  "flags": {
2851
2857
  "api-key": {
2852
2858
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2909,48 +2915,11 @@
2909
2915
  "hasDynamicHelp": false,
2910
2916
  "multiple": false,
2911
2917
  "type": "option"
2912
- },
2913
- "name": {
2914
- "description": "Channel name",
2915
- "name": "name",
2916
- "required": true,
2917
- "hasDynamicHelp": false,
2918
- "multiple": false,
2919
- "type": "option"
2920
- },
2921
- "gateway-type": {
2922
- "description": "Gateway type ID",
2923
- "name": "gateway-type",
2924
- "required": true,
2925
- "hasDynamicHelp": false,
2926
- "multiple": false,
2927
- "type": "option"
2928
- },
2929
- "status": {
2930
- "description": "Channel lifecycle status",
2931
- "name": "status",
2932
- "hasDynamicHelp": false,
2933
- "multiple": false,
2934
- "type": "option"
2935
- },
2936
- "description": {
2937
- "description": "Channel description",
2938
- "name": "description",
2939
- "hasDynamicHelp": false,
2940
- "multiple": false,
2941
- "type": "option"
2942
- },
2943
- "data": {
2944
- "description": "Additional JSON object payload",
2945
- "name": "data",
2946
- "hasDynamicHelp": false,
2947
- "multiple": false,
2948
- "type": "option"
2949
2918
  }
2950
2919
  },
2951
2920
  "hasDynamicHelp": false,
2952
2921
  "hiddenAliases": [],
2953
- "id": "channels:create",
2922
+ "id": "chats:get",
2954
2923
  "pluginAlias": "@instantkom/cli",
2955
2924
  "pluginName": "@instantkom/cli",
2956
2925
  "pluginType": "core",
@@ -2960,20 +2929,14 @@
2960
2929
  "relativePath": [
2961
2930
  "dist",
2962
2931
  "commands",
2963
- "channels",
2964
- "create.js"
2932
+ "chats",
2933
+ "get.js"
2965
2934
  ]
2966
2935
  },
2967
- "channels:get": {
2936
+ "chats:list": {
2968
2937
  "aliases": [],
2969
- "args": {
2970
- "id": {
2971
- "description": "Channel ID",
2972
- "name": "id",
2973
- "required": true
2974
- }
2975
- },
2976
- "description": "Get a channel by ID",
2938
+ "args": {},
2939
+ "description": "List chats",
2977
2940
  "flags": {
2978
2941
  "api-key": {
2979
2942
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3036,11 +2999,73 @@
3036
2999
  "hasDynamicHelp": false,
3037
3000
  "multiple": false,
3038
3001
  "type": "option"
3002
+ },
3003
+ "page": {
3004
+ "description": "Page number",
3005
+ "name": "page",
3006
+ "default": 1,
3007
+ "hasDynamicHelp": false,
3008
+ "multiple": false,
3009
+ "type": "option"
3010
+ },
3011
+ "limit": {
3012
+ "description": "Items per page",
3013
+ "name": "limit",
3014
+ "default": 20,
3015
+ "hasDynamicHelp": false,
3016
+ "multiple": false,
3017
+ "type": "option"
3018
+ },
3019
+ "channel": {
3020
+ "description": "Filter by channel ID",
3021
+ "name": "channel",
3022
+ "hasDynamicHelp": false,
3023
+ "multiple": false,
3024
+ "type": "option"
3025
+ },
3026
+ "channels": {
3027
+ "description": "Comma-separated channel IDs",
3028
+ "name": "channels",
3029
+ "hasDynamicHelp": false,
3030
+ "multiple": false,
3031
+ "type": "option"
3032
+ },
3033
+ "search": {
3034
+ "description": "Search chats",
3035
+ "name": "search",
3036
+ "hasDynamicHelp": false,
3037
+ "multiple": false,
3038
+ "type": "option"
3039
+ },
3040
+ "status": {
3041
+ "description": "Chat status",
3042
+ "name": "status",
3043
+ "hasDynamicHelp": false,
3044
+ "multiple": false,
3045
+ "options": [
3046
+ "all",
3047
+ "unread",
3048
+ "read",
3049
+ "archived"
3050
+ ],
3051
+ "type": "option"
3052
+ },
3053
+ "unread-only": {
3054
+ "description": "Only unread chats",
3055
+ "name": "unread-only",
3056
+ "allowNo": false,
3057
+ "type": "boolean"
3058
+ },
3059
+ "include-archived": {
3060
+ "description": "Include archived chats",
3061
+ "name": "include-archived",
3062
+ "allowNo": false,
3063
+ "type": "boolean"
3039
3064
  }
3040
3065
  },
3041
3066
  "hasDynamicHelp": false,
3042
3067
  "hiddenAliases": [],
3043
- "id": "channels:get",
3068
+ "id": "chats:list",
3044
3069
  "pluginAlias": "@instantkom/cli",
3045
3070
  "pluginName": "@instantkom/cli",
3046
3071
  "pluginType": "core",
@@ -3050,20 +3075,20 @@
3050
3075
  "relativePath": [
3051
3076
  "dist",
3052
3077
  "commands",
3053
- "channels",
3054
- "get.js"
3078
+ "chats",
3079
+ "list.js"
3055
3080
  ]
3056
3081
  },
3057
- "channels:kpis": {
3082
+ "chats:reply": {
3058
3083
  "aliases": [],
3059
3084
  "args": {
3060
3085
  "id": {
3061
- "description": "Optional channel ID; omit for aggregated channel KPIs",
3086
+ "description": "Chat ID",
3062
3087
  "name": "id",
3063
- "required": false
3088
+ "required": true
3064
3089
  }
3065
3090
  },
3066
- "description": "Get channel KPIs",
3091
+ "description": "Reply in a chat",
3067
3092
  "flags": {
3068
3093
  "api-key": {
3069
3094
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3127,9 +3152,10 @@
3127
3152
  "multiple": false,
3128
3153
  "type": "option"
3129
3154
  },
3130
- "period": {
3131
- "description": "KPI period",
3132
- "name": "period",
3155
+ "text": {
3156
+ "description": "Reply text",
3157
+ "name": "text",
3158
+ "required": true,
3133
3159
  "hasDynamicHelp": false,
3134
3160
  "multiple": false,
3135
3161
  "type": "option"
@@ -3137,7 +3163,7 @@
3137
3163
  },
3138
3164
  "hasDynamicHelp": false,
3139
3165
  "hiddenAliases": [],
3140
- "id": "channels:kpis",
3166
+ "id": "chats:reply",
3141
3167
  "pluginAlias": "@instantkom/cli",
3142
3168
  "pluginName": "@instantkom/cli",
3143
3169
  "pluginType": "core",
@@ -3147,14 +3173,14 @@
3147
3173
  "relativePath": [
3148
3174
  "dist",
3149
3175
  "commands",
3150
- "channels",
3151
- "kpis.js"
3176
+ "chats",
3177
+ "reply.js"
3152
3178
  ]
3153
3179
  },
3154
- "channels:list": {
3180
+ "channels:create": {
3155
3181
  "aliases": [],
3156
3182
  "args": {},
3157
- "description": "List channels",
3183
+ "description": "Create a channel",
3158
3184
  "flags": {
3159
3185
  "api-key": {
3160
3186
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3218,39 +3244,39 @@
3218
3244
  "multiple": false,
3219
3245
  "type": "option"
3220
3246
  },
3221
- "page": {
3222
- "description": "Page number",
3223
- "name": "page",
3224
- "default": 1,
3247
+ "name": {
3248
+ "description": "Channel name",
3249
+ "name": "name",
3250
+ "required": true,
3225
3251
  "hasDynamicHelp": false,
3226
3252
  "multiple": false,
3227
3253
  "type": "option"
3228
3254
  },
3229
- "limit": {
3230
- "description": "Items per page",
3231
- "name": "limit",
3232
- "default": 20,
3255
+ "gateway-type": {
3256
+ "description": "Gateway type ID",
3257
+ "name": "gateway-type",
3258
+ "required": true,
3233
3259
  "hasDynamicHelp": false,
3234
3260
  "multiple": false,
3235
3261
  "type": "option"
3236
3262
  },
3237
3263
  "status": {
3238
- "description": "Filter by channel status",
3264
+ "description": "Channel lifecycle status",
3239
3265
  "name": "status",
3240
3266
  "hasDynamicHelp": false,
3241
3267
  "multiple": false,
3242
3268
  "type": "option"
3243
3269
  },
3244
- "gateway-type": {
3245
- "description": "Filter by gateway type ID",
3246
- "name": "gateway-type",
3270
+ "description": {
3271
+ "description": "Channel description",
3272
+ "name": "description",
3247
3273
  "hasDynamicHelp": false,
3248
3274
  "multiple": false,
3249
3275
  "type": "option"
3250
3276
  },
3251
- "search": {
3252
- "description": "Search by channel name",
3253
- "name": "search",
3277
+ "data": {
3278
+ "description": "Additional JSON object payload",
3279
+ "name": "data",
3254
3280
  "hasDynamicHelp": false,
3255
3281
  "multiple": false,
3256
3282
  "type": "option"
@@ -3258,7 +3284,7 @@
3258
3284
  },
3259
3285
  "hasDynamicHelp": false,
3260
3286
  "hiddenAliases": [],
3261
- "id": "channels:list",
3287
+ "id": "channels:create",
3262
3288
  "pluginAlias": "@instantkom/cli",
3263
3289
  "pluginName": "@instantkom/cli",
3264
3290
  "pluginType": "core",
@@ -3269,10 +3295,10 @@
3269
3295
  "dist",
3270
3296
  "commands",
3271
3297
  "channels",
3272
- "list.js"
3298
+ "create.js"
3273
3299
  ]
3274
3300
  },
3275
- "channels:update": {
3301
+ "channels:get": {
3276
3302
  "aliases": [],
3277
3303
  "args": {
3278
3304
  "id": {
@@ -3281,7 +3307,7 @@
3281
3307
  "required": true
3282
3308
  }
3283
3309
  },
3284
- "description": "Update a channel",
3310
+ "description": "Get a channel by ID",
3285
3311
  "flags": {
3286
3312
  "api-key": {
3287
3313
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3344,39 +3370,11 @@
3344
3370
  "hasDynamicHelp": false,
3345
3371
  "multiple": false,
3346
3372
  "type": "option"
3347
- },
3348
- "name": {
3349
- "description": "Channel name",
3350
- "name": "name",
3351
- "hasDynamicHelp": false,
3352
- "multiple": false,
3353
- "type": "option"
3354
- },
3355
- "status": {
3356
- "description": "Channel lifecycle status",
3357
- "name": "status",
3358
- "hasDynamicHelp": false,
3359
- "multiple": false,
3360
- "type": "option"
3361
- },
3362
- "description": {
3363
- "description": "Channel description",
3364
- "name": "description",
3365
- "hasDynamicHelp": false,
3366
- "multiple": false,
3367
- "type": "option"
3368
- },
3369
- "data": {
3370
- "description": "Additional JSON object payload",
3371
- "name": "data",
3372
- "hasDynamicHelp": false,
3373
- "multiple": false,
3374
- "type": "option"
3375
3373
  }
3376
3374
  },
3377
3375
  "hasDynamicHelp": false,
3378
3376
  "hiddenAliases": [],
3379
- "id": "channels:update",
3377
+ "id": "channels:get",
3380
3378
  "pluginAlias": "@instantkom/cli",
3381
3379
  "pluginName": "@instantkom/cli",
3382
3380
  "pluginType": "core",
@@ -3387,19 +3385,19 @@
3387
3385
  "dist",
3388
3386
  "commands",
3389
3387
  "channels",
3390
- "update.js"
3388
+ "get.js"
3391
3389
  ]
3392
3390
  },
3393
- "chats:get": {
3391
+ "channels:kpis": {
3394
3392
  "aliases": [],
3395
3393
  "args": {
3396
3394
  "id": {
3397
- "description": "chat ID",
3395
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
3398
3396
  "name": "id",
3399
- "required": true
3397
+ "required": false
3400
3398
  }
3401
3399
  },
3402
- "description": "Get chat by ID",
3400
+ "description": "Get channel KPIs",
3403
3401
  "flags": {
3404
3402
  "api-key": {
3405
3403
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3462,11 +3460,18 @@
3462
3460
  "hasDynamicHelp": false,
3463
3461
  "multiple": false,
3464
3462
  "type": "option"
3463
+ },
3464
+ "period": {
3465
+ "description": "KPI period",
3466
+ "name": "period",
3467
+ "hasDynamicHelp": false,
3468
+ "multiple": false,
3469
+ "type": "option"
3465
3470
  }
3466
3471
  },
3467
3472
  "hasDynamicHelp": false,
3468
3473
  "hiddenAliases": [],
3469
- "id": "chats:get",
3474
+ "id": "channels:kpis",
3470
3475
  "pluginAlias": "@instantkom/cli",
3471
3476
  "pluginName": "@instantkom/cli",
3472
3477
  "pluginType": "core",
@@ -3476,14 +3481,14 @@
3476
3481
  "relativePath": [
3477
3482
  "dist",
3478
3483
  "commands",
3479
- "chats",
3480
- "get.js"
3484
+ "channels",
3485
+ "kpis.js"
3481
3486
  ]
3482
3487
  },
3483
- "chats:list": {
3488
+ "channels:list": {
3484
3489
  "aliases": [],
3485
3490
  "args": {},
3486
- "description": "List chats",
3491
+ "description": "List channels",
3487
3492
  "flags": {
3488
3493
  "api-key": {
3489
3494
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3563,56 +3568,31 @@
3563
3568
  "multiple": false,
3564
3569
  "type": "option"
3565
3570
  },
3566
- "channel": {
3567
- "description": "Filter by channel ID",
3568
- "name": "channel",
3571
+ "status": {
3572
+ "description": "Filter by channel status",
3573
+ "name": "status",
3569
3574
  "hasDynamicHelp": false,
3570
3575
  "multiple": false,
3571
3576
  "type": "option"
3572
3577
  },
3573
- "channels": {
3574
- "description": "Comma-separated channel IDs",
3575
- "name": "channels",
3578
+ "gateway-type": {
3579
+ "description": "Filter by gateway type ID",
3580
+ "name": "gateway-type",
3576
3581
  "hasDynamicHelp": false,
3577
3582
  "multiple": false,
3578
3583
  "type": "option"
3579
3584
  },
3580
3585
  "search": {
3581
- "description": "Search chats",
3586
+ "description": "Search by channel name",
3582
3587
  "name": "search",
3583
3588
  "hasDynamicHelp": false,
3584
3589
  "multiple": false,
3585
3590
  "type": "option"
3586
- },
3587
- "status": {
3588
- "description": "Chat status",
3589
- "name": "status",
3590
- "hasDynamicHelp": false,
3591
- "multiple": false,
3592
- "options": [
3593
- "all",
3594
- "unread",
3595
- "read",
3596
- "archived"
3597
- ],
3598
- "type": "option"
3599
- },
3600
- "unread-only": {
3601
- "description": "Only unread chats",
3602
- "name": "unread-only",
3603
- "allowNo": false,
3604
- "type": "boolean"
3605
- },
3606
- "include-archived": {
3607
- "description": "Include archived chats",
3608
- "name": "include-archived",
3609
- "allowNo": false,
3610
- "type": "boolean"
3611
3591
  }
3612
3592
  },
3613
3593
  "hasDynamicHelp": false,
3614
3594
  "hiddenAliases": [],
3615
- "id": "chats:list",
3595
+ "id": "channels:list",
3616
3596
  "pluginAlias": "@instantkom/cli",
3617
3597
  "pluginName": "@instantkom/cli",
3618
3598
  "pluginType": "core",
@@ -3622,20 +3602,20 @@
3622
3602
  "relativePath": [
3623
3603
  "dist",
3624
3604
  "commands",
3625
- "chats",
3605
+ "channels",
3626
3606
  "list.js"
3627
3607
  ]
3628
3608
  },
3629
- "chats:reply": {
3609
+ "channels:update": {
3630
3610
  "aliases": [],
3631
3611
  "args": {
3632
3612
  "id": {
3633
- "description": "Chat ID",
3613
+ "description": "Channel ID",
3634
3614
  "name": "id",
3635
3615
  "required": true
3636
3616
  }
3637
3617
  },
3638
- "description": "Reply in a chat",
3618
+ "description": "Update a channel",
3639
3619
  "flags": {
3640
3620
  "api-key": {
3641
3621
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3699,10 +3679,30 @@
3699
3679
  "multiple": false,
3700
3680
  "type": "option"
3701
3681
  },
3702
- "text": {
3703
- "description": "Reply text",
3704
- "name": "text",
3705
- "required": true,
3682
+ "name": {
3683
+ "description": "Channel name",
3684
+ "name": "name",
3685
+ "hasDynamicHelp": false,
3686
+ "multiple": false,
3687
+ "type": "option"
3688
+ },
3689
+ "status": {
3690
+ "description": "Channel lifecycle status",
3691
+ "name": "status",
3692
+ "hasDynamicHelp": false,
3693
+ "multiple": false,
3694
+ "type": "option"
3695
+ },
3696
+ "description": {
3697
+ "description": "Channel description",
3698
+ "name": "description",
3699
+ "hasDynamicHelp": false,
3700
+ "multiple": false,
3701
+ "type": "option"
3702
+ },
3703
+ "data": {
3704
+ "description": "Additional JSON object payload",
3705
+ "name": "data",
3706
3706
  "hasDynamicHelp": false,
3707
3707
  "multiple": false,
3708
3708
  "type": "option"
@@ -3710,7 +3710,7 @@
3710
3710
  },
3711
3711
  "hasDynamicHelp": false,
3712
3712
  "hiddenAliases": [],
3713
- "id": "chats:reply",
3713
+ "id": "channels:update",
3714
3714
  "pluginAlias": "@instantkom/cli",
3715
3715
  "pluginName": "@instantkom/cli",
3716
3716
  "pluginType": "core",
@@ -3720,8 +3720,8 @@
3720
3720
  "relativePath": [
3721
3721
  "dist",
3722
3722
  "commands",
3723
- "chats",
3724
- "reply.js"
3723
+ "channels",
3724
+ "update.js"
3725
3725
  ]
3726
3726
  },
3727
3727
  "config:get": {
@@ -14190,7 +14190,7 @@
14190
14190
  "remove.js"
14191
14191
  ]
14192
14192
  },
14193
- "flow:edges:create": {
14193
+ "flow:nodes: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 edge",
14202
+ "description": "Create a flow node",
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
- "source": {
14267
- "description": "Source node ID",
14268
- "name": "source",
14269
- "required": true,
14266
+ "bot": {
14267
+ "description": "Bot ID",
14268
+ "name": "bot",
14270
14269
  "hasDynamicHelp": false,
14271
14270
  "multiple": false,
14272
14271
  "type": "option"
14273
14272
  },
14274
- "target": {
14275
- "description": "Target node ID",
14276
- "name": "target",
14273
+ "type": {
14274
+ "description": "Node type",
14275
+ "name": "type",
14277
14276
  "required": true,
14278
14277
  "hasDynamicHelp": false,
14279
14278
  "multiple": false,
14280
14279
  "type": "option"
14281
14280
  },
14282
- "label": {
14283
- "description": "Edge label",
14284
- "name": "label",
14281
+ "x": {
14282
+ "description": "X position",
14283
+ "name": "x",
14284
+ "required": true,
14285
14285
  "hasDynamicHelp": false,
14286
14286
  "multiple": false,
14287
14287
  "type": "option"
14288
14288
  },
14289
- "type": {
14290
- "description": "Edge type",
14291
- "name": "type",
14292
- "default": "default",
14289
+ "y": {
14290
+ "description": "Y position",
14291
+ "name": "y",
14292
+ "required": true,
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:edges:create",
14307
+ "id": "flow:nodes: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
- "edges",
14318
+ "nodes",
14319
14319
  "create.js"
14320
14320
  ]
14321
14321
  },
14322
- "flow:edges:delete": {
14322
+ "flow:nodes: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
- "edgeId": {
14331
- "description": "Edge ID",
14332
- "name": "edgeId",
14330
+ "nodeId": {
14331
+ "description": "Node ID",
14332
+ "name": "nodeId",
14333
14333
  "required": true
14334
14334
  }
14335
14335
  },
14336
- "description": "Delete a flow edge",
14336
+ "description": "Delete a flow node",
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:edges:delete",
14403
+ "id": "flow:nodes: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
- "edges",
14414
+ "nodes",
14415
14415
  "delete.js"
14416
14416
  ]
14417
14417
  },
14418
- "flow:edges:get": {
14418
+ "flow:nodes: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
- "edgeId": {
14427
- "description": "Edge ID",
14428
- "name": "edgeId",
14426
+ "nodeId": {
14427
+ "description": "Node ID",
14428
+ "name": "nodeId",
14429
14429
  "required": true
14430
14430
  }
14431
14431
  },
14432
- "description": "Get a flow edge",
14432
+ "description": "Get a flow node",
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:edges:get",
14499
+ "id": "flow:nodes: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
- "edges",
14510
+ "nodes",
14511
14511
  "get.js"
14512
14512
  ]
14513
14513
  },
14514
- "flow:edges:list": {
14514
+ "flow:nodes: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 edges in a flow",
14523
+ "description": "List nodes 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:edges:list",
14590
+ "id": "flow:nodes: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
- "edges",
14601
+ "nodes",
14602
14602
  "list.js"
14603
14603
  ]
14604
14604
  },
14605
- "flow:edges:update": {
14605
+ "flow:nodes: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
- "edgeId": {
14614
- "description": "Edge ID",
14615
- "name": "edgeId",
14613
+ "nodeId": {
14614
+ "description": "Node ID",
14615
+ "name": "nodeId",
14616
14616
  "required": true
14617
14617
  }
14618
14618
  },
14619
- "description": "Update a flow edge",
14619
+ "description": "Update a flow node",
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
- "source": {
14684
- "description": "Source node ID",
14685
- "name": "source",
14683
+ "bot": {
14684
+ "description": "Bot ID",
14685
+ "name": "bot",
14686
14686
  "hasDynamicHelp": false,
14687
14687
  "multiple": false,
14688
14688
  "type": "option"
14689
14689
  },
14690
- "target": {
14691
- "description": "Target node ID",
14692
- "name": "target",
14690
+ "type": {
14691
+ "description": "Node type",
14692
+ "name": "type",
14693
14693
  "hasDynamicHelp": false,
14694
14694
  "multiple": false,
14695
14695
  "type": "option"
14696
14696
  },
14697
- "label": {
14698
- "description": "Edge label",
14699
- "name": "label",
14697
+ "x": {
14698
+ "description": "X position",
14699
+ "name": "x",
14700
14700
  "hasDynamicHelp": false,
14701
14701
  "multiple": false,
14702
14702
  "type": "option"
14703
14703
  },
14704
- "type": {
14705
- "description": "Edge type",
14706
- "name": "type",
14704
+ "y": {
14705
+ "description": "Y position",
14706
+ "name": "y",
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:edges:update",
14721
+ "id": "flow:nodes: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
- "edges",
14732
+ "nodes",
14733
14733
  "update.js"
14734
14734
  ]
14735
14735
  },
14736
- "flow:nodes:create": {
14736
+ "flow:edges: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 node",
14745
+ "description": "Create a flow edge",
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
- "bot": {
14810
- "description": "Bot ID",
14811
- "name": "bot",
14809
+ "source": {
14810
+ "description": "Source node ID",
14811
+ "name": "source",
14812
+ "required": true,
14812
14813
  "hasDynamicHelp": false,
14813
14814
  "multiple": false,
14814
14815
  "type": "option"
14815
14816
  },
14816
- "type": {
14817
- "description": "Node type",
14818
- "name": "type",
14817
+ "target": {
14818
+ "description": "Target node ID",
14819
+ "name": "target",
14819
14820
  "required": true,
14820
14821
  "hasDynamicHelp": false,
14821
14822
  "multiple": false,
14822
14823
  "type": "option"
14823
14824
  },
14824
- "x": {
14825
- "description": "X position",
14826
- "name": "x",
14827
- "required": true,
14825
+ "label": {
14826
+ "description": "Edge label",
14827
+ "name": "label",
14828
14828
  "hasDynamicHelp": false,
14829
14829
  "multiple": false,
14830
14830
  "type": "option"
14831
14831
  },
14832
- "y": {
14833
- "description": "Y position",
14834
- "name": "y",
14835
- "required": true,
14832
+ "type": {
14833
+ "description": "Edge type",
14834
+ "name": "type",
14835
+ "default": "default",
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:nodes:create",
14850
+ "id": "flow:edges: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
- "nodes",
14861
+ "edges",
14862
14862
  "create.js"
14863
14863
  ]
14864
14864
  },
14865
- "flow:nodes:delete": {
14865
+ "flow:edges: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
- "nodeId": {
14874
- "description": "Node ID",
14875
- "name": "nodeId",
14873
+ "edgeId": {
14874
+ "description": "Edge ID",
14875
+ "name": "edgeId",
14876
14876
  "required": true
14877
14877
  }
14878
14878
  },
14879
- "description": "Delete a flow node",
14879
+ "description": "Delete a flow edge",
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:nodes:delete",
14946
+ "id": "flow:edges: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
- "nodes",
14957
+ "edges",
14958
14958
  "delete.js"
14959
14959
  ]
14960
14960
  },
14961
- "flow:nodes:get": {
14961
+ "flow:edges: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
- "nodeId": {
14970
- "description": "Node ID",
14971
- "name": "nodeId",
14969
+ "edgeId": {
14970
+ "description": "Edge ID",
14971
+ "name": "edgeId",
14972
14972
  "required": true
14973
14973
  }
14974
14974
  },
14975
- "description": "Get a flow node",
14975
+ "description": "Get a flow edge",
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:nodes:get",
15042
+ "id": "flow:edges: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
- "nodes",
15053
+ "edges",
15054
15054
  "get.js"
15055
15055
  ]
15056
15056
  },
15057
- "flow:nodes:list": {
15057
+ "flow:edges: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 nodes in a flow",
15066
+ "description": "List edges 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:nodes:list",
15133
+ "id": "flow:edges: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
- "nodes",
15144
+ "edges",
15145
15145
  "list.js"
15146
15146
  ]
15147
15147
  },
15148
- "flow:nodes:update": {
15148
+ "flow:edges: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
- "nodeId": {
15157
- "description": "Node ID",
15158
- "name": "nodeId",
15156
+ "edgeId": {
15157
+ "description": "Edge ID",
15158
+ "name": "edgeId",
15159
15159
  "required": true
15160
15160
  }
15161
15161
  },
15162
- "description": "Update a flow node",
15162
+ "description": "Update a flow edge",
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
- "bot": {
15227
- "description": "Bot ID",
15228
- "name": "bot",
15226
+ "source": {
15227
+ "description": "Source node ID",
15228
+ "name": "source",
15229
15229
  "hasDynamicHelp": false,
15230
15230
  "multiple": false,
15231
15231
  "type": "option"
15232
15232
  },
15233
- "type": {
15234
- "description": "Node type",
15235
- "name": "type",
15233
+ "target": {
15234
+ "description": "Target node ID",
15235
+ "name": "target",
15236
15236
  "hasDynamicHelp": false,
15237
15237
  "multiple": false,
15238
15238
  "type": "option"
15239
15239
  },
15240
- "x": {
15241
- "description": "X position",
15242
- "name": "x",
15240
+ "label": {
15241
+ "description": "Edge label",
15242
+ "name": "label",
15243
15243
  "hasDynamicHelp": false,
15244
15244
  "multiple": false,
15245
15245
  "type": "option"
15246
15246
  },
15247
- "y": {
15248
- "description": "Y position",
15249
- "name": "y",
15247
+ "type": {
15248
+ "description": "Edge type",
15249
+ "name": "type",
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:nodes:update",
15264
+ "id": "flow:edges: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
- "nodes",
15275
+ "edges",
15276
15276
  "update.js"
15277
15277
  ]
15278
15278
  },
@@ -16566,5 +16566,5 @@
16566
16566
  ]
16567
16567
  }
16568
16568
  },
16569
- "version": "3.159.0"
16569
+ "version": "3.159.1"
16570
16570
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantkom/cli",
3
- "version": "3.159.0",
3
+ "version": "3.159.1",
4
4
  "description": "instantKOM CLI (ikm)",
5
5
  "license": "MIT",
6
6
  "type": "module",