@copado/agentia-cli 0.122.0-alpha.0 → 0.122.0-alpha.1

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/CHANGELOG.md +11 -0
  2. package/README.md +290 -316
  3. package/dist/commands/ai/agent/ask.d.ts +13 -20
  4. package/dist/commands/ai/agent/ask.js +12 -32
  5. package/dist/commands/ai/agent/ask.js.map +1 -1
  6. package/dist/commands/ai/agent/chat.d.ts +11 -19
  7. package/dist/commands/ai/agent/chat.js +11 -34
  8. package/dist/commands/ai/agent/chat.js.map +1 -1
  9. package/dist/commands/cicd/work/commit.d.ts +0 -1
  10. package/dist/commands/cicd/work/commit.js +6 -8
  11. package/dist/commands/cicd/work/commit.js.map +1 -1
  12. package/dist/commands/setup.d.ts +1 -8
  13. package/dist/commands/setup.js +3 -47
  14. package/dist/commands/setup.js.map +1 -1
  15. package/dist/lib/auth-config.d.ts +2 -0
  16. package/dist/lib/auth-config.js +10 -1
  17. package/dist/lib/auth-config.js.map +1 -1
  18. package/dist/lib/cursor-mcp-config.d.ts +4 -0
  19. package/dist/lib/cursor-mcp-config.js +1 -0
  20. package/dist/lib/cursor-mcp-config.js.map +1 -1
  21. package/dist/lib/defaults-store.d.ts +2 -0
  22. package/dist/lib/defaults-store.js +10 -0
  23. package/dist/lib/defaults-store.js.map +1 -1
  24. package/dist/lib/mcp/server.js +2 -0
  25. package/dist/lib/mcp/server.js.map +1 -1
  26. package/dist/lib/mcp/tools.d.ts +0 -1
  27. package/dist/lib/mcp/work-tools.d.ts +1 -2
  28. package/dist/lib/mcp/work-tools.js +13 -15
  29. package/dist/lib/mcp/work-tools.js.map +1 -1
  30. package/dist/lib/project-root.d.ts +13 -0
  31. package/dist/lib/project-root.js +65 -0
  32. package/dist/lib/project-root.js.map +1 -0
  33. package/dist/lib/project-setup.js +49 -35
  34. package/dist/lib/project-setup.js.map +1 -1
  35. package/dist/lib/setup-templates.d.ts +3 -1
  36. package/dist/lib/setup-templates.js +3 -1
  37. package/dist/lib/setup-templates.js.map +1 -1
  38. package/dist/lib/setup-wizard.js +58 -29
  39. package/dist/lib/setup-wizard.js.map +1 -1
  40. package/dist/lib/stock-quality-gates.js +1 -1
  41. package/dist/lib/stock-quality-gates.js.map +1 -1
  42. package/dist/lib/work-commit.d.ts +3 -0
  43. package/dist/lib/work-commit.js +45 -8
  44. package/dist/lib/work-commit.js.map +1 -1
  45. package/dist/lib/work-flags.d.ts +3 -1
  46. package/dist/lib/work-flags.js +23 -11
  47. package/dist/lib/work-flags.js.map +1 -1
  48. package/oclif.manifest.json +589 -697
  49. package/package.json +1 -1
  50. package/templates/skills/agentia-ai/SKILL.md +4 -3
  51. package/templates/skills/agentia-ai/references/ai-agents.md +13 -13
@@ -5,63 +5,9 @@
5
5
  "args": {},
6
6
  "description": "Prepare this machine and the current project for Agentia. Guides CICD, AI, and CRT authentication, Cursor MCP, local quality gates, and AGENTS.md. Git is optional: .gitignore is updated only inside a repository, and generated files are not committed.",
7
7
  "examples": [
8
- "<%= config.bin %> <%= command.id %>",
9
- "<%= config.bin %> <%= command.id %> --no-prompt",
10
- "<%= config.bin %> <%= command.id %> --create-local-quality-gates --create-agents-md --no-prompt",
11
- "<%= config.bin %> <%= command.id %> --json"
8
+ "<%= config.bin %> <%= command.id %>"
12
9
  ],
13
- "flags": {
14
- "json": {
15
- "description": "Format output as json.",
16
- "helpGroup": "GLOBAL",
17
- "name": "json",
18
- "allowNo": false,
19
- "type": "boolean"
20
- },
21
- "create-agents-md": {
22
- "description": "Create or update AGENTS.md (skips the prompt)",
23
- "name": "create-agents-md",
24
- "allowNo": false,
25
- "type": "boolean"
26
- },
27
- "create-local-quality-gates": {
28
- "description": "Create sample local quality gate scripts (skips the prompt)",
29
- "name": "create-local-quality-gates",
30
- "allowNo": false,
31
- "type": "boolean"
32
- },
33
- "force-skills": {
34
- "description": "Replace unmanaged files at Agentia skill paths",
35
- "name": "force-skills",
36
- "allowNo": false,
37
- "type": "boolean"
38
- },
39
- "no-prompt": {
40
- "char": "n",
41
- "description": "Skip interactive prompts; only run checks, notifications, and flagged actions",
42
- "name": "no-prompt",
43
- "allowNo": false,
44
- "type": "boolean"
45
- },
46
- "setup-skills": {
47
- "description": "Create or update Agentia-managed project skills and AGENTS.md guidance",
48
- "name": "setup-skills",
49
- "allowNo": false,
50
- "type": "boolean"
51
- },
52
- "skills-target": {
53
- "description": "Skill target root (repeatable)",
54
- "name": "skills-target",
55
- "hasDynamicHelp": false,
56
- "multiple": true,
57
- "options": [
58
- "agents",
59
- "cursor",
60
- "claude"
61
- ],
62
- "type": "option"
63
- }
64
- },
10
+ "flags": {},
65
11
  "hasDynamicHelp": false,
66
12
  "hiddenAliases": [],
67
13
  "id": "setup",
@@ -69,7 +15,7 @@
69
15
  "pluginName": "@copado/agentia-cli",
70
16
  "pluginType": "core",
71
17
  "strict": true,
72
- "enableJsonFlag": true,
18
+ "enableJsonFlag": false,
73
19
  "isESM": true,
