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
fix: use $TMPDIR for canvas JSX files instead of .claude/
Writing to .claude/ triggers extra permission prompts in Claude Code
since that directory has special security checks. $TMPDIR is already
in the sandbox allowlist and doesn't pollute the project directory.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
All `*.jsx` files in the directory are pushed as a snapshot. Each file appears as a separate tab. **Always show the `browserUrl` from the output to the user.**
@@ -82,7 +82,7 @@ Returns immediately — prints feedback if available, otherwise no output.
82
82
Use different files for different phases or concerns:
83
83
84
84
```
85
-
.claude/agent-canvas/<session-id>/
85
+
$TMPDIR/agent-canvas/<session-id>/
86
86
discovery.jsx # Discovery interview
87
87
requirements.jsx # Requirements spec
88
88
plan.jsx # Implementation plan
@@ -92,7 +92,7 @@ Write new files as phases progress, then push the directory. Previous files rema
92
92
93
93
## File Location
94
94
95
-
All canvas files go in `.claude/agent-canvas/<session-id>/` within the project root. Add `.claude/agent-canvas/` to `.gitignore`.
95
+
All canvas files go in `$TMPDIR/agent-canvas/<session-id>/`. This is a system temp directory — no `.gitignore` needed.
0 commit comments