Changeset 0.21.3 (#89)
This commit is contained in:
@@ -82,7 +82,7 @@ v0.21.0 Workspace Storage Primitive ✅
|
||||
│
|
||||
┌───────┴──────────────┐
|
||||
│ │
|
||||
v0.21.1 Workspace ✅ v0.21.3 Surface Infra
|
||||
v0.21.1 Workspace ✅ v0.21.3 Surface Infra ✅
|
||||
Tools + Bindings + REPL (parallel)
|
||||
│ │
|
||||
v0.21.2 Workspace ✅ v0.21.5 Editor Surface
|
||||
@@ -724,15 +724,28 @@ Embed text files for semantic search. Reuses `knowledge.SplitText` + `knowledge.
|
||||
- [x] Graceful degradation when no embedding role configured
|
||||
- [x] Mock store updated for FS unit tests
|
||||
|
||||
### v0.21.3 — Surface Infrastructure + REPL
|
||||
### v0.21.3 — Surface Infrastructure + REPL ✅
|
||||
|
||||
Pure UI architecture. No workspace dependency (parallel development).
|
||||
|
||||
- [ ] Surface registration: `ctx.surfaces.register()` with label, icon, regions, activate/deactivate
|
||||
- [ ] Region management: `ctx.ui.replace()` / `ctx.ui.restore()` for CM6 state preservation
|
||||
- [ ] Mode selector in sidebar when ≥1 extension surface registered
|
||||
- [ ] `surface.activated` / `surface.deactivated` events
|
||||
- [ ] REPL console ([#70](https://git.gobha.me/xcaliber/chat-switchboard/issues/70)): fourth debug modal tab, AsyncFunction wrapper, injected globals, command history, tab-completion, admin-gated
|
||||
- [x] `data-surface-region` attributes on index.html containers (surface-header, surface-main, surface-footer, sidebar-content)
|
||||
- [x] `surfaces.js` — SurfaceRegistry: register, activate, deactivate, getCurrent, list
|
||||
- [x] `ctx.ui.replace()` / `ctx.ui.restore()` with DOM preservation (DocumentFragment-based)
|
||||
- [x] `ctx.surfaces.register()` API for extensions
|
||||
- [x] Mode selector component in sidebar (`#modeSelectorWrap`, auto-shown when ≥2 surfaces)
|
||||
- [x] Chat as default surface (implicit, always registered)
|
||||
- [x] `surface.activated` / `surface.deactivated` / `surface.registered` / `surface.unregistered` EventBus events
|
||||
- [x] REPL tab: AsyncFunction wrapper, global injection (API, Events, Extensions, Surfaces, DebugLog, Panels, UI, $, $$, sleep)
|
||||
- [x] REPL tab: pretty-print results (collapsible JSON, type-colored primitives, DOM element summaries)
|
||||
- [x] REPL tab: command history (sessionStorage, ↑/↓ navigation)
|
||||
- [x] REPL tab: tab-completion on object graphs, event labels, globals
|
||||
- [x] REPL tab: event label hints (Events.on/emit completion)
|
||||
- [x] REPL tab: admin gate (admin role OR ?debug=1 URL param)
|
||||
- [x] REPL tab: toolbar (clear, copy, help)
|
||||
- [x] CSS: mode selector + REPL styles
|
||||
- [x] Documentation in EXTENSIONS.md §6 updated with implementation details
|
||||
- [ ] Mobile: mode selector collapses to hamburger/bottom nav (deferred — functions via sidebar on mobile)
|
||||
- [ ] Integration with extension loader (surfaces from manifest — deferred to extension loader update)
|
||||
|
||||
### v0.21.4 — Git Integration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user