mirivlad
7363313f1e
feat: expose plugin data storage bridge
2026-06-29 04:27:22 +08:00
mirivlad
874b7c7ffb
feat: add workspace header search slot
2026-06-29 04:24:15 +08:00
mirivlad
8f6559cdb6
docs: define sync conflict contract
2026-06-29 03:38:03 +08:00
mirivlad
9f3448c1ea
feat: retry transient sync requests
2026-06-29 03:30:10 +08:00
mirivlad
04ce8c5bf3
fix: preserve sync error status
2026-06-29 03:23:45 +08:00
mirivlad
57677d1b1b
feat: add bounded file byte reads
2026-06-29 03:16:16 +08:00
mirivlad
aa4905a097
docs: document live file watcher
2026-06-28 23:00:32 +08:00
mirivlad
1d521251a2
feat: watch vault file changes
2026-06-28 22:53:27 +08:00
mirivlad
5a74809ab7
docs: document file trash restore API
2026-06-28 22:23:42 +08:00
mirivlad
cc0c050985
feat: restore files from trash
2026-06-28 22:18:44 +08:00
mirivlad
e5bdaec0aa
feat: expose file trash metadata
2026-06-28 17:03:12 +08:00
mirivlad
ed4b117a94
docs: update runtime contribution APIs
2026-06-28 16:42:02 +08:00
mirivlad
d46bc9436d
feat: publish workspace lifecycle events
2026-06-28 16:34:03 +08:00
mirivlad
1f1001108b
feat: expose action contributions to plugins
2026-06-28 16:28:33 +08:00
mirivlad
9729b432d6
feat: host activity providers
2026-06-28 16:14:59 +08:00
mirivlad
93597a2c45
Tag browser captures with current workspace
2026-06-28 04:00:50 +08:00
mirivlad
6d30015a1d
Move global plugin navigation into shell
2026-06-28 03:22:54 +08:00
mirivlad
0c788bed80
Expose search provider contributions
2026-06-28 01:03:36 +08:00
mirivlad
35012025b6
Add sync reset key bridge
2026-06-27 18:46:05 +08:00
mirivlad
a2791c494f
Add browser inbox receiver
2026-06-27 18:39:01 +08:00
mirivlad
fb68c54409
Route open providers by request mode
2026-06-27 13:49:09 +08:00
mirivlad
f87f8235bd
Expand real sync smoke for folders
2026-06-27 13:39:48 +08:00
mirivlad
173cc93258
Add public external file open API
2026-06-27 13:30:31 +08:00
mirivlad
6cc37972d1
Add status bar contribution host
2026-06-27 13:21:22 +08:00
mirivlad
7630a31286
Add command palette host
2026-06-27 13:13:15 +08:00
mirivlad
1fb9db73ec
Update completed files milestone docs
2026-06-27 12:51:08 +08:00
mirivlad
28a4e10e79
Remove core notes service
2026-06-27 12:44:02 +08:00
mirivlad
24444a8588
Refine v2 plugin API and sync flow
2026-06-27 12:36:31 +08:00
mirivlad
03175aa46d
feat: Notes core service + Notes API + router auto-detect notes context
...
- Add internal/core/notes/ service (Service, Layout, Normalize, tests)
- Register verstak/core/notes/v1 capability
- Inject NotesService into App, expose 8 Notes API endpoints
(CreateNote, RenameNote, ReadNote, SaveNote, EnsureOverview,
ListNotes, SearchNotes, NormalizeNoteTitle)
- Router: auto-detect Notes context via path (IsInsideNotes)
- PluginCard: show workspaceItems contribution count
- Regenerate Wails bindings (App.d.ts, App.js, models.ts with notes.NoteInfo)
- Fix .gitignore pattern for e2e-results/
2026-06-21 23:22:36 +08:00
mirivlad
0b6b0d0926
fix: workbench 'back' blocked, workspace breadcrumb-up only when btn active
...
- onNavigateBack/Forward now skip entirely when currentView === 'workbench'
(user relies on close button, not mouse back)
- onNavigateBack inside workspace checks upBtn.disabled before clicking —
in root folder (no currentPath) button exists but disabled, so navigateBack
falls through to navigationStack for cross-view navigation
- mouseHistoryDirection and keyHistoryDirection also block 'workbench' to
prevent bypass via pointerdown/mousedown listeners
2026-06-21 16:25:45 +08:00
mirivlad
b4e66c9779
fix: mouse navigation — redirect workspace back/forward to Files buttons, remove xinput monitor
...
- onNavigateBack/Forward now check for currentView === 'workspace' first
and delegate to Files plugin's up/forward buttons (breadcrumb/Fwd nav)
- Fall back to navigationStack for cross-view navigation
- Removed mouse_monitor.go (xinput test-xi2) — causes phantom X windows,
superseded by GTK-level vendor patch
- Removed startMouseMonitor call from App.Startup
2026-06-21 16:18:45 +08:00
mirivlad
d644c5bb79
feat: mouse back/forward navigation + history stack
...
- C patch (vendor/.../window.c): intercept GDK button 8/9 → dispatch
CustomEvent('verstak:navigate-back'/'verstak:navigate-forward')
- App.svelte: navigation stack (snapshot-based history), alt+arrows,
mouse button back/forward handlers, onNavigateBack/Forward
- WorkbenchHost: close via navigate-back event
- WorkspaceHost: workspace tab bar + tool panels
- wails-mock: full navigation, sidebar, vau...
2026-06-21 16:01:21 +08:00
mirivlad
8e5690e8f7
feat: intercept GDK button 8/9 for mouse back/forward navigation
...
WebKitGTK does not propagate XButton1/XButton2 (buttons 8 and 9) into
DOM events — event.button and event.buttons are always 0 for these
clicks. This prevents the frontend from detecting hardware back/forward
mouse buttons for history navigation.
Solution: patch Wails' window.c on Linux to intercept button-press-event
at the GTK signal level (before WebKit processes it). For button 8/9 we
call webkit_web_view_run_javascript() to dispatch a native CustomEvent
('verstak:navigate-back' / 'verstak:navigate-forward') into the page,
allowing the frontend to navigate history without any workaround on the
JS side.
The patch is applied automatically during build via scripts/build.sh:
go mod vendor → patch -p0 < patches/window.c.button-press.patch
Vendor directory is gitignored.
2026-06-21 13:49:13 +08:00
mirivlad
0ac473d720
core: Milestone 7b — Files explorer and Default Editor improvements
...
- Files plugin: richer explorer with breadcrumbs, selection, toolbar actions,
rename/trash, filter, sorting, hidden/reserved entries filtered
- Default Editor: line numbers, Ctrl+S, markdown toolbar, Edit/Preview/Split,
markdown preview, Reload/Revert
- E2E tests: 39 passed for files + editor
- Workspace model: correction, naming alignment, compatibility wrappers
- Updated docs: NOTES_FILES_PLUGIN_PLAN.md, PLUGIN_RUNTIME.md
2026-06-20 19:20:13 +08:00
mirivlad
4de5a74a55
fix: sanitize sync error messages, detect non-sync servers, add health check in TestAuth
2026-06-20 03:20:25 +08:00
mirivlad
db67c370ab
fix: add backend.call() API and fix [object Object] in workspace sidebar
...
- Add api.backend.call(method, ...args) to VerstakPluginAPI for direct Wails method invocation
- Add wsName() helper in WorkspaceTree.svelte with String() coercion to prevent [object Object] display
- Use correct Wails path window['go']['api']['App'] in backend.call()
2026-06-20 03:02:33 +08:00
mirivlad
ed69746332
feat: add sync backend methods
2026-06-20 02:25:25 +08:00
mirivlad
5c979174f1
fix: polish workspace files and editor shell
2026-06-19 23:37:10 +08:00
mirivlad
a6412fa070
feat: milestones 6b-fix through 6e — default-editor, files plugin, workspace host, workspaceItems contribution
...
- Fix PluginCard openProviders display
- Add default-editor plugin (text/markdown/notes-context)
- Add files plugin with workspaceItems placement
- Add workspaceItems contribution point (Go + API + mock + SDK)
- Add WorkspaceHost component for workspace area
- WorkspaceTree dispatches selection event
- Fix default-editor layout to fill container
- Fix PluginCard unsafe .length access
- Add E2E tests: 34/34 pass
- Add bundle execution check to official-plugins check.sh
- Update docs: PLUGIN_RUNTIME, DEV_PLUGINS, MILESTONE_6B/6C/6D plans
2026-06-19 16:42:01 +08:00
mirivlad
6ed6df311a
Implement milestone 6b workbench routing skeleton
2026-06-19 07:51:57 +08:00
mirivlad
a100f5a441
fix(plugin-manager): sync UI state with plugin lifecycle + sidebar click fix
...
Root cause fixes:
- Sidebar: handleSidebarItem used item.id instead of item.view for viewId.
Platform Test sidebar item has id=verstak.platform-test.sidebar but
view=verstak.platform-test.diagnostics. Click now dispatches correct viewId.
- PluginManager: EnablePlugin/DisablePlugin only wrote to plugins.json but
never re-discovered plugins. UI showed stale state (no Enable button after
Disable, no Disable after Enable). Now calls ReloadPlugins() + loadAll()
after each toggle.
- PluginManager: loadAll() fired async loads (GetCapabilities etc) without
awaiting — loading spinner disappeared before data was ready. Now awaits
all via Promise.all.
- PluginCard: no loading feedback on Enable/Disable buttons. Added
actionFeedback prop — buttons show '⟳ Enabling...' / '⟳ Disabling...'
and are disabled during operation.
- PluginManager: no visible result after Reload/Enable/Disable. Added
toast notifications (success/error/info) with auto-dismiss.
- Settings: openSettingsFromProps didn't handle missing panel — now shows
visible error in modal.
2026-06-17 19:40:05 +08:00
mirivlad
6d2f7858eb
fix: replace emoji icons with inline SVG (Icon.svelte + icons.js)
...
All emoji characters replaced with inline SVG icons:
- Plugin Manager sidebar: puzzle SVG icon
- Verstak logo: stack/tray SVG icon
- Plugin icons: flask SVG (from plugin manifest)
- Warning/error indicators: warning triangle SVG
- Settings button: gear SVG
- Vault recent: vault/shield SVG
- Fallback: dot SVG
New components:
- frontend/src/lib/ui/icons.js — SVG path map
- frontend/src/lib/ui/Icon.svelte — reusable SVG icon component
Icon policy: NO emoji or unicode pictographic symbols in the app.
Only SVG icons registered in icons.js are allowed.
Wails WebKitGTK does not render colour emoji.
2026-06-17 19:02:51 +08:00
mirivlad
c2e14cae69
feat: add bundle-host-test.cjs + smoke integration
...
- bundle-host-test.cjs: JS smoke-test for PluginBundleHost contract
- 4 error boundary scenarios (missing frontend, JS throw, missing component, mount throw)
- 5 real mount scenarios (bundle exec, DiagnosticsPanel mount, Settings mount, unmount, mount-throw catch)
- Runs real platform-test bundle in vm.Sandbox with mock window/document
- smoke-platform.sh: add bundle-host-test step
- Fix: platform-test badgeRow div call (3rd arg was ignored)
2026-06-17 18:51:14 +08:00
mirivlad
05ef1449bc
feat: milestone 5b — frontend bundle host + VerstakPluginAPI stub
...
- Bundle contract: window.VerstakPluginRegister(id, {components: {...}})
- PluginBundleHost.svelte: loads bundle via GetPluginAssetContent, mounts components
- VerstakPluginAPI.js: restricted API (capabilities, events, settings, commands — all stub)
- ViewContainer: PluginBundleHost replaces placeholder when frontend bundle exists
- PluginManager: settings panel via PluginBundleHost (removed hardcoded form)
- Backend: GetPluginFrontendInfo, GetPluginAssetContent with path security
- Security: reject absolute paths, path traversal, escape from plugin root
- Error boundary: bundle load/execute/mount errors show fallback, not crash
- Tests: 11 backend tests (asset API), frontend bundle checks in smoke
- Docs: bundle contract, VerstakPluginAPI, security constraints
2026-06-17 17:39:50 +08:00
mirivlad
1dff97a9c0
fix: smoke test now proves manifest→discovery→registry flow with ReloadPlugins gating
...
- runContributionsTest rewritten: shows exact manifest fragment from plugin.json
- Capability resolution gates contribution registration (status=degraded)
- Unregister before Register throughout (matches ReloadPlugins)
- Verify contributions by name with data matching manifest
- Proper \n formatting
2026-06-17 17:21:46 +08:00
mirivlad
a96ffb5801
chore: split build.sh and update-and-build-all.sh
...
- build.sh: deterministic local-only build, fail-fast, no git pull
- update-and-build-all.sh: dev helper, pulls all repos, builds official plugins, then builds desktop
- Docs: added Build Scripts section explaining the difference
2026-06-17 17:13:14 +08:00
mirivlad
86eeadd2a9
feat: milestone 5a — frontend plugin host, contribution lifecycle, UI shell
...
- Contribution Registry: ListByPoint, idempotent Register (Unregister-before-add)
- Flat ContributionSummary types for frontend (no nested .item.)
- Sidebar.svelte: items from ContributionRegistry, sort by position, error boundary
- ViewContainer.svelte: declarative placeholder host with error boundary
- PluginManager.svelte: settings panels from registry, knoppka only with settingsPanel
- PluginCard.svelte: settingsPanels prop, disabled state for Settings button
- Error boundary: ViewContainer + PluginManager catch errors, shell stays stable
- ReloadPlugins: Unregister before Register contributions (no duplicates)
- Smoke: -test-contributions flag, enable/disable/reload lifecycle verification
- Build: global_update() — pull all repos, build official plugins, install to desktop
2026-06-17 17:07:52 +08:00
mirivlad
9bb35a9fd0
fix: add workspace capability name check to smoke, clean up tracked build artifacts
2026-06-17 16:32:08 +08:00
mirivlad
67345a194a
fix: vault/workspace lifecycle — CreateVault creates workspace, SetCurrentVault loads workspace, ReloadPlugins keeps workspace capability, recursive tree rendering
2026-06-17 14:26:49 +08:00
mirivlad
5fa2c0ddf9
docs: add workspace capability documentation
2026-06-17 12:24:12 +08:00