testzeus-cli 0.0.31__tar.gz → 0.0.33__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.
Files changed (50) hide show
  1. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/PKG-INFO +51 -2
  2. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/README.md +49 -0
  3. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/pyproject.toml +2 -2
  4. testzeus_cli-0.0.33/testzeus_cli/agent-capabilities.json +1566 -0
  5. testzeus_cli-0.0.33/testzeus_cli/agent_capabilities.py +118 -0
  6. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/cli.py +26 -23
  7. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/agent_harness.py +45 -0
  8. testzeus_cli-0.0.33/testzeus_cli/commands/capabilities.py +18 -0
  9. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/connected_environments.py +6 -2
  10. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/environments.py +4 -2
  11. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/hypermind_code_blocks.py +4 -2
  12. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/knowledge_bases.py +4 -2
  13. testzeus_cli-0.0.33/testzeus_cli/commands/knowledge_documents.py +167 -0
  14. testzeus_cli-0.0.33/testzeus_cli/commands/qa.py +137 -0
  15. testzeus_cli-0.0.33/testzeus_cli/commands/records.py +151 -0
  16. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/tags.py +6 -5
  17. testzeus_cli-0.0.33/testzeus_cli/commands/test_blocks.py +464 -0
  18. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_data.py +4 -2
  19. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_report_runs.py +6 -2
  20. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_runs.py +102 -14
  21. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_suite_schedules.py +10 -6
  22. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/tests.py +40 -57
  23. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/tests_authoring.py +21 -17
  24. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/user_integrations.py +4 -2
  25. testzeus_cli-0.0.33/testzeus_cli/record-contract.json +295 -0
  26. testzeus_cli-0.0.33/testzeus_cli/record_contract.py +111 -0
  27. testzeus_cli-0.0.33/testzeus_cli/record_query.py +277 -0
  28. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/utils/client.py +2 -2
  29. testzeus_cli-0.0.33/testzeus_cli/utils/validators.py +138 -0
  30. testzeus_cli-0.0.31/testzeus_cli/utils/validators.py +0 -157
  31. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/LICENSE +0 -0
  32. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/__init__.py +0 -0
  33. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/auth.py +0 -0
  34. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/__init__.py +0 -0
  35. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/daemon.py +0 -0
  36. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/device_pool.py +0 -0
  37. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/notification_channels.py +0 -0
  38. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_report_schedules.py +0 -0
  39. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_run_groups.py +0 -0
  40. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_suite_node_runs.py +0 -0
  41. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_suite_runs.py +0 -0
  42. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/test_suites.py +0 -0
  43. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/commands/tests_ai_generator.py +0 -0
  44. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/config.py +0 -0
  45. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/utils/__init__.py +0 -0
  46. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/utils/auth.py +0 -0
  47. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/utils/files.py +0 -0
  48. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/utils/formatters.py +0 -0
  49. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/testzeus_cli/utils/links.py +0 -0
  50. {testzeus_cli-0.0.31 → testzeus_cli-0.0.33}/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.31
