@copado/agentia-cli 0.73.0-alpha.0 → 0.75.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 (51) hide show
  1. package/README.md +283 -194
  2. package/dist/commands/auth/get.d.ts +10 -0
  3. package/dist/commands/auth/get.js +18 -2
  4. package/dist/commands/auth/get.js.map +1 -1
  5. package/dist/commands/cicd/function/list.d.ts +4 -1
  6. package/dist/commands/cicd/function/list.js +15 -6
  7. package/dist/commands/cicd/function/list.js.map +1 -1
  8. package/dist/commands/cicd/repository/list.d.ts +4 -0
  9. package/dist/commands/cicd/repository/list.js +9 -3
  10. package/dist/commands/cicd/repository/list.js.map +1 -1
  11. package/dist/commands/cicd/work/commit.d.ts +7 -1
  12. package/dist/commands/cicd/work/commit.js +96 -6
  13. package/dist/commands/cicd/work/commit.js.map +1 -1
  14. package/dist/commands/cicd/work/push.js +1 -1
  15. package/dist/commands/cicd/work/push.js.map +1 -1
  16. package/dist/commands/cicd/work/set.js +2 -1
  17. package/dist/commands/cicd/work/set.js.map +1 -1
  18. package/dist/lib/defaults-store.d.ts +17 -0
  19. package/dist/lib/defaults-store.js +56 -0
  20. package/dist/lib/defaults-store.js.map +1 -1
  21. package/dist/lib/function-types.d.ts +13 -2
  22. package/dist/lib/function-types.js +6 -7
  23. package/dist/lib/function-types.js.map +1 -1
  24. package/dist/lib/git-worktree.d.ts +4 -0
  25. package/dist/lib/git-worktree.js +15 -0
  26. package/dist/lib/git-worktree.js.map +1 -1
  27. package/dist/lib/mcp/tools.d.ts +10 -9
  28. package/dist/lib/mcp/tools.js +8 -7
  29. package/dist/lib/mcp/tools.js.map +1 -1
  30. package/dist/lib/mcp/work-tools.d.ts +5 -1
  31. package/dist/lib/mcp/work-tools.js +106 -36
  32. package/dist/lib/mcp/work-tools.js.map +1 -1
  33. package/dist/lib/repository-flags.d.ts +4 -1
  34. package/dist/lib/repository-flags.js +5 -0
  35. package/dist/lib/repository-flags.js.map +1 -1
  36. package/dist/lib/repository-types.d.ts +3 -2
  37. package/dist/lib/repository-types.js +6 -3
  38. package/dist/lib/repository-types.js.map +1 -1
  39. package/dist/lib/work-local-commit.d.ts +40 -0
  40. package/dist/lib/work-local-commit.js +118 -0
  41. package/dist/lib/work-local-commit.js.map +1 -0
  42. package/dist/lib/work-push.d.ts +2 -0
  43. package/dist/lib/work-push.js +21 -2
  44. package/dist/lib/work-push.js.map +1 -1
  45. package/dist/lib/work-set-selection.d.ts +2 -0
  46. package/dist/lib/work-set-selection.js +1 -0
  47. package/dist/lib/work-set-selection.js.map +1 -1
  48. package/dist/lib/work-types.d.ts +3 -0
  49. package/dist/lib/work-types.js.map +1 -1
  50. package/oclif.manifest.json +583 -523
  51. package/package.json +1 -1
@@ -95,7 +95,7 @@
95
95
  "auth:get": {
96
96
  "aliases": [],
97
97
  "args": {},
98
- "description": "Show stored authentication credentials from the system keychain",
98
+ "description": "Show stored authentication credentials from the system keychain and the local config file locations",
99
99
  "examples": [
100
100
  "<%= config.bin %> <%= command.id %>",
101
101
  "<%= config.bin %> <%= command.id %> --ai",
@@ -2323,6 +2323,8 @@
2323
2323
  "examples": [
2324
2324
  "<%= config.bin %> <%= command.id %>",
2325
2325
  "<%= config.bin %> <%= command.id %> --type all",
2326
+ "<%= config.bin %> <%= command.id %> --page-size 50",
2327
+ "<%= config.bin %> <%= command.id %> --cursor NEXT --json",
2326
2328
  "<%= config.bin %> <%= command.id %> --json"
2327
2329
  ],
2328
2330
  "flags": {
@@ -2333,6 +2335,20 @@
2333
2335
  "allowNo": false,
2334
2336
  "type": "boolean"
2335
2337
  },
2338
+ "cursor": {
2339
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
2340
+ "name": "cursor",
2341
+ "hasDynamicHelp": false,
2342
+ "multiple": false,
2343
+ "type": "option"
2344
+ },
2345
+ "page-size": {
2346
+ "description": "Number of records per page (1-200)",
2347
+ "name": "page-size",
2348
+ "hasDynamicHelp": false,
2349
+ "multiple": false,
2350
+ "type": "option"
2351
+ },
2336
2352
  "type": {
2337
2353
  "description": "List Custom functions only, or all functions",
2338
2354
  "name": "type",
@@ -4005,7 +4021,8 @@
4005
4021
  "description": "List Copado Git repositories",
4006
4022
  "examples": [
4007
4023
  "<%= config.bin %> <%= command.id %>",
4008
- "<%= config.bin %> <%= command.id %> --json"
4024
+ "<%= config.bin %> <%= command.id %> --page-size 50",
4025
+ "<%= config.bin %> <%= command.id %> --cursor NEXT --json"
4009
4026
  ],
4010
4027
  "flags": {
4011
4028
  "json": {
@@ -4014,6 +4031,20 @@
4014
4031
  "name": "json",
4015
4032
  "allowNo": false,
4016
4033
  "type": "boolean"
4034
+ },
4035
+ "cursor": {
4036
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
4037
+ "name": "cursor",
4038
+ "hasDynamicHelp": false,
4039
+ "multiple": false,
4040
+ "type": "option"
4041
+ },
4042
+ "page-size": {
4043
+ "description": "Number of records per page (1-200)",
4044
+ "name": "page-size",
4045
+ "hasDynamicHelp": false,
4046
+ "multiple": false,
4047
+ "type": "option"
4017
4048
  }
4018
4049
  },
4019
4050
  "hasDynamicHelp": false,
@@ -4365,8 +4396,10 @@
4365
4396
  "required": false
4366
4397
  }
4367
4398
  },
4368
- "description": "Create and optionally wait for a Copado cloud commit job for a user story. Preflights the story, submits POST /release/commit, and polls the job monitor by default.",
4399
+ "description": "Commit user story work locally or through the Copado cloud commit API. With --local (the default) it runs a plain git commit and records the Copado selections lastPermissionSelected and lastApexTestClassesSelected in .agentia/config.user.json for `cicd work push`. With --cloud it preflights the story, submits POST /release/commit, and polls the job monitor by default.",
4369
4400
  "examples": [
4401
+ "<%= config.bin %> <%= command.id %> --local --all",
4402
+ "<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 add account service\" --permissions CustomField:Account.SLA__c,ApexClass:AccountService --apex-test-classes MyTest,OtherTest",
4370
4403
  "<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --action Add",
4371
4404
  "<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --cloud --message \"Update Aura files\" --metadata-name accountEditor --metadata-type AuraDefinitionBundle --action SelectiveCommit --selection accountEditor/accountEditor.cmp --selection accountEditor/accountEditorController.js",
4372
4405
  "cat commit-request.json | <%= config.bin %> <%= command.id %> --cloud --stdin --json"
@@ -4393,6 +4426,20 @@
4393
4426
  ],
4394
4427
  "type": "option"
4395
4428
  },
