openrind-desktop-debug
Debug Openrind Desktop sidecars, config, and audit trail
Файлы1
Открыть в GitHubSKILL.mdopenrind-desktop/.opencode/skills/openrind-desktop-debug/SKILL.md
GitHubCredential check
Set these before running the HTTP checks:
OPENRIND_DESKTOP_SERVER_URLOPENRIND_DESKTOP_SERVER_TOKENOPENRIND_DESKTOP_WORKSPACE_ID(optional; use/workspacesto discover)
Quick usage (read-only)
curl -s "$OPENRIND_DESKTOP_SERVER_URL/health"
curl -s "$OPENRIND_DESKTOP_SERVER_URL/capabilities" \
-H "Authorization: Bearer $OPENRIND_DESKTOP_SERVER_TOKEN"
curl -s "$OPENRIND_DESKTOP_SERVER_URL/workspaces" \
-H "Authorization: Bearer $OPENRIND_DESKTOP_SERVER_TOKEN"
Workspace config snapshot
curl -s "$OPENRIND_DESKTOP_SERVER_URL/workspace/$OPENRIND_DESKTOP_WORKSPACE_ID/config" \
-H "Authorization: Bearer $OPENRIND_DESKTOP_SERVER_TOKEN"
Audit log (recent)
curl -s "$OPENRIND_DESKTOP_SERVER_URL/workspace/$OPENRIND_DESKTOP_WORKSPACE_ID/audit?limit=25" \
-H "Authorization: Bearer $OPENRIND_DESKTOP_SERVER_TOKEN"
OpenCode engine checks
opencode -p "ping" -f json -q
opencode mcp list
opencode mcp debug <name>
DB fallback (read-only)
When the engine API is unavailable, you can inspect the SQLite db:
sqlite3 ~/.opencode/opencode.db "select id, title, status from sessions order by updated_at desc limit 5;"
sqlite3 ~/.opencode/opencode.db "select role, content from messages order by created_at desc limit 10;"
Notes
- Audit logs are stored at
.opencode/openrind-desktop/audit.jsonlin the workspace root. - Openrind Desktop server writes only within approved workspace roots.