74
20
  "relativePath": [
75
21
  "dist",
@@ -1276,11 +1222,12 @@
1276
1222
  "args": {},
1277
1223
  "description": "Send a single-turn prompt to a Copado AI agent",
1278
1224
  "examples": [
1279
- "<%= config.bin %> <%= command.id %> --plan -p \"Break this requirement into implementation steps\"",
1280
- "<%= config.bin %> <%= command.id %> --build -p \"Generate an Apex handler outline\" --sf-org test14 --user-story US-1042",
1281
- "<%= config.bin %> <%= command.id %> --test -p \"Create regression checks\" --component LeadScoringHandler --json",
1282
- "<%= config.bin %> <%= command.id %> --operate -p \"Diagnose this deployment error\" --timeout 240",
1283
- "<%= config.bin %> <%= command.id %> --knowledge -p \"Summarize our deployment guidance\""
1225
+ "<%= config.bin %> <%= command.id %> -p \"Summarize our deployment guidance\"",
1226
+ "<%= config.bin %> <%= command.id %> --agent plan -p \"Break this requirement into implementation steps\"",
1227
+ "<%= config.bin %> <%= command.id %> --agent build -p \"Generate an Apex handler outline\" --sf-org test14 --user-story US-1042",
1228
+ "<%= config.bin %> <%= command.id %> --agent test -p \"Create regression checks\" --component LeadScoringHandler --json",
1229
+ "<%= config.bin %> <%= command.id %> --agent operate -p \"Diagnose this deployment error\" --timeout 240",
1230
+ "<%= config.bin %> <%= command.id %> --agent knowledge -p \"Summarize our deployment guidance\""
1284
1231
  ],
1285
1232
  "flags": {
1286
1233
  "json": {
@@ -1290,11 +1237,21 @@
1290
1237
  "allowNo": false,
1291
1238
  "type": "boolean"
1292
1239
  },
1293
- "build": {
1294
- "description": "Target the Build agent",
1295
- "name": "build",
1296
- "allowNo": false,
1297
- "type": "boolean"
1240
+ "agent": {
1241
+ "description": "AI agent to target (defaults to knowledge)",
1242
+ "name": "agent",
1243
+ "default": "knowledge",
1244
+ "hasDynamicHelp": false,
1245
+ "multiple": false,
1246
+ "options": [
1247
+ "plan",
1248
+ "build",
1249
+ "test",
1250
+ "release",
1251
+ "operate",
1252
+ "knowledge"
1253
+ ],
1254
+ "type": "option"
1298
1255
  },
1299
1256
  "component": {
1300
1257
  "description": "Metadata component name to include in prompt context",
@@ -1330,12 +1287,6 @@
1330
1287
  "allowNo": false,
1331
1288
  "type": "boolean"
1332
1289
  },
1333
- "knowledge": {
1334
- "description": "Target the Knowledge agent",
1335
- "name": "knowledge",
1336
- "allowNo": false,
1337
- "type": "boolean"
1338
- },
1339
1290
  "no-credential-sync": {
1340
1291
  "description": "Skip Copado CICD workspace credential synchronization",
1341
1292
  "name": "no-credential-sync",
@@ -1348,18 +1299,6 @@
1348
1299
  "allowNo": false,
1349
1300
  "type": "boolean"
1350
1301
  },
1351
- "operate": {
1352
- "description": "Target the Operate agent",
1353
- "name": "operate",
1354
- "allowNo": false,
1355
- "type": "boolean"
1356
- },
1357
- "plan": {
1358
- "description": "Target the Plan agent",
1359
- "name": "plan",
1360
- "allowNo": false,
1361
- "type": "boolean"
1362
- },
1363
1302
  "prompt": {
1364
1303
  "char": "p",
1365
1304
  "description": "Natural language instruction for the agent",
@@ -1369,12 +1308,6 @@
1369
1308
  "multiple": false,
1370
1309
  "type": "option"
1371
1310
  },
1372
- "release": {
1373
- "description": "Target the Release agent",
1374
- "name": "release",
1375
- "allowNo": false,
1376
- "type": "boolean"
1377
- },
1378
1311
  "sf-org": {
1379
1312
  "description": "Salesforce org or environment name to include in prompt context",
1380
1313
  "name": "sf-org",
@@ -1382,12 +1315,6 @@
1382
1315
  "multiple": false,
1383
1316
  "type": "option"
1384
1317
  },
1385
- "test": {
1386
- "description": "Target the Test agent",
1387
- "name": "test",
1388
- "allowNo": false,
1389
- "type": "boolean"
1390
- },
1391
1318
  "user-story": {
1392
1319
  "description": "User story identifier to include in prompt context",
1393
1320
  "name": "user-story",
@@ -1432,17 +1359,29 @@
1432
1359
  "args": {},
1433
1360
  "description": "Start an interactive Copado AI agent chat session",
1434
1361
  "examples": [
1435
- "<%= config.bin %> <%= command.id %> --plan --sf-org test14",
1436
- "<%= config.bin %> <%= command.id %> --build --user-story US-1042 --timeout 240",
1437
- "<%= config.bin %> <%= command.id %> --knowledge",
1438
- "<%= config.bin %> <%= command.id %> --orchestrate --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782"
1362
+ "<%= config.bin %> <%= command.id %>",
1363
+ "<%= config.bin %> <%= command.id %> --agent plan --sf-org test14",
1364
+ "<%= config.bin %> <%= command.id %> --agent build --user-story US-1042 --timeout 240",
1365
+ "<%= config.bin %> <%= command.id %> --agent knowledge",
1366
+ "<%= config.bin %> <%= command.id %> --agent orchestrate --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782"
1439
1367
  ],
1440
1368
  "flags": {
1441
- "build": {
1442
- "description": "Target the Build agent",
1443
- "name": "build",
1444
- "allowNo": false,
1445
- "type": "boolean"
1369
+ "agent": {
1370
+ "description": "AI agent to target (defaults to knowledge)",
1371
+ "name": "agent",
1372
+ "default": "knowledge",
1373
+ "hasDynamicHelp": false,
1374
+ "multiple": false,
1375
+ "options": [
1376
+ "plan",
1377
+ "build",
1378
+ "test",
1379
+ "release",
1380
+ "operate",
1381
+ "knowledge",
1382
+ "orchestrate"
1383
+ ],
1384
+ "type": "option"
1446
1385
  },
1447
1386
  "component": {
1448
1387
  "description": "Metadata component name to include in prompt context",
@@ -1478,42 +1417,12 @@
1478
1417
  "allowNo": false,
1479
1418
  "type": "boolean"
1480
1419
  },
1481
- "knowledge": {
1482
- "description": "Target the Knowledge agent",
1483
- "name": "knowledge",
1484
- "allowNo": false,
1485
- "type": "boolean"
1486
- },
1487
1420
  "no-credential-sync": {
1488
1421
  "description": "Skip Copado CICD workspace credential synchronization",
1489
1422
  "name": "no-credential-sync",
1490
1423
  "allowNo": false,
1491
1424
  "type": "boolean"
1492
1425
  },
1493
- "operate": {
1494
- "description": "Target the Operate agent",
1495
- "name": "operate",
1496
- "allowNo": false,
1497
- "type": "boolean"
1498
- },
1499
- "orchestrate": {
1500
- "description": "Target the Orchestrate agent",
1501
- "name": "orchestrate",
1502
- "allowNo": false,
1503
- "type": "boolean"
1504
- },
1505
- "plan": {
1506
- "description": "Target the Plan agent",
1507
- "name": "plan",
1508
- "allowNo": false,
1509
- "type": "boolean"
1510
- },
1511
- "release": {
1512
- "description": "Target the Release agent",
1513
- "name": "release",
1514
- "allowNo": false,
1515
- "type": "boolean"
1516
- },
1517
1426
  "sf-org": {
1518
1427
  "description": "Salesforce org or environment name to include in prompt context",
1519
1428
  "name": "sf-org",
@@ -1521,12 +1430,6 @@
1521
1430
  "multiple": false,
1522
1431
  "type": "option"
1523
1432
  },
1524
- "test": {
1525
- "description": "Target the Test agent",
1526
- "name": "test",
1527
- "allowNo": false,
1528
- "type": "boolean"
1529
- },
1530
1433
  "user-story": {
1531
1434
  "description": "User story identifier to include in prompt context",
1532
1435
  "name": "user-story",
@@ -5435,6 +5338,7 @@
5435
5338
  "examples": [
5436
5339
  "<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
5437
5340
  "<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --cloud --message \"Update Aura files\" --metadata-name accountEditor --metadata-type AuraDefinitionBundle --metadata-category SFDX --action SelectiveCommit --selection accountEditor/accountEditor.cmp --selection accountEditor/accountEditorController.js",
5341
+ "<%= config.bin %> <%= command.id %> --cloud --file commit-request.json # {\"message\":\"Commit AccountService\",\"changes\":[{\"a\":\"Add\",\"c\":\"SFDX\",\"n\":\"AccountService\",\"t\":\"ApexClass\"}]}",
5438
5342
  "cat commit-request.json | <%= config.bin %> <%= command.id %> --cloud --stdin --json"
5439
5343
  ],
5440
5344
  "flags": {
@@ -5536,18 +5440,6 @@
5536
5440
  "multiple": false,
5537
5441
  "type": "option"
5538
5442
  },
5539
- "platform-experience": {
5540
- "description": "Initial platform-experience header for preflight. The preflight response wins for commit.",
5541
- "name": "platform-experience",
5542
- "default": "sfdx",
5543
- "hasDynamicHelp": false,
5544
- "multiple": false,
5545
- "options": [
5546
- "sfdx",
5547
- "salesforce"
5548
- ],
5549
- "type": "option"
5550
- },
5551
5443
  "recreate-feature-branch": {
5552
5444
  "description": "Ask Copado to recreate the feature branch before committing.",
5553
5445
  "name": "recreate-feature-branch",
@@ -5643,14 +5535,14 @@
5643
5535
  "type": "option"
5644
5536
  },
5645
5537
  "acceptance-criteria": {
5646
- "description": "Acceptance criteria",
5538
+ "description": "Acceptance criteria (maximum 255 characters)",
5647
5539
  "name": "acceptance-criteria",
5648
5540
  "hasDynamicHelp": false,
5649
5541
  "multiple": false,
5650
5542
  "type": "option"
5651
5543
  },
5652
5544
  "as-a": {
5653
- "description": "User story \"as a\" clause",
5545
+ "description": "User story \"as a\" clause (maximum 255 characters)",
5654
5546
  "name": "as-a",
5655
5547
  "hasDynamicHelp": false,
5656
5548
  "multiple": false,
@@ -5692,7 +5584,7 @@
5692
5584
  "type": "option"
5693
5585
  },
5694
5586
  "functional-requirements": {
5695
- "description": "Functional requirements",
5587
+ "description": "Functional requirements (maximum 30000 characters)",
5696
5588
  "name": "functional-requirements",
5697
5589
  "hasDynamicHelp": false,
5698
5590
  "multiple": false,
@@ -5727,7 +5619,7 @@
5727
5619
  "type": "option"
5728
5620
  },
5729
5621
  "so-that": {
5730
- "description": "User story \"so that\" clause",
5622
+ "description": "User story \"so that\" clause (maximum 255 characters)",
5731
5623
  "name": "so-that",
5732
5624
  "hasDynamicHelp": false,
5733
5625
  "multiple": false,
@@ -5769,7 +5661,7 @@
5769
5661
  "type": "option"
5770
5662
  },
5771
5663
  "technical-specifications": {
5772
- "description": "Technical specifications",
5664
+ "description": "Technical specifications (maximum 30000 characters)",
5773
5665
  "name": "technical-specifications",
5774
5666
  "hasDynamicHelp": false,
5775
5667
  "multiple": false,
@@ -5783,14 +5675,14 @@
5783
5675
  "type": "option"
5784
5676
  },
5785
5677
  "title": {
5786
- "description": "Title",
5678
+ "description": "Title (maximum 255 characters)",
5787
5679
  "name": "title",
5788
5680
  "hasDynamicHelp": false,
5789
5681
  "multiple": false,
5790
5682
  "type": "option"
5791
5683
  },
5792
5684
  "want-to": {
5793
- "description": "User story \"want to\" clause",
5685
+ "description": "User story \"want to\" clause (maximum 255 characters)",
5794
5686
  "name": "want-to",
5795
5687
  "hasDynamicHelp": false,
5796
5688
  "multiple": false,
@@ -6604,14 +6496,14 @@
6604
6496
  "type": "option"
6605
6497
  },
6606
6498
  "acceptance-criteria": {
6607
- "description": "Acceptance criteria",
6499
+ "description": "Acceptance criteria (maximum 255 characters)",
6608
6500
  "name": "acceptance-criteria",
6609
6501
  "hasDynamicHelp": false,
6610
6502
  "multiple": false,
6611
6503
  "type": "option"
6612
6504
  },
6613
6505
  "as-a": {
6614
- "description": "User story \"as a\" clause",
6506
+ "description": "User story \"as a\" clause (maximum 255 characters)",
6615
6507
  "name": "as-a",
6616
6508
  "hasDynamicHelp": false,
6617
6509
  "multiple": false,
@@ -6653,7 +6545,7 @@
6653
6545
  "type": "option"
6654
6546
  },
6655
6547
  "functional-requirements": {
6656
- "description": "Functional requirements",
6548
+ "description": "Functional requirements (maximum 30000 characters)",
6657
6549
  "name": "functional-requirements",
6658
6550
  "hasDynamicHelp": false,
6659
6551
  "multiple": false,
@@ -6688,7 +6580,7 @@
6688
6580
  "type": "option"
6689
6581
  },
6690
6582
  "so-that": {
6691
- "description": "User story \"so that\" clause",
6583
+ "description": "User story \"so that\" clause (maximum 255 characters)",
6692
6584
  "name": "so-that",
6693
6585
  "hasDynamicHelp": false,
6694
6586
  "multiple": false,
@@ -6730,7 +6622,7 @@
6730
6622
  "type": "option"
6731
6623
  },
6732
6624
  "technical-specifications": {
6733
- "description": "Technical specifications",
6625
+ "description": "Technical specifications (maximum 30000 characters)",
6734
6626
  "name": "technical-specifications",
6735
6627
  "hasDynamicHelp": false,
6736
6628
  "multiple": false,
@@ -6744,14 +6636,14 @@
6744
6636
  "type": "option"
6745
6637
  },
6746
6638
  "title": {
6747
- "description": "Title",
6639
+ "description": "Title (maximum 255 characters)",
6748
6640
  "name": "title",
6749
6641
  "hasDynamicHelp": false,
6750
6642
  "multiple": false,
6751
6643
  "type": "option"
6752
6644
  },
6753
6645
  "want-to": {
6754
- "description": "User story \"want to\" clause",
6646
+ "description": "User story \"want to\" clause (maximum 255 characters)",
6755
6647
  "name": "want-to",
6756
6648
  "hasDynamicHelp": false,
6757
6649
  "multiple": false,
@@ -9544,18 +9436,13 @@
9544
9436
  "upload.js"
9545
9437
  ]
9546
9438
  },
9547
- "testing:live:continue": {
9439
+ "testing:project:create": {
9548
9440
  "aliases": [],
9549
- "args": {
9550
- "job-id": {
9551
- "description": "Optional CRT job/test ID guard.",
9552
- "name": "job-id",
9553
- "required": false
9554
- }
9555
- },
9556
- "description": "Continue paused Robot execution in the active CRT live session",
9441
+ "args": {},
9442
+ "description": "Create a Copado Robotic Testing project",
9557
9443
  "examples": [
9558
- "<%= config.bin %> <%= command.id %> --project <project-id>"
9444
+ "<%= config.bin %> <%= command.id %> --name \"QA Tests\"",
9445
+ "<%= config.bin %> <%= command.id %> --name \"QA Tests\" --description \"Smoke suite\" --json"
9559
9446
  ],
9560
9447
  "flags": {
9561
9448
  "json": {
@@ -9565,26 +9452,55 @@
9565
9452
  "allowNo": false,
9566
9453
  "type": "boolean"
9567
9454
  },
9568
- "project": {
9569
- "char": "p",
9570
- "description": "CRT project ID.",
9571
- "name": "project",
9455
+ "dashboard-id": {
9456
+ "description": "Optional CRT dashboard ID.",
9457
+ "name": "dashboard-id",
9458
+ "hasDynamicHelp": false,
9459
+ "multiple": false,
9460
+ "type": "option"
9461
+ },
9462
+ "description": {
9463
+ "description": "Project description.",
9464
+ "name": "description",
9465
+ "hasDynamicHelp": false,
9466
+ "multiple": false,
9467
+ "type": "option"
9468
+ },
9469
+ "executor": {
9470
+ "description": "Project execution backend.",
9471
+ "name": "executor",
9472
+ "hasDynamicHelp": false,
9473
+ "multiple": false,
9474
+ "options": [
9475
+ "jenkins",
9476
+ "kubernetes"
9477
+ ],
9478
+ "type": "option"
9479
+ },
9480
+ "name": {
9481
+ "description": "Project name.",
9482
+ "name": "name",
9572
9483
  "required": true,
9573
9484
  "hasDynamicHelp": false,
9574
9485
  "multiple": false,
9575
9486
  "type": "option"
9576
9487
  },
9577
- "session-id": {
9578
- "description": "Guard that must match the locally active CRT live session.",
9579
- "name": "session-id",
9488
+ "type": {
9489
+ "description": "CRT project type.",
9490
+ "name": "type",
9491
+ "default": "ta",
9580
9492
  "hasDynamicHelp": false,
9581
9493
  "multiple": false,
9494
+ "options": [
9495
+ "ta",
9496
+ "rpa"
9497
+ ],
9582
9498
  "type": "option"
9583
9499
  }
9584
9500
  },
9585
9501
  "hasDynamicHelp": false,
9586
9502
  "hiddenAliases": [],
9587
- "id": "testing:live:continue",
9503
+ "id": "testing:project:create",
9588
9504
  "pluginAlias": "@copado/agentia-cli",
9589
9505
  "pluginName": "@copado/agentia-cli",
9590
9506
  "pluginType": "core",
@@ -9595,23 +9511,23 @@
9595
9511
  "dist",
9596
9512
  "commands",
9597
9513
  "testing",
9598
- "live",
9599
- "continue.js"
9514
+ "project",
9515
+ "create.js"
9600
9516
  ]
9601
9517
  },
9602
- "testing:live:execute": {
9518
+ "testing:project:delete": {
9603
9519
  "aliases": [],
9604
9520
  "args": {
9605
- "job-id": {
9606
- "description": "Optional CRT job/test ID guard.",
9607
- "name": "job-id",
9608
- "required": false
9521
+ "id": {
9522
+ "description": "CRT project ID.",
9523
+ "name": "id",
9524
+ "required": true
9609
9525
  }
9610
9526
  },
9611
- "description": "Execute bounded Robot Framework keywords in an active CRT live session",
9527
+ "description": "Delete a Copado Robotic Testing project",
9612
9528
  "examples": [
9613
- "<%= config.bin %> <%= command.id %> --project <project-id> --keyword GoTo --arg https://example.com",
9614
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file smoke.robot --section Login"
9529
+ "<%= config.bin %> <%= command.id %> <project-id> --yes",
9530
+ "<%= config.bin %> <%= command.id %> <project-id> --yes --json"
9615
9531
  ],
9616
9532
  "flags": {
9617
9533
  "json": {
@@ -9621,74 +9537,17 @@
9621
9537
  "allowNo": false,
9622
9538
  "type": "boolean"
9623
9539
  },
9624
- "project": {
9625
- "char": "p",
9626
- "description": "CRT project ID.",
9627
- "name": "project",
9628
- "required": true,
9629
- "hasDynamicHelp": false,
9630
- "multiple": false,
9631
- "type": "option"
9632
- },
9633
- "session-id": {
9634
- "description": "Guard that must match the locally active CRT live session.",
9635
- "name": "session-id",
9636
- "hasDynamicHelp": false,
9637
- "multiple": false,
9638
- "type": "option"
9639
- },
9640
- "arg": {
9641
- "description": "Keyword argument. Repeat to preserve argument boundaries.",
9642
- "name": "arg",
9643
- "hasDynamicHelp": false,
9644
- "multiple": true,
9645
- "type": "option"
9646
- },
9647
- "file": {
9648
- "description": "Robot Framework input file.",
9649
- "name": "file",
9650
- "hasDynamicHelp": false,
9651
- "multiple": false,
9652
- "type": "option"
9653
- },
9654
- "keyword": {
9655
- "description": "Robot Framework keyword name.",
9656
- "name": "keyword",
9657
- "hasDynamicHelp": false,
9658
- "multiple": false,
9659
- "type": "option"
9660
- },
9661
- "line": {
9662
- "description": "Raw Robot Framework keyword line. Repeat for multiple lines.",
9663
- "name": "line",
9664
- "hasDynamicHelp": false,
9665
- "multiple": true,
9666
- "type": "option"
9667
- },
9668
- "raw": {
9669
- "description": "Treat file input as raw keyword lines.",
9670
- "name": "raw",
9540
+ "yes": {
9541
+ "char": "y",
9542
+ "description": "Skip the destructive confirmation prompt.",
9543
+ "name": "yes",
9671
9544
  "allowNo": false,
9672
9545
  "type": "boolean"
9673
- },
9674
- "section": {
9675
- "description": "Robot test/task name to execute.",
9676
- "name": "section",
9677
- "hasDynamicHelp": false,
9678
- "multiple": false,
9679
- "type": "option"
9680
- },
9681
- "section-index": {
9682
- "description": "One-based Robot test/task index to execute.",
9683
- "name": "section-index",
9684
- "hasDynamicHelp": false,
9685
- "multiple": false,
9686
- "type": "option"
9687
9546
  }
9688
9547
  },
9689
9548
  "hasDynamicHelp": false,
9690
9549
  "hiddenAliases": [],
9691
- "id": "testing:live:execute",
9550
+ "id": "testing:project:delete",
9692
9551
  "pluginAlias": "@copado/agentia-cli",
9693
9552
  "pluginName": "@copado/agentia-cli",
9694
9553
  "pluginType": "core",
@@ -9699,22 +9558,23 @@
9699
9558
  "dist",
9700
9559
  "commands",
9701
9560
  "testing",
9702
- "live",
9703
- "execute.js"
9561
+ "project",
9562
+ "delete.js"
9704
9563
  ]
9705
9564
  },
9706
- "testing:live:history": {
9565
+ "testing:project:get": {
9707
9566
  "aliases": [],
9708
9567
  "args": {
9709
- "job-id": {
9710
- "description": "CRT job/test ID; defaults to the active session.",
9711
- "name": "job-id",
9712
- "required": false
9568
+ "id": {
9569
+ "description": "CRT project ID.",
9570
+ "name": "id",
9571
+ "required": true
9713
9572
  }
9714
9573
  },
9715
- "description": "Read bounded sanitized local CRT live execution history",
9574
+ "description": "Get a Copado Robotic Testing project from the project list",
9716
9575
  "examples": [
9717
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --limit 20 --json"
9576
+ "<%= config.bin %> <%= command.id %> <project-id>",
9577
+ "<%= config.bin %> <%= command.id %> <project-id> --json"
9718
9578
  ],
9719
9579
  "flags": {
9720
9580
  "json": {
@@ -9723,47 +9583,11 @@
9723
9583
  "name": "json",
9724
9584
  "allowNo": false,
9725
9585
  "type": "boolean"
9726
- },
9727
- "project": {
9728
- "char": "p",
9729
- "description": "CRT project ID.",
9730
- "name": "project",
9731
- "required": true,
9732
- "hasDynamicHelp": false,
9733
- "multiple": false,
9734
- "type": "option"
9735
- },
9736
- "session-id": {
9737
- "description": "Guard that must match the locally active CRT live session.",
9738
- "name": "session-id",
9739
- "hasDynamicHelp": false,
9740
- "multiple": false,
9741
- "type": "option"
9742
- },
9743
- "limit": {
9744
- "description": "Maximum records to return.",
9745
- "name": "limit",
9746
- "default": 10,
9747
- "hasDynamicHelp": false,
9748
- "multiple": false,
9749
- "type": "option"
9750
- },
9751
- "status": {
9752
- "description": "Execution status filter.",
9753
- "name": "status",
9754
- "hasDynamicHelp": false,
9755
- "multiple": false,
9756
- "options": [
9757
- "completed",
9758
- "failed",
9759
- "recorded"
9760
- ],
9761
- "type": "option"
9762
9586
  }
9763
9587
  },
9764
9588
  "hasDynamicHelp": false,
9765
9589
  "hiddenAliases": [],
9766
- "id": "testing:live:history",
9590
+ "id": "testing:project:get",
9767
9591
  "pluginAlias": "@copado/agentia-cli",
9768
9592
  "pluginName": "@copado/agentia-cli",
9769
9593
  "pluginType": "core",
@@ -9774,23 +9598,17 @@
9774
9598
  "dist",
9775
9599
  "commands",
9776
9600
  "testing",
9777
- "live",
9778
- "history.js"
9601
+ "project",
9602
+ "get.js"
9779
9603
  ]
9780
9604
  },
9781
- "testing:live:inspect": {
9605
+ "testing:project:list": {
9782
9606
  "aliases": [],
9783
- "args": {
9784
- "job-id": {
9785
- "description": "Optional CRT job/test ID guard.",
9786
- "name": "job-id",
9787
- "required": false
9788
- }
9789
- },
9790
- "description": "Inspect bounded, sanitized page state from an active CRT live session",
9607
+ "args": {},
9608
+ "description": "List Copado Robotic Testing projects",
9791
9609
  "examples": [
9792
- "<%= config.bin %> <%= command.id %> --project <project-id> --json",
9793
- "<%= config.bin %> <%= command.id %> --project <project-id> --dom --output page.html"
9610
+ "<%= config.bin %> <%= command.id %>",
9611
+ "<%= config.bin %> <%= command.id %> --name \"QA Tests\" --json"
9794
9612
  ],
9795
9613
  "flags": {
9796
9614
  "json": {
@@ -9800,34 +9618,9 @@
9800
9618
  "allowNo": false,
9801
9619
  "type": "boolean"
9802
9620
  },
9803
- "project": {
9804
- "char": "p",
9805
- "description": "CRT project ID.",
9806
- "name": "project",
9807
- "required": true,
9808
- "hasDynamicHelp": false,
9809
- "multiple": false,
9810
- "type": "option"
9811
- },
9812
- "session-id": {
9813
- "description": "Guard that must match the locally active CRT live session.",
9814
- "name": "session-id",
9815
- "hasDynamicHelp": false,
9816
- "multiple": false,
9817
- "type": "option"
9818
- },
9819
- "dom": {
9820
- "description": "Fetch raw page DOM; requires --output.",
9821
- "name": "dom",
9822
- "allowNo": false,
9823
- "type": "boolean"
9824
- },
9825
- "output": {
9826
- "dependsOn": [
9827
- "dom"
9828
- ],
9829
- "description": "Explicit file path for raw DOM.",
9830
- "name": "output",
9621
+ "name": {
9622
+ "description": "Exact project name to match client-side.",
9623
+ "name": "name",
9831
9624
  "hasDynamicHelp": false,
9832
9625
  "multiple": false,
9833
9626
  "type": "option"
@@ -9835,7 +9628,7 @@
9835
9628
  },
9836
9629
  "hasDynamicHelp": false,
9837
9630
  "hiddenAliases": [],
9838
- "id": "testing:live:inspect",
9631
+ "id": "testing:project:list",
9839
9632
  "pluginAlias": "@copado/agentia-cli",
9840
9633
  "pluginName": "@copado/agentia-cli",
9841
9634
  "pluginType": "core",
@@ -9846,22 +9639,23 @@
9846
9639
  "dist",
9847
9640
  "commands",
9848
9641
  "testing",
9849
- "live",
9850
- "inspect.js"
9642
+ "project",
9643
+ "list.js"
9851
9644
  ]
9852
9645
  },
9853
- "testing:live:interrupt": {
9646
+ "testing:project:update": {
9854
9647
  "aliases": [],
9855
9648
  "args": {
9856
- "job-id": {
9857
- "description": "Optional CRT job/test ID guard.",
9858
- "name": "job-id",
9859
- "required": false
9649
+ "id": {
9650
+ "description": "CRT project ID.",
9651
+ "name": "id",
9652
+ "required": true
9860
9653
  }
9861
9654
  },
9862
- "description": "Interrupt Robot execution in the active CRT live session",
9655
+ "description": "Update a Copado Robotic Testing project",
9863
9656
  "examples": [
9864
- "<%= config.bin %> <%= command.id %> --project <project-id>"
9657
+ "<%= config.bin %> <%= command.id %> <project-id> --name \"QA Updated\"",
9658
+ "<%= config.bin %> <%= command.id %> <project-id> --description \"Regression suites\" --json"
9865
9659
  ],
9866
9660
  "flags": {
9867
9661
  "json": {
@@ -9871,18 +9665,16 @@
9871
9665
  "allowNo": false,
9872
9666
  "type": "boolean"
9873
9667
  },
9874
- "project": {
9875
- "char": "p",
9876
- "description": "CRT project ID.",
9877
- "name": "project",
9878
- "required": true,
9668
+ "description": {
9669
+ "description": "New project description.",
9670
+ "name": "description",
9879
9671
  "hasDynamicHelp": false,
9880
9672
  "multiple": false,
9881
9673
  "type": "option"
9882
9674
  },
9883
- "session-id": {
9884
- "description": "Guard that must match the locally active CRT live session.",
9885
- "name": "session-id",
9675
+ "name": {
9676
+ "description": "New project name.",
9677
+ "name": "name",
9886
9678
  "hasDynamicHelp": false,
9887
9679
  "multiple": false,
9888
9680
  "type": "option"
@@ -9890,7 +9682,7 @@
9890
9682
  },
9891
9683
  "hasDynamicHelp": false,
9892
9684
  "hiddenAliases": [],
9893
- "id": "testing:live:interrupt",
9685
+ "id": "testing:project:update",
9894
9686
  "pluginAlias": "@copado/agentia-cli",
9895
9687
  "pluginName": "@copado/agentia-cli",
9896
9688
  "pluginType": "core",
@@ -9901,11 +9693,11 @@
9901
9693
  "dist",
9902
9694
  "commands",
9903
9695
  "testing",
9904
- "live",
9905
- "interrupt.js"
9696
+ "project",
9697
+ "update.js"
9906
9698
  ]
9907
9699
  },
9908
- "testing:live:recorder": {
9700
+ "testing:live:continue": {
9909
9701
  "aliases": [],
9910
9702
  "args": {
9911
9703
  "job-id": {
@@ -9914,31 +9706,18 @@
9914
9706
  "required": false
9915
9707
  }
9916
9708
  },
9917
- "description": "Record CRT live interactions as bounded Robot Framework lines",
9709
+ "description": "Continue paused Robot execution in the active CRT live session",
9918
9710
  "examples": [
9919
- "<%= config.bin %> <%= command.id %> --project <project-id> --output recorded.robot"
9711
+ "<%= config.bin %> <%= command.id %> --project <project-id>"
9920
9712
  ],
9921
9713
  "flags": {
9922
- "debug": {
9923
- "description": "Print frame sizes and event types without frame bodies.",
9924
- "name": "debug",
9925
- "allowNo": false,
9926
- "type": "boolean"
9927
- },
9928
- "no-enable": {
9929
- "description": "Do not manage the server recorder toggle.",
9930
- "name": "no-enable",
9714
+ "json": {
9715
+ "description": "Format output as json.",
9716
+ "helpGroup": "GLOBAL",
9717
+ "name": "json",
9931
9718
  "allowNo": false,
9932
9719
  "type": "boolean"
9933
9720
  },
9934
- "output": {
9935
- "char": "o",
9936
- "description": "Explicit .robot file to append recorded keywords to.",
9937
- "name": "output",
9938
- "hasDynamicHelp": false,
9939
- "multiple": false,
9940
- "type": "option"
9941
- },
9942
9721
  "project": {
9943
9722
  "char": "p",
9944
9723
  "description": "CRT project ID.",
@@ -9949,7 +9728,7 @@
9949
9728
  "type": "option"
9950
9729
  },
9951
9730
  "session-id": {
9952
- "description": "Guard that must match the active CRT live session.",
9731
+ "description": "Guard that must match the locally active CRT live session.",
9953
9732
  "name": "session-id",
9954
9733
  "hasDynamicHelp": false,
9955
9734
  "multiple": false,
@@ -9958,22 +9737,22 @@
9958
9737
  },
9959
9738
  "hasDynamicHelp": false,
9960
9739
  "hiddenAliases": [],
9961
- "id": "testing:live:recorder",
9740
+ "id": "testing:live:continue",
9962
9741
  "pluginAlias": "@copado/agentia-cli",
9963
9742
  "pluginName": "@copado/agentia-cli",
9964
9743
  "pluginType": "core",
9965
9744
  "strict": true,
9966
- "enableJsonFlag": false,
9745
+ "enableJsonFlag": true,
9967
9746
  "isESM": true,
9968
9747
  "relativePath": [
9969
9748
  "dist",
9970
9749
  "commands",
9971
9750
  "testing",
9972
9751
  "live",
9973
- "recorder.js"
9752
+ "continue.js"
9974
9753
  ]
9975
9754
  },
9976
- "testing:live:reports": {
9755
+ "testing:live:execute": {
9977
9756
  "aliases": [],
9978
9757
  "args": {
9979
9758
  "job-id": {
@@ -9982,10 +9761,10 @@
9982
9761
  "required": false
9983
9762
  }
9984
9763
  },
9985
- "description": "List or save bounded report artifacts from an active CRT live session",
9764
+ "description": "Execute bounded Robot Framework keywords in an active CRT live session",
9986
9765
  "examples": [
9987
- "<%= config.bin %> <%= command.id %> --project <project-id>",
9988
- "<%= config.bin %> <%= command.id %> --project <project-id> --output-dir ./reports"
9766
+ "<%= config.bin %> <%= command.id %> --project <project-id> --keyword GoTo --arg https://example.com",
9767
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file smoke.robot --section Login"
9989
9768
  ],
9990
9769
  "flags": {
9991
9770
  "json": {
@@ -10011,9 +9790,50 @@
10011
9790
  "multiple": false,
10012
9791
  "type": "option"
10013
9792
  },
10014
- "output-dir": {
10015
- "description": "Explicit directory for log.html, report.html, and output.xml.",
10016
- "name": "output-dir",
9793
+ "arg": {
9794
+ "description": "Keyword argument. Repeat to preserve argument boundaries.",
9795
+ "name": "arg",
9796
+ "hasDynamicHelp": false,
9797
+ "multiple": true,
9798
+ "type": "option"
9799
+ },
9800
+ "file": {
9801
+ "description": "Robot Framework input file.",
9802
+ "name": "file",
9803
+ "hasDynamicHelp": false,
9804
+ "multiple": false,
9805
+ "type": "option"
9806
+ },
9807
+ "keyword": {
9808
+ "description": "Robot Framework keyword name.",
9809
+ "name": "keyword",
9810
+ "hasDynamicHelp": false,
9811
+ "multiple": false,
9812
+ "type": "option"
9813
+ },
9814
+ "line": {
9815
+ "description": "Raw Robot Framework keyword line. Repeat for multiple lines.",
9816
+ "name": "line",
9817
+ "hasDynamicHelp": false,
9818
+ "multiple": true,
9819
+ "type": "option"
9820
+ },
9821
+ "raw": {
9822
+ "description": "Treat file input as raw keyword lines.",
9823
+ "name": "raw",
9824
+ "allowNo": false,
9825
+ "type": "boolean"
9826
+ },
9827
+ "section": {
9828
+ "description": "Robot test/task name to execute.",
9829
+ "name": "section",
9830
+ "hasDynamicHelp": false,
9831
+ "multiple": false,
9832
+ "type": "option"
9833
+ },
9834
+ "section-index": {
9835
+ "description": "One-based Robot test/task index to execute.",
9836
+ "name": "section-index",
10017
9837
  "hasDynamicHelp": false,
10018
9838
  "multiple": false,
10019
9839
  "type": "option"
@@ -10021,7 +9841,7 @@
10021
9841
  },
10022
9842
  "hasDynamicHelp": false,
10023
9843
  "hiddenAliases": [],
10024
- "id": "testing:live:reports",
9844
+ "id": "testing:live:execute",
10025
9845
  "pluginAlias": "@copado/agentia-cli",
10026
9846
  "pluginName": "@copado/agentia-cli",
10027
9847
  "pluginType": "core",
@@ -10033,21 +9853,21 @@
10033
9853
  "commands",
10034
9854
  "testing",
10035
9855
  "live",
10036
- "reports.js"
9856
+ "execute.js"
10037
9857
  ]
10038
9858
  },
10039
- "testing:live:screenshot": {
9859
+ "testing:live:history": {
10040
9860
  "aliases": [],
10041
9861
  "args": {
10042
9862
  "job-id": {
10043
- "description": "Optional CRT job/test ID guard.",
9863
+ "description": "CRT job/test ID; defaults to the active session.",
10044
9864
  "name": "job-id",
10045
9865
  "required": false
10046
9866
  }
10047
9867
  },
10048
- "description": "Save a bounded CRT live browser screenshot to an explicit file",
9868
+ "description": "Read bounded sanitized local CRT live execution history",
10049
9869
  "examples": [
10050
- "<%= config.bin %> <%= command.id %> --project <project-id> --output screenshot.png"
9870
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --limit 20 --json"
10051
9871
  ],
10052
9872
  "flags": {
10053
9873
  "json": {
@@ -10073,19 +9893,30 @@
10073
9893
  "multiple": false,
10074
9894
  "type": "option"
10075
9895
  },
10076
- "output": {
10077
- "char": "o",
10078
- "description": "Explicit screenshot output path.",
10079
- "name": "output",
10080
- "required": true,
9896
+ "limit": {
9897
+ "description": "Maximum records to return.",
9898
+ "name": "limit",
9899
+ "default": 10,
10081
9900
  "hasDynamicHelp": false,
10082
9901
  "multiple": false,
10083
9902
  "type": "option"
10084
- }
10085
- },
10086
- "hasDynamicHelp": false,
9903
+ },
9904
+ "status": {
9905
+ "description": "Execution status filter.",
9906
+ "name": "status",
9907
+ "hasDynamicHelp": false,
9908
+ "multiple": false,
9909
+ "options": [
9910
+ "completed",
9911
+ "failed",
9912
+ "recorded"
9913
+ ],
9914
+ "type": "option"
9915
+ }
9916
+ },
9917
+ "hasDynamicHelp": false,
10087
9918
  "hiddenAliases": [],
10088
- "id": "testing:live:screenshot",
9919
+ "id": "testing:live:history",
10089
9920
  "pluginAlias": "@copado/agentia-cli",
10090
9921
  "pluginName": "@copado/agentia-cli",
10091
9922
  "pluginType": "core",
@@ -10097,10 +9928,10 @@
10097
9928
  "commands",
10098
9929
  "testing",
10099
9930
  "live",
10100
- "screenshot.js"
9931
+ "history.js"
10101
9932
  ]
10102
9933
  },
10103
- "testing:live:set-options": {
9934
+ "testing:live:inspect": {
10104
9935
  "aliases": [],
10105
9936
  "args": {
10106
9937
  "job-id": {
@@ -10109,9 +9940,10 @@
10109
9940
  "required": false
10110
9941
  }
10111
9942
  },
10112
- "description": "Set the complete validated CRT live recorder option block",
9943
+ "description": "Inspect bounded, sanitized page state from an active CRT live session",
10113
9944
  "examples": [
10114
- "<%= config.bin %> <%= command.id %> --project <project-id> --enable --scroll-text --table-keywords"
9945
+ "<%= config.bin %> <%= command.id %> --project <project-id> --json",
9946
+ "<%= config.bin %> <%= command.id %> --project <project-id> --dom --output page.html"
10115
9947
  ],
10116
9948
  "flags": {
10117
9949
  "json": {
@@ -10137,52 +9969,26 @@
10137
9969
  "multiple": false,
10138
9970
  "type": "option"
10139
9971
  },
10140
- "enable": {
10141
- "description": "Enable or disable interaction recording.",
10142
- "name": "enable",
10143
- "allowNo": true,
10144
- "type": "boolean"
10145
- },
10146
- "healing-context": {
10147
- "description": "Capture recorder healing context.",
10148
- "name": "healing-context",
10149
- "allowNo": true,
10150
- "type": "boolean"
10151
- },
10152
- "hover-text": {
10153
- "description": "Capture HoverText interactions.",
10154
- "name": "hover-text",
10155
- "allowNo": true,
10156
- "type": "boolean"
10157
- },
10158
- "scroll-text": {
10159
- "description": "Capture ScrollText interactions.",
10160
- "name": "scroll-text",
10161
- "allowNo": true,
10162
- "type": "boolean"
10163
- },
10164
- "system-state": {
10165
- "description": "Capture console/network system state.",
10166
- "name": "system-state",
10167
- "allowNo": true,
10168
- "type": "boolean"
10169
- },
10170
- "table-keywords": {
10171
- "description": "Prefer table-aware interaction keywords.",
10172
- "name": "table-keywords",
10173
- "allowNo": true,
9972
+ "dom": {
9973
+ "description": "Fetch raw page DOM; requires --output.",
9974
+ "name": "dom",
9975
+ "allowNo": false,
10174
9976
  "type": "boolean"
10175
9977
  },
10176
- "verify-text": {
10177
- "description": "Capture VerifyText interactions.",
10178
- "name": "verify-text",
10179
- "allowNo": true,
10180
- "type": "boolean"
9978
+ "output": {
9979
+ "dependsOn": [
9980
+ "dom"
9981
+ ],
9982
+ "description": "Explicit file path for raw DOM.",
9983
+ "name": "output",
9984
+ "hasDynamicHelp": false,
9985
+ "multiple": false,
9986
+ "type": "option"
10181
9987
  }
10182
9988
  },
10183
9989
  "hasDynamicHelp": false,
10184
9990
  "hiddenAliases": [],
10185
- "id": "testing:live:set-options",
9991
+ "id": "testing:live:inspect",
10186
9992
  "pluginAlias": "@copado/agentia-cli",
10187
9993
  "pluginName": "@copado/agentia-cli",
10188
9994
  "pluginType": "core",
@@ -10194,22 +10000,21 @@
10194
10000
  "commands",
10195
10001
  "testing",
10196
10002
  "live",
10197
- "set-options.js"
10003
+ "inspect.js"
10198
10004
  ]
10199
10005
  },
10200
- "testing:live:start": {
10006
+ "testing:live:interrupt": {
10201
10007
  "aliases": [],
10202
10008
  "args": {
10203
10009
  "job-id": {
10204
- "description": "CRT job/test ID.",
10010
+ "description": "Optional CRT job/test ID guard.",
10205
10011
  "name": "job-id",
10206
- "required": true
10012
+ "required": false
10207
10013
  }
10208
10014
  },
10209
- "description": "Start and bootstrap a bounded Copado Robotic Testing live session",
10015
+ "description": "Interrupt Robot execution in the active CRT live session",
10210
10016
  "examples": [
10211
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
10212
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file smoke.robot --section \"Login\""
10017
+ "<%= config.bin %> <%= command.id %> --project <project-id>"
10213
10018
  ],
10214
10019
  "flags": {
10215
10020
  "json": {
@@ -10234,99 +10039,71 @@
10234
10039
  "hasDynamicHelp": false,
10235
10040
  "multiple": false,
10236
10041
  "type": "option"
10237
- },
10238
- "description": {
10239
- "description": "Nonsecret session label.",
10240
- "name": "description",
10241
- "hasDynamicHelp": false,
10242
- "multiple": false,
10243
- "type": "option"
10244
- },
10245
- "file": {
10246
- "description": "Robot Framework file used to bootstrap a selected test/task.",
10247
- "name": "file",
10248
- "hasDynamicHelp": false,
10249
- "multiple": false,
10250
- "type": "option"
10251
- },
10252
- "jap-ime": {
10253
- "description": "Enable Japanese IME in the live environment.",
10254
- "name": "jap-ime",
10255
- "allowNo": false,
10256
- "type": "boolean"
10257
- },
10258
- "library": {
10259
- "description": "Robot Framework library to bootstrap.",
10260
- "name": "library",
10261
- "default": "QWeb",
10262
- "hasDynamicHelp": false,
10263
- "multiple": false,
10264
- "options": [
10265
- "QWeb",
10266
- "QForce",
10267
- "QMobile"
10268
- ],
10269
- "type": "option"
10270
- },
10271
- "no-bootstrap": {
10272
- "description": "Create the host without readiness/bootstrap calls.",
10273
- "name": "no-bootstrap",
10042
+ }
10043
+ },
10044
+ "hasDynamicHelp": false,
10045
+ "hiddenAliases": [],
10046
+ "id": "testing:live:interrupt",
10047
+ "pluginAlias": "@copado/agentia-cli",
10048
+ "pluginName": "@copado/agentia-cli",
10049
+ "pluginType": "core",
10050
+ "strict": true,
10051
+ "enableJsonFlag": true,
10052
+ "isESM": true,
10053
+ "relativePath": [
10054
+ "dist",
10055
+ "commands",
10056
+ "testing",
10057
+ "live",
10058
+ "interrupt.js"
10059
+ ]
10060
+ },
10061
+ "testing:live:recorder": {
10062
+ "aliases": [],
10063
+ "args": {
10064
+ "job-id": {
10065
+ "description": "Optional CRT job/test ID guard.",
10066
+ "name": "job-id",
10067
+ "required": false
10068
+ }
10069
+ },
10070
+ "description": "Record CRT live interactions as bounded Robot Framework lines",
10071
+ "examples": [
10072
+ "<%= config.bin %> <%= command.id %> --project <project-id> --output recorded.robot"
10073
+ ],
10074
+ "flags": {
10075
+ "debug": {
10076
+ "description": "Print frame sizes and event types without frame bodies.",
10077
+ "name": "debug",
10274
10078
  "allowNo": false,
10275
10079
  "type": "boolean"
10276
10080
  },
10277
- "no-browser": {
10278
- "description": "Do not open Chrome during QWeb/QForce bootstrap.",
10279
- "name": "no-browser",
10081
+ "no-enable": {
10082
+ "description": "Do not manage the server recorder toggle.",
10083
+ "name": "no-enable",
10280
10084
  "allowNo": false,
10281
10085
  "type": "boolean"
10282
10086
  },
10283
- "poll-interval": {
10284
- "description": "Readiness polling interval in seconds.",
10285
- "name": "poll-interval",
10286
- "default": 3,
10287
- "hasDynamicHelp": false,
10288
- "multiple": false,
10289
- "type": "option"
10290
- },
10291
- "screen": {
10292
- "description": "Session screen as WIDTHxHEIGHTxDEPTH.",
10293
- "name": "screen",
10294
- "hasDynamicHelp": false,
10295
- "multiple": false,
10296
- "type": "option"
10297
- },
10298
- "section": {
10299
- "description": "Robot test/task name to bootstrap.",
10300
- "name": "section",
10301
- "hasDynamicHelp": false,
10302
- "multiple": false,
10303
- "type": "option"
10304
- },
10305
- "section-index": {
10306
- "description": "One-based Robot test/task index to bootstrap.",
10307
- "name": "section-index",
10308
- "hasDynamicHelp": false,
10309
- "multiple": false,
10310
- "type": "option"
10311
- },
10312
- "session-version": {
10313
- "description": "CRT live environment version.",
10314
- "name": "session-version",
10087
+ "output": {
10088
+ "char": "o",
10089
+ "description": "Explicit .robot file to append recorded keywords to.",
10090
+ "name": "output",
10315
10091
  "hasDynamicHelp": false,
10316
10092
  "multiple": false,
10317
10093
  "type": "option"
10318
10094
  },
10319
- "timeout": {
10320
- "description": "Readiness timeout in seconds.",
10321
- "name": "timeout",
10322
- "default": 120,
10095
+ "project": {
10096
+ "char": "p",
10097
+ "description": "CRT project ID.",
10098
+ "name": "project",
10099
+ "required": true,
10323
10100
  "hasDynamicHelp": false,
10324
10101
  "multiple": false,
10325
10102
  "type": "option"
10326
10103
  },
10327
- "viewport": {
10328
- "description": "Session viewport as WIDTHxHEIGHT (24-bit depth).",
10329
- "name": "viewport",
10104
+ "session-id": {
10105
+ "description": "Guard that must match the active CRT live session.",
10106
+ "name": "session-id",
10330
10107
  "hasDynamicHelp": false,
10331
10108
  "multiple": false,
10332
10109
  "type": "option"
@@ -10334,22 +10111,22 @@
10334
10111
  },
10335
10112
  "hasDynamicHelp": false,
10336
10113
  "hiddenAliases": [],
10337
- "id": "testing:live:start",
10114
+ "id": "testing:live:recorder",
10338
10115
  "pluginAlias": "@copado/agentia-cli",
10339
10116
  "pluginName": "@copado/agentia-cli",
10340
10117
  "pluginType": "core",
10341
10118
  "strict": true,
10342
- "enableJsonFlag": true,
10119
+ "enableJsonFlag": false,
10343
10120
  "isESM": true,
10344
10121
  "relativePath": [
10345
10122
  "dist",
10346
10123
  "commands",
10347
10124
  "testing",
10348
10125
  "live",
10349
- "start.js"
10126
+ "recorder.js"
10350
10127
  ]
10351
10128
  },
10352
- "testing:live:status": {
10129
+ "testing:live:reports": {
10353
10130
  "aliases": [],
10354
10131
  "args": {
10355
10132
  "job-id": {
@@ -10358,9 +10135,10 @@
10358
10135
  "required": false
10359
10136
  }
10360
10137
  },
10361
- "description": "Inspect sanitized status for the active CRT live session",
10138
+ "description": "List or save bounded report artifacts from an active CRT live session",
10362
10139
  "examples": [
10363
- "<%= config.bin %> <%= command.id %> --project <project-id> --json"
10140
+ "<%= config.bin %> <%= command.id %> --project <project-id>",
10141
+ "<%= config.bin %> <%= command.id %> --project <project-id> --output-dir ./reports"
10364
10142
  ],
10365
10143
  "flags": {
10366
10144
  "json": {
@@ -10385,11 +10163,18 @@
10385
10163
  "hasDynamicHelp": false,
10386
10164
  "multiple": false,
10387
10165
  "type": "option"
10166
+ },
10167
+ "output-dir": {
10168
+ "description": "Explicit directory for log.html, report.html, and output.xml.",
10169
+ "name": "output-dir",
10170
+ "hasDynamicHelp": false,
10171
+ "multiple": false,
10172
+ "type": "option"
10388
10173
  }
10389
10174
  },
10390
10175
  "hasDynamicHelp": false,
10391
10176
  "hiddenAliases": [],
10392
- "id": "testing:live:status",
10177
+ "id": "testing:live:reports",
10393
10178
  "pluginAlias": "@copado/agentia-cli",
10394
10179
  "pluginName": "@copado/agentia-cli",
10395
10180
  "pluginType": "core",
@@ -10401,10 +10186,10 @@
10401
10186
  "commands",
10402
10187
  "testing",
10403
10188
  "live",
10404
- "status.js"
10189
+ "reports.js"
10405
10190
  ]
10406
10191
  },
10407
- "testing:live:stop": {
10192
+ "testing:live:screenshot": {
10408
10193
  "aliases": [],
10409
10194
  "args": {
10410
10195
  "job-id": {
@@ -10413,10 +10198,9 @@
10413
10198
  "required": false
10414
10199
  }
10415
10200
  },
10416
- "description": "Stop the active Copado Robotic Testing live session",
10201
+ "description": "Save a bounded CRT live browser screenshot to an explicit file",
10417
10202
  "examples": [
10418
- "<%= config.bin %> <%= command.id %> --project <project-id>",
10419
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --yes --json"
10203
+ "<%= config.bin %> <%= command.id %> --project <project-id> --output screenshot.png"
10420
10204
  ],
10421
10205
  "flags": {
10422
10206
  "json": {
@@ -10442,17 +10226,19 @@
10442
10226
  "multiple": false,
10443
10227
  "type": "option"
10444
10228
  },
10445
- "yes": {
10446
- "char": "y",
10447
- "description": "Confirm live session shutdown.",
10448
- "name": "yes",
10449
- "allowNo": false,
10450
- "type": "boolean"
10229
+ "output": {
10230
+ "char": "o",
10231
+ "description": "Explicit screenshot output path.",
10232
+ "name": "output",
10233
+ "required": true,
10234
+ "hasDynamicHelp": false,
10235
+ "multiple": false,
10236
+ "type": "option"
10451
10237
  }
10452
10238
  },
10453
10239
  "hasDynamicHelp": false,
10454
10240
  "hiddenAliases": [],
10455
- "id": "testing:live:stop",
10241
+ "id": "testing:live:screenshot",
10456
10242
  "pluginAlias": "@copado/agentia-cli",
10457
10243
  "pluginName": "@copado/agentia-cli",
10458
10244
  "pluginType": "core",
@@ -10464,16 +10250,21 @@
10464
10250
  "commands",
10465
10251
  "testing",
10466
10252
  "live",
10467
- "stop.js"
10253
+ "screenshot.js"
10468
10254
  ]
10469
10255
  },
10470
- "testing:live:view": {
10256
+ "testing:live:set-options": {
10471
10257
  "aliases": [],
10472
- "args": {},
10473
- "description": "Open the authenticated CRT run/session page without putting viewer secrets in the URL",
10258
+ "args": {
10259
+ "job-id": {
10260
+ "description": "Optional CRT job/test ID guard.",
10261
+ "name": "job-id",
10262
+ "required": false
10263
+ }
10264
+ },
10265
+ "description": "Set the complete validated CRT live recorder option block",
10474
10266
  "examples": [
10475
- "<%= config.bin %> <%= command.id %> --project <project-id>",
10476
- "<%= config.bin %> <%= command.id %> --project <project-id> --no-open --json"
10267
+ "<%= config.bin %> <%= command.id %> --project <project-id> --enable --scroll-text --table-keywords"
10477
10268
  ],
10478
10269
  "flags": {
10479
10270
  "json": {
@@ -10483,18 +10274,6 @@
10483
10274
  "allowNo": false,
10484
10275
  "type": "boolean"
10485
10276
  },
10486
- "interactive": {
10487
- "description": "Request interactive viewer controls when available.",
10488
- "name": "interactive",
10489
- "allowNo": false,
10490
- "type": "boolean"
10491
- },
10492
- "no-open": {
10493
- "description": "Return the nonsecret URL without opening a browser.",
10494
- "name": "no-open",
10495
- "allowNo": false,
10496
- "type": "boolean"
10497
- },
10498
10277
  "project": {
10499
10278
  "char": "p",
10500
10279
  "description": "CRT project ID.",
@@ -10505,16 +10284,58 @@
10505
10284
  "type": "option"
10506
10285
  },
10507
10286
  "session-id": {
10508
- "description": "Guard that must match the active CRT live session.",
10287
+ "description": "Guard that must match the locally active CRT live session.",
10509
10288
  "name": "session-id",
10510
10289
  "hasDynamicHelp": false,
10511
10290
  "multiple": false,
10512
10291
  "type": "option"
10292
+ },
10293
+ "enable": {
10294
+ "description": "Enable or disable interaction recording.",
10295
+ "name": "enable",
10296
+ "allowNo": true,
10297
+ "type": "boolean"
10298
+ },
10299
+ "healing-context": {
10300
+ "description": "Capture recorder healing context.",
10301
+ "name": "healing-context",
10302
+ "allowNo": true,
10303
+ "type": "boolean"
10304
+ },
10305
+ "hover-text": {
10306
+ "description": "Capture HoverText interactions.",
10307
+ "name": "hover-text",
10308
+ "allowNo": true,
10309
+ "type": "boolean"
10310
+ },
10311
+ "scroll-text": {
10312
+ "description": "Capture ScrollText interactions.",
10313
+ "name": "scroll-text",
10314
+ "allowNo": true,
10315
+ "type": "boolean"
10316
+ },
10317
+ "system-state": {
10318
+ "description": "Capture console/network system state.",
10319
+ "name": "system-state",
10320
+ "allowNo": true,
10321
+ "type": "boolean"
10322
+ },
10323
+ "table-keywords": {
10324
+ "description": "Prefer table-aware interaction keywords.",
10325
+ "name": "table-keywords",
10326
+ "allowNo": true,
10327
+ "type": "boolean"
10328
+ },
10329
+ "verify-text": {
10330
+ "description": "Capture VerifyText interactions.",
10331
+ "name": "verify-text",
10332
+ "allowNo": true,
10333
+ "type": "boolean"
10513
10334
  }
10514
10335
  },
10515
10336
  "hasDynamicHelp": false,
10516
10337
  "hiddenAliases": [],
10517
- "id": "testing:live:view",
10338
+ "id": "testing:live:set-options",
10518
10339
  "pluginAlias": "@copado/agentia-cli",
10519
10340
  "pluginName": "@copado/agentia-cli",
10520
10341
  "pluginType": "core",
@@ -10526,16 +10347,22 @@
10526
10347
  "commands",
10527
10348
  "testing",
10528
10349
  "live",
10529
- "view.js"
10350
+ "set-options.js"
10530
10351
  ]
10531
10352
  },
10532
- "testing:project:create": {
10353
+ "testing:live:start": {
10533
10354
  "aliases": [],
10534
- "args": {},
10535
- "description": "Create a Copado Robotic Testing project",
10355
+ "args": {
10356
+ "job-id": {
10357
+ "description": "CRT job/test ID.",
10358
+ "name": "job-id",
10359
+ "required": true
10360
+ }
10361
+ },
10362
+ "description": "Start and bootstrap a bounded Copado Robotic Testing live session",
10536
10363
  "examples": [
10537
- "<%= config.bin %> <%= command.id %> --name \"QA Tests\"",
10538
- "<%= config.bin %> <%= command.id %> --name \"QA Tests\" --description \"Smoke suite\" --json"
10364
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
10365
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file smoke.robot --section \"Login\""
10539
10366
  ],
10540
10367
  "flags": {
10541
10368
  "json": {
@@ -10545,55 +10372,122 @@
10545
10372
  "allowNo": false,
10546
10373
  "type": "boolean"
10547
10374
  },
10548
- "dashboard-id": {
10549
- "description": "Optional CRT dashboard ID.",
10550
- "name": "dashboard-id",
10375
+ "project": {
10376
+ "char": "p",
10377
+ "description": "CRT project ID.",
10378
+ "name": "project",
10379
+ "required": true,
10380
+ "hasDynamicHelp": false,
10381
+ "multiple": false,
10382
+ "type": "option"
10383
+ },
10384
+ "session-id": {
10385
+ "description": "Guard that must match the locally active CRT live session.",
10386
+ "name": "session-id",
10551
10387
  "hasDynamicHelp": false,
10552
10388
  "multiple": false,
10553
10389
  "type": "option"
10554
10390
  },
10555
10391
  "description": {
10556
- "description": "Project description.",
10392
+ "description": "Nonsecret session label.",
10557
10393
  "name": "description",
10558
10394
  "hasDynamicHelp": false,
10559
10395
  "multiple": false,
10560
10396
  "type": "option"
10561
10397
  },
10562
- "executor": {
10563
- "description": "Project execution backend.",
10564
- "name": "executor",
10398
+ "file": {
10399
+ "description": "Robot Framework file used to bootstrap a selected test/task.",
10400
+ "name": "file",
10401
+ "hasDynamicHelp": false,
10402
+ "multiple": false,
10403
+ "type": "option"
10404
+ },
10405
+ "jap-ime": {
10406
+ "description": "Enable Japanese IME in the live environment.",
10407
+ "name": "jap-ime",
10408
+ "allowNo": false,
10409
+ "type": "boolean"
10410
+ },
10411
+ "library": {
10412
+ "description": "Robot Framework library to bootstrap.",
10413
+ "name": "library",
10414
+ "default": "QWeb",
10565
10415
  "hasDynamicHelp": false,
10566
10416
  "multiple": false,
10567
10417
  "options": [
10568
- "jenkins",
10569
- "kubernetes"
10418
+ "QWeb",
10419
+ "QForce",
10420
+ "QMobile"
10570
10421
  ],
10571
10422
  "type": "option"
10572
10423
  },
10573
- "name": {
10574
- "description": "Project name.",
10575
- "name": "name",
10576
- "required": true,
10424
+ "no-bootstrap": {
10425
+ "description": "Create the host without readiness/bootstrap calls.",
10426
+ "name": "no-bootstrap",
10427
+ "allowNo": false,
10428
+ "type": "boolean"
10429
+ },
10430
+ "no-browser": {
10431
+ "description": "Do not open Chrome during QWeb/QForce bootstrap.",
10432
+ "name": "no-browser",
10433
+ "allowNo": false,
10434
+ "type": "boolean"
10435
+ },
10436
+ "poll-interval": {
10437
+ "description": "Readiness polling interval in seconds.",
10438
+ "name": "poll-interval",
10439
+ "default": 3,
10577
10440
  "hasDynamicHelp": false,
10578
10441
  "multiple": false,
10579
10442
  "type": "option"
10580
10443
  },
10581
- "type": {
10582
- "description": "CRT project type.",
10583
- "name": "type",
10584
- "default": "ta",
10444
+ "screen": {
10445
+ "description": "Session screen as WIDTHxHEIGHTxDEPTH.",
10446
+ "name": "screen",
10447
+ "hasDynamicHelp": false,
10448
+ "multiple": false,
10449
+ "type": "option"
10450
+ },
10451
+ "section": {
10452
+ "description": "Robot test/task name to bootstrap.",
10453
+ "name": "section",
10454
+ "hasDynamicHelp": false,
10455
+ "multiple": false,
10456
+ "type": "option"
10457
+ },
10458
+ "section-index": {
10459
+ "description": "One-based Robot test/task index to bootstrap.",
10460
+ "name": "section-index",
10461
+ "hasDynamicHelp": false,
10462
+ "multiple": false,
10463
+ "type": "option"
10464
+ },
10465
+ "session-version": {
10466
+ "description": "CRT live environment version.",
10467
+ "name": "session-version",
10468
+ "hasDynamicHelp": false,
10469
+ "multiple": false,
10470
+ "type": "option"
10471
+ },
10472
+ "timeout": {
10473
+ "description": "Readiness timeout in seconds.",
10474
+ "name": "timeout",
10475
+ "default": 120,
10476
+ "hasDynamicHelp": false,
10477
+ "multiple": false,
10478
+ "type": "option"
10479
+ },
10480
+ "viewport": {
10481
+ "description": "Session viewport as WIDTHxHEIGHT (24-bit depth).",
10482
+ "name": "viewport",
10585
10483
  "hasDynamicHelp": false,
10586
10484
  "multiple": false,
10587
- "options": [
10588
- "ta",
10589
- "rpa"
10590
- ],
10591
10485
  "type": "option"
10592
10486
  }
10593
10487
  },
10594
10488
  "hasDynamicHelp": false,
10595
10489
  "hiddenAliases": [],
10596
- "id": "testing:project:create",
10490
+ "id": "testing:live:start",
10597
10491
  "pluginAlias": "@copado/agentia-cli",
10598
10492
  "pluginName": "@copado/agentia-cli",
10599
10493
  "pluginType": "core",
@@ -10604,23 +10498,22 @@
10604
10498
  "dist",
10605
10499
  "commands",
10606
10500
  "testing",
10607
- "project",
10608
- "create.js"
10501
+ "live",
10502
+ "start.js"
10609
10503
  ]
10610
10504
  },
10611
- "testing:project:delete": {
10505
+ "testing:live:status": {
10612
10506
  "aliases": [],
10613
10507
  "args": {
10614
- "id": {
10615
- "description": "CRT project ID.",
10616
- "name": "id",
10617
- "required": true
10508
+ "job-id": {
10509
+ "description": "Optional CRT job/test ID guard.",
10510
+ "name": "job-id",
10511
+ "required": false
10618
10512
  }
10619
10513
  },
10620
- "description": "Delete a Copado Robotic Testing project",
10514
+ "description": "Inspect sanitized status for the active CRT live session",
10621
10515
  "examples": [
10622
- "<%= config.bin %> <%= command.id %> <project-id> --yes",
10623
- "<%= config.bin %> <%= command.id %> <project-id> --yes --json"
10516
+ "<%= config.bin %> <%= command.id %> --project <project-id> --json"
10624
10517
  ],
10625
10518
  "flags": {
10626
10519
  "json": {
@@ -10630,17 +10523,26 @@
10630
10523
  "allowNo": false,
10631
10524
  "type": "boolean"
10632
10525
  },
10633
- "yes": {
10634
- "char": "y",
10635
- "description": "Skip the destructive confirmation prompt.",
10636
- "name": "yes",
10637
- "allowNo": false,
10638
- "type": "boolean"
10526
+ "project": {
10527
+ "char": "p",
10528
+ "description": "CRT project ID.",
10529
+ "name": "project",
10530
+ "required": true,
10531
+ "hasDynamicHelp": false,
10532
+ "multiple": false,
10533
+ "type": "option"
10534
+ },
10535
+ "session-id": {
10536
+ "description": "Guard that must match the locally active CRT live session.",
10537
+ "name": "session-id",
10538
+ "hasDynamicHelp": false,
10539
+ "multiple": false,
10540
+ "type": "option"
10639
10541
  }
10640
10542
  },
10641
10543
  "hasDynamicHelp": false,
10642
10544
  "hiddenAliases": [],
10643
- "id": "testing:project:delete",
10545
+ "id": "testing:live:status",
10644
10546
  "pluginAlias": "@copado/agentia-cli",
10645
10547
  "pluginName": "@copado/agentia-cli",
10646
10548
  "pluginType": "core",
@@ -10651,57 +10553,23 @@
10651
10553
  "dist",
10652
10554
  "commands",
10653
10555
  "testing",
10654
- "project",
10655
- "delete.js"
10556
+ "live",
10557
+ "status.js"
10656
10558
  ]
10657
10559
  },
10658
- "testing:project:get": {
10560
+ "testing:live:stop": {
10659
10561
  "aliases": [],
10660
10562
  "args": {
10661
- "id": {
10662
- "description": "CRT project ID.",
10663
- "name": "id",
10664
- "required": true
10665
- }
10666
- },
10667
- "description": "Get a Copado Robotic Testing project from the project list",
10668
- "examples": [
10669
- "<%= config.bin %> <%= command.id %> <project-id>",
10670
- "<%= config.bin %> <%= command.id %> <project-id> --json"
10671
- ],
10672
- "flags": {
10673
- "json": {
10674
- "description": "Format output as json.",
10675
- "helpGroup": "GLOBAL",
10676
- "name": "json",
10677
- "allowNo": false,
10678
- "type": "boolean"
10563
+ "job-id": {
10564
+ "description": "Optional CRT job/test ID guard.",
10565
+ "name": "job-id",
10566
+ "required": false
10679
10567
  }
10680
10568
  },
10681
- "hasDynamicHelp": false,
10682
- "hiddenAliases": [],
10683
- "id": "testing:project:get",
10684
- "pluginAlias": "@copado/agentia-cli",
10685
- "pluginName": "@copado/agentia-cli",
10686
- "pluginType": "core",
10687
- "strict": true,
10688
- "enableJsonFlag": true,
10689
- "isESM": true,
10690
- "relativePath": [
10691
- "dist",
10692
- "commands",
10693
- "testing",
10694
- "project",
10695
- "get.js"
10696
- ]
10697
- },
10698
- "testing:project:list": {
10699
- "aliases": [],
10700
- "args": {},
10701
- "description": "List Copado Robotic Testing projects",
10569
+ "description": "Stop the active Copado Robotic Testing live session",
10702
10570
  "examples": [
10703
- "<%= config.bin %> <%= command.id %>",
10704
- "<%= config.bin %> <%= command.id %> --name \"QA Tests\" --json"
10571
+ "<%= config.bin %> <%= command.id %> --project <project-id>",
10572
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --yes --json"
10705
10573
  ],
10706
10574
  "flags": {
10707
10575
  "json": {
@@ -10711,17 +10579,33 @@
10711
10579
  "allowNo": false,
10712
10580
  "type": "boolean"
10713
10581
  },
10714
- "name": {
10715
- "description": "Exact project name to match client-side.",
10716
- "name": "name",
10582
+ "project": {
10583
+ "char": "p",
10584
+ "description": "CRT project ID.",
10585
+ "name": "project",
10586
+ "required": true,
10587
+ "hasDynamicHelp": false,
10588
+ "multiple": false,
10589
+ "type": "option"
10590
+ },
10591
+ "session-id": {
10592
+ "description": "Guard that must match the locally active CRT live session.",
10593
+ "name": "session-id",
10717
10594
  "hasDynamicHelp": false,
10718
10595
  "multiple": false,
10719
10596
  "type": "option"
10597
+ },
10598
+ "yes": {
10599
+ "char": "y",
10600
+ "description": "Confirm live session shutdown.",
10601
+ "name": "yes",
10602
+ "allowNo": false,
10603
+ "type": "boolean"
10720
10604
  }
10721
10605
  },
10722
10606
  "hasDynamicHelp": false,
10723
10607
  "hiddenAliases": [],
10724
- "id": "testing:project:list",
10608
+ "id": "testing:live:stop",
10725
10609
  "pluginAlias": "@copado/agentia-cli",
10726
10610
  "pluginName": "@copado/agentia-cli",
10727
10611
  "pluginType": "core",
@@ -10732,23 +10616,17 @@
10732
10616
  "dist",
10733
10617
  "commands",
10734
10618
  "testing",
10735
- "project",
10736
- "list.js"
10619
+ "live",
10620
+ "stop.js"
10737
10621
  ]
10738
10622
  },
10739
- "testing:project:update": {
10623
+ "testing:live:view": {
10740
10624
  "aliases": [],
10741
- "args": {
10742
- "id": {
10743
- "description": "CRT project ID.",
10744
- "name": "id",
10745
- "required": true
10746
- }
10747
- },
10748
- "description": "Update a Copado Robotic Testing project",
10625
+ "args": {},
10626
+ "description": "Open the authenticated CRT run/session page without putting viewer secrets in the URL",
10749
10627
  "examples": [
10750
- "<%= config.bin %> <%= command.id %> <project-id> --name \"QA Updated\"",
10751
- "<%= config.bin %> <%= command.id %> <project-id> --description \"Regression suites\" --json"
10628
+ "<%= config.bin %> <%= command.id %> --project <project-id>",
10629
+ "<%= config.bin %> <%= command.id %> --project <project-id> --no-open --json"
10752
10630
  ],
10753
10631
  "flags": {
10754
10632
  "json": {
@@ -10758,16 +10636,30 @@
10758
10636
  "allowNo": false,
10759
10637
  "type": "boolean"
10760
10638
  },
10761
- "description": {
10762
- "description": "New project description.",
10763
- "name": "description",
10639
+ "interactive": {
10640
+ "description": "Request interactive viewer controls when available.",
10641
+ "name": "interactive",
10642
+ "allowNo": false,
10643
+ "type": "boolean"
10644
+ },
10645
+ "no-open": {
10646
+ "description": "Return the nonsecret URL without opening a browser.",
10647
+ "name": "no-open",
10648
+ "allowNo": false,
10649
+ "type": "boolean"
10650
+ },
10651
+ "project": {
10652
+ "char": "p",
10653
+ "description": "CRT project ID.",
10654
+ "name": "project",
10655
+ "required": true,
10764
10656
  "hasDynamicHelp": false,
10765
10657
  "multiple": false,
10766
10658
  "type": "option"
10767
10659
  },
10768
- "name": {
10769
- "description": "New project name.",
10770
- "name": "name",
10660
+ "session-id": {
10661
+ "description": "Guard that must match the active CRT live session.",
10662
+ "name": "session-id",
10771
10663
  "hasDynamicHelp": false,
10772
10664
  "multiple": false,
10773
10665
  "type": "option"
@@ -10775,7 +10667,7 @@
10775
10667
  },
10776
10668
  "hasDynamicHelp": false,
10777
10669
  "hiddenAliases": [],
10778
- "id": "testing:project:update",
10670
+ "id": "testing:live:view",
10779
10671
  "pluginAlias": "@copado/agentia-cli",
10780
10672
  "pluginName": "@copado/agentia-cli",
10781
10673
  "pluginType": "core",
@@ -10786,8 +10678,8 @@
10786
10678
  "dist",
10787
10679
  "commands",
10788
10680
  "testing",
10789
- "project",
10790
- "update.js"
10681
+ "live",
10682
+ "view.js"
10791
10683
  ]
10792
10684
  },
10793
10685
  "testing:robot:create": {
@@ -17722,5 +17614,5 @@
17722
17614
  ]
17723
17615
  }
17724
17616
  },
17725
- "version": "0.122.0-alpha.0"
17617
+ "version": "0.122.0-alpha.1"
17726
17618
  }