@camunda8/cli 2.0.0-alpha.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +203 -183
- package/README.md +37 -6
- package/dist/client.d.ts +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -3
- package/dist/client.js.map +1 -1
- package/dist/commands/completion.d.ts.map +1 -1
- package/dist/commands/completion.js +156 -4
- package/dist/commands/completion.js.map +1 -1
- package/dist/commands/forms.d.ts +26 -0
- package/dist/commands/forms.d.ts.map +1 -0
- package/dist/commands/forms.js +125 -0
- package/dist/commands/forms.js.map +1 -0
- package/dist/commands/help.d.ts +44 -0
- package/dist/commands/help.d.ts.map +1 -1
- package/dist/commands/help.js +491 -2
- package/dist/commands/help.js.map +1 -1
- package/dist/commands/incidents.d.ts.map +1 -1
- package/dist/commands/incidents.js +1 -0
- package/dist/commands/incidents.js.map +1 -1
- package/dist/commands/jobs.d.ts.map +1 -1
- package/dist/commands/jobs.js +1 -0
- package/dist/commands/jobs.js.map +1 -1
- package/dist/commands/mcp-proxy.d.ts +24 -0
- package/dist/commands/mcp-proxy.d.ts.map +1 -0
- package/dist/commands/mcp-proxy.js +284 -0
- package/dist/commands/mcp-proxy.js.map +1 -0
- package/dist/commands/process-instances.d.ts.map +1 -1
- package/dist/commands/process-instances.js +1 -0
- package/dist/commands/process-instances.js.map +1 -1
- package/dist/commands/search.d.ts +105 -0
- package/dist/commands/search.d.ts.map +1 -0
- package/dist/commands/search.js +438 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/user-tasks.d.ts.map +1 -1
- package/dist/commands/user-tasks.js +1 -0
- package/dist/commands/user-tasks.js.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/index.js +141 -0
- package/dist/index.js.map +1 -1
- package/dist/logger.d.ts +8 -1
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +35 -19
- package/dist/logger.js.map +1 -1
- package/package.json +6 -2
|
@@ -18,11 +18,12 @@ _c8ctl_completions() {
|
|
|
18
18
|
cword=\${COMP_CWORD}
|
|
19
19
|
|
|
20
20
|
# Commands (verbs)
|
|
21
|
-
local verbs="list get create cancel await complete fail activate resolve publish correlate deploy run watch add remove rm load unload sync use output completion help"
|
|
21
|
+
local verbs="list search get create cancel await complete fail activate resolve publish correlate deploy run watch add remove rm load unload sync use output completion help"
|
|
22
22
|
|
|
23
23
|
# Resources by verb
|
|
24
24
|
local list_resources="process-instances process-instance pi user-tasks user-task ut incidents incident inc jobs profiles profile plugins plugin"
|
|
25
|
-
local
|
|
25
|
+
local search_resources="process-instances process-instance pi process-definitions process-definition pd user-tasks user-task ut incidents incident inc jobs variables variable"
|
|
26
|
+
local get_resources="process-instance pi process-definition pd incident inc topology form"
|
|
26
27
|
local create_resources="process-instance pi"
|
|
27
28
|
local cancel_resources="process-instance pi"
|
|
28
29
|
local await_resources="process-instance pi"
|
|
@@ -40,10 +41,10 @@ _c8ctl_completions() {
|
|
|
40
41
|
local use_resources="profile tenant"
|
|
41
42
|
local output_resources="json text"
|
|
42
43
|
local completion_resources="bash zsh fish"
|
|
43
|
-
local help_resources="list get create complete"
|
|
44
|
+
local help_resources="list get create complete await search deploy run watch cancel resolve fail activate publish correlate"
|
|
44
45
|
|
|
45
46
|
# Global flags
|
|
46
|
-
local flags="--help --version --profile --from --all --bpmnProcessId --id --processInstanceKey --variables --state --assignee --type --correlationKey --timeToLive --maxJobsToActivate --timeout --worker --retries --errorMessage --baseUrl --clientId --clientSecret --audience --oAuthUrl --defaultTenantId --awaitCompletion --fetchVariables"
|
|
47
|
+
local flags="--help --version --profile --from --all --bpmnProcessId --id --processInstanceKey --processDefinitionKey --parentProcessInstanceKey --variables --state --assignee --type --correlationKey --timeToLive --maxJobsToActivate --timeout --worker --retries --errorMessage --baseUrl --clientId --clientSecret --audience --oAuthUrl --defaultTenantId --awaitCompletion --fetchVariables --name --key --elementId --errorType --value --scopeKey --fullValue --userTask --ut --processDefinition --pd --iname --iid --iassignee --ierrorMessage --itype --ivalue"
|
|
47
48
|
|
|
48
49
|
case \${cword} in
|
|
49
50
|
1)
|
|
@@ -57,6 +58,9 @@ _c8ctl_completions() {
|
|
|
57
58
|
list)
|
|
58
59
|
COMPREPLY=( \$(compgen -W "\${list_resources}" -- "\${cur}") )
|
|
59
60
|
;;
|
|
61
|
+
search)
|
|
62
|
+
COMPREPLY=( \$(compgen -W "\${search_resources}" -- "\${cur}") )
|
|
63
|
+
;;
|
|
60
64
|
get)
|
|
61
65
|
COMPREPLY=( \$(compgen -W "\${get_resources}" -- "\${cur}") )
|
|
62
66
|
;;
|
|
@@ -146,6 +150,7 @@ _c8ctl() {
|
|
|
146
150
|
|
|
147
151
|
verbs=(
|
|
148
152
|
'list:List resources'
|
|
153
|
+
'search:Search resources with filters'
|
|
149
154
|
'get:Get resource by key'
|
|
150
155
|
'create:Create resource'
|
|
151
156
|
'cancel:Cancel resource'
|
|
@@ -182,6 +187,8 @@ _c8ctl() {
|
|
|
182
187
|
'--bpmnProcessId[Process definition ID]:id:'
|
|
183
188
|
'--id[Process definition ID (alias for --bpmnProcessId)]:id:'
|
|
184
189
|
'--processInstanceKey[Process instance key]:key:'
|
|
190
|
+
'--processDefinitionKey[Process definition key]:key:'
|
|
191
|
+
'--parentProcessInstanceKey[Parent process instance key]:key:'
|
|
185
192
|
'--variables[JSON variables]:json:'
|
|
186
193
|
'--state[Filter by state]:state:'
|
|
187
194
|
'--assignee[Filter by assignee]:assignee:'
|
|
@@ -202,6 +209,23 @@ _c8ctl() {
|
|
|
202
209
|
'--version[Process definition version]:version:'
|
|
203
210
|
'--awaitCompletion[Wait for process instance to complete]'
|
|
204
211
|
'--fetchVariables[Comma-separated variable names]:variables:'
|
|
212
|
+
'--name[Variable or resource name]:name:'
|
|
213
|
+
'--key[Resource key]:key:'
|
|
214
|
+
'--elementId[Element ID]:id:'
|
|
215
|
+
'--errorType[Error type]:type:'
|
|
216
|
+
'--value[Variable value]:value:'
|
|
217
|
+
'--scopeKey[Scope key]:key:'
|
|
218
|
+
'--fullValue[Return full variable values]'
|
|
219
|
+
'--userTask[Get form for a user task]'
|
|
220
|
+
'--ut[Get form for a user task (alias for --userTask)]'
|
|
221
|
+
'--processDefinition[Get start form for a process definition]'
|
|
222
|
+
'--pd[Get start form for a process definition (alias for --processDefinition)]'
|
|
223
|
+
'--iname[Case-insensitive name filter]:pattern:'
|
|
224
|
+
'--iid[Case-insensitive process definition ID filter]:pattern:'
|
|
225
|
+
'--iassignee[Case-insensitive assignee filter]:pattern:'
|
|
226
|
+
'--ierrorMessage[Case-insensitive error message filter]:pattern:'
|
|
227
|
+
'--itype[Case-insensitive job type filter]:pattern:'
|
|
228
|
+
'--ivalue[Case-insensitive variable value filter]:pattern:'
|
|
205
229
|
)
|
|
206
230
|
|
|
207
231
|
case \$CURRENT in
|
|
@@ -229,6 +253,26 @@ _c8ctl() {
|
|
|
229
253
|
)
|
|
230
254
|
_describe 'resource' resources
|
|
231
255
|
;;
|
|
256
|
+
search)
|
|
257
|
+
resources=(
|
|
258
|
+
'process-instances:Search process instances'
|
|
259
|
+
'process-instance:Search process instances'
|
|
260
|
+
'pi:Search process instances'
|
|
261
|
+
'process-definitions:Search process definitions'
|
|
262
|
+
'process-definition:Search process definitions'
|
|
263
|
+
'pd:Search process definitions'
|
|
264
|
+
'user-tasks:Search user tasks'
|
|
265
|
+
'user-task:Search user tasks'
|
|
266
|
+
'ut:Search user tasks'
|
|
267
|
+
'incidents:Search incidents'
|
|
268
|
+
'incident:Search incidents'
|
|
269
|
+
'inc:Search incidents'
|
|
270
|
+
'jobs:Search jobs'
|
|
271
|
+
'variables:Search variables'
|
|
272
|
+
'variable:Search variables'
|
|
273
|
+
)
|
|
274
|
+
_describe 'resource' resources
|
|
275
|
+
;;
|
|
232
276
|
get)
|
|
233
277
|
resources=(
|
|
234
278
|
'process-instance:Get process instance'
|
|
@@ -238,6 +282,7 @@ _c8ctl() {
|
|
|
238
282
|
'incident:Get incident'
|
|
239
283
|
'inc:Get incident'
|
|
240
284
|
'topology:Get cluster topology'
|
|
285
|
+
'form:Get form for user task or process definition'
|
|
241
286
|
)
|
|
242
287
|
_describe 'resource' resources
|
|
243
288
|
;;
|
|
@@ -362,6 +407,17 @@ _c8ctl() {
|
|
|
362
407
|
'get:Show get command help'
|
|
363
408
|
'create:Show create command help'
|
|
364
409
|
'complete:Show complete command help'
|
|
410
|
+
'await:Show await command help'
|
|
411
|
+
'search:Show search command help'
|
|
412
|
+
'deploy:Show deploy command help'
|
|
413
|
+
'run:Show run command help'
|
|
414
|
+
'watch:Show watch command help'
|
|
415
|
+
'cancel:Show cancel command help'
|
|
416
|
+
'resolve:Show resolve command help'
|
|
417
|
+
'fail:Show fail command help'
|
|
418
|
+
'activate:Show activate command help'
|
|
419
|
+
'publish:Show publish command help'
|
|
420
|
+
'correlate:Show correlate command help'
|
|
365
421
|
)
|
|
366
422
|
_describe 'resource' resources
|
|
367
423
|
;;
|
|
@@ -406,6 +462,10 @@ complete -c c8ctl -l id -d 'Process definition ID (alias for --bpmnProcessId)' -
|
|
|
406
462
|
complete -c c8 -l id -d 'Process definition ID (alias for --bpmnProcessId)' -r
|
|
407
463
|
complete -c c8ctl -l processInstanceKey -d 'Process instance key' -r
|
|
408
464
|
complete -c c8 -l processInstanceKey -d 'Process instance key' -r
|
|
465
|
+
complete -c c8ctl -l processDefinitionKey -d 'Process definition key' -r
|
|
466
|
+
complete -c c8 -l processDefinitionKey -d 'Process definition key' -r
|
|
467
|
+
complete -c c8ctl -l parentProcessInstanceKey -d 'Parent process instance key' -r
|
|
468
|
+
complete -c c8 -l parentProcessInstanceKey -d 'Parent process instance key' -r
|
|
409
469
|
complete -c c8ctl -l variables -d 'JSON variables' -r
|
|
410
470
|
complete -c c8 -l variables -d 'JSON variables' -r
|
|
411
471
|
complete -c c8ctl -l state -d 'Filter by state' -r
|
|
@@ -446,10 +506,46 @@ complete -c c8ctl -l awaitCompletion -d 'Wait for process instance to complete'
|
|
|
446
506
|
complete -c c8 -l awaitCompletion -d 'Wait for process instance to complete'
|
|
447
507
|
complete -c c8ctl -l fetchVariables -d 'Comma-separated variable names' -r
|
|
448
508
|
complete -c c8 -l fetchVariables -d 'Comma-separated variable names' -r
|
|
509
|
+
complete -c c8ctl -l name -d 'Variable or resource name' -r
|
|
510
|
+
complete -c c8 -l name -d 'Variable or resource name' -r
|
|
511
|
+
complete -c c8ctl -l key -d 'Resource key' -r
|
|
512
|
+
complete -c c8 -l key -d 'Resource key' -r
|
|
513
|
+
complete -c c8ctl -l elementId -d 'Element ID' -r
|
|
514
|
+
complete -c c8 -l elementId -d 'Element ID' -r
|
|
515
|
+
complete -c c8ctl -l errorType -d 'Error type' -r
|
|
516
|
+
complete -c c8 -l errorType -d 'Error type' -r
|
|
517
|
+
complete -c c8ctl -l value -d 'Variable value' -r
|
|
518
|
+
complete -c c8 -l value -d 'Variable value' -r
|
|
519
|
+
complete -c c8ctl -l scopeKey -d 'Scope key' -r
|
|
520
|
+
complete -c c8 -l scopeKey -d 'Scope key' -r
|
|
521
|
+
complete -c c8ctl -l fullValue -d 'Return full variable values'
|
|
522
|
+
complete -c c8 -l fullValue -d 'Return full variable values'
|
|
523
|
+
complete -c c8ctl -l userTask -d 'Get form for a user task'
|
|
524
|
+
complete -c c8 -l userTask -d 'Get form for a user task'
|
|
525
|
+
complete -c c8ctl -l ut -d 'Get form for a user task (alias for --userTask)'
|
|
526
|
+
complete -c c8 -l ut -d 'Get form for a user task (alias for --userTask)'
|
|
527
|
+
complete -c c8ctl -l processDefinition -d 'Get start form for a process definition'
|
|
528
|
+
complete -c c8 -l processDefinition -d 'Get start form for a process definition'
|
|
529
|
+
complete -c c8ctl -l pd -d 'Get start form for a process definition (alias for --processDefinition)'
|
|
530
|
+
complete -c c8 -l pd -d 'Get start form for a process definition (alias for --processDefinition)'
|
|
531
|
+
complete -c c8ctl -l iname -d 'Case-insensitive name filter' -r
|
|
532
|
+
complete -c c8 -l iname -d 'Case-insensitive name filter' -r
|
|
533
|
+
complete -c c8ctl -l iid -d 'Case-insensitive process definition ID filter' -r
|
|
534
|
+
complete -c c8 -l iid -d 'Case-insensitive process definition ID filter' -r
|
|
535
|
+
complete -c c8ctl -l iassignee -d 'Case-insensitive assignee filter' -r
|
|
536
|
+
complete -c c8 -l iassignee -d 'Case-insensitive assignee filter' -r
|
|
537
|
+
complete -c c8ctl -l ierrorMessage -d 'Case-insensitive error message filter' -r
|
|
538
|
+
complete -c c8 -l ierrorMessage -d 'Case-insensitive error message filter' -r
|
|
539
|
+
complete -c c8ctl -l itype -d 'Case-insensitive job type filter' -r
|
|
540
|
+
complete -c c8 -l itype -d 'Case-insensitive job type filter' -r
|
|
541
|
+
complete -c c8ctl -l ivalue -d 'Case-insensitive variable value filter' -r
|
|
542
|
+
complete -c c8 -l ivalue -d 'Case-insensitive variable value filter' -r
|
|
449
543
|
|
|
450
544
|
# Commands (verbs) - only suggest when no command is given yet
|
|
451
545
|
complete -c c8ctl -n '__fish_use_subcommand' -a 'list' -d 'List resources'
|
|
452
546
|
complete -c c8 -n '__fish_use_subcommand' -a 'list' -d 'List resources'
|
|
547
|
+
complete -c c8ctl -n '__fish_use_subcommand' -a 'search' -d 'Search resources with filters'
|
|
548
|
+
complete -c c8 -n '__fish_use_subcommand' -a 'search' -d 'Search resources with filters'
|
|
453
549
|
complete -c c8ctl -n '__fish_use_subcommand' -a 'get' -d 'Get resource by key'
|
|
454
550
|
complete -c c8 -n '__fish_use_subcommand' -a 'get' -d 'Get resource by key'
|
|
455
551
|
complete -c c8ctl -n '__fish_use_subcommand' -a 'create' -d 'Create resource'
|
|
@@ -527,6 +623,38 @@ complete -c c8 -n '__fish_seen_subcommand_from list' -a 'plugins' -d 'List plugi
|
|
|
527
623
|
complete -c c8ctl -n '__fish_seen_subcommand_from list' -a 'plugin' -d 'List plugins'
|
|
528
624
|
complete -c c8 -n '__fish_seen_subcommand_from list' -a 'plugin' -d 'List plugins'
|
|
529
625
|
|
|
626
|
+
# Resources for 'search' command
|
|
627
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'process-instances' -d 'Search process instances'
|
|
628
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'process-instances' -d 'Search process instances'
|
|
629
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'process-instance' -d 'Search process instances'
|
|
630
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'process-instance' -d 'Search process instances'
|
|
631
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'pi' -d 'Search process instances'
|
|
632
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'pi' -d 'Search process instances'
|
|
633
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'process-definitions' -d 'Search process definitions'
|
|
634
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'process-definitions' -d 'Search process definitions'
|
|
635
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'process-definition' -d 'Search process definitions'
|
|
636
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'process-definition' -d 'Search process definitions'
|
|
637
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'pd' -d 'Search process definitions'
|
|
638
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'pd' -d 'Search process definitions'
|
|
639
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'user-tasks' -d 'Search user tasks'
|
|
640
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'user-tasks' -d 'Search user tasks'
|
|
641
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'user-task' -d 'Search user tasks'
|
|
642
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'user-task' -d 'Search user tasks'
|
|
643
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'ut' -d 'Search user tasks'
|
|
644
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'ut' -d 'Search user tasks'
|
|
645
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'incidents' -d 'Search incidents'
|
|
646
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'incidents' -d 'Search incidents'
|
|
647
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'incident' -d 'Search incidents'
|
|
648
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'incident' -d 'Search incidents'
|
|
649
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'inc' -d 'Search incidents'
|
|
650
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'inc' -d 'Search incidents'
|
|
651
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'jobs' -d 'Search jobs'
|
|
652
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'jobs' -d 'Search jobs'
|
|
653
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'variables' -d 'Search variables'
|
|
654
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'variables' -d 'Search variables'
|
|
655
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from search' -a 'variable' -d 'Search variables'
|
|
656
|
+
complete -c c8 -n '__fish_seen_subcommand_from search' -a 'variable' -d 'Search variables'
|
|
657
|
+
|
|
530
658
|
# Resources for 'get' command
|
|
531
659
|
complete -c c8ctl -n '__fish_seen_subcommand_from get' -a 'process-instance' -d 'Get process instance'
|
|
532
660
|
complete -c c8 -n '__fish_seen_subcommand_from get' -a 'process-instance' -d 'Get process instance'
|
|
@@ -542,6 +670,8 @@ complete -c c8ctl -n '__fish_seen_subcommand_from get' -a 'inc' -d 'Get incident
|
|
|
542
670
|
complete -c c8 -n '__fish_seen_subcommand_from get' -a 'inc' -d 'Get incident'
|
|
543
671
|
complete -c c8ctl -n '__fish_seen_subcommand_from get' -a 'topology' -d 'Get cluster topology'
|
|
544
672
|
complete -c c8 -n '__fish_seen_subcommand_from get' -a 'topology' -d 'Get cluster topology'
|
|
673
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from get' -a 'form' -d 'Get form for user task or process definition'
|
|
674
|
+
complete -c c8 -n '__fish_seen_subcommand_from get' -a 'form' -d 'Get form for user task or process definition'
|
|
545
675
|
|
|
546
676
|
# Resources for 'create' command
|
|
547
677
|
complete -c c8ctl -n '__fish_seen_subcommand_from create' -a 'process-instance' -d 'Create process instance'
|
|
@@ -648,6 +778,28 @@ complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'create' -d 'Show cre
|
|
|
648
778
|
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'create' -d 'Show create command help'
|
|
649
779
|
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'complete' -d 'Show complete command help'
|
|
650
780
|
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'complete' -d 'Show complete command help'
|
|
781
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'await' -d 'Show await command help'
|
|
782
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'await' -d 'Show await command help'
|
|
783
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'search' -d 'Show search command help'
|
|
784
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'search' -d 'Show search command help'
|
|
785
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'deploy' -d 'Show deploy command help'
|
|
786
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'deploy' -d 'Show deploy command help'
|
|
787
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'run' -d 'Show run command help'
|
|
788
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'run' -d 'Show run command help'
|
|
789
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'watch' -d 'Show watch command help'
|
|
790
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'watch' -d 'Show watch command help'
|
|
791
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'cancel' -d 'Show cancel command help'
|
|
792
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'cancel' -d 'Show cancel command help'
|
|
793
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'resolve' -d 'Show resolve command help'
|
|
794
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'resolve' -d 'Show resolve command help'
|
|
795
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'fail' -d 'Show fail command help'
|
|
796
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'fail' -d 'Show fail command help'
|
|
797
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'activate' -d 'Show activate command help'
|
|
798
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'activate' -d 'Show activate command help'
|
|
799
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'publish' -d 'Show publish command help'
|
|
800
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'publish' -d 'Show publish command help'
|
|
801
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'correlate' -d 'Show correlate command help'
|
|
802
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'correlate' -d 'Show correlate command help'
|
|
651
803
|
`;
|
|
652
804
|
}
|
|
653
805
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,SAAS,sBAAsB;IAC7B,OAAO
|
|
1
|
+
{"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,SAAS,sBAAsB;IAC7B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;QAC1E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,eAAe,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;IAE5C,QAAQ,eAAe,EAAE,CAAC;QACxB,KAAK,MAAM;YACT,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,CAAC,CAAC;YACtC,MAAM;QACR,KAAK,KAAK;YACR,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,CAAC,CAAC;YACrC,MAAM;QACR,KAAK,MAAM;YACT,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,CAAC,CAAC;YACtC,MAAM;QACR;YACE,MAAM,CAAC,KAAK,CAAC,kBAAkB,KAAK,EAAE,CAAC,CAAC;YACxC,MAAM,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;YACjD,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YACpD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form commands
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Get form for a user task
|
|
6
|
+
*/
|
|
7
|
+
export declare function getUserTaskForm(userTaskKey: string, options: {
|
|
8
|
+
profile?: string;
|
|
9
|
+
}): Promise<Record<string, unknown> | undefined>;
|
|
10
|
+
/**
|
|
11
|
+
* Get start form for a process definition
|
|
12
|
+
*/
|
|
13
|
+
export declare function getStartForm(processDefinitionKey: string, options: {
|
|
14
|
+
profile?: string;
|
|
15
|
+
}): Promise<Record<string, unknown> | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Get form by trying both user task and process definition APIs
|
|
18
|
+
*/
|
|
19
|
+
export declare function getForm(key: string, options: {
|
|
20
|
+
profile?: string;
|
|
21
|
+
}): Promise<{
|
|
22
|
+
type: string;
|
|
23
|
+
key: string;
|
|
24
|
+
form: Record<string, unknown>;
|
|
25
|
+
} | undefined>;
|
|
26
|
+
//# sourceMappingURL=forms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../src/commands/forms.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH;;GAEG;AACH,wBAAsB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAyB/C;AAED;;GAEG;AACH,wBAAsB,YAAY,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAyB/C;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,GAAG,SAAS,CAAC,CAmEpF"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form commands
|
|
3
|
+
*/
|
|
4
|
+
import { getLogger } from "../logger.js";
|
|
5
|
+
import { createClient } from "../client.js";
|
|
6
|
+
/**
|
|
7
|
+
* Get form for a user task
|
|
8
|
+
*/
|
|
9
|
+
export async function getUserTaskForm(userTaskKey, options) {
|
|
10
|
+
const logger = getLogger();
|
|
11
|
+
const client = createClient(options.profile);
|
|
12
|
+
try {
|
|
13
|
+
const result = await client.getUserTaskForm({ userTaskKey: userTaskKey }, { consistency: { waitUpToMs: 0 } });
|
|
14
|
+
// API returns null when user task exists but has no form
|
|
15
|
+
if (result === null || result === undefined) {
|
|
16
|
+
logger.info('User task found but has no associated form');
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
logger.json(result);
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
// Handle 204 No Content (user task exists but has no form)
|
|
24
|
+
if (error.statusCode === 204 || error.status === 204) {
|
|
25
|
+
logger.info('User task found but has no associated form');
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
logger.error(`Failed to get form for user task ${userTaskKey}`, error);
|
|
29
|
+
process.exit(1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get start form for a process definition
|
|
34
|
+
*/
|
|
35
|
+
export async function getStartForm(processDefinitionKey, options) {
|
|
36
|
+
const logger = getLogger();
|
|
37
|
+
const client = createClient(options.profile);
|
|
38
|
+
try {
|
|
39
|
+
const result = await client.getStartProcessForm({ processDefinitionKey: processDefinitionKey }, { consistency: { waitUpToMs: 0 } });
|
|
40
|
+
// API returns null when process definition exists but has no start form
|
|
41
|
+
if (result === null || result === undefined) {
|
|
42
|
+
logger.info('Process definition found but has no associated start form');
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
logger.json(result);
|
|
46
|
+
return result;
|
|
47
|
+
}
|
|
48
|
+
catch (error) {
|
|
49
|
+
// Handle 204 No Content (process definition exists but has no form)
|
|
50
|
+
if (error.statusCode === 204 || error.status === 204) {
|
|
51
|
+
logger.info('Process definition found but has no associated start form');
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
logger.error(`Failed to get start form for process definition ${processDefinitionKey}`, error);
|
|
55
|
+
process.exit(1);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get form by trying both user task and process definition APIs
|
|
60
|
+
*/
|
|
61
|
+
export async function getForm(key, options) {
|
|
62
|
+
const logger = getLogger();
|
|
63
|
+
const client = createClient(options.profile);
|
|
64
|
+
const results = [];
|
|
65
|
+
const errors = [];
|
|
66
|
+
// Try user task form
|
|
67
|
+
try {
|
|
68
|
+
const result = await client.getUserTaskForm({ userTaskKey: key }, { consistency: { waitUpToMs: 0 } });
|
|
69
|
+
if (result !== null && result !== undefined) {
|
|
70
|
+
results.push({ type: 'user task', key, form: result });
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
catch (error) {
|
|
74
|
+
// 204 means resource exists but no form - not an error
|
|
75
|
+
if (error.statusCode !== 204 && error.status !== 204) {
|
|
76
|
+
errors.push({ type: 'user task', error });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
// Try process definition form
|
|
80
|
+
try {
|
|
81
|
+
const result = await client.getStartProcessForm({ processDefinitionKey: key }, { consistency: { waitUpToMs: 0 } });
|
|
82
|
+
if (result !== null && result !== undefined) {
|
|
83
|
+
results.push({ type: 'process definition', key, form: result });
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
catch (error) {
|
|
87
|
+
// 204 means resource exists but no form - not an error
|
|
88
|
+
if (error.statusCode !== 204 && error.status !== 204) {
|
|
89
|
+
errors.push({ type: 'process definition', error });
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// Report results
|
|
93
|
+
if (results.length === 0) {
|
|
94
|
+
if (errors.length === 0) {
|
|
95
|
+
logger.info('No form found for user task or process definition');
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
else if (errors.length === 1) {
|
|
99
|
+
logger.error(`Failed to get form: not found as ${errors[0].type}`, errors[0].error);
|
|
100
|
+
process.exit(1);
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
logger.error(`Failed to get form: not found as user task or process definition`);
|
|
104
|
+
process.exit(1);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
else if (results.length === 1) {
|
|
108
|
+
const keyType = results[0].type === 'user task' ? 'userTaskKey' : 'processDefinitionKey';
|
|
109
|
+
logger.info(`Form found for ${results[0].type} (${keyType}: ${key}):`);
|
|
110
|
+
logger.json(results[0].form);
|
|
111
|
+
return { type: results[0].type, key, form: results[0].form };
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
logger.info(`Form found in both user task and process definition (key: ${key}):`);
|
|
115
|
+
const combined = {
|
|
116
|
+
userTaskKey: key,
|
|
117
|
+
userTask: results.find(r => r.type === 'user task')?.form,
|
|
118
|
+
processDefinitionKey: key,
|
|
119
|
+
processDefinition: results.find(r => r.type === 'process definition')?.form,
|
|
120
|
+
};
|
|
121
|
+
logger.json(combined);
|
|
122
|
+
return { type: 'both', key, form: combined };
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=forms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms.js","sourceRoot":"","sources":["../../src/commands/forms.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,WAAmB,EAAE,OAE1D;IACC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAE7C,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CACzC,EAAE,WAAW,EAAE,WAAkB,EAAE,EACnC,EAAE,WAAW,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,CACnC,CAAC;QACF,yDAAyD;QACzD,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YAC5C,MAAM,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;YAC1D,OAAO,SAAS,CAAC;QACnB,CAAC;QAC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C,aAAa,CAAC,CAAC,CAAC,sBAAsB,CAAC;QACzF,MAAM,CAAC,IAAI,CAAC,kBAAkB,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,KAAK,GAAG,IAAI,CAAC,CAAC;QACvE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC7B,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAA+B,EAAE,CAAC;IAC1F,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,IAAI,CAAC,6DAA6D,GAAG,IAAI,CAAC,CAAC;QAClF,MAAM,QAAQ,GAAG;YACf,WAAW,EAAE,GAAG;YAChB,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,EAAE,IAAI;YACzD,oBAAoB,EAAE,GAAG;YACzB,iBAAiB,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,oBAAoB,CAAC,EAAE,IAAI;SAC5E,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,QAAmC,EAAE,CAAC;IAC1E,CAAC;AACH,CAAC"}
|
package/dist/commands/help.d.ts
CHANGED
|
@@ -37,6 +37,50 @@ export declare function showCompleteHelp(): void;
|
|
|
37
37
|
* Show detailed help for await command
|
|
38
38
|
*/
|
|
39
39
|
export declare function showAwaitHelp(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Show detailed help for mcp-proxy command
|
|
42
|
+
*/
|
|
43
|
+
export declare function showMcpProxyHelp(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Show detailed help for search command
|
|
46
|
+
*/
|
|
47
|
+
export declare function showSearchHelp(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Show detailed help for deploy command
|
|
50
|
+
*/
|
|
51
|
+
export declare function showDeployHelp(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Show detailed help for run command
|
|
54
|
+
*/
|
|
55
|
+
export declare function showRunHelp(): void;
|
|
56
|
+
/**
|
|
57
|
+
* Show detailed help for watch command
|
|
58
|
+
*/
|
|
59
|
+
export declare function showWatchHelp(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Show detailed help for cancel command
|
|
62
|
+
*/
|
|
63
|
+
export declare function showCancelHelp(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Show detailed help for resolve command
|
|
66
|
+
*/
|
|
67
|
+
export declare function showResolveHelp(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Show detailed help for fail command
|
|
70
|
+
*/
|
|
71
|
+
export declare function showFailHelp(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Show detailed help for activate command
|
|
74
|
+
*/
|
|
75
|
+
export declare function showActivateHelp(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Show detailed help for publish command
|
|
78
|
+
*/
|
|
79
|
+
export declare function showPublishHelp(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Show detailed help for correlate command
|
|
82
|
+
*/
|
|
83
|
+
export declare function showCorrelateHelp(): void;
|
|
40
84
|
/**
|
|
41
85
|
* Show detailed help for specific commands
|
|
42
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH;;GAEG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAInC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAGlC;AAED;;GAEG;AACH,wBAAgB,QAAQ,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/commands/help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