mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 07:13:17 +08:00
- Add runtime/plan_agent_v2 package and shims; gateway/direct_loop/WS wiring - Admin chat: interaction mode and specialist only in user menu; session API stores memory_mode and execution_mode only - POST /admin/api/chat/user-mode mirrors plan_agent_version to AIA_EXPERT_PLAN_AGENT_V2_ENABLED (v2 to 1, v1 to 0) - Composer cleanup (hidden mode select, no reasoning toggle in meta bar); tests and _local/system.env.example Co-authored-by: Cursor <cursoragent@cursor.com>
47 lines
1.6 KiB
JSON
47 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "oclaw://schemas/chat.json",
|
|
"title": "ChatParams",
|
|
"$defs": {
|
|
"NonEmptyString": { "type": "string", "minLength": 1 },
|
|
"ChatSendParams": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["sessionKey", "message", "idempotencyKey"],
|
|
"properties": {
|
|
"sessionKey": { "$ref": "#/$defs/NonEmptyString" },
|
|
"message": { "type": "string" },
|
|
"thinking": { "type": "string" },
|
|
"interaction_mode": { "type": "string" },
|
|
"specialist": { "type": "string" },
|
|
"execution_mode": { "type": "string" },
|
|
"plan_agent_version": { "type": "string" },
|
|
"relay_share_envelope": { "type": "object" },
|
|
"acp_parent_run_id": { "type": "string" },
|
|
"acp_child_run_id": { "type": "string" },
|
|
"attachments": { "type": "array", "items": {} },
|
|
"timeoutMs": { "type": "integer", "minimum": 0 },
|
|
"idempotencyKey": { "$ref": "#/$defs/NonEmptyString" }
|
|
}
|
|
},
|
|
"ChatHistoryParams": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["sessionKey"],
|
|
"properties": {
|
|
"sessionKey": { "$ref": "#/$defs/NonEmptyString" },
|
|
"limit": { "type": "integer", "minimum": 1 },
|
|
"maxChars": { "type": "integer", "minimum": 1 }
|
|
}
|
|
},
|
|
"ChatAbortParams": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["sessionKey"],
|
|
"properties": {
|
|
"sessionKey": { "$ref": "#/$defs/NonEmptyString" },
|
|
"runId": { "type": "string", "minLength": 1 }
|
|
}
|
|
}
|
|
}
|
|
}
|