You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1300d56
Browse filesBrowse the repository at this point in the historyBrowse files
fix(agent): resolve permission schema and UI flash issues
Agent Bridge:
- Make sessionId optional in PermissionResponseSchema (fixes permission_response error)
- Add build:dev script for compiling sidecar binary
- Document agent-bridge rebuild workflow in CLAUDE.md
Chat UI:
- Add .no-transitions class to prevent tool widget flash during conversation switch
- Apply no-transitions during isTransitioning state
- Start BashToolWidget collapsed to avoid async Shiki flash
- Simplify send/stop button to single component with state-based styling
Sidebar:
- Skip creating new conversation if current one is empty (Untitled)
- Skip loading conversation if already viewing it
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The agent-bridge is a **compiled Bun binary** that Tauri spawns as a sidecar process. Unlike other code, **changes to agent-bridge require manual rebuilding**:
169
+
170
+
```bash
171
+
cd agent-bridge
172
+
npm run build:dev # Compiles to target/debug/agent-bridge
173
+
```
174
+
175
+
Then restart the Tauri app (`Cmd+C` → `pnpm tauri dev`).
176
+
177
+
**Why manual rebuild?**
178
+
179
+
- Tauri watches Rust code, not the agent-bridge TypeScript
180
+
- The sidecar is a standalone binary (58MB) with embedded Bun runtime
181
+
- Located at `target/debug/agent-bridge` in dev mode
182
+
183
+
**Two build outputs:**
184
+
| Script | Output | Purpose |
185
+
|--------|--------|---------|
186
+
|`npm run build`|`dist/index.js`| JS bundle (requires Bun to run) |
187
+
|`npm run build:dev`|`target/debug/agent-bridge`| Standalone binary for Tauri |
0 commit comments