@jkwd/inbase 0.1.5 → 0.1.6

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.
@@ -14,10 +14,13 @@ Skip it for git, lockfiles, `.inbase`, `.cursor`, or questions with no code
14
14
  changes.
15
15
 
16
16
  The LLM uses a plan-first loop. It reports the complete plan before writing a
17
- patch, waits for the user to invoke the highlighted step, publishes only that
18
- step's diff, then waits for **Run step** on the following step or an alternative
19
- instruction. Always work via patch files. Do not Write, StrReplace, or Delete
20
- project files.
17
+ patch. When **Step by step** is on, it waits for the user to invoke the
18
+ highlighted step, publishes only that step's diff, then waits for **Run step**
19
+ on the following step or an alternative instruction. When **Step by step** is
20
+ off, `inbase wait-for-approval` returns `VISUAL_CODER_EXECUTE` for every
21
+ remaining step without the user clicking Run step; after the last patch, wait
22
+ for the user to **Complete**. They can still walk Previous/Next over the diffs.
23
+ Always work via patch files. Do not Write, StrReplace, or Delete project files.
21
24
 
22
25
  Every Cursor chat has an explicit session ID. Pass that same ID to every
23
26
  command. The visualizer stores immutable diffs under `.inbase/diff-sessions/<session-id>/diffs/`.
@@ -88,7 +91,8 @@ npx inbase report-plan \
88
91
  npx inbase wait-for-approval --session "<current-cursor-chat-id>"
89
92
  ```
90
93
 
91
- Do not write a patch until this prints `VISUAL_CODER_EXECUTE`.
94
+ Do not write a patch until this prints `VISUAL_CODER_EXECUTE`. If Step by
95
+ step is off, this returns immediately for each remaining step.
92
96
  9. Implement only the invoked step as a unified diff. Paths are relative to the
93
97
  project root (same ids as `codebase.json`):
94
98
 
@@ -121,8 +125,9 @@ npx inbase propose-patch \
121
125
  stored in the session folder.
122
126
 
123
127
  10. **Stop.** Do not apply the patch and do not edit project files directly.
124
- 11. Wait until the user clicks **Run step** on the next step, sends an alternative instruction,
125
- or stops the workflow:
128
+ 11. Wait until the user clicks **Run step** on the next step (or, when Step by
129
+ step is off, until the next step is auto-invoked), sends an alternative
130
+ instruction, clicks **Complete** on the last step, or stops the workflow:
126
131
 
127
132
  ```bash
128
133
  npx inbase wait-for-approval --session "<current-cursor-chat-id>"
@@ -169,7 +174,7 @@ npx inbase propose-patch --session "<current-cursor-chat-id>" --clear
169
174
  - Write, edit, create, or delete project files directly
170
175
  - Announce file lists instead of a patch
171
176
  - Write a patch before its plan step is invoked
172
- - Propose the next step before the user clicks **Run step**
177
+ - Propose the next step before `inbase wait-for-approval` returns `VISUAL_CODER_EXECUTE`
173
178
  - Propose another patch after `VISUAL_CODER_FINISHED`
174
179
  - Reuse, overwrite, or expand an existing session diff
175
180
  - Use this flow for git, lockfiles, or other non-source work