agent-canvas 0.1.8 → 0.1.9
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.
- package/daemon/client/AnnotationSidebar.tsx +35 -9
- package/daemon/client/App.tsx +123 -3
- package/daemon/client/CompareView.tsx +1 -1
- package/daemon/client/PlanRenderer.tsx +2 -2
- package/daemon/client/annotationContext.ts +1 -1
- package/daemon/client/generateMarkdown.ts +13 -2
- package/daemon/client/utils.ts +3 -0
- package/daemon/dist/client.js +49 -49
- package/package.json +1 -1
- package/skills/canvas/SKILL.md +5 -6
package/package.json
CHANGED
package/skills/canvas/SKILL.md
CHANGED
|
@@ -155,12 +155,11 @@ User wants to make a decision?
|
|
|
155
155
|
1. **Determine flow** from user intent
|
|
156
156
|
2. **Announce** briefly: "I'll start with discovery, then create a detailed plan."
|
|
157
157
|
3. **Write canvas JSX** with the Write tool to `.claude/agent-canvas/${CLAUDE_SESSION_ID}/<name>.jsx`
|
|
158
|
-
4. **Push**:
|
|
159
|
-
5. **
|
|
160
|
-
6. **
|
|
161
|
-
7. **
|
|
162
|
-
8. **
|
|
163
|
-
9. **After implementation**, push a summary canvas
|
|
158
|
+
4. **Push + tell the user**: Push the canvas and show the `browserUrl` from the output so the user can open it
|
|
159
|
+
5. **IMMEDIATELY watch** — run `bunx agent-canvas watch --session ${CLAUDE_SESSION_ID}` right after push, in the same response. Never stop after pushing. The push→watch sequence is atomic: no push without a watch. The watch blocks until the user submits feedback.
|
|
160
|
+
6. **Read feedback** — check for annotations, answers, added context files, approval
|
|
161
|
+
7. **Edit with the Edit tool and re-push + watch**, or advance to next phase
|
|
162
|
+
8. **After implementation**, push a summary canvas
|
|
164
163
|
|
|
165
164
|
## Interview Integration
|
|
166
165
|
|