@instantkom/cli 3.143.0 → 3.143.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.143.0",
3
+ "version": "3.143.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@instantkom/cli",
9
- "version": "3.143.0",
9
+ "version": "3.143.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
@@ -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,48 @@
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
+ "autocomplete:script": {
1077
+ "aliases": [],
1078
+ "args": {
1079
+ "shell": {
1080
+ "description": "Shell type",
1081
+ "name": "shell",
1082
+ "options": [
1083
+ "zsh",
1084
+ "bash",
1085
+ "fish",
1086
+ "powershell"
1087
+ ],
1088
+ "required": false
1089
+ }
1090
+ },
1091
+ "description": "outputs autocomplete config script for shells",
1092
+ "flags": {},
1093
+ "hasDynamicHelp": false,
1094
+ "hidden": true,
1095
+ "hiddenAliases": [],
1096
+ "id": "autocomplete:script",
1097
+ "pluginAlias": "@instantkom/cli",
1098
+ "pluginName": "@instantkom/cli",
1099
+ "pluginType": "core",
1100
+ "strict": true,
1101
+ "enableJsonFlag": false,
1102
+ "isESM": true,
1103
+ "relativePath": [
1104
+ "dist",
1105
+ "commands",
1106
+ "autocomplete",
1107
+ "script.js"
1108
+ ]
1109
+ },
1110
+ "auth:login": {
1055
1111
  "aliases": [],
1056
1112
  "args": {},
1057
- "description": "Remove the stored API token for the current profile",
1113
+ "description": "Authenticate with the instantKOM API via device authorization flow",
1058
1114
  "flags": {
1059
1115
  "api-key": {
1060
1116
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1117,11 +1173,25 @@
1117
1173
  "hasDynamicHelp": false,
1118
1174
  "multiple": false,
1119
1175
  "type": "option"
1176
+ },
1177
+ "scope": {
1178
+ "description": "Requested token scope",
1179
+ "name": "scope",
1180
+ "default": "read",
1181
+ "hasDynamicHelp": false,
1182
+ "multiple": false,
1183
+ "options": [
1184
+ "full",
1185
+ "send",
1186
+ "read",
1187
+ "admin"
1188
+ ],
1189
+ "type": "option"
1120
1190
  }
1121
1191
  },
1122
1192
  "hasDynamicHelp": false,
1123
1193
  "hiddenAliases": [],
1124
- "id": "auth:logout",
1194
+ "id": "auth:login",
1125
1195
  "pluginAlias": "@instantkom/cli",
1126
1196
  "pluginName": "@instantkom/cli",
1127
1197
  "pluginType": "core",
@@ -1132,13 +1202,13 @@
1132
1202
  "dist",
1133
1203
  "commands",
1134
1204
  "auth",
1135
- "logout.js"
1205
+ "login.js"
1136
1206
  ]
1137
1207
  },
