Files
IdeaSDK/examples/cline-ai-plugin/idea-plugin.json
2026-11-19 16:30:49 +01:00

64 lines
1.7 KiB
JSON

{
"ideaPluginManifestVersion": 1,
"id": "idea.cline-demo",
"displayName": "Cline AI",
"publisher": "IdeA Examples",
"version": "0.1.0",
"description": "ClineCore over the public IdeA agent-session v1 protocol.",
"main": "src/plugin.mjs",
"engines": {
"idea": ">=0.1.0"
},
"trustLevel": "full",
"contributes": {
"agentAdapters": [
{
"id": "cline-sdk",
"displayName": "ClineCore session",
"protocol": "idea-agent-session",
"protocolVersion": 1,
"command": "bin/idea-cline-adapter.mjs",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"model": {
"type": "string",
"title": "Model"
},
"endpoint": {
"type": "string",
"title": "OpenAI-compatible endpoint",
"format": "uri"
},
"apiKey": {
"type": "string",
"title": "API key (if required by the endpoint)",
"format": "secret"
}
},
"required": [
"model",
"endpoint"
]
}
}
],
"aiProfiles": [
{
"id": "cline-openai",
"adapterId": "cline-sdk",
"displayName": "Cline coding agent",
"profileType": "codingAgent",
"providerLabel": "Cline SDK / OpenAI-compatible",
"modelField": "model",
"description": "ClineCore with host-owned tool callbacks; native file, shell, web and MCP tools disabled.",
"configDefaults": {
"model": "gpt-4.1-mini",
"endpoint": "https://api.openai.com/v1"
}
}
]
}
}