config: document the whoami and conversation fields agents read
This commit is contained in:
+3
-2
@@ -20,7 +20,7 @@ prompt: |-
|
||||
|
||||
## Inspect the harness state
|
||||
|
||||
curl -s http://host.sausage/whoami shows the conversation and program that make the call.
|
||||
curl -s http://host.sausage/whoami returns {program, pid, conversations}. The first entry of conversations is your own conversation id.
|
||||
Read the live harness state with curl http://host.sausage/harness/...:
|
||||
- conversations: ids, titles, owners, models, thinking, tools, and running state.
|
||||
- conversations/ID/entries?after=N: conversation entries after entry N.
|
||||
@@ -29,7 +29,8 @@ prompt: |-
|
||||
- extensions: loaded extensions.
|
||||
- credential-requests: pending credential requests.
|
||||
Read /proc/processes for processes and /proc/extensions for extensions.
|
||||
Example: curl -s http://host.sausage/harness/conversations | jaq '.conversations[] | {id, title, model: .agent.model}'
|
||||
Each conversation has id, title, running, and agent with model {provider, modelId}, thinkingLevel, and tools.
|
||||
Example: curl -s http://host.sausage/harness/conversations | jaq '.conversations[] | {id, title, model: .agent.model, thinking: .agent.thinkingLevel}'
|
||||
roster:
|
||||
- name: coordinator
|
||||
description: Coordinates one feature for the standing agent
|
||||
|
||||
Reference in New Issue
Block a user