ap-client 0.7.0.dev9__tar.gz → 0.7.0.dev11__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.dev9 → ap_client-0.7.0.dev11}/PKG-INFO +1 -1
  2. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/cli.py +20 -29
  3. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/pyproject.toml +1 -1
  4. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/__init__.py +0 -0
  5. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/akpool_commands.py +0 -0
  6. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/api.py +0 -0
  7. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/config.py +0 -0
  8. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dataset_commands.py +0 -0
  9. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dataset_name.py +0 -0
  10. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dataset_register.py +0 -0
  11. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/dfs_commands.py +0 -0
  12. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/exporter.py +0 -0
  13. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/fs_commands.py +0 -0
  14. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/fs_storage.py +0 -0
  15. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/fs_transfer.py +0 -0
  16. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/instance_commands.py +0 -0
  17. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/instance_options.py +0 -0
  18. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/irepo_sdk.py +0 -0
  19. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/managed_ak.py +0 -0
  20. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/manifest_view.py +0 -0
  21. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/ossutil_hash.py +0 -0
  22. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/ossutil_io.py +0 -0
  23. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/profile_commands.py +0 -0
  24. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/repo_read_guard.py +0 -0
  25. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/share_api.py +0 -0
  26. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/split_publish.py +0 -0
  27. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/ap_client/tbb.py +0 -0
  28. {ap_client-0.7.0.dev9 → ap_client-0.7.0.dev11}/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.dev9
3
+ Version: 0.7.0.dev11
4
4
  Summary: Agent Platform API Client & CLI
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: irepo-artifact==0.2.4
@@ -3250,35 +3250,26 @@ def job_create(
3250
3250
  Supply template parameters through --params/-p; select a managed credential with --ak-id.
3251
3251
 
3252
3252
  Examples:
3253
- # Single job - full parameters
3254
- ap job create claw-eval-task -p '{"task_id":"T02_email_triage","model":"qwen-max"}'
3255
-
3256
- # Single job - instance_id + shared params
3257
- ap job create claw-eval-task -i T02_email_triage -p '{"model":"qwen-max"}'
3258
-
3259
- # Batch jobs - multiple instance_ids + shared params
3260
- ap job create claw-eval-task -i T02_email_triage,T03zh_calendar_scheduling,T04_calendar_scheduling -p '{"model":"qwen-max"}'
3261
-
3262
- # Batch jobs - dataset + shared params
3263
- ap job create claw-eval-task --dataset claw-eval/claw-eval/v1@0 -p '{"model":"qwen-max"}'
3264
-
3265
- # Batch jobs - dataset subset with exclusions
3266
- ap job create claw-eval-task --dataset claw-eval/claw-eval/v1@0 --range 0,10,2 --exclude-instance-ids T03zh_calendar_scheduling
3267
-
3268
- # Batch jobs from a params list(inline JSON) with shared base params (-p merged into each item)
3269
- ap job create claw-eval-task --params-list '[{"task_id":"T02_email_triage"},{"task_id":"T03zh_calendar_scheduling"}]' -p '{"model":"qwen-max"}'
3270
-
3271
- # Batch jobs from a params list file (also supports -p for shared base params)
3272
- ap job create claw-eval-task --params-list params.json -p '{"model":"qwen-max"}'
3273
-
3274
- # Debug mode - keep pod alive for interactive debugging (Pod Login)
3275
- ap job create stress-test -p '{"duration":60}' --debug
3276
-
3277
- # Debug mode with custom keep-alive duration
3278
- ap job create stress-test -p '{"duration":60}' --debug --debug-keep-alive-seconds 7200
3279
-
3280
- # Apply per-instance resource settings from a Resource Profile
3281
- ap job create claw-eval-task --dataset claw-eval/v1 --resource-profile rp-123
3253
+ Use catalog/context-selected values for the metadata variables below.
3254
+
3255
+ \b
3256
+ # Profile submission (PROFILE_REF is ID:vN)
3257
+ ap job create --profile "$PROFILE_REF" -i "$INSTANCE_ID" \\
3258
+ --benchmark "$BENCHMARK_ID" \\
3259
+ --meta-model "$META_MODEL" \\
3260
+ --meta-job-type "$META_JOB_TYPE" \\
3261
+ --meta-train-stage "$META_TRAIN_STAGE" \\
3262
+ --meta-teacher-direction "$META_TEACHER_DIRECTION"
3263
+
3264
+ \b
3265
+ # Batch jobs from a Dataset (first 3 instances)
3266
+ ap job create claw-eval-task --dataset "$DATASET_PATH" --range 0,3 \\
3267
+ -p '{"model":"qwen-max"}' \\
3268
+ --benchmark "$BENCHMARK_ID" \\
3269
+ --meta-model "$META_MODEL" \\
3270
+ --meta-job-type "$META_JOB_TYPE" \\
3271
+ --meta-train-stage "$META_TRAIN_STAGE" \\
3272
+ --meta-teacher-direction "$META_TEACHER_DIRECTION"
3282
3273
 
3283
3274
  """
3284
3275
  if transparency is not None and transparency not in {"whitebox", "blackbox"}:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ap-client"
7
- version = "0.7.0.dev9"
7
+ version = "0.7.0.dev11"
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"