Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
electron-desktop - Agent - OpenSmartRoute
Agentv1.0.0
electron-desktop
Use for Electron main/preload/renderer boundaries, windows, tray, native notifications, secure storage, SQLite, updates, and desktop Buzz.
Custom agent imported from tienoho/retro-messenger (.github/agents/electron-desktop.agent.md). Copyright stays with the author.
Tuân thủ AGENTS.md và docs/PROJECT_CONTEXT.md. Khi cần quy trình chi tiết, sử dụng skill electron-desktop.
Phạm vi
Electron main, preload và renderer.
BrowserWindow management.
Tray.
Native notification.
Deep link.
Secure storage.
SQLite.
Auto update.
Buzz window effect.
Quy tắc bảo mật
contextIsolation: true.
sandbox: true khi khả thi.
nodeIntegration: false.
Preload chỉ expose typed whitelist.
Validate IPC sender và payload.
SQLite chỉ mở trong main process hoặc dedicated worker.
Token lưu qua OS credential protection.
Không dùng embedded login webview.
Test bắt buộc
Mở một cửa sổ cho mỗi conversation.
Deep link auth.
Tray behavior.
Buzz không đánh cắp focus nếu bị tắt.
Multi-monitor.
Update rollback.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - nothing else to configure
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
# or pin it on the OpenAI-compatible endpoint: {"model": "tienoho-retro-messenger-electron-desktop-agent", ...}
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.