@memberjunction/ai-cli 2.123.0 → 2.123.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.
- package/oclif.manifest.json +126 -126
- package/package.json +17 -17
package/oclif.manifest.json
CHANGED
|
@@ -119,25 +119,33 @@
|
|
|
119
119
|
"run.js"
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
|
-
"
|
|
122
|
+
"agents:list": {
|
|
123
123
|
"aliases": [],
|
|
124
124
|
"args": {},
|
|
125
|
-
"description": "List available
|
|
125
|
+
"description": "List available AI agents",
|
|
126
126
|
"examples": [
|
|
127
|
-
"<%= config.bin %> <%= command.id %>"
|
|
127
|
+
"<%= config.bin %> <%= command.id %>",
|
|
128
|
+
"<%= config.bin %> <%= command.id %> --output=json",
|
|
129
|
+
"<%= config.bin %> <%= command.id %> --output=table"
|
|
128
130
|
],
|
|
129
131
|
"flags": {
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
132
|
+
"output": {
|
|
133
|
+
"description": "Output format",
|
|
134
|
+
"name": "output",
|
|
135
|
+
"default": "table",
|
|
136
|
+
"hasDynamicHelp": false,
|
|
137
|
+
"multiple": false,
|
|
138
|
+
"options": [
|
|
139
|
+
"compact",
|
|
140
|
+
"json",
|
|
141
|
+
"table"
|
|
142
|
+
],
|
|
143
|
+
"type": "option"
|
|
136
144
|
}
|
|
137
145
|
},
|
|
138
146
|
"hasDynamicHelp": false,
|
|
139
147
|
"hiddenAliases": [],
|
|
140
|
-
"id": "
|
|
148
|
+
"id": "agents:list",
|
|
141
149
|
"pluginAlias": "@memberjunction/ai-cli",
|
|
142
150
|
"pluginName": "@memberjunction/ai-cli",
|
|
143
151
|
"pluginType": "core",
|
|
@@ -147,71 +155,67 @@
|
|
|
147
155
|
"relativePath": [
|
|
148
156
|
"dist",
|
|
149
157
|
"commands",
|
|
150
|
-
"
|
|
158
|
+
"agents",
|
|
151
159
|
"list.js"
|
|
152
160
|
]
|
|
153
161
|
},
|
|
154
|
-
"
|
|
162
|
+
"agents:run": {
|
|
155
163
|
"aliases": [],
|
|
156
164
|
"args": {},
|
|
157
|
-
"description": "Execute
|
|
165
|
+
"description": "Execute AI agents with custom prompts",
|
|
158
166
|
"examples": [
|
|
159
|
-
"<%= config.bin %> <%= command.id %> -
|
|
160
|
-
"<%= config.bin %> <%= command.id %> -
|
|
161
|
-
"<%= config.bin %> <%= command.id %> -
|
|
162
|
-
"<%= config.bin %> <%= command.id %>
|
|
167
|
+
"<%= config.bin %> <%= command.id %> -a \"Demo Loop Agent\" -p \"Hello world\"",
|
|
168
|
+
"<%= config.bin %> <%= command.id %> -a \"Demo Loop Agent\" --chat",
|
|
169
|
+
"<%= config.bin %> <%= command.id %> -a \"Demo Loop Agent\" -p \"Get weather\" --verbose",
|
|
170
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
163
171
|
],
|
|
164
172
|
"flags": {
|
|
165
|
-
"
|
|
166
|
-
"char": "
|
|
167
|
-
"description": "
|
|
168
|
-
"name": "
|
|
169
|
-
"required":
|
|
173
|
+
"agent": {
|
|
174
|
+
"char": "a",
|
|
175
|
+
"description": "Name of the AI agent to execute",
|
|
176
|
+
"name": "agent",
|
|
177
|
+
"required": false,
|
|
170
178
|
"hasDynamicHelp": false,
|
|
171
179
|
"multiple": false,
|
|
172
180
|
"type": "option"
|
|
173
181
|
},
|
|
174
|
-
"
|
|
175
|
-
"char": "
|
|
176
|
-
"description": "
|
|
177
|
-
"name": "
|
|
182
|
+
"prompt": {
|
|
183
|
+
"char": "p",
|
|
184
|
+
"description": "Prompt text to send to the agent",
|
|
185
|
+
"name": "prompt",
|
|
178
186
|
"hasDynamicHelp": false,
|
|
179
187
|
"multiple": false,
|
|
180
188
|
"type": "option"
|
|
181
189
|
},
|
|
182
|
-
"
|
|
183
|
-
"char": "
|
|
184
|
-
"description": "
|
|
185
|
-
"name": "
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"type": "option"
|
|
190
|
+
"chat": {
|
|
191
|
+
"char": "c",
|
|
192
|
+
"description": "Start interactive conversation mode",
|
|
193
|
+
"name": "chat",
|
|
194
|
+
"allowNo": false,
|
|
195
|
+
"type": "boolean"
|
|
189
196
|
},
|
|
190
|
-
"
|
|
191
|
-
"char": "
|
|
192
|
-
"description": "
|
|
193
|
-
"name": "
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"type": "option"
|
|
197
|
+
"verbose": {
|
|
198
|
+
"char": "v",
|
|
199
|
+
"description": "Show detailed execution information",
|
|
200
|
+
"name": "verbose",
|
|
201
|
+
"allowNo": false,
|
|
202
|
+
"type": "boolean"
|
|
197
203
|
},
|
|
198
|
-
"
|
|
199
|
-
"description": "
|
|
200
|
-
"name": "
|
|
204
|
+
"timeout": {
|
|
205
|
+
"description": "Override default timeout (milliseconds)",
|
|
206
|
+
"name": "timeout",
|
|
207
|
+
"default": 300000,
|
|
201
208
|
"hasDynamicHelp": false,
|
|
202
209
|
"multiple": false,
|
|
203
210
|
"type": "option"
|
|
204
211
|
},
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"multiple": false,
|
|
211
|
-
"type": "option"
|
|
212
|
+
"dry-run": {
|
|
213
|
+
"description": "Validate without executing",
|
|
214
|
+
"name": "dry-run",
|
|
215
|
+
"allowNo": false,
|
|
216
|
+
"type": "boolean"
|
|
212
217
|
},
|
|
213
218
|
"output": {
|
|
214
|
-
"char": "o",
|
|
215
219
|
"description": "Output format",
|
|
216
220
|
"name": "output",
|
|
217
221
|
"default": "compact",
|
|
@@ -223,26 +227,11 @@
|
|
|
223
227
|
"table"
|
|
224
228
|
],
|
|
225
229
|
"type": "option"
|
|
226
|
-
},
|
|
227
|
-
"verbose": {
|
|
228
|
-
"char": "v",
|
|
229
|
-
"description": "Show detailed execution information",
|
|
230
|
-
"name": "verbose",
|
|
231
|
-
"allowNo": false,
|
|
232
|
-
"type": "boolean"
|
|
233
|
-
},
|
|
234
|
-
"timeout": {
|
|
235
|
-
"description": "Execution timeout in milliseconds",
|
|
236
|
-
"name": "timeout",
|
|
237
|
-
"default": 300000,
|
|
238
|
-
"hasDynamicHelp": false,
|
|
239
|
-
"multiple": false,
|
|
240
|
-
"type": "option"
|
|
241
230
|
}
|
|
242
231
|
},
|
|
243
232
|
"hasDynamicHelp": false,
|
|
244
233
|
"hiddenAliases": [],
|
|
245
|
-
"id": "
|
|
234
|
+
"id": "agents:run",
|
|
246
235
|
"pluginAlias": "@memberjunction/ai-cli",
|
|
247
236
|
"pluginName": "@memberjunction/ai-cli",
|
|
248
237
|
"pluginType": "core",
|
|
@@ -252,37 +241,29 @@
|
|
|
252
241
|
"relativePath": [
|
|
253
242
|
"dist",
|
|
254
243
|
"commands",
|
|
255
|
-
"
|
|
244
|
+
"agents",
|
|
256
245
|
"run.js"
|
|
257
246
|
]
|
|
258
247
|
},
|
|
259
|
-
"
|
|
248
|
+
"prompts:list": {
|
|
260
249
|
"aliases": [],
|
|
261
250
|
"args": {},
|
|
262
|
-
"description": "List available
|
|
251
|
+
"description": "List available models for prompt execution",
|
|
263
252
|
"examples": [
|
|
264
|
-
"<%= config.bin %> <%= command.id %>"
|
|
265
|
-
"<%= config.bin %> <%= command.id %> --output=json",
|
|
266
|
-
"<%= config.bin %> <%= command.id %> --output=table"
|
|
253
|
+
"<%= config.bin %> <%= command.id %>"
|
|
267
254
|
],
|
|
268
255
|
"flags": {
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"options": [
|
|
276
|
-
"compact",
|
|
277
|
-
"json",
|
|
278
|
-
"table"
|
|
279
|
-
],
|
|
280
|
-
"type": "option"
|
|
256
|
+
"verbose": {
|
|
257
|
+
"char": "v",
|
|
258
|
+
"description": "Show detailed model information",
|
|
259
|
+
"name": "verbose",
|
|
260
|
+
"allowNo": false,
|
|
261
|
+
"type": "boolean"
|
|
281
262
|
}
|
|
282
263
|
},
|
|
283
264
|
"hasDynamicHelp": false,
|
|
284
265
|
"hiddenAliases": [],
|
|
285
|
-
"id": "
|
|
266
|
+
"id": "prompts:list",
|
|
286
267
|
"pluginAlias": "@memberjunction/ai-cli",
|
|
287
268
|
"pluginName": "@memberjunction/ai-cli",
|
|
288
269
|
"pluginType": "core",
|
|
@@ -292,67 +273,71 @@
|
|
|
292
273
|
"relativePath": [
|
|
293
274
|
"dist",
|
|
294
275
|
"commands",
|
|
295
|
-
"
|
|
276
|
+
"prompts",
|
|
296
277
|
"list.js"
|
|
297
278
|
]
|
|
298
279
|
},
|
|
299
|
-
"
|
|
280
|
+
"prompts:run": {
|
|
300
281
|
"aliases": [],
|
|
301
282
|
"args": {},
|
|
302
|
-
"description": "Execute
|
|
283
|
+
"description": "Execute a direct prompt with an AI model",
|
|
303
284
|
"examples": [
|
|
304
|
-
"<%= config.bin %> <%= command.id %> -
|
|
305
|
-
"<%= config.bin %> <%= command.id %> -
|
|
306
|
-
"<%= config.bin %> <%= command.id %> -
|
|
307
|
-
"<%= config.bin %> <%= command.id %> --
|
|
285
|
+
"<%= config.bin %> <%= command.id %> -p \"Explain quantum computing in simple terms\"",
|
|
286
|
+
"<%= config.bin %> <%= command.id %> -p \"Write a Python function to sort a list\" --model \"gpt-4\"",
|
|
287
|
+
"<%= config.bin %> <%= command.id %> -p \"Translate to French: Hello world\" --temperature 0.3",
|
|
288
|
+
"<%= config.bin %> <%= command.id %> -p \"Generate a haiku\" --system \"You are a poet\" --max-tokens 100"
|
|
308
289
|
],
|
|
309
290
|
"flags": {
|
|
310
|
-
"
|
|
311
|
-
"char": "
|
|
312
|
-
"description": "
|
|
313
|
-
"name": "
|
|
314
|
-
"required":
|
|
291
|
+
"prompt": {
|
|
292
|
+
"char": "p",
|
|
293
|
+
"description": "The prompt to execute",
|
|
294
|
+
"name": "prompt",
|
|
295
|
+
"required": true,
|
|
315
296
|
"hasDynamicHelp": false,
|
|
316
297
|
"multiple": false,
|
|
317
298
|
"type": "option"
|
|
318
299
|
},
|
|
319
|
-
"
|
|
320
|
-
"char": "
|
|
321
|
-
"description": "
|
|
322
|
-
"name": "
|
|
300
|
+
"model": {
|
|
301
|
+
"char": "m",
|
|
302
|
+
"description": "AI model to use (e.g., gpt-4, claude-3-opus)",
|
|
303
|
+
"name": "model",
|
|
323
304
|
"hasDynamicHelp": false,
|
|
324
305
|
"multiple": false,
|
|
325
306
|
"type": "option"
|
|
326
307
|
},
|
|
327
|
-
"
|
|
328
|
-
"char": "
|
|
329
|
-
"description": "
|
|
330
|
-
"name": "
|
|
331
|
-
"
|
|
332
|
-
"
|
|
308
|
+
"system": {
|
|
309
|
+
"char": "s",
|
|
310
|
+
"description": "System prompt to set context",
|
|
311
|
+
"name": "system",
|
|
312
|
+
"hasDynamicHelp": false,
|
|
313
|
+
"multiple": false,
|
|
314
|
+
"type": "option"
|
|
333
315
|
},
|
|
334
|
-
"
|
|
335
|
-
"char": "
|
|
336
|
-
"description": "
|
|
337
|
-
"name": "
|
|
338
|
-
"
|
|
339
|
-
"
|
|
316
|
+
"temperature": {
|
|
317
|
+
"char": "t",
|
|
318
|
+
"description": "Temperature for response creativity (0.0-2.0)",
|
|
319
|
+
"name": "temperature",
|
|
320
|
+
"hasDynamicHelp": false,
|
|
321
|
+
"multiple": false,
|
|
322
|
+
"type": "option"
|
|
340
323
|
},
|
|
341
|
-
"
|
|
342
|
-
"description": "
|
|
343
|
-
"name": "
|
|
344
|
-
"default": 300000,
|
|
324
|
+
"max-tokens": {
|
|
325
|
+
"description": "Maximum tokens for the response",
|
|
326
|
+
"name": "max-tokens",
|
|
345
327
|
"hasDynamicHelp": false,
|
|
346
328
|
"multiple": false,
|
|
347
329
|
"type": "option"
|
|
348
330
|
},
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
331
|
+
"configuration": {
|
|
332
|
+
"char": "c",
|
|
333
|
+
"description": "AI Configuration ID to use",
|
|
334
|
+
"name": "configuration",
|
|
335
|
+
"hasDynamicHelp": false,
|
|
336
|
+
"multiple": false,
|
|
337
|
+
"type": "option"
|
|
354
338
|
},
|
|
355
339
|
"output": {
|
|
340
|
+
"char": "o",
|
|
356
341
|
"description": "Output format",
|
|
357
342
|
"name": "output",
|
|
358
343
|
"default": "compact",
|
|
@@ -364,11 +349,26 @@
|
|
|
364
349
|
"table"
|
|
365
350
|
],
|
|
366
351
|
"type": "option"
|
|
352
|
+
},
|
|
353
|
+
"verbose": {
|
|
354
|
+
"char": "v",
|
|
355
|
+
"description": "Show detailed execution information",
|
|
356
|
+
"name": "verbose",
|
|
357
|
+
"allowNo": false,
|
|
358
|
+
"type": "boolean"
|
|
359
|
+
},
|
|
360
|
+
"timeout": {
|
|
361
|
+
"description": "Execution timeout in milliseconds",
|
|
362
|
+
"name": "timeout",
|
|
363
|
+
"default": 300000,
|
|
364
|
+
"hasDynamicHelp": false,
|
|
365
|
+
"multiple": false,
|
|
366
|
+
"type": "option"
|
|
367
367
|
}
|
|
368
368
|
},
|
|
369
369
|
"hasDynamicHelp": false,
|
|
370
370
|
"hiddenAliases": [],
|
|
371
|
-
"id": "
|
|
371
|
+
"id": "prompts:run",
|
|
372
372
|
"pluginAlias": "@memberjunction/ai-cli",
|
|
373
373
|
"pluginName": "@memberjunction/ai-cli",
|
|
374
374
|
"pluginType": "core",
|
|
@@ -378,10 +378,10 @@
|
|
|
378
378
|
"relativePath": [
|
|
379
379
|
"dist",
|
|
380
380
|
"commands",
|
|
381
|
-
"
|
|
381
|
+
"prompts",
|
|
382
382
|
"run.js"
|
|
383
383
|
]
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
|
-
"version": "2.123.
|
|
386
|
+
"version": "2.123.1"
|
|
387
387
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ai-cli",
|
|
3
|
-
"version": "2.123.
|
|
3
|
+
"version": "2.123.1",
|
|
4
4
|
"description": "MemberJunction AI agent, prompt and action execution CLI, integrated with the main MJ CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oclif",
|
|
@@ -49,22 +49,22 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@inquirer/prompts": "^5.0.1",
|
|
52
|
-
"@memberjunction/actions": "2.123.
|
|
53
|
-
"@memberjunction/ai": "2.123.
|
|
54
|
-
"@memberjunction/ai-agents": "2.123.
|
|
55
|
-
"@memberjunction/ai-anthropic": "2.123.
|
|
56
|
-
"@memberjunction/ai-betty-bot": "2.123.
|
|
57
|
-
"@memberjunction/ai-cerebras": "2.123.
|
|
58
|
-
"@memberjunction/ai-core-plus": "2.123.
|
|
59
|
-
"@memberjunction/ai-groq": "2.123.
|
|
60
|
-
"@memberjunction/ai-mistral": "2.123.
|
|
61
|
-
"@memberjunction/ai-openai": "2.123.
|
|
62
|
-
"@memberjunction/ai-prompts": "2.123.
|
|
63
|
-
"@memberjunction/core": "2.123.
|
|
64
|
-
"@memberjunction/core-actions": "2.123.
|
|
65
|
-
"@memberjunction/core-entities": "2.123.
|
|
66
|
-
"@memberjunction/core-entities-server": "2.123.
|
|
67
|
-
"@memberjunction/sqlserver-dataprovider": "2.123.
|
|
52
|
+
"@memberjunction/actions": "2.123.1",
|
|
53
|
+
"@memberjunction/ai": "2.123.1",
|
|
54
|
+
"@memberjunction/ai-agents": "2.123.1",
|
|
55
|
+
"@memberjunction/ai-anthropic": "2.123.1",
|
|
56
|
+
"@memberjunction/ai-betty-bot": "2.123.1",
|
|
57
|
+
"@memberjunction/ai-cerebras": "2.123.1",
|
|
58
|
+
"@memberjunction/ai-core-plus": "2.123.1",
|
|
59
|
+
"@memberjunction/ai-groq": "2.123.1",
|
|
60
|
+
"@memberjunction/ai-mistral": "2.123.1",
|
|
61
|
+
"@memberjunction/ai-openai": "2.123.1",
|
|
62
|
+
"@memberjunction/ai-prompts": "2.123.1",
|
|
63
|
+
"@memberjunction/core": "2.123.1",
|
|
64
|
+
"@memberjunction/core-actions": "2.123.1",
|
|
65
|
+
"@memberjunction/core-entities": "2.123.1",
|
|
66
|
+
"@memberjunction/core-entities-server": "2.123.1",
|
|
67
|
+
"@memberjunction/sqlserver-dataprovider": "2.123.1",
|
|
68
68
|
"@oclif/core": "^3",
|
|
69
69
|
"@oclif/plugin-help": "^6",
|
|
70
70
|
"@oclif/plugin-version": "^2.0.17",
|