Repository navigation
Replies: 1 comment 1 reply
|
Not for Desktop in 0.2.1-rc.3, and master (
The supported entry point for API callers is a B=http://127.0.0.1:3080
curl -s -c jar.txt -o /dev/null "$B/connect?token=<launch-token>&interactions=none" # 302 + API cookie
rpc() { curl -s -b jar.txt -H 'content-type: application/json' \
-d "{\"type\":\"client-request\",\"rpcId\":\"$RANDOM\",\"method\":\"$1\",\"payload\":{\"args\":$2}}" "$B/api/$1"; }
rpc session/list '{"_request":{}}' # rows carry running + the inbox (queue) projection
rpc session/prompt '{"request":{"requestId":"req-1","sessionId":"session-…","mode":"queue","content":[{"type":"text","text":"follow-up"}]}}'
Desktop and the CLI share sessions under I ran the |
Uh oh!
There was an error while loading. Please reload this page.
Environment: macOS; DeepSeek Harness Desktop and dsh CLI 0.2.1-rc.3.
I need an external CLI/API client to connect to the same already-running Desktop Host and existing session, inspect its current state/queue, then submit a follow-up to that same session.
The requirements are to preserve the existing runtime, session, and workspace: no new session/runtime, no Desktop restart, and no UI automation.
Is this supported in 0.2.1-rc.3? If so, please point to the official commands/API and supported authorization or pairing flow for an external client. If not, is there a supported version or planned entry point?
I am not seeking cookie/token extraction or an authentication bypass. Thank you.
All reactions