3
+ Version: 0.0.33
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.27,<0.1.0)
25
+ Requires-Dist: testzeus-sdk (>=0.0.28,<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
@@ -1171,3 +1171,52 @@ The TestZeus CLI uses GitHub Actions for automated releases to PyPI. To create a
1171
1171
  - Push changes and tags to GitHub
1172
1172
  3. The tag push will automatically trigger the GitHub Actions publish workflow
1173
1173
 
1174
+ ### Reviewed platform-agent capabilities
1175
+
1176
+ `testzeus --format json capabilities list` returns the reviewed non-interactive
1177
+ agent surface with exact argument types and risk classes, without authentication
1178
+ or network access. Hermes consumes the committed `testzeus_cli/agent-capabilities.json`
1179
+ contract; unknown commands are not executable through this surface. Extend
1180
+ `agent_capabilities.py` deliberately, regenerate with
1181
+ `PYTHONPATH=. python scripts/export-agent-capabilities.py`, and update the Hermes
1182
+ contract and skills together. Tests fail if the Click surface and snapshot drift.
1183
+
1184
+ `knowledge-documents` uses the same Composio gateway as UIX, unlike the legacy
1185
+ `knowledge-bases` SDK collection. It supports paginated list, get, create against
1186
+ an existing authorized connection, rename, selected-content processing, delete
1187
+ (with `--yes`), and get-content. It never creates an OAuth connection or accepts
1188
+ an arbitrary endpoint, credential, tenant or local file path.
1189
+
1190
+ ### QA authoring and evidence
1191
+
1192
+ `qa enrich TEST_ID` calls the same asynchronous enrichment endpoint as UIX;
1193
+ `qa activity ACTIVITY_ID` reads its status. `qa magic-test --name NAME --prompt
1194
+ PROMPT` submits a real Magic Test batch with optional `--environment`, repeated
1195
+ `--test-data`/`--knowledge-base`/`--tag`, and `--count` (omitted = Auto).
1196
+ `qa generation ID` retrieves the batch; `qa logs DASH_ID --type agent|api|soql|sql`
1197
+ reads a bounded structured log page. Discover dash IDs with `test-runs get-expanded`.
1198
+ Credentials/tenant identity come from the authenticated profile, not model input.
1199
+ `tests-authoring manual` now accepts repeated `--knowledge-base` IDs for later enrichment.
1200
+ Suite schedules support `--is-active true|false` as well as legacy `--inactive`.
1201
+
1202
+ ### Composable record querying and editing
1203
+
1204
+ `records describe` exports reviewed resources/field types, available patch/copy
1205
+ fields and limits. `records query RESOURCE --query JSON` supports typed predicates
1206
+ (`all`/`any`, comparison, membership), sort/limit/offset, grouping and numeric
1207
+ aggregates. `duration_seconds` is derived from start/end timestamps; missing
1208
+ endpoints remain null. Partial scans report `complete:false` and never claim
1209
+ global totals or the latest N. Unknown fields/resources fail before HTTP calls.
1210
+
1211
+ `records patch RESOURCE ID --changes JSON [--expected-updated TIMESTAMP]` applies
1212
+ only declared fields (including rename and tags); ownership, credentials, delete
1213
+ flags and status transitions are excluded. `records copy RESOURCE ID --name NAME`
1214
+ copies only portable configuration and lists omitted fields. Neither command
1215
+ executes tests. Session identity comes from the authenticated profile; source
1216
+ ownership is verified before writes. Specialized lifecycle/reporting tools retain
1217
+ their own consent rules. The timestamp check is preflight, not atomic CAS.
1218
+
1219
+ Regenerate the committed discovery snapshot using
1220
+ `PYTHONPATH=. python scripts/export-record-contract.py`, then update Hermes' pin
1221
+ and its `src/tools/record-contract.json`. Contract tests reject drift.
1222
+
@@ -1141,3 +1141,52 @@ The TestZeus CLI uses GitHub Actions for automated releases to PyPI. To create a
1141
1141
  - Commit and create a git tag
1142
1142
  - Push changes and tags to GitHub
1143
1143
  3. The tag push will automatically trigger the GitHub Actions publish workflow
1144
+
1145
+ ### Reviewed platform-agent capabilities
1146
+
1147
+ `testzeus --format json capabilities list` returns the reviewed non-interactive
1148
+ agent surface with exact argument types and risk classes, without authentication
1149
+ or network access. Hermes consumes the committed `testzeus_cli/agent-capabilities.json`
1150
+ contract; unknown commands are not executable through this surface. Extend
1151
+ `agent_capabilities.py` deliberately, regenerate with
1152
+ `PYTHONPATH=. python scripts/export-agent-capabilities.py`, and update the Hermes
1153
+ contract and skills together. Tests fail if the Click surface and snapshot drift.
1154
+
1155
+ `knowledge-documents` uses the same Composio gateway as UIX, unlike the legacy
1156
+ `knowledge-bases` SDK collection. It supports paginated list, get, create against
1157
+ an existing authorized connection, rename, selected-content processing, delete
1158
+ (with `--yes`), and get-content. It never creates an OAuth connection or accepts
1159
+ an arbitrary endpoint, credential, tenant or local file path.
1160
+
1161
+ ### QA authoring and evidence
1162
+
1163
+ `qa enrich TEST_ID` calls the same asynchronous enrichment endpoint as UIX;
1164
+ `qa activity ACTIVITY_ID` reads its status. `qa magic-test --name NAME --prompt
1165
+ PROMPT` submits a real Magic Test batch with optional `--environment`, repeated
1166
+ `--test-data`/`--knowledge-base`/`--tag`, and `--count` (omitted = Auto).
1167
+ `qa generation ID` retrieves the batch; `qa logs DASH_ID --type agent|api|soql|sql`
1168
+ reads a bounded structured log page. Discover dash IDs with `test-runs get-expanded`.
1169
+ Credentials/tenant identity come from the authenticated profile, not model input.
1170
+ `tests-authoring manual` now accepts repeated `--knowledge-base` IDs for later enrichment.
1171
+ Suite schedules support `--is-active true|false` as well as legacy `--inactive`.
1172
+
1173
+ ### Composable record querying and editing
1174
+
1175
+ `records describe` exports reviewed resources/field types, available patch/copy
1176
+ fields and limits. `records query RESOURCE --query JSON` supports typed predicates
1177
+ (`all`/`any`, comparison, membership), sort/limit/offset, grouping and numeric
1178
+ aggregates. `duration_seconds` is derived from start/end timestamps; missing
1179
+ endpoints remain null. Partial scans report `complete:false` and never claim
1180
+ global totals or the latest N. Unknown fields/resources fail before HTTP calls.
1181
+
1182
+ `records patch RESOURCE ID --changes JSON [--expected-updated TIMESTAMP]` applies
1183
+ only declared fields (including rename and tags); ownership, credentials, delete
1184
+ flags and status transitions are excluded. `records copy RESOURCE ID --name NAME`
1185
+ copies only portable configuration and lists omitted fields. Neither command
1186
+ executes tests. Session identity comes from the authenticated profile; source
1187
+ ownership is verified before writes. Specialized lifecycle/reporting tools retain
1188
+ their own consent rules. The timestamp check is preflight, not atomic CAS.
1189
+
1190
+ Regenerate the committed discovery snapshot using
1191
+ `PYTHONPATH=. python scripts/export-record-contract.py`, then update Hermes' pin
1192
+ and its `src/tools/record-contract.json`. Contract tests reject drift.
@@ -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.31"
7
+ version = "0.0.33"
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.27,<0.1.0"
25
+ testzeus-sdk = ">=0.0.28,<0.1.0"
26
26
  pocketbase = "^0.15.0"
27
27
  toml = "^0.10.2"
28
28
  aiohttp = "^3.14.1"