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.4.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.4.0.tar.gz | 125.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| optio_cursor-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 207.8 kB
Release files / optio_cursor-0.4.0.tar.gz
| Download URL | optio_cursor-0.4.0.tar.gz |
|---|---|
| Size | 125.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77e5cbad2cb6e2ff3339be3fe4ff9ed07e24e086c835b93523031a73eb74eb22
|
|
BLAKE2b-256 checksum How to use checksums |
43b7fb3708d1c063f2e09d621db14d755d6f3d5ef809115b038fcad28686d6f9
|
| 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.0-py3-none-any.whl
| Download URL | optio_cursor-0.4.0-py3-none-any.whl |
|---|---|
| Size | 82.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2488f5dcb0bd986823cbe60f4dbcfccf133b40ccf9c0053dd84e2e3e8324cdcf
|
|
BLAKE2b-256 checksum How to use checksums |
7fc38363ff6f3becd61ca5d0402e3e09380bee2a314ff87c7c6bed89380b432d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|