1138
- "ai:reply": {
1208
+ "auth:logout": {
1139
1209
  "aliases": [],
1140
1210
  "args": {},
1141
- "description": "Generate AI reply suggestions for a message",
1211
+ "description": "Remove the stored API token for the current profile",
1142
1212
  "flags": {
1143
1213
  "api-key": {
1144
1214
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -1201,81 +1271,11 @@
1201
1271
  "hasDynamicHelp": false,
1202
1272
  "multiple": false,
1203
1273
  "type": "option"
1204
- },
1205
- "message-id": {
1206
- "description": "Message ID to use as smart-reply anchor",
1207
- "name": "message-id",
1208
- "required": true,
1209
- "hasDynamicHelp": false,
1210
- "multiple": false,
1211
- "type": "option"
1212
- },
1213
- "limit": {
1214
- "description": "Number of suggestions to generate (1-5)",
1215
- "name": "limit",
1216
- "hasDynamicHelp": false,
1217
- "multiple": false,
1218
- "type": "option"
1219
- },
1220
- "context-length": {
1221
- "description": "Number of recent messages to use as context (1-20)",
1222
- "name": "context-length",
1223
- "hasDynamicHelp": false,
1224
- "multiple": false,
1225
- "type": "option"
1226
- },
1227
- "style": {
1228
- "description": "Response style",
1229
- "name": "style",
1230
- "hasDynamicHelp": false,
1231
- "multiple": false,
1232
- "options": [
1233
- "professional",
1234
- "friendly",
1235
- "concise",
1236
- "detailed",
1237
- "empathetic"
1238
- ],
1239
- "type": "option"
1240
- }
1241
- },
1242
- "hasDynamicHelp": false,
1243
- "hiddenAliases": [],
1244
- "id": "ai:reply",
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
- "ai",
1255
- "reply.js"
1256
- ]
1257
- },
1258
- "autocomplete:script": {
1259
- "aliases": [],
1260
- "args": {
1261
- "shell": {
1262
- "description": "Shell type",
1263
- "name": "shell",
1264
- "options": [
1265
- "zsh",
1266
- "bash",
1267
- "fish",
1268
- "powershell"
1269
- ],
1270
- "required": false
1271
1274
  }
1272
1275
  },
1273
- "description": "outputs autocomplete config script for shells",
1274
- "flags": {},
1275
1276
  "hasDynamicHelp": false,
1276
- "hidden": true,
1277
1277
  "hiddenAliases": [],
1278
- "id": "autocomplete:script",
1278
+ "id": "auth:logout",
1279
1279
  "pluginAlias": "@instantkom/cli",
1280
1280
  "pluginName": "@instantkom/cli",
1281
1281
  "pluginType": "core",
@@ -1285,8 +1285,8 @@
1285
1285
  "relativePath": [
1286
1286
  "dist",
1287
1287
  "commands",
1288
- "autocomplete",
1289
- "script.js"
1288
+ "auth",
1289
+ "logout.js"
1290
1290
  ]
1291
1291
  },
1292
1292
  "bots:create": {
@@ -2843,16 +2843,10 @@
2843
2843
  "update.js"
2844
2844
  ]
2845
2845
  },
