@jkwd/inbase 0.1.19 → 0.1.21
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/README.md +1 -1
- package/apps/explorer/scripts/patch-lib.d.ts +1 -0
- package/apps/explorer/scripts/patch-lib.mjs +1 -0
- package/apps/explorer/scripts/scan-ignore.mjs +9 -0
- package/apps/explorer/scripts/session-store.d.ts +3 -0
- package/apps/explorer/scripts/session-store.mjs +54 -2
- package/apps/explorer/src/App.tsx +119 -3
- package/apps/explorer/src/agentIntent.ts +10 -1
- package/apps/explorer/src/index.css +9 -0
- package/apps/explorer/src/scene/FileBlock.tsx +27 -0
- package/apps/explorer/src/scene/FolderArea.tsx +21 -0
- package/apps/explorer/src/scene/SelectionThumbnail.tsx +66 -34
- package/apps/explorer/src/scene/World.tsx +22 -3
- package/apps/explorer/src/types.ts +10 -0
- package/apps/explorer/src/ui/CanvasErrorBoundary.tsx +2 -0
- package/apps/explorer/src/ui/EyeIcon.tsx +26 -0
- package/apps/explorer/src/ui/HUD.tsx +183 -24
- package/apps/explorer/src/ui/MapContextMenu.tsx +18 -1
- package/apps/explorer/src/userCreated.ts +97 -0
- package/apps/explorer/vite.config.ts +4 -0
- package/package.json +1 -1
- package/skill/inbase/SKILL.md +17 -20
package/skill/inbase/SKILL.md
CHANGED
|
@@ -43,8 +43,8 @@ over the recorded diffs.
|
|
|
43
43
|
live project files with Write, StrReplace, and Delete for that step only. Then
|
|
44
44
|
run `inbase propose-patch` with no patch file. Inbase diffs the working tree
|
|
45
45
|
against the snapshot taken at invoke and stores that patch. A later instruction
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
updates that live proposal; edit those files, then propose-patch again. Wait
|
|
47
|
+
for **Accept proposal** before the next step. Do not write a unified diff yourself.
|
|
48
48
|
|
|
49
49
|
The visualizer stores immutable diffs under
|
|
50
50
|
`.inbase/diff-sessions/<session-id>/diffs/`. Inbase must already be running
|
|
@@ -180,11 +180,15 @@ npx inbase wait-for-approval --session "<session-id>"
|
|
|
180
180
|
12. Read the wait command output. Reply in chat with the `VISUAL_CODER_ACK`
|
|
181
181
|
line first, then:
|
|
182
182
|
|
|
183
|
-
- Exit `0` (`VISUAL_CODER_ACK execute` / `VISUAL_CODER_EXECUTE`):
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
- Exit `0` (`VISUAL_CODER_ACK execute` / `VISUAL_CODER_EXECUTE`): follow
|
|
184
|
+
the printed `VISUAL_CODER_EXECUTE` line. If it says **Update the current
|
|
185
|
+
proposal**, edit those live files, record with `inbase propose-patch` (no
|
|
186
|
+
patch file), then wait again for **Accept proposal**. Do not start the
|
|
187
|
+
next step and do not report a new plan. Otherwise the highlighted step
|
|
188
|
+
was invoked: implement that step now — do not explore, re-plan, or run
|
|
189
|
+
`wait-for-blueprint`. Re-read the shared `blueprint.json` if you need
|
|
190
|
+
placed files. Edit live files for that step only, record with
|
|
191
|
+
`inbase propose-patch` (no patch file), then wait again.
|
|
188
192
|
- Exit `6` (`VISUAL_CODER_ACK blueprint` / `VISUAL_CODER_BLUEPRINT`): the
|
|
189
193
|
shared blueprint changed. Follow the latest files, islands, functions,
|
|
190
194
|
variables, and imports. Do not omit, rename, relocate, or replace them.
|
|
@@ -195,19 +199,12 @@ npx inbase wait-for-approval --session "<session-id>"
|
|
|
195
199
|
stored session diffs. The shared blueprint remains. Optionally run
|
|
196
200
|
`--clear` if anything remains, tell the user the feature is done, and
|
|
197
201
|
**stop**. Do not propose another patch.
|
|
198
|
-
- Exit `4` (`VISUAL_CODER_ACK replan` / `VISUAL_CODER_REPLAN`):
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
`
|
|
203
|
-
|
|
204
|
-
`addedImports`). The blueprint stays leading. If the new instruction would
|
|
205
|
-
differ from it, ask the user before replacing the plan. Read
|
|
206
|
-
`user-context.json` (follow the viewpoint only if `followLook` is true),
|
|
207
|
-
replace the plan from the current step onward using `inbase report-plan`,
|
|
208
|
-
then wait for the next `VISUAL_CODER_EXECUTE` before editing again. The
|
|
209
|
-
replacement edits must sit on the accepted live files, not the withdrawn
|
|
210
|
-
proposal.
|
|
202
|
+
- Exit `4` (`VISUAL_CODER_ACK replan` / `VISUAL_CODER_REPLAN`): live files
|
|
203
|
+
still contain the current proposal. Do not reset them and do not report a
|
|
204
|
+
new plan. Follow the text between `VISUAL_CODER_INSTRUCTION_START` and
|
|
205
|
+
`VISUAL_CODER_INSTRUCTION_END`, edit those live files, then
|
|
206
|
+
`inbase propose-patch`. Wait for **Accept proposal**. Do not start the
|
|
207
|
+
next step.
|
|
211
208
|
- Exit `2` (`VISUAL_CODER_ACK stopped` / `VISUAL_CODER_STOPPED`) or `3`
|
|
212
209
|
(`VISUAL_CODER_ACK timeout`): make no further project changes.
|
|
213
210
|
|