ap-client 0.7.0.dev4__tar.gz → 0.7.0.dev5__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 (28) hide show
  1. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/PKG-INFO +2 -2
  2. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/cli.py +15 -5
  3. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/pyproject.toml +2 -2
  4. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/__init__.py +0 -0
  5. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/akpool_commands.py +0 -0
  6. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/api.py +0 -0
  7. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/config.py +0 -0
  8. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/dataset_commands.py +0 -0
  9. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/dataset_name.py +0 -0
  10. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/dataset_register.py +0 -0
  11. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/dfs_commands.py +0 -0
  12. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/exporter.py +0 -0
  13. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/fs_commands.py +0 -0
  14. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/fs_storage.py +0 -0
  15. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/fs_transfer.py +0 -0
  16. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/instance_commands.py +0 -0
  17. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/instance_options.py +0 -0
  18. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/irepo_sdk.py +0 -0
  19. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/managed_ak.py +0 -0
  20. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/manifest_view.py +0 -0
  21. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/ossutil_hash.py +0 -0
  22. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/ossutil_io.py +0 -0
  23. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/profile_commands.py +0 -0
  24. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/repo_read_guard.py +0 -0
  25. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/share_api.py +0 -0
  26. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/split_publish.py +0 -0
  27. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/tbb.py +0 -0
  28. {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev5}/ap_client/waiter.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: ap-client
3
- Version: 0.7.0.dev4
3
+ Version: 0.7.0.dev5
4
4
  Summary: Agent Platform API Client & CLI
5
5
  Requires-Python: >=3.10
6
- Requires-Dist: irepo-artifact==0.2.2
6
+ Requires-Dist: irepo-artifact==0.2.4
7
7
  Requires-Dist: pyyaml>=6.0
8
8
  Requires-Dist: requests>=2.28.0
9
9
  Requires-Dist: rich>=13.0.0
@@ -3003,22 +3003,22 @@ def job_create(
3003
3003
  meta_model: Optional[str] = typer.Option(
3004
3004
  None,
3005
3005
  "--meta-model",
3006
- help="Meta model tag; omit to leave unset",
3006
+ help="Target model or training project this job serves; not the called model or Judge. Values: ap meta-tag get meta-model --format json",
3007
3007
  ),
3008
3008
  meta_job_type: Optional[str] = typer.Option(
3009
3009
  None,
3010
3010
  "--meta-job-type",
3011
- help="Meta job type tag: Eval-Eval (default) or Others",
3011
+ help="Business purpose of this job. Values: ap meta-tag get meta-job-type --format json",
3012
3012
  ),
3013
3013
  meta_teacher_direction: Optional[str] = typer.Option(
3014
3014
  None,
3015
3015
  "--meta-teacher-direction",
3016
- help="Meta teacher direction tag; omit to derive from dataset_series; options: ap meta-teacher-direction list",
3016
+ help="Teacher direction this job serves; verify any dataset-derived value. Values: ap meta-tag get meta-teacher-direction --format json",
3017
3017
  ),
3018
3018
  meta_train_stage: Optional[str] = typer.Option(
3019
3019
  None,
3020
3020
  "--meta-train-stage",
3021
- help="Meta train stage tag; omit to derive from dataset run_type; options: ap meta-train-stage list",
3021
+ help="Training stage this job serves; verify any dataset-derived value. Values: ap meta-tag get meta-train-stage --format json",
3022
3022
  ),
3023
3023
  overrides: Optional[str] = typer.Option(None, "--overrides", help="Override config (JSON)"),
3024
3024
  concurrency: Optional[int] = typer.Option(
@@ -3190,7 +3190,7 @@ def job_create(
3190
3190
  benchmark: Optional[str] = typer.Option(
3191
3191
  None,
3192
3192
  "--benchmark",
3193
- help="Benchmark name from the AP registry (see 'ap benchmark list')",
3193
+ help="Prefer the registered benchmark source ID for this run; name is also accepted. Find IDs: ap benchmark list --format json; inspect by name: ap benchmark get NAME --format json",
3194
3194
  ),
3195
3195
  checkpoint_id: Optional[str] = typer.Option(
3196
3196
  None,
@@ -3236,6 +3236,16 @@ def job_create(
3236
3236
  ):
3237
3237
  """Submit a job.
3238
3238
 
3239
+ For agents:
3240
+ \b
3241
+ Before submitting, resolve benchmark, target model, job purpose,
3242
+ training stage, and teacher direction using live catalogs and task context.
3243
+ Verify applicable inherited values: ap profile get ID --version N --format json;
3244
+ ap group get ID --format json. Job tags do not overwrite existing Group metadata.
3245
+ Do not infer target model from serving/Judge models or training stage from evaluation.
3246
+ Ask the user for missing or conflicting business context before choosing values.
3247
+ All five options remain optional; existing validation still applies.
3248
+
3239
3249
  Model configuration:
3240
3250
  Supply template parameters through --params/-p; select a managed credential with --ak-id.
3241
3251
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ap-client"
7
- version = "0.7.0.dev4"
7
+ version = "0.7.0.dev5"
8
8
  description = "Agent Platform API Client & CLI"
9
9
  readme = { text = "A lightweight Python SDK and command line interface for Agent Platform. It provides helpers for configuring API access and managing templates, datasets, jobs, and groups.", content-type = "text/markdown" }
10
10
  requires-python = ">=3.10"
@@ -14,7 +14,7 @@ dependencies = [
14
14
  "rich>=13.0.0",
15
15
  "PyYAML>=6.0",
16
16
  "websockets>=13.0",
17
- "irepo-artifact==0.2.2",
17
+ "irepo-artifact==0.2.4",
18
18
  ]
19
19
 
20
20
  [project.optional-dependencies]