2846
- "chats:get": {
2846
+ "channels:create": {
2847
2847
  "aliases": [],
2848
- "args": {
2849
- "id": {
2850
- "description": "chat ID",
2851
- "name": "id",
2852
- "required": true
2853
- }
2854
- },
2855
- "description": "Get chat by ID",
2848
+ "args": {},
2849
+ "description": "Create a channel",
2856
2850
  "flags": {
2857
2851
  "api-key": {
2858
2852
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2915,11 +2909,48 @@
2915
2909
  "hasDynamicHelp": false,
2916
2910
  "multiple": false,
2917
2911
  "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"
2918
2949
  }
2919
2950
  },
2920
2951
  "hasDynamicHelp": false,
2921
2952
  "hiddenAliases": [],
2922
- "id": "chats:get",
2953
+ "id": "channels:create",
2923
2954
  "pluginAlias": "@instantkom/cli",
2924
2955
  "pluginName": "@instantkom/cli",
2925
2956
  "pluginType": "core",
@@ -2929,14 +2960,20 @@
2929
2960
  "relativePath": [
2930
2961
  "dist",
2931
2962
  "commands",
2932
- "chats",
2933
- "get.js"
2963
+ "channels",
2964
+ "create.js"
2934
2965
  ]
2935
2966
  },
2936
- "chats:list": {
2967
+ "channels:get": {
2937
2968
  "aliases": [],
2938
- "args": {},
2939
- "description": "List chats",
2969
+ "args": {
2970
+ "id": {
2971
+ "description": "Channel ID",
2972
+ "name": "id",
2973
+ "required": true
2974
+ }
2975
+ },
2976
+ "description": "Get a channel by ID",
2940
2977
  "flags": {
2941
2978
  "api-key": {
2942
2979
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -2999,73 +3036,11 @@
2999
3036
  "hasDynamicHelp": false,
3000
3037
  "multiple": false,
3001
3038
  "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"
3064
3039
  }
3065
3040
  },
3066
3041
  "hasDynamicHelp": false,
3067
3042
  "hiddenAliases": [],
3068
- "id": "chats:list",
3043
+ "id": "channels:get",
3069
3044
  "pluginAlias": "@instantkom/cli",
3070
3045
  "pluginName": "@instantkom/cli",
3071
3046
  "pluginType": "core",
@@ -3075,20 +3050,20 @@
3075
3050
  "relativePath": [
3076
3051
  "dist",
3077
3052
  "commands",
3078
- "chats",
3079
- "list.js"
3053
+ "channels",
3054
+ "get.js"
3080
3055
  ]
3081
3056
  },
3082
- "chats:reply": {
3057
+ "channels:kpis": {
3083
3058
  "aliases": [],
3084
3059
  "args": {
3085
3060
  "id": {
3086
- "description": "Chat ID",
3061
+ "description": "Optional channel ID; omit for aggregated channel KPIs",
3087
3062
  "name": "id",
3088
- "required": true
3063
+ "required": false
3089
3064
  }
3090
3065
  },
3091
- "description": "Reply in a chat",
3066
+ "description": "Get channel KPIs",
3092
3067
  "flags": {
3093
3068
  "api-key": {
3094
3069
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3152,10 +3127,9 @@
3152
3127
  "multiple": false,
3153
3128
  "type": "option"
3154
3129
  },
3155
- "text": {
3156
- "description": "Reply text",
3157
- "name": "text",
3158
- "required": true,
3130
+ "period": {
3131
+ "description": "KPI period",
3132
+ "name": "period",
3159
3133
  "hasDynamicHelp": false,
3160
3134
  "multiple": false,
3161
3135
  "type": "option"
@@ -3163,7 +3137,7 @@
3163
3137
  },
3164
3138
  "hasDynamicHelp": false,
3165
3139
  "hiddenAliases": [],
3166
- "id": "chats:reply",
3140
+ "id": "channels:kpis",
3167
3141
  "pluginAlias": "@instantkom/cli",
3168
3142
  "pluginName": "@instantkom/cli",
3169
3143
  "pluginType": "core",
@@ -3173,14 +3147,14 @@
3173
3147
  "relativePath": [
3174
3148
  "dist",
3175
3149
  "commands",
3176
- "chats",
3177
- "reply.js"
3150
+ "channels",
3151
+ "kpis.js"
3178
3152
  ]
3179
3153
  },
3180
- "channels:create": {
3154
+ "channels:list": {
3181
3155
  "aliases": [],
3182
3156
  "args": {},
3183
- "description": "Create a channel",
3157
+ "description": "List channels",
3184
3158
  "flags": {
3185
3159
  "api-key": {
3186
3160
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3244,39 +3218,39 @@
3244
3218
  "multiple": false,
3245
3219
  "type": "option"
3246
3220
  },
3247
- "name": {
3248
- "description": "Channel name",
3249
- "name": "name",
3250
- "required": true,
3221
+ "page": {
3222
+ "description": "Page number",
3223
+ "name": "page",
3224
+ "default": 1,
3251
3225
  "hasDynamicHelp": false,
3252
3226
  "multiple": false,
3253
3227
  "type": "option"
3254
3228
  },
3255
- "gateway-type": {
3256
- "description": "Gateway type ID",
3257
- "name": "gateway-type",
3258
- "required": true,
3229
+ "limit": {
3230
+ "description": "Items per page",
3231
+ "name": "limit",
3232
+ "default": 20,
3259
3233
  "hasDynamicHelp": false,
3260
3234
  "multiple": false,
3261
3235
  "type": "option"
3262
3236
  },
3263
3237
  "status": {
3264
- "description": "Channel lifecycle status",
3238
+ "description": "Filter by channel status",
3265
3239
  "name": "status",
3266
3240
  "hasDynamicHelp": false,
3267
3241
  "multiple": false,
3268
3242
  "type": "option"
3269
3243
  },
3270
- "description": {
3271
- "description": "Channel description",
3272
- "name": "description",
3244
+ "gateway-type": {
3245
+ "description": "Filter by gateway type ID",
3246
+ "name": "gateway-type",
3273
3247
  "hasDynamicHelp": false,
3274
3248
  "multiple": false,
3275
3249
  "type": "option"
3276
3250
  },
3277
- "data": {
3278
- "description": "Additional JSON object payload",
3279
- "name": "data",
3251
+ "search": {
3252
+ "description": "Search by channel name",
3253
+ "name": "search",
3280
3254
  "hasDynamicHelp": false,
3281
3255
  "multiple": false,
3282
3256
  "type": "option"
@@ -3284,7 +3258,7 @@
3284
3258
  },
3285
3259
  "hasDynamicHelp": false,
3286
3260
  "hiddenAliases": [],
3287
- "id": "channels:create",
3261
+ "id": "channels:list",
3288
3262
  "pluginAlias": "@instantkom/cli",
3289
3263
  "pluginName": "@instantkom/cli",
3290
3264
  "pluginType": "core",
@@ -3295,10 +3269,10 @@
3295
3269
  "dist",
3296
3270
  "commands",
3297
3271
  "channels",
3298
- "create.js"
3272
+ "list.js"
3299
3273
  ]
3300
3274
  },
3301
- "channels:get": {
3275
+ "channels:update": {
3302
3276
  "aliases": [],
3303
3277
  "args": {
3304
3278
  "id": {
@@ -3307,7 +3281,7 @@
3307
3281
  "required": true
3308
3282
  }
3309
3283
  },
3310
- "description": "Get a channel by ID",
3284
+ "description": "Update a channel",
3311
3285
  "flags": {
3312
3286
  "api-key": {
3313
3287
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3370,11 +3344,39 @@
3370
3344
  "hasDynamicHelp": false,
3371
3345
  "multiple": false,
3372
3346
  "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"
3373
3375
  }
3374
3376
  },
3375
3377
  "hasDynamicHelp": false,
3376
3378
  "hiddenAliases": [],
3377
- "id": "channels:get",
3379
+ "id": "channels:update",
3378
3380
  "pluginAlias": "@instantkom/cli",
3379
3381
  "pluginName": "@instantkom/cli",
3380
3382
  "pluginType": "core",
@@ -3385,19 +3387,19 @@
3385
3387
  "dist",
3386
3388
  "commands",
3387
3389
  "channels",
3388
- "get.js"
3390
+ "update.js"
3389
3391
  ]
3390
3392
  },
3391
- "channels:kpis": {
3393
+ "chats:get": {
3392
3394
  "aliases": [],
3393
3395
  "args": {
3394
3396
  "id": {
3395
- "description": "Optional channel ID; omit for aggregated channel KPIs",
3397
+ "description": "chat ID",
3396
3398
  "name": "id",
3397
- "required": false
3399
+ "required": true
3398
3400
  }
3399
3401
  },
3400
- "description": "Get channel KPIs",
3402
+ "description": "Get chat by ID",
3401
3403
  "flags": {
3402
3404
  "api-key": {
3403
3405
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3460,18 +3462,11 @@
3460
3462
  "hasDynamicHelp": false,
3461
3463
  "multiple": false,
3462
3464
  "type": "option"
3463
- },
3464
- "period": {
3465
- "description": "KPI period",
3466
- "name": "period",
3467
- "hasDynamicHelp": false,
3468
- "multiple": false,
3469
- "type": "option"
3470
3465
  }
3471
3466
  },
3472
3467
  "hasDynamicHelp": false,
3473
3468
  "hiddenAliases": [],
3474
- "id": "channels:kpis",
3469
+ "id": "chats:get",
3475
3470
  "pluginAlias": "@instantkom/cli",
3476
3471
  "pluginName": "@instantkom/cli",
3477
3472
  "pluginType": "core",
@@ -3481,14 +3476,14 @@
3481
3476
  "relativePath": [
3482
3477
  "dist",
3483
3478
  "commands",
3484
- "channels",
3485
- "kpis.js"
3479
+ "chats",
3480
+ "get.js"
3486
3481
  ]
3487
3482
  },
3488
- "channels:list": {
3483
+ "chats:list": {
3489
3484
  "aliases": [],
3490
3485
  "args": {},
3491
- "description": "List channels",
3486
+ "description": "List chats",
3492
3487
  "flags": {
3493
3488
  "api-key": {
3494
3489
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3568,31 +3563,56 @@
3568
3563
  "multiple": false,
3569
3564
  "type": "option"
3570
3565
  },
3571
- "status": {
3572
- "description": "Filter by channel status",
3573
- "name": "status",
3566
+ "channel": {
3567
+ "description": "Filter by channel ID",
3568
+ "name": "channel",
3574
3569
  "hasDynamicHelp": false,
3575
3570
  "multiple": false,
3576
3571
  "type": "option"
3577
3572
  },
3578
- "gateway-type": {
3579
- "description": "Filter by gateway type ID",
3580
- "name": "gateway-type",
3573
+ "channels": {
3574
+ "description": "Comma-separated channel IDs",
3575
+ "name": "channels",
3581
3576
  "hasDynamicHelp": false,
3582
3577
  "multiple": false,
3583
3578
  "type": "option"
3584
3579
  },
3585
3580
  "search": {
3586
- "description": "Search by channel name",
3581
+ "description": "Search chats",
3587
3582
  "name": "search",
3588
3583
  "hasDynamicHelp": false,
3589
3584
  "multiple": false,
3590
3585
  "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"
3591
3611
  }
3592
3612
  },
3593
3613
  "hasDynamicHelp": false,
3594
3614
  "hiddenAliases": [],
3595
- "id": "channels:list",
3615
+ "id": "chats:list",
3596
3616
  "pluginAlias": "@instantkom/cli",
3597
3617
  "pluginName": "@instantkom/cli",
3598
3618
  "pluginType": "core",
@@ -3602,20 +3622,20 @@
3602
3622
  "relativePath": [
3603
3623
  "dist",
3604
3624
  "commands",
3605
- "channels",
3625
+ "chats",
3606
3626
  "list.js"
3607
3627
  ]
3608
3628
  },
3609
- "channels:update": {
3629
+ "chats:reply": {
3610
3630
  "aliases": [],
3611
3631
  "args": {
3612
3632
  "id": {
3613
- "description": "Channel ID",
3633
+ "description": "Chat ID",
3614
3634
  "name": "id",
3615
3635
  "required": true
3616
3636
  }
3617
3637
  },
3618
- "description": "Update a channel",
3638
+ "description": "Reply in a chat",
3619
3639
  "flags": {
3620
3640
  "api-key": {
3621
3641
  "description": "API key for authentication (discouraged: prefer IKM_API_KEY env or keychain). Visible in shell history.",
@@ -3679,30 +3699,10 @@
3679
3699
  "multiple": false,
3680
3700
  "type": "option"
3681
3701
  },
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",
3702
+ "text": {
3703
+ "description": "Reply text",
3704
+ "name": "text",
3705
+ "required": true,
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": "channels:update",
3713
+ "id": "chats:reply",
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
- "channels",
3724
- "update.js"
3723
+ "chats",
3724
+ "reply.js"
3725
3725
  ]
3726
3726
  },
3727
3727
  "config:get": {
@@ -16352,5 +16352,5 @@
16352
16352
  ]
16353
16353
  }
16354
16354
  },
16355
- "version": "3.143.0"
16355
+ "version": "3.143.1"
16356
16356
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantkom/cli",
3
- "version": "3.143.0",
3
+ "version": "3.143.1",
4
4
  "description": "instantKOM CLI (ikm)",
5
5
  "license": "MIT",
6
6
  "type": "module",