@copado/agentia-cli 0.26.0-alpha.0 → 0.28.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +98 -60
  2. package/dist/commands/project/default/get.d.ts +1 -0
  3. package/dist/commands/project/default/set.d.ts +1 -0
  4. package/dist/commands/project/default/unset.d.ts +1 -0
  5. package/dist/commands/work/submit.d.ts +3 -0
  6. package/dist/commands/work/submit.js +53 -3
  7. package/dist/commands/work/submit.js.map +1 -1
  8. package/dist/commands/work/test.d.ts +10 -0
  9. package/dist/commands/work/test.js +61 -0
  10. package/dist/commands/work/test.js.map +1 -0
  11. package/dist/lib/agentia-command.d.ts +3 -0
  12. package/dist/lib/agentia-command.js +12 -1
  13. package/dist/lib/agentia-command.js.map +1 -1
  14. package/dist/lib/cicd-gateway.d.ts +3 -0
  15. package/dist/lib/cicd-gateway.js +19 -2
  16. package/dist/lib/cicd-gateway.js.map +1 -1
  17. package/dist/lib/local-quality-gates.d.ts +45 -0
  18. package/dist/lib/local-quality-gates.js +103 -0
  19. package/dist/lib/local-quality-gates.js.map +1 -0
  20. package/dist/lib/mcp/tools.d.ts +55 -50
  21. package/dist/lib/mcp/tools.js +7 -306
  22. package/dist/lib/mcp/tools.js.map +1 -1
  23. package/dist/lib/mcp/work-tools.d.ts +75 -0
  24. package/dist/lib/mcp/work-tools.js +464 -0
  25. package/dist/lib/mcp/work-tools.js.map +1 -0
  26. package/dist/lib/project-default-flags.d.ts +2 -0
  27. package/dist/lib/project-default-flags.js +6 -0
  28. package/dist/lib/project-default-flags.js.map +1 -1
  29. package/dist/lib/project-defaults.d.ts +2 -1
  30. package/dist/lib/project-defaults.js +3 -0
  31. package/dist/lib/project-defaults.js.map +1 -1
  32. package/dist/lib/work-defaults.js +1 -0
  33. package/dist/lib/work-defaults.js.map +1 -1
  34. package/dist/lib/work-types.d.ts +12 -0
  35. package/dist/lib/work-types.js.map +1 -1
  36. package/oclif.manifest.json +67 -2
  37. package/package.json +1 -1
package/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install -g @copado/agentia-cli
22
22
  $ agentia COMMAND
23
23
  running command...
24
24
  $ agentia (--version)
25
- @copado/agentia-cli/0.26.0-alpha.0 linux-x64 node-v22.23.2
25
+ @copado/agentia-cli/0.28.0-alpha.0 linux-x64 node-v22.23.2
26
26
  $ agentia --help [COMMAND]
27
27
  USAGE
28
28
  $ agentia COMMAND
@@ -117,6 +117,8 @@ Tools are JSON-safe and return structured results. Sensitive fields are redacted
117
117
  - Project default tools read and write local or global defaults managed by `agentia project default *`.
118
118
  - User get defaults `id` to `me` for the authenticated user.
119
119
  - Environment create/update tools mirror the corresponding CLI commands and only send fields you provide.
120
+ - Work set/push/submit/done tools mirror the CLI workflow: `set` prepares `feature/<user-story-name>`, then `push` / `submit` / `done` operate on the current feature branch with the same clean-tree and base-branch requirements.
121
+ - Promotion list accepts the same filters as `agentia promotion list`; promotion get takes a promotion Id.
120
122
 
121
123
  # License
122
124
 