4429
+ "all": {
4430
+ "char": "a",
4431
+ "description": "Local commit only. Stage every tracked modification before committing, like `git commit -a`.",
4432
+ "name": "all",
4433
+ "allowNo": false,
4434
+ "type": "boolean"
4435
+ },
4436
+ "apex-test-classes": {
4437
+ "description": "Local commit only. Comma-separated Apex test class names stored as lastApexTestClassesSelected for `cicd work push`. Pass an empty value to clear it.",
4438
+ "name": "apex-test-classes",
4439
+ "hasDynamicHelp": false,
4440
+ "multiple": false,
4441
+ "type": "option"
4442
+ },
4396
4443
  "base-branch": {
4397
4444
  "description": "Optional base branch to include in the commit request.",
4398
4445
  "name": "base-branch",
@@ -4401,7 +4448,7 @@
4401
4448
  "type": "option"
4402
4449
  },
4403
4450
  "cloud": {
4404
- "description": "Use the Copado cloud commit API. Required for this command.",
4451
+ "description": "Use the Copado cloud commit API instead of a local git commit.",
4405
4452
  "name": "cloud",
4406
4453
  "allowNo": false,
4407
4454
  "type": "boolean"
@@ -4427,9 +4474,15 @@
4427
4474
  "multiple": false,
4428
4475
  "type": "option"
4429
4476
  },
4477
+ "local": {
4478
+ "description": "Run a local git commit and record Copado selections. Used by default when --cloud is omitted.",
4479
+ "name": "local",
4480
+ "allowNo": false,
4481
+ "type": "boolean"
4482
+ },
4430
4483
  "message": {
4431
4484
  "char": "m",
4432
- "description": "Commit message. Required unless provided by JSON input.",
4485
+ "description": "Commit message. Defaults to \"<lastWorkItem> <lastWorkItemTitle>\" for a local commit; required for a cloud commit unless provided by JSON input.",
4433
4486
  "name": "message",
4434
4487
  "hasDynamicHelp": false,
4435
4488
  "multiple": false,
@@ -4470,6 +4523,13 @@
4470
4523
  "multiple": false,
4471
4524
  "type": "option"
4472
4525
  },
