testzeus-cli 0.0.34__tar.gz → 0.0.35__tar.gz
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.
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/PKG-INFO +2 -2
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/pyproject.toml +2 -2
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/agent-capabilities.json +359 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/agent_capabilities.py +10 -1
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/agent_harness.py +221 -27
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_blocks.py +155 -17
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/tests.py +3 -3
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/tests_authoring.py +2 -2
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/formatters.py +34 -3
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/validators.py +2 -2
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/LICENSE +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/README.md +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/__init__.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/auth.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/cli.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/__init__.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/capabilities.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/connected_environments.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/daemon.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/device_pool.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/environments.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/hypermind_code_blocks.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/knowledge_bases.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/knowledge_documents.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/notification_channels.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/qa.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/records.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/tags.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_data.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_report_runs.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_report_schedules.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_run_groups.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_runs.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_suite_node_runs.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_suite_runs.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_suite_schedules.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/test_suites.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/tests_ai_generator.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/commands/user_integrations.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/config.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/record-contract.json +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/record_contract.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/record_query.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/__init__.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/auth.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/client.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/files.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/links.py +0 -0
- {testzeus_cli-0.0.34 → testzeus_cli-0.0.35}/testzeus_cli/utils/profile.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testzeus-cli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.35
|
|
4
4
|
Summary: Command-line interface for TestZeus testing platform
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: Shriyansh Agnihotri
|
|
@@ -22,7 +22,7 @@ Requires-Dist: pocketbase (>=0.15.0,<0.16.0)
|
|
|
22
22
|
Requires-Dist: pydantic (>=2.0.0,<3.0.0)
|
|
23
23
|
Requires-Dist: pyyaml (>=6.0,<7.0)
|
|
24
24
|
Requires-Dist: rich (>=13.3.1,<14.0.0)
|
|
25
|
-
Requires-Dist: testzeus-sdk (>=0.0.
|
|
25
|
+
Requires-Dist: testzeus-sdk (>=0.0.34,<0.1.0)
|
|
26
26
|
Requires-Dist: toml (>=0.10.2,<0.11.0)
|
|
27
27
|
Project-URL: Repository, https://github.com/test-zeus-ai/testzeus-cli
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "testzeus-cli"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.35"
|
|
8
8
|
description = "Command-line interface for TestZeus testing platform"
|
|
9
9
|
authors = ["Shriyansh Agnihotri <shriyansh@testzeus.com>"]
|
|
10
10
|
readme = "README.md"
|
|
@@ -22,7 +22,7 @@ pydantic = "^2.0.0"
|
|
|
22
22
|
pyyaml = "^6.0"
|
|
23
23
|
keyring = "^24.0.0"
|
|
24
24
|
ipdb = "^0.13.13"
|
|
25
|
-
testzeus-sdk = ">=0.0.
|
|
25
|
+
testzeus-sdk = ">=0.0.34,<0.1.0"
|
|
26
26
|
pocketbase = "^0.15.0"
|
|
27
27
|
toml = "^0.10.2"
|
|
28
28
|
aiohttp = "^3.14.1"
|
|
@@ -43,6 +43,49 @@
|
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"id": "agent-harness.generate-more",
|
|
48
|
+
"command": [
|
|
49
|
+
"agent-harness",
|
|
50
|
+
"generate-more"
|
|
51
|
+
],
|
|
52
|
+
"description": "Generate more pathways for an existing agent",
|
|
53
|
+
"risk": "mutate",
|
|
54
|
+
"fixedOptions": [],
|
|
55
|
+
"parameters": [
|
|
56
|
+
{
|
|
57
|
+
"name": "agent_id",
|
|
58
|
+
"kind": "string",
|
|
59
|
+
"required": true,
|
|
60
|
+
"multiple": false,
|
|
61
|
+
"positional": true,
|
|
62
|
+
"flag": false,
|
|
63
|
+
"description": "agent id"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "prompt",
|
|
67
|
+
"kind": "string",
|
|
68
|
+
"required": false,
|
|
69
|
+
"multiple": false,
|
|
70
|
+
"positional": false,
|
|
71
|
+
"flag": false,
|
|
72
|
+
"description": "Directional prompt for the new pathways",
|
|
73
|
+
"option": "--prompt"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "num",
|
|
77
|
+
"kind": "integer",
|
|
78
|
+
"required": false,
|
|
79
|
+
"multiple": false,
|
|
80
|
+
"positional": false,
|
|
81
|
+
"flag": false,
|
|
82
|
+
"description": "Number of pathways to generate",
|
|
83
|
+
"option": "--num",
|
|
84
|
+
"minimum": 1,
|
|
85
|
+
"maximum": 100
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
46
89
|
{
|
|
47
90
|
"id": "agent-harness.generate-pathways",
|
|
48
91
|
"command": [
|
|
@@ -106,6 +149,50 @@
|
|
|
106
149
|
}
|
|
107
150
|
]
|
|
108
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"id": "agent-harness.generation-runs",
|
|
154
|
+
"command": [
|
|
155
|
+
"agent-harness",
|
|
156
|
+
"generation-runs"
|
|
157
|
+
],
|
|
158
|
+
"description": "List an agent's pathway-generation runs with their status",
|
|
159
|
+
"risk": "read",
|
|
160
|
+
"fixedOptions": [],
|
|
161
|
+
"parameters": [
|
|
162
|
+
{
|
|
163
|
+
"name": "agent_id",
|
|
164
|
+
"kind": "string",
|
|
165
|
+
"required": true,
|
|
166
|
+
"multiple": false,
|
|
167
|
+
"positional": true,
|
|
168
|
+
"flag": false,
|
|
169
|
+
"description": "agent id"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "page",
|
|
173
|
+
"kind": "integer",
|
|
174
|
+
"required": false,
|
|
175
|
+
"multiple": false,
|
|
176
|
+
"positional": false,
|
|
177
|
+
"flag": false,
|
|
178
|
+
"description": "Page number",
|
|
179
|
+
"option": "--page",
|
|
180
|
+
"minimum": 1
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "per_page",
|
|
184
|
+
"kind": "integer",
|
|
185
|
+
"required": false,
|
|
186
|
+
"multiple": false,
|
|
187
|
+
"positional": false,
|
|
188
|
+
"flag": false,
|
|
189
|
+
"description": "Items per page",
|
|
190
|
+
"option": "--per-page",
|
|
191
|
+
"minimum": 1,
|
|
192
|
+
"maximum": 100
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
},
|
|
109
196
|
{
|
|
110
197
|
"id": "agent-harness.get-agent",
|
|
111
198
|
"command": [
|
|
@@ -148,6 +235,27 @@
|
|
|
148
235
|
}
|
|
149
236
|
]
|
|
150
237
|
},
|
|
238
|
+
{
|
|
239
|
+
"id": "agent-harness.get-report",
|
|
240
|
+
"command": [
|
|
241
|
+
"agent-harness",
|
|
242
|
+
"get-report"
|
|
243
|
+
],
|
|
244
|
+
"description": "Get one simulation report",
|
|
245
|
+
"risk": "read",
|
|
246
|
+
"fixedOptions": [],
|
|
247
|
+
"parameters": [
|
|
248
|
+
{
|
|
249
|
+
"name": "report_id",
|
|
250
|
+
"kind": "string",
|
|
251
|
+
"required": true,
|
|
252
|
+
"multiple": false,
|
|
253
|
+
"positional": true,
|
|
254
|
+
"flag": false,
|
|
255
|
+
"description": "report id"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
151
259
|
{
|
|
152
260
|
"id": "agent-harness.get-simulation",
|
|
153
261
|
"command": [
|
|
@@ -311,6 +419,116 @@
|
|
|
311
419
|
}
|
|
312
420
|
]
|
|
313
421
|
},
|
|
422
|
+
{
|
|
423
|
+
"id": "agent-harness.list-profiles",
|
|
424
|
+
"command": [
|
|
425
|
+
"agent-harness",
|
|
426
|
+
"list-profiles"
|
|
427
|
+
],
|
|
428
|
+
"description": "List Agentforce agent profiles you can generate pathways for",
|
|
429
|
+
"risk": "read",
|
|
430
|
+
"fixedOptions": [],
|
|
431
|
+
"parameters": [
|
|
432
|
+
{
|
|
433
|
+
"name": "search",
|
|
434
|
+
"kind": "string",
|
|
435
|
+
"required": false,
|
|
436
|
+
"multiple": false,
|
|
437
|
+
"positional": false,
|
|
438
|
+
"flag": false,
|
|
439
|
+
"description": "Filter by profile name",
|
|
440
|
+
"option": "--search"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "connection_id",
|
|
444
|
+
"kind": "string",
|
|
445
|
+
"required": false,
|
|
446
|
+
"multiple": false,
|
|
447
|
+
"positional": false,
|
|
448
|
+
"flag": false,
|
|
449
|
+
"description": "Only profiles of this Salesforce connection",
|
|
450
|
+
"option": "--connection"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "page",
|
|
454
|
+
"kind": "integer",
|
|
455
|
+
"required": false,
|
|
456
|
+
"multiple": false,
|
|
457
|
+
"positional": false,
|
|
458
|
+
"flag": false,
|
|
459
|
+
"description": "Page number",
|
|
460
|
+
"option": "--page",
|
|
461
|
+
"minimum": 1
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "per_page",
|
|
465
|
+
"kind": "integer",
|
|
466
|
+
"required": false,
|
|
467
|
+
"multiple": false,
|
|
468
|
+
"positional": false,
|
|
469
|
+
"flag": false,
|
|
470
|
+
"description": "Items per page",
|
|
471
|
+
"option": "--per-page",
|
|
472
|
+
"minimum": 1,
|
|
473
|
+
"maximum": 100
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"id": "agent-harness.list-reports",
|
|
479
|
+
"command": [
|
|
480
|
+
"agent-harness",
|
|
481
|
+
"list-reports"
|
|
482
|
+
],
|
|
483
|
+
"description": "List simulation reports with pass rates and verdicts",
|
|
484
|
+
"risk": "read",
|
|
485
|
+
"fixedOptions": [],
|
|
486
|
+
"parameters": [
|
|
487
|
+
{
|
|
488
|
+
"name": "agent_id",
|
|
489
|
+
"kind": "string",
|
|
490
|
+
"required": false,
|
|
491
|
+
"multiple": false,
|
|
492
|
+
"positional": false,
|
|
493
|
+
"flag": false,
|
|
494
|
+
"description": "Only reports of this agent",
|
|
495
|
+
"option": "--agent"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "group_id",
|
|
499
|
+
"kind": "string",
|
|
500
|
+
"required": false,
|
|
501
|
+
"multiple": false,
|
|
502
|
+
"positional": false,
|
|
503
|
+
"flag": false,
|
|
504
|
+
"description": "Only the report of this run group",
|
|
505
|
+
"option": "--group"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "page",
|
|
509
|
+
"kind": "integer",
|
|
510
|
+
"required": false,
|
|
511
|
+
"multiple": false,
|
|
512
|
+
"positional": false,
|
|
513
|
+
"flag": false,
|
|
514
|
+
"description": "Page number",
|
|
515
|
+
"option": "--page",
|
|
516
|
+
"minimum": 1
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "per_page",
|
|
520
|
+
"kind": "integer",
|
|
521
|
+
"required": false,
|
|
522
|
+
"multiple": false,
|
|
523
|
+
"positional": false,
|
|
524
|
+
"flag": false,
|
|
525
|
+
"description": "Items per page",
|
|
526
|
+
"option": "--per-page",
|
|
527
|
+
"minimum": 1,
|
|
528
|
+
"maximum": 100
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
|
+
},
|
|
314
532
|
{
|
|
315
533
|
"id": "agent-harness.list-simulations",
|
|
316
534
|
"command": [
|
|
@@ -355,6 +573,57 @@
|
|
|
355
573
|
}
|
|
356
574
|
]
|
|
357
575
|
},
|
|
576
|
+
{
|
|
577
|
+
"id": "agent-harness.pathway-history",
|
|
578
|
+
"command": [
|
|
579
|
+
"agent-harness",
|
|
580
|
+
"pathway-history"
|
|
581
|
+
],
|
|
582
|
+
"description": "Every run of one pathway, to compare outcomes over time",
|
|
583
|
+
"risk": "read",
|
|
584
|
+
"fixedOptions": [],
|
|
585
|
+
"parameters": [
|
|
586
|
+
{
|
|
587
|
+
"name": "agent_id",
|
|
588
|
+
"kind": "string",
|
|
589
|
+
"required": true,
|
|
590
|
+
"multiple": false,
|
|
591
|
+
"positional": true,
|
|
592
|
+
"flag": false,
|
|
593
|
+
"description": "agent id"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "pathway_id",
|
|
597
|
+
"kind": "string",
|
|
598
|
+
"required": true,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"positional": true,
|
|
601
|
+
"flag": false,
|
|
602
|
+
"description": "pathway id"
|
|
603
|
+
}
|
|
604
|
+
]
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"id": "agent-harness.pathway-trends",
|
|
608
|
+
"command": [
|
|
609
|
+
"agent-harness",
|
|
610
|
+
"pathway-trends"
|
|
611
|
+
],
|
|
612
|
+
"description": "Compare how each pathway of an agent did across runs",
|
|
613
|
+
"risk": "read",
|
|
614
|
+
"fixedOptions": [],
|
|
615
|
+
"parameters": [
|
|
616
|
+
{
|
|
617
|
+
"name": "agent_id",
|
|
618
|
+
"kind": "string",
|
|
619
|
+
"required": true,
|
|
620
|
+
"multiple": false,
|
|
621
|
+
"positional": true,
|
|
622
|
+
"flag": false,
|
|
623
|
+
"description": "agent id"
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
},
|
|
358
627
|
{
|
|
359
628
|
"id": "agent-harness.run",
|
|
360
629
|
"command": [
|
|
@@ -406,6 +675,27 @@
|
|
|
406
675
|
}
|
|
407
676
|
]
|
|
408
677
|
},
|
|
678
|
+
{
|
|
679
|
+
"id": "agent-harness.sf-profiles",
|
|
680
|
+
"command": [
|
|
681
|
+
"agent-harness",
|
|
682
|
+
"sf-profiles"
|
|
683
|
+
],
|
|
684
|
+
"description": "List the Salesforce user profiles a run can simulate (Run as profile)",
|
|
685
|
+
"risk": "read",
|
|
686
|
+
"fixedOptions": [],
|
|
687
|
+
"parameters": [
|
|
688
|
+
{
|
|
689
|
+
"name": "connection_id",
|
|
690
|
+
"kind": "string",
|
|
691
|
+
"required": true,
|
|
692
|
+
"multiple": false,
|
|
693
|
+
"positional": true,
|
|
694
|
+
"flag": false,
|
|
695
|
+
"description": "connection id"
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
},
|
|
409
699
|
{
|
|
410
700
|
"id": "agent-harness.status",
|
|
411
701
|
"command": [
|
|
@@ -427,6 +717,75 @@
|
|
|
427
717
|
}
|
|
428
718
|
]
|
|
429
719
|
},
|
|
720
|
+
{
|
|
721
|
+
"id": "agent-harness.update-pathway",
|
|
722
|
+
"command": [
|
|
723
|
+
"agent-harness",
|
|
724
|
+
"update-pathway"
|
|
725
|
+
],
|
|
726
|
+
"description": "Edit an adversarial pathway",
|
|
727
|
+
"risk": "mutate",
|
|
728
|
+
"fixedOptions": [],
|
|
729
|
+
"parameters": [
|
|
730
|
+
{
|
|
731
|
+
"name": "pathway_id",
|
|
732
|
+
"kind": "string",
|
|
733
|
+
"required": true,
|
|
734
|
+
"multiple": false,
|
|
735
|
+
"positional": true,
|
|
736
|
+
"flag": false,
|
|
737
|
+
"description": "pathway id"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "objective",
|
|
741
|
+
"kind": "string",
|
|
742
|
+
"required": false,
|
|
743
|
+
"multiple": false,
|
|
744
|
+
"positional": false,
|
|
745
|
+
"flag": false,
|
|
746
|
+
"description": "New objective",
|
|
747
|
+
"option": "--objective"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "expected_outcome",
|
|
751
|
+
"kind": "string",
|
|
752
|
+
"required": false,
|
|
753
|
+
"multiple": false,
|
|
754
|
+
"positional": false,
|
|
755
|
+
"flag": false,
|
|
756
|
+
"description": "New expected outcome",
|
|
757
|
+
"option": "--expected-outcome"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "max_turns",
|
|
761
|
+
"kind": "integer",
|
|
762
|
+
"required": false,
|
|
763
|
+
"multiple": false,
|
|
764
|
+
"positional": false,
|
|
765
|
+
"flag": false,
|
|
766
|
+
"description": "New turn limit",
|
|
767
|
+
"option": "--max-turns",
|
|
768
|
+
"minimum": 1,
|
|
769
|
+
"maximum": 200
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "risk_level",
|
|
773
|
+
"kind": "string",
|
|
774
|
+
"required": false,
|
|
775
|
+
"multiple": false,
|
|
776
|
+
"positional": false,
|
|
777
|
+
"flag": false,
|
|
778
|
+
"description": "New risk level",
|
|
779
|
+
"option": "--risk-level",
|
|
780
|
+
"choices": [
|
|
781
|
+
"CRITICAL",
|
|
782
|
+
"HIGH",
|
|
783
|
+
"MEDIUM",
|
|
784
|
+
"LOW"
|
|
785
|
+
]
|
|
786
|
+
}
|
|
787
|
+
]
|
|
788
|
+
},
|
|
430
789
|
{
|
|
431
790
|
"id": "device-pool.get",
|
|
432
791
|
"command": [
|
|
@@ -46,6 +46,15 @@ APPROVED = {
|
|
|
46
46
|
"agent-harness run": "mutate",
|
|
47
47
|
"agent-harness cancel": "destructive",
|
|
48
48
|
"agent-harness delete-pathway": "destructive",
|
|
49
|
+
"agent-harness list-profiles": "read",
|
|
50
|
+
"agent-harness sf-profiles": "read",
|
|
51
|
+
"agent-harness generation-runs": "read",
|
|
52
|
+
"agent-harness list-reports": "read",
|
|
53
|
+
"agent-harness get-report": "read",
|
|
54
|
+
"agent-harness pathway-trends": "read",
|
|
55
|
+
"agent-harness pathway-history": "read",
|
|
56
|
+
"agent-harness generate-more": "mutate",
|
|
57
|
+
"agent-harness update-pathway": "mutate",
|
|
49
58
|
"knowledge-documents list": "read",
|
|
50
59
|
"knowledge-documents list-connections": "read",
|
|
51
60
|
"knowledge-documents get": "read",
|
|
@@ -91,7 +100,7 @@ def parameter_contract(param):
|
|
|
91
100
|
value["maximum"] = param.type.max
|
|
92
101
|
if param.name == "page":
|
|
93
102
|
value["minimum"] = 1
|
|
94
|
-
if param.name in ("per_page", "per_agent"
|
|
103
|
+
if param.name in ("per_page", "per_agent"):
|
|
95
104
|
value.update(minimum=1, maximum=100)
|
|
96
105
|
return value
|
|
97
106
|
|