optio-cursor
Run Cursor CLI (cursor-agent) as an optio task — either as a local
subprocess or on a remote host over SSH — with the interactive TUI
embedded in the optio dashboard via an iframe widget served by ttyd.
Install
pip install optio-cursor
Requires Python 3.11+. Pulls optio-core, optio-host, optio-agents,
asyncssh, and aiohttp.
What it does
Cursor CLI is a near-twin of Grok Build / Claude Code. optio-cursor
adapts the optio-grok machinery: it launches cursor-agent inside a
detached tmux session, serves the TUI over ttyd, and coordinates with
the host harness through the optio.log keyword channel (STATUS /
DELIVERABLE / DONE / ERROR). The agent reads its task from an
AGENTS.md file planted in the workdir.
Isolation
Each task runs under an isolated HOME (<workdir>/home) with the XDG
base dirs (XDG_CONFIG_HOME, XDG_CACHE_HOME, XDG_DATA_HOME) pinned
under it, so cursor's ~/.cursor and ~/.cache state never touches the
operator's real home. Permission rules are config-planted (cursor has no
--allow/--deny argv): they go into <home>/.cursor/cli-config.json.
At login cursor spawns xdg-open for the auth URL; the redirect
browser-shim (front of PATH) captures it and surfaces the URL to the
operator on a BROWSER: line instead of a browser popping on the host.
Status
Stage 0 (MVP): iframe/ttyd mode, local host. Resume, seeds, conversation mode, and filesystem isolation arrive in later stages.
Metadata
Release files for optio-cursor 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| optio_cursor-0.3.0.tar.gz | 117.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| optio_cursor-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 194.8 kB
Release files / optio_cursor-0.3.0.tar.gz
| Download URL | optio_cursor-0.3.0.tar.gz |
|---|---|
| Size | 117.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c3209378a26c4890cb17e825cc11ba96d5d30d65da95da054b7177c8842fba4
|
|
BLAKE2b-256 checksum How to use checksums |
515b7cbcdb0964357a78671f954dd140e1d9236b5772d3503af8706b4cc7de59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / optio_cursor-0.3.0-py3-none-any.whl
| Download URL | optio_cursor-0.3.0-py3-none-any.whl |
|---|---|
| Size | 77.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a74089156578265f36658c8ed531716937c52f02abc0bc6fd933cd90b89fefc9
|
|
BLAKE2b-256 checksum How to use checksums |
298828d74b6af2fc65a74eb939ea024d35f15d667ee61a14731e4ff7c1d069ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|