mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-24 04:01:10 -04:00
3c4da51263
Two issues fixed: 1. SSE event format mismatch (app.ts): Server was sending event type in SSE event: field and only properties in data: field. SDK only yields data: field content, so run command couldn't determine event types. Fix: Include both type and properties in data field. 2. Agent validation in attach mode (run.ts): When using --attach, code tried to validate agents locally via Agent.get() which requires Instance context. But attach mode doesn't call bootstrap() so no context exists, causing "No context found for instance" error. Fix: Skip local agent validation in attach mode (server validates), only validate locally in bootstrap mode where Instance context exists. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
agent-core
Agent-core is a CLI + daemon that powers the Personas system (Zee, Stanley, Johny).
- Version: v0.1.0-20260114
- Prebuilt targets: Linux x64, macOS arm64 (Apple Silicon)
- Other platforms: build from source
Install
npm install -g @adolago/agent-core@0.1.0-20260114
Configure
Agent-core reads JSONC config from ~/.config/agent-core/agent-core.jsonc or .agent-core/agent-core.jsonc.
Environment variables are used only for secrets.
Minimal memory configuration:
{
"memory": {
"qdrant": {
"url": "http://localhost:6333",
"collection": "personas_memory"
},
"embedding": {
"profile": "nebius/qwen3-embedding-8b",
"dimensions": 4096,
"apiKey": "{env:NEBIUS_API_KEY}"
}
}
}
Optional: Google Antigravity OAuth (plugin-based):
agent-core plugin install opencode-google-auth
agent-core auth login
Run
agent-core
agent-core --no-daemon
agent-core daemon --hostname 127.0.0.1 --port 3210
More docs: https://github.com/adolago/agent-core.