ap-client 0.7.0.dev6__tar.gz → 0.7.0.dev8__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.dev6 → ap_client-0.7.0.dev8}/PKG-INFO +1 -1
  2. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/cli.py +12 -12
  3. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/pyproject.toml +1 -1
  4. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/__init__.py +0 -0
  5. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/akpool_commands.py +0 -0
  6. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/api.py +0 -0
  7. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/config.py +0 -0
  8. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/dataset_commands.py +0 -0
  9. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/dataset_name.py +0 -0
  10. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/dataset_register.py +0 -0
  11. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/dfs_commands.py +0 -0
  12. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/exporter.py +0 -0
  13. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/fs_commands.py +0 -0
  14. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/fs_storage.py +0 -0
  15. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/fs_transfer.py +0 -0
  16. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/instance_commands.py +0 -0
  17. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/instance_options.py +0 -0
  18. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/irepo_sdk.py +0 -0
  19. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/managed_ak.py +0 -0
  20. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/manifest_view.py +0 -0
  21. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/ossutil_hash.py +0 -0
  22. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/ossutil_io.py +0 -0
  23. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/profile_commands.py +0 -0
  24. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/repo_read_guard.py +0 -0
  25. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/share_api.py +0 -0
  26. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/split_publish.py +0 -0
  27. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/tbb.py +0 -0
  28. {ap_client-0.7.0.dev6 → ap_client-0.7.0.dev8}/ap_client/waiter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: ap-client
3
- Version: 0.7.0.dev6
3
+ Version: 0.7.0.dev8
4
4
  Summary: Agent Platform API Client & CLI
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: irepo-artifact==0.2.4
@@ -3238,13 +3238,19 @@ def job_create(
3238
3238
 
3239
3239
  For agents:
3240
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.
3241
+ Before submitting, you must check all five metadata fields against current catalogs
3242
+ and task metadata: benchmark, target model, job purpose, training stage, and teacher direction.
3243
+ Optional flags do not mean these checks may be skipped.
3244
+ Verify applicable Profile and Group values: ap profile get ID --format json
3245
+ (check the version); ap group get ID --format json.
3246
+ Job tags do not overwrite existing Group metadata.
3247
+ Free-form tags and system defaults do not establish a verified value.
3248
+ For Benchmark, prefer the registered source_id; retain valid inherited values.
3245
3249
  Do not infer target model from serving/Judge models or training stage from evaluation.
3246
- If task metadata does not determine a value, leave that field unset.
3247
- Do not guess or ask the user just to complete labels.
3250
+ After checking, pass reliably resolved values; leave only unresolved fields unset.
3251
+ Do not guess or ask the user just to fill labels.
3252
+ In the submission summary, list each of the five fields with its value and source,
3253
+ or why it remains unresolved.
3248
3254
  All five options remain optional; existing validation still applies.
3249
3255
 
3250
3256
  Model configuration:
@@ -3281,12 +3287,6 @@ def job_create(
3281
3287
  # Apply per-instance resource settings from a Resource Profile
3282
3288
  ap job create claw-eval-task --dataset claw-eval/v1 --resource-profile rp-123
3283
3289
 
3284
- Note: benchmark+ckpt metadata (--benchmark/--checkpoint-*/--experiment) on a
3285
- standalone single job needs no client-side group handling — the server
3286
- auto-creates a Group (auto_created_benchmark_group) to persist the
3287
- Group-level fields. Generating a group_id client-side would break
3288
- idempotent retries: the server rejects a same idempotency_key with a
3289
- different requested group_id (409 idempotency_conflict).
3290
3290
  """
3291
3291
  if transparency is not None and transparency not in {"whitebox", "blackbox"}:
3292
3292
  raise typer.BadParameter("Choose whitebox or blackbox", param_hint="--transparency")
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ap-client"
7
- version = "0.7.0.dev6"
7
+ version = "0.7.0.dev8"
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"