@memberjunction/ai-cli 2.113.1 → 2.114.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 +50 -50
  2. package/package.json +16 -16
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "commands": {
3
- "agents:list": {
3
+ "actions:list": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "List available AI agents",
6
+ "description": "List available actions",
7
7
  "examples": [
8
8
  "<%= config.bin %> <%= command.id %>",
9
9
  "<%= config.bin %> <%= command.id %> --output=json",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "hasDynamicHelp": false,
28
28
  "hiddenAliases": [],
29
- "id": "agents:list",
29
+ "id": "actions:list",
30
30
  "pluginAlias": "@memberjunction/ai-cli",
31
31
  "pluginName": "@memberjunction/ai-cli",
32
32
  "pluginType": "core",
@@ -36,45 +36,38 @@
36
36
  "relativePath": [
37
37
  "dist",
38
38
  "commands",
39
- "agents",
39
+ "actions",
40
40
  "list.js"
41
41
  ]
42
42
  },
43
- "agents:run": {
43
+ "actions:run": {
44
44
  "aliases": [],
45
45
  "args": {},
46
- "description": "Execute AI agents with custom prompts",
46
+ "description": "Execute individual actions directly",
47
47
  "examples": [
48
- "<%= config.bin %> <%= command.id %> -a \"Demo Loop Agent\" -p \"Hello world\"",
49
- "<%= config.bin %> <%= command.id %> -a \"Demo Loop Agent\" --chat",
50
- "<%= config.bin %> <%= command.id %> -a \"Demo Loop Agent\" -p \"Get weather\" --verbose",
51
- "<%= config.bin %> <%= command.id %> --output=json"
48
+ "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
49
+ "<%= config.bin %> <%= command.id %> -n \"Send Email\" --param \"To=user@example.com\" --param \"Subject=Test\"",
50
+ "<%= config.bin %> <%= command.id %> --output=json",
51
+ "<%= config.bin %> <%= command.id %> -n \"Calculate\" --param \"Numbers=[1,2,3]\" --verbose"
52
52
  ],
53
53
  "flags": {
54
- "agent": {
55
- "char": "a",
56
- "description": "Name of the AI agent to execute",
57
- "name": "agent",
54
+ "name": {
55
+ "char": "n",
56
+ "description": "Name of the action to execute",
57
+ "name": "name",
58
58
  "required": false,
59
59
  "hasDynamicHelp": false,
60
60
  "multiple": false,
61
61
  "type": "option"
62
62
  },
63
- "prompt": {
64
- "char": "p",
65
- "description": "Prompt text to send to the agent",
66
- "name": "prompt",
63
+ "param": {
64
+ "description": "Action parameter (key=value format, can be used multiple times)",
65
+ "name": "param",
66
+ "default": [],
67
67
  "hasDynamicHelp": false,
68
- "multiple": false,
68
+ "multiple": true,
69
69
  "type": "option"
70
70
  },
71
- "chat": {
72
- "char": "c",
73
- "description": "Start interactive conversation mode",
74
- "name": "chat",
75
- "allowNo": false,
76
- "type": "boolean"
77
- },
78
71
  "verbose": {
79
72
  "char": "v",
80
73
  "description": "Show detailed execution information",
@@ -112,7 +105,7 @@
112
105
  },
113
106
  "hasDynamicHelp": false,
114
107
  "hiddenAliases": [],
115
- "id": "agents:run",
108
+ "id": "actions:run",
116
109
  "pluginAlias": "@memberjunction/ai-cli",
117
110
  "pluginName": "@memberjunction/ai-cli",
118
111
  "pluginType": "core",
@@ -122,14 +115,14 @@
122
115
  "relativePath": [
123
116
  "dist",
124
117
  "commands",
125
- "agents",
118
+ "actions",
126
119
  "run.js"
127
120
  ]
128
121
  },
129
- "actions:list": {
122
+ "agents:list": {
130
123
  "aliases": [],
131
124
  "args": {},
132
- "description": "List available actions",
125
+ "description": "List available AI agents",
133
126
  "examples": [
134
127
  "<%= config.bin %> <%= command.id %>",
135
128
  "<%= config.bin %> <%= command.id %> --output=json",
@@ -152,7 +145,7 @@
152
145
  },
153
146
  "hasDynamicHelp": false,
154
147
  "hiddenAliases": [],
155
- "id": "actions:list",
148
+ "id": "agents:list",
156
149
  "pluginAlias": "@memberjunction/ai-cli",
157
150
  "pluginName": "@memberjunction/ai-cli",
158
151
  "pluginType": "core",
@@ -162,38 +155,45 @@
162
155
  "relativePath": [
163
156
  "dist",
164
157
  "commands",
165
- "actions",
158
+ "agents",
166
159
  "list.js"
167
160
  ]
168
161
  },
169
- "actions:run": {
162
+ "agents:run": {
170
163
  "aliases": [],
171
164
  "args": {},
172
- "description": "Execute individual actions directly",
165
+ "description": "Execute AI agents with custom prompts",
173
166
  "examples": [
174
- "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
175
- "<%= config.bin %> <%= command.id %> -n \"Send Email\" --param \"To=user@example.com\" --param \"Subject=Test\"",
176
- "<%= config.bin %> <%= command.id %> --output=json",
177
- "<%= config.bin %> <%= command.id %> -n \"Calculate\" --param \"Numbers=[1,2,3]\" --verbose"
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"
178
171
  ],
179
172
  "flags": {
180
- "name": {
181
- "char": "n",
182
- "description": "Name of the action to execute",
183
- "name": "name",
173
+ "agent": {
174
+ "char": "a",
175
+ "description": "Name of the AI agent to execute",
176
+ "name": "agent",
184
177
  "required": false,
185
178
  "hasDynamicHelp": false,
186
179
  "multiple": false,
187
180
  "type": "option"
188
181
  },
189
- "param": {
190
- "description": "Action parameter (key=value format, can be used multiple times)",
191
- "name": "param",
192
- "default": [],
182
+ "prompt": {
183
+ "char": "p",
184
+ "description": "Prompt text to send to the agent",
185
+ "name": "prompt",
193
186
  "hasDynamicHelp": false,
194
- "multiple": true,
187
+ "multiple": false,
195
188
  "type": "option"
196
189
  },
190
+ "chat": {
191
+ "char": "c",
192
+ "description": "Start interactive conversation mode",
193
+ "name": "chat",
194
+ "allowNo": false,
195
+ "type": "boolean"
196
+ },
197
197
  "verbose": {
198
198
  "char": "v",
199
199
  "description": "Show detailed execution information",
@@ -231,7 +231,7 @@
231
231
  },
232
232
  "hasDynamicHelp": false,
233
233
  "hiddenAliases": [],
234
- "id": "actions:run",
234
+ "id": "agents:run",
235
235
  "pluginAlias": "@memberjunction/ai-cli",
236
236
  "pluginName": "@memberjunction/ai-cli",
237
237
  "pluginType": "core",
@@ -241,7 +241,7 @@
241
241
  "relativePath": [
242
242
  "dist",
243
243
  "commands",
244
- "actions",
244
+ "agents",
245
245
  "run.js"
246
246
  ]
247
247
  },
@@ -383,5 +383,5 @@
383
383
  ]
384
384
  }
385
385
  },
386
- "version": "2.113.1"
386
+ "version": "2.114.0"
387
387
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ai-cli",
3
- "version": "2.113.1",
3
+ "version": "2.114.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.113.1",
53
- "@memberjunction/ai": "2.113.1",
54
- "@memberjunction/ai-groq": "2.113.1",
55
- "@memberjunction/ai-openai": "2.113.1",
56
- "@memberjunction/ai-cerebras": "2.113.1",
57
- "@memberjunction/ai-anthropic": "2.113.1",
58
- "@memberjunction/ai-betty-bot": "2.113.1",
59
- "@memberjunction/ai-mistral": "2.113.1",
60
- "@memberjunction/ai-agents": "2.113.1",
61
- "@memberjunction/ai-prompts": "2.113.1",
62
- "@memberjunction/core": "2.113.1",
63
- "@memberjunction/core-actions": "2.113.1",
64
- "@memberjunction/core-entities": "2.113.1",
65
- "@memberjunction/core-entities-server": "2.113.1",
66
- "@memberjunction/sqlserver-dataprovider": "2.113.1",
52
+ "@memberjunction/actions": "2.114.0",
53
+ "@memberjunction/ai": "2.114.0",
54
+ "@memberjunction/ai-groq": "2.114.0",
55
+ "@memberjunction/ai-openai": "2.114.0",
56
+ "@memberjunction/ai-cerebras": "2.114.0",
57
+ "@memberjunction/ai-anthropic": "2.114.0",
58
+ "@memberjunction/ai-betty-bot": "2.114.0",
59
+ "@memberjunction/ai-mistral": "2.114.0",
60
+ "@memberjunction/ai-agents": "2.114.0",
61
+ "@memberjunction/ai-prompts": "2.114.0",
62
+ "@memberjunction/core": "2.114.0",
63
+ "@memberjunction/core-actions": "2.114.0",
64
+ "@memberjunction/core-entities": "2.114.0",
65
+ "@memberjunction/core-entities-server": "2.114.0",
66
+ "@memberjunction/sqlserver-dataprovider": "2.114.0",
67
67
  "@oclif/core": "^3",
68
68
  "@oclif/plugin-help": "^6",
69
69
  "@oclif/plugin-version": "^2.0.17",