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.2
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.2.tar.gz | 129.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| optio_cursor-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 212.0 kB
Release files / optio_cursor-0.4.2.tar.gz
| Download URL | optio_cursor-0.4.2.tar.gz |
|---|---|
| Size | 129.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84a822e881602bea13c7f22c14d35b2734560be9cd7e9c31b0b7b288d085c8cd
|
|
BLAKE2b-256 checksum How to use checksums |
9953f7dff724593cd2e19c9960793af82855e3f423bb86e7e4bad39702809bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / optio_cursor-0.4.2-py3-none-any.whl
| Download URL | optio_cursor-0.4.2-py3-none-any.whl |
|---|---|
| Size | 83.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10459a530d4d2e29b6c18c31d4baea115e9a115a38c22aac165e58c9e7ad13f4
|
|
BLAKE2b-256 checksum How to use checksums |
72472c70340a45cc0667a651b31559b2d6c05a5853c3706d5ddb28b8d026d7bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|