Metadata-Version: 2.4
Name: utopic
Version: 0.2.0
Summary: Sign in to Utopic and manage inference API keys
Project-URL: Homepage, https://utopic.company
Project-URL: Source, https://github.com/adavyas/utopic-package-manager
Author: Adavya Sharma
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: httpx<1,>=0.28.1
Requires-Dist: pydantic<3,>=2.12
Description-Content-Type: text/plain

Utopic CLI

Sign in with Google and manage your Utopic inference API keys.
Requires Python 3.12 or newer. The client uses HTTPS; it runs no model or server.

After publication to PyPI:
  uv tool install 'utopic>=0.2.0'
  utopic login
  utopic keys create
  utopic keys list
  utopic keys revoke <key-id>
  uv tool upgrade utopic

If uv reports that its executable directory is not on PATH:
  uv tool update-shell

Alternatively, use pip within an activated virtual environment:
  python -m pip install --upgrade 'utopic>=0.2.0'

For an unpublished build, pass the wheel filename to either installer:
  uv tool install /path/to/utopic-0.2.0-py3-none-any.whl
  python -m pip install /path/to/utopic-0.2.0-py3-none-any.whl

Hosted login opens Google directly, prints a verification code, and polls the
gateway over HTTPS. Authorize only when the browser code matches the terminal.
Use utopic login --no-browser to print the link without opening a browser.
No localhost callback or Google client secret is needed on the user's machine.

The gateway defaults to https://utopicrt-gateway.fly.dev for compatibility with
existing sessions. Use utopic --gateway https://api.utopic.company login for the
custom domain. Credentials are isolated per gateway origin.

The existing ~/.local/state/utopic-mcp location is retained only for credential
compatibility. This distribution includes no MCP server, dependencies or commands.
--state-dir overrides the directory. On macOS and Linux, credential files are
owner-only. Windows credential storage has not been qualified.

keys create prints the secret once to stdout; save it privately. Never paste it
into support logs. Keys list emits metadata, not secrets. Creation is never
automatically retried; after a connection failure, inspect keys list first.

Run utopic --help, utopic keys --help, or utopic --version for usage and version.
python -m utopic_cli invokes the same interface.

When migrating an old checkout launcher, move that executable to a backup before
installing the tool in the same location. Preserve the private credential folder.

Migration from utopic 0.1.x

Version 0.2.0 replaces the native-runtime package manager with this API-only CLI.
The old setup, run, models, chat, bridge, server, MCP and ACP commands are removed.
Existing model downloads are not removed. Keep a separate environment pinned to
utopic==0.1.7 if you still need the old runtime commands. This release requires
Python 3.12+, so choose that interpreter explicitly when upgrading an older tool:
  uv tool install --python 3.12 --upgrade 'utopic>=0.2.0'

The published package is utopic, maintained by adavyas. The Python import namespace
is utopic_cli. An existing Google session from the API CLI is reused when the
gateway origin and private state directory are unchanged.
