mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-16 17:50:45 +08:00
初始化:独立 oclaw 仓库首提交
- 在 oclaw/ 下重新初始化 Git 仓库 - 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等) - 提交当前工程代码与配置 Made-with: Cursor
This commit is contained in:
commit
ba3836f00f
579 changed files with 83112 additions and 0 deletions
29
openclaw_protocol_schemas/agent.json
Normal file
29
openclaw_protocol_schemas/agent.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "oclaw://schemas/agent.json",
|
||||
"title": "AgentParams",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["message", "idempotencyKey"],
|
||||
"properties": {
|
||||
"message": { "type": "string", "minLength": 1 },
|
||||
"agentId": { "type": "string", "minLength": 1 },
|
||||
"provider": { "type": "string", "minLength": 1 },
|
||||
"model": { "type": "string", "minLength": 1 },
|
||||
"to": { "type": "string", "minLength": 1 },
|
||||
"replyTo": { "type": "string", "minLength": 1 },
|
||||
"sessionId": { "type": "string", "minLength": 1 },
|
||||
"sessionKey": { "type": "string", "minLength": 1 },
|
||||
"thinking": { "type": "string" },
|
||||
"deliver": { "type": "boolean" },
|
||||
"attachments": { "type": "array", "items": {} },
|
||||
"channel": { "type": "string" },
|
||||
"timeout": { "type": "integer", "minimum": 0 },
|
||||
"extraSystemPrompt": { "type": "string" },
|
||||
"bootstrapContextMode": { "enum": ["full", "lightweight"] },
|
||||
"bootstrapContextRunKind": { "enum": ["default", "heartbeat", "cron"] },
|
||||
"idempotencyKey": { "type": "string", "minLength": 1 },
|
||||
"label": { "type": "string" }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue