Skip to main content

adaptorch-cli

Run/evidence JSON may include the SDK's safe, versioned verification_diagnostics. Project reports remain untrusted observations. Invalid optional metadata is omitted by the SDK, including in CLI JSON; it does not turn a valid run response into a CLI error. Existing failed/cancelled/inconclusive exits stay 8/9/10, and a stopped wait still exits 10. PDF tools are not global CLI prerequisites.

Independent AdaptOrch SaaS CLI. Installs the adaptorchctl command and uses adaptorch-client; it does not invoke adaptorch or adaptorch-mcp.

Log in once and every command picks the credential up:

adaptorchctl auth login      # prompts for the key, verifies it, stores it at
                             # ~/.config/adaptorch/config.json (mode 0600)
adaptorchctl auth status     # shows credential_source: env | config | none
adaptorchctl auth logout     # removes the stored key

ADAPTORCH_API_KEY still works and always wins over the stored key, so CI keeps injecting secrets via the environment. config set provider.{name,model, api_key} persists BYOK wiring for run submit; the env vars ADAPTORCH_PROVIDER, ADAPTORCH_PROVIDER_MODEL, and ADAPTORCH_PROVIDER_API_KEY override the stored values. Provider credentials become X-Provider, X-Provider-Model, and X-Provider-Key only on run submit; reads and cancellation never receive the provider key. ADAPTORCH_API_KEY remains the separate tenant key.

Install the current adaptorch-client and adaptorch-cli source packages together. A git push does not replace a previously published PyPI version.

See ../../docs/adaptorchctl-usage.ko.md for usage.

Bounded wait exit codes

adaptorchctl run wait RUN_ID emits the last observation as JSON. A terminal SUCCEEDED exits 0, FAILED exits 8, and CANCELLED exits 9. These codes describe run lifecycle, not result correctness or evidence verification.

A deadline, poll_limit, unsupported_status, or unrecognized stop reason exits 10, even if the last observation looks terminal. Missing or unsupported terminal observations also exit 10. This means the observation is inconclusive, not that the server-side run failed. Inspect reason and retain the JSON; continue with the same run ID when appropriate. Waiting never resubmits or cancels a run.

Automation compatibility: run wait previously returned 0 for these observations. Scripts using set -e must now handle nonzero exits. run get keeps its existing exit-code behavior; submit and cancel still report command success separately.

License

Proprietary — Copyright ClassicMate. All rights reserved. See LICENSE.

Metadata

Release files for adaptorch-cli 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adaptorch-cli 0.1.3
File Size Uploaded
adaptorch_cli-0.1.3.tar.gz 19.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adaptorch-cli 0.1.3
File Interpreter ABI Platform
adaptorch_cli-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 32.1 kB

Release files / adaptorch_cli-0.1.3.tar.gz

Download URL adaptorch_cli-0.1.3.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c612998a47731d4bf600cc0d51f81bbbd3d309347b56b8c68592106a5d3d2233
BLAKE2b-256 checksum
How to use checksums
c21d045c0e5eb17b97b804266f9d14eadc4eb028ee768b0a38cd2fcb12792e15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / adaptorch_cli-0.1.3-py3-none-any.whl

Download URL adaptorch_cli-0.1.3-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b90402cb9be7f40aaf4d0fb85ffc8f44a86907cfb1e3a23deea6d6fb3670c70
BLAKE2b-256 checksum
How to use checksums
1cdb6df397cb36069fb18bb7b032de318da50861ff9960a3f62435eb85239516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page