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