@memberjunction/cli 6.3.0-edge.1 → 6.3.0-edge.2
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/README.md +1047 -359
- package/dist/baseline/connection.d.ts.map +1 -1
- package/dist/baseline/connection.js +12 -1
- package/dist/baseline/connection.js.map +1 -1
- package/dist/commands/agent/usage.d.ts +7 -0
- package/dist/commands/agent/usage.d.ts.map +1 -0
- package/dist/commands/agent/usage.js +10 -0
- package/dist/commands/agent/usage.js.map +1 -0
- package/dist/commands/codegen/manifest.d.ts +40 -0
- package/dist/commands/codegen/manifest.d.ts.map +1 -1
- package/dist/commands/codegen/manifest.js +124 -3
- package/dist/commands/codegen/manifest.js.map +1 -1
- package/dist/commands/diag/usage.d.ts +7 -0
- package/dist/commands/diag/usage.d.ts.map +1 -0
- package/dist/commands/diag/usage.js +10 -0
- package/dist/commands/diag/usage.js.map +1 -0
- package/dist/commands/doctor/index.d.ts +6 -0
- package/dist/commands/doctor/index.d.ts.map +1 -1
- package/dist/commands/doctor/index.js +42 -0
- package/dist/commands/doctor/index.js.map +1 -1
- package/dist/commands/explorer/postbuild.d.ts +14 -0
- package/dist/commands/explorer/postbuild.d.ts.map +1 -0
- package/dist/commands/explorer/postbuild.js +49 -0
- package/dist/commands/explorer/postbuild.js.map +1 -0
- package/dist/commands/explorer/usage.d.ts +7 -0
- package/dist/commands/explorer/usage.d.ts.map +1 -0
- package/dist/commands/explorer/usage.js +10 -0
- package/dist/commands/explorer/usage.js.map +1 -0
- package/dist/commands/harness/account/add.d.ts +22 -0
- package/dist/commands/harness/account/add.d.ts.map +1 -0
- package/dist/commands/harness/account/add.js +100 -0
- package/dist/commands/harness/account/add.js.map +1 -0
- package/dist/commands/harness/account/clear-cooldown.d.ts +13 -0
- package/dist/commands/harness/account/clear-cooldown.d.ts.map +1 -0
- package/dist/commands/harness/account/clear-cooldown.js +32 -0
- package/dist/commands/harness/account/clear-cooldown.js.map +1 -0
- package/dist/commands/harness/account/disable.d.ts +13 -0
- package/dist/commands/harness/account/disable.d.ts.map +1 -0
- package/dist/commands/harness/account/disable.js +34 -0
- package/dist/commands/harness/account/disable.js.map +1 -0
- package/dist/commands/harness/account/enable.d.ts +13 -0
- package/dist/commands/harness/account/enable.d.ts.map +1 -0
- package/dist/commands/harness/account/enable.js +34 -0
- package/dist/commands/harness/account/enable.js.map +1 -0
- package/dist/commands/harness/account/index.d.ts +7 -0
- package/dist/commands/harness/account/index.d.ts.map +1 -0
- package/dist/commands/harness/account/index.js +23 -0
- package/dist/commands/harness/account/index.js.map +1 -0
- package/dist/commands/harness/account/list.d.ts +15 -0
- package/dist/commands/harness/account/list.d.ts.map +1 -0
- package/dist/commands/harness/account/list.js +58 -0
- package/dist/commands/harness/account/list.js.map +1 -0
- package/dist/commands/harness/account/login.d.ts +16 -0
- package/dist/commands/harness/account/login.d.ts.map +1 -0
- package/dist/commands/harness/account/login.js +50 -0
- package/dist/commands/harness/account/login.js.map +1 -0
- package/dist/commands/harness/account/remove.d.ts +14 -0
- package/dist/commands/harness/account/remove.d.ts.map +1 -0
- package/dist/commands/harness/account/remove.js +43 -0
- package/dist/commands/harness/account/remove.js.map +1 -0
- package/dist/commands/harness/account/set-strategy.d.ts +13 -0
- package/dist/commands/harness/account/set-strategy.d.ts.map +1 -0
- package/dist/commands/harness/account/set-strategy.js +38 -0
- package/dist/commands/harness/account/set-strategy.js.map +1 -0
- package/dist/commands/harness/index.d.ts +7 -0
- package/dist/commands/harness/index.d.ts.map +1 -0
- package/dist/commands/harness/index.js +22 -0
- package/dist/commands/harness/index.js.map +1 -0
- package/dist/commands/harness/usage.d.ts +7 -0
- package/dist/commands/harness/usage.d.ts.map +1 -0
- package/dist/commands/harness/usage.js +10 -0
- package/dist/commands/harness/usage.js.map +1 -0
- package/dist/commands/migrate/convert.d.ts +25 -1
- package/dist/commands/migrate/convert.d.ts.map +1 -1
- package/dist/commands/migrate/convert.js +156 -38
- package/dist/commands/migrate/convert.js.map +1 -1
- package/dist/commands/migrate/index.d.ts +8 -0
- package/dist/commands/migrate/index.d.ts.map +1 -1
- package/dist/commands/migrate/index.js +41 -2
- package/dist/commands/migrate/index.js.map +1 -1
- package/dist/commands/migrate/rebake.d.ts +13 -0
- package/dist/commands/migrate/rebake.d.ts.map +1 -1
- package/dist/commands/migrate/rebake.js +45 -6
- package/dist/commands/migrate/rebake.js.map +1 -1
- package/dist/commands/queue/export-topology.d.ts +2 -0
- package/dist/commands/queue/export-topology.d.ts.map +1 -1
- package/dist/commands/queue/export-topology.js +3 -1
- package/dist/commands/queue/export-topology.js.map +1 -1
- package/dist/commands/queue/import-bindings.d.ts +2 -0
- package/dist/commands/queue/import-bindings.d.ts.map +1 -1
- package/dist/commands/queue/import-bindings.js +3 -1
- package/dist/commands/queue/import-bindings.js.map +1 -1
- package/dist/commands/queue/index.js +1 -1
- package/dist/commands/queue/index.js.map +1 -1
- package/dist/commands/queue/sweep.d.ts +4 -6
- package/dist/commands/queue/sweep.d.ts.map +1 -1
- package/dist/commands/queue/sweep.js +15 -23
- package/dist/commands/queue/sweep.js.map +1 -1
- package/dist/commands/queue/validate-bindings.d.ts +2 -0
- package/dist/commands/queue/validate-bindings.d.ts.map +1 -1
- package/dist/commands/queue/validate-bindings.js +3 -1
- package/dist/commands/queue/validate-bindings.js.map +1 -1
- package/dist/commands/queue/work.d.ts +2 -19
- package/dist/commands/queue/work.d.ts.map +1 -1
- package/dist/commands/queue/work.js +9 -29
- package/dist/commands/queue/work.js.map +1 -1
- package/dist/commands/rubric/usage.d.ts +7 -0
- package/dist/commands/rubric/usage.d.ts.map +1 -0
- package/dist/commands/rubric/usage.js +10 -0
- package/dist/commands/rubric/usage.js.map +1 -0
- package/dist/commands/test/regression/index.d.ts.map +1 -1
- package/dist/commands/test/regression/index.js +2 -0
- package/dist/commands/test/regression/index.js.map +1 -1
- package/dist/commands/test/regression/new.d.ts +21 -0
- package/dist/commands/test/regression/new.d.ts.map +1 -0
- package/dist/commands/test/regression/new.js +82 -0
- package/dist/commands/test/regression/new.js.map +1 -0
- package/dist/commands/test/regression/up.d.ts +1 -0
- package/dist/commands/test/regression/up.d.ts.map +1 -1
- package/dist/commands/test/regression/up.js +17 -0
- package/dist/commands/test/regression/up.js.map +1 -1
- package/dist/commands/test/scripts.d.ts +6 -4
- package/dist/commands/test/scripts.d.ts.map +1 -1
- package/dist/commands/test/scripts.js +14 -0
- package/dist/commands/test/scripts.js.map +1 -1
- package/dist/commands/test/suite.d.ts +1 -0
- package/dist/commands/test/suite.d.ts.map +1 -1
- package/dist/commands/test/suite.js +6 -0
- package/dist/commands/test/suite.js.map +1 -1
- package/dist/commands/usage.js +2 -1
- package/dist/commands/usage.js.map +1 -1
- package/dist/commands/user/usage.d.ts +7 -0
- package/dist/commands/user/usage.d.ts.map +1 -0
- package/dist/commands/user/usage.js +10 -0
- package/dist/commands/user/usage.js.map +1 -0
- package/dist/config.d.ts +119 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +43 -1
- package/dist/config.js.map +1 -1
- package/dist/init-templates/citizen-builder/.env.example +1 -0
- package/dist/init-templates/citizen-builder/docker-compose.yml +2 -0
- package/dist/init-templates/citizen-builder/scripts/docker-entrypoint.sh +2 -1
- package/dist/lib/db-preflight.d.ts.map +1 -1
- package/dist/lib/db-preflight.js +22 -0
- package/dist/lib/db-preflight.js.map +1 -1
- package/dist/lib/derived-usage.d.ts +8 -0
- package/dist/lib/derived-usage.d.ts.map +1 -1
- package/dist/lib/derived-usage.js +30 -20
- package/dist/lib/derived-usage.js.map +1 -1
- package/dist/lib/domain-profiles.d.ts.map +1 -1
- package/dist/lib/domain-profiles.js +24 -0
- package/dist/lib/domain-profiles.js.map +1 -1
- package/dist/lib/domain-usage-command.js +2 -1
- package/dist/lib/domain-usage-command.js.map +1 -1
- package/dist/lib/explorer-postbuild/public-page-html.d.ts +48 -0
- package/dist/lib/explorer-postbuild/public-page-html.d.ts.map +1 -0
- package/dist/lib/explorer-postbuild/public-page-html.js +284 -0
- package/dist/lib/explorer-postbuild/public-page-html.js.map +1 -0
- package/dist/lib/explorer-postbuild/service-worker-check.d.ts +13 -0
- package/dist/lib/explorer-postbuild/service-worker-check.d.ts.map +1 -0
- package/dist/lib/explorer-postbuild/service-worker-check.js +41 -0
- package/dist/lib/explorer-postbuild/service-worker-check.js.map +1 -0
- package/dist/lib/harness-account.d.ts +34 -0
- package/dist/lib/harness-account.d.ts.map +1 -0
- package/dist/lib/harness-account.js +105 -0
- package/dist/lib/harness-account.js.map +1 -0
- package/dist/lib/pg-preflight/checks.d.ts +28 -0
- package/dist/lib/pg-preflight/checks.d.ts.map +1 -0
- package/dist/lib/pg-preflight/checks.js +94 -0
- package/dist/lib/pg-preflight/checks.js.map +1 -0
- package/dist/lib/pg-preflight/extension-check.d.ts +28 -0
- package/dist/lib/pg-preflight/extension-check.d.ts.map +1 -0
- package/dist/lib/pg-preflight/extension-check.js +86 -0
- package/dist/lib/pg-preflight/extension-check.js.map +1 -0
- package/dist/lib/pg-preflight/extension-scan.d.ts +24 -0
- package/dist/lib/pg-preflight/extension-scan.d.ts.map +1 -0
- package/dist/lib/pg-preflight/extension-scan.js +58 -0
- package/dist/lib/pg-preflight/extension-scan.js.map +1 -0
- package/dist/lib/pg-preflight/pending-migrations.d.ts +28 -0
- package/dist/lib/pg-preflight/pending-migrations.d.ts.map +1 -0
- package/dist/lib/pg-preflight/pending-migrations.js +48 -0
- package/dist/lib/pg-preflight/pending-migrations.js.map +1 -0
- package/dist/lib/pg-preflight/preflight.d.ts +18 -0
- package/dist/lib/pg-preflight/preflight.d.ts.map +1 -0
- package/dist/lib/pg-preflight/preflight.js +43 -0
- package/dist/lib/pg-preflight/preflight.js.map +1 -0
- package/dist/lib/pg-preflight/remediation.d.ts +27 -0
- package/dist/lib/pg-preflight/remediation.d.ts.map +1 -0
- package/dist/lib/pg-preflight/remediation.js +82 -0
- package/dist/lib/pg-preflight/remediation.js.map +1 -0
- package/dist/lib/pg-preflight/render.d.ts +15 -0
- package/dist/lib/pg-preflight/render.d.ts.map +1 -0
- package/dist/lib/pg-preflight/render.js +48 -0
- package/dist/lib/pg-preflight/render.js.map +1 -0
- package/dist/lib/pg-preflight/run-for-config.d.ts +23 -0
- package/dist/lib/pg-preflight/run-for-config.d.ts.map +1 -0
- package/dist/lib/pg-preflight/run-for-config.js +45 -0
- package/dist/lib/pg-preflight/run-for-config.js.map +1 -0
- package/dist/lib/pg-preflight/types.d.ts +67 -0
- package/dist/lib/pg-preflight/types.d.ts.map +1 -0
- package/dist/lib/pg-preflight/types.js +8 -0
- package/dist/lib/pg-preflight/types.js.map +1 -0
- package/dist/lib/regression/test-scaffold.d.ts +52 -0
- package/dist/lib/regression/test-scaffold.d.ts.map +1 -0
- package/dist/lib/regression/test-scaffold.js +237 -0
- package/dist/lib/regression/test-scaffold.js.map +1 -0
- package/dist/lib/work-queue/queue-format.d.ts +4 -0
- package/dist/lib/work-queue/queue-format.d.ts.map +1 -1
- package/dist/lib/work-queue/queue-format.js +15 -0
- package/dist/lib/work-queue/queue-format.js.map +1 -1
- package/dist/lib/work-queue/queue-worker.d.ts +16 -1
- package/dist/lib/work-queue/queue-worker.d.ts.map +1 -1
- package/dist/lib/work-queue/queue-worker.js +18 -0
- package/dist/lib/work-queue/queue-worker.js.map +1 -1
- package/dist/light-commands.d.ts.map +1 -1
- package/dist/light-commands.js +34 -0
- package/dist/light-commands.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/open-app-context.d.ts +1 -0
- package/dist/utils/open-app-context.d.ts.map +1 -1
- package/dist/utils/open-app-context.js +7 -2
- package/dist/utils/open-app-context.js.map +1 -1
- package/oclif.manifest.json +2261 -1382
- package/package.json +31 -28
package/oclif.manifest.json
CHANGED
|
@@ -101,32 +101,10 @@
|
|
|
101
101
|
"init.js"
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
|
-
"
|
|
105
|
-
"aliases": [],
|
|
106
|
-
"args": {},
|
|
107
|
-
"description": "Execute AI agents and actions",
|
|
108
|
-
"flags": {},
|
|
109
|
-
"hasDynamicHelp": false,
|
|
110
|
-
"hidden": false,
|
|
111
|
-
"hiddenAliases": [],
|
|
112
|
-
"id": "ai",
|
|
113
|
-
"pluginAlias": "@memberjunction/cli",
|
|
114
|
-
"pluginName": "@memberjunction/cli",
|
|
115
|
-
"pluginType": "core",
|
|
116
|
-
"strict": true,
|
|
117
|
-
"enableJsonFlag": false,
|
|
118
|
-
"isESM": true,
|
|
119
|
-
"relativePath": [
|
|
120
|
-
"dist",
|
|
121
|
-
"commands",
|
|
122
|
-
"ai",
|
|
123
|
-
"index.js"
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
"ai:usage": {
|
|
104
|
+
"agent:usage": {
|
|
127
105
|
"aliases": [],
|
|
128
106
|
"args": {},
|
|
129
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
107
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj agent` command.",
|
|
130
108
|
"flags": {
|
|
131
109
|
"format": {
|
|
132
110
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -143,7 +121,7 @@
|
|
|
143
121
|
},
|
|
144
122
|
"hasDynamicHelp": false,
|
|
145
123
|
"hiddenAliases": [],
|
|
146
|
-
"id": "
|
|
124
|
+
"id": "agent:usage",
|
|
147
125
|
"pluginAlias": "@memberjunction/cli",
|
|
148
126
|
"pluginName": "@memberjunction/cli",
|
|
149
127
|
"pluginType": "core",
|
|
@@ -153,58 +131,19 @@
|
|
|
153
131
|
"relativePath": [
|
|
154
132
|
"dist",
|
|
155
133
|
"commands",
|
|
156
|
-
"
|
|
134
|
+
"agent",
|
|
157
135
|
"usage.js"
|
|
158
136
|
]
|
|
159
137
|
},
|
|
160
|
-
"
|
|
138
|
+
"ai": {
|
|
161
139
|
"aliases": [],
|
|
162
140
|
"args": {},
|
|
163
|
-
"description": "
|
|
164
|
-
"
|
|
165
|
-
"<%= config.bin %> <%= command.id %>",
|
|
166
|
-
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
167
|
-
],
|
|
168
|
-
"flags": {
|
|
169
|
-
"conversation-id": {
|
|
170
|
-
"description": "Scope to artifacts attached to the given conversation.",
|
|
171
|
-
"name": "conversation-id",
|
|
172
|
-
"hasDynamicHelp": false,
|
|
173
|
-
"multiple": false,
|
|
174
|
-
"type": "option"
|
|
175
|
-
},
|
|
176
|
-
"since": {
|
|
177
|
-
"description": "Scope to artifacts created on/after this ISO date.",
|
|
178
|
-
"name": "since",
|
|
179
|
-
"hasDynamicHelp": false,
|
|
180
|
-
"multiple": false,
|
|
181
|
-
"type": "option"
|
|
182
|
-
},
|
|
183
|
-
"limit": {
|
|
184
|
-
"description": "Maximum number of rows to inspect.",
|
|
185
|
-
"name": "limit",
|
|
186
|
-
"default": 100,
|
|
187
|
-
"hasDynamicHelp": false,
|
|
188
|
-
"multiple": false,
|
|
189
|
-
"type": "option"
|
|
190
|
-
},
|
|
191
|
-
"apply": {
|
|
192
|
-
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
193
|
-
"name": "apply",
|
|
194
|
-
"allowNo": false,
|
|
195
|
-
"type": "boolean"
|
|
196
|
-
},
|
|
197
|
-
"verbose": {
|
|
198
|
-
"char": "v",
|
|
199
|
-
"description": "Print every candidate row, not just the summary.",
|
|
200
|
-
"name": "verbose",
|
|
201
|
-
"allowNo": false,
|
|
202
|
-
"type": "boolean"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
141
|
+
"description": "Execute AI agents and actions",
|
|
142
|
+
"flags": {},
|
|
205
143
|
"hasDynamicHelp": false,
|
|
144
|
+
"hidden": false,
|
|
206
145
|
"hiddenAliases": [],
|
|
207
|
-
"id": "
|
|
146
|
+
"id": "ai",
|
|
208
147
|
"pluginAlias": "@memberjunction/cli",
|
|
209
148
|
"pluginName": "@memberjunction/cli",
|
|
210
149
|
"pluginType": "core",
|
|
@@ -214,14 +153,14 @@
|
|
|
214
153
|
"relativePath": [
|
|
215
154
|
"dist",
|
|
216
155
|
"commands",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
156
|
+
"ai",
|
|
157
|
+
"index.js"
|
|
219
158
|
]
|
|
220
159
|
},
|
|
221
|
-
"
|
|
160
|
+
"ai:usage": {
|
|
222
161
|
"aliases": [],
|
|
223
162
|
"args": {},
|
|
224
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
163
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj ai` command.",
|
|
225
164
|
"flags": {
|
|
226
165
|
"format": {
|
|
227
166
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -238,7 +177,7 @@
|
|
|
238
177
|
},
|
|
239
178
|
"hasDynamicHelp": false,
|
|
240
179
|
"hiddenAliases": [],
|
|
241
|
-
"id": "
|
|
180
|
+
"id": "ai:usage",
|
|
242
181
|
"pluginAlias": "@memberjunction/cli",
|
|
243
182
|
"pluginName": "@memberjunction/cli",
|
|
244
183
|
"pluginType": "core",
|
|
@@ -248,7 +187,7 @@
|
|
|
248
187
|
"relativePath": [
|
|
249
188
|
"dist",
|
|
250
189
|
"commands",
|
|
251
|
-
"
|
|
190
|
+
"ai",
|
|
252
191
|
"usage.js"
|
|
253
192
|
]
|
|
254
193
|
},
|
|
@@ -625,6 +564,101 @@
|
|
|
625
564
|
"usage.js"
|
|
626
565
|
]
|
|
627
566
|
},
|
|
567
|
+
"artifacts:reclassify": {
|
|
568
|
+
"aliases": [],
|
|
569
|
+
"args": {},
|
|
570
|
+
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
571
|
+
"examples": [
|
|
572
|
+
"<%= config.bin %> <%= command.id %>",
|
|
573
|
+
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
574
|
+
],
|
|
575
|
+
"flags": {
|
|
576
|
+
"conversation-id": {
|
|
577
|
+
"description": "Scope to artifacts attached to the given conversation.",
|
|
578
|
+
"name": "conversation-id",
|
|
579
|
+
"hasDynamicHelp": false,
|
|
580
|
+
"multiple": false,
|
|
581
|
+
"type": "option"
|
|
582
|
+
},
|
|
583
|
+
"since": {
|
|
584
|
+
"description": "Scope to artifacts created on/after this ISO date.",
|
|
585
|
+
"name": "since",
|
|
586
|
+
"hasDynamicHelp": false,
|
|
587
|
+
"multiple": false,
|
|
588
|
+
"type": "option"
|
|
589
|
+
},
|
|
590
|
+
"limit": {
|
|
591
|
+
"description": "Maximum number of rows to inspect.",
|
|
592
|
+
"name": "limit",
|
|
593
|
+
"default": 100,
|
|
594
|
+
"hasDynamicHelp": false,
|
|
595
|
+
"multiple": false,
|
|
596
|
+
"type": "option"
|
|
597
|
+
},
|
|
598
|
+
"apply": {
|
|
599
|
+
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
600
|
+
"name": "apply",
|
|
601
|
+
"allowNo": false,
|
|
602
|
+
"type": "boolean"
|
|
603
|
+
},
|
|
604
|
+
"verbose": {
|
|
605
|
+
"char": "v",
|
|
606
|
+
"description": "Print every candidate row, not just the summary.",
|
|
607
|
+
"name": "verbose",
|
|
608
|
+
"allowNo": false,
|
|
609
|
+
"type": "boolean"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"hasDynamicHelp": false,
|
|
613
|
+
"hiddenAliases": [],
|
|
614
|
+
"id": "artifacts:reclassify",
|
|
615
|
+
"pluginAlias": "@memberjunction/cli",
|
|
616
|
+
"pluginName": "@memberjunction/cli",
|
|
617
|
+
"pluginType": "core",
|
|
618
|
+
"strict": true,
|
|
619
|
+
"enableJsonFlag": false,
|
|
620
|
+
"isESM": true,
|
|
621
|
+
"relativePath": [
|
|
622
|
+
"dist",
|
|
623
|
+
"commands",
|
|
624
|
+
"artifacts",
|
|
625
|
+
"reclassify.js"
|
|
626
|
+
]
|
|
627
|
+
},
|
|
628
|
+
"artifacts:usage": {
|
|
629
|
+
"aliases": [],
|
|
630
|
+
"args": {},
|
|
631
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj artifacts` command.",
|
|
632
|
+
"flags": {
|
|
633
|
+
"format": {
|
|
634
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
635
|
+
"name": "format",
|
|
636
|
+
"hasDynamicHelp": false,
|
|
637
|
+
"multiple": false,
|
|
638
|
+
"options": [
|
|
639
|
+
"text",
|
|
640
|
+
"json",
|
|
641
|
+
"md"
|
|
642
|
+
],
|
|
643
|
+
"type": "option"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
"hasDynamicHelp": false,
|
|
647
|
+
"hiddenAliases": [],
|
|
648
|
+
"id": "artifacts:usage",
|
|
649
|
+
"pluginAlias": "@memberjunction/cli",
|
|
650
|
+
"pluginName": "@memberjunction/cli",
|
|
651
|
+
"pluginType": "core",
|
|
652
|
+
"strict": true,
|
|
653
|
+
"enableJsonFlag": false,
|
|
654
|
+
"isESM": true,
|
|
655
|
+
"relativePath": [
|
|
656
|
+
"dist",
|
|
657
|
+
"commands",
|
|
658
|
+
"artifacts",
|
|
659
|
+
"usage.js"
|
|
660
|
+
]
|
|
661
|
+
},
|
|
628
662
|
"baseline:build": {
|
|
629
663
|
"aliases": [],
|
|
630
664
|
"args": {},
|
|
@@ -1909,7 +1943,7 @@
|
|
|
1909
1943
|
"type": "boolean"
|
|
1910
1944
|
},
|
|
1911
1945
|
"open-app-client-bootstrap": {
|
|
1912
|
-
"description": "After generating the manifest, append a managed block of side-effect imports — one per Open App client package recorded in mj.config `dynamicPackages.client` — so installed apps' client classes register when the client bundle loads. Used by MJExplorer's prebuild; requires --output.",
|
|
1946
|
+
"description": "After generating the manifest, append a managed block of side-effect imports — one per Open App client package recorded in mj.config `dynamicPackages.client` — so installed apps' client classes register when the client bundle loads. Also writes public-pages.generated.ts beside the manifest, from mj.config `publicPages` (the pages installed Open Apps serve before sign-in). Used by MJExplorer's prebuild; requires --output.",
|
|
1913
1947
|
"name": "open-app-client-bootstrap",
|
|
1914
1948
|
"allowNo": false,
|
|
1915
1949
|
"type": "boolean"
|
|
@@ -2868,6 +2902,40 @@
|
|
|
2868
2902
|
"timeline.js"
|
|
2869
2903
|
]
|
|
2870
2904
|
},
|
|
2905
|
+
"diag:usage": {
|
|
2906
|
+
"aliases": [],
|
|
2907
|
+
"args": {},
|
|
2908
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj diag` command.",
|
|
2909
|
+
"flags": {
|
|
2910
|
+
"format": {
|
|
2911
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
2912
|
+
"name": "format",
|
|
2913
|
+
"hasDynamicHelp": false,
|
|
2914
|
+
"multiple": false,
|
|
2915
|
+
"options": [
|
|
2916
|
+
"text",
|
|
2917
|
+
"json",
|
|
2918
|
+
"md"
|
|
2919
|
+
],
|
|
2920
|
+
"type": "option"
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
"hasDynamicHelp": false,
|
|
2924
|
+
"hiddenAliases": [],
|
|
2925
|
+
"id": "diag:usage",
|
|
2926
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2927
|
+
"pluginName": "@memberjunction/cli",
|
|
2928
|
+
"pluginType": "core",
|
|
2929
|
+
"strict": true,
|
|
2930
|
+
"enableJsonFlag": false,
|
|
2931
|
+
"isESM": true,
|
|
2932
|
+
"relativePath": [
|
|
2933
|
+
"dist",
|
|
2934
|
+
"commands",
|
|
2935
|
+
"diag",
|
|
2936
|
+
"usage.js"
|
|
2937
|
+
]
|
|
2938
|
+
},
|
|
2871
2939
|
"doctor": {
|
|
2872
2940
|
"aliases": [],
|
|
2873
2941
|
"args": {},
|
|
@@ -2879,7 +2947,8 @@
|
|
|
2879
2947
|
"<%= config.bin %> <%= command.id %> --scope ai",
|
|
2880
2948
|
"<%= config.bin %> <%= command.id %> --verbose",
|
|
2881
2949
|
"<%= config.bin %> <%= command.id %> --report",
|
|
2882
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
2950
|
+
"<%= config.bin %> <%= command.id %> --report_extended",
|
|
2951
|
+
"<%= config.bin %> <%= command.id %> --db"
|
|
2883
2952
|
],
|
|
2884
2953
|
"flags": {
|
|
2885
2954
|
"dir": {
|
|
@@ -2940,6 +3009,12 @@
|
|
|
2940
3009
|
"name": "report_extended",
|
|
2941
3010
|
"allowNo": false,
|
|
2942
3011
|
"type": "boolean"
|
|
3012
|
+
},
|
|
3013
|
+
"db": {
|
|
3014
|
+
"description": "Check database readiness for `mj migrate` instead: the connection, and on PostgreSQL the server version, group roles, extensions the pending migrations create, the login's privileges and TLS. Prints the SQL an administrator must run.",
|
|
3015
|
+
"name": "db",
|
|
3016
|
+
"allowNo": false,
|
|
3017
|
+
"type": "boolean"
|
|
2943
3018
|
}
|
|
2944
3019
|
},
|
|
2945
3020
|
"hasDynamicHelp": false,
|
|
@@ -3057,52 +3132,189 @@
|
|
|
3057
3132
|
"value-lists.js"
|
|
3058
3133
|
]
|
|
3059
3134
|
},
|
|
3060
|
-
"
|
|
3135
|
+
"explorer:postbuild": {
|
|
3061
3136
|
"aliases": [],
|
|
3062
3137
|
"args": {},
|
|
3063
|
-
"description": "
|
|
3138
|
+
"description": "Finish MJ Explorer's build. Run it as the host's `postbuild` script.\n\nIt does every step that follows `ng build`, so a new step reaches a host with a CLI update:\n 1. Checks the service worker's cache list.\n 2. Writes one HTML file per public page (public-pages/<slug>.html) from mj.config `publicPages`,\n with the page's title, link preview tags and Content Security Policy. The web host serves the\n file for /p/<slug>. Also writes public-pages/_fallback.html, with the same policy, for the\n /p/ addresses that have no page file.\n 3. When the folder has a staticwebapp.config.json (Azure Static Web Apps), adds a rewrite for\n each page and for the fallback file to it.",
|
|
3064
3139
|
"examples": [
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3140
|
+
{
|
|
3141
|
+
"command": "<%= config.bin %> <%= command.id %> --dir dist/MJExplorer/browser",
|
|
3142
|
+
"description": "Finish the build in the host's folder"
|
|
3143
|
+
}
|
|
3069
3144
|
],
|
|
3070
3145
|
"flags": {
|
|
3071
3146
|
"dir": {
|
|
3072
|
-
"description": "
|
|
3147
|
+
"description": "The site folder: MJ Explorer's build output, with its index.html.",
|
|
3073
3148
|
"name": "dir",
|
|
3074
|
-
"
|
|
3075
|
-
"hasDynamicHelp": false,
|
|
3076
|
-
"multiple": false,
|
|
3077
|
-
"type": "option"
|
|
3078
|
-
},
|
|
3079
|
-
"major": {
|
|
3080
|
-
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
3081
|
-
"name": "major",
|
|
3082
|
-
"hasDynamicHelp": false,
|
|
3083
|
-
"multiple": false,
|
|
3084
|
-
"type": "option"
|
|
3085
|
-
},
|
|
3086
|
-
"ref": {
|
|
3087
|
-
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
3088
|
-
"name": "ref",
|
|
3089
|
-
"hasDynamicHelp": false,
|
|
3090
|
-
"multiple": false,
|
|
3091
|
-
"type": "option"
|
|
3092
|
-
},
|
|
3093
|
-
"from": {
|
|
3094
|
-
"description": "Use a local pack source instead of fetching from GitHub",
|
|
3095
|
-
"name": "from",
|
|
3149
|
+
"required": true,
|
|
3096
3150
|
"hasDynamicHelp": false,
|
|
3097
3151
|
"multiple": false,
|
|
3098
3152
|
"type": "option"
|
|
3099
3153
|
},
|
|
3100
|
-
"
|
|
3101
|
-
"
|
|
3102
|
-
"
|
|
3154
|
+
"quiet": {
|
|
3155
|
+
"char": "q",
|
|
3156
|
+
"description": "Do not print a summary.",
|
|
3157
|
+
"name": "quiet",
|
|
3103
3158
|
"allowNo": false,
|
|
3104
3159
|
"type": "boolean"
|
|
3105
|
-
}
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
"hasDynamicHelp": false,
|
|
3163
|
+
"hiddenAliases": [],
|
|
3164
|
+
"id": "explorer:postbuild",
|
|
3165
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3166
|
+
"pluginName": "@memberjunction/cli",
|
|
3167
|
+
"pluginType": "core",
|
|
3168
|
+
"strict": true,
|
|
3169
|
+
"enableJsonFlag": false,
|
|
3170
|
+
"isESM": true,
|
|
3171
|
+
"relativePath": [
|
|
3172
|
+
"dist",
|
|
3173
|
+
"commands",
|
|
3174
|
+
"explorer",
|
|
3175
|
+
"postbuild.js"
|
|
3176
|
+
]
|
|
3177
|
+
},
|
|
3178
|
+
"explorer:usage": {
|
|
3179
|
+
"aliases": [],
|
|
3180
|
+
"args": {},
|
|
3181
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj explorer` command.",
|
|
3182
|
+
"flags": {
|
|
3183
|
+
"format": {
|
|
3184
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3185
|
+
"name": "format",
|
|
3186
|
+
"hasDynamicHelp": false,
|
|
3187
|
+
"multiple": false,
|
|
3188
|
+
"options": [
|
|
3189
|
+
"text",
|
|
3190
|
+
"json",
|
|
3191
|
+
"md"
|
|
3192
|
+
],
|
|
3193
|
+
"type": "option"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"hasDynamicHelp": false,
|
|
3197
|
+
"hiddenAliases": [],
|
|
3198
|
+
"id": "explorer:usage",
|
|
3199
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3200
|
+
"pluginName": "@memberjunction/cli",
|
|
3201
|
+
"pluginType": "core",
|
|
3202
|
+
"strict": true,
|
|
3203
|
+
"enableJsonFlag": false,
|
|
3204
|
+
"isESM": true,
|
|
3205
|
+
"relativePath": [
|
|
3206
|
+
"dist",
|
|
3207
|
+
"commands",
|
|
3208
|
+
"explorer",
|
|
3209
|
+
"usage.js"
|
|
3210
|
+
]
|
|
3211
|
+
},
|
|
3212
|
+
"harness": {
|
|
3213
|
+
"aliases": [],
|
|
3214
|
+
"args": {},
|
|
3215
|
+
"description": "Manage external agent harness runtime settings and CLI subscription account pools",
|
|
3216
|
+
"examples": [
|
|
3217
|
+
"<%= config.bin %> <%= command.id %> account list",
|
|
3218
|
+
"<%= config.bin %> <%= command.id %> account add claude --label \"Pro #2\"",
|
|
3219
|
+
"<%= config.bin %> <%= command.id %> account set-strategy least-in-flight"
|
|
3220
|
+
],
|
|
3221
|
+
"flags": {},
|
|
3222
|
+
"hasDynamicHelp": false,
|
|
3223
|
+
"hiddenAliases": [],
|
|
3224
|
+
"id": "harness",
|
|
3225
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3226
|
+
"pluginName": "@memberjunction/cli",
|
|
3227
|
+
"pluginType": "core",
|
|
3228
|
+
"strict": true,
|
|
3229
|
+
"enableJsonFlag": false,
|
|
3230
|
+
"isESM": true,
|
|
3231
|
+
"relativePath": [
|
|
3232
|
+
"dist",
|
|
3233
|
+
"commands",
|
|
3234
|
+
"harness",
|
|
3235
|
+
"index.js"
|
|
3236
|
+
]
|
|
3237
|
+
},
|
|
3238
|
+
"harness:usage": {
|
|
3239
|
+
"aliases": [],
|
|
3240
|
+
"args": {},
|
|
3241
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj harness` command.",
|
|
3242
|
+
"flags": {
|
|
3243
|
+
"format": {
|
|
3244
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
3245
|
+
"name": "format",
|
|
3246
|
+
"hasDynamicHelp": false,
|
|
3247
|
+
"multiple": false,
|
|
3248
|
+
"options": [
|
|
3249
|
+
"text",
|
|
3250
|
+
"json",
|
|
3251
|
+
"md"
|
|
3252
|
+
],
|
|
3253
|
+
"type": "option"
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
"hasDynamicHelp": false,
|
|
3257
|
+
"hiddenAliases": [],
|
|
3258
|
+
"id": "harness:usage",
|
|
3259
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3260
|
+
"pluginName": "@memberjunction/cli",
|
|
3261
|
+
"pluginType": "core",
|
|
3262
|
+
"strict": true,
|
|
3263
|
+
"enableJsonFlag": false,
|
|
3264
|
+
"isESM": true,
|
|
3265
|
+
"relativePath": [
|
|
3266
|
+
"dist",
|
|
3267
|
+
"commands",
|
|
3268
|
+
"harness",
|
|
3269
|
+
"usage.js"
|
|
3270
|
+
]
|
|
3271
|
+
},
|
|
3272
|
+
"install:claude": {
|
|
3273
|
+
"aliases": [],
|
|
3274
|
+
"args": {},
|
|
3275
|
+
"description": "Install or refresh the Claude Code pack in the current directory.",
|
|
3276
|
+
"examples": [
|
|
3277
|
+
"<%= config.bin %> install:claude",
|
|
3278
|
+
"<%= config.bin %> install:claude --dry-run",
|
|
3279
|
+
"<%= config.bin %> install:claude --from ./local-pack",
|
|
3280
|
+
"<%= config.bin %> install:claude --json"
|
|
3281
|
+
],
|
|
3282
|
+
"flags": {
|
|
3283
|
+
"dir": {
|
|
3284
|
+
"description": "Target directory for the install",
|
|
3285
|
+
"name": "dir",
|
|
3286
|
+
"default": ".",
|
|
3287
|
+
"hasDynamicHelp": false,
|
|
3288
|
+
"multiple": false,
|
|
3289
|
+
"type": "option"
|
|
3290
|
+
},
|
|
3291
|
+
"major": {
|
|
3292
|
+
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
3293
|
+
"name": "major",
|
|
3294
|
+
"hasDynamicHelp": false,
|
|
3295
|
+
"multiple": false,
|
|
3296
|
+
"type": "option"
|
|
3297
|
+
},
|
|
3298
|
+
"ref": {
|
|
3299
|
+
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
3300
|
+
"name": "ref",
|
|
3301
|
+
"hasDynamicHelp": false,
|
|
3302
|
+
"multiple": false,
|
|
3303
|
+
"type": "option"
|
|
3304
|
+
},
|
|
3305
|
+
"from": {
|
|
3306
|
+
"description": "Use a local pack source instead of fetching from GitHub",
|
|
3307
|
+
"name": "from",
|
|
3308
|
+
"hasDynamicHelp": false,
|
|
3309
|
+
"multiple": false,
|
|
3310
|
+
"type": "option"
|
|
3311
|
+
},
|
|
3312
|
+
"offline": {
|
|
3313
|
+
"description": "Forbid network; requires --from <path>",
|
|
3314
|
+
"name": "offline",
|
|
3315
|
+
"allowNo": false,
|
|
3316
|
+
"type": "boolean"
|
|
3317
|
+
},
|
|
3106
3318
|
"dry-run": {
|
|
3107
3319
|
"description": "Print what would be written; change nothing",
|
|
3108
3320
|
"name": "dry-run",
|
|
@@ -3396,7 +3608,7 @@
|
|
|
3396
3608
|
"type": "boolean"
|
|
3397
3609
|
},
|
|
3398
3610
|
"split": {
|
|
3399
|
-
"description": "Split-and-regenerate (the standard path): transpile only hand-written DDL via the AST dialect; CodeGen objects are regenerated by `mj codegen
|
|
3611
|
+
"description": "Split-and-regenerate (the standard path): transpile only hand-written DDL via the AST dialect; CodeGen objects are regenerated by `mj codegen`; an mj-sync log converts inline (one DO block per save); every conversion gap is surfaced and fails the run unless --allow-gaps.",
|
|
3400
3612
|
"name": "split",
|
|
3401
3613
|
"allowNo": false,
|
|
3402
3614
|
"type": "boolean"
|
|
@@ -3542,6 +3754,12 @@
|
|
|
3542
3754
|
"allowNo": false,
|
|
3543
3755
|
"type": "boolean"
|
|
3544
3756
|
},
|
|
3757
|
+
"skip-preflight": {
|
|
3758
|
+
"description": "PostgreSQL only: skip the database readiness checks (server version, group roles, extensions, privileges, TLS) that run before migrating",
|
|
3759
|
+
"name": "skip-preflight",
|
|
3760
|
+
"allowNo": false,
|
|
3761
|
+
"type": "boolean"
|
|
3762
|
+
},
|
|
3545
3763
|
"skip-cache-clear": {
|
|
3546
3764
|
"description": "Do not clear the shared Redis cache (REDIS_URL) after migrating. Also: MJ_SKIP_SHARED_CACHE_CLEAR=1",
|
|
3547
3765
|
"name": "skip-cache-clear",
|
|
@@ -3571,7 +3789,9 @@
|
|
|
3571
3789
|
"description": "Re-bake the post-baseline PG migration set with inline native CodeGen",
|
|
3572
3790
|
"examples": [
|
|
3573
3791
|
"<%= config.bin %> migrate rebake",
|
|
3574
|
-
"<%= config.bin %> migrate rebake --baseline-floor V202605291452 --dry-run"
|
|
3792
|
+
"<%= config.bin %> migrate rebake --baseline-floor V202605291452 --dry-run",
|
|
3793
|
+
"<%= config.bin %> migrate rebake --write",
|
|
3794
|
+
"<%= config.bin %> migrate rebake --file V202611031700__v0.10.x__Foo.sql --capture-only"
|
|
3575
3795
|
],
|
|
3576
3796
|
"flags": {
|
|
3577
3797
|
"source-dir": {
|
|
@@ -3618,6 +3838,25 @@
|
|
|
3618
3838
|
"name": "dry-run",
|
|
3619
3839
|
"allowNo": false,
|
|
3620
3840
|
"type": "boolean"
|
|
3841
|
+
},
|
|
3842
|
+
"file": {
|
|
3843
|
+
"description": "Re-bake one migration (filename in source-dir), whatever the baseline floor. Writes its counterpart. The committed hand region of a baked file is kept byte for byte; only the CodeGen section is replaced.",
|
|
3844
|
+
"name": "file",
|
|
3845
|
+
"hasDynamicHelp": false,
|
|
3846
|
+
"multiple": false,
|
|
3847
|
+
"type": "option"
|
|
3848
|
+
},
|
|
3849
|
+
"capture-only": {
|
|
3850
|
+
"description": "With --file: do not apply the migration; it is already applied to the working DB (a capture that failed after the apply, or a hand-finished file applied by hand). Capture its CodeGen only.",
|
|
3851
|
+
"name": "capture-only",
|
|
3852
|
+
"allowNo": false,
|
|
3853
|
+
"type": "boolean"
|
|
3854
|
+
},
|
|
3855
|
+
"write": {
|
|
3856
|
+
"description": "Without --file: write the re-baked files. Without it, a full re-bake is a dry run.",
|
|
3857
|
+
"name": "write",
|
|
3858
|
+
"allowNo": false,
|
|
3859
|
+
"type": "boolean"
|
|
3621
3860
|
}
|
|
3622
3861
|
},
|
|
3623
3862
|
"hasDynamicHelp": false,
|
|
@@ -4125,30 +4364,34 @@
|
|
|
4125
4364
|
"validate.js"
|
|
4126
4365
|
]
|
|
4127
4366
|
},
|
|
4128
|
-
"
|
|
4367
|
+
"queue:backlog": {
|
|
4129
4368
|
"aliases": [],
|
|
4130
|
-
"args": {
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
"
|
|
4139
|
-
"
|
|
4369
|
+
"args": {},
|
|
4370
|
+
"description": "Show the autoscaler metric for one subscription: claimable pending plus in-flight deliveries",
|
|
4371
|
+
"examples": [
|
|
4372
|
+
"<%= config.bin %> <%= command.id %> --subscription venue-import",
|
|
4373
|
+
"<%= config.bin %> <%= command.id %> --subscription venue-import --json"
|
|
4374
|
+
],
|
|
4375
|
+
"flags": {
|
|
4376
|
+
"subscription": {
|
|
4377
|
+
"char": "s",
|
|
4378
|
+
"description": "Subscription name",
|
|
4379
|
+
"name": "subscription",
|
|
4380
|
+
"required": true,
|
|
4381
|
+
"hasDynamicHelp": false,
|
|
4382
|
+
"multiple": false,
|
|
4383
|
+
"type": "option"
|
|
4140
4384
|
},
|
|
4141
|
-
"
|
|
4142
|
-
"description": "
|
|
4143
|
-
"name": "
|
|
4144
|
-
"
|
|
4385
|
+
"json": {
|
|
4386
|
+
"description": "Print JSON instead of text",
|
|
4387
|
+
"name": "json",
|
|
4388
|
+
"allowNo": false,
|
|
4389
|
+
"type": "boolean"
|
|
4145
4390
|
}
|
|
4146
4391
|
},
|
|
4147
|
-
"description": "Print the version bump between two rubric versions.",
|
|
4148
|
-
"flags": {},
|
|
4149
4392
|
"hasDynamicHelp": false,
|
|
4150
4393
|
"hiddenAliases": [],
|
|
4151
|
-
"id": "
|
|
4394
|
+
"id": "queue:backlog",
|
|
4152
4395
|
"pluginAlias": "@memberjunction/cli",
|
|
4153
4396
|
"pluginName": "@memberjunction/cli",
|
|
4154
4397
|
"pluginType": "core",
|
|
@@ -4158,76 +4401,52 @@
|
|
|
4158
4401
|
"relativePath": [
|
|
4159
4402
|
"dist",
|
|
4160
4403
|
"commands",
|
|
4161
|
-
"
|
|
4162
|
-
"
|
|
4404
|
+
"queue",
|
|
4405
|
+
"backlog.js"
|
|
4163
4406
|
]
|
|
4164
4407
|
},
|
|
4165
|
-
"
|
|
4408
|
+
"queue:dead-letters": {
|
|
4166
4409
|
"aliases": [],
|
|
4167
4410
|
"args": {},
|
|
4168
|
-
"description": "
|
|
4411
|
+
"description": "List a work-queue subscription's dead-lettered deliveries",
|
|
4412
|
+
"examples": [
|
|
4413
|
+
"<%= config.bin %> <%= command.id %> --subscription integration.apply --page-size 20"
|
|
4414
|
+
],
|
|
4169
4415
|
"flags": {
|
|
4170
|
-
"
|
|
4171
|
-
"
|
|
4172
|
-
"
|
|
4173
|
-
"
|
|
4174
|
-
"hasDynamicHelp": false,
|
|
4175
|
-
"multiple": false,
|
|
4176
|
-
"type": "option"
|
|
4177
|
-
},
|
|
4178
|
-
"entity": {
|
|
4179
|
-
"description": "Subject entity name",
|
|
4180
|
-
"name": "entity",
|
|
4181
|
-
"required": true,
|
|
4182
|
-
"hasDynamicHelp": false,
|
|
4183
|
-
"multiple": false,
|
|
4184
|
-
"type": "option"
|
|
4185
|
-
},
|
|
4186
|
-
"record": {
|
|
4187
|
-
"description": "Subject record id",
|
|
4188
|
-
"name": "record",
|
|
4416
|
+
"subscription": {
|
|
4417
|
+
"char": "s",
|
|
4418
|
+
"description": "Subscription name",
|
|
4419
|
+
"name": "subscription",
|
|
4189
4420
|
"required": true,
|
|
4190
4421
|
"hasDynamicHelp": false,
|
|
4191
4422
|
"multiple": false,
|
|
4192
4423
|
"type": "option"
|
|
4193
4424
|
},
|
|
4194
|
-
"
|
|
4195
|
-
"description": "
|
|
4196
|
-
"name": "
|
|
4197
|
-
"default": "LLM",
|
|
4198
|
-
"hasDynamicHelp": false,
|
|
4199
|
-
"multiple": false,
|
|
4200
|
-
"type": "option"
|
|
4201
|
-
},
|
|
4202
|
-
"prompt": {
|
|
4203
|
-
"description": "LLM: the judge prompt composed into Rubric Evaluator (default Rubric Evaluator - Default Judge). Decision: the decision prompt (default Default Decision)",
|
|
4204
|
-
"name": "prompt",
|
|
4425
|
+
"cursor": {
|
|
4426
|
+
"description": "nextCursor from a previous page",
|
|
4427
|
+
"name": "cursor",
|
|
4205
4428
|
"hasDynamicHelp": false,
|
|
4206
4429
|
"multiple": false,
|
|
4207
4430
|
"type": "option"
|
|
4208
4431
|
},
|
|
4209
|
-
"
|
|
4210
|
-
"description": "
|
|
4211
|
-
"name": "
|
|
4432
|
+
"page-size": {
|
|
4433
|
+
"description": "Items per page (1–500)",
|
|
4434
|
+
"name": "page-size",
|
|
4435
|
+
"default": 50,
|
|
4212
4436
|
"hasDynamicHelp": false,
|
|
4213
4437
|
"multiple": false,
|
|
4214
4438
|
"type": "option"
|
|
4215
4439
|
},
|
|
4216
|
-
"
|
|
4217
|
-
"description": "
|
|
4218
|
-
"name": "
|
|
4219
|
-
"
|
|
4220
|
-
"
|
|
4221
|
-
"options": [
|
|
4222
|
-
"SinglePass",
|
|
4223
|
-
"PerCriterion"
|
|
4224
|
-
],
|
|
4225
|
-
"type": "option"
|
|
4440
|
+
"json": {
|
|
4441
|
+
"description": "Print JSON instead of a table",
|
|
4442
|
+
"name": "json",
|
|
4443
|
+
"allowNo": false,
|
|
4444
|
+
"type": "boolean"
|
|
4226
4445
|
}
|
|
4227
4446
|
},
|
|
4228
4447
|
"hasDynamicHelp": false,
|
|
4229
4448
|
"hiddenAliases": [],
|
|
4230
|
-
"id": "
|
|
4449
|
+
"id": "queue:dead-letters",
|
|
4231
4450
|
"pluginAlias": "@memberjunction/cli",
|
|
4232
4451
|
"pluginName": "@memberjunction/cli",
|
|
4233
4452
|
"pluginType": "core",
|
|
@@ -4237,18 +4456,49 @@
|
|
|
4237
4456
|
"relativePath": [
|
|
4238
4457
|
"dist",
|
|
4239
4458
|
"commands",
|
|
4240
|
-
"
|
|
4241
|
-
"
|
|
4459
|
+
"queue",
|
|
4460
|
+
"dead-letters.js"
|
|
4242
4461
|
]
|
|
4243
4462
|
},
|
|
4244
|
-
"
|
|
4463
|
+
"queue:discard": {
|
|
4245
4464
|
"aliases": [],
|
|
4246
4465
|
"args": {},
|
|
4247
|
-
"description": "
|
|
4248
|
-
"
|
|
4466
|
+
"description": "Discard one pending or dead-lettered work-queue delivery, or cancel one that is in flight",
|
|
4467
|
+
"examples": [
|
|
4468
|
+
"<%= config.bin %> <%= command.id %> --subscription integration.apply --delivery <id> --reason \"bad batch, republished\""
|
|
4469
|
+
],
|
|
4470
|
+
"flags": {
|
|
4471
|
+
"subscription": {
|
|
4472
|
+
"char": "s",
|
|
4473
|
+
"description": "Subscription name",
|
|
4474
|
+
"name": "subscription",
|
|
4475
|
+
"required": true,
|
|
4476
|
+
"hasDynamicHelp": false,
|
|
4477
|
+
"multiple": false,
|
|
4478
|
+
"type": "option"
|
|
4479
|
+
},
|
|
4480
|
+
"delivery": {
|
|
4481
|
+
"char": "d",
|
|
4482
|
+
"description": "DeliveryID to discard",
|
|
4483
|
+
"name": "delivery",
|
|
4484
|
+
"required": true,
|
|
4485
|
+
"hasDynamicHelp": false,
|
|
4486
|
+
"multiple": false,
|
|
4487
|
+
"type": "option"
|
|
4488
|
+
},
|
|
4489
|
+
"reason": {
|
|
4490
|
+
"char": "r",
|
|
4491
|
+
"description": "Why the work is dropped (at most 1000 characters)",
|
|
4492
|
+
"name": "reason",
|
|
4493
|
+
"required": true,
|
|
4494
|
+
"hasDynamicHelp": false,
|
|
4495
|
+
"multiple": false,
|
|
4496
|
+
"type": "option"
|
|
4497
|
+
}
|
|
4498
|
+
},
|
|
4249
4499
|
"hasDynamicHelp": false,
|
|
4250
4500
|
"hiddenAliases": [],
|
|
4251
|
-
"id": "
|
|
4501
|
+
"id": "queue:discard",
|
|
4252
4502
|
"pluginAlias": "@memberjunction/cli",
|
|
4253
4503
|
"pluginName": "@memberjunction/cli",
|
|
4254
4504
|
"pluginType": "core",
|
|
@@ -4258,18 +4508,39 @@
|
|
|
4258
4508
|
"relativePath": [
|
|
4259
4509
|
"dist",
|
|
4260
4510
|
"commands",
|
|
4261
|
-
"
|
|
4262
|
-
"
|
|
4511
|
+
"queue",
|
|
4512
|
+
"discard.js"
|
|
4263
4513
|
]
|
|
4264
4514
|
},
|
|
4265
|
-
"
|
|
4515
|
+
"queue:export-topology": {
|
|
4266
4516
|
"aliases": [],
|
|
4267
4517
|
"args": {},
|
|
4268
|
-
"description": "
|
|
4269
|
-
"
|
|
4518
|
+
"description": "Write the topology manifest for one transport (input to the Terraform module)",
|
|
4519
|
+
"examples": [
|
|
4520
|
+
"<%= config.bin %> <%= command.id %> --transport AWS-prod --output infrastructure/work-queue/manifest.json"
|
|
4521
|
+
],
|
|
4522
|
+
"flags": {
|
|
4523
|
+
"transport": {
|
|
4524
|
+
"char": "t",
|
|
4525
|
+
"description": "Transport name",
|
|
4526
|
+
"name": "transport",
|
|
4527
|
+
"required": true,
|
|
4528
|
+
"hasDynamicHelp": false,
|
|
4529
|
+
"multiple": false,
|
|
4530
|
+
"type": "option"
|
|
4531
|
+
},
|
|
4532
|
+
"output": {
|
|
4533
|
+
"char": "o",
|
|
4534
|
+
"description": "File to write; stdout when omitted",
|
|
4535
|
+
"name": "output",
|
|
4536
|
+
"hasDynamicHelp": false,
|
|
4537
|
+
"multiple": false,
|
|
4538
|
+
"type": "option"
|
|
4539
|
+
}
|
|
4540
|
+
},
|
|
4270
4541
|
"hasDynamicHelp": false,
|
|
4271
4542
|
"hiddenAliases": [],
|
|
4272
|
-
"id": "
|
|
4543
|
+
"id": "queue:export-topology",
|
|
4273
4544
|
"pluginAlias": "@memberjunction/cli",
|
|
4274
4545
|
"pluginName": "@memberjunction/cli",
|
|
4275
4546
|
"pluginType": "core",
|
|
@@ -4279,24 +4550,34 @@
|
|
|
4279
4550
|
"relativePath": [
|
|
4280
4551
|
"dist",
|
|
4281
4552
|
"commands",
|
|
4282
|
-
"
|
|
4283
|
-
"
|
|
4553
|
+
"queue",
|
|
4554
|
+
"export-topology.js"
|
|
4284
4555
|
]
|
|
4285
4556
|
},
|
|
4286
|
-
"
|
|
4557
|
+
"queue:import-bindings": {
|
|
4287
4558
|
"aliases": [],
|
|
4288
4559
|
"args": {
|
|
4289
|
-
"
|
|
4290
|
-
"description": "
|
|
4291
|
-
"name": "
|
|
4560
|
+
"file": {
|
|
4561
|
+
"description": "BindingImport JSON file",
|
|
4562
|
+
"name": "file",
|
|
4292
4563
|
"required": true
|
|
4293
4564
|
}
|
|
4294
4565
|
},
|
|
4295
|
-
"description": "
|
|
4296
|
-
"
|
|
4566
|
+
"description": "Record cloud resource bindings (Terraform output) on work-queue topics and subscriptions",
|
|
4567
|
+
"examples": [
|
|
4568
|
+
"terraform output -json mj_work_queue_bindings > bindings.json && <%= config.bin %> <%= command.id %> bindings.json"
|
|
4569
|
+
],
|
|
4570
|
+
"flags": {
|
|
4571
|
+
"json": {
|
|
4572
|
+
"description": "Print issues as JSON",
|
|
4573
|
+
"name": "json",
|
|
4574
|
+
"allowNo": false,
|
|
4575
|
+
"type": "boolean"
|
|
4576
|
+
}
|
|
4577
|
+
},
|
|
4297
4578
|
"hasDynamicHelp": false,
|
|
4298
4579
|
"hiddenAliases": [],
|
|
4299
|
-
"id": "
|
|
4580
|
+
"id": "queue:import-bindings",
|
|
4300
4581
|
"pluginAlias": "@memberjunction/cli",
|
|
4301
4582
|
"pluginName": "@memberjunction/cli",
|
|
4302
4583
|
"pluginType": "core",
|
|
@@ -4306,24 +4587,23 @@
|
|
|
4306
4587
|
"relativePath": [
|
|
4307
4588
|
"dist",
|
|
4308
4589
|
"commands",
|
|
4309
|
-
"
|
|
4310
|
-
"
|
|
4590
|
+
"queue",
|
|
4591
|
+
"import-bindings.js"
|
|
4311
4592
|
]
|
|
4312
4593
|
},
|
|
4313
|
-
"
|
|
4594
|
+
"queue": {
|
|
4314
4595
|
"aliases": [],
|
|
4315
|
-
"args": {
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
"description": "Check a rubric snapshot file for duplicate keys, gates, weights, and scales.",
|
|
4596
|
+
"args": {},
|
|
4597
|
+
"description": "Operate the durable work queue",
|
|
4598
|
+
"examples": [
|
|
4599
|
+
"<%= config.bin %> <%= command.id %> publish --topic samples.hello --payload '{\"name\":\"Paul\"}'",
|
|
4600
|
+
"<%= config.bin %> <%= command.id %> stats",
|
|
4601
|
+
"<%= config.bin %> <%= command.id %> dead-letters --subscription email.unsubscribe"
|
|
4602
|
+
],
|
|
4323
4603
|
"flags": {},
|
|
4324
4604
|
"hasDynamicHelp": false,
|
|
4325
4605
|
"hiddenAliases": [],
|
|
4326
|
-
"id": "
|
|
4606
|
+
"id": "queue",
|
|
4327
4607
|
"pluginAlias": "@memberjunction/cli",
|
|
4328
4608
|
"pluginName": "@memberjunction/cli",
|
|
4329
4609
|
"pluginType": "core",
|
|
@@ -4333,64 +4613,64 @@
|
|
|
4333
4613
|
"relativePath": [
|
|
4334
4614
|
"dist",
|
|
4335
4615
|
"commands",
|
|
4336
|
-
"
|
|
4337
|
-
"
|
|
4616
|
+
"queue",
|
|
4617
|
+
"index.js"
|
|
4338
4618
|
]
|
|
4339
4619
|
},
|
|
4340
|
-
"
|
|
4620
|
+
"queue:partitions": {
|
|
4341
4621
|
"aliases": [],
|
|
4342
4622
|
"args": {},
|
|
4343
|
-
"description": "
|
|
4623
|
+
"description": "List a work-queue subscription's in-flight or blocked partition keys",
|
|
4344
4624
|
"examples": [
|
|
4345
|
-
"<%= config.bin %>
|
|
4346
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
4347
|
-
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
4625
|
+
"<%= config.bin %> <%= command.id %> --subscription integration.apply --condition Blocked"
|
|
4348
4626
|
],
|
|
4349
4627
|
"flags": {
|
|
4350
|
-
"
|
|
4351
|
-
"
|
|
4352
|
-
"
|
|
4628
|
+
"subscription": {
|
|
4629
|
+
"char": "s",
|
|
4630
|
+
"description": "Subscription name",
|
|
4631
|
+
"name": "subscription",
|
|
4353
4632
|
"required": true,
|
|
4354
4633
|
"hasDynamicHelp": false,
|
|
4355
4634
|
"multiple": false,
|
|
4356
4635
|
"type": "option"
|
|
4357
4636
|
},
|
|
4358
|
-
"
|
|
4359
|
-
"description": "
|
|
4360
|
-
"name": "
|
|
4361
|
-
"required": true,
|
|
4637
|
+
"condition": {
|
|
4638
|
+
"description": "Only keys in this condition",
|
|
4639
|
+
"name": "condition",
|
|
4362
4640
|
"hasDynamicHelp": false,
|
|
4363
4641
|
"multiple": false,
|
|
4642
|
+
"options": [
|
|
4643
|
+
"Idle",
|
|
4644
|
+
"InFlight",
|
|
4645
|
+
"Blocked"
|
|
4646
|
+
],
|
|
4364
4647
|
"type": "option"
|
|
4365
4648
|
},
|
|
4366
|
-
"
|
|
4367
|
-
"description": "
|
|
4368
|
-
"name": "
|
|
4369
|
-
"default": "__mj",
|
|
4649
|
+
"cursor": {
|
|
4650
|
+
"description": "nextCursor from a previous page",
|
|
4651
|
+
"name": "cursor",
|
|
4370
4652
|
"hasDynamicHelp": false,
|
|
4371
4653
|
"multiple": false,
|
|
4372
4654
|
"type": "option"
|
|
4373
4655
|
},
|
|
4374
|
-
"
|
|
4375
|
-
"description": "
|
|
4376
|
-
"name": "
|
|
4377
|
-
"default":
|
|
4656
|
+
"page-size": {
|
|
4657
|
+
"description": "Items per page (1–500)",
|
|
4658
|
+
"name": "page-size",
|
|
4659
|
+
"default": 50,
|
|
4378
4660
|
"hasDynamicHelp": false,
|
|
4379
4661
|
"multiple": false,
|
|
4380
4662
|
"type": "option"
|
|
4381
4663
|
},
|
|
4382
|
-
"
|
|
4383
|
-
"
|
|
4384
|
-
"
|
|
4385
|
-
"
|
|
4386
|
-
"
|
|
4387
|
-
"multiple": false,
|
|
4388
|
-
"type": "option"
|
|
4664
|
+
"json": {
|
|
4665
|
+
"description": "Print JSON instead of a table",
|
|
4666
|
+
"name": "json",
|
|
4667
|
+
"allowNo": false,
|
|
4668
|
+
"type": "boolean"
|
|
4389
4669
|
}
|
|
4390
4670
|
},
|
|
4391
4671
|
"hasDynamicHelp": false,
|
|
4392
4672
|
"hiddenAliases": [],
|
|
4393
|
-
"id": "
|
|
4673
|
+
"id": "queue:partitions",
|
|
4394
4674
|
"pluginAlias": "@memberjunction/cli",
|
|
4395
4675
|
"pluginName": "@memberjunction/cli",
|
|
4396
4676
|
"pluginType": "core",
|
|
@@ -4400,116 +4680,80 @@
|
|
|
4400
4680
|
"relativePath": [
|
|
4401
4681
|
"dist",
|
|
4402
4682
|
"commands",
|
|
4403
|
-
"
|
|
4404
|
-
"
|
|
4683
|
+
"queue",
|
|
4684
|
+
"partitions.js"
|
|
4405
4685
|
]
|
|
4406
4686
|
},
|
|
4407
|
-
"
|
|
4687
|
+
"queue:publish": {
|
|
4408
4688
|
"aliases": [],
|
|
4409
4689
|
"args": {},
|
|
4410
|
-
"description": "
|
|
4690
|
+
"description": "Publish messages to a work-queue topic from this machine through MJ code (no API key needed)",
|
|
4691
|
+
"examples": [
|
|
4692
|
+
"<%= config.bin %> <%= command.id %> --topic samples.hello --payload '{\"name\":\"Paul\"}'",
|
|
4693
|
+
"<%= config.bin %> <%= command.id %> --topic samples.hello --payload '{\"sleepMs\":60000}' --partition-key customer-42",
|
|
4694
|
+
"<%= config.bin %> <%= command.id %> --topic samples.hello --count 5 --partition-key k1 --attribute source=demo"
|
|
4695
|
+
],
|
|
4411
4696
|
"flags": {
|
|
4412
|
-
"
|
|
4413
|
-
"
|
|
4414
|
-
"
|
|
4697
|
+
"topic": {
|
|
4698
|
+
"char": "t",
|
|
4699
|
+
"description": "Topic name",
|
|
4700
|
+
"name": "topic",
|
|
4701
|
+
"required": true,
|
|
4415
4702
|
"hasDynamicHelp": false,
|
|
4416
4703
|
"multiple": false,
|
|
4417
|
-
"options": [
|
|
4418
|
-
"text",
|
|
4419
|
-
"json",
|
|
4420
|
-
"md"
|
|
4421
|
-
],
|
|
4422
4704
|
"type": "option"
|
|
4423
|
-
}
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
"pluginName": "@memberjunction/cli",
|
|
4430
|
-
"pluginType": "core",
|
|
4431
|
-
"strict": true,
|
|
4432
|
-
"enableJsonFlag": false,
|
|
4433
|
-
"isESM": true,
|
|
4434
|
-
"relativePath": [
|
|
4435
|
-
"dist",
|
|
4436
|
-
"commands",
|
|
4437
|
-
"sql-audit",
|
|
4438
|
-
"usage.js"
|
|
4439
|
-
]
|
|
4440
|
-
},
|
|
4441
|
-
"sql-convert": {
|
|
4442
|
-
"aliases": [],
|
|
4443
|
-
"args": {
|
|
4444
|
-
"source": {
|
|
4445
|
-
"description": "Source SQL file path",
|
|
4446
|
-
"name": "source",
|
|
4447
|
-
"required": true
|
|
4448
|
-
}
|
|
4449
|
-
},
|
|
4450
|
-
"description": "Convert SQL files between database dialects using rule-based BatchConverter engine",
|
|
4451
|
-
"examples": [
|
|
4452
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres",
|
|
4453
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --output converted.sql",
|
|
4454
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --schema my_schema",
|
|
4455
|
-
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --no-header --verbose"
|
|
4456
|
-
],
|
|
4457
|
-
"flags": {
|
|
4458
|
-
"from": {
|
|
4459
|
-
"description": "Source SQL dialect",
|
|
4460
|
-
"name": "from",
|
|
4461
|
-
"required": true,
|
|
4705
|
+
},
|
|
4706
|
+
"payload": {
|
|
4707
|
+
"char": "p",
|
|
4708
|
+
"description": "Message payload as JSON",
|
|
4709
|
+
"name": "payload",
|
|
4710
|
+
"default": "{}",
|
|
4462
4711
|
"hasDynamicHelp": false,
|
|
4463
4712
|
"multiple": false,
|
|
4464
4713
|
"type": "option"
|
|
4465
4714
|
},
|
|
4466
|
-
"
|
|
4467
|
-
"
|
|
4468
|
-
"
|
|
4469
|
-
"
|
|
4715
|
+
"partition-key": {
|
|
4716
|
+
"char": "k",
|
|
4717
|
+
"description": "PartitionKey for Exclusive / Ordered subscriptions",
|
|
4718
|
+
"name": "partition-key",
|
|
4470
4719
|
"hasDynamicHelp": false,
|
|
4471
4720
|
"multiple": false,
|
|
4472
4721
|
"type": "option"
|
|
4473
4722
|
},
|
|
4474
|
-
"
|
|
4475
|
-
"
|
|
4476
|
-
"
|
|
4477
|
-
"name": "output",
|
|
4723
|
+
"dedup-key": {
|
|
4724
|
+
"description": "DeduplicationKey: a repeat within the topic TTL is reported as Duplicate",
|
|
4725
|
+
"name": "dedup-key",
|
|
4478
4726
|
"hasDynamicHelp": false,
|
|
4479
4727
|
"multiple": false,
|
|
4480
4728
|
"type": "option"
|
|
4481
4729
|
},
|
|
4482
|
-
"
|
|
4483
|
-
"
|
|
4484
|
-
"
|
|
4485
|
-
"
|
|
4730
|
+
"attribute": {
|
|
4731
|
+
"char": "a",
|
|
4732
|
+
"description": "Message attribute as key=value (repeatable)",
|
|
4733
|
+
"name": "attribute",
|
|
4486
4734
|
"hasDynamicHelp": false,
|
|
4487
|
-
"multiple":
|
|
4735
|
+
"multiple": true,
|
|
4488
4736
|
"type": "option"
|
|
4489
4737
|
},
|
|
4490
|
-
"
|
|
4491
|
-
"
|
|
4492
|
-
"
|
|
4493
|
-
"
|
|
4494
|
-
"
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
"
|
|
4498
|
-
"name": "no-post-process",
|
|
4499
|
-
"allowNo": false,
|
|
4500
|
-
"type": "boolean"
|
|
4738
|
+
"count": {
|
|
4739
|
+
"char": "n",
|
|
4740
|
+
"description": "How many copies to publish in one batch",
|
|
4741
|
+
"name": "count",
|
|
4742
|
+
"default": 1,
|
|
4743
|
+
"hasDynamicHelp": false,
|
|
4744
|
+
"multiple": false,
|
|
4745
|
+
"type": "option"
|
|
4501
4746
|
},
|
|
4502
|
-
"
|
|
4503
|
-
"
|
|
4504
|
-
"
|
|
4505
|
-
"name": "verbose",
|
|
4747
|
+
"json": {
|
|
4748
|
+
"description": "Print the publish results as JSON",
|
|
4749
|
+
"name": "json",
|
|
4506
4750
|
"allowNo": false,
|
|
4507
4751
|
"type": "boolean"
|
|
4508
4752
|
}
|
|
4509
4753
|
},
|
|
4510
4754
|
"hasDynamicHelp": false,
|
|
4511
4755
|
"hiddenAliases": [],
|
|
4512
|
-
"id": "
|
|
4756
|
+
"id": "queue:publish",
|
|
4513
4757
|
"pluginAlias": "@memberjunction/cli",
|
|
4514
4758
|
"pluginName": "@memberjunction/cli",
|
|
4515
4759
|
"pluginType": "core",
|
|
@@ -4519,31 +4763,47 @@
|
|
|
4519
4763
|
"relativePath": [
|
|
4520
4764
|
"dist",
|
|
4521
4765
|
"commands",
|
|
4522
|
-
"
|
|
4523
|
-
"
|
|
4766
|
+
"queue",
|
|
4767
|
+
"publish.js"
|
|
4524
4768
|
]
|
|
4525
4769
|
},
|
|
4526
|
-
"
|
|
4770
|
+
"queue:replay": {
|
|
4527
4771
|
"aliases": [],
|
|
4528
4772
|
"args": {},
|
|
4529
|
-
"description": "
|
|
4773
|
+
"description": "Replay one dead-lettered work-queue delivery",
|
|
4774
|
+
"examples": [
|
|
4775
|
+
"<%= config.bin %> <%= command.id %> --subscription integration.apply --delivery <id> --note \"mapping fixed\""
|
|
4776
|
+
],
|
|
4530
4777
|
"flags": {
|
|
4531
|
-
"
|
|
4532
|
-
"
|
|
4533
|
-
"
|
|
4778
|
+
"subscription": {
|
|
4779
|
+
"char": "s",
|
|
4780
|
+
"description": "Subscription name",
|
|
4781
|
+
"name": "subscription",
|
|
4782
|
+
"required": true,
|
|
4783
|
+
"hasDynamicHelp": false,
|
|
4784
|
+
"multiple": false,
|
|
4785
|
+
"type": "option"
|
|
4786
|
+
},
|
|
4787
|
+
"delivery": {
|
|
4788
|
+
"char": "d",
|
|
4789
|
+
"description": "DeliveryID from `mj queue dead-letters`",
|
|
4790
|
+
"name": "delivery",
|
|
4791
|
+
"required": true,
|
|
4792
|
+
"hasDynamicHelp": false,
|
|
4793
|
+
"multiple": false,
|
|
4794
|
+
"type": "option"
|
|
4795
|
+
},
|
|
4796
|
+
"note": {
|
|
4797
|
+
"description": "Operator note stored with the resolution",
|
|
4798
|
+
"name": "note",
|
|
4534
4799
|
"hasDynamicHelp": false,
|
|
4535
4800
|
"multiple": false,
|
|
4536
|
-
"options": [
|
|
4537
|
-
"text",
|
|
4538
|
-
"json",
|
|
4539
|
-
"md"
|
|
4540
|
-
],
|
|
4541
4801
|
"type": "option"
|
|
4542
4802
|
}
|
|
4543
4803
|
},
|
|
4544
4804
|
"hasDynamicHelp": false,
|
|
4545
4805
|
"hiddenAliases": [],
|
|
4546
|
-
"id": "
|
|
4806
|
+
"id": "queue:replay",
|
|
4547
4807
|
"pluginAlias": "@memberjunction/cli",
|
|
4548
4808
|
"pluginName": "@memberjunction/cli",
|
|
4549
4809
|
"pluginType": "core",
|
|
@@ -4553,30 +4813,29 @@
|
|
|
4553
4813
|
"relativePath": [
|
|
4554
4814
|
"dist",
|
|
4555
4815
|
"commands",
|
|
4556
|
-
"
|
|
4557
|
-
"
|
|
4816
|
+
"queue",
|
|
4817
|
+
"replay.js"
|
|
4558
4818
|
]
|
|
4559
4819
|
},
|
|
4560
|
-
"queue:
|
|
4820
|
+
"queue:stats": {
|
|
4561
4821
|
"aliases": [],
|
|
4562
4822
|
"args": {},
|
|
4563
|
-
"description": "Show
|
|
4823
|
+
"description": "Show pending, in-flight and dead-lettered counts for work-queue subscriptions",
|
|
4564
4824
|
"examples": [
|
|
4565
|
-
"<%= config.bin %> <%= command.id %>
|
|
4566
|
-
"<%= config.bin %> <%= command.id %> --subscription
|
|
4825
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4826
|
+
"<%= config.bin %> <%= command.id %> --subscription email.unsubscribe --json"
|
|
4567
4827
|
],
|
|
4568
4828
|
"flags": {
|
|
4569
4829
|
"subscription": {
|
|
4570
4830
|
"char": "s",
|
|
4571
|
-
"description": "Subscription name",
|
|
4831
|
+
"description": "Subscription name; omit for every subscription",
|
|
4572
4832
|
"name": "subscription",
|
|
4573
|
-
"required": true,
|
|
4574
4833
|
"hasDynamicHelp": false,
|
|
4575
4834
|
"multiple": false,
|
|
4576
4835
|
"type": "option"
|
|
4577
4836
|
},
|
|
4578
4837
|
"json": {
|
|
4579
|
-
"description": "Print JSON instead of
|
|
4838
|
+
"description": "Print JSON instead of a table",
|
|
4580
4839
|
"name": "json",
|
|
4581
4840
|
"allowNo": false,
|
|
4582
4841
|
"type": "boolean"
|
|
@@ -4584,7 +4843,7 @@
|
|
|
4584
4843
|
},
|
|
4585
4844
|
"hasDynamicHelp": false,
|
|
4586
4845
|
"hiddenAliases": [],
|
|
4587
|
-
"id": "queue:
|
|
4846
|
+
"id": "queue:stats",
|
|
4588
4847
|
"pluginAlias": "@memberjunction/cli",
|
|
4589
4848
|
"pluginName": "@memberjunction/cli",
|
|
4590
4849
|
"pluginType": "core",
|
|
@@ -4595,43 +4854,20 @@
|
|
|
4595
4854
|
"dist",
|
|
4596
4855
|
"commands",
|
|
4597
4856
|
"queue",
|
|
4598
|
-
"
|
|
4857
|
+
"stats.js"
|
|
4599
4858
|
]
|
|
4600
4859
|
},
|
|
4601
|
-
"queue:
|
|
4860
|
+
"queue:sweep": {
|
|
4602
4861
|
"aliases": [],
|
|
4603
4862
|
"args": {},
|
|
4604
|
-
"description": "
|
|
4863
|
+
"description": "Run one sweeper pass: expire leases, purge retention and the deduplication ledger, then exit (exit code 1 when a step fails)",
|
|
4605
4864
|
"examples": [
|
|
4606
|
-
"<%= config.bin %> <%= command.id %>
|
|
4865
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4866
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
4607
4867
|
],
|
|
4608
4868
|
"flags": {
|
|
4609
|
-
"subscription": {
|
|
4610
|
-
"char": "s",
|
|
4611
|
-
"description": "Subscription name",
|
|
4612
|
-
"name": "subscription",
|
|
4613
|
-
"required": true,
|
|
4614
|
-
"hasDynamicHelp": false,
|
|
4615
|
-
"multiple": false,
|
|
4616
|
-
"type": "option"
|
|
4617
|
-
},
|
|
4618
|
-
"cursor": {
|
|
4619
|
-
"description": "nextCursor from a previous page",
|
|
4620
|
-
"name": "cursor",
|
|
4621
|
-
"hasDynamicHelp": false,
|
|
4622
|
-
"multiple": false,
|
|
4623
|
-
"type": "option"
|
|
4624
|
-
},
|
|
4625
|
-
"page-size": {
|
|
4626
|
-
"description": "Items per page (1–500)",
|
|
4627
|
-
"name": "page-size",
|
|
4628
|
-
"default": 50,
|
|
4629
|
-
"hasDynamicHelp": false,
|
|
4630
|
-
"multiple": false,
|
|
4631
|
-
"type": "option"
|
|
4632
|
-
},
|
|
4633
4869
|
"json": {
|
|
4634
|
-
"description": "Print JSON instead of
|
|
4870
|
+
"description": "Print JSON instead of text",
|
|
4635
4871
|
"name": "json",
|
|
4636
4872
|
"allowNo": false,
|
|
4637
4873
|
"type": "boolean"
|
|
@@ -4639,7 +4875,7 @@
|
|
|
4639
4875
|
},
|
|
4640
4876
|
"hasDynamicHelp": false,
|
|
4641
4877
|
"hiddenAliases": [],
|
|
4642
|
-
"id": "queue:
|
|
4878
|
+
"id": "queue:sweep",
|
|
4643
4879
|
"pluginAlias": "@memberjunction/cli",
|
|
4644
4880
|
"pluginName": "@memberjunction/cli",
|
|
4645
4881
|
"pluginType": "core",
|
|
@@ -4650,48 +4886,30 @@
|
|
|
4650
4886
|
"dist",
|
|
4651
4887
|
"commands",
|
|
4652
4888
|
"queue",
|
|
4653
|
-
"
|
|
4889
|
+
"sweep.js"
|
|
4654
4890
|
]
|
|
4655
4891
|
},
|
|
4656
|
-
"queue:
|
|
4892
|
+
"queue:usage": {
|
|
4657
4893
|
"aliases": [],
|
|
4658
4894
|
"args": {},
|
|
4659
|
-
"description": "
|
|
4660
|
-
"examples": [
|
|
4661
|
-
"<%= config.bin %> <%= command.id %> --subscription integration.apply --delivery <id> --reason \"bad batch, republished\""
|
|
4662
|
-
],
|
|
4895
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj queue` command.",
|
|
4663
4896
|
"flags": {
|
|
4664
|
-
"
|
|
4665
|
-
"
|
|
4666
|
-
"
|
|
4667
|
-
"name": "subscription",
|
|
4668
|
-
"required": true,
|
|
4669
|
-
"hasDynamicHelp": false,
|
|
4670
|
-
"multiple": false,
|
|
4671
|
-
"type": "option"
|
|
4672
|
-
},
|
|
4673
|
-
"delivery": {
|
|
4674
|
-
"char": "d",
|
|
4675
|
-
"description": "DeliveryID to discard",
|
|
4676
|
-
"name": "delivery",
|
|
4677
|
-
"required": true,
|
|
4678
|
-
"hasDynamicHelp": false,
|
|
4679
|
-
"multiple": false,
|
|
4680
|
-
"type": "option"
|
|
4681
|
-
},
|
|
4682
|
-
"reason": {
|
|
4683
|
-
"char": "r",
|
|
4684
|
-
"description": "Why the work is dropped (at most 1000 characters)",
|
|
4685
|
-
"name": "reason",
|
|
4686
|
-
"required": true,
|
|
4897
|
+
"format": {
|
|
4898
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4899
|
+
"name": "format",
|
|
4687
4900
|
"hasDynamicHelp": false,
|
|
4688
4901
|
"multiple": false,
|
|
4902
|
+
"options": [
|
|
4903
|
+
"text",
|
|
4904
|
+
"json",
|
|
4905
|
+
"md"
|
|
4906
|
+
],
|
|
4689
4907
|
"type": "option"
|
|
4690
4908
|
}
|
|
4691
4909
|
},
|
|
4692
4910
|
"hasDynamicHelp": false,
|
|
4693
4911
|
"hiddenAliases": [],
|
|
4694
|
-
"id": "queue:
|
|
4912
|
+
"id": "queue:usage",
|
|
4695
4913
|
"pluginAlias": "@memberjunction/cli",
|
|
4696
4914
|
"pluginName": "@memberjunction/cli",
|
|
4697
4915
|
"pluginType": "core",
|
|
@@ -4702,38 +4920,36 @@
|
|
|
4702
4920
|
"dist",
|
|
4703
4921
|
"commands",
|
|
4704
4922
|
"queue",
|
|
4705
|
-
"
|
|
4923
|
+
"usage.js"
|
|
4706
4924
|
]
|
|
4707
4925
|
},
|
|
4708
|
-
"queue:
|
|
4926
|
+
"queue:validate-bindings": {
|
|
4709
4927
|
"aliases": [],
|
|
4710
4928
|
"args": {},
|
|
4711
|
-
"description": "
|
|
4929
|
+
"description": "Validate work-queue topology and cloud bindings; exits 1 on any error",
|
|
4712
4930
|
"examples": [
|
|
4713
|
-
"<%= config.bin %> <%= command.id %>
|
|
4931
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4932
|
+
"<%= config.bin %> <%= command.id %> --transport AWS-prod"
|
|
4714
4933
|
],
|
|
4715
4934
|
"flags": {
|
|
4716
4935
|
"transport": {
|
|
4717
4936
|
"char": "t",
|
|
4718
|
-
"description": "
|
|
4937
|
+
"description": "Validate one transport's bindings against its resources",
|
|
4719
4938
|
"name": "transport",
|
|
4720
|
-
"required": true,
|
|
4721
4939
|
"hasDynamicHelp": false,
|
|
4722
4940
|
"multiple": false,
|
|
4723
4941
|
"type": "option"
|
|
4724
4942
|
},
|
|
4725
|
-
"
|
|
4726
|
-
"
|
|
4727
|
-
"
|
|
4728
|
-
"
|
|
4729
|
-
"
|
|
4730
|
-
"multiple": false,
|
|
4731
|
-
"type": "option"
|
|
4943
|
+
"json": {
|
|
4944
|
+
"description": "Print issues as JSON",
|
|
4945
|
+
"name": "json",
|
|
4946
|
+
"allowNo": false,
|
|
4947
|
+
"type": "boolean"
|
|
4732
4948
|
}
|
|
4733
4949
|
},
|
|
4734
4950
|
"hasDynamicHelp": false,
|
|
4735
4951
|
"hiddenAliases": [],
|
|
4736
|
-
"id": "queue:
|
|
4952
|
+
"id": "queue:validate-bindings",
|
|
4737
4953
|
"pluginAlias": "@memberjunction/cli",
|
|
4738
4954
|
"pluginName": "@memberjunction/cli",
|
|
4739
4955
|
"pluginType": "core",
|
|
@@ -4744,126 +4960,100 @@
|
|
|
4744
4960
|
"dist",
|
|
4745
4961
|
"commands",
|
|
4746
4962
|
"queue",
|
|
4747
|
-
"
|
|
4963
|
+
"validate-bindings.js"
|
|
4748
4964
|
]
|
|
4749
4965
|
},
|
|
4750
|
-
"queue:
|
|
4966
|
+
"queue:work": {
|
|
4751
4967
|
"aliases": [],
|
|
4752
|
-
"args": {
|
|
4753
|
-
|
|
4754
|
-
"description": "BindingImport JSON file",
|
|
4755
|
-
"name": "file",
|
|
4756
|
-
"required": true
|
|
4757
|
-
}
|
|
4758
|
-
},
|
|
4759
|
-
"description": "Record cloud resource bindings (Terraform output) on work-queue topics and subscriptions",
|
|
4968
|
+
"args": {},
|
|
4969
|
+
"description": "Run work-queue subscriptions in this process: once for a container job, or until stopped",
|
|
4760
4970
|
"examples": [
|
|
4761
|
-
"
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
"json": {
|
|
4765
|
-
"description": "Print issues as JSON",
|
|
4766
|
-
"name": "json",
|
|
4767
|
-
"allowNo": false,
|
|
4768
|
-
"type": "boolean"
|
|
4769
|
-
}
|
|
4770
|
-
},
|
|
4771
|
-
"hasDynamicHelp": false,
|
|
4772
|
-
"hiddenAliases": [],
|
|
4773
|
-
"id": "queue:import-bindings",
|
|
4774
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4775
|
-
"pluginName": "@memberjunction/cli",
|
|
4776
|
-
"pluginType": "core",
|
|
4777
|
-
"strict": true,
|
|
4778
|
-
"enableJsonFlag": false,
|
|
4779
|
-
"isESM": true,
|
|
4780
|
-
"relativePath": [
|
|
4781
|
-
"dist",
|
|
4782
|
-
"commands",
|
|
4783
|
-
"queue",
|
|
4784
|
-
"import-bindings.js"
|
|
4785
|
-
]
|
|
4786
|
-
},
|
|
4787
|
-
"queue": {
|
|
4788
|
-
"aliases": [],
|
|
4789
|
-
"args": {},
|
|
4790
|
-
"description": "Operate the durable work queue",
|
|
4791
|
-
"examples": [
|
|
4792
|
-
"<%= config.bin %> <%= command.id %> publish --topic samples.hello --payload '{\"name\":\"Paul\"}'",
|
|
4793
|
-
"<%= config.bin %> <%= command.id %> stats",
|
|
4794
|
-
"<%= config.bin %> <%= command.id %> dead-letters --subscription email.unsubscribe"
|
|
4795
|
-
],
|
|
4796
|
-
"flags": {},
|
|
4797
|
-
"hasDynamicHelp": false,
|
|
4798
|
-
"hiddenAliases": [],
|
|
4799
|
-
"id": "queue",
|
|
4800
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4801
|
-
"pluginName": "@memberjunction/cli",
|
|
4802
|
-
"pluginType": "core",
|
|
4803
|
-
"strict": true,
|
|
4804
|
-
"enableJsonFlag": false,
|
|
4805
|
-
"isESM": true,
|
|
4806
|
-
"relativePath": [
|
|
4807
|
-
"dist",
|
|
4808
|
-
"commands",
|
|
4809
|
-
"queue",
|
|
4810
|
-
"index.js"
|
|
4811
|
-
]
|
|
4812
|
-
},
|
|
4813
|
-
"queue:partitions": {
|
|
4814
|
-
"aliases": [],
|
|
4815
|
-
"args": {},
|
|
4816
|
-
"description": "List a work-queue subscription's in-flight or blocked partition keys",
|
|
4817
|
-
"examples": [
|
|
4818
|
-
"<%= config.bin %> <%= command.id %> --subscription integration.apply --condition Blocked"
|
|
4971
|
+
"<%= config.bin %> <%= command.id %> --subscription venue-import --once",
|
|
4972
|
+
"<%= config.bin %> <%= command.id %> --subscription venue-import --once --max 5 --concurrency 2 --max-duration-ms 3300000",
|
|
4973
|
+
"<%= config.bin %> <%= command.id %> --subscription \"*\""
|
|
4819
4974
|
],
|
|
4820
4975
|
"flags": {
|
|
4821
4976
|
"subscription": {
|
|
4822
4977
|
"char": "s",
|
|
4823
|
-
"description": "Subscription name",
|
|
4978
|
+
"description": "Subscription name, or '*' for every MJWorker subscription",
|
|
4824
4979
|
"name": "subscription",
|
|
4825
4980
|
"required": true,
|
|
4826
4981
|
"hasDynamicHelp": false,
|
|
4827
4982
|
"multiple": false,
|
|
4828
4983
|
"type": "option"
|
|
4829
4984
|
},
|
|
4830
|
-
"
|
|
4831
|
-
"description": "
|
|
4832
|
-
"name": "
|
|
4985
|
+
"once": {
|
|
4986
|
+
"description": "Receive up to --max deliveries, drain and exit (container-job mode)",
|
|
4987
|
+
"name": "once",
|
|
4988
|
+
"allowNo": false,
|
|
4989
|
+
"type": "boolean"
|
|
4990
|
+
},
|
|
4991
|
+
"max": {
|
|
4992
|
+
"dependsOn": [
|
|
4993
|
+
"once"
|
|
4994
|
+
],
|
|
4995
|
+
"description": "With --once: how many deliveries to receive",
|
|
4996
|
+
"name": "max",
|
|
4997
|
+
"default": 1,
|
|
4833
4998
|
"hasDynamicHelp": false,
|
|
4834
4999
|
"multiple": false,
|
|
4835
|
-
"
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
5000
|
+
"type": "option"
|
|
5001
|
+
},
|
|
5002
|
+
"idle-exit-ms": {
|
|
5003
|
+
"dependsOn": [
|
|
5004
|
+
"once"
|
|
4839
5005
|
],
|
|
5006
|
+
"description": "With --once: exit after this long with an empty queue",
|
|
5007
|
+
"name": "idle-exit-ms",
|
|
5008
|
+
"default": 5000,
|
|
5009
|
+
"hasDynamicHelp": false,
|
|
5010
|
+
"multiple": false,
|
|
4840
5011
|
"type": "option"
|
|
4841
5012
|
},
|
|
4842
|
-
"
|
|
4843
|
-
"
|
|
4844
|
-
|
|
5013
|
+
"max-duration-ms": {
|
|
5014
|
+
"dependsOn": [
|
|
5015
|
+
"once"
|
|
5016
|
+
],
|
|
5017
|
+
"description": "With --once: stop claiming after this long and drain (keep it below the scheduler's job deadline)",
|
|
5018
|
+
"name": "max-duration-ms",
|
|
4845
5019
|
"hasDynamicHelp": false,
|
|
4846
5020
|
"multiple": false,
|
|
4847
5021
|
"type": "option"
|
|
4848
5022
|
},
|
|
4849
|
-
"
|
|
4850
|
-
"description": "
|
|
4851
|
-
"name": "
|
|
4852
|
-
"default":
|
|
5023
|
+
"concurrency": {
|
|
5024
|
+
"description": "Handlers in flight per subscription",
|
|
5025
|
+
"name": "concurrency",
|
|
5026
|
+
"default": 1,
|
|
4853
5027
|
"hasDynamicHelp": false,
|
|
4854
5028
|
"multiple": false,
|
|
4855
5029
|
"type": "option"
|
|
4856
5030
|
},
|
|
4857
|
-
"
|
|
4858
|
-
"description": "
|
|
4859
|
-
"name": "
|
|
4860
|
-
"
|
|
4861
|
-
"
|
|
5031
|
+
"shutdown-drain-ms": {
|
|
5032
|
+
"description": "How long in-flight handlers get to finish on exit; the drain can take twice this",
|
|
5033
|
+
"name": "shutdown-drain-ms",
|
|
5034
|
+
"default": 30000,
|
|
5035
|
+
"hasDynamicHelp": false,
|
|
5036
|
+
"multiple": false,
|
|
5037
|
+
"type": "option"
|
|
5038
|
+
},
|
|
5039
|
+
"sweeper-interval-ms": {
|
|
5040
|
+
"description": "Lease expiry and retention purge interval; 0 disables. Default 60000 long-running, 0 with --once",
|
|
5041
|
+
"name": "sweeper-interval-ms",
|
|
5042
|
+
"hasDynamicHelp": false,
|
|
5043
|
+
"multiple": false,
|
|
5044
|
+
"type": "option"
|
|
5045
|
+
},
|
|
5046
|
+
"reconcile-interval-ms": {
|
|
5047
|
+
"description": "Re-planning interval; 0 plans only at start. Default 30000 long-running, 0 with --once",
|
|
5048
|
+
"name": "reconcile-interval-ms",
|
|
5049
|
+
"hasDynamicHelp": false,
|
|
5050
|
+
"multiple": false,
|
|
5051
|
+
"type": "option"
|
|
4862
5052
|
}
|
|
4863
5053
|
},
|
|
4864
5054
|
"hasDynamicHelp": false,
|
|
4865
5055
|
"hiddenAliases": [],
|
|
4866
|
-
"id": "queue:
|
|
5056
|
+
"id": "queue:work",
|
|
4867
5057
|
"pluginAlias": "@memberjunction/cli",
|
|
4868
5058
|
"pluginName": "@memberjunction/cli",
|
|
4869
5059
|
"pluginType": "core",
|
|
@@ -4874,79 +5064,112 @@
|
|
|
4874
5064
|
"dist",
|
|
4875
5065
|
"commands",
|
|
4876
5066
|
"queue",
|
|
4877
|
-
"
|
|
5067
|
+
"work.js"
|
|
4878
5068
|
]
|
|
4879
5069
|
},
|
|
4880
|
-
"
|
|
5070
|
+
"rubric:diff": {
|
|
5071
|
+
"aliases": [],
|
|
5072
|
+
"args": {
|
|
5073
|
+
"rubric": {
|
|
5074
|
+
"description": "Rubric name or id",
|
|
5075
|
+
"name": "rubric",
|
|
5076
|
+
"required": true
|
|
5077
|
+
},
|
|
5078
|
+
"from": {
|
|
5079
|
+
"description": "Version 1.2.0 or id",
|
|
5080
|
+
"name": "from",
|
|
5081
|
+
"required": true
|
|
5082
|
+
},
|
|
5083
|
+
"to": {
|
|
5084
|
+
"description": "Version 1.2.0 or id",
|
|
5085
|
+
"name": "to",
|
|
5086
|
+
"required": true
|
|
5087
|
+
}
|
|
5088
|
+
},
|
|
5089
|
+
"description": "Print the version bump between two rubric versions.",
|
|
5090
|
+
"flags": {},
|
|
5091
|
+
"hasDynamicHelp": false,
|
|
5092
|
+
"hiddenAliases": [],
|
|
5093
|
+
"id": "rubric:diff",
|
|
5094
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5095
|
+
"pluginName": "@memberjunction/cli",
|
|
5096
|
+
"pluginType": "core",
|
|
5097
|
+
"strict": true,
|
|
5098
|
+
"enableJsonFlag": false,
|
|
5099
|
+
"isESM": true,
|
|
5100
|
+
"relativePath": [
|
|
5101
|
+
"dist",
|
|
5102
|
+
"commands",
|
|
5103
|
+
"rubric",
|
|
5104
|
+
"diff.js"
|
|
5105
|
+
]
|
|
5106
|
+
},
|
|
5107
|
+
"rubric:evaluate": {
|
|
4881
5108
|
"aliases": [],
|
|
4882
5109
|
"args": {},
|
|
4883
|
-
"description": "
|
|
4884
|
-
"examples": [
|
|
4885
|
-
"<%= config.bin %> <%= command.id %> --topic samples.hello --payload '{\"name\":\"Paul\"}'",
|
|
4886
|
-
"<%= config.bin %> <%= command.id %> --topic samples.hello --payload '{\"sleepMs\":60000}' --partition-key customer-42",
|
|
4887
|
-
"<%= config.bin %> <%= command.id %> --topic samples.hello --count 5 --partition-key k1 --attribute source=demo"
|
|
4888
|
-
],
|
|
5110
|
+
"description": "Evaluate one record against a rubric. Does not publish.",
|
|
4889
5111
|
"flags": {
|
|
4890
|
-
"
|
|
4891
|
-
"
|
|
4892
|
-
"
|
|
4893
|
-
"name": "topic",
|
|
5112
|
+
"rubric": {
|
|
5113
|
+
"description": "Rubric name or id, optionally @version",
|
|
5114
|
+
"name": "rubric",
|
|
4894
5115
|
"required": true,
|
|
4895
5116
|
"hasDynamicHelp": false,
|
|
4896
5117
|
"multiple": false,
|
|
4897
5118
|
"type": "option"
|
|
4898
5119
|
},
|
|
4899
|
-
"
|
|
4900
|
-
"
|
|
4901
|
-
"
|
|
4902
|
-
"
|
|
4903
|
-
"default": "{}",
|
|
5120
|
+
"entity": {
|
|
5121
|
+
"description": "Subject entity name",
|
|
5122
|
+
"name": "entity",
|
|
5123
|
+
"required": true,
|
|
4904
5124
|
"hasDynamicHelp": false,
|
|
4905
5125
|
"multiple": false,
|
|
4906
5126
|
"type": "option"
|
|
4907
5127
|
},
|
|
4908
|
-
"
|
|
4909
|
-
"
|
|
4910
|
-
"
|
|
4911
|
-
"
|
|
5128
|
+
"record": {
|
|
5129
|
+
"description": "Subject record id",
|
|
5130
|
+
"name": "record",
|
|
5131
|
+
"required": true,
|
|
4912
5132
|
"hasDynamicHelp": false,
|
|
4913
5133
|
"multiple": false,
|
|
4914
5134
|
"type": "option"
|
|
4915
5135
|
},
|
|
4916
|
-
"
|
|
4917
|
-
"description": "
|
|
4918
|
-
"name": "
|
|
5136
|
+
"evaluator": {
|
|
5137
|
+
"description": "A registered evaluator: LLM, Decision, Agent, Deterministic, or a custom one",
|
|
5138
|
+
"name": "evaluator",
|
|
5139
|
+
"default": "LLM",
|
|
4919
5140
|
"hasDynamicHelp": false,
|
|
4920
5141
|
"multiple": false,
|
|
4921
5142
|
"type": "option"
|
|
4922
5143
|
},
|
|
4923
|
-
"
|
|
4924
|
-
"
|
|
4925
|
-
"
|
|
4926
|
-
"name": "attribute",
|
|
5144
|
+
"prompt": {
|
|
5145
|
+
"description": "LLM: the judge prompt composed into Rubric Evaluator (default Rubric Evaluator - Default Judge). Decision: the decision prompt (default Default Decision)",
|
|
5146
|
+
"name": "prompt",
|
|
4927
5147
|
"hasDynamicHelp": false,
|
|
4928
|
-
"multiple":
|
|
5148
|
+
"multiple": false,
|
|
4929
5149
|
"type": "option"
|
|
4930
5150
|
},
|
|
4931
|
-
"
|
|
4932
|
-
"
|
|
4933
|
-
"
|
|
4934
|
-
"name": "count",
|
|
4935
|
-
"default": 1,
|
|
5151
|
+
"model": {
|
|
5152
|
+
"description": "AI Model ID to pin. Otherwise the prompt's bindings choose",
|
|
5153
|
+
"name": "model",
|
|
4936
5154
|
"hasDynamicHelp": false,
|
|
4937
5155
|
"multiple": false,
|
|
4938
5156
|
"type": "option"
|
|
4939
5157
|
},
|
|
4940
|
-
"
|
|
4941
|
-
"description": "
|
|
4942
|
-
"name": "
|
|
4943
|
-
"
|
|
4944
|
-
"
|
|
5158
|
+
"mode": {
|
|
5159
|
+
"description": "LLM only: SinglePass or PerCriterion",
|
|
5160
|
+
"name": "mode",
|
|
5161
|
+
"hasDynamicHelp": false,
|
|
5162
|
+
"multiple": false,
|
|
5163
|
+
"options": [
|
|
5164
|
+
"SinglePass",
|
|
5165
|
+
"PerCriterion"
|
|
5166
|
+
],
|
|
5167
|
+
"type": "option"
|
|
4945
5168
|
}
|
|
4946
5169
|
},
|
|
4947
5170
|
"hasDynamicHelp": false,
|
|
4948
5171
|
"hiddenAliases": [],
|
|
4949
|
-
"id": "
|
|
5172
|
+
"id": "rubric:evaluate",
|
|
4950
5173
|
"pluginAlias": "@memberjunction/cli",
|
|
4951
5174
|
"pluginName": "@memberjunction/cli",
|
|
4952
5175
|
"pluginType": "core",
|
|
@@ -4956,47 +5179,18 @@
|
|
|
4956
5179
|
"relativePath": [
|
|
4957
5180
|
"dist",
|
|
4958
5181
|
"commands",
|
|
4959
|
-
"
|
|
4960
|
-
"
|
|
5182
|
+
"rubric",
|
|
5183
|
+
"evaluate.js"
|
|
4961
5184
|
]
|
|
4962
5185
|
},
|
|
4963
|
-
"
|
|
5186
|
+
"rubric": {
|
|
4964
5187
|
"aliases": [],
|
|
4965
5188
|
"args": {},
|
|
4966
|
-
"description": "
|
|
4967
|
-
"
|
|
4968
|
-
"<%= config.bin %> <%= command.id %> --subscription integration.apply --delivery <id> --note \"mapping fixed\""
|
|
4969
|
-
],
|
|
4970
|
-
"flags": {
|
|
4971
|
-
"subscription": {
|
|
4972
|
-
"char": "s",
|
|
4973
|
-
"description": "Subscription name",
|
|
4974
|
-
"name": "subscription",
|
|
4975
|
-
"required": true,
|
|
4976
|
-
"hasDynamicHelp": false,
|
|
4977
|
-
"multiple": false,
|
|
4978
|
-
"type": "option"
|
|
4979
|
-
},
|
|
4980
|
-
"delivery": {
|
|
4981
|
-
"char": "d",
|
|
4982
|
-
"description": "DeliveryID from `mj queue dead-letters`",
|
|
4983
|
-
"name": "delivery",
|
|
4984
|
-
"required": true,
|
|
4985
|
-
"hasDynamicHelp": false,
|
|
4986
|
-
"multiple": false,
|
|
4987
|
-
"type": "option"
|
|
4988
|
-
},
|
|
4989
|
-
"note": {
|
|
4990
|
-
"description": "Operator note stored with the resolution",
|
|
4991
|
-
"name": "note",
|
|
4992
|
-
"hasDynamicHelp": false,
|
|
4993
|
-
"multiple": false,
|
|
4994
|
-
"type": "option"
|
|
4995
|
-
}
|
|
4996
|
-
},
|
|
5189
|
+
"description": "List, show, diff, validate, and evaluate rubrics.",
|
|
5190
|
+
"flags": {},
|
|
4997
5191
|
"hasDynamicHelp": false,
|
|
4998
5192
|
"hiddenAliases": [],
|
|
4999
|
-
"id": "
|
|
5193
|
+
"id": "rubric",
|
|
5000
5194
|
"pluginAlias": "@memberjunction/cli",
|
|
5001
5195
|
"pluginName": "@memberjunction/cli",
|
|
5002
5196
|
"pluginType": "core",
|
|
@@ -5006,37 +5200,18 @@
|
|
|
5006
5200
|
"relativePath": [
|
|
5007
5201
|
"dist",
|
|
5008
5202
|
"commands",
|
|
5009
|
-
"
|
|
5010
|
-
"
|
|
5203
|
+
"rubric",
|
|
5204
|
+
"index.js"
|
|
5011
5205
|
]
|
|
5012
5206
|
},
|
|
5013
|
-
"
|
|
5207
|
+
"rubric:list": {
|
|
5014
5208
|
"aliases": [],
|
|
5015
5209
|
"args": {},
|
|
5016
|
-
"description": "
|
|
5017
|
-
"
|
|
5018
|
-
"<%= config.bin %> <%= command.id %>",
|
|
5019
|
-
"<%= config.bin %> <%= command.id %> --subscription email.unsubscribe --json"
|
|
5020
|
-
],
|
|
5021
|
-
"flags": {
|
|
5022
|
-
"subscription": {
|
|
5023
|
-
"char": "s",
|
|
5024
|
-
"description": "Subscription name; omit for every subscription",
|
|
5025
|
-
"name": "subscription",
|
|
5026
|
-
"hasDynamicHelp": false,
|
|
5027
|
-
"multiple": false,
|
|
5028
|
-
"type": "option"
|
|
5029
|
-
},
|
|
5030
|
-
"json": {
|
|
5031
|
-
"description": "Print JSON instead of a table",
|
|
5032
|
-
"name": "json",
|
|
5033
|
-
"allowNo": false,
|
|
5034
|
-
"type": "boolean"
|
|
5035
|
-
}
|
|
5036
|
-
},
|
|
5210
|
+
"description": "List rubrics.",
|
|
5211
|
+
"flags": {},
|
|
5037
5212
|
"hasDynamicHelp": false,
|
|
5038
5213
|
"hiddenAliases": [],
|
|
5039
|
-
"id": "
|
|
5214
|
+
"id": "rubric:list",
|
|
5040
5215
|
"pluginAlias": "@memberjunction/cli",
|
|
5041
5216
|
"pluginName": "@memberjunction/cli",
|
|
5042
5217
|
"pluginType": "core",
|
|
@@ -5046,21 +5221,24 @@
|
|
|
5046
5221
|
"relativePath": [
|
|
5047
5222
|
"dist",
|
|
5048
5223
|
"commands",
|
|
5049
|
-
"
|
|
5050
|
-
"
|
|
5224
|
+
"rubric",
|
|
5225
|
+
"list.js"
|
|
5051
5226
|
]
|
|
5052
5227
|
},
|
|
5053
|
-
"
|
|
5228
|
+
"rubric:show": {
|
|
5054
5229
|
"aliases": [],
|
|
5055
|
-
"args": {
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5230
|
+
"args": {
|
|
5231
|
+
"rubric": {
|
|
5232
|
+
"description": "Rubric name or id, optionally @version",
|
|
5233
|
+
"name": "rubric",
|
|
5234
|
+
"required": true
|
|
5235
|
+
}
|
|
5236
|
+
},
|
|
5237
|
+
"description": "Show a rubric version and its criteria.",
|
|
5060
5238
|
"flags": {},
|
|
5061
5239
|
"hasDynamicHelp": false,
|
|
5062
5240
|
"hiddenAliases": [],
|
|
5063
|
-
"id": "
|
|
5241
|
+
"id": "rubric:show",
|
|
5064
5242
|
"pluginAlias": "@memberjunction/cli",
|
|
5065
5243
|
"pluginName": "@memberjunction/cli",
|
|
5066
5244
|
"pluginType": "core",
|
|
@@ -5070,14 +5248,14 @@
|
|
|
5070
5248
|
"relativePath": [
|
|
5071
5249
|
"dist",
|
|
5072
5250
|
"commands",
|
|
5073
|
-
"
|
|
5074
|
-
"
|
|
5251
|
+
"rubric",
|
|
5252
|
+
"show.js"
|
|
5075
5253
|
]
|
|
5076
5254
|
},
|
|
5077
|
-
"
|
|
5255
|
+
"rubric:usage": {
|
|
5078
5256
|
"aliases": [],
|
|
5079
5257
|
"args": {},
|
|
5080
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
5258
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj rubric` command.",
|
|
5081
5259
|
"flags": {
|
|
5082
5260
|
"format": {
|
|
5083
5261
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -5094,7 +5272,7 @@
|
|
|
5094
5272
|
},
|
|
5095
5273
|
"hasDynamicHelp": false,
|
|
5096
5274
|
"hiddenAliases": [],
|
|
5097
|
-
"id": "
|
|
5275
|
+
"id": "rubric:usage",
|
|
5098
5276
|
"pluginAlias": "@memberjunction/cli",
|
|
5099
5277
|
"pluginName": "@memberjunction/cli",
|
|
5100
5278
|
"pluginType": "core",
|
|
@@ -5104,37 +5282,24 @@
|
|
|
5104
5282
|
"relativePath": [
|
|
5105
5283
|
"dist",
|
|
5106
5284
|
"commands",
|
|
5107
|
-
"
|
|
5285
|
+
"rubric",
|
|
5108
5286
|
"usage.js"
|
|
5109
5287
|
]
|
|
5110
5288
|
},
|
|
5111
|
-
"
|
|
5289
|
+
"rubric:validate": {
|
|
5112
5290
|
"aliases": [],
|
|
5113
|
-
"args": {
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
],
|
|
5119
|
-
"flags": {
|
|
5120
|
-
"transport": {
|
|
5121
|
-
"char": "t",
|
|
5122
|
-
"description": "Validate one transport's bindings against its resources",
|
|
5123
|
-
"name": "transport",
|
|
5124
|
-
"hasDynamicHelp": false,
|
|
5125
|
-
"multiple": false,
|
|
5126
|
-
"type": "option"
|
|
5127
|
-
},
|
|
5128
|
-
"json": {
|
|
5129
|
-
"description": "Print issues as JSON",
|
|
5130
|
-
"name": "json",
|
|
5131
|
-
"allowNo": false,
|
|
5132
|
-
"type": "boolean"
|
|
5291
|
+
"args": {
|
|
5292
|
+
"file": {
|
|
5293
|
+
"description": "JSON snapshot file",
|
|
5294
|
+
"name": "file",
|
|
5295
|
+
"required": true
|
|
5133
5296
|
}
|
|
5134
5297
|
},
|
|
5298
|
+
"description": "Check a rubric snapshot file for duplicate keys, gates, weights, and scales.",
|
|
5299
|
+
"flags": {},
|
|
5135
5300
|
"hasDynamicHelp": false,
|
|
5136
5301
|
"hiddenAliases": [],
|
|
5137
|
-
"id": "
|
|
5302
|
+
"id": "rubric:validate",
|
|
5138
5303
|
"pluginAlias": "@memberjunction/cli",
|
|
5139
5304
|
"pluginName": "@memberjunction/cli",
|
|
5140
5305
|
"pluginType": "core",
|
|
@@ -5144,95 +5309,56 @@
|
|
|
5144
5309
|
"relativePath": [
|
|
5145
5310
|
"dist",
|
|
5146
5311
|
"commands",
|
|
5147
|
-
"
|
|
5148
|
-
"validate
|
|
5312
|
+
"rubric",
|
|
5313
|
+
"validate.js"
|
|
5149
5314
|
]
|
|
5150
5315
|
},
|
|
5151
|
-
"
|
|
5316
|
+
"sql-audit": {
|
|
5152
5317
|
"aliases": [],
|
|
5153
5318
|
"args": {},
|
|
5154
|
-
"description": "
|
|
5319
|
+
"description": "Compare source and target databases for migration verification",
|
|
5155
5320
|
"examples": [
|
|
5156
|
-
"<%= config.bin %>
|
|
5157
|
-
"<%= config.bin %>
|
|
5158
|
-
"<%= config.bin %>
|
|
5321
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
|
|
5322
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
|
|
5323
|
+
"<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
|
|
5159
5324
|
],
|
|
5160
5325
|
"flags": {
|
|
5161
|
-
"
|
|
5162
|
-
"
|
|
5163
|
-
"
|
|
5164
|
-
"name": "subscription",
|
|
5326
|
+
"source": {
|
|
5327
|
+
"description": "Source database connection string (mssql://... or postgres://...)",
|
|
5328
|
+
"name": "source",
|
|
5165
5329
|
"required": true,
|
|
5166
5330
|
"hasDynamicHelp": false,
|
|
5167
5331
|
"multiple": false,
|
|
5168
5332
|
"type": "option"
|
|
5169
5333
|
},
|
|
5170
|
-
"
|
|
5171
|
-
"description": "
|
|
5172
|
-
"name": "
|
|
5173
|
-
"
|
|
5174
|
-
"type": "boolean"
|
|
5175
|
-
},
|
|
5176
|
-
"max": {
|
|
5177
|
-
"dependsOn": [
|
|
5178
|
-
"once"
|
|
5179
|
-
],
|
|
5180
|
-
"description": "With --once: how many deliveries to receive",
|
|
5181
|
-
"name": "max",
|
|
5182
|
-
"default": 1,
|
|
5183
|
-
"hasDynamicHelp": false,
|
|
5184
|
-
"multiple": false,
|
|
5185
|
-
"type": "option"
|
|
5186
|
-
},
|
|
5187
|
-
"idle-exit-ms": {
|
|
5188
|
-
"dependsOn": [
|
|
5189
|
-
"once"
|
|
5190
|
-
],
|
|
5191
|
-
"description": "With --once: exit after this long with an empty queue",
|
|
5192
|
-
"name": "idle-exit-ms",
|
|
5193
|
-
"default": 5000,
|
|
5194
|
-
"hasDynamicHelp": false,
|
|
5195
|
-
"multiple": false,
|
|
5196
|
-
"type": "option"
|
|
5197
|
-
},
|
|
5198
|
-
"max-duration-ms": {
|
|
5199
|
-
"dependsOn": [
|
|
5200
|
-
"once"
|
|
5201
|
-
],
|
|
5202
|
-
"description": "With --once: stop claiming after this long and drain (keep it below the scheduler's job deadline)",
|
|
5203
|
-
"name": "max-duration-ms",
|
|
5204
|
-
"hasDynamicHelp": false,
|
|
5205
|
-
"multiple": false,
|
|
5206
|
-
"type": "option"
|
|
5207
|
-
},
|
|
5208
|
-
"concurrency": {
|
|
5209
|
-
"description": "Handlers in flight per subscription",
|
|
5210
|
-
"name": "concurrency",
|
|
5211
|
-
"default": 1,
|
|
5334
|
+
"target": {
|
|
5335
|
+
"description": "Target database connection string (mssql://... or postgres://...)",
|
|
5336
|
+
"name": "target",
|
|
5337
|
+
"required": true,
|
|
5212
5338
|
"hasDynamicHelp": false,
|
|
5213
5339
|
"multiple": false,
|
|
5214
5340
|
"type": "option"
|
|
5215
5341
|
},
|
|
5216
|
-
"
|
|
5217
|
-
"description": "
|
|
5218
|
-
"name": "
|
|
5219
|
-
"default":
|
|
5342
|
+
"source-schema": {
|
|
5343
|
+
"description": "Source schema name",
|
|
5344
|
+
"name": "source-schema",
|
|
5345
|
+
"default": "__mj",
|
|
5220
5346
|
"hasDynamicHelp": false,
|
|
5221
5347
|
"multiple": false,
|
|
5222
5348
|
"type": "option"
|
|
5223
5349
|
},
|
|
5224
|
-
"
|
|
5225
|
-
"description": "
|
|
5226
|
-
"name": "
|
|
5227
|
-
"default":
|
|
5350
|
+
"target-schema": {
|
|
5351
|
+
"description": "Target schema name",
|
|
5352
|
+
"name": "target-schema",
|
|
5353
|
+
"default": "__mj",
|
|
5228
5354
|
"hasDynamicHelp": false,
|
|
5229
5355
|
"multiple": false,
|
|
5230
5356
|
"type": "option"
|
|
5231
5357
|
},
|
|
5232
|
-
"
|
|
5233
|
-
"
|
|
5234
|
-
"
|
|
5235
|
-
"
|
|
5358
|
+
"output": {
|
|
5359
|
+
"char": "o",
|
|
5360
|
+
"description": "Save report to file",
|
|
5361
|
+
"name": "output",
|
|
5236
5362
|
"hasDynamicHelp": false,
|
|
5237
5363
|
"multiple": false,
|
|
5238
5364
|
"type": "option"
|
|
@@ -5240,7 +5366,7 @@
|
|
|
5240
5366
|
},
|
|
5241
5367
|
"hasDynamicHelp": false,
|
|
5242
5368
|
"hiddenAliases": [],
|
|
5243
|
-
"id": "
|
|
5369
|
+
"id": "sql-audit",
|
|
5244
5370
|
"pluginAlias": "@memberjunction/cli",
|
|
5245
5371
|
"pluginName": "@memberjunction/cli",
|
|
5246
5372
|
"pluginType": "core",
|
|
@@ -5250,56 +5376,209 @@
|
|
|
5250
5376
|
"relativePath": [
|
|
5251
5377
|
"dist",
|
|
5252
5378
|
"commands",
|
|
5253
|
-
"
|
|
5254
|
-
"
|
|
5379
|
+
"sql-audit",
|
|
5380
|
+
"index.js"
|
|
5255
5381
|
]
|
|
5256
5382
|
},
|
|
5257
|
-
"
|
|
5383
|
+
"sql-audit:usage": {
|
|
5258
5384
|
"aliases": [],
|
|
5259
5385
|
"args": {},
|
|
5260
|
-
"description": "
|
|
5261
|
-
"examples": [
|
|
5262
|
-
{
|
|
5263
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
5264
|
-
"description": "Adopt every standard available at this CLI version"
|
|
5265
|
-
},
|
|
5266
|
-
{
|
|
5267
|
-
"command": "<%= config.bin %> <%= command.id %> --ci github --declare-compliant",
|
|
5268
|
-
"description": "Full setup: config, GitHub workflow, npm script, and declare already-compliant packages"
|
|
5269
|
-
},
|
|
5270
|
-
{
|
|
5271
|
-
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
5272
|
-
"description": "Show what would change"
|
|
5273
|
-
},
|
|
5274
|
-
{
|
|
5275
|
-
"command": "<%= config.bin %> <%= command.id %> --upgrade",
|
|
5276
|
-
"description": "Review standards added since this repo adopted, and bump its recorded version"
|
|
5277
|
-
}
|
|
5278
|
-
],
|
|
5386
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-audit` command.",
|
|
5279
5387
|
"flags": {
|
|
5280
|
-
"
|
|
5281
|
-
"description": "
|
|
5282
|
-
"name": "
|
|
5283
|
-
"hasDynamicHelp": false,
|
|
5284
|
-
"multiple": false,
|
|
5285
|
-
"type": "option"
|
|
5286
|
-
},
|
|
5287
|
-
"check": {
|
|
5288
|
-
"description": "Only adopt these check ids.",
|
|
5289
|
-
"name": "check",
|
|
5290
|
-
"hasDynamicHelp": false,
|
|
5291
|
-
"multiple": true,
|
|
5292
|
-
"type": "option"
|
|
5293
|
-
},
|
|
5294
|
-
"ci": {
|
|
5295
|
-
"description": "Write a CI workflow for this provider.",
|
|
5296
|
-
"name": "ci",
|
|
5297
|
-
"default": "none",
|
|
5388
|
+
"format": {
|
|
5389
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5390
|
+
"name": "format",
|
|
5298
5391
|
"hasDynamicHelp": false,
|
|
5299
5392
|
"multiple": false,
|
|
5300
5393
|
"options": [
|
|
5301
|
-
"
|
|
5302
|
-
"
|
|
5394
|
+
"text",
|
|
5395
|
+
"json",
|
|
5396
|
+
"md"
|
|
5397
|
+
],
|
|
5398
|
+
"type": "option"
|
|
5399
|
+
}
|
|
5400
|
+
},
|
|
5401
|
+
"hasDynamicHelp": false,
|
|
5402
|
+
"hiddenAliases": [],
|
|
5403
|
+
"id": "sql-audit:usage",
|
|
5404
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5405
|
+
"pluginName": "@memberjunction/cli",
|
|
5406
|
+
"pluginType": "core",
|
|
5407
|
+
"strict": true,
|
|
5408
|
+
"enableJsonFlag": false,
|
|
5409
|
+
"isESM": true,
|
|
5410
|
+
"relativePath": [
|
|
5411
|
+
"dist",
|
|
5412
|
+
"commands",
|
|
5413
|
+
"sql-audit",
|
|
5414
|
+
"usage.js"
|
|
5415
|
+
]
|
|
5416
|
+
},
|
|
5417
|
+
"sql-convert": {
|
|
5418
|
+
"aliases": [],
|
|
5419
|
+
"args": {
|
|
5420
|
+
"source": {
|
|
5421
|
+
"description": "Source SQL file path",
|
|
5422
|
+
"name": "source",
|
|
5423
|
+
"required": true
|
|
5424
|
+
}
|
|
5425
|
+
},
|
|
5426
|
+
"description": "Convert SQL files between database dialects using rule-based BatchConverter engine",
|
|
5427
|
+
"examples": [
|
|
5428
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres",
|
|
5429
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --output converted.sql",
|
|
5430
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --schema my_schema",
|
|
5431
|
+
"<%= config.bin %> sql-convert ./migration.sql --from tsql --to postgres --no-header --verbose"
|
|
5432
|
+
],
|
|
5433
|
+
"flags": {
|
|
5434
|
+
"from": {
|
|
5435
|
+
"description": "Source SQL dialect",
|
|
5436
|
+
"name": "from",
|
|
5437
|
+
"required": true,
|
|
5438
|
+
"hasDynamicHelp": false,
|
|
5439
|
+
"multiple": false,
|
|
5440
|
+
"type": "option"
|
|
5441
|
+
},
|
|
5442
|
+
"to": {
|
|
5443
|
+
"description": "Target SQL dialect",
|
|
5444
|
+
"name": "to",
|
|
5445
|
+
"required": true,
|
|
5446
|
+
"hasDynamicHelp": false,
|
|
5447
|
+
"multiple": false,
|
|
5448
|
+
"type": "option"
|
|
5449
|
+
},
|
|
5450
|
+
"output": {
|
|
5451
|
+
"char": "o",
|
|
5452
|
+
"description": "Output file path (default: <source>.converted.<ext>)",
|
|
5453
|
+
"name": "output",
|
|
5454
|
+
"hasDynamicHelp": false,
|
|
5455
|
+
"multiple": false,
|
|
5456
|
+
"type": "option"
|
|
5457
|
+
},
|
|
5458
|
+
"schema": {
|
|
5459
|
+
"description": "Target schema name",
|
|
5460
|
+
"name": "schema",
|
|
5461
|
+
"default": "__mj",
|
|
5462
|
+
"hasDynamicHelp": false,
|
|
5463
|
+
"multiple": false,
|
|
5464
|
+
"type": "option"
|
|
5465
|
+
},
|
|
5466
|
+
"no-header": {
|
|
5467
|
+
"description": "Skip PG header (extensions, schema, implicit cast)",
|
|
5468
|
+
"name": "no-header",
|
|
5469
|
+
"allowNo": false,
|
|
5470
|
+
"type": "boolean"
|
|
5471
|
+
},
|
|
5472
|
+
"no-post-process": {
|
|
5473
|
+
"description": "Skip post-processing pass",
|
|
5474
|
+
"name": "no-post-process",
|
|
5475
|
+
"allowNo": false,
|
|
5476
|
+
"type": "boolean"
|
|
5477
|
+
},
|
|
5478
|
+
"verbose": {
|
|
5479
|
+
"char": "v",
|
|
5480
|
+
"description": "Show per-statement progress and detailed report",
|
|
5481
|
+
"name": "verbose",
|
|
5482
|
+
"allowNo": false,
|
|
5483
|
+
"type": "boolean"
|
|
5484
|
+
}
|
|
5485
|
+
},
|
|
5486
|
+
"hasDynamicHelp": false,
|
|
5487
|
+
"hiddenAliases": [],
|
|
5488
|
+
"id": "sql-convert",
|
|
5489
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5490
|
+
"pluginName": "@memberjunction/cli",
|
|
5491
|
+
"pluginType": "core",
|
|
5492
|
+
"strict": true,
|
|
5493
|
+
"enableJsonFlag": false,
|
|
5494
|
+
"isESM": true,
|
|
5495
|
+
"relativePath": [
|
|
5496
|
+
"dist",
|
|
5497
|
+
"commands",
|
|
5498
|
+
"sql-convert",
|
|
5499
|
+
"index.js"
|
|
5500
|
+
]
|
|
5501
|
+
},
|
|
5502
|
+
"sql-convert:usage": {
|
|
5503
|
+
"aliases": [],
|
|
5504
|
+
"args": {},
|
|
5505
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj sql-convert` command.",
|
|
5506
|
+
"flags": {
|
|
5507
|
+
"format": {
|
|
5508
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5509
|
+
"name": "format",
|
|
5510
|
+
"hasDynamicHelp": false,
|
|
5511
|
+
"multiple": false,
|
|
5512
|
+
"options": [
|
|
5513
|
+
"text",
|
|
5514
|
+
"json",
|
|
5515
|
+
"md"
|
|
5516
|
+
],
|
|
5517
|
+
"type": "option"
|
|
5518
|
+
}
|
|
5519
|
+
},
|
|
5520
|
+
"hasDynamicHelp": false,
|
|
5521
|
+
"hiddenAliases": [],
|
|
5522
|
+
"id": "sql-convert:usage",
|
|
5523
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5524
|
+
"pluginName": "@memberjunction/cli",
|
|
5525
|
+
"pluginType": "core",
|
|
5526
|
+
"strict": true,
|
|
5527
|
+
"enableJsonFlag": false,
|
|
5528
|
+
"isESM": true,
|
|
5529
|
+
"relativePath": [
|
|
5530
|
+
"dist",
|
|
5531
|
+
"commands",
|
|
5532
|
+
"sql-convert",
|
|
5533
|
+
"usage.js"
|
|
5534
|
+
]
|
|
5535
|
+
},
|
|
5536
|
+
"standards:adopt": {
|
|
5537
|
+
"aliases": [],
|
|
5538
|
+
"args": {},
|
|
5539
|
+
"description": "Adopt MemberJunction standards in this repository (config + CI + npm script + layer declarations)",
|
|
5540
|
+
"examples": [
|
|
5541
|
+
{
|
|
5542
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5543
|
+
"description": "Adopt every standard available at this CLI version"
|
|
5544
|
+
},
|
|
5545
|
+
{
|
|
5546
|
+
"command": "<%= config.bin %> <%= command.id %> --ci github --declare-compliant",
|
|
5547
|
+
"description": "Full setup: config, GitHub workflow, npm script, and declare already-compliant packages"
|
|
5548
|
+
},
|
|
5549
|
+
{
|
|
5550
|
+
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
5551
|
+
"description": "Show what would change"
|
|
5552
|
+
},
|
|
5553
|
+
{
|
|
5554
|
+
"command": "<%= config.bin %> <%= command.id %> --upgrade",
|
|
5555
|
+
"description": "Review standards added since this repo adopted, and bump its recorded version"
|
|
5556
|
+
}
|
|
5557
|
+
],
|
|
5558
|
+
"flags": {
|
|
5559
|
+
"cwd": {
|
|
5560
|
+
"description": "Repository root. Defaults to the current directory.",
|
|
5561
|
+
"name": "cwd",
|
|
5562
|
+
"hasDynamicHelp": false,
|
|
5563
|
+
"multiple": false,
|
|
5564
|
+
"type": "option"
|
|
5565
|
+
},
|
|
5566
|
+
"check": {
|
|
5567
|
+
"description": "Only adopt these check ids.",
|
|
5568
|
+
"name": "check",
|
|
5569
|
+
"hasDynamicHelp": false,
|
|
5570
|
+
"multiple": true,
|
|
5571
|
+
"type": "option"
|
|
5572
|
+
},
|
|
5573
|
+
"ci": {
|
|
5574
|
+
"description": "Write a CI workflow for this provider.",
|
|
5575
|
+
"name": "ci",
|
|
5576
|
+
"default": "none",
|
|
5577
|
+
"hasDynamicHelp": false,
|
|
5578
|
+
"multiple": false,
|
|
5579
|
+
"options": [
|
|
5580
|
+
"github",
|
|
5581
|
+
"none"
|
|
5303
5582
|
],
|
|
5304
5583
|
"type": "option"
|
|
5305
5584
|
},
|
|
@@ -5476,179 +5755,46 @@
|
|
|
5476
5755
|
"usage.js"
|
|
5477
5756
|
]
|
|
5478
5757
|
},
|
|
5479
|
-
"
|
|
5758
|
+
"sync:file-reset": {
|
|
5480
5759
|
"aliases": [],
|
|
5481
5760
|
"args": {},
|
|
5482
|
-
"description": "
|
|
5761
|
+
"description": "Reset file metadata sections",
|
|
5483
5762
|
"examples": [
|
|
5484
|
-
"<%= config.bin %>
|
|
5485
|
-
"<%= config.bin %>
|
|
5486
|
-
"<%= config.bin %>
|
|
5487
|
-
"<%= config.bin %>
|
|
5763
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5764
|
+
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5765
|
+
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
5766
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
5488
5767
|
],
|
|
5489
5768
|
"flags": {
|
|
5490
|
-
"
|
|
5491
|
-
"description": "
|
|
5492
|
-
"name": "
|
|
5493
|
-
"required": true,
|
|
5494
|
-
"hasDynamicHelp": false,
|
|
5495
|
-
"multiple": false,
|
|
5496
|
-
"options": [
|
|
5497
|
-
"sqlserver",
|
|
5498
|
-
"postgresql"
|
|
5499
|
-
],
|
|
5500
|
-
"type": "option"
|
|
5501
|
-
},
|
|
5502
|
-
"to": {
|
|
5503
|
-
"description": "Target SQL dialect",
|
|
5504
|
-
"name": "to",
|
|
5505
|
-
"required": true,
|
|
5769
|
+
"dir": {
|
|
5770
|
+
"description": "Specific entity directory to reset",
|
|
5771
|
+
"name": "dir",
|
|
5506
5772
|
"hasDynamicHelp": false,
|
|
5507
5773
|
"multiple": false,
|
|
5508
|
-
"options": [
|
|
5509
|
-
"sqlserver",
|
|
5510
|
-
"postgresql"
|
|
5511
|
-
],
|
|
5512
5774
|
"type": "option"
|
|
5513
5775
|
},
|
|
5514
|
-
"
|
|
5515
|
-
"description": "
|
|
5516
|
-
"name": "
|
|
5517
|
-
"default": "all",
|
|
5776
|
+
"sections": {
|
|
5777
|
+
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
5778
|
+
"name": "sections",
|
|
5518
5779
|
"hasDynamicHelp": false,
|
|
5519
5780
|
"multiple": false,
|
|
5520
|
-
"options": [
|
|
5521
|
-
"queries",
|
|
5522
|
-
"views",
|
|
5523
|
-
"filters",
|
|
5524
|
-
"all"
|
|
5525
|
-
],
|
|
5526
5781
|
"type": "option"
|
|
5527
5782
|
},
|
|
5528
|
-
"
|
|
5529
|
-
"description": "
|
|
5530
|
-
"name": "
|
|
5531
|
-
"
|
|
5532
|
-
"
|
|
5533
|
-
"type": "option"
|
|
5783
|
+
"all": {
|
|
5784
|
+
"description": "Reset all metadata sections",
|
|
5785
|
+
"name": "all",
|
|
5786
|
+
"allowNo": false,
|
|
5787
|
+
"type": "boolean"
|
|
5534
5788
|
},
|
|
5535
5789
|
"dry-run": {
|
|
5536
|
-
"description": "Show what would be
|
|
5790
|
+
"description": "Show what would be reset without actually resetting",
|
|
5537
5791
|
"name": "dry-run",
|
|
5538
5792
|
"allowNo": false,
|
|
5539
5793
|
"type": "boolean"
|
|
5540
5794
|
},
|
|
5541
|
-
"
|
|
5542
|
-
"description": "
|
|
5543
|
-
"name": "
|
|
5544
|
-
"allowNo": false,
|
|
5545
|
-
"type": "boolean"
|
|
5546
|
-
},
|
|
5547
|
-
"output": {
|
|
5548
|
-
"char": "o",
|
|
5549
|
-
"description": "Output directory for the translation report",
|
|
5550
|
-
"name": "output",
|
|
5551
|
-
"hasDynamicHelp": false,
|
|
5552
|
-
"multiple": false,
|
|
5553
|
-
"type": "option"
|
|
5554
|
-
},
|
|
5555
|
-
"force": {
|
|
5556
|
-
"description": "Re-translate even if platform variants already exist",
|
|
5557
|
-
"name": "force",
|
|
5558
|
-
"allowNo": false,
|
|
5559
|
-
"type": "boolean"
|
|
5560
|
-
}
|
|
5561
|
-
},
|
|
5562
|
-
"hasDynamicHelp": false,
|
|
5563
|
-
"hiddenAliases": [],
|
|
5564
|
-
"id": "translate-sql",
|
|
5565
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5566
|
-
"pluginName": "@memberjunction/cli",
|
|
5567
|
-
"pluginType": "core",
|
|
5568
|
-
"strict": true,
|
|
5569
|
-
"enableJsonFlag": false,
|
|
5570
|
-
"isESM": true,
|
|
5571
|
-
"relativePath": [
|
|
5572
|
-
"dist",
|
|
5573
|
-
"commands",
|
|
5574
|
-
"translate-sql",
|
|
5575
|
-
"index.js"
|
|
5576
|
-
]
|
|
5577
|
-
},
|
|
5578
|
-
"translate-sql:usage": {
|
|
5579
|
-
"aliases": [],
|
|
5580
|
-
"args": {},
|
|
5581
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
|
|
5582
|
-
"flags": {
|
|
5583
|
-
"format": {
|
|
5584
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5585
|
-
"name": "format",
|
|
5586
|
-
"hasDynamicHelp": false,
|
|
5587
|
-
"multiple": false,
|
|
5588
|
-
"options": [
|
|
5589
|
-
"text",
|
|
5590
|
-
"json",
|
|
5591
|
-
"md"
|
|
5592
|
-
],
|
|
5593
|
-
"type": "option"
|
|
5594
|
-
}
|
|
5595
|
-
},
|
|
5596
|
-
"hasDynamicHelp": false,
|
|
5597
|
-
"hiddenAliases": [],
|
|
5598
|
-
"id": "translate-sql:usage",
|
|
5599
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5600
|
-
"pluginName": "@memberjunction/cli",
|
|
5601
|
-
"pluginType": "core",
|
|
5602
|
-
"strict": true,
|
|
5603
|
-
"enableJsonFlag": false,
|
|
5604
|
-
"isESM": true,
|
|
5605
|
-
"relativePath": [
|
|
5606
|
-
"dist",
|
|
5607
|
-
"commands",
|
|
5608
|
-
"translate-sql",
|
|
5609
|
-
"usage.js"
|
|
5610
|
-
]
|
|
5611
|
-
},
|
|
5612
|
-
"sync:file-reset": {
|
|
5613
|
-
"aliases": [],
|
|
5614
|
-
"args": {},
|
|
5615
|
-
"description": "Reset file metadata sections",
|
|
5616
|
-
"examples": [
|
|
5617
|
-
"<%= config.bin %> <%= command.id %>",
|
|
5618
|
-
"<%= config.bin %> <%= command.id %> --dir=\"ai-prompts\"",
|
|
5619
|
-
"<%= config.bin %> <%= command.id %> --sections=\"dependencies,references\"",
|
|
5620
|
-
"<%= config.bin %> <%= command.id %> --all"
|
|
5621
|
-
],
|
|
5622
|
-
"flags": {
|
|
5623
|
-
"dir": {
|
|
5624
|
-
"description": "Specific entity directory to reset",
|
|
5625
|
-
"name": "dir",
|
|
5626
|
-
"hasDynamicHelp": false,
|
|
5627
|
-
"multiple": false,
|
|
5628
|
-
"type": "option"
|
|
5629
|
-
},
|
|
5630
|
-
"sections": {
|
|
5631
|
-
"description": "Comma-separated list of sections to reset (dependencies,references,related,lookup)",
|
|
5632
|
-
"name": "sections",
|
|
5633
|
-
"hasDynamicHelp": false,
|
|
5634
|
-
"multiple": false,
|
|
5635
|
-
"type": "option"
|
|
5636
|
-
},
|
|
5637
|
-
"all": {
|
|
5638
|
-
"description": "Reset all metadata sections",
|
|
5639
|
-
"name": "all",
|
|
5640
|
-
"allowNo": false,
|
|
5641
|
-
"type": "boolean"
|
|
5642
|
-
},
|
|
5643
|
-
"dry-run": {
|
|
5644
|
-
"description": "Show what would be reset without actually resetting",
|
|
5645
|
-
"name": "dry-run",
|
|
5646
|
-
"allowNo": false,
|
|
5647
|
-
"type": "boolean"
|
|
5648
|
-
},
|
|
5649
|
-
"force": {
|
|
5650
|
-
"description": "Skip confirmation prompts",
|
|
5651
|
-
"name": "force",
|
|
5795
|
+
"force": {
|
|
5796
|
+
"description": "Skip confirmation prompts",
|
|
5797
|
+
"name": "force",
|
|
5652
5798
|
"allowNo": false,
|
|
5653
5799
|
"type": "boolean"
|
|
5654
5800
|
},
|
|
@@ -6882,7 +7028,8 @@
|
|
|
6882
7028
|
"<%= config.bin %> <%= command.id %> --test \"T042 - Filter Grid\"",
|
|
6883
7029
|
"<%= config.bin %> <%= command.id %> --promote --test \"T042 - Filter Grid\"",
|
|
6884
7030
|
"<%= config.bin %> <%= command.id %> --promote --yes",
|
|
6885
|
-
"<%= config.bin %> <%= command.id %> --discard --test \"T042 - Filter Grid\""
|
|
7031
|
+
"<%= config.bin %> <%= command.id %> --discard --test \"T042 - Filter Grid\"",
|
|
7032
|
+
"<%= config.bin %> <%= command.id %> --format=md --output=drift.md"
|
|
6886
7033
|
],
|
|
6887
7034
|
"flags": {
|
|
6888
7035
|
"test": {
|
|
@@ -6916,6 +7063,32 @@
|
|
|
6916
7063
|
"name": "yes",
|
|
6917
7064
|
"allowNo": false,
|
|
6918
7065
|
"type": "boolean"
|
|
7066
|
+
},
|
|
7067
|
+
"format": {
|
|
7068
|
+
"char": "f",
|
|
7069
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
7070
|
+
"name": "format",
|
|
7071
|
+
"hasDynamicHelp": false,
|
|
7072
|
+
"multiple": false,
|
|
7073
|
+
"options": [
|
|
7074
|
+
"text",
|
|
7075
|
+
"json",
|
|
7076
|
+
"md",
|
|
7077
|
+
"human",
|
|
7078
|
+
"console",
|
|
7079
|
+
"markdown",
|
|
7080
|
+
"compact",
|
|
7081
|
+
"table"
|
|
7082
|
+
],
|
|
7083
|
+
"type": "option"
|
|
7084
|
+
},
|
|
7085
|
+
"output": {
|
|
7086
|
+
"char": "o",
|
|
7087
|
+
"description": "Write the pending-script report to this file",
|
|
7088
|
+
"name": "output",
|
|
7089
|
+
"hasDynamicHelp": false,
|
|
7090
|
+
"multiple": false,
|
|
7091
|
+
"type": "option"
|
|
6919
7092
|
}
|
|
6920
7093
|
},
|
|
6921
7094
|
"hasDynamicHelp": false,
|
|
@@ -6948,7 +7121,8 @@
|
|
|
6948
7121
|
"<%= config.bin %> <%= command.id %> <suite-id>",
|
|
6949
7122
|
"<%= config.bin %> <%= command.id %> --name=\"Agent Quality Suite\"",
|
|
6950
7123
|
"<%= config.bin %> <%= command.id %> <suite-id> --format=json",
|
|
6951
|
-
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json"
|
|
7124
|
+
"<%= config.bin %> <%= command.id %> <suite-id> --output=suite-results.json",
|
|
7125
|
+
"<%= config.bin %> <%= command.id %> --name=\"MJ Explorer Regression Suite\" --test=\"T001 - Login Smoke\""
|
|
6952
7126
|
],
|
|
6953
7127
|
"flags": {
|
|
6954
7128
|
"name": {
|
|
@@ -7062,6 +7236,13 @@
|
|
|
7062
7236
|
"all"
|
|
7063
7237
|
],
|
|
7064
7238
|
"type": "option"
|
|
7239
|
+
},
|
|
7240
|
+
"test": {
|
|
7241
|
+
"description": "Run only this suite test, by exact name. Repeat the flag to run more than one.",
|
|
7242
|
+
"name": "test",
|
|
7243
|
+
"hasDynamicHelp": false,
|
|
7244
|
+
"multiple": true,
|
|
7245
|
+
"type": "option"
|
|
7065
7246
|
}
|
|
7066
7247
|
},
|
|
7067
7248
|
"hasDynamicHelp": false,
|
|
@@ -7203,112 +7384,245 @@
|
|
|
7203
7384
|
"validate.js"
|
|
7204
7385
|
]
|
|
7205
7386
|
},
|
|
7206
|
-
"
|
|
7387
|
+
"translate-sql": {
|
|
7207
7388
|
"aliases": [],
|
|
7208
7389
|
"args": {},
|
|
7209
|
-
"description": "
|
|
7390
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
7210
7391
|
"examples": [
|
|
7211
|
-
"<%= config.bin %>
|
|
7212
|
-
"<%= config.bin %>
|
|
7213
|
-
"<%= config.bin %>
|
|
7214
|
-
"<%= config.bin %>
|
|
7215
|
-
"<%= config.bin %> update:claude --json"
|
|
7392
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
7393
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
7394
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
7395
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
7216
7396
|
],
|
|
7217
7397
|
"flags": {
|
|
7218
|
-
"
|
|
7219
|
-
"description": "
|
|
7220
|
-
"name": "
|
|
7221
|
-
"
|
|
7398
|
+
"from": {
|
|
7399
|
+
"description": "Source SQL dialect",
|
|
7400
|
+
"name": "from",
|
|
7401
|
+
"required": true,
|
|
7222
7402
|
"hasDynamicHelp": false,
|
|
7223
7403
|
"multiple": false,
|
|
7404
|
+
"options": [
|
|
7405
|
+
"sqlserver",
|
|
7406
|
+
"postgresql"
|
|
7407
|
+
],
|
|
7224
7408
|
"type": "option"
|
|
7225
7409
|
},
|
|
7226
|
-
"
|
|
7227
|
-
"description": "
|
|
7228
|
-
"name": "
|
|
7410
|
+
"to": {
|
|
7411
|
+
"description": "Target SQL dialect",
|
|
7412
|
+
"name": "to",
|
|
7413
|
+
"required": true,
|
|
7229
7414
|
"hasDynamicHelp": false,
|
|
7230
7415
|
"multiple": false,
|
|
7416
|
+
"options": [
|
|
7417
|
+
"sqlserver",
|
|
7418
|
+
"postgresql"
|
|
7419
|
+
],
|
|
7231
7420
|
"type": "option"
|
|
7232
7421
|
},
|
|
7233
|
-
"
|
|
7234
|
-
"description": "
|
|
7235
|
-
"name": "
|
|
7422
|
+
"scope": {
|
|
7423
|
+
"description": "What to scan for translation",
|
|
7424
|
+
"name": "scope",
|
|
7425
|
+
"default": "all",
|
|
7236
7426
|
"hasDynamicHelp": false,
|
|
7237
7427
|
"multiple": false,
|
|
7428
|
+
"options": [
|
|
7429
|
+
"queries",
|
|
7430
|
+
"views",
|
|
7431
|
+
"filters",
|
|
7432
|
+
"all"
|
|
7433
|
+
],
|
|
7238
7434
|
"type": "option"
|
|
7239
7435
|
},
|
|
7240
|
-
"
|
|
7241
|
-
"description": "
|
|
7242
|
-
"name": "
|
|
7436
|
+
"sql": {
|
|
7437
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
7438
|
+
"name": "sql",
|
|
7243
7439
|
"hasDynamicHelp": false,
|
|
7244
7440
|
"multiple": false,
|
|
7245
7441
|
"type": "option"
|
|
7246
7442
|
},
|
|
7247
|
-
"offline": {
|
|
7248
|
-
"description": "Forbid network; requires --from <path>",
|
|
7249
|
-
"name": "offline",
|
|
7250
|
-
"allowNo": false,
|
|
7251
|
-
"type": "boolean"
|
|
7252
|
-
},
|
|
7253
7443
|
"dry-run": {
|
|
7254
|
-
"description": "
|
|
7444
|
+
"description": "Show what would be translated without making changes",
|
|
7255
7445
|
"name": "dry-run",
|
|
7256
7446
|
"allowNo": false,
|
|
7257
7447
|
"type": "boolean"
|
|
7258
7448
|
},
|
|
7259
|
-
"
|
|
7260
|
-
"
|
|
7261
|
-
"
|
|
7262
|
-
"name": "yes",
|
|
7449
|
+
"review": {
|
|
7450
|
+
"description": "Generate review report only (no writes to database)",
|
|
7451
|
+
"name": "review",
|
|
7263
7452
|
"allowNo": false,
|
|
7264
7453
|
"type": "boolean"
|
|
7265
7454
|
},
|
|
7455
|
+
"output": {
|
|
7456
|
+
"char": "o",
|
|
7457
|
+
"description": "Output directory for the translation report",
|
|
7458
|
+
"name": "output",
|
|
7459
|
+
"hasDynamicHelp": false,
|
|
7460
|
+
"multiple": false,
|
|
7461
|
+
"type": "option"
|
|
7462
|
+
},
|
|
7266
7463
|
"force": {
|
|
7267
|
-
"description": "
|
|
7464
|
+
"description": "Re-translate even if platform variants already exist",
|
|
7268
7465
|
"name": "force",
|
|
7269
7466
|
"allowNo": false,
|
|
7270
7467
|
"type": "boolean"
|
|
7271
|
-
}
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
"
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
"
|
|
7298
|
-
"
|
|
7299
|
-
"
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
"
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7468
|
+
}
|
|
7469
|
+
},
|
|
7470
|
+
"hasDynamicHelp": false,
|
|
7471
|
+
"hiddenAliases": [],
|
|
7472
|
+
"id": "translate-sql",
|
|
7473
|
+
"pluginAlias": "@memberjunction/cli",
|
|
7474
|
+
"pluginName": "@memberjunction/cli",
|
|
7475
|
+
"pluginType": "core",
|
|
7476
|
+
"strict": true,
|
|
7477
|
+
"enableJsonFlag": false,
|
|
7478
|
+
"isESM": true,
|
|
7479
|
+
"relativePath": [
|
|
7480
|
+
"dist",
|
|
7481
|
+
"commands",
|
|
7482
|
+
"translate-sql",
|
|
7483
|
+
"index.js"
|
|
7484
|
+
]
|
|
7485
|
+
},
|
|
7486
|
+
"translate-sql:usage": {
|
|
7487
|
+
"aliases": [],
|
|
7488
|
+
"args": {},
|
|
7489
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
|
|
7490
|
+
"flags": {
|
|
7491
|
+
"format": {
|
|
7492
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
7493
|
+
"name": "format",
|
|
7494
|
+
"hasDynamicHelp": false,
|
|
7495
|
+
"multiple": false,
|
|
7496
|
+
"options": [
|
|
7497
|
+
"text",
|
|
7498
|
+
"json",
|
|
7499
|
+
"md"
|
|
7500
|
+
],
|
|
7501
|
+
"type": "option"
|
|
7502
|
+
}
|
|
7503
|
+
},
|
|
7504
|
+
"hasDynamicHelp": false,
|
|
7505
|
+
"hiddenAliases": [],
|
|
7506
|
+
"id": "translate-sql:usage",
|
|
7507
|
+
"pluginAlias": "@memberjunction/cli",
|
|
7508
|
+
"pluginName": "@memberjunction/cli",
|
|
7509
|
+
"pluginType": "core",
|
|
7510
|
+
"strict": true,
|
|
7511
|
+
"enableJsonFlag": false,
|
|
7512
|
+
"isESM": true,
|
|
7513
|
+
"relativePath": [
|
|
7514
|
+
"dist",
|
|
7515
|
+
"commands",
|
|
7516
|
+
"translate-sql",
|
|
7517
|
+
"usage.js"
|
|
7518
|
+
]
|
|
7519
|
+
},
|
|
7520
|
+
"update:claude": {
|
|
7521
|
+
"aliases": [],
|
|
7522
|
+
"args": {},
|
|
7523
|
+
"description": "Update the Claude Code pack in the current directory.",
|
|
7524
|
+
"examples": [
|
|
7525
|
+
"<%= config.bin %> update:claude",
|
|
7526
|
+
"<%= config.bin %> update:claude --check",
|
|
7527
|
+
"<%= config.bin %> update:claude --refresh-commands",
|
|
7528
|
+
"<%= config.bin %> update:claude --allow-major",
|
|
7529
|
+
"<%= config.bin %> update:claude --json"
|
|
7530
|
+
],
|
|
7531
|
+
"flags": {
|
|
7532
|
+
"dir": {
|
|
7533
|
+
"description": "Target directory",
|
|
7534
|
+
"name": "dir",
|
|
7535
|
+
"default": ".",
|
|
7536
|
+
"hasDynamicHelp": false,
|
|
7537
|
+
"multiple": false,
|
|
7538
|
+
"type": "option"
|
|
7539
|
+
},
|
|
7540
|
+
"major": {
|
|
7541
|
+
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
7542
|
+
"name": "major",
|
|
7543
|
+
"hasDynamicHelp": false,
|
|
7544
|
+
"multiple": false,
|
|
7545
|
+
"type": "option"
|
|
7546
|
+
},
|
|
7547
|
+
"ref": {
|
|
7548
|
+
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
7549
|
+
"name": "ref",
|
|
7550
|
+
"hasDynamicHelp": false,
|
|
7551
|
+
"multiple": false,
|
|
7552
|
+
"type": "option"
|
|
7553
|
+
},
|
|
7554
|
+
"from": {
|
|
7555
|
+
"description": "Use a local pack source instead of fetching from GitHub",
|
|
7556
|
+
"name": "from",
|
|
7557
|
+
"hasDynamicHelp": false,
|
|
7558
|
+
"multiple": false,
|
|
7559
|
+
"type": "option"
|
|
7560
|
+
},
|
|
7561
|
+
"offline": {
|
|
7562
|
+
"description": "Forbid network; requires --from <path>",
|
|
7563
|
+
"name": "offline",
|
|
7564
|
+
"allowNo": false,
|
|
7565
|
+
"type": "boolean"
|
|
7566
|
+
},
|
|
7567
|
+
"dry-run": {
|
|
7568
|
+
"description": "Print what would be written; change nothing",
|
|
7569
|
+
"name": "dry-run",
|
|
7570
|
+
"allowNo": false,
|
|
7571
|
+
"type": "boolean"
|
|
7572
|
+
},
|
|
7573
|
+
"yes": {
|
|
7574
|
+
"char": "y",
|
|
7575
|
+
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
7576
|
+
"name": "yes",
|
|
7577
|
+
"allowNo": false,
|
|
7578
|
+
"type": "boolean"
|
|
7579
|
+
},
|
|
7580
|
+
"force": {
|
|
7581
|
+
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
7582
|
+
"name": "force",
|
|
7583
|
+
"allowNo": false,
|
|
7584
|
+
"type": "boolean"
|
|
7585
|
+
},
|
|
7586
|
+
"skip-commands": {
|
|
7587
|
+
"description": "Skip seeding .claude/commands/",
|
|
7588
|
+
"name": "skip-commands",
|
|
7589
|
+
"allowNo": false,
|
|
7590
|
+
"type": "boolean"
|
|
7591
|
+
},
|
|
7592
|
+
"skip-skills": {
|
|
7593
|
+
"description": "Skip seeding .claude/skills/",
|
|
7594
|
+
"name": "skip-skills",
|
|
7595
|
+
"allowNo": false,
|
|
7596
|
+
"type": "boolean"
|
|
7597
|
+
},
|
|
7598
|
+
"skip-settings": {
|
|
7599
|
+
"description": "Skip merging .claude/settings.json",
|
|
7600
|
+
"name": "skip-settings",
|
|
7601
|
+
"allowNo": false,
|
|
7602
|
+
"type": "boolean"
|
|
7603
|
+
},
|
|
7604
|
+
"check": {
|
|
7605
|
+
"description": "Compare local pack version to remote without writing anything",
|
|
7606
|
+
"name": "check",
|
|
7607
|
+
"allowNo": false,
|
|
7608
|
+
"type": "boolean"
|
|
7609
|
+
},
|
|
7610
|
+
"refresh-commands": {
|
|
7611
|
+
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
7612
|
+
"name": "refresh-commands",
|
|
7613
|
+
"allowNo": false,
|
|
7614
|
+
"type": "boolean"
|
|
7615
|
+
},
|
|
7616
|
+
"refresh-skills": {
|
|
7617
|
+
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
7618
|
+
"name": "refresh-skills",
|
|
7619
|
+
"allowNo": false,
|
|
7620
|
+
"type": "boolean"
|
|
7621
|
+
},
|
|
7622
|
+
"allow-major": {
|
|
7623
|
+
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
7624
|
+
"name": "allow-major",
|
|
7625
|
+
"allowNo": false,
|
|
7312
7626
|
"type": "boolean"
|
|
7313
7627
|
},
|
|
7314
7628
|
"json": {
|
|
@@ -7454,6 +7768,40 @@
|
|
|
7454
7768
|
"clone.js"
|
|
7455
7769
|
]
|
|
7456
7770
|
},
|
|
7771
|
+
"user:usage": {
|
|
7772
|
+
"aliases": [],
|
|
7773
|
+
"args": {},
|
|
7774
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj user` command.",
|
|
7775
|
+
"flags": {
|
|
7776
|
+
"format": {
|
|
7777
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
7778
|
+
"name": "format",
|
|
7779
|
+
"hasDynamicHelp": false,
|
|
7780
|
+
"multiple": false,
|
|
7781
|
+
"options": [
|
|
7782
|
+
"text",
|
|
7783
|
+
"json",
|
|
7784
|
+
"md"
|
|
7785
|
+
],
|
|
7786
|
+
"type": "option"
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7789
|
+
"hasDynamicHelp": false,
|
|
7790
|
+
"hiddenAliases": [],
|
|
7791
|
+
"id": "user:usage",
|
|
7792
|
+
"pluginAlias": "@memberjunction/cli",
|
|
7793
|
+
"pluginName": "@memberjunction/cli",
|
|
7794
|
+
"pluginType": "core",
|
|
7795
|
+
"strict": true,
|
|
7796
|
+
"enableJsonFlag": false,
|
|
7797
|
+
"isESM": true,
|
|
7798
|
+
"relativePath": [
|
|
7799
|
+
"dist",
|
|
7800
|
+
"commands",
|
|
7801
|
+
"user",
|
|
7802
|
+
"usage.js"
|
|
7803
|
+
]
|
|
7804
|
+
},
|
|
7457
7805
|
"ai:actions:list": {
|
|
7458
7806
|
"aliases": [],
|
|
7459
7807
|
"args": {},
|
|
@@ -7714,16 +8062,405 @@
|
|
|
7714
8062
|
"multiple": false,
|
|
7715
8063
|
"type": "option"
|
|
7716
8064
|
},
|
|
7717
|
-
"chat": {
|
|
8065
|
+
"chat": {
|
|
8066
|
+
"char": "c",
|
|
8067
|
+
"description": "Start interactive chat mode",
|
|
8068
|
+
"exclusive": [
|
|
8069
|
+
"prompt",
|
|
8070
|
+
"prompt-file"
|
|
8071
|
+
],
|
|
8072
|
+
"name": "chat",
|
|
8073
|
+
"allowNo": false,
|
|
8074
|
+
"type": "boolean"
|
|
8075
|
+
},
|
|
8076
|
+
"format": {
|
|
8077
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
8078
|
+
"name": "format",
|
|
8079
|
+
"hasDynamicHelp": false,
|
|
8080
|
+
"multiple": false,
|
|
8081
|
+
"options": [
|
|
8082
|
+
"text",
|
|
8083
|
+
"json",
|
|
8084
|
+
"md",
|
|
8085
|
+
"human",
|
|
8086
|
+
"console",
|
|
8087
|
+
"markdown",
|
|
8088
|
+
"compact",
|
|
8089
|
+
"table"
|
|
8090
|
+
],
|
|
8091
|
+
"type": "option"
|
|
8092
|
+
},
|
|
8093
|
+
"output": {
|
|
8094
|
+
"char": "o",
|
|
8095
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
8096
|
+
"name": "output",
|
|
8097
|
+
"default": "compact",
|
|
8098
|
+
"hasDynamicHelp": false,
|
|
8099
|
+
"multiple": false,
|
|
8100
|
+
"options": [
|
|
8101
|
+
"compact",
|
|
8102
|
+
"json",
|
|
8103
|
+
"table"
|
|
8104
|
+
],
|
|
8105
|
+
"type": "option"
|
|
8106
|
+
},
|
|
8107
|
+
"verbose": {
|
|
8108
|
+
"char": "v",
|
|
8109
|
+
"description": "Show detailed execution information",
|
|
8110
|
+
"name": "verbose",
|
|
8111
|
+
"allowNo": false,
|
|
8112
|
+
"type": "boolean"
|
|
8113
|
+
},
|
|
8114
|
+
"timeout": {
|
|
8115
|
+
"description": "Execution timeout in milliseconds",
|
|
8116
|
+
"name": "timeout",
|
|
8117
|
+
"default": 300000,
|
|
8118
|
+
"hasDynamicHelp": false,
|
|
8119
|
+
"multiple": false,
|
|
8120
|
+
"type": "option"
|
|
8121
|
+
}
|
|
8122
|
+
},
|
|
8123
|
+
"hasDynamicHelp": false,
|
|
8124
|
+
"hiddenAliases": [],
|
|
8125
|
+
"id": "ai:agents:run",
|
|
8126
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8127
|
+
"pluginName": "@memberjunction/cli",
|
|
8128
|
+
"pluginType": "core",
|
|
8129
|
+
"strict": true,
|
|
8130
|
+
"enableJsonFlag": false,
|
|
8131
|
+
"isESM": true,
|
|
8132
|
+
"relativePath": [
|
|
8133
|
+
"dist",
|
|
8134
|
+
"commands",
|
|
8135
|
+
"ai",
|
|
8136
|
+
"agents",
|
|
8137
|
+
"run.js"
|
|
8138
|
+
]
|
|
8139
|
+
},
|
|
8140
|
+
"ai:audit:agent-run": {
|
|
8141
|
+
"aliases": [],
|
|
8142
|
+
"args": {
|
|
8143
|
+
"runId": {
|
|
8144
|
+
"description": "AI Agent Run ID to audit (UUID)",
|
|
8145
|
+
"name": "runId",
|
|
8146
|
+
"required": false
|
|
8147
|
+
}
|
|
8148
|
+
},
|
|
8149
|
+
"description": "Audit and analyze AI agent execution runs for debugging and performance analysis",
|
|
8150
|
+
"examples": [
|
|
8151
|
+
"<%= config.bin %> <%= command.id %> abc-123-def-456",
|
|
8152
|
+
"<%= config.bin %> <%= command.id %> abc-123-def-456 --output=markdown",
|
|
8153
|
+
"<%= config.bin %> <%= command.id %> abc-123-def-456 --step 3",
|
|
8154
|
+
"<%= config.bin %> <%= command.id %> abc-123-def-456 --step 3 --detail full",
|
|
8155
|
+
"<%= config.bin %> <%= command.id %> abc-123-def-456 --errors",
|
|
8156
|
+
"<%= config.bin %> <%= command.id %> --list --agent \"Skip: Requirements Expert\"",
|
|
8157
|
+
"<%= config.bin %> <%= command.id %> --list --status failed --days 7",
|
|
8158
|
+
"<%= config.bin %> <%= command.id %> abc-123-def-456 --export full --file report.json"
|
|
8159
|
+
],
|
|
8160
|
+
"flags": {
|
|
8161
|
+
"format": {
|
|
8162
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
8163
|
+
"name": "format",
|
|
8164
|
+
"hasDynamicHelp": false,
|
|
8165
|
+
"multiple": false,
|
|
8166
|
+
"options": [
|
|
8167
|
+
"text",
|
|
8168
|
+
"json",
|
|
8169
|
+
"md",
|
|
8170
|
+
"human",
|
|
8171
|
+
"console",
|
|
8172
|
+
"markdown",
|
|
8173
|
+
"compact",
|
|
8174
|
+
"table"
|
|
8175
|
+
],
|
|
8176
|
+
"type": "option"
|
|
8177
|
+
},
|
|
8178
|
+
"output": {
|
|
8179
|
+
"char": "o",
|
|
8180
|
+
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
8181
|
+
"name": "output",
|
|
8182
|
+
"default": "compact",
|
|
8183
|
+
"hasDynamicHelp": false,
|
|
8184
|
+
"multiple": false,
|
|
8185
|
+
"options": [
|
|
8186
|
+
"compact",
|
|
8187
|
+
"json",
|
|
8188
|
+
"table",
|
|
8189
|
+
"markdown"
|
|
8190
|
+
],
|
|
8191
|
+
"type": "option"
|
|
8192
|
+
},
|
|
8193
|
+
"step": {
|
|
8194
|
+
"char": "s",
|
|
8195
|
+
"description": "Show details for specific step number (1-based index)",
|
|
8196
|
+
"exclusive": [
|
|
8197
|
+
"list",
|
|
8198
|
+
"errors"
|
|
8199
|
+
],
|
|
8200
|
+
"name": "step",
|
|
8201
|
+
"hasDynamicHelp": false,
|
|
8202
|
+
"multiple": false,
|
|
8203
|
+
"type": "option"
|
|
8204
|
+
},
|
|
8205
|
+
"detail": {
|
|
8206
|
+
"char": "d",
|
|
8207
|
+
"dependsOn": [
|
|
8208
|
+
"step"
|
|
8209
|
+
],
|
|
8210
|
+
"description": "Detail level for step output (default: standard)",
|
|
8211
|
+
"name": "detail",
|
|
8212
|
+
"hasDynamicHelp": false,
|
|
8213
|
+
"multiple": false,
|
|
8214
|
+
"options": [
|
|
8215
|
+
"minimal",
|
|
8216
|
+
"standard",
|
|
8217
|
+
"detailed",
|
|
8218
|
+
"full"
|
|
8219
|
+
],
|
|
8220
|
+
"type": "option"
|
|
8221
|
+
},
|
|
8222
|
+
"errors": {
|
|
8223
|
+
"char": "e",
|
|
8224
|
+
"description": "Show only error details and context",
|
|
8225
|
+
"exclusive": [
|
|
8226
|
+
"step",
|
|
8227
|
+
"list"
|
|
8228
|
+
],
|
|
8229
|
+
"name": "errors",
|
|
8230
|
+
"allowNo": false,
|
|
8231
|
+
"type": "boolean"
|
|
8232
|
+
},
|
|
8233
|
+
"list": {
|
|
8234
|
+
"char": "l",
|
|
8235
|
+
"description": "List recent agent runs",
|
|
8236
|
+
"exclusive": [
|
|
8237
|
+
"step",
|
|
8238
|
+
"errors"
|
|
8239
|
+
],
|
|
8240
|
+
"name": "list",
|
|
8241
|
+
"allowNo": false,
|
|
8242
|
+
"type": "boolean"
|
|
8243
|
+
},
|
|
8244
|
+
"agent": {
|
|
8245
|
+
"char": "a",
|
|
8246
|
+
"dependsOn": [
|
|
8247
|
+
"list"
|
|
8248
|
+
],
|
|
8249
|
+
"description": "Filter by agent name",
|
|
8250
|
+
"name": "agent",
|
|
8251
|
+
"hasDynamicHelp": false,
|
|
8252
|
+
"multiple": false,
|
|
8253
|
+
"type": "option"
|
|
8254
|
+
},
|
|
8255
|
+
"status": {
|
|
8256
|
+
"dependsOn": [
|
|
8257
|
+
"list"
|
|
8258
|
+
],
|
|
8259
|
+
"description": "Filter by run status",
|
|
8260
|
+
"name": "status",
|
|
8261
|
+
"default": "all",
|
|
8262
|
+
"hasDynamicHelp": false,
|
|
8263
|
+
"multiple": false,
|
|
8264
|
+
"options": [
|
|
8265
|
+
"success",
|
|
8266
|
+
"failed",
|
|
8267
|
+
"running",
|
|
8268
|
+
"all"
|
|
8269
|
+
],
|
|
8270
|
+
"type": "option"
|
|
8271
|
+
},
|
|
8272
|
+
"days": {
|
|
8273
|
+
"dependsOn": [
|
|
8274
|
+
"list"
|
|
8275
|
+
],
|
|
8276
|
+
"description": "Number of days to look back",
|
|
8277
|
+
"name": "days",
|
|
8278
|
+
"default": 7,
|
|
8279
|
+
"hasDynamicHelp": false,
|
|
8280
|
+
"multiple": false,
|
|
8281
|
+
"type": "option"
|
|
8282
|
+
},
|
|
8283
|
+
"limit": {
|
|
8284
|
+
"dependsOn": [
|
|
8285
|
+
"list"
|
|
8286
|
+
],
|
|
8287
|
+
"description": "Maximum number of runs to return",
|
|
8288
|
+
"name": "limit",
|
|
8289
|
+
"default": 50,
|
|
8290
|
+
"hasDynamicHelp": false,
|
|
8291
|
+
"multiple": false,
|
|
8292
|
+
"type": "option"
|
|
8293
|
+
},
|
|
8294
|
+
"export": {
|
|
8295
|
+
"dependsOn": [
|
|
8296
|
+
"file"
|
|
8297
|
+
],
|
|
8298
|
+
"description": "Export full data to file",
|
|
8299
|
+
"name": "export",
|
|
8300
|
+
"hasDynamicHelp": false,
|
|
8301
|
+
"multiple": false,
|
|
8302
|
+
"options": [
|
|
8303
|
+
"full",
|
|
8304
|
+
"summary",
|
|
8305
|
+
"steps"
|
|
8306
|
+
],
|
|
8307
|
+
"type": "option"
|
|
8308
|
+
},
|
|
8309
|
+
"file": {
|
|
8310
|
+
"char": "f",
|
|
8311
|
+
"description": "Output file path for export",
|
|
8312
|
+
"name": "file",
|
|
8313
|
+
"hasDynamicHelp": false,
|
|
8314
|
+
"multiple": false,
|
|
8315
|
+
"type": "option"
|
|
8316
|
+
},
|
|
8317
|
+
"max-tokens": {
|
|
8318
|
+
"description": "Maximum tokens per field (0 = no limit)",
|
|
8319
|
+
"name": "max-tokens",
|
|
8320
|
+
"default": 5000,
|
|
8321
|
+
"hasDynamicHelp": false,
|
|
8322
|
+
"multiple": false,
|
|
8323
|
+
"type": "option"
|
|
8324
|
+
},
|
|
8325
|
+
"verbose": {
|
|
8326
|
+
"char": "v",
|
|
8327
|
+
"description": "Show detailed diagnostic information",
|
|
8328
|
+
"name": "verbose",
|
|
8329
|
+
"allowNo": false,
|
|
8330
|
+
"type": "boolean"
|
|
8331
|
+
}
|
|
8332
|
+
},
|
|
8333
|
+
"hasDynamicHelp": false,
|
|
8334
|
+
"hiddenAliases": [],
|
|
8335
|
+
"id": "ai:audit:agent-run",
|
|
8336
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8337
|
+
"pluginName": "@memberjunction/cli",
|
|
8338
|
+
"pluginType": "core",
|
|
8339
|
+
"strict": true,
|
|
8340
|
+
"enableJsonFlag": false,
|
|
8341
|
+
"isESM": true,
|
|
8342
|
+
"relativePath": [
|
|
8343
|
+
"dist",
|
|
8344
|
+
"commands",
|
|
8345
|
+
"ai",
|
|
8346
|
+
"audit",
|
|
8347
|
+
"agent-run.js"
|
|
8348
|
+
]
|
|
8349
|
+
},
|
|
8350
|
+
"ai:audit": {
|
|
8351
|
+
"aliases": [],
|
|
8352
|
+
"args": {},
|
|
8353
|
+
"description": "Analyze and audit AI agent runs, prompts, and actions for debugging and performance analysis",
|
|
8354
|
+
"flags": {},
|
|
8355
|
+
"hasDynamicHelp": false,
|
|
8356
|
+
"hidden": false,
|
|
8357
|
+
"hiddenAliases": [],
|
|
8358
|
+
"id": "ai:audit",
|
|
8359
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8360
|
+
"pluginName": "@memberjunction/cli",
|
|
8361
|
+
"pluginType": "core",
|
|
8362
|
+
"strict": true,
|
|
8363
|
+
"enableJsonFlag": false,
|
|
8364
|
+
"isESM": true,
|
|
8365
|
+
"relativePath": [
|
|
8366
|
+
"dist",
|
|
8367
|
+
"commands",
|
|
8368
|
+
"ai",
|
|
8369
|
+
"audit",
|
|
8370
|
+
"index.js"
|
|
8371
|
+
]
|
|
8372
|
+
},
|
|
8373
|
+
"ai:prompts:list": {
|
|
8374
|
+
"aliases": [],
|
|
8375
|
+
"args": {},
|
|
8376
|
+
"description": "List available models for prompt execution",
|
|
8377
|
+
"examples": [
|
|
8378
|
+
"<%= config.bin %> <%= command.id %>"
|
|
8379
|
+
],
|
|
8380
|
+
"flags": {
|
|
8381
|
+
"verbose": {
|
|
8382
|
+
"char": "v",
|
|
8383
|
+
"description": "Show detailed model information",
|
|
8384
|
+
"name": "verbose",
|
|
8385
|
+
"allowNo": false,
|
|
8386
|
+
"type": "boolean"
|
|
8387
|
+
}
|
|
8388
|
+
},
|
|
8389
|
+
"hasDynamicHelp": false,
|
|
8390
|
+
"hiddenAliases": [],
|
|
8391
|
+
"id": "ai:prompts:list",
|
|
8392
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8393
|
+
"pluginName": "@memberjunction/cli",
|
|
8394
|
+
"pluginType": "core",
|
|
8395
|
+
"strict": true,
|
|
8396
|
+
"enableJsonFlag": false,
|
|
8397
|
+
"isESM": true,
|
|
8398
|
+
"relativePath": [
|
|
8399
|
+
"dist",
|
|
8400
|
+
"commands",
|
|
8401
|
+
"ai",
|
|
8402
|
+
"prompts",
|
|
8403
|
+
"list.js"
|
|
8404
|
+
]
|
|
8405
|
+
},
|
|
8406
|
+
"ai:prompts:run": {
|
|
8407
|
+
"aliases": [],
|
|
8408
|
+
"args": {},
|
|
8409
|
+
"description": "Execute a direct prompt with an AI model",
|
|
8410
|
+
"examples": [
|
|
8411
|
+
"<%= config.bin %> <%= command.id %> -p \"Explain quantum computing in simple terms\"",
|
|
8412
|
+
"<%= config.bin %> <%= command.id %> -p \"Write a Python function to sort a list\" --model \"gpt-4\"",
|
|
8413
|
+
"<%= config.bin %> <%= command.id %> -p \"Translate to French: Hello world\" --temperature 0.3",
|
|
8414
|
+
"<%= config.bin %> <%= command.id %> -p \"Generate a haiku\" --system \"You are a poet\" --max-tokens 100"
|
|
8415
|
+
],
|
|
8416
|
+
"flags": {
|
|
8417
|
+
"prompt": {
|
|
8418
|
+
"char": "p",
|
|
8419
|
+
"description": "The prompt to execute",
|
|
8420
|
+
"name": "prompt",
|
|
8421
|
+
"required": true,
|
|
8422
|
+
"hasDynamicHelp": false,
|
|
8423
|
+
"multiple": false,
|
|
8424
|
+
"type": "option"
|
|
8425
|
+
},
|
|
8426
|
+
"model": {
|
|
8427
|
+
"char": "m",
|
|
8428
|
+
"description": "AI model to use (e.g., gpt-4, claude-3-opus)",
|
|
8429
|
+
"name": "model",
|
|
8430
|
+
"hasDynamicHelp": false,
|
|
8431
|
+
"multiple": false,
|
|
8432
|
+
"type": "option"
|
|
8433
|
+
},
|
|
8434
|
+
"system": {
|
|
8435
|
+
"char": "s",
|
|
8436
|
+
"description": "System prompt to set context",
|
|
8437
|
+
"name": "system",
|
|
8438
|
+
"hasDynamicHelp": false,
|
|
8439
|
+
"multiple": false,
|
|
8440
|
+
"type": "option"
|
|
8441
|
+
},
|
|
8442
|
+
"temperature": {
|
|
8443
|
+
"char": "t",
|
|
8444
|
+
"description": "Temperature for response creativity (0.0-2.0)",
|
|
8445
|
+
"name": "temperature",
|
|
8446
|
+
"hasDynamicHelp": false,
|
|
8447
|
+
"multiple": false,
|
|
8448
|
+
"type": "option"
|
|
8449
|
+
},
|
|
8450
|
+
"max-tokens": {
|
|
8451
|
+
"description": "Maximum tokens for the response",
|
|
8452
|
+
"name": "max-tokens",
|
|
8453
|
+
"hasDynamicHelp": false,
|
|
8454
|
+
"multiple": false,
|
|
8455
|
+
"type": "option"
|
|
8456
|
+
},
|
|
8457
|
+
"configuration": {
|
|
7718
8458
|
"char": "c",
|
|
7719
|
-
"description": "
|
|
7720
|
-
"
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
"name": "chat",
|
|
7725
|
-
"allowNo": false,
|
|
7726
|
-
"type": "boolean"
|
|
8459
|
+
"description": "AI Configuration ID to use",
|
|
8460
|
+
"name": "configuration",
|
|
8461
|
+
"hasDynamicHelp": false,
|
|
8462
|
+
"multiple": false,
|
|
8463
|
+
"type": "option"
|
|
7727
8464
|
},
|
|
7728
8465
|
"format": {
|
|
7729
8466
|
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
@@ -7774,7 +8511,7 @@
|
|
|
7774
8511
|
},
|
|
7775
8512
|
"hasDynamicHelp": false,
|
|
7776
8513
|
"hiddenAliases": [],
|
|
7777
|
-
"id": "ai:
|
|
8514
|
+
"id": "ai:prompts:run",
|
|
7778
8515
|
"pluginAlias": "@memberjunction/cli",
|
|
7779
8516
|
"pluginName": "@memberjunction/cli",
|
|
7780
8517
|
"pluginType": "core",
|
|
@@ -7785,198 +8522,160 @@
|
|
|
7785
8522
|
"dist",
|
|
7786
8523
|
"commands",
|
|
7787
8524
|
"ai",
|
|
7788
|
-
"
|
|
8525
|
+
"prompts",
|
|
7789
8526
|
"run.js"
|
|
7790
8527
|
]
|
|
7791
8528
|
},
|
|
7792
|
-
"
|
|
8529
|
+
"dev:workspace:clean": {
|
|
7793
8530
|
"aliases": [],
|
|
7794
|
-
"args": {
|
|
7795
|
-
|
|
7796
|
-
"description": "AI Agent Run ID to audit (UUID)",
|
|
7797
|
-
"name": "runId",
|
|
7798
|
-
"required": false
|
|
7799
|
-
}
|
|
7800
|
-
},
|
|
7801
|
-
"description": "Audit and analyze AI agent execution runs for debugging and performance analysis",
|
|
8531
|
+
"args": {},
|
|
8532
|
+
"description": "Remove exactly the generated cross-repo workspace residue at a parent directory: the three generated files, the .mj-dev-workspace.json sentinel, pnpm-lock.yaml and the node_modules tree, and takes the angular.json prebundle-exclude entries the sentinel records back out. Member repo checkouts are otherwise untouched, and .bak backups are never touched. Without --force a valid sentinel must be present, so a hand-made workspace cannot be torn down by accident. Preview first with --dry-run, which deletes nothing and exits 0.",
|
|
7802
8533
|
"examples": [
|
|
7803
|
-
"<%= config.bin %>
|
|
7804
|
-
"<%= config.bin %>
|
|
7805
|
-
"<%= config.bin %>
|
|
7806
|
-
"<%= config.bin %>
|
|
7807
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --errors",
|
|
7808
|
-
"<%= config.bin %> <%= command.id %> --list --agent \"Skip: Requirements Expert\"",
|
|
7809
|
-
"<%= config.bin %> <%= command.id %> --list --status failed --days 7",
|
|
7810
|
-
"<%= config.bin %> <%= command.id %> abc-123-def-456 --export full --file report.json"
|
|
8534
|
+
"<%= config.bin %> dev workspace clean --dir ~/code/bluecypress --dry-run",
|
|
8535
|
+
"<%= config.bin %> dev workspace clean --dir ~/code/bluecypress",
|
|
8536
|
+
"<%= config.bin %> dev workspace clean --dir ~/code/bluecypress --dry-run --force",
|
|
8537
|
+
"<%= config.bin %> dev workspace clean --dir ~/code/bluecypress --force"
|
|
7811
8538
|
],
|
|
7812
8539
|
"flags": {
|
|
7813
|
-
"
|
|
7814
|
-
"description": "
|
|
7815
|
-
"
|
|
7816
|
-
"
|
|
7817
|
-
"
|
|
7818
|
-
"options": [
|
|
7819
|
-
"text",
|
|
7820
|
-
"json",
|
|
7821
|
-
"md",
|
|
7822
|
-
"human",
|
|
7823
|
-
"console",
|
|
7824
|
-
"markdown",
|
|
7825
|
-
"compact",
|
|
7826
|
-
"table"
|
|
7827
|
-
],
|
|
7828
|
-
"type": "option"
|
|
7829
|
-
},
|
|
7830
|
-
"output": {
|
|
7831
|
-
"char": "o",
|
|
7832
|
-
"description": "Output format (legacy alias for --format in the 'mj ai' family; elsewhere -o is an output FILE path). Prefer --format.",
|
|
7833
|
-
"name": "output",
|
|
7834
|
-
"default": "compact",
|
|
7835
|
-
"hasDynamicHelp": false,
|
|
7836
|
-
"multiple": false,
|
|
7837
|
-
"options": [
|
|
7838
|
-
"compact",
|
|
7839
|
-
"json",
|
|
7840
|
-
"table",
|
|
7841
|
-
"markdown"
|
|
7842
|
-
],
|
|
7843
|
-
"type": "option"
|
|
7844
|
-
},
|
|
7845
|
-
"step": {
|
|
7846
|
-
"char": "s",
|
|
7847
|
-
"description": "Show details for specific step number (1-based index)",
|
|
7848
|
-
"exclusive": [
|
|
7849
|
-
"list",
|
|
7850
|
-
"errors"
|
|
7851
|
-
],
|
|
7852
|
-
"name": "step",
|
|
7853
|
-
"hasDynamicHelp": false,
|
|
7854
|
-
"multiple": false,
|
|
7855
|
-
"type": "option"
|
|
7856
|
-
},
|
|
7857
|
-
"detail": {
|
|
7858
|
-
"char": "d",
|
|
7859
|
-
"dependsOn": [
|
|
7860
|
-
"step"
|
|
7861
|
-
],
|
|
7862
|
-
"description": "Detail level for step output (default: standard)",
|
|
7863
|
-
"name": "detail",
|
|
8540
|
+
"dir": {
|
|
8541
|
+
"description": "Parent directory holding the sibling repo clones (must NOT itself be a git repo; env: MJ_DEV_WORKSPACE_DIR)",
|
|
8542
|
+
"env": "MJ_DEV_WORKSPACE_DIR",
|
|
8543
|
+
"name": "dir",
|
|
8544
|
+
"default": ".",
|
|
7864
8545
|
"hasDynamicHelp": false,
|
|
7865
8546
|
"multiple": false,
|
|
7866
|
-
"options": [
|
|
7867
|
-
"minimal",
|
|
7868
|
-
"standard",
|
|
7869
|
-
"detailed",
|
|
7870
|
-
"full"
|
|
7871
|
-
],
|
|
7872
8547
|
"type": "option"
|
|
7873
8548
|
},
|
|
7874
|
-
"
|
|
7875
|
-
"
|
|
7876
|
-
"
|
|
7877
|
-
"exclusive": [
|
|
7878
|
-
"step",
|
|
7879
|
-
"list"
|
|
7880
|
-
],
|
|
7881
|
-
"name": "errors",
|
|
8549
|
+
"dry-run": {
|
|
8550
|
+
"description": "List what would be removed and exit without deleting anything",
|
|
8551
|
+
"name": "dry-run",
|
|
7882
8552
|
"allowNo": false,
|
|
7883
8553
|
"type": "boolean"
|
|
7884
8554
|
},
|
|
7885
|
-
"
|
|
7886
|
-
"
|
|
7887
|
-
"
|
|
7888
|
-
"exclusive": [
|
|
7889
|
-
"step",
|
|
7890
|
-
"errors"
|
|
7891
|
-
],
|
|
7892
|
-
"name": "list",
|
|
8555
|
+
"force": {
|
|
8556
|
+
"description": "Clean even without the generator sentinel (hand-made or pre-sentinel workspaces)",
|
|
8557
|
+
"name": "force",
|
|
7893
8558
|
"allowNo": false,
|
|
7894
8559
|
"type": "boolean"
|
|
7895
|
-
}
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
"
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
"
|
|
7925
|
-
"
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
"
|
|
7929
|
-
"name": "days",
|
|
7930
|
-
"default": 7,
|
|
7931
|
-
"hasDynamicHelp": false,
|
|
7932
|
-
"multiple": false,
|
|
7933
|
-
"type": "option"
|
|
7934
|
-
},
|
|
7935
|
-
"limit": {
|
|
7936
|
-
"dependsOn": [
|
|
7937
|
-
"list"
|
|
7938
|
-
],
|
|
7939
|
-
"description": "Maximum number of runs to return",
|
|
7940
|
-
"name": "limit",
|
|
7941
|
-
"default": 50,
|
|
8560
|
+
}
|
|
8561
|
+
},
|
|
8562
|
+
"hasDynamicHelp": false,
|
|
8563
|
+
"hiddenAliases": [],
|
|
8564
|
+
"id": "dev:workspace:clean",
|
|
8565
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8566
|
+
"pluginName": "@memberjunction/cli",
|
|
8567
|
+
"pluginType": "core",
|
|
8568
|
+
"strict": true,
|
|
8569
|
+
"enableJsonFlag": false,
|
|
8570
|
+
"isESM": true,
|
|
8571
|
+
"relativePath": [
|
|
8572
|
+
"dist",
|
|
8573
|
+
"commands",
|
|
8574
|
+
"dev",
|
|
8575
|
+
"workspace",
|
|
8576
|
+
"clean.js"
|
|
8577
|
+
]
|
|
8578
|
+
},
|
|
8579
|
+
"dev:workspace:doctor": {
|
|
8580
|
+
"aliases": [],
|
|
8581
|
+
"args": {},
|
|
8582
|
+
"description": "Health-check the generated cross-repo pnpm workspace at a parent directory: workspace files, sentinel, pnpm pin vs. active version, member directories, detected-but-unlisted repos, members carrying a standalone install, a one-copy census of the parent package store (more than one @angular/core, rxjs, zone.js or MJ core/global is a FAIL), recorded angular.json prebundle-exclude entries still present (WARN when not), and member packages whose build output is missing (FAIL) or older than their source (WARN). Prints PASS/WARN/FAIL per check and exits non-zero on any FAIL. Read-only.",
|
|
8583
|
+
"examples": [
|
|
8584
|
+
"<%= config.bin %> dev workspace doctor",
|
|
8585
|
+
"<%= config.bin %> dev workspace doctor --dir ~/code/bluecypress",
|
|
8586
|
+
"MJ_DEV_WORKSPACE_DIR=~/code/bluecypress <%= config.bin %> dev workspace doctor"
|
|
8587
|
+
],
|
|
8588
|
+
"flags": {
|
|
8589
|
+
"dir": {
|
|
8590
|
+
"description": "Parent directory holding the sibling repo clones (env: MJ_DEV_WORKSPACE_DIR)",
|
|
8591
|
+
"env": "MJ_DEV_WORKSPACE_DIR",
|
|
8592
|
+
"name": "dir",
|
|
8593
|
+
"default": ".",
|
|
7942
8594
|
"hasDynamicHelp": false,
|
|
7943
8595
|
"multiple": false,
|
|
7944
8596
|
"type": "option"
|
|
7945
|
-
}
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
8597
|
+
}
|
|
8598
|
+
},
|
|
8599
|
+
"hasDynamicHelp": false,
|
|
8600
|
+
"hiddenAliases": [],
|
|
8601
|
+
"id": "dev:workspace:doctor",
|
|
8602
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8603
|
+
"pluginName": "@memberjunction/cli",
|
|
8604
|
+
"pluginType": "core",
|
|
8605
|
+
"strict": true,
|
|
8606
|
+
"enableJsonFlag": false,
|
|
8607
|
+
"isESM": true,
|
|
8608
|
+
"relativePath": [
|
|
8609
|
+
"dist",
|
|
8610
|
+
"commands",
|
|
8611
|
+
"dev",
|
|
8612
|
+
"workspace",
|
|
8613
|
+
"doctor.js"
|
|
8614
|
+
]
|
|
8615
|
+
},
|
|
8616
|
+
"dev:workspace": {
|
|
8617
|
+
"aliases": [],
|
|
8618
|
+
"args": {},
|
|
8619
|
+
"description": "Join sibling repo clones into one pnpm workspace: writes pnpm-workspace.yaml, .npmrc, package.json (with a `build` script for every member) and the .mj-dev-workspace.json sentinel at their common parent, then runs pnpm install there. Also adds the linked repos' npm scopes to each app shell's angular.json prebundle exclude (recorded in the sentinel; clean removes them). Members are the parent's immediate subdirectories carrying an mj-app.json, a @mj-biz-apps package, or the MJ monorepo root name. Existing files are never overwritten without --force (which keeps a .bak of each). Generated files are ephemeral — never commit them; tear them down with `dev workspace clean`.",
|
|
8620
|
+
"examples": [
|
|
8621
|
+
"<%= config.bin %> dev workspace --dir ~/code/bluecypress",
|
|
8622
|
+
"<%= config.bin %> dev workspace --dir ~/code/bluecypress --exclude bizapps-sonar",
|
|
8623
|
+
"<%= config.bin %> dev workspace --dir ~/code/bluecypress --include bizapps-common --include bizapps-tasks",
|
|
8624
|
+
"<%= config.bin %> dev workspace --dir ~/code/bluecypress --no-install --force",
|
|
8625
|
+
"MJ_DEV_WORKSPACE_DIR=~/code/bluecypress <%= config.bin %> dev workspace"
|
|
8626
|
+
],
|
|
8627
|
+
"flags": {
|
|
8628
|
+
"dir": {
|
|
8629
|
+
"description": "Parent directory holding the sibling repo clones (must NOT itself be a git repo; env: MJ_DEV_WORKSPACE_DIR)",
|
|
8630
|
+
"env": "MJ_DEV_WORKSPACE_DIR",
|
|
8631
|
+
"name": "dir",
|
|
8632
|
+
"default": ".",
|
|
7952
8633
|
"hasDynamicHelp": false,
|
|
7953
8634
|
"multiple": false,
|
|
7954
|
-
"options": [
|
|
7955
|
-
"full",
|
|
7956
|
-
"summary",
|
|
7957
|
-
"steps"
|
|
7958
|
-
],
|
|
7959
8635
|
"type": "option"
|
|
7960
8636
|
},
|
|
7961
|
-
"
|
|
7962
|
-
"
|
|
7963
|
-
"
|
|
7964
|
-
"name": "file",
|
|
8637
|
+
"include": {
|
|
8638
|
+
"description": "Repo directory name to include as a member (repeatable; adds to the detected set)",
|
|
8639
|
+
"name": "include",
|
|
7965
8640
|
"hasDynamicHelp": false,
|
|
7966
|
-
"multiple":
|
|
8641
|
+
"multiple": true,
|
|
7967
8642
|
"type": "option"
|
|
7968
8643
|
},
|
|
7969
|
-
"
|
|
7970
|
-
"description": "
|
|
7971
|
-
"name": "
|
|
7972
|
-
"default": 5000,
|
|
8644
|
+
"exclude": {
|
|
8645
|
+
"description": "Repo directory name to exclude from the members (repeatable)",
|
|
8646
|
+
"name": "exclude",
|
|
7973
8647
|
"hasDynamicHelp": false,
|
|
7974
|
-
"multiple":
|
|
8648
|
+
"multiple": true,
|
|
8649
|
+
"type": "option"
|
|
8650
|
+
},
|
|
8651
|
+
"apps": {
|
|
8652
|
+
"description": "Admit a member's app-shell packages, which the packages-rooted rule drops by default: <member>=<glob>[,<glob>] (e.g. Skip-Brain=apps/API,apps/MJAPI). The member must be detected or --include'd; names must be unique across the workspace.",
|
|
8653
|
+
"name": "apps",
|
|
8654
|
+
"hasDynamicHelp": false,
|
|
8655
|
+
"multiple": true,
|
|
7975
8656
|
"type": "option"
|
|
7976
8657
|
},
|
|
8658
|
+
"install": {
|
|
8659
|
+
"description": "Run `pnpm install` at the parent after generating (disable with --no-install)",
|
|
8660
|
+
"name": "install",
|
|
8661
|
+
"allowNo": true,
|
|
8662
|
+
"type": "boolean"
|
|
8663
|
+
},
|
|
8664
|
+
"force": {
|
|
8665
|
+
"description": "Overwrite existing workspace files at the parent (a .bak copy of each is kept)",
|
|
8666
|
+
"name": "force",
|
|
8667
|
+
"allowNo": false,
|
|
8668
|
+
"type": "boolean"
|
|
8669
|
+
},
|
|
8670
|
+
"clean-members": {
|
|
8671
|
+
"description": "Remove members' standalone node_modules trees (root AND nested, depth-independent) before the parent install; --no-clean-members keeps them. Without either flag, an interactive run asks per member.",
|
|
8672
|
+
"name": "clean-members",
|
|
8673
|
+
"allowNo": true,
|
|
8674
|
+
"type": "boolean"
|
|
8675
|
+
},
|
|
7977
8676
|
"verbose": {
|
|
7978
8677
|
"char": "v",
|
|
7979
|
-
"description": "Show detailed
|
|
8678
|
+
"description": "Show detailed output",
|
|
7980
8679
|
"name": "verbose",
|
|
7981
8680
|
"allowNo": false,
|
|
7982
8681
|
"type": "boolean"
|
|
@@ -7984,30 +8683,7 @@
|
|
|
7984
8683
|
},
|
|
7985
8684
|
"hasDynamicHelp": false,
|
|
7986
8685
|
"hiddenAliases": [],
|
|
7987
|
-
"id": "
|
|
7988
|
-
"pluginAlias": "@memberjunction/cli",
|
|
7989
|
-
"pluginName": "@memberjunction/cli",
|
|
7990
|
-
"pluginType": "core",
|
|
7991
|
-
"strict": true,
|
|
7992
|
-
"enableJsonFlag": false,
|
|
7993
|
-
"isESM": true,
|
|
7994
|
-
"relativePath": [
|
|
7995
|
-
"dist",
|
|
7996
|
-
"commands",
|
|
7997
|
-
"ai",
|
|
7998
|
-
"audit",
|
|
7999
|
-
"agent-run.js"
|
|
8000
|
-
]
|
|
8001
|
-
},
|
|
8002
|
-
"ai:audit": {
|
|
8003
|
-
"aliases": [],
|
|
8004
|
-
"args": {},
|
|
8005
|
-
"description": "Analyze and audit AI agent runs, prompts, and actions for debugging and performance analysis",
|
|
8006
|
-
"flags": {},
|
|
8007
|
-
"hasDynamicHelp": false,
|
|
8008
|
-
"hidden": false,
|
|
8009
|
-
"hiddenAliases": [],
|
|
8010
|
-
"id": "ai:audit",
|
|
8686
|
+
"id": "dev:workspace",
|
|
8011
8687
|
"pluginAlias": "@memberjunction/cli",
|
|
8012
8688
|
"pluginName": "@memberjunction/cli",
|
|
8013
8689
|
"pluginType": "core",
|
|
@@ -8017,30 +8693,34 @@
|
|
|
8017
8693
|
"relativePath": [
|
|
8018
8694
|
"dist",
|
|
8019
8695
|
"commands",
|
|
8020
|
-
"
|
|
8021
|
-
"
|
|
8696
|
+
"dev",
|
|
8697
|
+
"workspace",
|
|
8022
8698
|
"index.js"
|
|
8023
8699
|
]
|
|
8024
8700
|
},
|
|
8025
|
-
"
|
|
8701
|
+
"dev:workspace:status": {
|
|
8026
8702
|
"aliases": [],
|
|
8027
8703
|
"args": {},
|
|
8028
|
-
"description": "
|
|
8704
|
+
"description": "Report the state of the generated cross-repo pnpm workspace at a parent directory: generated files, lockfile, node_modules, sentinel presence, members vs. detected candidates, and the pnpm pin. Read-only.",
|
|
8029
8705
|
"examples": [
|
|
8030
|
-
"<%= config.bin %>
|
|
8706
|
+
"<%= config.bin %> dev workspace status",
|
|
8707
|
+
"<%= config.bin %> dev workspace status --dir ~/code/bluecypress",
|
|
8708
|
+
"MJ_DEV_WORKSPACE_DIR=~/code/bluecypress <%= config.bin %> dev workspace status"
|
|
8031
8709
|
],
|
|
8032
8710
|
"flags": {
|
|
8033
|
-
"
|
|
8034
|
-
"
|
|
8035
|
-
"
|
|
8036
|
-
"name": "
|
|
8037
|
-
"
|
|
8038
|
-
"
|
|
8711
|
+
"dir": {
|
|
8712
|
+
"description": "Parent directory holding the sibling repo clones (env: MJ_DEV_WORKSPACE_DIR)",
|
|
8713
|
+
"env": "MJ_DEV_WORKSPACE_DIR",
|
|
8714
|
+
"name": "dir",
|
|
8715
|
+
"default": ".",
|
|
8716
|
+
"hasDynamicHelp": false,
|
|
8717
|
+
"multiple": false,
|
|
8718
|
+
"type": "option"
|
|
8039
8719
|
}
|
|
8040
8720
|
},
|
|
8041
8721
|
"hasDynamicHelp": false,
|
|
8042
8722
|
"hiddenAliases": [],
|
|
8043
|
-
"id": "
|
|
8723
|
+
"id": "dev:workspace:status",
|
|
8044
8724
|
"pluginAlias": "@memberjunction/cli",
|
|
8045
8725
|
"pluginName": "@memberjunction/cli",
|
|
8046
8726
|
"pluginType": "core",
|
|
@@ -8050,112 +8730,197 @@
|
|
|
8050
8730
|
"relativePath": [
|
|
8051
8731
|
"dist",
|
|
8052
8732
|
"commands",
|
|
8053
|
-
"
|
|
8054
|
-
"
|
|
8055
|
-
"
|
|
8733
|
+
"dev",
|
|
8734
|
+
"workspace",
|
|
8735
|
+
"status.js"
|
|
8056
8736
|
]
|
|
8057
8737
|
},
|
|
8058
|
-
"
|
|
8738
|
+
"harness:account:add": {
|
|
8059
8739
|
"aliases": [],
|
|
8060
|
-
"args": {
|
|
8061
|
-
|
|
8740
|
+
"args": {
|
|
8741
|
+
"vendor": {
|
|
8742
|
+
"description": "CLI vendor (claude, agy, codex, gemini; aliases: claude-code, antigravity, openai-codex, gemini-cli)",
|
|
8743
|
+
"name": "vendor",
|
|
8744
|
+
"required": true
|
|
8745
|
+
}
|
|
8746
|
+
},
|
|
8747
|
+
"description": "Enroll a new isolated CLI subscription account slot and optionally run its interactive login flow",
|
|
8062
8748
|
"examples": [
|
|
8063
|
-
"<%= config.bin %> <%= command.id %>
|
|
8064
|
-
"<%= config.bin %> <%= command.id %>
|
|
8065
|
-
"<%= config.bin %> <%= command.id %>
|
|
8066
|
-
"<%= config.bin %> <%= command.id %>
|
|
8749
|
+
"<%= config.bin %> <%= command.id %> claude --label \"Pro #2\" --weight 2 --priority 50",
|
|
8750
|
+
"<%= config.bin %> <%= command.id %> agy --label \"Team Seat\"",
|
|
8751
|
+
"<%= config.bin %> <%= command.id %> codex --label \"Codex #2\" --no-login",
|
|
8752
|
+
"<%= config.bin %> <%= command.id %> gemini --label \"Gemini Alt\""
|
|
8067
8753
|
],
|
|
8068
8754
|
"flags": {
|
|
8069
|
-
"
|
|
8070
|
-
"char": "
|
|
8071
|
-
"description": "
|
|
8072
|
-
"name": "
|
|
8073
|
-
"required": true,
|
|
8755
|
+
"label": {
|
|
8756
|
+
"char": "l",
|
|
8757
|
+
"description": "Human-friendly label for this account slot",
|
|
8758
|
+
"name": "label",
|
|
8074
8759
|
"hasDynamicHelp": false,
|
|
8075
8760
|
"multiple": false,
|
|
8076
8761
|
"type": "option"
|
|
8077
8762
|
},
|
|
8078
|
-
"
|
|
8079
|
-
"
|
|
8080
|
-
"
|
|
8081
|
-
"name": "model",
|
|
8763
|
+
"slot-id": {
|
|
8764
|
+
"description": "Optional explicit slot ID (auto-generated from vendor + label when omitted)",
|
|
8765
|
+
"name": "slot-id",
|
|
8082
8766
|
"hasDynamicHelp": false,
|
|
8083
8767
|
"multiple": false,
|
|
8084
8768
|
"type": "option"
|
|
8085
8769
|
},
|
|
8086
|
-
"
|
|
8087
|
-
"char": "
|
|
8088
|
-
"description": "
|
|
8089
|
-
"name": "
|
|
8770
|
+
"weight": {
|
|
8771
|
+
"char": "w",
|
|
8772
|
+
"description": "Relative balancing weight (>= 1, default 1)",
|
|
8773
|
+
"name": "weight",
|
|
8774
|
+
"default": 1,
|
|
8090
8775
|
"hasDynamicHelp": false,
|
|
8091
8776
|
"multiple": false,
|
|
8092
8777
|
"type": "option"
|
|
8093
8778
|
},
|
|
8094
|
-
"
|
|
8095
|
-
"char": "
|
|
8096
|
-
"description": "
|
|
8097
|
-
"name": "
|
|
8779
|
+
"priority": {
|
|
8780
|
+
"char": "p",
|
|
8781
|
+
"description": "Failover priority (lower number = higher priority, default 100)",
|
|
8782
|
+
"name": "priority",
|
|
8783
|
+
"default": 100,
|
|
8098
8784
|
"hasDynamicHelp": false,
|
|
8099
8785
|
"multiple": false,
|
|
8100
8786
|
"type": "option"
|
|
8101
8787
|
},
|
|
8102
|
-
"
|
|
8103
|
-
"description": "
|
|
8104
|
-
"name": "
|
|
8788
|
+
"no-login": {
|
|
8789
|
+
"description": "Create the isolated slot directory and register it without launching interactive login",
|
|
8790
|
+
"name": "no-login",
|
|
8791
|
+
"allowNo": false,
|
|
8792
|
+
"type": "boolean"
|
|
8793
|
+
},
|
|
8794
|
+
"oauth-token": {
|
|
8795
|
+
"description": "Optional OAuth setup token value (e.g. CLAUDE_CODE_OAUTH_TOKEN) stored on the slot",
|
|
8796
|
+
"name": "oauth-token",
|
|
8105
8797
|
"hasDynamicHelp": false,
|
|
8106
8798
|
"multiple": false,
|
|
8107
8799
|
"type": "option"
|
|
8108
8800
|
},
|
|
8109
|
-
"
|
|
8110
|
-
"
|
|
8111
|
-
"
|
|
8112
|
-
"name": "configuration",
|
|
8801
|
+
"pool-dir": {
|
|
8802
|
+
"description": "Override account pool storage directory",
|
|
8803
|
+
"name": "pool-dir",
|
|
8113
8804
|
"hasDynamicHelp": false,
|
|
8114
8805
|
"multiple": false,
|
|
8115
8806
|
"type": "option"
|
|
8116
|
-
}
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8807
|
+
}
|
|
8808
|
+
},
|
|
8809
|
+
"hasDynamicHelp": false,
|
|
8810
|
+
"hiddenAliases": [],
|
|
8811
|
+
"id": "harness:account:add",
|
|
8812
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8813
|
+
"pluginName": "@memberjunction/cli",
|
|
8814
|
+
"pluginType": "core",
|
|
8815
|
+
"strict": true,
|
|
8816
|
+
"enableJsonFlag": false,
|
|
8817
|
+
"isESM": true,
|
|
8818
|
+
"relativePath": [
|
|
8819
|
+
"dist",
|
|
8820
|
+
"commands",
|
|
8821
|
+
"harness",
|
|
8822
|
+
"account",
|
|
8823
|
+
"add.js"
|
|
8824
|
+
]
|
|
8825
|
+
},
|
|
8826
|
+
"harness:account:clear-cooldown": {
|
|
8827
|
+
"aliases": [],
|
|
8828
|
+
"args": {
|
|
8829
|
+
"slotId": {
|
|
8830
|
+
"description": "Slot ID whose cooldown should be cleared",
|
|
8831
|
+
"name": "slotId",
|
|
8832
|
+
"required": true
|
|
8833
|
+
}
|
|
8834
|
+
},
|
|
8835
|
+
"description": "Clear active quota/rate-limit cooldown state on a CLI account slot",
|
|
8836
|
+
"examples": [
|
|
8837
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
8838
|
+
"<%= config.bin %> <%= command.id %> os-default-claude"
|
|
8839
|
+
],
|
|
8840
|
+
"flags": {
|
|
8841
|
+
"pool-dir": {
|
|
8842
|
+
"description": "Override account pool storage directory",
|
|
8843
|
+
"name": "pool-dir",
|
|
8120
8844
|
"hasDynamicHelp": false,
|
|
8121
8845
|
"multiple": false,
|
|
8122
|
-
"options": [
|
|
8123
|
-
"text",
|
|
8124
|
-
"json",
|
|
8125
|
-
"md",
|
|
8126
|
-
"human",
|
|
8127
|
-
"console",
|
|
8128
|
-
"markdown",
|
|
8129
|
-
"compact",
|
|
8130
|
-
"table"
|
|
8131
|
-
],
|
|
8132
8846
|
"type": "option"
|
|
8133
|
-
}
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8847
|
+
}
|
|
8848
|
+
},
|
|
8849
|
+
"hasDynamicHelp": false,
|
|
8850
|
+
"hiddenAliases": [],
|
|
8851
|
+
"id": "harness:account:clear-cooldown",
|
|
8852
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8853
|
+
"pluginName": "@memberjunction/cli",
|
|
8854
|
+
"pluginType": "core",
|
|
8855
|
+
"strict": true,
|
|
8856
|
+
"enableJsonFlag": false,
|
|
8857
|
+
"isESM": true,
|
|
8858
|
+
"relativePath": [
|
|
8859
|
+
"dist",
|
|
8860
|
+
"commands",
|
|
8861
|
+
"harness",
|
|
8862
|
+
"account",
|
|
8863
|
+
"clear-cooldown.js"
|
|
8864
|
+
]
|
|
8865
|
+
},
|
|
8866
|
+
"harness:account:disable": {
|
|
8867
|
+
"aliases": [],
|
|
8868
|
+
"args": {
|
|
8869
|
+
"slotId": {
|
|
8870
|
+
"description": "Slot ID to disable",
|
|
8871
|
+
"name": "slotId",
|
|
8872
|
+
"required": true
|
|
8873
|
+
}
|
|
8874
|
+
},
|
|
8875
|
+
"description": "Disable a CLI subscription account slot without deleting its credentials",
|
|
8876
|
+
"examples": [
|
|
8877
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
8878
|
+
"<%= config.bin %> <%= command.id %> os-default-claude"
|
|
8879
|
+
],
|
|
8880
|
+
"flags": {
|
|
8881
|
+
"pool-dir": {
|
|
8882
|
+
"description": "Override account pool storage directory",
|
|
8883
|
+
"name": "pool-dir",
|
|
8139
8884
|
"hasDynamicHelp": false,
|
|
8140
8885
|
"multiple": false,
|
|
8141
|
-
"options": [
|
|
8142
|
-
"compact",
|
|
8143
|
-
"json",
|
|
8144
|
-
"table"
|
|
8145
|
-
],
|
|
8146
8886
|
"type": "option"
|
|
8147
|
-
}
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8887
|
+
}
|
|
8888
|
+
},
|
|
8889
|
+
"hasDynamicHelp": false,
|
|
8890
|
+
"hiddenAliases": [],
|
|
8891
|
+
"id": "harness:account:disable",
|
|
8892
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8893
|
+
"pluginName": "@memberjunction/cli",
|
|
8894
|
+
"pluginType": "core",
|
|
8895
|
+
"strict": true,
|
|
8896
|
+
"enableJsonFlag": false,
|
|
8897
|
+
"isESM": true,
|
|
8898
|
+
"relativePath": [
|
|
8899
|
+
"dist",
|
|
8900
|
+
"commands",
|
|
8901
|
+
"harness",
|
|
8902
|
+
"account",
|
|
8903
|
+
"disable.js"
|
|
8904
|
+
]
|
|
8905
|
+
},
|
|
8906
|
+
"harness:account:enable": {
|
|
8907
|
+
"aliases": [],
|
|
8908
|
+
"args": {
|
|
8909
|
+
"slotId": {
|
|
8910
|
+
"description": "Slot ID to enable",
|
|
8911
|
+
"name": "slotId",
|
|
8912
|
+
"required": true
|
|
8913
|
+
}
|
|
8914
|
+
},
|
|
8915
|
+
"description": "Enable a CLI subscription account slot for automatic balancing",
|
|
8916
|
+
"examples": [
|
|
8917
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
8918
|
+
"<%= config.bin %> <%= command.id %> os-default-claude"
|
|
8919
|
+
],
|
|
8920
|
+
"flags": {
|
|
8921
|
+
"pool-dir": {
|
|
8922
|
+
"description": "Override account pool storage directory",
|
|
8923
|
+
"name": "pool-dir",
|
|
8159
8924
|
"hasDynamicHelp": false,
|
|
8160
8925
|
"multiple": false,
|
|
8161
8926
|
"type": "option"
|
|
@@ -8163,7 +8928,7 @@
|
|
|
8163
8928
|
},
|
|
8164
8929
|
"hasDynamicHelp": false,
|
|
8165
8930
|
"hiddenAliases": [],
|
|
8166
|
-
"id": "
|
|
8931
|
+
"id": "harness:account:enable",
|
|
8167
8932
|
"pluginAlias": "@memberjunction/cli",
|
|
8168
8933
|
"pluginName": "@memberjunction/cli",
|
|
8169
8934
|
"pluginType": "core",
|
|
@@ -8173,47 +8938,74 @@
|
|
|
8173
8938
|
"relativePath": [
|
|
8174
8939
|
"dist",
|
|
8175
8940
|
"commands",
|
|
8176
|
-
"
|
|
8177
|
-
"
|
|
8178
|
-
"
|
|
8941
|
+
"harness",
|
|
8942
|
+
"account",
|
|
8943
|
+
"enable.js"
|
|
8179
8944
|
]
|
|
8180
8945
|
},
|
|
8181
|
-
"
|
|
8946
|
+
"harness:account": {
|
|
8182
8947
|
"aliases": [],
|
|
8183
8948
|
"args": {},
|
|
8184
|
-
"description": "
|
|
8949
|
+
"description": "Manage multi-account CLI subscription pool slots and balancing strategy",
|
|
8185
8950
|
"examples": [
|
|
8186
|
-
"<%= config.bin %>
|
|
8187
|
-
"<%= config.bin %>
|
|
8188
|
-
"<%= config.bin %>
|
|
8189
|
-
"<%= config.bin %>
|
|
8951
|
+
"<%= config.bin %> <%= command.id %> list",
|
|
8952
|
+
"<%= config.bin %> <%= command.id %> add claude --label \"Team Seat\"",
|
|
8953
|
+
"<%= config.bin %> <%= command.id %> login claude-team-seat",
|
|
8954
|
+
"<%= config.bin %> <%= command.id %> set-strategy weighted"
|
|
8955
|
+
],
|
|
8956
|
+
"flags": {},
|
|
8957
|
+
"hasDynamicHelp": false,
|
|
8958
|
+
"hiddenAliases": [],
|
|
8959
|
+
"id": "harness:account",
|
|
8960
|
+
"pluginAlias": "@memberjunction/cli",
|
|
8961
|
+
"pluginName": "@memberjunction/cli",
|
|
8962
|
+
"pluginType": "core",
|
|
8963
|
+
"strict": true,
|
|
8964
|
+
"enableJsonFlag": false,
|
|
8965
|
+
"isESM": true,
|
|
8966
|
+
"relativePath": [
|
|
8967
|
+
"dist",
|
|
8968
|
+
"commands",
|
|
8969
|
+
"harness",
|
|
8970
|
+
"account",
|
|
8971
|
+
"index.js"
|
|
8972
|
+
]
|
|
8973
|
+
},
|
|
8974
|
+
"harness:account:list": {
|
|
8975
|
+
"aliases": [],
|
|
8976
|
+
"args": {},
|
|
8977
|
+
"description": "List enrolled and OS-default CLI subscription account slots, auth status, active leases, cooldowns, and balancing strategy",
|
|
8978
|
+
"examples": [
|
|
8979
|
+
"<%= config.bin %> <%= command.id %>",
|
|
8980
|
+
"<%= config.bin %> <%= command.id %> --vendor claude",
|
|
8981
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
8190
8982
|
],
|
|
8191
8983
|
"flags": {
|
|
8192
|
-
"
|
|
8193
|
-
"
|
|
8194
|
-
"
|
|
8195
|
-
"name": "
|
|
8196
|
-
"default": ".",
|
|
8984
|
+
"vendor": {
|
|
8985
|
+
"char": "v",
|
|
8986
|
+
"description": "Filter by vendor (claude, agy, codex, gemini)",
|
|
8987
|
+
"name": "vendor",
|
|
8197
8988
|
"hasDynamicHelp": false,
|
|
8198
8989
|
"multiple": false,
|
|
8199
8990
|
"type": "option"
|
|
8200
8991
|
},
|
|
8201
|
-
"
|
|
8202
|
-
"description": "
|
|
8203
|
-
"name": "
|
|
8992
|
+
"json": {
|
|
8993
|
+
"description": "Print machine-readable JSON instead of a table",
|
|
8994
|
+
"name": "json",
|
|
8204
8995
|
"allowNo": false,
|
|
8205
8996
|
"type": "boolean"
|
|
8206
8997
|
},
|
|
8207
|
-
"
|
|
8208
|
-
"description": "
|
|
8209
|
-
"name": "
|
|
8210
|
-
"
|
|
8211
|
-
"
|
|
8998
|
+
"pool-dir": {
|
|
8999
|
+
"description": "Override account pool storage directory (default: MJ_HARNESS_ACCOUNT_POOL_DIR or ~/.mj/harness-accounts)",
|
|
9000
|
+
"name": "pool-dir",
|
|
9001
|
+
"hasDynamicHelp": false,
|
|
9002
|
+
"multiple": false,
|
|
9003
|
+
"type": "option"
|
|
8212
9004
|
}
|
|
8213
9005
|
},
|
|
8214
9006
|
"hasDynamicHelp": false,
|
|
8215
9007
|
"hiddenAliases": [],
|
|
8216
|
-
"id": "
|
|
9008
|
+
"id": "harness:account:list",
|
|
8217
9009
|
"pluginAlias": "@memberjunction/cli",
|
|
8218
9010
|
"pluginName": "@memberjunction/cli",
|
|
8219
9011
|
"pluginType": "core",
|
|
@@ -8223,26 +9015,29 @@
|
|
|
8223
9015
|
"relativePath": [
|
|
8224
9016
|
"dist",
|
|
8225
9017
|
"commands",
|
|
8226
|
-
"
|
|
8227
|
-
"
|
|
8228
|
-
"
|
|
9018
|
+
"harness",
|
|
9019
|
+
"account",
|
|
9020
|
+
"list.js"
|
|
8229
9021
|
]
|
|
8230
9022
|
},
|
|
8231
|
-
"
|
|
9023
|
+
"harness:account:login": {
|
|
8232
9024
|
"aliases": [],
|
|
8233
|
-
"args": {
|
|
8234
|
-
|
|
9025
|
+
"args": {
|
|
9026
|
+
"slotId": {
|
|
9027
|
+
"description": "Slot ID to authenticate (see `mj harness account list`)",
|
|
9028
|
+
"name": "slotId",
|
|
9029
|
+
"required": true
|
|
9030
|
+
}
|
|
9031
|
+
},
|
|
9032
|
+
"description": "Re-run interactive CLI login for an existing account slot and clear any active quota cooldown",
|
|
8235
9033
|
"examples": [
|
|
8236
|
-
"<%= config.bin %>
|
|
8237
|
-
"<%= config.bin %>
|
|
8238
|
-
"MJ_DEV_WORKSPACE_DIR=~/code/bluecypress <%= config.bin %> dev workspace doctor"
|
|
9034
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
9035
|
+
"<%= config.bin %> <%= command.id %> os-default-agy"
|
|
8239
9036
|
],
|
|
8240
9037
|
"flags": {
|
|
8241
|
-
"dir": {
|
|
8242
|
-
"description": "
|
|
8243
|
-
"
|
|
8244
|
-
"name": "dir",
|
|
8245
|
-
"default": ".",
|
|
9038
|
+
"pool-dir": {
|
|
9039
|
+
"description": "Override account pool storage directory",
|
|
9040
|
+
"name": "pool-dir",
|
|
8246
9041
|
"hasDynamicHelp": false,
|
|
8247
9042
|
"multiple": false,
|
|
8248
9043
|
"type": "option"
|
|
@@ -8250,7 +9045,7 @@
|
|
|
8250
9045
|
},
|
|
8251
9046
|
"hasDynamicHelp": false,
|
|
8252
9047
|
"hiddenAliases": [],
|
|
8253
|
-
"id": "
|
|
9048
|
+
"id": "harness:account:login",
|
|
8254
9049
|
"pluginAlias": "@memberjunction/cli",
|
|
8255
9050
|
"pluginName": "@memberjunction/cli",
|
|
8256
9051
|
"pluginType": "core",
|
|
@@ -8260,82 +9055,43 @@
|
|
|
8260
9055
|
"relativePath": [
|
|
8261
9056
|
"dist",
|
|
8262
9057
|
"commands",
|
|
8263
|
-
"
|
|
8264
|
-
"
|
|
8265
|
-
"
|
|
9058
|
+
"harness",
|
|
9059
|
+
"account",
|
|
9060
|
+
"login.js"
|
|
8266
9061
|
]
|
|
8267
9062
|
},
|
|
8268
|
-
"
|
|
9063
|
+
"harness:account:remove": {
|
|
8269
9064
|
"aliases": [],
|
|
8270
|
-
"args": {
|
|
8271
|
-
|
|
9065
|
+
"args": {
|
|
9066
|
+
"slotId": {
|
|
9067
|
+
"description": "Enrolled slot ID to remove",
|
|
9068
|
+
"name": "slotId",
|
|
9069
|
+
"required": true
|
|
9070
|
+
}
|
|
9071
|
+
},
|
|
9072
|
+
"description": "Remove an enrolled CLI subscription account slot from the pool",
|
|
8272
9073
|
"examples": [
|
|
8273
|
-
"<%= config.bin %>
|
|
8274
|
-
"<%= config.bin %>
|
|
8275
|
-
"<%= config.bin %> dev workspace --dir ~/code/bluecypress --include bizapps-common --include bizapps-tasks",
|
|
8276
|
-
"<%= config.bin %> dev workspace --dir ~/code/bluecypress --no-install --force",
|
|
8277
|
-
"MJ_DEV_WORKSPACE_DIR=~/code/bluecypress <%= config.bin %> dev workspace"
|
|
9074
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2",
|
|
9075
|
+
"<%= config.bin %> <%= command.id %> claude-pro-2 --purge-files"
|
|
8278
9076
|
],
|
|
8279
9077
|
"flags": {
|
|
8280
|
-
"
|
|
8281
|
-
"description": "
|
|
8282
|
-
"
|
|
8283
|
-
"name": "dir",
|
|
8284
|
-
"default": ".",
|
|
8285
|
-
"hasDynamicHelp": false,
|
|
8286
|
-
"multiple": false,
|
|
8287
|
-
"type": "option"
|
|
8288
|
-
},
|
|
8289
|
-
"include": {
|
|
8290
|
-
"description": "Repo directory name to include as a member (repeatable; adds to the detected set)",
|
|
8291
|
-
"name": "include",
|
|
8292
|
-
"hasDynamicHelp": false,
|
|
8293
|
-
"multiple": true,
|
|
8294
|
-
"type": "option"
|
|
8295
|
-
},
|
|
8296
|
-
"exclude": {
|
|
8297
|
-
"description": "Repo directory name to exclude from the members (repeatable)",
|
|
8298
|
-
"name": "exclude",
|
|
8299
|
-
"hasDynamicHelp": false,
|
|
8300
|
-
"multiple": true,
|
|
8301
|
-
"type": "option"
|
|
8302
|
-
},
|
|
8303
|
-
"apps": {
|
|
8304
|
-
"description": "Admit a member's app-shell packages, which the packages-rooted rule drops by default: <member>=<glob>[,<glob>] (e.g. Skip-Brain=apps/API,apps/MJAPI). The member must be detected or --include'd; names must be unique across the workspace.",
|
|
8305
|
-
"name": "apps",
|
|
8306
|
-
"hasDynamicHelp": false,
|
|
8307
|
-
"multiple": true,
|
|
8308
|
-
"type": "option"
|
|
8309
|
-
},
|
|
8310
|
-
"install": {
|
|
8311
|
-
"description": "Run `pnpm install` at the parent after generating (disable with --no-install)",
|
|
8312
|
-
"name": "install",
|
|
8313
|
-
"allowNo": true,
|
|
8314
|
-
"type": "boolean"
|
|
8315
|
-
},
|
|
8316
|
-
"force": {
|
|
8317
|
-
"description": "Overwrite existing workspace files at the parent (a .bak copy of each is kept)",
|
|
8318
|
-
"name": "force",
|
|
9078
|
+
"purge-files": {
|
|
9079
|
+
"description": "Also delete the isolated slot directory under the pool root",
|
|
9080
|
+
"name": "purge-files",
|
|
8319
9081
|
"allowNo": false,
|
|
8320
9082
|
"type": "boolean"
|
|
8321
9083
|
},
|
|
8322
|
-
"
|
|
8323
|
-
"description": "
|
|
8324
|
-
"name": "
|
|
8325
|
-
"
|
|
8326
|
-
"
|
|
8327
|
-
|
|
8328
|
-
"verbose": {
|
|
8329
|
-
"char": "v",
|
|
8330
|
-
"description": "Show detailed output",
|
|
8331
|
-
"name": "verbose",
|
|
8332
|
-
"allowNo": false,
|
|
8333
|
-
"type": "boolean"
|
|
9084
|
+
"pool-dir": {
|
|
9085
|
+
"description": "Override account pool storage directory",
|
|
9086
|
+
"name": "pool-dir",
|
|
9087
|
+
"hasDynamicHelp": false,
|
|
9088
|
+
"multiple": false,
|
|
9089
|
+
"type": "option"
|
|
8334
9090
|
}
|
|
8335
9091
|
},
|
|
8336
9092
|
"hasDynamicHelp": false,
|
|
8337
9093
|
"hiddenAliases": [],
|
|
8338
|
-
"id": "
|
|
9094
|
+
"id": "harness:account:remove",
|
|
8339
9095
|
"pluginAlias": "@memberjunction/cli",
|
|
8340
9096
|
"pluginName": "@memberjunction/cli",
|
|
8341
9097
|
"pluginType": "core",
|
|
@@ -8345,26 +9101,31 @@
|
|
|
8345
9101
|
"relativePath": [
|
|
8346
9102
|
"dist",
|
|
8347
9103
|
"commands",
|
|
8348
|
-
"
|
|
8349
|
-
"
|
|
8350
|
-
"
|
|
9104
|
+
"harness",
|
|
9105
|
+
"account",
|
|
9106
|
+
"remove.js"
|
|
8351
9107
|
]
|
|
8352
9108
|
},
|
|
8353
|
-
"
|
|
9109
|
+
"harness:account:set-strategy": {
|
|
8354
9110
|
"aliases": [],
|
|
8355
|
-
"args": {
|
|
8356
|
-
|
|
9111
|
+
"args": {
|
|
9112
|
+
"strategy": {
|
|
9113
|
+
"description": "Selection strategy (least-in-flight, round-robin, weighted, priority-failover)",
|
|
9114
|
+
"name": "strategy",
|
|
9115
|
+
"required": true
|
|
9116
|
+
}
|
|
9117
|
+
},
|
|
9118
|
+
"description": "Set the default multi-account CLI pool balancing strategy",
|
|
8357
9119
|
"examples": [
|
|
8358
|
-
"<%= config.bin %>
|
|
8359
|
-
"<%= config.bin %>
|
|
8360
|
-
"
|
|
9120
|
+
"<%= config.bin %> <%= command.id %> least-in-flight",
|
|
9121
|
+
"<%= config.bin %> <%= command.id %> round-robin",
|
|
9122
|
+
"<%= config.bin %> <%= command.id %> weighted",
|
|
9123
|
+
"<%= config.bin %> <%= command.id %> priority-failover"
|
|
8361
9124
|
],
|
|
8362
9125
|
"flags": {
|
|
8363
|
-
"dir": {
|
|
8364
|
-
"description": "
|
|
8365
|
-
"
|
|
8366
|
-
"name": "dir",
|
|
8367
|
-
"default": ".",
|
|
9126
|
+
"pool-dir": {
|
|
9127
|
+
"description": "Override account pool storage directory",
|
|
9128
|
+
"name": "pool-dir",
|
|
8368
9129
|
"hasDynamicHelp": false,
|
|
8369
9130
|
"multiple": false,
|
|
8370
9131
|
"type": "option"
|
|
@@ -8372,7 +9133,7 @@
|
|
|
8372
9133
|
},
|
|
8373
9134
|
"hasDynamicHelp": false,
|
|
8374
9135
|
"hiddenAliases": [],
|
|
8375
|
-
"id": "
|
|
9136
|
+
"id": "harness:account:set-strategy",
|
|
8376
9137
|
"pluginAlias": "@memberjunction/cli",
|
|
8377
9138
|
"pluginName": "@memberjunction/cli",
|
|
8378
9139
|
"pluginType": "core",
|
|
@@ -8382,9 +9143,9 @@
|
|
|
8382
9143
|
"relativePath": [
|
|
8383
9144
|
"dist",
|
|
8384
9145
|
"commands",
|
|
8385
|
-
"
|
|
8386
|
-
"
|
|
8387
|
-
"
|
|
9146
|
+
"harness",
|
|
9147
|
+
"account",
|
|
9148
|
+
"set-strategy.js"
|
|
8388
9149
|
]
|
|
8389
9150
|
},
|
|
8390
9151
|
"test:regression:build": {
|
|
@@ -8613,7 +9374,8 @@
|
|
|
8613
9374
|
"<%= config.bin %> <%= command.id %> compare # Diff the two most recent runs",
|
|
8614
9375
|
"<%= config.bin %> <%= command.id %> export # Export a run as a portable standalone HTML",
|
|
8615
9376
|
"<%= config.bin %> <%= command.id %> remote --target=staging-mj # Mode B/C/D against a remote URL",
|
|
8616
|
-
"<%= config.bin %> <%= command.id %> init generic-web # Scaffold one of the example dirs"
|
|
9377
|
+
"<%= config.bin %> <%= command.id %> init generic-web # Scaffold one of the example dirs",
|
|
9378
|
+
"<%= config.bin %> <%= command.id %> new --name \"...\" --goal \"...\" --criteria \"...\" --priority P1 # Add a test to the suite"
|
|
8617
9379
|
],
|
|
8618
9380
|
"flags": {},
|
|
8619
9381
|
"hasDynamicHelp": false,
|
|
@@ -8675,6 +9437,115 @@
|
|
|
8675
9437
|
"init.js"
|
|
8676
9438
|
]
|
|
8677
9439
|
},
|
|
9440
|
+
"test:regression:new": {
|
|
9441
|
+
"aliases": [],
|
|
9442
|
+
"args": {},
|
|
9443
|
+
"description": "Create a new MJ Explorer regression test and add it to the regression suite.",
|
|
9444
|
+
"examples": [
|
|
9445
|
+
"<%= config.bin %> <%= command.id %> --name \"Form builder clones a form\" --priority P1 --tags form-builder \\\n --start-path /app/form-builder --goal \"Clone Contact Form and verify the copy opens in the editor.\" \\\n --criteria \"A form named Copy of Contact Form is listed\" --criteria \"The form editor is open on the copy\"",
|
|
9446
|
+
"<%= config.bin %> <%= command.id %> --name \"...\" --goal \"...\" --criteria \"...\" --priority P2 --from T149 --dry-run"
|
|
9447
|
+
],
|
|
9448
|
+
"flags": {
|
|
9449
|
+
"name": {
|
|
9450
|
+
"description": "Test title, without the T### prefix. Must not contain \"&\".",
|
|
9451
|
+
"name": "name",
|
|
9452
|
+
"required": true,
|
|
9453
|
+
"hasDynamicHelp": false,
|
|
9454
|
+
"multiple": false,
|
|
9455
|
+
"type": "option"
|
|
9456
|
+
},
|
|
9457
|
+
"goal": {
|
|
9458
|
+
"description": "What the agent must achieve, stated as the success state.",
|
|
9459
|
+
"name": "goal",
|
|
9460
|
+
"required": true,
|
|
9461
|
+
"hasDynamicHelp": false,
|
|
9462
|
+
"multiple": false,
|
|
9463
|
+
"type": "option"
|
|
9464
|
+
},
|
|
9465
|
+
"criteria": {
|
|
9466
|
+
"description": "A judge criterion (repeat the flag for more).",
|
|
9467
|
+
"name": "criteria",
|
|
9468
|
+
"required": true,
|
|
9469
|
+
"hasDynamicHelp": false,
|
|
9470
|
+
"multiple": true,
|
|
9471
|
+
"type": "option"
|
|
9472
|
+
},
|
|
9473
|
+
"priority": {
|
|
9474
|
+
"description": "Release priority.",
|
|
9475
|
+
"name": "priority",
|
|
9476
|
+
"required": true,
|
|
9477
|
+
"hasDynamicHelp": false,
|
|
9478
|
+
"multiple": false,
|
|
9479
|
+
"options": [
|
|
9480
|
+
"P0",
|
|
9481
|
+
"P1",
|
|
9482
|
+
"P2",
|
|
9483
|
+
"P3"
|
|
9484
|
+
],
|
|
9485
|
+
"type": "option"
|
|
9486
|
+
},
|
|
9487
|
+
"tags": {
|
|
9488
|
+
"description": "Comma-separated area tags, e.g. form-builder,crud.",
|
|
9489
|
+
"name": "tags",
|
|
9490
|
+
"default": "",
|
|
9491
|
+
"hasDynamicHelp": false,
|
|
9492
|
+
"multiple": false,
|
|
9493
|
+
"type": "option"
|
|
9494
|
+
},
|
|
9495
|
+
"start-path": {
|
|
9496
|
+
"description": "Path after http://localhost:4200, e.g. /app/form-builder.",
|
|
9497
|
+
"name": "start-path",
|
|
9498
|
+
"default": "",
|
|
9499
|
+
"hasDynamicHelp": false,
|
|
9500
|
+
"multiple": false,
|
|
9501
|
+
"type": "option"
|
|
9502
|
+
},
|
|
9503
|
+
"description": {
|
|
9504
|
+
"description": "Test description. Defaults to the goal.",
|
|
9505
|
+
"name": "description",
|
|
9506
|
+
"hasDynamicHelp": false,
|
|
9507
|
+
"multiple": false,
|
|
9508
|
+
"type": "option"
|
|
9509
|
+
},
|
|
9510
|
+
"max-steps": {
|
|
9511
|
+
"description": "Controller step limit.",
|
|
9512
|
+
"name": "max-steps",
|
|
9513
|
+
"default": 25,
|
|
9514
|
+
"hasDynamicHelp": false,
|
|
9515
|
+
"multiple": false,
|
|
9516
|
+
"type": "option"
|
|
9517
|
+
},
|
|
9518
|
+
"from": {
|
|
9519
|
+
"description": "Copy Configuration from this test number, e.g. T149.",
|
|
9520
|
+
"name": "from",
|
|
9521
|
+
"hasDynamicHelp": false,
|
|
9522
|
+
"multiple": false,
|
|
9523
|
+
"type": "option"
|
|
9524
|
+
},
|
|
9525
|
+
"dry-run": {
|
|
9526
|
+
"description": "Print the files without writing them.",
|
|
9527
|
+
"name": "dry-run",
|
|
9528
|
+
"allowNo": false,
|
|
9529
|
+
"type": "boolean"
|
|
9530
|
+
}
|
|
9531
|
+
},
|
|
9532
|
+
"hasDynamicHelp": false,
|
|
9533
|
+
"hiddenAliases": [],
|
|
9534
|
+
"id": "test:regression:new",
|
|
9535
|
+
"pluginAlias": "@memberjunction/cli",
|
|
9536
|
+
"pluginName": "@memberjunction/cli",
|
|
9537
|
+
"pluginType": "core",
|
|
9538
|
+
"strict": true,
|
|
9539
|
+
"enableJsonFlag": false,
|
|
9540
|
+
"isESM": true,
|
|
9541
|
+
"relativePath": [
|
|
9542
|
+
"dist",
|
|
9543
|
+
"commands",
|
|
9544
|
+
"test",
|
|
9545
|
+
"regression",
|
|
9546
|
+
"new.js"
|
|
9547
|
+
]
|
|
9548
|
+
},
|
|
8678
9549
|
"test:regression:remote": {
|
|
8679
9550
|
"aliases": [],
|
|
8680
9551
|
"args": {},
|
|
@@ -8754,6 +9625,7 @@
|
|
|
8754
9625
|
"examples": [
|
|
8755
9626
|
"<%= config.bin %> <%= command.id %>",
|
|
8756
9627
|
"<%= config.bin %> <%= command.id %> --detach",
|
|
9628
|
+
"<%= config.bin %> <%= command.id %> --test=\"T001 - Login Smoke\" --test=\"T002 - Data Explorer Open Record\"",
|
|
8757
9629
|
"<%= config.bin %> <%= command.id %> --bacpac=./db.bacpac --suite=\"My Suite\" --metadata=./my-suite-metadata",
|
|
8758
9630
|
"<%= config.bin %> <%= command.id %> --bacpac=./db.bacpac --bacpac-no-upgrade"
|
|
8759
9631
|
],
|
|
@@ -8785,6 +9657,13 @@
|
|
|
8785
9657
|
"multiple": false,
|
|
8786
9658
|
"type": "option"
|
|
8787
9659
|
},
|
|
9660
|
+
"test": {
|
|
9661
|
+
"description": "Run only this suite test, by exact name (TEST_NAMES). Repeat the flag to run more than one. Monorepo stack only.",
|
|
9662
|
+
"name": "test",
|
|
9663
|
+
"hasDynamicHelp": false,
|
|
9664
|
+
"multiple": true,
|
|
9665
|
+
"type": "option"
|
|
9666
|
+
},
|
|
8788
9667
|
"metadata": {
|
|
8789
9668
|
"description": "Directory of your test + test-suite metadata (pushed before the run). Requires --bacpac.",
|
|
8790
9669
|
"name": "metadata",
|
|
@@ -8832,5 +9711,5 @@
|
|
|
8832
9711
|
]
|
|
8833
9712
|
}
|
|
8834
9713
|
},
|
|
8835
|
-
"version": "6.3.0-edge.
|
|
9714
|
+
"version": "6.3.0-edge.2"
|
|
8836
9715
|
}
|