mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
Agents can run through native drivers or any ACP agent, speak ACP v1 or v2, and be installed from the ACP Registry. Tasks gain fork, in-place edit-and-rerun, steering and usage-limit handling where the agent supports them. - Native Claude Code (`claude` stream-json) and Codex (`codex app-server`) drivers, each served to the task machinery as an in-process ACP shim, using the newest install on PATH. - ACP v2 with v1 fallback, negotiated on initialize; per-agent capabilities (fork, rollback, steer) so the UI only shows supported actions; usage-limit errors put the task in a `limited` status with the reset time. - Settings › Tools › Agents lists Registry agents (featured first) to install, update and remove; installed agents update when a project opens. "More agents…" in the provider picker opens it. Registry index and downloads are HTTPS-only, release archives are checked against their sha256, and entries without one show "No checksum provided" and ask for confirmation before installing. Package names from the registry can't be passed as options to npm/uv. Claude-Session: https://claude.ai/code/session_01Dq6jQQn8ZhRfkkyj3PRutA
19 lines
13 KiB
JSON
19 lines
13 KiB
JSON
{"dir": "out", "msg": {"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": 2, "info": {"name": "OpenIDEA", "version": "0.0.0"}, "capabilities": {}, "clientCapabilities": {"fs": {"readTextFile": false, "writeTextFile": false}, "terminal": false, "subagents": {}}, "clientInfo": {"name": "OpenIDEA", "version": "0.0.0"}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "id": 1, "result": {"protocolVersion": 2, "info": {"name": "@agentclientprotocol/claude-agent-acp", "title": "Claude Agent", "version": "0.97.0"}, "capabilities": {"session": {"prompt": {"image": {}, "embeddedContext": {}}, "mcp": {"stdio": {}, "http": {}}, "delete": {}, "fork": {}, "additionalDirectories": {}, "systemPrompt": {"mode": {"override": {}}}}, "providers": {}, "_meta": {"claudeCode": {"promptQueueing": true}, "authStatus": {}}}, "authMethods": []}}}
|
|
{"dir": "out", "msg": {"jsonrpc": "2.0", "id": 2, "method": "session/new", "params": {"cwd": "/work/proj", "mcpServers": []}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "id": 2, "result": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "configOptions": [{"name": "Mode", "description": "Session permission mode", "category": "mode", "type": "select", "currentValue": "default", "options": [{"value": "default", "name": "Manual", "description": "Always ask before making changes"}, {"value": "acceptEdits", "name": "Accept edits", "description": "Automatically accept all file edits"}, {"value": "plan", "name": "Plan", "description": "Create a plan before making changes"}, {"value": "auto", "name": "Auto", "description": "Claude handles permission decisions"}, {"value": "bypassPermissions", "name": "Bypass permissions", "description": "Accepts all permissions"}], "configId": "mode"}, {"name": "Model", "description": "AI model to use", "category": "model", "type": "select", "currentValue": "opus", "options": [{"value": "default", "name": "Default (recommended)", "description": "Sonnet 5.5"}, {"value": "opus", "name": "Opus 5.5", "description": "For complex work and everyday tasks"}, {"value": "fable", "name": "Fable 5.1", "description": "For your toughest challenges"}, {"value": "sonnet", "name": "Sonnet 5.5", "description": "Most efficient for simpler tasks"}, {"value": "haiku", "name": "Haiku 5.5", "description": "Fastest for quick answers"}, {"value": "claude-haiku-4-5-20251001", "name": "Haiku 4.5", "description": "Fastest for quick answers"}, {"value": "claude-sonnet-5", "name": "Sonnet 5", "description": "Efficient for routine tasks"}, {"value": "claude-opus-5", "name": "Opus 5", "description": "Best for everyday, complex tasks"}, {"value": "claude-fable-5", "name": "Fable 5", "description": "Most capable for your hardest and longest-running tasks"}, {"value": "claude-opus-4-8", "name": "Opus 4.8", "description": "Best for everyday, complex tasks"}, {"value": "claude-opus-4-7", "name": "Opus 4.7", "description": "Best for everyday, complex tasks"}, {"value": "claude-opus-4-6", "name": "Opus 4.6", "description": "Best for everyday, complex tasks"}, {"value": "claude-sonnet-4-6", "name": "Sonnet 4.6", "description": "Efficient for routine tasks"}], "configId": "model"}, {"name": "Effort", "description": "Available effort levels for this model", "category": "thought_level", "type": "select", "currentValue": "medium", "options": [{"value": "default", "name": "Default"}, {"value": "low", "name": "Low"}, {"value": "medium", "name": "Medium"}, {"value": "high", "name": "High"}, {"value": "xhigh", "name": "Xhigh"}, {"value": "max", "name": "Max"}], "configId": "effort"}, {"name": "Fast mode", "description": "Faster responses on supported models", "category": "model_config", "type": "boolean", "currentValue": false, "configId": "fast"}, {"name": "Ultracode", "description": "Dynamic workflows on every task, at any effort level", "category": "model_config", "type": "boolean", "currentValue": false, "configId": "ultracode"}, {"name": "Agent", "description": "Main-thread agent persona", "type": "select", "currentValue": "default", "options": [{"value": "default", "name": "Default", "description": "Standard Claude Code agent"}, {"value": "code-simplifier:code-simplifier", "name": "code-simplifier:code-simplifier", "description": "Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise."}, {"value": "sentry-skills:code-simplifier", "name": "sentry-skills:code-simplifier", "description": "Agent from sentry-skills plugin"}, {"value": "sentry-skills:senpai", "name": "sentry-skills:senpai", "description": "Agent from sentry-skills plugin"}], "configId": "agent"}], "availableCommands": [{"name": "find-skills", "description": "Helps users discover and install agent skills when they ask questions like \"how do I do X\", \"find a skill for X\", \"is there a skill that can...\", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill. (user)"}, {"name": "hyperframes", "description": "Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs. (user)"}]}}}
|
|
{"dir": "out", "msg": {"jsonrpc": "2.0", "id": 3, "method": "session/set_config_option", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "configId": "model", "type": "id", "value": "haiku"}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "id": 3, "result": {"configOptions": [{"name": "Mode", "description": "Session permission mode", "category": "mode", "type": "select", "currentValue": "default", "options": [{"value": "default", "name": "Manual", "description": "Always ask before making changes"}, {"value": "acceptEdits", "name": "Accept edits", "description": "Automatically accept all file edits"}, {"value": "plan", "name": "Plan", "description": "Create a plan before making changes"}, {"value": "auto", "name": "Auto", "description": "Claude handles permission decisions"}, {"value": "bypassPermissions", "name": "Bypass permissions", "description": "Accepts all permissions"}], "configId": "mode"}, {"name": "Model", "description": "AI model to use", "category": "model", "type": "select", "currentValue": "haiku", "options": [{"value": "default", "name": "Default (recommended)", "description": "Sonnet 5.5"}, {"value": "opus", "name": "Opus 5.5", "description": "For complex work and everyday tasks"}, {"value": "fable", "name": "Fable 5.1", "description": "For your toughest challenges"}, {"value": "sonnet", "name": "Sonnet 5.5", "description": "Most efficient for simpler tasks"}, {"value": "haiku", "name": "Haiku 5.5", "description": "Fastest for quick answers"}, {"value": "claude-haiku-4-5-20251001", "name": "Haiku 4.5", "description": "Fastest for quick answers"}, {"value": "claude-sonnet-5", "name": "Sonnet 5", "description": "Efficient for routine tasks"}, {"value": "claude-opus-5", "name": "Opus 5", "description": "Best for everyday, complex tasks"}, {"value": "claude-fable-5", "name": "Fable 5", "description": "Most capable for your hardest and longest-running tasks"}, {"value": "claude-opus-4-8", "name": "Opus 4.8", "description": "Best for everyday, complex tasks"}, {"value": "claude-opus-4-7", "name": "Opus 4.7", "description": "Best for everyday, complex tasks"}, {"value": "claude-opus-4-6", "name": "Opus 4.6", "description": "Best for everyday, complex tasks"}, {"value": "claude-sonnet-4-6", "name": "Sonnet 4.6", "description": "Efficient for routine tasks"}], "configId": "model"}, {"name": "Effort", "description": "Available effort levels for this model", "category": "thought_level", "type": "select", "currentValue": "high", "options": [{"value": "default", "name": "Default"}, {"value": "low", "name": "Low"}, {"value": "medium", "name": "Medium"}, {"value": "high", "name": "High"}, {"value": "xhigh", "name": "Xhigh"}, {"value": "max", "name": "Max"}], "configId": "effort"}, {"name": "Ultracode", "description": "Dynamic workflows on every task, at any effort level", "category": "model_config", "type": "boolean", "currentValue": false, "configId": "ultracode"}, {"name": "Agent", "description": "Main-thread agent persona", "type": "select", "currentValue": "default", "options": [{"value": "default", "name": "Default", "description": "Standard Claude Code agent"}, {"value": "code-simplifier:code-simplifier", "name": "code-simplifier:code-simplifier", "description": "Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise."}, {"value": "sentry-skills:code-simplifier", "name": "sentry-skills:code-simplifier", "description": "Agent from sentry-skills plugin"}, {"value": "sentry-skills:senpai", "name": "sentry-skills:senpai", "description": "Agent from sentry-skills plugin"}], "configId": "agent"}]}}}
|
|
{"dir": "out", "msg": {"jsonrpc": "2.0", "id": 4, "method": "session/prompt", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "prompt": [{"type": "text", "text": "Count slowly from 1 to 200, one number per line."}]}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "user_message", "messageId": "10e7d710-21e8-4029-9b34-95767d0a52f7", "content": [{"text": "Count slowly from 1 to 200, one number per line.", "type": "text"}]}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "id": 4, "result": {"messageId": "10e7d710-21e8-4029-9b34-95767d0a52f7"}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "state_update", "state": "running"}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "available_commands_update", "availableCommands": [{"name": "find-skills", "description": "Helps users discover and install agent skills when they ask questions like \"how do I do X\", \"find a skill for X\", \"is there a skill that can...\", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill. (user)"}, {"name": "hyperframes", "description": "Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs. (user)"}]}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "session_info_update", "title": "Counting from 1 to 200", "updatedAt": "2026-10-28T12:56:16.800Z"}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "usage_update", "used": 27725, "size": 1000000, "_meta": {"_claude/model": "claude-haiku-5-5"}}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "available_commands_update", "availableCommands": [{"name": "find-skills", "description": "Helps users discover and install agent skills when they ask questions like \"how do I do X\", \"find a skill for X\", \"is there a skill that can...\", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill. (user)"}, {"name": "hyperframes", "description": "Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs. (user)"}]}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "agent_message_chunk", "content": {"type": "text", "text": "1"}, "messageId": "msg_011CgUfvCcMHuxPdrtcQhYir"}}}}
|
|
{"dir": "out", "msg": {"jsonrpc": "2.0", "method": "session/cancel", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca"}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "usage_update", "used": 27725, "size": 1000000, "cost": {"amount": 0.00012770000000000001, "currency": "USD"}, "_meta": {"_claude/origin": {"kind": "human"}, "_claude/model": "claude-haiku-5-5"}}}}}
|
|
{"dir": "in", "msg": {"jsonrpc": "2.0", "method": "session/update", "params": {"sessionId": "caf5db42-df04-40e3-bb8b-e270510e17ca", "update": {"sessionUpdate": "state_update", "state": "idle", "stopReason": "cancelled", "usage": {"inputTokens": 0, "outputTokens": 0, "cachedReadTokens": 0, "cachedWriteTokens": 0, "totalTokens": 0}, "_meta": {"quota": {"token_count": {"totalTokens": 0, "inputTokens": 0, "cachedInputTokens": 0, "cachedWriteTokens": 0, "outputTokens": 0, "reasoningOutputTokens": 0}, "model_usage": [{"model": "claude-haiku-5-5", "token_count": {"totalTokens": 1201, "inputTokens": 1182, "cachedInputTokens": 0, "cachedWriteTokens": 0, "outputTokens": 19, "reasoningOutputTokens": 0}}]}}}}}}
|