Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@ Session.vim
opencode.json
a.out
target
/tests
/references

# Extension build output
packages/extension/.output/

# Session files (AI agent artifacts)
session-*.md
*-session-*.md
990 changes: 851 additions & 139 deletions bun.lock

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions packages/desktop/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ export default defineConfig({
host: "0.0.0.0",
allowedHosts: true,
port: 3000,
proxy: {
// Proxy API calls to the opencode server during development
"/session": "http://localhost:4096",
"/project": "http://localhost:4096",
"/event": "http://localhost:4096",
"/health": "http://localhost:4096",
"/config": "http://localhost:4096",
"/provider": "http://localhost:4096",
"/installation": "http://localhost:4096",
"/file": "http://localhost:4096",
},
},
build: {
target: "esnext",
Expand Down
11 changes: 11 additions & 0 deletions packages/extension/.output/chrome-mv3/background.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
var claudeIframeFix=(function(){"use strict";function i(e){return e}const o={matches:["https://claude.ai/*"],runAt:"document_start",world:"MAIN",main(){try{Object.defineProperty(window,"self",{get:()=>window.top,configurable:!0}),Object.defineProperty(window,"frameElement",{get:()=>null,configurable:!0}),Object.defineProperty(window,"parent",{get:()=>window,configurable:!0}),console.log("[Eidorail] Claude.ai iframe detection overridden")}catch(n){console.warn("[Eidorail] Could not override iframe detection:",n)}const e=document.createElement("style");e.textContent=`
/* Force sidebar toggle button to be visible */
button[data-testid="sidebar-toggle"] svg,
button svg.opacity-0,
[aria-label*="sidebar" i] svg.opacity-0,
[aria-label*="menu" i] svg.opacity-0 {
opacity: 1 !important;
transform: scale(1) !important;
}

/* Ensure the button container is visible too */
button:has(svg.opacity-0) {
opacity: 1 !important;
visibility: visible !important;
}
`,document.head?document.head.appendChild(e):document.addEventListener("DOMContentLoaded",()=>{document.head.appendChild(e)})}};function a(){}function t(e,...n){}const r={debug:(...e)=>t(console.debug,...e),log:(...e)=>t(console.log,...e),warn:(...e)=>t(console.warn,...e),error:(...e)=>t(console.error,...e)};return(async()=>{try{return await o.main()}catch(e){throw r.error('The content script "claude-iframe-fix" crashed on startup!',e),e}})()})();
claudeIframeFix;
Loading