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.
Release files for optio-cursor 0.4.1
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.4.1.tar.gz | 130.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| optio_cursor-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 216.0 kB
Release files / optio_cursor-0.4.1.tar.gz
| Download URL | optio_cursor-0.4.1.tar.gz |
|---|---|
| Size | 130.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38da4f8e284b403020295cb95d6fd470df8457ea2d24082db8a4c635d8c6772e
|
|
BLAKE2b-256 checksum How to use checksums |
8f5976a568778e7d871ea999121bc3571760542b009c00b2730f0737265635ce
|
| 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.4.1-py3-none-any.whl
| Download URL | optio_cursor-0.4.1-py3-none-any.whl |
|---|---|
| Size | 85.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fd8d0bc47647c0e8d3a8806c0767b2ee39fc1d1a8b976409f0ca9fd7f30c526
|
|
BLAKE2b-256 checksum How to use checksums |
08003598998f4e6776073e49071525ad100a402f72b03555af0b74ec790712cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|