- Мульти-провайдер: PAPAYU_LLM_PROVIDERS — сбор планов от нескольких ИИ (Claude, OpenAI), агрегация - Тренды дизайна и иконок: вкладка в модалке, поиск по безопасным доменам (Tavily include_domains) - Snyk Code: PAPAYU_SNYK_SYNC, REST API issues → snyk_findings в agent-sync - Documatic: architecture_summary из .papa-yu/architecture.md в agent-sync - Личная автоматизация: capability personal-automation (терминал git/npm/cargo, открытие URL) - agent_sync расширен: snyk_findings, architecture_summary; analyze_project_cmd и run_batch пишут sync - Документация: SNYK_AND_DOCUMATIC_SYNC.md, SECURITY_AND_PERSONAL_AUTOMATION.md, обновлён CLAUDE_AND_AGENT_SYNC Co-authored-by: Cursor <cursoragent@cursor.com>
78 lines
2.3 KiB
JSON
78 lines
2.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"x_schema_version": 1,
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": { "$ref": "#/$defs/action" },
|
|
"minItems": 0
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"mode": { "type": "string", "enum": ["fix-plan", "apply"] },
|
|
"actions": {
|
|
"type": "array",
|
|
"items": { "$ref": "#/$defs/action" }
|
|
},
|
|
"proposed_changes": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"actions": {
|
|
"type": "array",
|
|
"items": { "$ref": "#/$defs/action" }
|
|
}
|
|
}
|
|
},
|
|
"summary": { "type": "string" },
|
|
"questions": { "type": "array", "items": { "type": "string" } },
|
|
"context_requests": {
|
|
"type": "array",
|
|
"items": { "$ref": "#/$defs/context_request" }
|
|
},
|
|
"plan": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": { "step": { "type": "string" }, "details": { "type": "string" } }
|
|
}
|
|
},
|
|
"memory_patch": { "type": "object", "additionalProperties": true },
|
|
"risks": { "type": "array", "items": { "type": "string" } }
|
|
}
|
|
}
|
|
],
|
|
"$defs": {
|
|
"action": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["kind", "path"],
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": ["CREATE_FILE", "CREATE_DIR", "UPDATE_FILE", "DELETE_FILE", "DELETE_DIR"]
|
|
},
|
|
"path": { "type": "string" },
|
|
"content": { "type": "string" }
|
|
}
|
|
},
|
|
"context_request": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["type"],
|
|
"properties": {
|
|
"type": { "type": "string", "enum": ["read_file", "search", "logs", "env"] },
|
|
"path": { "type": "string" },
|
|
"start_line": { "type": "integer", "minimum": 1 },
|
|
"end_line": { "type": "integer", "minimum": 1 },
|
|
"query": { "type": "string" },
|
|
"glob": { "type": "string" },
|
|
"source": { "type": "string" },
|
|
"last_n": { "type": "integer", "minimum": 1, "maximum": 5000 }
|
|
}
|
|
}
|
|
}
|
|
}
|