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.

Evidence navigation

adaptorchctl navigate --question "How is public news reflected in prices?" \
  --evidence-pack pack.json [--algorithm graph_v5|graph_v4]

pack.json is a JSON array of {source_id, page, chunk, evidence_text} objects, or an object with an evidence_pack field (- reads stdin). The command is read-only: no model call, no quota, nothing stored.

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.4

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.4
File Size Uploaded Provenance
adaptorch_cli-0.1.4.tar.gz 20.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 33.7 kB

Release files / adaptorch_cli-0.1.4.tar.gz

Download URL adaptorch_cli-0.1.4.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b94807053749b4d724f8ff0cc83c73d1a6e15d854ea45a7173ace7d3fe12c22c
BLAKE2b-256 checksum
How to use checksums
aef7415516835424807332fa3ef48d5509d49c6766096bdbb52b2664948e8233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-any.whl

Download URL adaptorch_cli-0.1.4-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9567522aa8c7be08bd2287e31ddb5930f8dcdabd96bfb9fc2d3465f18c7b3837
BLAKE2b-256 checksum
How to use checksums
9ae1025614e43c20c5d8d633442bc29300effb5f1b72101f9905e33adbc44d9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for adaptorch-cli 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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