4526
+ "permissions": {
4527
+ "description": "Local commit only. Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, stored as lastPermissionSelected and sent as the `cicd work push` retrieveOnly list. The named metadata is not committed or deployed; it filters which permissions are updated inside the committed permission sets and profiles so other permissions are not overwritten. Pass an empty value to clear it.",
4528
+ "name": "permissions",
4529
+ "hasDynamicHelp": false,
4530
+ "multiple": false,
4531
+ "type": "option"
4532
+ },
4473
4533
  "platform-experience": {
4474
4534
  "description": "Initial platform-experience header for preflight. The preflight response wins for commit.",
4475
4535
  "name": "platform-experience",
@@ -5134,7 +5194,7 @@
5134
5194
  "cicd:work:push": {
5135
5195
  "aliases": [],
5136
5196
  "args": {},
5137
- "description": "Push the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Applies Copado environment-variable then yaml replacements when needed, commits both as a single follow-up commit, locks the tip commit, runs `git push origin <branch>`, calls headless work/push, then merges the feature branch into the recorded dev org branch.",
5197
+ "description": "Push the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Applies Copado environment-variable then yaml replacements when needed, commits both as a single follow-up commit, locks the tip commit, runs `git push origin <branch>`, calls headless work/push with lastPermissionSelected as the retrieveOnly list, then merges the feature branch into the recorded dev org branch.",
5138
5198
  "examples": [
5139
5199
  "<%= config.bin %> <%= command.id %>",
5140
5200
  "<%= config.bin %> <%= command.id %> --json"
@@ -5580,14 +5640,19 @@
5580
5640
  "update.js"
5581
5641
  ]
5582
5642
  },
5583
- "testing:job:create": {
5643
+ "testing:build:abort": {
5584
5644
  "aliases": [],
5585
- "args": {},
5586
- "description": "Create a Copado Robotic Testing job/test from uploaded files or Git storage",
5645
+ "args": {
5646
+ "id": {
5647
+ "description": "CRT build/run ID.",
5648
+ "name": "id",
5649
+ "required": true
5650
+ }
5651
+ },
5652
+ "description": "Abort a Copado Robotic Testing build/run",
5587
5653
  "examples": [
5588
- "<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --file tests.robot",
5589
- "<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --dir tests --json",
5590
- "<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --git-url https://github.com/acme/crt-tests.git --git-branch main"
5654
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
5655
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --json"
5591
5656
  ],
5592
5657
  "flags": {
5593
5658
  "json": {
@@ -5627,96 +5692,116 @@
5627
5692
  "multiple": false,
5628
5693
  "type": "option"
5629
5694
  },
5630
- "dir": {
5631
- "description": "Directory containing Robot Framework files to upload. Can be provided multiple times.",
5632
- "name": "dir",
5633
- "hasDynamicHelp": false,
5634
- "multiple": true,
5635
- "type": "option"
5636
- },
5637
- "file": {
5638
- "char": "f",
5639
- "description": "Robot Framework file to upload. Can be provided multiple times.",
5640
- "name": "file",
5641
- "hasDynamicHelp": false,
5642
- "multiple": true,
5643
- "type": "option"
5644
- },
5645
- "git-branch": {
5646
- "description": "Git branch to use for a Git-backed CRT job. Mutually exclusive with --git-tag.",
5647
- "name": "git-branch",
5648
- "hasDynamicHelp": false,
5649
- "multiple": false,
5650
- "type": "option"
5651
- },
5652
- "git-domain-credential": {
5653
- "description": "CRT domain credential ID to use for Git repository access.",
5654
- "name": "git-domain-credential",
5695
+ "job": {
5696
+ "char": "j",
5697
+ "description": "CRT job/test ID.",
5698
+ "name": "job",
5699
+ "required": true,
5655
5700
  "hasDynamicHelp": false,
5656
5701
  "multiple": false,
5657
5702
  "type": "option"
5703
+ }
5704
+ },
5705
+ "hasDynamicHelp": false,
5706
+ "hiddenAliases": [],
5707
+ "id": "testing:build:abort",
5708
+ "pluginAlias": "@copado/agentia-cli",
5709
+ "pluginName": "@copado/agentia-cli",
5710
+ "pluginType": "core",
5711
+ "strict": true,
5712
+ "enableJsonFlag": true,
5713
+ "isESM": true,
5714
+ "relativePath": [
5715
+ "dist",
5716
+ "commands",
5717
+ "testing",
5718
+ "build",
5719
+ "abort.js"
5720
+ ]
5721
+ },
5722
+ "testing:build:list": {
5723
+ "aliases": [],
5724
+ "args": {},
5725
+ "description": "List Copado Robotic Testing builds/runs",
5726
+ "examples": [
5727
+ "<%= config.bin %> <%= command.id %> --project <project-id>",
5728
+ "<%= config.bin %> <%= command.id %> --project <project-id> --job <job-id> --status succeeded --json"
5729
+ ],
5730
+ "flags": {
5731
+ "json": {
5732
+ "description": "Format output as json.",
5733
+ "helpGroup": "GLOBAL",
5734
+ "name": "json",
5735
+ "allowNo": false,
5736
+ "type": "boolean"
5658
5737
  },
5659
- "git-password": {
5660
- "description": "Git password/token for repository access. Prefer --git-domain-credential when available.",
5661
- "name": "git-password",
5738
+ "domain": {
5739
+ "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
5740
+ "name": "domain",
5662
5741
  "hasDynamicHelp": false,
5663
5742
  "multiple": false,
5664
5743
  "type": "option"
5665
5744
  },
5666
- "git-tag": {
5667
- "description": "Git tag to use for a Git-backed CRT job. Mutually exclusive with --git-branch.",
5668
- "name": "git-tag",
5745
+ "org": {
5746
+ "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
5747
+ "name": "org",
5669
5748
  "hasDynamicHelp": false,
5670
5749
  "multiple": false,
5671
5750
  "type": "option"
5672
5751
  },
5673
- "git-url": {
5674
- "description": "Git repository URL for a Git-backed CRT job.",
5675
- "name": "git-url",
5752
+ "pat": {
5753
+ "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
5754
+ "name": "pat",
5676
5755
  "hasDynamicHelp": false,
5677
5756
  "multiple": false,
5678
5757
  "type": "option"
5679
5758
  },
5680
- "git-use-caller-credentials": {
5681
- "description": "Use caller credentials for Git repository access instead of explicit Git username/password.",
5682
- "name": "git-use-caller-credentials",
5683
- "allowNo": false,
5684
- "type": "boolean"
5685
- },
5686
- "git-username": {
5687
- "description": "Git username for repository access. Prefer --git-domain-credential when available.",
5688
- "name": "git-username",
5759
+ "project": {
5760
+ "char": "p",
5761
+ "description": "CRT project ID.",
5762
+ "name": "project",
5763
+ "required": true,
5689
5764
  "hasDynamicHelp": false,
5690
5765
  "multiple": false,
5691
5766
  "type": "option"
5692
5767
  },
5693
- "description": {
5694
- "description": "Job/test description.",
5695
- "name": "description",
5768
+ "job": {
5769
+ "description": "Limit builds to one CRT job/test ID.",
5770
+ "name": "job",
5696
5771
  "hasDynamicHelp": false,
5697
5772
  "multiple": false,
5698
5773
  "type": "option"
5699
5774
  },
5700
- "name": {
5701
- "description": "Job/test name.",
5702
- "name": "name",
5703
- "required": true,
5775
+ "result-size": {
5776
+ "description": "CRT build result size.",
5777
+ "name": "result-size",
5778
+ "default": "compact",
5704
5779
  "hasDynamicHelp": false,
5705
5780
  "multiple": false,
5781
+ "options": [
5782
+ "compact"
5783
+ ],
5706
5784
  "type": "option"
5707
5785
  },
5708
- "robot": {
5709
- "description": "CRT robot ID.",
5710
- "name": "robot",
5711
- "required": true,
5786
+ "status": {
5787
+ "description": "Build status filter.",
5788
+ "name": "status",
5712
5789
  "hasDynamicHelp": false,
5713
5790
  "multiple": false,
5791
+ "options": [
5792
+ "aborted",
5793
+ "executing",
5794
+ "failed",
5795
+ "finished",
5796
+ "queued",
5797
+ "succeeded"
5798
+ ],
5714
5799
  "type": "option"
5715
5800
  }
5716
5801
  },
5717
5802
  "hasDynamicHelp": false,
5718
5803
  "hiddenAliases": [],
5719
- "id": "testing:job:create",
5804
+ "id": "testing:build:list",
5720
5805
  "pluginAlias": "@copado/agentia-cli",
5721
5806
  "pluginName": "@copado/agentia-cli",
5722
5807
  "pluginType": "core",
@@ -5727,23 +5812,23 @@
5727
5812
  "dist",
5728
5813
  "commands",
5729
5814
  "testing",
5730
- "job",
5731
- "create.js"
5815
+ "build",
5816
+ "list.js"
5732
5817
  ]
5733
5818
  },
5734
- "testing:job:delete": {
5819
+ "testing:build:logs": {
5735
5820
  "aliases": [],
5736
5821
  "args": {
5737
5822
  "id": {
5738
- "description": "CRT job/test ID.",
5823
+ "description": "CRT build/run ID.",
5739
5824
  "name": "id",
5740
5825
  "required": true
5741
5826
  }
5742
5827
  },
5743
- "description": "Delete a Copado Robotic Testing job/test",
5828
+ "description": "Get logs for a Copado Robotic Testing build/run",
5744
5829
  "examples": [
5745
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
5746
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
5830
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
5831
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --output log.html --json"
5747
5832
  ],
5748
5833
  "flags": {
5749
5834
  "json": {
@@ -5782,11 +5867,28 @@
5782
5867
  "hasDynamicHelp": false,
5783
5868
  "multiple": false,
5784
5869
  "type": "option"
5870
+ },
5871
+ "job": {
5872
+ "char": "j",
5873
+ "description": "CRT job/test ID.",
5874
+ "name": "job",
5875
+ "required": true,
5876
+ "hasDynamicHelp": false,
5877
+ "multiple": false,
5878
+ "type": "option"
5879
+ },
5880
+ "output": {
5881
+ "char": "o",
5882
+ "description": "Write raw output to this file path.",
5883
+ "name": "output",
5884
+ "hasDynamicHelp": false,
5885
+ "multiple": false,
5886
+ "type": "option"
5785
5887
  }
5786
5888
  },
5787
5889
  "hasDynamicHelp": false,
5788
5890
  "hiddenAliases": [],
5789
- "id": "testing:job:delete",
5891
+ "id": "testing:build:logs",
5790
5892
  "pluginAlias": "@copado/agentia-cli",
5791
5893
  "pluginName": "@copado/agentia-cli",
5792
5894
  "pluginType": "core",
@@ -5797,23 +5899,24 @@
5797
5899
  "dist",
5798
5900
  "commands",
5799
5901
  "testing",
5800
- "job",
5801
- "delete.js"
5902
+ "build",
5903
+ "logs.js"
5802
5904
  ]
5803
5905
  },
5804
- "testing:job:download": {
5906
+ "testing:build:run": {
5805
5907
  "aliases": [],
5806
5908
  "args": {
5807
5909
  "id": {
5808
- "description": "CRT job/test ID.",
5910
+ "description": "CRT job/test ID to run.",
5809
5911
  "name": "id",
5810
5912
  "required": true
5811
5913
  }
5812
5914
  },
5813
- "description": "Download files from a Copado Robotic Testing job/test",
5915
+ "description": "Run a Copado Robotic Testing job/test",
5814
5916
  "examples": [
5815
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file tests.robot",
5816
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file tests.robot --output-dir ./crt-files --json"
5917
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
5918
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
5919
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
5817
5920
  ],
5818
5921
  "flags": {
5819
5922
  "json": {
@@ -5854,24 +5957,61 @@
5854
5957
  "type": "option"
5855
5958
  },
5856
5959
  "branch": {
5857
- "description": "Optional CRT branch name for file operations.",
5960
+ "description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
5858
5961
  "name": "branch",
5859
5962
  "hasDynamicHelp": false,
5860
5963
  "multiple": false,
5861
5964
  "type": "option"
5862
5965
  },
5863
- "file": {
5864
- "char": "f",
5865
- "description": "Remote CRT file path to download. Can be provided multiple times.",
5866
- "name": "file",
5867
- "required": true,
5966
+ "exclude": {
5967
+ "description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
5968
+ "name": "exclude",
5868
5969
  "hasDynamicHelp": false,
5869
5970
  "multiple": true,
5870
5971
  "type": "option"
5871
5972
  },
5872
- "output-dir": {
5873
- "description": "Directory to write downloaded files.",
5874
- "name": "output-dir",
5973
+ "include": {
5974
+ "description": "Robot Framework tag to include in this run. Can be provided multiple times.",
5975
+ "name": "include",
5976
+ "hasDynamicHelp": false,
5977
+ "multiple": true,
5978
+ "type": "option"
5979
+ },
5980
+ "param": {
5981
+ "description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
5982
+ "name": "param",
5983
+ "hasDynamicHelp": false,
5984
+ "multiple": true,
5985
+ "type": "option"
5986
+ },
5987
+ "record": {
5988
+ "description": "CRT execution recording mode.",
5989
+ "name": "record",
5990
+ "hasDynamicHelp": false,
5991
+ "multiple": false,
5992
+ "options": [
5993
+ "all",
5994
+ "failed",
5995
+ "none"
5996
+ ],
5997
+ "type": "option"
5998
+ },
5999
+ "rerun-failed": {
6000
+ "description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
6001
+ "name": "rerun-failed",
6002
+ "hasDynamicHelp": false,
6003
+ "multiple": false,
6004
+ "type": "option"
6005
+ },
6006
+ "rerun-failed-from-latest": {
6007
+ "description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
6008
+ "name": "rerun-failed-from-latest",
6009
+ "allowNo": false,
6010
+ "type": "boolean"
6011
+ },
6012
+ "tag": {
6013
+ "description": "Git tag to use for this run. Mutually exclusive with --branch.",
6014
+ "name": "tag",
5875
6015
  "hasDynamicHelp": false,
5876
6016
  "multiple": false,
5877
6017
  "type": "option"
@@ -5879,7 +6019,7 @@
5879
6019
  },
5880
6020
  "hasDynamicHelp": false,
5881
6021
  "hiddenAliases": [],
5882
- "id": "testing:job:download",
6022
+ "id": "testing:build:run",
5883
6023
  "pluginAlias": "@copado/agentia-cli",
5884
6024
  "pluginName": "@copado/agentia-cli",
5885
6025
  "pluginType": "core",
@@ -5890,23 +6030,18 @@
5890
6030
  "dist",
5891
6031
  "commands",
5892
6032
  "testing",
5893
- "job",
5894
- "download.js"
6033
+ "build",
6034
+ "run.js"
5895
6035
  ]
5896
6036
  },
5897
- "testing:job:files": {
6037
+ "testing:job:create": {
5898
6038
  "aliases": [],
5899
- "args": {
5900
- "id": {
5901
- "description": "CRT job/test ID.",
5902
- "name": "id",
5903
- "required": true
5904
- }
5905
- },
5906
- "description": "List files for a Copado Robotic Testing job/test",
6039
+ "args": {},
6040
+ "description": "Create a Copado Robotic Testing job/test from uploaded files or Git storage",
5907
6041
  "examples": [
5908
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
5909
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
6042
+ "<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --file tests.robot",
6043
+ "<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --dir tests --json",
6044
+ "<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --git-url https://github.com/acme/crt-tests.git --git-branch main"
5910
6045
  ],
5911
6046
  "flags": {
5912
6047
  "json": {
@@ -5945,11 +6080,97 @@
5945
6080
  "hasDynamicHelp": false,
5946
6081
  "multiple": false,
5947
6082
  "type": "option"
6083
+ },
6084
+ "dir": {
6085
+ "description": "Directory containing Robot Framework files to upload. Can be provided multiple times.",
6086
+ "name": "dir",
6087
+ "hasDynamicHelp": false,
6088
+ "multiple": true,
6089
+ "type": "option"
6090
+ },
6091
+ "file": {
6092
+ "char": "f",
6093
+ "description": "Robot Framework file to upload. Can be provided multiple times.",
6094
+ "name": "file",
6095
+ "hasDynamicHelp": false,
6096
+ "multiple": true,
6097
+ "type": "option"
6098
+ },
6099
+ "git-branch": {
6100
+ "description": "Git branch to use for a Git-backed CRT job. Mutually exclusive with --git-tag.",
6101
+ "name": "git-branch",
6102
+ "hasDynamicHelp": false,
6103
+ "multiple": false,
6104
+ "type": "option"
6105
+ },
6106
+ "git-domain-credential": {
6107
+ "description": "CRT domain credential ID to use for Git repository access.",
6108
+ "name": "git-domain-credential",
6109
+ "hasDynamicHelp": false,
6110
+ "multiple": false,
6111
+ "type": "option"
6112
+ },
6113
+ "git-password": {
6114
+ "description": "Git password/token for repository access. Prefer --git-domain-credential when available.",
6115
+ "name": "git-password",
6116
+ "hasDynamicHelp": false,
6117
+ "multiple": false,
6118
+ "type": "option"
6119
+ },
6120
+ "git-tag": {
6121
+ "description": "Git tag to use for a Git-backed CRT job. Mutually exclusive with --git-branch.",
6122
+ "name": "git-tag",
6123
+ "hasDynamicHelp": false,
6124
+ "multiple": false,
6125
+ "type": "option"
6126
+ },
6127
+ "git-url": {
6128
+ "description": "Git repository URL for a Git-backed CRT job.",
6129
+ "name": "git-url",
6130
+ "hasDynamicHelp": false,
6131
+ "multiple": false,
6132
+ "type": "option"
6133
+ },
6134
+ "git-use-caller-credentials": {
6135
+ "description": "Use caller credentials for Git repository access instead of explicit Git username/password.",
6136
+ "name": "git-use-caller-credentials",
6137
+ "allowNo": false,
6138
+ "type": "boolean"
6139
+ },
6140
+ "git-username": {
6141
+ "description": "Git username for repository access. Prefer --git-domain-credential when available.",
6142
+ "name": "git-username",
6143
+ "hasDynamicHelp": false,
6144
+ "multiple": false,
6145
+ "type": "option"
6146
+ },
6147
+ "description": {
6148
+ "description": "Job/test description.",
6149
+ "name": "description",
6150
+ "hasDynamicHelp": false,
6151
+ "multiple": false,
6152
+ "type": "option"
6153
+ },
6154
+ "name": {
6155
+ "description": "Job/test name.",
6156
+ "name": "name",
6157
+ "required": true,
6158
+ "hasDynamicHelp": false,
6159
+ "multiple": false,
6160
+ "type": "option"
6161
+ },
6162
+ "robot": {
6163
+ "description": "CRT robot ID.",
6164
+ "name": "robot",
6165
+ "required": true,
6166
+ "hasDynamicHelp": false,
6167
+ "multiple": false,
6168
+ "type": "option"
5948
6169
  }
5949
6170
  },
5950
6171
  "hasDynamicHelp": false,
5951
6172
  "hiddenAliases": [],
5952
- "id": "testing:job:files",
6173
+ "id": "testing:job:create",
5953
6174
  "pluginAlias": "@copado/agentia-cli",
5954
6175
  "pluginName": "@copado/agentia-cli",
5955
6176
  "pluginType": "core",
@@ -5961,10 +6182,10 @@
5961
6182
  "commands",
5962
6183
  "testing",
5963
6184
  "job",
5964
- "files.js"
6185
+ "create.js"
5965
6186
  ]
5966
6187
  },
5967
- "testing:job:get": {
6188
+ "testing:job:delete": {
5968
6189
  "aliases": [],
5969
6190
  "args": {
5970
6191
  "id": {
@@ -5973,7 +6194,7 @@
5973
6194
  "required": true
5974
6195
  }
5975
6196
  },
5976
- "description": "Get a Copado Robotic Testing job/test from the project job list",
6197
+ "description": "Delete a Copado Robotic Testing job/test",
5977
6198
  "examples": [
5978
6199
  "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
5979
6200
  "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
@@ -6019,7 +6240,7 @@
6019
6240
  },
6020
6241
  "hasDynamicHelp": false,
6021
6242
  "hiddenAliases": [],
6022
- "id": "testing:job:get",
6243
+ "id": "testing:job:delete",
6023
6244
  "pluginAlias": "@copado/agentia-cli",
6024
6245
  "pluginName": "@copado/agentia-cli",
6025
6246
  "pluginType": "core",
@@ -6031,16 +6252,22 @@
6031
6252
  "commands",
6032
6253
  "testing",
6033
6254
  "job",
6034
- "get.js"
6255
+ "delete.js"
6035
6256
  ]
6036
6257
  },
6037
- "testing:job:list": {
6258
+ "testing:job:download": {
6038
6259
  "aliases": [],
6039
- "args": {},
6040
- "description": "List Copado Robotic Testing jobs/tests in a project",
6260
+ "args": {
6261
+ "id": {
6262
+ "description": "CRT job/test ID.",
6263
+ "name": "id",
6264
+ "required": true
6265
+ }
6266
+ },
6267
+ "description": "Download files from a Copado Robotic Testing job/test",
6041
6268
  "examples": [
6042
- "<%= config.bin %> <%= command.id %> --project <project-id>",
6043
- "<%= config.bin %> <%= command.id %> --project <project-id> --name \"Smoke\" --json"
6269
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file tests.robot",
6270
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file tests.robot --output-dir ./crt-files --json"
6044
6271
  ],
6045
6272
  "flags": {
6046
6273
  "json": {
@@ -6080,9 +6307,25 @@
6080
6307
  "multiple": false,
6081
6308
  "type": "option"
6082
6309
  },
6083
- "name": {
6084
- "description": "Case-insensitive exact job name to match client-side.",
6085
- "name": "name",
6310
+ "branch": {
6311
+ "description": "Optional CRT branch name for file operations.",
6312
+ "name": "branch",
6313
+ "hasDynamicHelp": false,
6314
+ "multiple": false,
6315
+ "type": "option"
6316
+ },
6317
+ "file": {
6318
+ "char": "f",
6319
+ "description": "Remote CRT file path to download. Can be provided multiple times.",
6320
+ "name": "file",
6321
+ "required": true,
6322
+ "hasDynamicHelp": false,
6323
+ "multiple": true,
6324
+ "type": "option"
6325
+ },
6326
+ "output-dir": {
6327
+ "description": "Directory to write downloaded files.",
6328
+ "name": "output-dir",
6086
6329
  "hasDynamicHelp": false,
6087
6330
  "multiple": false,
6088
6331
  "type": "option"
@@ -6090,7 +6333,7 @@
6090
6333
  },
6091
6334
  "hasDynamicHelp": false,
6092
6335
  "hiddenAliases": [],
6093
- "id": "testing:job:list",
6336
+ "id": "testing:job:download",
6094
6337
  "pluginAlias": "@copado/agentia-cli",
6095
6338
  "pluginName": "@copado/agentia-cli",
6096
6339
  "pluginType": "core",
@@ -6102,22 +6345,21 @@
6102
6345
  "commands",
6103
6346
  "testing",
6104
6347
  "job",
6105
- "list.js"
6348
+ "download.js"
6106
6349
  ]
6107
6350
  },
6108
- "testing:job:run": {
6351
+ "testing:job:files": {
6109
6352
  "aliases": [],
6110
6353
  "args": {
6111
6354
  "id": {
6112
- "description": "CRT job/test ID to run.",
6355
+ "description": "CRT job/test ID.",
6113
6356
  "name": "id",
6114
6357
  "required": true
6115
6358
  }
6116
6359
  },
6117
- "description": "Run a Copado Robotic Testing job/test",
6360
+ "description": "List files for a Copado Robotic Testing job/test",
6118
6361
  "examples": [
6119
6362
  "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
6120
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
6121
6363
  "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
6122
6364
  ],
6123
6365
  "flags": {
@@ -6157,10 +6399,222 @@
6157
6399
  "hasDynamicHelp": false,
6158
6400
  "multiple": false,
6159
6401
  "type": "option"
6402
+ }
6403
+ },
6404
+ "hasDynamicHelp": false,
6405
+ "hiddenAliases": [],
6406
+ "id": "testing:job:files",
6407
+ "pluginAlias": "@copado/agentia-cli",
6408
+ "pluginName": "@copado/agentia-cli",
6409
+ "pluginType": "core",
6410
+ "strict": true,
6411
+ "enableJsonFlag": true,
6412
+ "isESM": true,
6413
+ "relativePath": [
6414
+ "dist",
6415
+ "commands",
6416
+ "testing",
6417
+ "job",
6418
+ "files.js"
6419
+ ]
6420
+ },
6421
+ "testing:job:get": {
6422
+ "aliases": [],
6423
+ "args": {
6424
+ "id": {
6425
+ "description": "CRT job/test ID.",
6426
+ "name": "id",
6427
+ "required": true
6428
+ }
6429
+ },
6430
+ "description": "Get a Copado Robotic Testing job/test from the project job list",
6431
+ "examples": [
6432
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
6433
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
6434
+ ],
6435
+ "flags": {
6436
+ "json": {
6437
+ "description": "Format output as json.",
6438
+ "helpGroup": "GLOBAL",
6439
+ "name": "json",
6440
+ "allowNo": false,
6441
+ "type": "boolean"
6160
6442
  },
6161
- "branch": {
6162
- "description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
6163
- "name": "branch",
6443
+ "domain": {
6444
+ "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
6445
+ "name": "domain",
6446
+ "hasDynamicHelp": false,
6447
+ "multiple": false,
6448
+ "type": "option"
6449
+ },
6450
+ "org": {
6451
+ "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
6452
+ "name": "org",
6453
+ "hasDynamicHelp": false,
6454
+ "multiple": false,
6455
+ "type": "option"
6456
+ },
6457
+ "pat": {
6458
+ "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
6459
+ "name": "pat",
6460
+ "hasDynamicHelp": false,
6461
+ "multiple": false,
6462
+ "type": "option"
6463
+ },
6464
+ "project": {
6465
+ "char": "p",
6466
+ "description": "CRT project ID.",
6467
+ "name": "project",
6468
+ "required": true,
6469
+ "hasDynamicHelp": false,
6470
+ "multiple": false,
6471
+ "type": "option"
6472
+ }
6473
+ },
6474
+ "hasDynamicHelp": false,
6475
+ "hiddenAliases": [],
6476
+ "id": "testing:job:get",
6477
+ "pluginAlias": "@copado/agentia-cli",
6478
+ "pluginName": "@copado/agentia-cli",
6479
+ "pluginType": "core",
6480
+ "strict": true,
6481
+ "enableJsonFlag": true,
6482
+ "isESM": true,
6483
+ "relativePath": [
6484
+ "dist",
6485
+ "commands",
6486
+ "testing",
6487
+ "job",
6488
+ "get.js"
6489
+ ]
6490
+ },
6491
+ "testing:job:list": {
6492
+ "aliases": [],
6493
+ "args": {},
6494
+ "description": "List Copado Robotic Testing jobs/tests in a project",
6495
+ "examples": [
6496
+ "<%= config.bin %> <%= command.id %> --project <project-id>",
6497
+ "<%= config.bin %> <%= command.id %> --project <project-id> --name \"Smoke\" --json"
6498
+ ],
6499
+ "flags": {
6500
+ "json": {
6501
+ "description": "Format output as json.",
6502
+ "helpGroup": "GLOBAL",
6503
+ "name": "json",
6504
+ "allowNo": false,
6505
+ "type": "boolean"
6506
+ },
6507
+ "domain": {
6508
+ "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
6509
+ "name": "domain",
6510
+ "hasDynamicHelp": false,
6511
+ "multiple": false,
6512
+ "type": "option"
6513
+ },
6514
+ "org": {
6515
+ "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
6516
+ "name": "org",
6517
+ "hasDynamicHelp": false,
6518
+ "multiple": false,
6519
+ "type": "option"
6520
+ },
6521
+ "pat": {
6522
+ "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
6523
+ "name": "pat",
6524
+ "hasDynamicHelp": false,
6525
+ "multiple": false,
6526
+ "type": "option"
6527
+ },
6528
+ "project": {
6529
+ "char": "p",
6530
+ "description": "CRT project ID.",
6531
+ "name": "project",
6532
+ "required": true,
6533
+ "hasDynamicHelp": false,
6534
+ "multiple": false,
6535
+ "type": "option"
6536
+ },
6537
+ "name": {
6538
+ "description": "Case-insensitive exact job name to match client-side.",
6539
+ "name": "name",
6540
+ "hasDynamicHelp": false,
6541
+ "multiple": false,
6542
+ "type": "option"
6543
+ }
6544
+ },
6545
+ "hasDynamicHelp": false,
6546
+ "hiddenAliases": [],
6547
+ "id": "testing:job:list",
6548
+ "pluginAlias": "@copado/agentia-cli",
6549
+ "pluginName": "@copado/agentia-cli",
6550
+ "pluginType": "core",
6551
+ "strict": true,
6552
+ "enableJsonFlag": true,
6553
+ "isESM": true,
6554
+ "relativePath": [
6555
+ "dist",
6556
+ "commands",
6557
+ "testing",
6558
+ "job",
6559
+ "list.js"
6560
+ ]
6561
+ },
6562
+ "testing:job:run": {
6563
+ "aliases": [],
6564
+ "args": {
6565
+ "id": {
6566
+ "description": "CRT job/test ID to run.",
6567
+ "name": "id",
6568
+ "required": true
6569
+ }
6570
+ },
6571
+ "description": "Run a Copado Robotic Testing job/test",
6572
+ "examples": [
6573
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
6574
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
6575
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
6576
+ ],
6577
+ "flags": {
6578
+ "json": {
6579
+ "description": "Format output as json.",
6580
+ "helpGroup": "GLOBAL",
6581
+ "name": "json",
6582
+ "allowNo": false,
6583
+ "type": "boolean"
6584
+ },
6585
+ "domain": {
6586
+ "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
6587
+ "name": "domain",
6588
+ "hasDynamicHelp": false,
6589
+ "multiple": false,
6590
+ "type": "option"
6591
+ },
6592
+ "org": {
6593
+ "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
6594
+ "name": "org",
6595
+ "hasDynamicHelp": false,
6596
+ "multiple": false,
6597
+ "type": "option"
6598
+ },
6599
+ "pat": {
6600
+ "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
6601
+ "name": "pat",
6602
+ "hasDynamicHelp": false,
6603
+ "multiple": false,
6604
+ "type": "option"
6605
+ },
6606
+ "project": {
6607
+ "char": "p",
6608
+ "description": "CRT project ID.",
6609
+ "name": "project",
6610
+ "required": true,
6611
+ "hasDynamicHelp": false,
6612
+ "multiple": false,
6613
+ "type": "option"
6614
+ },
6615
+ "branch": {
6616
+ "description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
6617
+ "name": "branch",
6164
6618
  "hasDynamicHelp": false,
6165
6619
  "multiple": false,
6166
6620
  "type": "option"
@@ -10988,400 +11442,6 @@
10988
11442
  "unresolve.js"
10989
11443
  ]
10990
11444
  },
10991
- "testing:build:abort": {
10992
- "aliases": [],
10993
- "args": {
10994
- "id": {
10995
- "description": "CRT build/run ID.",
10996
- "name": "id",
10997
- "required": true
10998
- }
10999
- },
11000
- "description": "Abort a Copado Robotic Testing build/run",
11001
- "examples": [
11002
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
11003
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --json"
11004
- ],
11005
- "flags": {
11006
- "json": {
11007
- "description": "Format output as json.",
11008
- "helpGroup": "GLOBAL",
11009
- "name": "json",
11010
- "allowNo": false,
11011
- "type": "boolean"
11012
- },
11013
- "domain": {
11014
- "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
11015
- "name": "domain",
11016
- "hasDynamicHelp": false,
11017
- "multiple": false,
11018
- "type": "option"
11019
- },
11020
- "org": {
11021
- "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
11022
- "name": "org",
11023
- "hasDynamicHelp": false,
11024
- "multiple": false,
11025
- "type": "option"
11026
- },
11027
- "pat": {
11028
- "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
11029
- "name": "pat",
11030
- "hasDynamicHelp": false,
11031
- "multiple": false,
11032
- "type": "option"
11033
- },
11034
- "project": {
11035
- "char": "p",
11036
- "description": "CRT project ID.",
11037
- "name": "project",
11038
- "required": true,
11039
- "hasDynamicHelp": false,
11040
- "multiple": false,
11041
- "type": "option"
11042
- },
11043
- "job": {
11044
- "char": "j",
11045
- "description": "CRT job/test ID.",
11046
- "name": "job",
11047
- "required": true,
11048
- "hasDynamicHelp": false,
11049
- "multiple": false,
11050
- "type": "option"
11051
- }
11052
- },
11053
- "hasDynamicHelp": false,
11054
- "hiddenAliases": [],
11055
- "id": "testing:build:abort",
11056
- "pluginAlias": "@copado/agentia-cli",
11057
- "pluginName": "@copado/agentia-cli",
11058
- "pluginType": "core",
11059
- "strict": true,
11060
- "enableJsonFlag": true,
11061
- "isESM": true,
11062
- "relativePath": [
11063
- "dist",
11064
- "commands",
11065
- "testing",
11066
- "build",
11067
- "abort.js"
11068
- ]
11069
- },
11070
- "testing:build:list": {
11071
- "aliases": [],
11072
- "args": {},
11073
- "description": "List Copado Robotic Testing builds/runs",
11074
- "examples": [
11075
- "<%= config.bin %> <%= command.id %> --project <project-id>",
11076
- "<%= config.bin %> <%= command.id %> --project <project-id> --job <job-id> --status succeeded --json"
11077
- ],
11078
- "flags": {
11079
- "json": {
11080
- "description": "Format output as json.",
11081
- "helpGroup": "GLOBAL",
11082
- "name": "json",
11083
- "allowNo": false,
11084
- "type": "boolean"
11085
- },
11086
- "domain": {
11087
- "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
11088
- "name": "domain",
11089
- "hasDynamicHelp": false,
11090
- "multiple": false,
11091
- "type": "option"
11092
- },
11093
- "org": {
11094
- "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
11095
- "name": "org",
11096
- "hasDynamicHelp": false,
11097
- "multiple": false,
11098
- "type": "option"
11099
- },
11100
- "pat": {
11101
- "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
11102
- "name": "pat",
11103
- "hasDynamicHelp": false,
11104
- "multiple": false,
11105
- "type": "option"
11106
- },
11107
- "project": {
11108
- "char": "p",
11109
- "description": "CRT project ID.",
11110
- "name": "project",
11111
- "required": true,
11112
- "hasDynamicHelp": false,
11113
- "multiple": false,
11114
- "type": "option"
11115
- },
11116
- "job": {
11117
- "description": "Limit builds to one CRT job/test ID.",
11118
- "name": "job",
11119
- "hasDynamicHelp": false,
11120
- "multiple": false,
11121
- "type": "option"
11122
- },
11123
- "result-size": {
11124
- "description": "CRT build result size.",
11125
- "name": "result-size",
11126
- "default": "compact",
11127
- "hasDynamicHelp": false,
11128
- "multiple": false,
11129
- "options": [
11130
- "compact"
11131
- ],
11132
- "type": "option"
11133
- },
11134
- "status": {
11135
- "description": "Build status filter.",
11136
- "name": "status",
11137
- "hasDynamicHelp": false,
11138
- "multiple": false,
11139
- "options": [
11140
- "aborted",
11141
- "executing",
11142
- "failed",
11143
- "finished",
11144
- "queued",
11145
- "succeeded"
11146
- ],
11147
- "type": "option"
11148
- }
11149
- },
11150
- "hasDynamicHelp": false,
11151
- "hiddenAliases": [],
11152
- "id": "testing:build:list",
11153
- "pluginAlias": "@copado/agentia-cli",
11154
- "pluginName": "@copado/agentia-cli",
11155
- "pluginType": "core",
11156
- "strict": true,
11157
- "enableJsonFlag": true,
11158
- "isESM": true,
11159
- "relativePath": [
11160
- "dist",
11161
- "commands",
11162
- "testing",
11163
- "build",
11164
- "list.js"
11165
- ]
11166
- },
11167
- "testing:build:logs": {
11168
- "aliases": [],
11169
- "args": {
11170
- "id": {
11171
- "description": "CRT build/run ID.",
11172
- "name": "id",
11173
- "required": true
11174
- }
11175
- },
11176
- "description": "Get logs for a Copado Robotic Testing build/run",
11177
- "examples": [
11178
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
11179
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --output log.html --json"
11180
- ],
11181
- "flags": {
11182
- "json": {
11183
- "description": "Format output as json.",
11184
- "helpGroup": "GLOBAL",
11185
- "name": "json",
11186
- "allowNo": false,
11187
- "type": "boolean"
11188
- },
11189
- "domain": {
11190
- "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
11191
- "name": "domain",
11192
- "hasDynamicHelp": false,
11193
- "multiple": false,
11194
- "type": "option"
11195
- },
11196
- "org": {
11197
- "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
11198
- "name": "org",
11199
- "hasDynamicHelp": false,
11200
- "multiple": false,
11201
- "type": "option"
11202
- },
11203
- "pat": {
11204
- "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
11205
- "name": "pat",
11206
- "hasDynamicHelp": false,
11207
- "multiple": false,
11208
- "type": "option"
11209
- },
11210
- "project": {
11211
- "char": "p",
11212
- "description": "CRT project ID.",
11213
- "name": "project",
11214
- "required": true,
11215
- "hasDynamicHelp": false,
11216
- "multiple": false,
11217
- "type": "option"
11218
- },
11219
- "job": {
11220
- "char": "j",
11221
- "description": "CRT job/test ID.",
11222
- "name": "job",
11223
- "required": true,
11224
- "hasDynamicHelp": false,
11225
- "multiple": false,
11226
- "type": "option"
11227
- },
11228
- "output": {
11229
- "char": "o",
11230
- "description": "Write raw output to this file path.",
11231
- "name": "output",
11232
- "hasDynamicHelp": false,
11233
- "multiple": false,
11234
- "type": "option"
11235
- }
11236
- },
11237
- "hasDynamicHelp": false,
11238
- "hiddenAliases": [],
11239
- "id": "testing:build:logs",
11240
- "pluginAlias": "@copado/agentia-cli",
11241
- "pluginName": "@copado/agentia-cli",
11242
- "pluginType": "core",
11243
- "strict": true,
11244
- "enableJsonFlag": true,
11245
- "isESM": true,
11246
- "relativePath": [
11247
- "dist",
11248
- "commands",
11249
- "testing",
11250
- "build",
11251
- "logs.js"
11252
- ]
11253
- },
11254
- "testing:build:run": {
11255
- "aliases": [],
11256
- "args": {
11257
- "id": {
11258
- "description": "CRT job/test ID to run.",
11259
- "name": "id",
11260
- "required": true
11261
- }
11262
- },
11263
- "description": "Run a Copado Robotic Testing job/test",
11264
- "examples": [
11265
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
11266
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
11267
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
11268
- ],
11269
- "flags": {
11270
- "json": {
11271
- "description": "Format output as json.",
11272
- "helpGroup": "GLOBAL",
11273
- "name": "json",
11274
- "allowNo": false,
11275
- "type": "boolean"
11276
- },
11277
- "domain": {
11278
- "description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
11279
- "name": "domain",
11280
- "hasDynamicHelp": false,
11281
- "multiple": false,
11282
- "type": "option"
11283
- },
11284
- "org": {
11285
- "description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
11286
- "name": "org",
11287
- "hasDynamicHelp": false,
11288
- "multiple": false,
11289
- "type": "option"
11290
- },
11291
- "pat": {
11292
- "description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
11293
- "name": "pat",
11294
- "hasDynamicHelp": false,
11295
- "multiple": false,
11296
- "type": "option"
11297
- },
11298
- "project": {
11299
- "char": "p",
11300
- "description": "CRT project ID.",
11301
- "name": "project",
11302
- "required": true,
11303
- "hasDynamicHelp": false,
11304
- "multiple": false,
11305
- "type": "option"
11306
- },
11307
- "branch": {
11308
- "description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
11309
- "name": "branch",
11310
- "hasDynamicHelp": false,
11311
- "multiple": false,
11312
- "type": "option"
11313
- },
11314
- "exclude": {
11315
- "description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
11316
- "name": "exclude",
11317
- "hasDynamicHelp": false,
11318
- "multiple": true,
11319
- "type": "option"
11320
- },
11321
- "include": {
11322
- "description": "Robot Framework tag to include in this run. Can be provided multiple times.",
11323
- "name": "include",
11324
- "hasDynamicHelp": false,
11325
- "multiple": true,
11326
- "type": "option"
11327
- },
11328
- "param": {
11329
- "description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
11330
- "name": "param",
11331
- "hasDynamicHelp": false,
11332
- "multiple": true,
11333
- "type": "option"
11334
- },
11335
- "record": {
11336
- "description": "CRT execution recording mode.",
11337
- "name": "record",
11338
- "hasDynamicHelp": false,
11339
- "multiple": false,
11340
- "options": [
11341
- "all",
11342
- "failed",
11343
- "none"
11344
- ],
11345
- "type": "option"
11346
- },
11347
- "rerun-failed": {
11348
- "description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
11349
- "name": "rerun-failed",
11350
- "hasDynamicHelp": false,
11351
- "multiple": false,
11352
- "type": "option"
11353
- },
11354
- "rerun-failed-from-latest": {
11355
- "description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
11356
- "name": "rerun-failed-from-latest",
11357
- "allowNo": false,
11358
- "type": "boolean"
11359
- },
11360
- "tag": {
11361
- "description": "Git tag to use for this run. Mutually exclusive with --branch.",
11362
- "name": "tag",
11363
- "hasDynamicHelp": false,
11364
- "multiple": false,
11365
- "type": "option"
11366
- }
11367
- },
11368
- "hasDynamicHelp": false,
11369
- "hiddenAliases": [],
11370
- "id": "testing:build:run",
11371
- "pluginAlias": "@copado/agentia-cli",
11372
- "pluginName": "@copado/agentia-cli",
11373
- "pluginType": "core",
11374
- "strict": true,
11375
- "enableJsonFlag": true,
11376
- "isESM": true,
11377
- "relativePath": [
11378
- "dist",
11379
- "commands",
11380
- "testing",
11381
- "build",
11382
- "run.js"
11383
- ]
11384
- },
11385
11445
  "cicd:work:deployment-step:create": {
11386
11446
  "aliases": [],
11387
11447
  "args": {},
@@ -12098,5 +12158,5 @@
12098
12158
  ]
12099
12159
  }
12100
12160
  },
12101
- "version": "0.73.0-alpha.0"
12161
+ "version": "0.75.0-alpha.0"
12102
12162
  }