summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop-electron/AGENTS.md
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2026-03-04 15:12:34 +0800
committerGitHub <[email protected]>2026-03-04 15:12:34 +0800
commit5cf235fa6cf7b4c890c68f8ff68a96fcae992abf (patch)
tree25fdfd8ce95ad048fb097822995dcf060e8d6d8b /packages/desktop-electron/AGENTS.md
parente4f0825c56300286ec0aa82b1006e4006a17e1e1 (diff)
downloadopencode-5cf235fa6cf7b4c890c68f8ff68a96fcae992abf.tar.gz
opencode-5cf235fa6cf7b4c890c68f8ff68a96fcae992abf.zip
desktop: add electron version (#15663)
Diffstat (limited to 'packages/desktop-electron/AGENTS.md')
-rw-r--r--packages/desktop-electron/AGENTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/desktop-electron/AGENTS.md b/packages/desktop-electron/AGENTS.md
new file mode 100644
index 000000000..7805ea835
--- /dev/null
+++ b/packages/desktop-electron/AGENTS.md
@@ -0,0 +1,4 @@
+# Desktop package notes
+
+- Renderer process should only call `window.api` from `src/preload`.
+- Main process should register IPC handlers in `src/main/ipc.ts`.