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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-canvas",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Interactive visual canvas for Claude Code — rich annotatable documents in the browser",
5
5
  "bin": {
6
6
  "agent-canvas": "bin/agent-canvas.js"
@@ -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**: `bunx agent-canvas push .claude/agent-canvas/${CLAUDE_SESSION_ID}/<name>.jsx --session ${CLAUDE_SESSION_ID} --label "<Label>"`
159
- 5. **Tell the user** the canvas is ready for review (they see it in their browser)
160
- 6. **Wait**: `bunx agent-canvas watch --session ${CLAUDE_SESSION_ID}` — this blocks until the user submits feedback
161
- 7. **Read feedback** — check for annotations, answers, added context files, approval
162
- 8. **Edit with the Edit tool and re-push + wait**, or advance to next phase
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