@@ -184,6 +186,7 @@ Agentia CLI is distributed under the Copado End User License Agreement. See [LIC
184
186
  * [`agentia work set ID`](#agentia-work-set-id)
185
187
  * [`agentia work status [ID]`](#agentia-work-status-id)
186
188
  * [`agentia work submit`](#agentia-work-submit)
189
+ * [`agentia work test`](#agentia-work-test)
187
190
  * [`agentia work update [ID]`](#agentia-work-update-id)
188
191
 
189
192
  ## `agentia auth get`
@@ -216,7 +219,7 @@ EXAMPLES
216
219
  $ agentia auth get --json
217
220
  ```
218
221
 
219
- _See code: [src/commands/auth/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/auth/get.ts)_
222
+ _See code: [src/commands/auth/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/auth/get.ts)_
220
223
 
221
224
  ## `agentia auth set`
222
225
 
@@ -254,7 +257,7 @@ EXAMPLES
254
257
  $ agentia auth set --cicd <copado-api-key> --region na --json
255
258
  ```
256
259
 
257
- _See code: [src/commands/auth/set.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/auth/set.ts)_
260
+ _See code: [src/commands/auth/set.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/auth/set.ts)_
258
261
 
259
262
  ## `agentia environment auth status ID`
260
263
 
@@ -284,7 +287,7 @@ EXAMPLES
284
287
  $ agentia environment auth status <environment-id> --json
285
288
  ```
286
289
 
287
- _See code: [src/commands/environment/auth/status.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/environment/auth/status.ts)_
290
+ _See code: [src/commands/environment/auth/status.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/auth/status.ts)_
288
291
 
289
292
  ## `agentia environment auth web login ID`
290
293
 
@@ -318,7 +321,7 @@ EXAMPLES
318
321
  $ agentia environment auth web login <environment-id> --json
319
322
  ```
320
323
 
321
- _See code: [src/commands/environment/auth/web/login.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/environment/auth/web/login.ts)_
324
+ _See code: [src/commands/environment/auth/web/login.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/auth/web/login.ts)_
322
325
 
323
326
  ## `agentia environment create NAME`
324
327
 
@@ -363,7 +366,7 @@ EXAMPLES
363
366
  $ agentia environment create Dev --json
364
367
  ```
365
368
 
366
- _See code: [src/commands/environment/create.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/environment/create.ts)_
369
+ _See code: [src/commands/environment/create.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/create.ts)_
367
370
 
368
371
  ## `agentia environment get ID`
369
372
 
@@ -388,7 +391,7 @@ EXAMPLES
388
391
  $ agentia environment get a0SKC000000CmZ2AU --json
389
392
  ```
390
393
 
391
- _See code: [src/commands/environment/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/environment/get.ts)_
394
+ _See code: [src/commands/environment/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/get.ts)_
392
395
 
393
396
  ## `agentia environment list`
394
397
 
@@ -420,7 +423,7 @@ EXAMPLES
420
423
  $ agentia environment list --json
421
424
  ```
422
425
 
423
- _See code: [src/commands/environment/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/environment/list.ts)_
426
+ _See code: [src/commands/environment/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/list.ts)_
424
427
 
425
428
  ## `agentia environment update ID`
426
429
 
@@ -466,7 +469,7 @@ EXAMPLES
466
469
  $ agentia environment update a0SKC000000CmZ2AU --name UAT --json
467
470
  ```
468
471
 
469
- _See code: [src/commands/environment/update.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/environment/update.ts)_
472
+ _See code: [src/commands/environment/update.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/update.ts)_
470
473
 
471
474
  ## `agentia help [COMMAND]`
472
475
 
@@ -511,7 +514,7 @@ EXAMPLES
511
514
  $ agentia job get <job-id> --json
512
515
  ```
513
516
 
514
- _See code: [src/commands/job/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/get.ts)_
517
+ _See code: [src/commands/job/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/get.ts)_
515
518
 
516
519
  ## `agentia job kill ID`
517
520
 
@@ -536,7 +539,7 @@ EXAMPLES
536
539
  $ agentia job kill <job-id> --json
537
540
  ```
538
541
 
539
- _See code: [src/commands/job/kill.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/kill.ts)_
542
+ _See code: [src/commands/job/kill.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/kill.ts)_
540
543
 
541
544
  ## `agentia job list`
542
545
 
@@ -573,7 +576,7 @@ EXAMPLES
573
576
  $ agentia job list --json
574
577
  ```
575
578
 
576
- _See code: [src/commands/job/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/list.ts)_
579
+ _See code: [src/commands/job/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/list.ts)_
577
580
 
578
581
  ## `agentia job log get ID`
579
582
 
@@ -603,7 +606,7 @@ EXAMPLES
603
606
  $ agentia job log get <job-id> --json
604
607
  ```
605
608
 
606
- _See code: [src/commands/job/log/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/log/get.ts)_
609
+ _See code: [src/commands/job/log/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/log/get.ts)_
607
610
 
608
611
  ## `agentia job pause ID`
609
612
 
@@ -628,7 +631,7 @@ EXAMPLES
628
631
  $ agentia job pause <job-id> --json
629
632
  ```
630
633
 
631
- _See code: [src/commands/job/pause.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/pause.ts)_
634
+ _See code: [src/commands/job/pause.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/pause.ts)_
632
635
 
633
636
  ## `agentia job resume ID`
634
637
 
@@ -653,7 +656,7 @@ EXAMPLES
653
656
  $ agentia job resume <job-id> --json
654
657
  ```
655
658
 
656
- _See code: [src/commands/job/resume.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/resume.ts)_
659
+ _See code: [src/commands/job/resume.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/resume.ts)_
657
660
 
658
661
  ## `agentia job run ID`
659
662
 
@@ -681,7 +684,7 @@ EXAMPLES
681
684
  $ agentia job run <job-id> --restart --json
682
685
  ```
683
686
 
684
- _See code: [src/commands/job/run.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/job/run.ts)_
687
+ _See code: [src/commands/job/run.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/run.ts)_
685
688
 
686
689
  ## `agentia mcp start`
687
690
 
@@ -700,7 +703,7 @@ EXAMPLES
700
703
  $ agentia mcp start # long-running stdio MCP server for Cursor and other clients
701
704
  ```
702
705
 
703
- _See code: [src/commands/mcp/start.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/mcp/start.ts)_
706
+ _See code: [src/commands/mcp/start.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/mcp/start.ts)_
704
707
 
705
708
  ## `agentia metadata content compare`
706
709
 
@@ -743,7 +746,7 @@ EXAMPLES
743
746
  $ agentia metadata content compare --metadata-type ApexClass --api-name MyClass --json
744
747
  ```
745
748
 
746
- _See code: [src/commands/metadata/content/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/content/compare.ts)_
749
+ _See code: [src/commands/metadata/content/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/content/compare.ts)_
747
750
 
748
751
  ## `agentia metadata content get`
749
752
 
@@ -784,7 +787,7 @@ EXAMPLES
784
787
  $ agentia metadata content get --file requests.json --json
785
788
  ```
786
789
 
787
- _See code: [src/commands/metadata/content/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/content/get.ts)_
790
+ _See code: [src/commands/metadata/content/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/content/get.ts)_
788
791
 
789
792
  ## `agentia metadata dependency list`
790
793
 
@@ -832,7 +835,7 @@ EXAMPLES
832
835
  $ agentia metadata dependency list --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>
833
836
  ```
834
837
 
835
- _See code: [src/commands/metadata/dependency/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/dependency/list.ts)_
838
+ _See code: [src/commands/metadata/dependency/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/dependency/list.ts)_
836
839
 
837
840
  ## `agentia metadata index compare`
838
841
 
@@ -866,7 +869,7 @@ EXAMPLES
866
869
  $ agentia metadata index compare --comparison-mode MIX --json
867
870
  ```
868
871
 
869
- _See code: [src/commands/metadata/index/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/index/compare.ts)_
872
+ _See code: [src/commands/metadata/index/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/index/compare.ts)_
870
873
 
871
874
  ## `agentia metadata list`
872
875
 
@@ -914,7 +917,7 @@ EXAMPLES
914
917
  $ agentia metadata list --source NewAndChanged --find-managed-packages --json
915
918
  ```
916
919
 
917
- _See code: [src/commands/metadata/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/list.ts)_
920
+ _See code: [src/commands/metadata/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/list.ts)_
918
921
 
919
922
  ## `agentia metadata refresh deleted`
920
923
 
@@ -944,7 +947,7 @@ EXAMPLES
944
947
  $ agentia metadata refresh deleted --env <environment-id> --module-type vlocity --json
945
948
  ```
946
949
 
947
- _See code: [src/commands/metadata/refresh/deleted.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/refresh/deleted.ts)_
950
+ _See code: [src/commands/metadata/refresh/deleted.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/refresh/deleted.ts)_
948
951
 
949
952
  ## `agentia metadata refresh run`
950
953
 
@@ -985,7 +988,7 @@ EXAMPLES
985
988
  $ agentia metadata refresh run --env <environment-id> --all --json
986
989
  ```
987
990
 
988
- _See code: [src/commands/metadata/refresh/run.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/refresh/run.ts)_
991
+ _See code: [src/commands/metadata/refresh/run.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/refresh/run.ts)_
989
992
 
990
993
  ## `agentia metadata refresh status`
991
994
 
@@ -1015,7 +1018,7 @@ EXAMPLES
1015
1018
  $ agentia metadata refresh status --job-id <event-id> --json
1016
1019
  ```
1017
1020
 
1018
- _See code: [src/commands/metadata/refresh/status.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/metadata/refresh/status.ts)_
1021
+ _See code: [src/commands/metadata/refresh/status.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/refresh/status.ts)_
1019
1022
 
1020
1023
  ## `agentia pipeline connection list`
1021
1024
 
@@ -1040,7 +1043,7 @@ EXAMPLES
1040
1043
  $ agentia pipeline connection list --pipeline-id <pipeline-id> --json
1041
1044
  ```
1042
1045
 
1043
- _See code: [src/commands/pipeline/connection/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/pipeline/connection/list.ts)_
1046
+ _See code: [src/commands/pipeline/connection/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/pipeline/connection/list.ts)_
1044
1047
 
1045
1048
  ## `agentia pipeline get ID`
1046
1049
 
@@ -1065,7 +1068,7 @@ EXAMPLES
1065
1068
  $ agentia pipeline get <pipeline-id> --json
1066
1069
  ```
1067
1070
 
1068
- _See code: [src/commands/pipeline/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/pipeline/get.ts)_
1071
+ _See code: [src/commands/pipeline/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/pipeline/get.ts)_
1069
1072
 
1070
1073
  ## `agentia pipeline list`
1071
1074
 
@@ -1087,7 +1090,7 @@ EXAMPLES
1087
1090
  $ agentia pipeline list --json
1088
1091
  ```
1089
1092
 
1090
- _See code: [src/commands/pipeline/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/pipeline/list.ts)_
1093
+ _See code: [src/commands/pipeline/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/pipeline/list.ts)_
1091
1094
 
1092
1095
  ## `agentia plugins`
1093
1096
 
@@ -1385,11 +1388,12 @@ Show project default values for the current project or globally
1385
1388
 
1386
1389
  ```
1387
1390
  USAGE
1388
- $ agentia project default get [--json] [--assign-me] [--environment] [--epic] [--feature] [--global] [--project]
1389
- [--sprint] [--team]
1391
+ $ agentia project default get [--json] [--assign-me] [--credential] [--environment] [--epic] [--feature] [--global]
1392
+ [--project] [--sprint] [--team]
1390
1393
 
1391
1394
  FLAGS
1392
1395
  --assign-me Select the assign-me default
1396
+ --credential Select the default source credential
1393
1397
  --environment Select the default environment
1394
1398
  --epic Select the default epic
1395
1399
  --feature Select the default feature
@@ -1414,7 +1418,7 @@ EXAMPLES
1414
1418
  $ agentia project default get --json
1415
1419
  ```
1416
1420
 
1417
- _See code: [src/commands/project/default/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/project/default/get.ts)_
1421
+ _See code: [src/commands/project/default/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/default/get.ts)_
1418
1422
 
1419
1423
  ## `agentia project default set`
1420
1424
 
@@ -1422,11 +1426,12 @@ Set project default values for the current project or globally
1422
1426
 
1423
1427
  ```
1424
1428
  USAGE
1425
- $ agentia project default set [--json] [--environment <value>] [--epic <value>] [--feature <value>] [--project <value>]
1426
- [--sprint <value>] [--team <value>] [--assign-me] [--global]
1429
+ $ agentia project default set [--json] [--credential <value>] [--environment <value>] [--epic <value>] [--feature
1430
+ <value>] [--project <value>] [--sprint <value>] [--team <value>] [--assign-me] [--global]
1427
1431
 
1428
1432
  FLAGS
1429
1433
  --assign-me Assign work items to the current user by default
1434
+ --credential=<value> Default source credential
1430
1435
  --environment=<value> Default environment
1431
1436
  --epic=<value> Default epic
1432
1437
  --feature=<value> Default feature
@@ -1451,7 +1456,7 @@ EXAMPLES
1451
1456
  $ agentia project default set --project my-project --json
1452
1457
  ```
1453
1458
 
1454
- _See code: [src/commands/project/default/set.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/project/default/set.ts)_
1459
+ _See code: [src/commands/project/default/set.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/default/set.ts)_
1455
1460
 
1456
1461
  ## `agentia project default unset`
1457
1462
 
@@ -1459,11 +1464,12 @@ Remove project default values from the current project or globally
1459
1464
 
1460
1465
  ```
1461
1466
  USAGE
1462
- $ agentia project default unset [--json] [--assign-me] [--environment] [--epic] [--feature] [--global] [--project]
1463
- [--sprint] [--team]
1467
+ $ agentia project default unset [--json] [--assign-me] [--credential] [--environment] [--epic] [--feature] [--global]
1468
+ [--project] [--sprint] [--team]
1464
1469
 
1465
1470
  FLAGS
1466
1471
  --assign-me Select the assign-me default
1472
+ --credential Select the default source credential
1467
1473
  --environment Select the default environment
1468
1474
  --epic Select the default epic
1469
1475
  --feature Select the default feature
@@ -1488,7 +1494,7 @@ EXAMPLES
1488
1494
  $ agentia project default unset --project --json
1489
1495
  ```
1490
1496
 
1491
- _See code: [src/commands/project/default/unset.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/project/default/unset.ts)_
1497
+ _See code: [src/commands/project/default/unset.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/default/unset.ts)_
1492
1498
 
1493
1499
  ## `agentia project get ID`
1494
1500
 
@@ -1513,7 +1519,7 @@ EXAMPLES
1513
1519
  $ agentia project get <project-id> --json
1514
1520
  ```
1515
1521
 
1516
- _See code: [src/commands/project/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/project/get.ts)_
1522
+ _See code: [src/commands/project/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/get.ts)_
1517
1523
 
1518
1524
  ## `agentia project list`
1519
1525
 
@@ -1543,7 +1549,7 @@ EXAMPLES
1543
1549
  $ agentia project list --mine --json
1544
1550
  ```
1545
1551
 
1546
- _See code: [src/commands/project/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/project/list.ts)_
1552
+ _See code: [src/commands/project/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/list.ts)_
1547
1553
 
1548
1554
  ## `agentia promotion conflict get ID`
1549
1555
 
@@ -1574,7 +1580,7 @@ EXAMPLES
1574
1580
  $ agentia promotion conflict get <conflict-id> -p <promotion-id> --json
1575
1581
  ```
1576
1582
 
1577
- _See code: [src/commands/promotion/conflict/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/promotion/conflict/get.ts)_
1583
+ _See code: [src/commands/promotion/conflict/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/get.ts)_
1578
1584
 
1579
1585
  ## `agentia promotion conflict list`
1580
1586
 
@@ -1599,7 +1605,7 @@ EXAMPLES
1599
1605
  $ agentia promotion conflict list -p <promotion-id> --json
1600
1606
  ```
1601
1607
 
1602
- _See code: [src/commands/promotion/conflict/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/promotion/conflict/list.ts)_
1608
+ _See code: [src/commands/promotion/conflict/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/list.ts)_
1603
1609
 
1604
1610
  ## `agentia promotion conflict resolve ID`
1605
1611
 
@@ -1632,7 +1638,7 @@ EXAMPLES
1632
1638
  $ agentia promotion conflict resolve <conflict-id> -p <promotion-id> --mode auto --json
1633
1639
  ```
1634
1640
 
1635
- _See code: [src/commands/promotion/conflict/resolve.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/promotion/conflict/resolve.ts)_
1641
+ _See code: [src/commands/promotion/conflict/resolve.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/resolve.ts)_
1636
1642
 
1637
1643
  ## `agentia promotion conflict unresolve ID`
1638
1644
 
@@ -1660,7 +1666,7 @@ EXAMPLES
1660
1666
  $ agentia promotion conflict unresolve <conflict-id> -p <promotion-id> --json
1661
1667
  ```
1662
1668
 
1663
- _See code: [src/commands/promotion/conflict/unresolve.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/promotion/conflict/unresolve.ts)_
1669
+ _See code: [src/commands/promotion/conflict/unresolve.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/unresolve.ts)_
1664
1670
 
1665
1671
  ## `agentia promotion get ID`
1666
1672
 
@@ -1685,7 +1691,7 @@ EXAMPLES
1685
1691
  $ agentia promotion get <promotion-id> --json
1686
1692
  ```
1687
1693
 
1688
- _See code: [src/commands/promotion/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/promotion/get.ts)_
1694
+ _See code: [src/commands/promotion/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/get.ts)_
1689
1695
 
1690
1696
  ## `agentia promotion list`
1691
1697
 
@@ -1730,7 +1736,7 @@ EXAMPLES
1730
1736
  $ agentia promotion list --json
1731
1737
  ```
1732
1738
 
1733
- _See code: [src/commands/promotion/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/promotion/list.ts)_
1739
+ _See code: [src/commands/promotion/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/list.ts)_
1734
1740
 
1735
1741
  ## `agentia user get`
1736
1742
 
@@ -1759,7 +1765,7 @@ EXAMPLES
1759
1765
  $ agentia user get --json
1760
1766
  ```
1761
1767
 
1762
- _See code: [src/commands/user/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/user/get.ts)_
1768
+ _See code: [src/commands/user/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/user/get.ts)_
1763
1769
 
1764
1770
  ## `agentia work create`
1765
1771
 
@@ -1814,7 +1820,7 @@ EXAMPLES
1814
1820
  $ agentia work create --title "My story" --json
1815
1821
  ```
1816
1822
 
1817
- _See code: [src/commands/work/create.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/create.ts)_
1823
+ _See code: [src/commands/work/create.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/create.ts)_
1818
1824
 
1819
1825
  ## `agentia work delete ID`
1820
1826
 
@@ -1839,7 +1845,7 @@ EXAMPLES
1839
1845
  $ agentia work delete a0SKC000000CmZ2AU --json
1840
1846
  ```
1841
1847
 
1842
- _See code: [src/commands/work/delete.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/delete.ts)_
1848
+ _See code: [src/commands/work/delete.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/delete.ts)_
1843
1849
 
1844
1850
  ## `agentia work done`
1845
1851
 
@@ -1862,7 +1868,7 @@ EXAMPLES
1862
1868
  $ agentia work done --json
1863
1869
  ```
1864
1870
 
1865
- _See code: [src/commands/work/done.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/done.ts)_
1871
+ _See code: [src/commands/work/done.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/done.ts)_
1866
1872
 
1867
1873
  ## `agentia work get [ID]`
1868
1874
 
@@ -1889,7 +1895,7 @@ EXAMPLES
1889
1895
  $ agentia work get a0SKC000000CmZ2AU --json
1890
1896
  ```
1891
1897
 
1892
- _See code: [src/commands/work/get.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/get.ts)_
1898
+ _See code: [src/commands/work/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/get.ts)_
1893
1899
 
1894
1900
  ## `agentia work list`
1895
1901
 
@@ -1932,7 +1938,7 @@ EXAMPLES
1932
1938
  $ agentia work list --json
1933
1939
  ```
1934
1940
 
1935
- _See code: [src/commands/work/list.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/list.ts)_
1941
+ _See code: [src/commands/work/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/list.ts)_
1936
1942
 
1937
1943
  ## `agentia work push`
1938
1944
 
@@ -1955,7 +1961,7 @@ EXAMPLES
1955
1961
  $ agentia work push --json
1956
1962
  ```
1957
1963
 
1958
- _See code: [src/commands/work/push.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/push.ts)_
1964
+ _See code: [src/commands/work/push.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/push.ts)_
1959
1965
 
1960
1966
  ## `agentia work set ID`
1961
1967
 
@@ -1987,7 +1993,7 @@ EXAMPLES
1987
1993
  $ agentia work set US-0001 --base-branch develop
1988
1994
  ```
1989
1995
 
1990
- _See code: [src/commands/work/set.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/set.ts)_
1996
+ _See code: [src/commands/work/set.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/set.ts)_
1991
1997
 
1992
1998
  ## `agentia work status [ID]`
1993
1999
 
@@ -2015,30 +2021,62 @@ EXAMPLES
2015
2021
  $ agentia work status a0SKC000000CmZ2AU --json
2016
2022
  ```
2017
2023
 
2018
- _See code: [src/commands/work/status.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/status.ts)_
2024
+ _See code: [src/commands/work/status.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/status.ts)_
2019
2025
 
2020
2026
  ## `agentia work submit`
2021
2027
 
2022
- Submit the current feature/US-XXXX work item for pipeline quality gates and validation. Pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true).
2028
+ Submit the current feature/US-XXXX work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true).
2023
2029
 
2024
2030
  ```
2025
2031
  USAGE
2026
- $ agentia work submit [--json]
2032
+ $ agentia work submit [--json] [--skip-local-tests]
2033
+
2034
+ FLAGS
2035
+ --skip-local-tests Skip running local quality gates scripts in the project root
2027
2036
 
2028
2037
  GLOBAL FLAGS
2029
2038
  --json Format output as json.
2030
2039
 
2031
2040
  DESCRIPTION
2032
- Submit the current feature/US-XXXX work item for pipeline quality gates and validation. Pushes and registers commits
2033
- when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true).
2041
+ Submit the current feature/US-XXXX work item for pipeline quality gates and validation. Runs project-root
2042
+ .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers
2043
+ commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true).
2034
2044
 
2035
2045
  EXAMPLES
2036
2046
  $ agentia work submit
2037
2047
 
2048
+ $ agentia work submit --skip-local-tests
2049
+
2038
2050
  $ agentia work submit --json
2039
2051
  ```
2040
2052
 
2041
- _See code: [src/commands/work/submit.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/submit.ts)_
2053
+ _See code: [src/commands/work/submit.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/submit.ts)_
2054
+
2055
+ ## `agentia work test`
2056
+
2057
+ Run quality gates for the current work item. With --local, runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present — the same local gates as work submit.
2058
+
2059
+ ```
2060
+ USAGE
2061
+ $ agentia work test [--json] [--local]
2062
+
2063
+ FLAGS
2064
+ --local Run local project-root quality gates scripts
2065
+
2066
+ GLOBAL FLAGS
2067
+ --json Format output as json.
2068
+
2069
+ DESCRIPTION
2070
+ Run quality gates for the current work item. With --local, runs project-root .agentia_quality_gates.sh (macOS/Linux)
2071
+ or .agentia_quality_gates.cmd (Windows) when present — the same local gates as work submit.
2072
+
2073
+ EXAMPLES
2074
+ $ agentia work test --local
2075
+
2076
+ $ agentia work test --local --json
2077
+ ```
2078
+
2079
+ _See code: [src/commands/work/test.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/test.ts)_
2042
2080
 
2043
2081
  ## `agentia work update [ID]`
2044
2082
 
@@ -2098,5 +2136,5 @@ EXAMPLES
2098
2136
  $ agentia work update a0SKC000000CmZ2AU --status "In Progress" --json
2099
2137
  ```
2100
2138
 
2101
- _See code: [src/commands/work/update.ts](https://github.com/Copado/agentia-cli/blob/v0.26.0-alpha.0/src/commands/work/update.ts)_
2139
+ _See code: [src/commands/work/update.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/update.ts)_
2102
2140
  <!-- commandsstop -->
@@ -9,6 +9,7 @@ export default class ProjectDefaultGet extends AgentiaCommand {
9
9
  static examples: string[];
10
10
  static flags: {
11
11
  readonly 'assign-me': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ readonly credential: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  readonly environment: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
14
  readonly epic: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  readonly feature: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -10,6 +10,7 @@ export default class ProjectDefaultSet extends AgentiaCommand {
10
10
  static flags: {
11
11
  'assign-me': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
12
  global: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
+ credential: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  environment: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  epic: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
16
  feature: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -9,6 +9,7 @@ export default class ProjectDefaultUnset extends AgentiaCommand {
9
9
  static examples: string[];
10
10
  static flags: {
11
11
  readonly 'assign-me': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ readonly credential: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  readonly environment: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
14
  readonly epic: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  readonly feature: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -3,5 +3,8 @@ import { type WorkSubmitResult } from '../../lib/work-types.js';
3
3
  export default class WorkSubmit extends AgentiaCommand {
4
4
  static description: string;
5
5
  static examples: string[];
6
+ static flags: {
7
+ 'skip-local-tests': import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
+ };
6
9
  run(): Promise<WorkSubmitResult>;
7
10
  }