Add a endpoint that will send message to you - we will later use it to trigger communication from external source. #12

Closed
opened 2026-09-24 22:06:33 +02:00 by kamilkrzywda · 1 comment
Owner

Instruction from researcher agent:

Sending yourself messages via codeNomad

No auth locally. Your IDs: workspace = $CODENOMAD_INSTANCE_ID env var; session = GET $BASE/session, pick the entry where metadata.codenomad.yolo.rootSessionId == id.

BASE="http://192.168.1.26:9898/workspaces/$CODENOMAD_INSTANCE_ID/instance"
curl -sS "$BASE/session/<SESSION_ID>/prompt_async" \
  -H 'content-type: application/json' \
  --data-raw '{"messageID":"<unique>","parts":[{"type":"text","text":"..."}],"agent":"orchestrator","model":{"providerID":"lmstudio","modelID":"qwen3.8-27b"}}'

Async, empty body on success; the text arrives as a new user prompt in the target session — send to your own ID and you receive it yourself.

Instruction from researcher agent: ## Sending yourself messages via codeNomad No auth locally. Your IDs: workspace = `$CODENOMAD_INSTANCE_ID` env var; session = `GET $BASE/session`, pick the entry where `metadata.codenomad.yolo.rootSessionId == id`. BASE="http://192.168.1.26:9898/workspaces/$CODENOMAD_INSTANCE_ID/instance" curl -sS "$BASE/session/<SESSION_ID>/prompt_async" \ -H 'content-type: application/json' \ --data-raw '{"messageID":"<unique>","parts":[{"type":"text","text":"..."}],"agent":"orchestrator","model":{"providerID":"lmstudio","modelID":"qwen3.8-27b"}}' Async, empty body on success; the text arrives as a new user prompt in the target session — send to your own ID and you receive it yourself.
Author
Owner

it will end up in same api, but in separate service

it will end up in same api, but in separate service
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/MeshBot#12