agent-canvas 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -174,6 +174,7 @@ User wants to make a decision? → DECISION flow
|
|
|
174
174
|
|
|
175
175
|
## Important Rules
|
|
176
176
|
|
|
177
|
+
- **Never `cd`** before running `bunx agent-canvas` commands. The daemon uses the current working directory to resolve project file paths (`<FilePreview>`, file browser). Always run commands from the project root. Since canvas files are in `$TMPDIR`, use absolute paths to reference them — e.g. `bunx agent-canvas push $TMPDIR/agent-canvas/<session-id>/`.
|
|
177
178
|
- **Write** canvas files using the Write tool. Never use bash heredocs.
|
|
178
179
|
- **Edit** canvas files using the Edit tool. Never rewrite entire files.
|
|
179
180
|
- Every `<Item>` and interactive component needs a unique `id`.
|