Update editor, workspace, Git services, appearance, and project guides

This commit is contained in:
Knotty Wyvern
2026-10-11 09:41:16 -07:00
parent a8b1defb9d
commit 909894b9c8
153 changed files with 7967 additions and 775 deletions
+13
View File
@@ -0,0 +1,13 @@
# Documentation archive
[User guide](../user-guide.md) · [Development](../development.md) · [Release history](../releases.md)
These records preserve past checks, decisions, and proposals. They do not define current behavior or authorize planned work.
| Record | Purpose |
| --- | --- |
| [Kanban review, October 8](kanban-review-2026-10-08.md) | Scope, assignments, checks, and the 0.1.13 test builds |
| [Kanban changes, October 8](kanban-changes-2026-10-08.md) | Editor, settings, browser, and plugin changes |
| [Kanban follow-up, October 8](kanban-followup-2026-10-08.md) | Menu, theme, and Git graph checks |
| [App updating draft](app-updating-draft.md) | Unaccepted proposal for installer repair and later update checks |
| [Development notes, 0.1.8](development-0.1.8.md) | Settings windows and pasted Markdown |
+111
View File
@@ -0,0 +1,111 @@
# App updating draft
Status: Draft for review. The App updating card stays in Backlog until the user accepts this scope.
RuneStone needs an update flow that keeps workspace files, settings, plugins, and browser profiles.
Users must not uninstall RuneStone before an update or a same-version repair.
The proposed first milestone makes the installer reliable and clear. A later milestone adds update checks inside RuneStone.
## Current state
The card reports an uninstall and reinstall workflow. The project rules already require direct reinstall and update.
The Windows configuration uses a per-user NSIS installer and blocks downgrades.
The 0.1.15 release notes tell users to run the installer directly, but also identify native installer behavior as untested.
This difference needs reproduction on an installed copy before implementation.
Sources: [project rules](../../AGENTS.md#windows-installer), [Windows configuration](../../src-tauri/tauri.windows.conf.json), and [0.1.15 release notes](../release-0.1.15.md).
## Proposed first milestone
The installer detects an existing installation and defaults to reinstall or update.
It shows the installed version, package version, and destination before it changes files.
The primary action reads Update for a newer version and Reinstall for the same version.
An older package stops with a clear downgrade message.
If RuneStone is open, setup asks the user to close it after saving work.
The app must not discard unsaved files or end active terminal work without a user decision.
The installer keeps the existing installation path and application identity.
It replaces program files and bundled browser files without deleting user data.
After success, setup offers Open RuneStone.
After failure, setup identifies the failed step and offers a retry or a recovery instruction.
A retry must not require manual removal of the application or its data.
## Proposed update screen
Settings gains an Updates category with a recognizable icon and a visible label.
It shows the installed version, last check, available version, release notes, and download state.
Check for updates is a manual action in the first implementation.
Background checks remain a later option. Downloads and installation require explicit user actions.
| State | User action | Result |
| --- | --- | --- |
| No check yet | Check for updates | Read the selected release channel |
| Current version | Check again | Show that no newer release exists |
| Update available | Download update | Show progress and allow cancellation |
| Download complete | Restart and update | Save work and close the app before setup |
| Open work prevents restart | Return to RuneStone | Keep the downloaded package for later |
| Offline or failed download | Retry | Keep the installed app usable |
| Invalid package | Download again | Do not run the invalid package |
The update service must compare numeric version parts, including build numbers above 99.
It must not mistake a same-version repair for a newer release.
The default channel excludes trial releases. A future trial channel requires an explicit choice.
## Release source and package checks
The in-app milestone needs a chosen release source, stable metadata format, and publisher verification method.
The proposed source is the existing Gitea service, with a dedicated application release contract.
Plugin download support does not establish an application update contract.
The contract must identify the version, Windows architecture, installer URL, file size, digest, release notes, and release channel.
The app validates the downloaded bytes and publisher before execution.
Transport security and a digest alone do not prove the publisher when the source itself changes.
Signing keys and credentials stay outside the repository. The build process must document key recovery and rotation.
The app rejects a mismatched version, architecture, digest, or signature.
It does not run an arbitrary URL as an installer.
If private releases need authentication, the credential flow requires a separate design before implementation.
## Data and plugin behavior
| Data | Required result |
| --- | --- |
| Workspace files and hidden workspace metadata | Preserve all files and paths |
| Application settings and recent workspaces | Preserve values and reopen behavior |
| Installed plugins and plugin settings | Preserve packages, enable states, and stored data |
| Browser profiles, cookies, history, and bookmarks | Preserve data and profile identity |
| Unsaved documents and active terminals | Resolve before restart, without silent data loss |
Application updates do not silently replace third-party plugins.
Plugin update support stays outside this card. Existing plugin ZIP installation remains separate.
An incompatible plugin should remain installed but inactive, with a clear explanation, if compatibility checks become necessary.
That compatibility policy requires defined host requirements before enforcement.
## Acceptance checks
| Scenario | Pass condition |
| --- | --- |
| Clean installation | Setup installs and opens RuneStone |
| Same-version reinstall | Reinstall is the default action and restores program files |
| Upgrade from the previous build | Setup updates directly without an uninstall step |
| Older installer | Setup blocks the downgrade |
| Custom installation path | Setup uses the existing path |
| Populated workspace and user data | Before and after file hashes and settings match |
| App open with unsaved work | The user can return to work without losing edits |
| Failure or cancellation | User data remains intact and retry is possible |
| Download or publisher check failure | The app does not execute the package |
| Successful update | The app reports the installed version and opens normally |
Test the installer in a disposable Windows profile with representative workspace, plugin, and browser data.
Automated source checks do not replace the native installer checks.
## Decisions before To Do
1. Approve installer repair as the first milestone, or include the update screen in the first card.
2. Choose the application release source and its public or private access model.
3. Choose the publisher verification and signing process before an in-app installer launch.
The recommended first card covers installer repair and native regression checks.
The update screen can follow after the release source and signing decisions.
This draft does not authorize updater implementation or move the card into To Do.
+19
View File
@@ -0,0 +1,19 @@
# Historical development notes: 0.1.8
[Archive](README.md) · [Current development guide](../development.md)
## Settings windows and pasted Markdown
Desktop Settings opens in a separate movable window for each workspace window.
Repeated requests focus the existing Settings window.
Closing the workspace window also closes its Settings window.
Settings opened before a workspace closes when that workspace opens, so plugin context cannot remain stale.
Saved preferences synchronize across windows. The browser preview keeps the Settings dialog.
The separate window has dedicated native permissions and loads only the browser settings contribution.
Plugin installation still lists all installed plugins.
Live Markdown formatting refreshes when background parsing finishes after a large paste.
Run `scripts/markdownPaste.smoke.mjs` against the development server to check pasted source and rendered formatting.
Run `scripts/settingsWindow.smoke.mjs` to check the Settings layout, save synchronization, and mocked native requests.
The browser checks do not test native title-bar movement or desktop clipboard behavior.
+55
View File
@@ -0,0 +1,55 @@
# Kanban changes for October 8 2026
This pass covers eight To Do cards across RuneStone, RuneStone Project Management, and RuneStone_Git.
The global project management helper read all three boards without data issues.
Selection used board placements and the separate priority field.
The App updating card received a [draft](app-updating-draft.md) and remains in Backlog.
## Changes
| Board | Card | Result |
| --- | --- | --- |
| RuneStone | Autocorrect only shows errors | Plain editable text permits the native spelling menu. Selection and table action menus remain available. |
| RuneStone | New file button | New file accepts the complete name without adding an extension. Rename includes the extension. |
| RuneStone | Monospace font is too big | Both code layouts use the shared 13px size and 21px line height. |
| RuneStone | Themes and theme switching | GPT, Claude, Sakura, and RuneStone support light and dark modes. Terminal uses green on black. |
| RuneStone | Users need the ability to clear specific cookies | Settings lists and filters cookies and history for each profile, with individual removal. |
| Project Management | Text box for adding new cards is somewhat broken | The composer uses the empty list space above the Add control. |
| Project Management | Add new card UI persists when not in use | Focus changes hide the composer and retain its draft. Cancel, view changes, board changes, and disposal discard drafts. |
| Git | Git interface missing functions | Visible push and pull controls accompany separate collapsible Changes and Graph sections. |
## Source checks
RuneStone passes its type checks with zero errors or warnings and all 195 unit tests.
The native suite passes 75 tests. Three existing tests remain ignored because they require external fixtures or services.
Git passes 11 native fixture tests, four plugin unit tests, source compilation, and sidebar browser checks.
The Git checks include upstream selection, divergence, dirty files, merge history, and errors.
Project Management passes type checks, 98 unit tests, and all 119 browser tests.
Its current source compiles, and both compiled-plugin browser tests pass.
The first compilation attempt stopped on Git ownership checks. A process-local safe-directory setting permits this known checkout.
No global Git trust setting changed.
Browser runtime checks pass all 35 unit tests, syntax checks, and the native Electron smoke test.
Individual removal preserves other cookie paths, other history entries, other profiles, bookmarks, and open tabs.
The host browser checks cover filters, busy controls, errors, profile changes, and delayed responses.
The cookie implementation uses the [Electron Cookies API](https://www.electronjs.org/docs/latest/api/cookies) to expire the selected cookie's exact domain and path.
Editor and menu checks cover exact filenames, extension changes, duplicate-name protection, fonts, spelling event dispatch, and shared menus.
Visual checks cover narrow settings and light and dark themes.
The appearance check covers all palettes, persistence, cross-window changes, and existing and newly opened code editors.
The initial Terminal check found gold brackets. The theme now sets all bracket colors to green. Separate editor theme IDs restore normal syntax colors after Terminal mode.
## Limits and review
Native spelling suggestions and actual correction still need desktop acceptance.
The Git graph uses text topology and shows at most 100 commits.
Push and pull require a configured upstream and existing Git authentication. Pull permits only fast-forward updates.
The updater remains a draft. This pass does not implement its proposed milestones.
Implementation-ready cards move to Review after their checks pass. Done remains reserved for user acceptance.
Build work must use GPT-6.1 Sol with medium reasoning, as requested.
It must produce the installer and changed Project Management and Git ZIPs.
The installer needs the rebuilt Browser runtime. A separate Browser plugin ZIP is unnecessary.
Source checks retain the existing versions until each distributable build starts.
@@ -0,0 +1,39 @@
# Menu, theme, and Git graph changes
These changes cover three To Do cards from the RuneStone and RuneStone_Git boards on October 8, 2026.
The [local test builds](../release-0.1.17.md) are RuneStone 0.1.17 and Git 0.1.4.
## Changes
| Card | Result |
| --- | --- |
| 591c856a-2dc8-40a8-b656-b1d709c59114 | WebView2 supplies spelling suggestions to the shared menu. Native commands apply corrections. |
| 8a2f3bef-dec0-4b8e-8cc8-923a204386ec | Claude follows Anthropic colors and font stacks. Sakura uses the card palette and light mode. GPT and Terminal themes are removed. |
| 7d194eeb-fd9c-4116-b716-f8b96a3b1de8 | Git history draws commit nodes and parent links, with branches, tags, messages, authors, and dates. |
Saved GPT and Terminal selections migrate to RuneStone with their previous light or dark mode.
Saved dark Sakura selections migrate to light Sakura.
Claude uses local Lora and Poppins fonts, with Georgia and Arial fallbacks. It does not download fonts.
Sakura syntax colors depend on the tokens that each language supplies.
The spelling bridge validates the window, request, and enabled command before it acts.
Dismissal completes the native request. Unsupported targets retain their native menu.
The graph shows at most 100 commits. Dashed links mark parents outside that history.
The Git ZIP requires the matching host build. Earlier hosts show an update message.
## Checks
- Host source check: no errors or warnings.
- Host unit tests: 198 passed.
- Native tests: 78 passed, three ignored.
- Frontend production compilation: passed.
- Git unit tests: five passed. Plugin compilation and sidebar, UI, and host browser checks passed.
- Appearance checks: migration, palette colors, font stacks, window sync, code editors, and 360px settings passed.
- Shared menu checks: both themes, keyboard navigation, native command mapping, and fallback passed.
Screenshots and check logs are in `.audit/`. Git screenshots are in `../RuneStone_Git/output/`.
The native Windows check confirmed real WebView2 commands in the shared menu. Native Undo restored Writer text in an isolated test profile.
That profile supplied no spelling suggestions. Correction and undo with a spelling suggestion still need desktop acceptance.
The reusable check is `scripts/spellingNative.smoke.mjs`. Set `REQUIRE_NATIVE_SUGGESTIONS=1` to require an actual suggestion.
Cards move to Review after their checks pass. Done remains reserved for user acceptance.
+110
View File
@@ -0,0 +1,110 @@
# Kanban work, October 8, 2026
## Scope and inspection
Workspace: `D:/Users/KnottyWyvern/Documents/RuneStone`.
The RuneStone board contains six selected To do cards. The Project Management board contains eight.
All 14 selected cards are unblocked.
Selection uses each board placement, not the shared card status.
Command from the RuneStone checkout: `node ../RuneStone_ProjectManagement/.agents/skills/runestone-project-management/scripts/inspect.mjs boards --workspace .`.
The first helper run failed because the renamed plugin checkout lacked usable dependencies (`ERR_MODULE_NOT_FOUND: yaml`).
The documented frozen-lockfile install restored dependencies.
The recent sandbox workspace contained no boards. The RuneStone workspace contained both requested boards.
The helper then retrieved both boards and all 14 cards with exit code 0 and no data issues.
Manual card retrieval was not necessary. The initial dependency failure remains part of this test record.
The shell sandbox also failed before command execution. Authorized commands ran outside that broken sandbox.
## Assignments
Related cards share an agent when their behavior or files overlap. These cards describe distinct outcomes, not confirmed duplicates.
Keep each card and its acceptance criteria. Do not delete or archive cards solely to group implementation.
The coordinator owns board updates, the skill, this record, and integration checks.
| Group | Card IDs | Model and effort | File ownership and sequence |
| --- | --- | --- | --- |
| Tabs and ribbon | bee9f324, c8321a48, d0850861 | Astra 6 high | Workbench, tab/pane layout, related smoke tests |
| Settings density | d8c20c7d, 2a509815 | Sol 6.1 medium | Settings windows, plugin list, dedicated tests |
| Repeated paste | 68136a13 | Sol 6.1 medium | LiveWriter, clipboard lifecycle, paste regression |
| Card details | 32f33744, 30a4c620, ed978e3d, 57074b19 | Astra 6 high | PM detail/editor UI and styles, before other PM groups |
| Card transfer | 7e41dc9e | Astra 6 high | PM board/store/UI, after card details |
| Board controls | 6369fc91, fe7e86e4 | Luna 6 max | PM board title/menu, after transfer releases UI ownership |
| Image viewer | 68fd3750 | Sol 6.1 medium | PM image viewer, description preview, styles, and image tests |
Only one agent edits each file at a time. Separate functions do not imply separate ownership.
Agents preserve all existing uncommitted changes. They do not reset files or commit unrelated work.
The coordinator moves cards to Review after their relevant checks pass. Done requires user acceptance.
The initial implementation scope did not include distributable builds or version changes.
## Skill checks
The six board-helper tests pass, including multiple workspaces, placements, migration conflicts, and read-only behavior.
The revised skill passes the prose lint at 0.97 issues per 100 words.
The Python format validator first failed because PyYAML was absent. It passed after a temporary dependency install.
## Host review results
All six RuneStone cards moved to Review.
The tab bar uses the available width and keeps its new-tab button beside the tabs.
Closing the last tab leaves one New tab. The two misleading ribbon launchers are removed.
Settings and the main window share their header height. Plugin rows use shared spacing tokens.
The paste fix accepts clipboard line endings and stops synchronous edits from returning to their source editor.
Checks pass: host type checks with zero errors or warnings, and all 191 unit tests.
Browser checks pass for tab order, plugin access, menu consistency, saved layout, settings density, settings titlebar, and settings windows.
Paste checks pass for 12 repeated clipboard cycles, saved source, editor reopen, line-ending variants, undo, and 5,000 formatted sections.
Visual checks cover light and dark themes, an 880-pixel tab bar, and settings widths down to 360 pixels.
Native desktop window calls used browser mocks. Native titlebar behavior still needs user acceptance.
## Project Management review results
The four card-detail cards moved to Review.
Description editing stays inside the card. Saved Markdown opens formatted.
Detail hints sit inside buttons. Priority choices use colored icons in a picker beside the trigger.
Type checks, unit tests, and 11 focused browser tests pass for these changes.
## Source review result, before packaging
All 14 selected cards are in Review. The helper confirmed their exact board placements after the updates.
No cards moved to Done. No cards were deleted or archived.
Seven subagents handled the seven groups with one writer for each file.
The small board-control group used Luna 6 max after source review confirmed its limited scope.
The other assignments used Astra 6 high or Sol 6.1 medium as shown above.
Card transfer now preserves the card identity, body, metadata, and unrelated board placements.
The image viewer opens from saved descriptions and supports outside-click dismissal, Escape, focus restoration, and image overlays.
Board menu actions now have icons. The smaller title pencil appears on hover or keyboard focus.
Final checks:
- RuneStone type checks: zero errors and warnings. All 191 unit tests pass.
- Host browser checks include installation, removal, menus, tabs, layout, settings, paste, and undo.
- Project Management type checks and compilation pass. All 101 unit tests and all 103 browser tests pass.
- The six skill-helper tests and the skill format validator pass.
- Both repository patches pass the whitespace check.
The first complete PM browser run exposed seven outdated or brittle test expectations.
Corrections scope deadline inputs to their field region, expect the saved description preview, and establish keyboard focus before checking its indicator.
The next complete run passed all 103 tests. The host install smoke also needed its removed ribbon selector replaced with the command API.
These test corrections retain the existing behavior checks.
Compiled PM output supports bundled-plugin tests. No installer or release ZIP was produced during source review.
Source review used RuneStone `0.1.12` and Project Management `0.2.17`.
The automated browser checks use mocked host calls. Native desktop behavior still needs user acceptance.
Test output is saved under the plugin repository's ignored `.audit/kanban-review-2026-10-08/` directory.
Original card backups are in `.runestone/agent-work-2026-10-08/backups/` in the RuneStone workspace.
Prose lint for this record: 1.45 issues per 100 words.
## Test builds requested after source review
The user requested distributable builds for desktop testing.
RuneStone 0.1.13 is available as `src-tauri/target/release/bundle/nsis/RuneStone_0.1.13_x64-setup.exe`.
Project Management 0.2.18 is available as `../RuneStone_ProjectManagement/plugin-packages/runestone.pm-0.2.18.zip`.
See the [installation notes](../release-0.1.13.md).
Both builds completed and passed artifact integrity checks. Previous release files remain intact.
The installer includes the existing browser runtime. Its application version is 0.1.13 and downgrades remain disabled.
The plugin ZIP has its manifest at the archive root. Its recorded file hashes match its contents.
Post-package checks passed the PM type check, 101 unit tests, and 103 browser tests.
Native host tests passed 63 tests, with three ignored.
The 14 cards remain in Review for user acceptance.
+94
View File
@@ -0,0 +1,94 @@
# Build and package RuneStone
[Development](development.md) · [Release history](releases.md) · [Installation](installation.md)
This guide is for maintainers. Users install a supplied package through the installation guide.
## Build the Windows installer
Build on 64-bit Windows with the tools in the [development guide](development.md#run-from-source).
The commands below use the checked-in dependency versions.
```sh
pnpm install --frozen-lockfile
pnpm check
pnpm test
pnpm build:installer
```
The last command builds the interface, compiles the release app, and creates an NSIS setup executable.
The first build needs internet access to download the packaging tools and the WebView2 bootstrapper.
Find the installer in:
```text
src-tauri/target/release/bundle/nsis/RuneStone_<version>_x64-setup.exe
```
Distribute this setup file. Users do not need the repository, a local server, or build tools.
Build output stays outside version control.
## Installer settings
Tauri automatically merges `src-tauri/tauri.windows.conf.json` into the base configuration on Windows.
This file selects NSIS for ordinary `pnpm tauri build` commands too.
It uses the existing RuneStone icon and installs the app for the current Windows account.
Tauri supplies the setup screens, Start menu shortcut, launch option, and uninstaller.
The installer includes the WebView2 bootstrapper.
If WebView2 is missing, setup downloads the runtime. An existing runtime needs no setup download.
The configuration blocks version downgrades.
It does not register document types or start RuneStone when Windows starts.
See [Tauri's Windows installer documentation](https://v2.tauri.app/distribute/windows-installer/) for the packaging options.
## Prepare a release
Each project uses its own `zz.yy.xx` version. Routine source edits and checks retain the current version.
Increase `xx` once when producing a new completed installer or plugin ZIP. Failed attempts do not consume a version.
Keep version fields consistent, and restore them if no build completes.
Increase `yy` or `zz` only for a user-directed release, then reset the lower fields as defined in [the version policy](../AGENTS.md#versioning).
Publishing an existing artifact does not change its version.
1. Set the same version in `package.json`, `src-tauri/Cargo.toml`, and `src-tauri/tauri.conf.json`.
2. Update `src-tauri/Cargo.lock` with Cargo if the package version changed.
3. Run the checks and build command above.
4. Test the installer on a clean Windows account with the checks below.
5. Attach the setup file and release notes to the repository release or your chosen download page.
Keep `com.runestone.app` as the app identifier so upgrades retain the same app identity.
No public download location or automatic release upload is configured yet.
After you publish an installer, add its download link to the README.
Local installers are unsigned until the maintainer configures Windows code signing.
Use [Tauri's signing guide](https://v2.tauri.app/distribute/sign/windows/) before public distribution.
## Installer checks
| Check | Expected result |
| --- | --- |
| Install on an account without Node.js or Rust | Setup completes and RuneStone opens |
| Install without WebView2, with internet access | Setup installs the runtime and RuneStone opens |
| Open RuneStone from the Start menu | The app opens without a terminal or development server |
| Create a workspace outside the installation folder | Notes save and reopen |
| Install a newer version | Setup updates the app and preserves workspace files |
| Reinstall the same version | Setup defaults to reinstall and preserves workspace files and settings |
| Try to install an older version | Setup blocks the downgrade |
| Remove RuneStone through Windows Settings | The app and shortcuts disappear, and the separate workspace remains |
These checks require a Windows test account or virtual machine. A successful build alone does not confirm them.
## Experimental platform packages
Linux and macOS packages remain unvalidated. Build on the target platform with the correct Browser runtime.
Use the [Linux readiness guide](linux.md) for system packages, desktop checks, and Debian/AppImage commands.
On macOS, a local application bundle can use:
```sh
pnpm tauri build --bundles app -- --locked
```
Tauri places the bundle under `src-tauri/target/release/bundle/macos/`.
This command is a test route, not a validated RuneStone release workflow.
Check the [Tauri application bundle guide](https://v2.tauri.app/distribute/macos-application-bundle/) for platform packaging behavior.
Signing, notarization, architecture coverage, Browser packaging, and desktop acceptance remain unresolved for RuneStone on macOS.
+1 -1
View File
@@ -54,4 +54,4 @@ Surface and provider APIs are available. Automatic context-source registration,
External plugins retain RuneStone's existing full-application trust level. This API does not add a permission sandbox.
See [the implementation](../src/lib/completion/contracts.ts), [host tests](../scripts/completion.spec.ts), and the [plugin trial guide](../../RuneStone_LocalModel/docs/trial-guide.md).
See [the implementation](../src/lib/completion/contracts.ts), [host tests](../scripts/completion.spec.ts), and the [plugin trial guide](../../RuneStone_LocalAutocomplete/docs/trial-guide.md).
+13 -25
View File
@@ -1,6 +1,9 @@
# Developer README
# Development guide
[Back to RuneStone](../README.md)
[RuneStone](../README.md) · [Interface design](ui-design.md) · [Build and package](builds.md) · [Plugin development](plugins.md)
For task-based app help, use the [user guide](user-guide.md).
Dated implementation records and proposals live in the [archive](archive/README.md).
## Test changes without a full rebuild
@@ -44,13 +47,13 @@ The frontend uses port 1420, and Tauri loads `http://localhost:1420`.
| Change or task | Action |
| --- | --- |
| Svelte, TypeScript, or CSS under `src/` | Save the source file. Vite updates the interface without a Rust rebuild. |
| Feature source under `plugins/` | Run `pnpm build:plugins`, then uninstall and install the changed package through Settings. |
| Feature source under `plugins/` | Run `pnpm build:plugins`, then remove the old package and install the changed ZIP through Settings. |
| Table formulas source in `../RuneStone_TableFormulas/` | Install that checkout's dependencies, then run `pnpm build:plugins` in RuneStone. Reinstall the changed ZIP through Settings. |
| Rust code under `src-tauri/src/` | Save the source file. Tauri rebuilds the changed Rust code and restarts the app. |
| Rust dependencies or build settings | Allow Cargo to compile the affected dependencies. These changes can take longer. |
| JavaScript dependencies after a pull or branch change | Stop development, run `pnpm install --frozen-lockfile`, then start `pnpm tauri dev` again. |
| Tauri configuration, capabilities, or Vite configuration | Restart `pnpm tauri dev` to check the new settings. Native changes can require compilation. |
| Release or installer behavior | Use the [release guide](releases.md). Packaging requires a release build. |
| Release or installer behavior | Use the [build guide](builds.md). Packaging requires a release build. |
Keep `src-tauri/target/` between sessions so Cargo can reuse its build cache.
Do not run `cargo clean` as part of normal feature tests.
@@ -68,20 +71,21 @@ Use the [Linux readiness guide](linux.md) for Linux setup, native tests, and pac
See the setup steps below to install dependencies and run the desktop app.
See the [roadmap](roadmap.md) for goals and milestones. See the [product scope](product-scope.md) for capabilities and architecture constraints.
Agent instructions and UI design rules live in [AGENTS.md](../AGENTS.md).
See the [interface design reference](ui-design.md) for shared controls, dimensions, and visual checks. Agent instructions live in [AGENTS.md](../AGENTS.md).
See the [plugin guide](plugins.md) to build and install feature packages, use the API, and understand current plugin boundaries.
## Run from source
These steps are for developers. App users can use the [Windows installer](installation.md).
These steps are for developers. App users can use a supplied [Windows installer](installation.md). Linux and macOS source setup remains experimental.
### Requirements
- Node.js 22.12 or later and pnpm
- Node.js 24 and pnpm 10
- A current stable Rust toolchain
- Microsoft C++ Build Tools and Microsoft Edge WebView2 on Windows
Use the [Tauri prerequisites guide](https://v2.tauri.app/start/prerequisites/) to install the Windows build tools and Rust toolchain.
Use the [Tauri prerequisites guide](https://v2.tauri.app/start/prerequisites/) for native build dependencies.
The [installation guide](installation.md) has separate Windows, Linux, and macOS routes.
1. Download or clone this repository.
2. Open a terminal in the repository folder.
@@ -89,7 +93,7 @@ Use the [Tauri prerequisites guide](https://v2.tauri.app/start/prerequisites/) t
4. Run `pnpm tauri dev`.
5. Use the folder button in the app to open a workspace or create one.
See the [release guide](releases.md) to build a Windows installer.
See the [build guide](builds.md) to build a Windows installer.
## Checks
@@ -182,19 +186,3 @@ Read Rust errors in the terminal that runs `pnpm tauri dev`.
In the Windows development window, press Ctrl+Shift+I to open the web inspector.
Use its console for frontend errors.
See [Tauri's inspector instructions](https://v2.tauri.app/develop/#opening-the-web-inspector).
## RuneStone 0.1.8: Settings windows and pasted Markdown
Desktop Settings opens in a separate movable window for each workspace window.
Repeated requests focus the existing Settings window.
Closing the workspace window also closes its Settings window.
Settings opened before a workspace closes when that workspace opens, so plugin context cannot remain stale.
Saved preferences synchronize across windows. The browser preview keeps the Settings dialog.
The separate window has dedicated native permissions and loads only the browser settings contribution.
Plugin installation still lists all installed plugins.
Live Markdown formatting refreshes when background parsing finishes after a large paste.
Run `scripts/markdownPaste.smoke.mjs` against the development server to check pasted source and rendered formatting.
Run `scripts/settingsWindow.smoke.mjs` to check the Settings layout, save synchronization, and mocked native requests.
The browser checks do not test native title-bar movement or desktop clipboard behavior.
+86
View File
@@ -0,0 +1,86 @@
# Images, diagrams, and tables
[User guide](../user-guide.md) · [Terminal guide](terminal.md)
## Insert and edit images
Drag a workspace image from the navigator into a Markdown editor to insert a
relative link to the existing file. An “Insert image” hint marks the editor.
Escape cancels the drag. Dropping files from the system file explorer or pasting
images copies them into `attachments/` with unique filenames. Undo removes the
inserted links while keeping the image files.
In Writer, image Markdown stays hidden until you choose **Edit image source**. The image remains visible while you edit. Hide it again with the same button,
Escape, or by moving the cursor away. Click an image to select it, then
right-click or press Shift+F10 for copy image, copy Markdown, swap image, remove
image, zoom, edit source, open in a new tab, copy path, and show in Explorer.
Remove image or Delete removes only that embed from the note and supports undo.
Zoom supports fit, magnification and Escape to close, including in Split and Read.
## Edit table contents
Tables keep readable column widths and render `<br>` as cell line breaks.
Hover beside a table's right edge to add a column, or below its bottom edge to
add a row. Clicking a cell edits its contents. Wide tables scroll within the document.
### Move rows or columns
Grips appear on hover or keyboard focus above columns and beside body rows.
Drag a grip to reorder: a preview follows the pointer, the source row/column
stays highlighted, and a line marks the drop position. Drag near an edge
to scroll, or press Escape to cancel. Focus a grip and use arrow keys to move it.
Row moves keep the Markdown header fixed. Columns carry their alignment with them.
### Select, copy, or format cells
Drag across cells or Shift+click to select a rectangle, then right-click for
cut/copy/paste, bold, italic, strikethrough, highlight, code, math, comment,
clear formatting, alignment, clear cells, and delete cells. Clipboard shortcuts,
Ctrl+B/I, Shift+arrow selection, and undo/redo work on the selected cells.
TSV or Markdown tables paste as a grid and expand the table when needed.
Alignment applies to selected columns, as required by Markdown. Clear empties
contents; Delete removes complete selected rows/columns, or shifts a partial
selection left. Math stores inline `$…$` syntax. Comments use `%%…%%` and are
hidden in Read mode. Each operation can be undone in one step.
### Work with text inside a cell
Right-clicking text within a cell preserves the selected words and offers note
links, external links, workspace search, extraction to a new note, formatting,
rich/plain-text paste, and Select all. Extraction saves the selected Markdown
in a new file and replaces the selection with a note link. Undo restores the
original text without deleting the new note. Row and Column submenus insert,
move, duplicate, and delete at the clicked cell. Column moves keep alignment. Sorting is stable and natural (2 before 10), leaves blanks last, and keeps the
header fixed. Context-menu actions and table edge buttons have matching icons.
## Calculate with Table formulas
Install and enable the optional Table formulas plugin before using these calculations.
Table formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
`=SUM(B2:B10)`, or `=ROUND(B2/3, 2)`. Columns use A, B, …, AA. Row 1 is
the header, so the first data row is 2. References stay inside the current table.
Arithmetic supports `+`, `-`, `*`, `/`, `^`, parentheses, and postfix `%`.
Functions include SUM, AVERAGE, MIN, MAX, COUNT, ABS, and ROUND.
Separate function arguments with commas: `=AVERAGE(B2,C2)` averages two cells.
A colon selects a range: `=AVERAGE(B2:C2)`.
Aggregates ignore text and blank cells. Arithmetic treats blank cells as zero.
Results recalculate in Writer, Split, and Read. Click a result to edit its
formula; Enter commits it and Tab moves to the next cell. The Formulas control
below each table explains the syntax, and the active cell shows its address.
Invalid formulas, missing cells, and circular references display error labels.
Markdown stores the formula itself, so other apps display readable source.
Use code formatting or `\=` to keep formula-like text literal. References are
positional: copying, inserting, deleting, sorting, or moving cells does not
rewrite addresses. Cross-table references and automatic fill are not supported.
## Read diagrams and document properties
The reader uses a Markdown parser for paragraphs, nested lists, tables, tasks,
code blocks and reference images. Frontmatter sits in a collapsed Properties
section. Wiki links, note callouts and locally rendered Mermaid diagrams are
supported in Writer, Split and Read. Diagram source remains available to copy. Invalid diagrams show a message and their source. Toolbar icons show tooltips
on hover or keyboard focus; Split view stacks vertically in narrow panes.
+54
View File
@@ -0,0 +1,54 @@
# Terminal guide
[User guide](../user-guide.md) · [Install a plugin](../plugins.md#install-a-plugin)
Install and enable the Terminal plugin to use these controls. The shell runtime must exist on your computer.
## Open and arrange terminals
Ctrl+` or Ctrl+J shows or hides the terminal, preserving sessions and scrollback.
New Terminal (Ctrl+Shift+`) creates an independent shell; Split (Ctrl+Shift+5)
adds a resizable pane in the active group and inherits its current directory/profile.
The terminal list appears only when multiple sessions exist. Kill terminates a
session; Delete does the same while a terminal-list entry has focus. Maximize
and Restore change the panel size without restarting shells.
## Choose a shell and its settings
The dropdown immediately beside New Terminal offers installed PowerShell,
PowerShell 7, Git Bash, Command Prompt, and Bash profiles, a default-profile
picker, terminal settings, tasks, and separate terminal windows
(Ctrl+Shift+Alt+`). Font size, scrollback, cursor blinking, and default profile
persist locally. New terminals inherit the app environment, including PATH.
## Run scripts and navigate commands
More terminal actions clears scrollback, runs selected editor text, or saves
and runs the active script. Supported runners include Python, JavaScript,
PowerShell, Bash, Ruby, Windows batch files, and executables. Their runtimes
must be installed. Recent-command (Ctrl+Alt+R) and directory (Ctrl+G) pickers
work while the terminal is focused. Ctrl+Up/Down navigates prompt markers.
History is kept in memory for the current dock; PowerShell/Bash report commands
after completion, while Command Prompt captures submitted text at its prompt.
## Configure workspace tasks
Configure Tasks creates/opens `.runestone/tasks.json`. Its `tasks` array contains
objects with `label`, `command`, and an optional `profile` ID (`powershell`,
`pwsh`, `git-bash`, `cmd`, or `bash`). Run Task starts the chosen command in its
own terminal at the workspace root. Tasks run only when explicitly selected.
## Use debugging and dictation tools
JavaScript Debug Terminal starts a Node.js REPL with a local inspector on an
available port. Attach an external debugger using the printed address.
RuneStone does not provide VS Code's debugger or automatic debug attachment.
Start Dictation invokes Windows voice typing (Win+H) in the focused terminal;
Windows microphone/voice-typing configuration is required. Other platforms
use their operating system's dictation shortcut.
## Close detached terminals
Closing a detached terminal window terminates its sessions. Switching workspace
closes detached terminal windows and ends the old workspace's sessions.
+71
View File
@@ -0,0 +1,71 @@
# Appearance and custom themes
[User guide](../user-guide.md) · [Interface design](../ui-design.md)
Open Settings → Appearance to choose RuneStone, Claude, Sakura, or an installed custom theme.
RuneStone and Claude offer light and dark appearances. Sakura uses light only.
Claude uses local Lora and Poppins fonts, with Georgia and Arial fallbacks. It does not download fonts.
## Create a theme
1. Choose Export theme template.
2. Edit the saved JSON file in a text editor.
3. Choose Install theme and select the file.
The file must be smaller than 64 KiB. Both `light` and `dark` need `bg`, `text`, and `accent` colors.
Use hexadecimal colors with 3, 4, 6, or 8 digits. The example supplies complete surface and text colors for both modes.
```json
{
"schema": 1,
"id": "harbor",
"name": "Harbor",
"light": {
"bg": "#f3f6f8",
"bg-elevated": "#ffffff",
"bg-active": "#dfe9ef",
"border": "#bccdd8",
"text": "#223344",
"text-dim": "#526778",
"text-strong": "#102536",
"accent": "#14658f",
"selection": "#b5d9ef"
},
"dark": {
"bg": "#14232e",
"bg-elevated": "#1b2d3b",
"bg-active": "#294354",
"border": "#405b6d",
"text": "#e0eaf0",
"text-dim": "#a3bac8",
"text-strong": "#f5fafc",
"accent": "#81c8ed",
"selection": "#315d77"
}
}
```
The ID starts with a lowercase letter and permits lowercase letters, numbers, and hyphens, up to 64 characters.
The visible name permits up to 80 characters. Reinstalling the same ID replaces that theme's colors.
Unknown color keys or invalid values stop installation with an error.
## Available colors
| Keys | Use |
| --- | --- |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces, selected controls, and boundaries |
| `text`, `text-dim`, `text-strong` | Normal, secondary, and prominent text |
| `accent`, `accent-2`, `selection` | Links, accents, and editor selection |
| `error`, `warn`, `warn-hot`, `ok`, `special` | Messages and syntax colors |
Omitted optional colors use the RuneStone defaults for that appearance.
The theme file contains color values, without scripts, style rules, or plugin code.
## Share or remove a theme
With a custom theme selected, Export theme template saves its current definition.
Share that JSON file with another user, who can install it through Appearance.
Remove custom theme removes the selected definition and returns to RuneStone colors.
Themes stay in this device's application preferences and apply across workspaces.
Check normal text, secondary text, links, focus indicators, and selections in both appearances before sharing a theme.
+75 -30
View File
@@ -1,47 +1,92 @@
# Installation guide
# Installation and updates
[Back to RuneStone](../README.md)
[RuneStone](../README.md) · [User guide](user-guide.md) · [Release history](releases.md)
| Platform | Current route |
| --- | --- |
| Windows 10 or 11, Intel/AMD 64-bit | Supplied local test installer |
| Linux | Experimental source setup. Native build and installation checks remain unvalidated. |
| macOS | Experimental source setup. Native build and installation checks remain unvalidated. |
No public download location is configured. Get a Windows installer from the maintainer who supplied your test release.
Linux and macOS do not yet have a validated RuneStone download, supported version range, or architecture matrix.
## Install on Windows
RuneStone supports Windows 10 and 11 on 64-bit Intel and AMD computers.
The installer contains the app and its interface. You do not need developer tools or a terminal.
There is no public download yet. Get the setup file from the maintainer who supplied your release.
1. Save `RuneStone_<version>_x64-setup.exe` to Downloads.
2. Open the file.
3. Complete setup.
4. Open RuneStone from the Start menu.
5. Use the folder button to open or create a workspace.
1. Save `RuneStone_<version>_x64-setup.exe` to your Downloads folder.
2. Double-click the file.
3. Follow the setup steps.
4. Open **RuneStone** from the Windows Start menu.
5. Use the folder button to open a workspace or create one.
Setup installs RuneStone for your Windows account. Keep the default destination unless you need another location.
You do not need a terminal or developer tools.
If WebView2 is missing, setup downloads the runtime. Keep your internet connection active until setup finishes.
Keep the default installation folder unless you need a different location.
Setup installs the app for your Windows account and adds a Start menu shortcut.
If WebView2 is missing, setup downloads and installs it. Keep your internet connection active until setup finishes.
## Update or reinstall on Windows
## Update RuneStone
1. Save your open documents.
1. Save your documents.
2. Close all RuneStone windows.
3. Open the installer for the newer version.
4. Follow the setup steps.
3. Open the installer for the same or a newer version.
4. Complete setup.
The installer replaces the app. Your workspace files stay in their current folders.
Setup blocks older versions from replacing a newer version.
Run the installer directly. An existing installation defaults to reinstall, including the same version.
You do not need to uninstall first. Setup preserves workspace files and settings and blocks version downgrades.
The [release notes](releases.md) record which installer checks still need desktop acceptance.
## Try the source on Linux
This route is for developers who can diagnose an experimental build.
1. Install Node.js 24, pnpm 10, and stable Rust.
2. Install the [Tauri system packages for your distribution](https://v2.tauri.app/start/prerequisites/#linux).
3. Download or clone RuneStone into a Linux folder.
4. Open a terminal in that folder and run the commands below.
```sh
pnpm install --frozen-lockfile
pnpm tauri dev
```
Run the app inside your graphical desktop session. Do not copy Windows dependency or build folders into the Linux checkout.
The [Linux readiness guide](linux.md) contains the Debian/Ubuntu package example, desktop checks, and experimental Debian/AppImage packaging steps.
No native Linux test result is recorded yet.
## Try the source on macOS
This route is also experimental. It does not establish Intel or Apple silicon support.
1. Install Node.js 24, pnpm 10, and stable Rust.
2. Install Xcode Command Line Tools with `xcode-select --install`.
3. Download or clone RuneStone into a macOS folder.
4. Open Terminal in that folder and run the commands below.
```sh
pnpm install --frozen-lockfile
pnpm tauri dev
```
Tauri permits Command Line Tools for desktop development. See its [macOS prerequisites](https://v2.tauri.app/start/prerequisites/#macos).
RuneStone does not yet have a tested macOS installer, signing setup, or notarization process.
The bundled Browser runtime also needs a build for the target platform. A successful frontend build does not establish Browser support.
See [experimental packaging](builds.md#experimental-platform-packages) before producing an application bundle.
## Remove RuneStone
1. Open **Settings > Apps > Installed apps** in Windows 11, or **Apps & features** in Windows 10.
2. Find **RuneStone**.
3. Select **Uninstall**.
On Windows, open Settings → Apps → Installed apps, select RuneStone, then select Uninstall.
Windows 10 calls this list Apps & features.
Your workspace folders contain your notes, scripts, images, and workspace settings.
Keep these folders outside the app installation folder. Removing the app leaves these separate folders in place.
Keep workspace folders outside the application folder. Removal leaves those separate folders in place.
An experimental source session stops with Ctrl+C in its terminal. It does not install a desktop package.
## Setup help
- **WebView2 download fails:** Restore your internet connection, then run the installer again.
- **Windows shows an unknown publisher:** Current local builds are unsigned. Check the file source with the maintainer before you proceed.
- **The app cannot open a workspace:** Use the folder button to choose a folder that your Windows account can access.
| Problem | Action |
| --- | --- |
| WebView2 download fails | Restore the internet connection, then run the installer again. |
| Windows shows an unknown publisher | Local builds are unsigned. Check the file source with the maintainer. |
| A workspace will not open | Choose a folder that your account can access. |
| A source build fails | Check the platform prerequisites and the [development help](development.md#development-help). |
| A source launch lacks Browser support | Check whether the Browser runtime exists for that platform. |
The [user guide](user-guide.md) explains the app controls.
The [release guide](releases.md) explains how maintainers build and distribute installers.
The [user guide](user-guide.md#resolve-file-conflicts) covers document errors after launch.
+39
View File
@@ -0,0 +1,39 @@
# Plugin names and source folders
Use these names in Settings, plugin manifests, help, and problem reports.
Use names without spaces for source folders and package metadata.
| Plugin name | Source folder after manual rename | Current source folder | npm package name | Stable plugin ID |
| --- | --- | --- | --- | --- |
| Browser | `RuneStone_Browser` | `RuneStone_WebViewer` | `runestone-browser` | `runestone.browser` |
| Local Autocomplete | `RuneStone_LocalAutocomplete` | `RuneStone_LocalModel` | `runestone-local-autocomplete` | `runestone.local-autocomplete` |
| Project Management | `RuneStone_ProjectManagement` | `RuneStone_PM` | `runestone-project-management` | `runestone.pm` |
## Manual source folder changes
The team must rename the three source folders because local tools and saved project paths can depend on them.
These changes remain pending. The current folders and repository URLs still use their earlier names.
1. Close development servers and tools that use the three source folders.
2. Rename each current source folder to its matching name in the table.
3. Update saved editor projects, shortcuts, task paths, and local scripts that contain the old absolute paths.
4. Update cross-project documentation links after the folders move.
5. Run the documented checks from each renamed checkout before the next build.
Keep each plugin beside the `RuneStone` host checkout, or set `RUNESTONE_ROOT` to the host path.
The plugin build and package scripts use their own checkout or working directory and the host path.
They support both the current and intended folder names.
A local folder rename does not rename a remote repository. Keep existing remote URLs until the team changes them.
## Stable package and data names
Display names describe the plugins. Stable IDs connect installed packages to their settings and saved data.
The packager uses each stable plugin ID and version for the ZIP filename.
For example, Project Management keeps `runestone.pm-<version>.zip`.
Do not rename published ZIP files or change plugin IDs as part of a display-name change.
Project Management retains `.runestone/pm/`, `runestone_pm`, and its existing preview storage key.
Existing view IDs, setting keys, and document IDs also stay unchanged.
These technical names preserve access to existing data and are not alternate product names.
The [plugin package reference](plugins.md) explains packaging and installation.
+39 -12
View File
@@ -4,6 +4,7 @@
RuneStone installs JavaScript plugins from local ZIP files and experimental Gitea release downloads.
Open Settings → Plug-ins to install, enable, disable, or uninstall them.
See [plugin names and source folders](plugin-names.md) for display names, stable IDs, and pending manual folder changes.
Terminal and Table formulas use the same installed package system as all other plugins.
## Build and install the feature packages
@@ -372,7 +373,7 @@ Settings loads enabled plugins so their configuration pages remain available in
The host calls `mount(container, context)` with `context.surface` set to `"settings"` or `"view"`.
Older hosts can omit the context argument.
Local Autocomplete keeps temporary reference text in its editor view because that text belongs to one window.
Open Commands → Configure local autocomplete in that window to use reference text.
Open Commands → Configure Local Autocomplete in that window to use reference text.
The Open tab or view menu contains plugin views and commands with `category: "open"`.
Other commands appear in Commands.
@@ -406,7 +407,8 @@ The native read command checks the active window's workspace boundary and reject
Binary document support requires the updated host source. The earlier 0.1.6 installer does not include it.
Check for `api.workspace.readBytes` during activation and report a clear host update error when it is absent.
Navigation views appear as icon buttons in the ribbon left of the navigation pane.
Navigation views with `placement: "sidebar"` appear beside Files, Search, and Bookmarks in the top header.
Other navigation views appear as icon buttons in the ribbon left of the navigation pane.
The optional view `icon` accepts `list`, `kanban`, or `puzzle`. The default is `puzzle`.
Buttons show the view title in a tooltip on hover and keyboard focus.
The ribbon remains available when the navigation pane is closed.
@@ -448,15 +450,40 @@ Run `scripts/pluginInstall.smoke.mjs`, `scripts/plugins.smoke.mjs`, and `scripts
Native plugin packages and restricted permissions remain future work.
The core keeps basic Markdown tables, file editing, selection, sorting, and document access when optional features stop.
## Browser development plugin
## Built-in browser
Browser development lives in `../RuneStone_WebViewer/`.
Build `releases/runestone.browser-0.1.0.zip` there with `npm run build:plugin`.
The plugin opens editor tabs, contributes to Settings and Bookmarks, and handles web links when selected by the user.
A fresh browser store contains one User profile. Users can create blank profiles or duplicate an existing profile.
Browser now belongs to RuneStone. The installer includes its interface and native Chromium runtime.
Users can open browser tabs, manage profiles in Settings, and use web bookmarks without a plugin ZIP.
The existing browser data directory stays the same. Profiles, bookmarks, cookies, and settings remain available.
An old Browser package can be removed from Settings. The host does not load it alongside the built-in browser.
The browser requires the native browser service in this host revision.
Build and stage the runtime from its checkout, then include `src-tauri/tauri.browser.conf.json` when building RuneStone.
The runtime is an optional host resource, similar in purpose to the native service used by Terminal.
Plugin ZIP files still contain JavaScript and assets. They do not install arbitrary native executables.
See the browser checkout's README for build steps and current limits.
The interface source lives in `src/lib/browser/`. The runtime source remains in `../RuneStone_Browser/`.
Stage the runtime with that checkout's `npm run stage:host` before creating an installer.
The main Tauri configuration includes `src-tauri/browser-engine/` as an installer resource.
Browser startup obtains a session token for its window. Native requests check that token, and cleanup revokes it.
## Git and sidebar views
The Git plugin adds source control to the left pane. It supports file diffs, staging, unstaging, commits, and line history.
Git must be installed, and the workspace must be the repository root. Linked worktrees are not supported yet.
Commit hooks still run. A failed commit keeps the message and shows the error.
Plugins can register `placement: "sidebar"` views with a navigation icon.
The optional `openFile(path)` method opens a workspace file.
The optional `git` API supplies status, diff, stage, unstage, commit, and blame operations.
The optional `replaceView(currentId, nextId)` method changes the current tab while preserving its position and pin state.
For document tabs, `replaceDocumentWithView(document, nextId)` supplies the same behavior.
Both methods restrict the source and destination to the calling plugin.
The Git plugin also supports push, fast-forward-only pull, and a collapsible graph of the latest 100 commits.
Changes and Graph collapse independently. The graph shows branches, tags, commit IDs, authors, dates, and commit messages.
Push and pull use the current branch's configured upstream and existing Git authentication.
Pull stops when local changes or diverging commits prevent a fast-forward update. The plugin does not force-push or create an upstream automatically.
The optional Git API adds `push()`, `pull()`, and `graph()` in the current host source.
These methods require an updated host and remain subject to plugin shutdown checks.
The Git graph uses graphical commit nodes and parent links. It shows forks, merges, branches, tags, commit IDs, authors, dates, and messages.
The host returns structured history from `git.graph()`: `{ commits: [{ id, parents, refs, summary, author, date }] }`.
The graph keeps the latest 100 commits. Dashed links mark parents outside that history.
The updated Git package requires the matching host build. An older host shows an update message instead of a graph.
+5 -4
View File
@@ -3,6 +3,7 @@
[Back to RuneStone](../README.md)
This reference preserves intended capabilities and design constraints. Some features already exist.
See the [interface design reference](ui-design.md) for shared controls, dimensions, and visual checks.
See the [roadmap](roadmap.md) for goals and milestones, and the [user guide](user-guide.md) for current behavior and limitations.
The core stays active while installed packages supply optional Terminal and Table formulas features.
@@ -73,12 +74,12 @@ See the [installation and removal guide](plugins.md#uninstall-with-one-confirmat
- [ ] Move native terminal services into a separate in-house package.
- [x] Move formula evaluation, rendered results, and help controls into an external Table formulas package.
- [ ] Move the remaining spreadsheet operations into a separate in-house package.
- [ ] Add one Project management plugin with connected Kanban, Gantt, and Calendar views.
- [ ] Add one Project Management plugin with connected Kanban, Gantt, and Calendar views.
- [ ] Add a virtual tabletop system plugin.
Keep basic Markdown table editing and rendering in the core. Users must retain access to workspace files when plugins are disabled.
Kanban, Gantt, and Calendar belong to one optional Project management package with shared items.
The PM plugin has a separate development project. See its [design and scope](../../RuneStone_PM/project-management.md).
Kanban, Gantt, and Calendar belong to one optional Project Management package with shared items.
The Project Management plugin has a separate development project. See its [design and scope](../../RuneStone_ProjectManagement/project-management.md).
### Planned plugin lineup
@@ -91,7 +92,7 @@ No plugin starts automatically in a fresh installation. The planned lineup inclu
Planned plugins disabled by default:
- Project management. Connected Kanban, Gantt, and Calendar views within one package.
- Project Management. Connected Kanban, Gantt, and Calendar views within one package.
- Virtual tabletop. Tools for tabletop play within the workspace.
- Graph. Draw wiki-link edges from the file index.
- Canvas. Store `.canvas` files in JSON Canvas 1.0.
+32
View File
@@ -0,0 +1,32 @@
# Test build: RuneStone 0.1.13 and Project Management 0.2.18
These builds include the 14 Kanban cards prepared for user review on October 8, 2026.
See the [work record](archive/kanban-review-2026-10-08.md) for assignments and checks.
## Changes
- The tab bar uses available space and keeps one New tab after the last tab closes.
- Settings and plugin rows use shared dimensions and compact spacing.
- Repeated formatted paste no longer duplicates content or freezes the editor.
- Card descriptions edit inside the card and display saved Markdown formatting.
- Priorities use a nearby picker with colors and icons.
- Cards can move between boards while preserving their content and metadata.
- Image controls overlay the viewer. Outside clicks and Escape close it.
- Board menu actions have icons. The title edit indicator appears on hover or keyboard focus.
## Local installation
Run `RuneStone_0.1.13_x64-setup.exe` to reinstall or update RuneStone.
The installer includes the existing browser runtime and retains the downgrade restriction.
In Settings → Plug-ins, uninstall the previous Project Management package.
Restart RuneStone, then choose Install plugin ZIP and select `runestone.pm-0.2.18.zip`.
Workspace cards and retained plugin settings survive removal of the old package.
## Checks
Project Management passed its type check, 101 unit tests, and 103 browser tests after packaging.
Host native tests passed 63 tests, with three ignored. The source checks passed all 191 host unit tests and focused browser checks.
Native installer use and the changed desktop behavior remain for user acceptance.
All 14 cards remain in Review.
Both artifacts passed integrity checks. The plugin file hashes match its build record.
+35
View File
@@ -0,0 +1,35 @@
# Test build: RuneStone 0.1.14, Project Management 0.2.19, and Git 0.1.1
These builds cover 16 selected cards on October 8, 2026. The cards remain in Review for user acceptance.
## Changes
- Browser tabs, profiles, and bookmarks now belong to RuneStone. The installer includes the existing Chromium runtime.
- The left ribbon, shared menus, and table cell spacing use compact dimensions and clear icons.
- Project Management improves card spacing, title focus, outside clicks, image dismissal, and detail icons.
- Large boards retain their view and scroll position. Board selection retains the current tab position.
- Label deletion clears saved references. Card archive actions retain workspace files.
- Git adds a sidebar for status, file diffs, staging, unstaging, commits, and line history.
## Local installation
Run `RuneStone_0.1.14_x64-setup.exe` to reinstall or update RuneStone. Setup retains the downgrade restriction and preserves workspace files and settings.
Install `runestone.pm-0.2.19.zip` and `runestone.git-0.1.1.zip` through Settings → Plug-ins → Install plugin ZIP.
For an existing Project Management installation, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace cards survive package removal.
Browser needs no separate ZIP. An old Browser package can be removed through Settings. Browser profiles and bookmarks retain their existing storage.
## Checks and limits
The host passed its source check, 193 unit tests, and 71 native tests. Three native tests remain ignored.
Focused browser checks passed for the built-in browser, plugin access, menus, layouts, and selections in both themes and narrow windows.
Project Management passed its type check, 98 unit tests, and 111 browser tests after packaging. Git passed its source check and four unit tests.
Git also passed seven native host tests and its standalone and real-host browser checks before packaging.
The ZIP manifests and all extracted files match the compiled files.
Browser tests use native mocks. Native browser use, installer behavior, and desktop acceptance still need user review.
Git requires installed Git and a workspace at the repository root. Linked worktrees, remote actions, branch changes, and repository creation remain unsupported.
Git retains commit hooks. Diff tabs refresh when the user selects the file again.
+37
View File
@@ -0,0 +1,37 @@
# Test build: RuneStone 0.1.15, Project Management 0.2.20, and Terminal 0.1.2
These builds cover eight selected cards on October 8, 2026. The cards remain in Review for user acceptance.
## Changes
- Tables retain separate plain paragraphs without extra blank lines. Cell dimensions stay stable during edits and navigation.
- IDE and Terminal text use a lighter font weight.
- Shared menus use compact 14-pixel icons and 26-pixel rows.
- Git and other plugin sidebar views appear beside Files, Search, and Bookmarks in the top header.
- Project Management retains horizontal scroll when hidden tabs refresh or create a board. Each list has an inline Add a card control.
- The UI design reference records shared dimensions, icons, corners, selections, and menus.
## Local installation
Run `RuneStone_0.1.15_x64-setup.exe` to reinstall or update RuneStone. Setup preserves workspace files and settings, and blocks version downgrades.
Install `runestone.pm-0.2.20.zip` and `runestone.terminal-0.1.2.zip` through Settings → Plug-ins → Install plugin ZIP.
For an existing plugin, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace files survive package removal.
Git 0.1.1 remains the current package. The host supplies its new navigation position.
The installer includes the built-in browser and its Chromium runtime.
## Checks and limits
The host passed its source check, 195 unit tests, and 71 native tests. Three native tests remain ignored.
Browser checks passed for shared menus, table navigation, plugin tab order, workbench layout, and the actual Git navigation view.
Table checks cover both themes, two window widths, save, undo, and cell dimensions.
Project Management passed its type check, 98 unit tests, and all 116 browser tests after packaging.
Its final compiled module passed host checks for scroll retention in both legacy and managed board tabs.
Terminal passed its source check, six unit tests, and browser checks, including its rendered font weight in the light theme.
Both ZIPs contain a root manifest. Every archived file matches its compiled source hash.
Browser tests use native mocks. Native installer behavior and desktop acceptance still need user review.
The build creates local artifacts. It does not install, publish, or commit them.
+70
View File
@@ -0,0 +1,70 @@
# Test build: RuneStone 0.1.16, Project Management 0.2.21, and Git 0.1.2
These local builds cover eight selected cards on October 8, 2026. The cards remain in Review for user acceptance.
## Changes
- Plain editable text permits the native spelling menu. Selected text and tables retain their action menus.
- New file accepts the complete filename. Rename includes the extension.
- Code editors share a 13px font size and 21px line height.
- GPT, Claude, Sakura, and RuneStone support light and dark modes. Terminal uses green text on black.
- Browser settings list and filter cookies and history for each profile. Users can remove individual entries.
- Project Management uses the empty list space for its card composer. Focus changes hide the composer and retain its draft.
- Git adds push, pull, and separate collapsible Changes and Graph sections.
See the [source changes and limits](archive/kanban-changes-2026-10-08.md) for more details.
## Local installation
Run `RuneStone_0.1.16_x64-setup.exe` to reinstall or update RuneStone.
Setup defaults to reinstall for an existing version and blocks downgrades. Workspace files and user settings remain outside the installation folder.
Install `runestone.pm-0.2.21.zip` and `runestone.git-0.1.2.zip` through Settings → Plug-ins → Install plugin ZIP.
For an existing plugin, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace files survive package removal.
The installer includes the rebuilt Browser runtime. Browser needs no separate plugin ZIP.
## Build files
| Build | Local path | Bytes |
| --- | --- | --- |
| RuneStone 0.1.16 | `src-tauri/target/release/bundle/nsis/RuneStone_0.1.16_x64-setup.exe` | 125007691 |
| Project Management 0.2.21 | `../RuneStone_ProjectManagement/plugin-packages/runestone.pm-0.2.21.zip` | 160626 |
| Git 0.1.2 | `../RuneStone_Git/releases/runestone.git-0.1.2.zip` | 6563 |
## SHA256 checksums
```text
a8b0b2532aec27d2862cf3d3924383c67c66b15493456f43158aace0fcf79c5f RuneStone_0.1.16_x64-setup.exe
0003494fc6c671121e11adb3334b2e973f755fd324abc0860c05af19caaa00e5 runestone.pm-0.2.21.zip
8748d264fe9daa563a7e426372d7c965ad27a019ce35842c343a9dfdc7e15b2c runestone.git-0.1.2.zip
```
The installer folder also contains `RuneStone_0.1.16_release-checksums.sha256` with these three checksums.
## Checks and limits
The host passed its source check, 195 unit tests, and 75 native tests. Three native tests remain ignored.
The installer build completed. Both the application and setup executable report version 0.1.16.
The generated installer includes all 73 Browser resources and retains the default reinstall choice and downgrade restriction.
Browser checks cover filenames, extension changes, shared menus, fonts, appearance, and cookie and history controls.
The final appearance check passed all palettes, both modes, three-window sync, reload, and narrow settings.
Terminal-to-Sakura changes restore the original syntax colors. Existing and new editors pass the same check.
Project Management passed its type check, 98 unit tests, and all 119 browser tests after packaging.
The browser suite includes both compiled-plugin checks.
Git passed source checks, four plugin unit tests, 11 native fixture tests, and sidebar browser checks.
Both ZIPs contain a root manifest. Every archived file matches its compiled source SHA256 hash.
The packaged Browser runtime passed native Electron checks, including individual cookie and history removal.
All 73 staged runtime files match the packaged source SHA256 hashes.
Runtime packaging is intermediate installer output and does not change the Browser version.
Native spelling suggestions and actual correction still need desktop acceptance.
Actual installation, reinstall, settings retention, and downgrade protection still need desktop acceptance.
The Git graph shows at most 100 commits. Push and pull require a configured upstream and existing Git authentication.
Pull permits only fast-forward updates.
These builds create local artifacts. They do not install, publish, or commit them.
+74
View File
@@ -0,0 +1,74 @@
# Test build: RuneStone 0.1.17 and Git 0.1.4
These local builds cover three selected cards on October 8, 2026.
The cards remain in Review for user acceptance.
## Changes
- WebView2 supplies spelling suggestions to the shared menu. Native commands apply corrections.
- Claude uses Anthropic colors and local Lora and Poppins font stacks, with Georgia and Arial fallbacks.
- Sakura uses the card palette and light mode. Saved dark Sakura selections migrate to light Sakura.
- GPT and Terminal themes are removed. Saved selections migrate to RuneStone with their previous light or dark mode.
- Git history draws commit nodes and parent links, with branches, tags, messages, authors, and dates.
See the [source changes and checks](archive/kanban-followup-2026-10-08.md) for more details.
## Local installation
Run `RuneStone_0.1.17_x64-setup.exe` to reinstall or update RuneStone.
Setup defaults to reinstall for an existing version and blocks downgrades.
Workspace files and user settings remain outside the installation folder.
Install `runestone.git-0.1.4.zip` through Settings → Plug-ins → Install plugin ZIP.
This Git package requires RuneStone 0.1.17 or later.
For an existing Git plugin, remove its old package and restart RuneStone before installing the new ZIP.
Retained plugin settings and workspace files survive package removal.
Browser remains part of the installer. All 73 staged runtime files match the previous packaged source hashes.
The Browser runtime and other plugins need no new release build for these changes.
## Build files
| Build | Local path | Bytes |
| --- | --- | --- |
| RuneStone 0.1.17 | `src-tauri/target/release/bundle/nsis/RuneStone_0.1.17_x64-setup.exe` | 125009581 |
| Git 0.1.4 | `../RuneStone_Git/releases/runestone.git-0.1.4.zip` | 8004 |
## SHA256 checksums
```text
378b95b6d7f1d4f0413449e67264780d6d84e46e53b8304e6c63296917ec716c RuneStone_0.1.17_x64-setup.exe
eca6eeb9304f344f667c0d31666db54b207efb86c0b7a109c1ce6f563c61c859 runestone.git-0.1.4.zip
```
The installer folder also contains `RuneStone_0.1.17_release-checksums.sha256` with these checksums.
## Checks and limits
The host passed its source check with no errors or warnings and 198 unit tests.
Native tests passed 78 tests, with three ignored.
The frontend production build passed before packaging and during the installer build.
The locked NSIS build completed with the normal `com.runestone.app` identifier and window configuration.
The application and installer report version 0.1.17.
The generated installer includes all 73 Browser resources and retains the default reinstall choice and downgrade restriction.
Git passed its source check, five unit tests, compilation, and sidebar, UI, and host browser checks.
The final ZIP contains a root manifest, a readable entry module, styles, and installation guidance.
Every archived plugin file matches its compiled source SHA256 hash.
All 73 archived Browser resources match their staged source hashes.
The installer passes the 7-Zip archive integrity check.
The archived application differs from the release executable only in the three-byte Tauri NSIS bundle marker.
Git 0.1.3 remains a superseded local artifact. Version 0.1.4 adds the required host version and current feature guidance to its README.
Neither build replaces an earlier release file.
Appearance checks passed all five supported theme and mode combinations, migration, three-window sync, Monaco colors, and 360px settings.
The shared menu check passed after the final icon mapping changes.
Native Undo through the shared menu restored Writer text in an isolated WebView2 profile.
That profile supplied no spelling suggestions. Correction and undo with an actual spelling suggestion still need desktop acceptance.
Actual installation, reinstall, settings retention, and downgrade protection also need desktop acceptance.
The Git graph shows at most 100 commits. Dashed links mark parents outside that history.
Push and pull require a configured upstream and existing Git authentication.
Pull permits only fast-forward updates.
These builds create local artifacts. They do not install, publish, or commit them.
-11
View File
@@ -1,11 +0,0 @@
# RuneStone 0.1.7
This version is a local build. The installer is not published for public download.
- Install plugins from standard ZIP files or experimental Gitea release links.
- Open plugin documents in editor tabs, with navigation icons and rename support.
- Read binary workspace files through the plugin API, with a 64 MiB limit.
- Use consistent menus with icons, keyboard controls, rounded rows, and shared theme styles.
- Install Terminal and Table formulas from their separate plugin packages.
The Windows installer is unsigned. Clean-account installation and upgrade checks remain untested.
+16 -66
View File
@@ -1,71 +1,21 @@
# Release guide
# Release history
[Back to RuneStone](../README.md)
[RuneStone](../README.md) · [Installation](installation.md) · [Build and package](builds.md)
For experimental Linux builds, use the [Linux readiness guide](linux.md).
These entries record completed local test builds. They are not public download links.
Source changes after a build do not change its recorded contents.
Each entry includes artifact paths, checks, and any remaining desktop acceptance work.
## Build the Windows installer
| RuneStone | Related plugin builds | Notes |
| --- | --- | --- |
| 0.1.17 | Git 0.1.4 | [Menu, themes, and Git graph](release-0.1.17.md) |
| 0.1.16 | Project Management 0.2.21, Git 0.1.2 | [Follow-up test build](release-0.1.16.md) |
| 0.1.15 | Project Management 0.2.20, Terminal 0.1.2 | [Test build](release-0.1.15.md) |
| 0.1.14 | Project Management 0.2.19, Git 0.1.1 | [Test build](release-0.1.14.md) |
| 0.1.13 | Project Management 0.2.18 | [Kanban test build](release-0.1.13.md) |
Build on 64-bit Windows with the tools in the [development guide](development.md#run-from-source).
The commands below use the checked-in dependency versions.
Earlier local installers include Windows save hotfix 0.1.11a, with numeric installer version 0.1.12.
Their release notes are not complete in this checkout.
```sh
pnpm install --frozen-lockfile
pnpm check
pnpm test
pnpm build:installer
```
The last command builds the interface, compiles the release app, and creates an NSIS setup executable.
The first build needs internet access to download the packaging tools and the WebView2 bootstrapper.
Find the installer in:
```text
src-tauri/target/release/bundle/nsis/RuneStone_<version>_x64-setup.exe
```
Distribute this setup file. Users do not need the repository, a local server, or build tools.
Build output stays outside version control.
## Installer settings
Tauri automatically merges `src-tauri/tauri.windows.conf.json` into the base configuration on Windows.
This file selects NSIS for ordinary `pnpm tauri build` commands too.
It uses the existing RuneStone icon and installs the app for the current Windows account.
Tauri supplies the setup screens, Start menu shortcut, launch option, and uninstaller.
The installer includes the WebView2 bootstrapper.
If WebView2 is missing, setup downloads the runtime. An existing runtime needs no setup download.
The configuration blocks version downgrades.
It does not register document types or start RuneStone when Windows starts.
See [Tauri's Windows installer documentation](https://v2.tauri.app/distribute/windows-installer/) for the packaging options.
## Prepare a release
1. Set the same version in `package.json`, `src-tauri/Cargo.toml`, and `src-tauri/tauri.conf.json`.
2. Update `src-tauri/Cargo.lock` with Cargo if the package version changed.
3. Run the checks and build command above.
4. Test the installer on a clean Windows account with the checks below.
5. Attach the setup file and release notes to the repository release or your chosen download page.
Keep `com.runestone.app` as the app identifier so upgrades retain the same app identity.
No public download location or automatic release upload is configured yet.
After you publish an installer, add its download link to the README.
Local installers are unsigned until the maintainer configures Windows code signing.
Use [Tauri's signing guide](https://v2.tauri.app/distribute/sign/windows/) before public distribution.
## Installer checks
| Check | Expected result |
| --- | --- |
| Install on an account without Node.js or Rust | Setup completes and RuneStone opens |
| Install without WebView2, with internet access | Setup installs the runtime and RuneStone opens |
| Open RuneStone from the Start menu | The app opens without a terminal or development server |
| Create a workspace outside the installation folder | Notes save and reopen |
| Install a newer version | Setup updates the app and preserves workspace files |
| Try to install an older version | Setup blocks the downgrade |
| Remove RuneStone through Windows Settings | The app and shortcuts disappear, and the separate workspace remains |
These checks require a Windows test account or virtual machine. A successful build alone does not confirm them.
See the [archive](archive/README.md) for dated implementation records and proposals.
Maintainers use the [build guide](builds.md) to package installers and run installation checks.
+1 -1
View File
@@ -52,7 +52,7 @@ Restricted permissions and the remaining spreadsheet modules are still planned.
**Milestone:** A user can enable a packaged plugin, use it with workspace files,
and disable it while retaining access to those files in the core editor.
Project management plugin planning lives in the separate [RuneStone_PM roadmap](../../RuneStone_PM/roadmap.md).
Project Management plugin planning lives in the separate [Project Management roadmap](../../RuneStone_ProjectManagement/roadmap.md).
## Why this order?
+110
View File
@@ -0,0 +1,110 @@
# Interface design
[Back to development](development.md)
RuneStone uses compact controls, clear icons, and shared theme values.
This reference describes the interface and its shared dimensions. Agent instructions remain in [AGENTS.md](../AGENTS.md).
## Design principles
Keep attention on the user's work. Use quiet backgrounds for the active view and reserve strong accents for alerts or actions that need attention.
Tabs can join visually with their content area. A selected view does not need a bright border or a repeated heading.
Show each board name once in the main controls. Keep switching and renaming as separate actions with clear targets.
Avoid repeated view names, instructions, and descriptions when the visible content already explains the current view.
Use familiar icons and visual previews to explain choices. Keep visible labels when an icon alone has more than one likely meaning.
Every icon control needs an accessible name, a tooltip on hover and keyboard focus, and a comfortable target.
Use a preview for visual choices such as themes and table styles.
Treat these principles as the basis for shared components and plugin interfaces.
Check the user's work area first during reviews. Controls must support that work without competing for attention.
## Window and navigation
The main window and Settings use the same 36-pixel titlebar height: `--rs-titlebar-height`.
The main header holds navigation, document tabs, actions, and window controls.
Files, Search, Bookmarks, and installed sidebar views such as Git share the top navigation group.
Editor views from plugins can use the vertical plugin ribbon. The ribbon uses no width when it has no entries.
The active navigation button shows which view occupies the left pane.
Document and plugin tabs share the tab bar. The new-tab button follows the tabs.
Tabs retain their order and pin state when a plugin replaces its current view.
The last closed tab leaves an empty New tab. Sidebar widths and visibility persist across window sessions.
Opening a different editor does not restore a hidden outline.
## Icons and controls
Use a recognizable icon for a familiar action. Pair ambiguous icons with short labels.
Icon-only buttons have accessible names and tooltips on hover and keyboard focus.
Reuse the same icon for the same action. Shared icon buttons use 28-pixel targets.
Do not add icons to explanations or settings that have no clear visual equivalent.
Controls and navigation highlights use `--rs-control-radius`, currently 5 pixels.
Selection outlines use `--rs-item-selection-radius` and the shared `--rs-item-selection-*` color and width values.
Adjacent selected items share one continuous fill and an outline around the exposed perimeter.
Separate groups retain separate outlines. Nested rows retain exposed edges at indentation changes.
Document table cells and their selection outlines stay square. Table toolbar buttons and menus remain rounded.
## Menus and dropdown actions
Action menus use `src/lib/ui/actionMenu.ts`. Svelte callers can use `ContextMenu.svelte`.
`src/lib/ui/menu.css` supplies shared presentation. `src/lib/theme/tokens.css` supplies dimensions and colors.
Feature code does not override menu rows. Menu width can expand when content needs more space.
| Token | Default | Purpose |
| --- | --- | --- |
| `--rs-menu-width` | 248px | Standard menu width |
| `--rs-menu-padding` | 5px | Inset around rows |
| `--rs-menu-row-height` | 26px | Minimum row height |
| `--rs-menu-row-padding` | 3px 8px | Vertical and horizontal row padding |
| `--rs-menu-font-size` | 12px | Shared text size |
| `--rs-menu-icon-size` | 14px | Action icon size |
| `--rs-menu-icon-gap` | 8px | Space between icon and label |
All rows reserve an icon column. Shortcut text and submenu arrows occupy trailing columns.
Enabled rows share hover and keyboard focus colors. Disabled rows stay readable and cannot run.
Menus support arrow keys, Home, End, Enter, Space, and Escape.
Right opens a submenu. Left returns to its parent. Keyboard dismissal restores focus.
Menus stay inside the viewport and scroll when their contents exceed its height.
Searchable pickers and form dialogs can use richer layouts. Native select controls retain platform behavior.
## Settings
Settings navigation pairs icons with labels. Each settings page uses readable text and ordinary controls.
Related plugin metadata and actions occupy compact rows. Controls wrap at narrow widths, and the content area scrolls.
Long navigation lists must leave room for the selected page.
| Shared token | Default |
| --- | --- |
| `--rs-settings-row-padding` | 10px |
| `--rs-settings-control-height` | 28px |
| `--rs-settings-heading-size` | 18px |
| `--rs-settings-description-size` | 12px |
| `--rs-settings-gap` | 8px |
| `--rs-settings-section-gap` | 16px |
## Typography and tables
The interface uses `--rs-font-ui`, and prose uses `--rs-font-prose`.
The IDE and Terminal share `--rs-font-mono` and `--rs-code-font-weight`.
The monospace stack starts with Cascadia Mono, then Cascadia Code, JetBrains Mono, Fira Code, and Consolas.
The default code weight is 300. Actual appearance depends on installed fonts and their available weights.
Terminal font-size preferences remain independent.
Tables use shared cell padding and line height. Entering a cell does not change its row height.
A plain paragraph after a table remains a paragraph when the separator line is removed.
Table rows need an unescaped pipe. Writer and Reading use the same row boundary rule.
## Checks for interface changes
Check light and dark themes, keyboard use, focus indicators, narrow windows, and viewport edges.
For selection changes, check single items, contiguous ranges, separate groups, and nested rows.
For Settings changes, include long plugin lists. For tab changes, include plugin views and pinned tabs.
Run `node scripts/menuConsistency.smoke.mjs` against the development server after shared menu changes.
The menu check covers file, folder, pane, tab, editor, table, and submenu examples.
Use `SMOKE_URL` to select the server URL. Use `PLAYWRIGHT_MODULE` and `CHROME_PATH` when the environment needs explicit paths.
Browser tests with desktop mocks do not replace native installer and window acceptance checks.
+147 -162
View File
@@ -1,173 +1,158 @@
# User guide
[Back to RuneStone](../README.md)
[RuneStone](../README.md) · [Installation](installation.md) · [Release history](releases.md)
Current features and limitations as of October 2026.
This guide describes current source behavior. A supplied installer can contain an earlier feature set.
Check its release notes if a control is missing.
## Settings and help
| Task | Go to |
| --- | --- |
| Open a workspace or create files | [Files and workspaces](#open-a-workspace) |
| Write, read, or follow a link | [Edit documents](#edit-documents) |
| Work with images, diagrams, or tables | [Document tools](guides/document-tools.md) |
| Save a reusable note | [Templates](#use-note-templates) |
| Change colors | [Appearance](guides/themes.md) |
| Run commands or scripts | [Terminal guide](guides/terminal.md) |
| Resolve a changed or missing file | [File conflicts](#resolve-file-conflicts) |
Use the gear beside the workspace selector to open Settings, or press Ctrl+,.
Use the question mark beside it to open Help and about, or press F1.
Both shortcuts work when the sidebar is hidden.
## Open a workspace
General settings control auto-save. It starts enabled, with a five-second interval.
Choose a whole number from 1 to 300 seconds, or turn auto-save off.
Changes apply when you leave the interval field and persist across restarts.
These preferences apply to all workspaces on this device. Other open windows receive changes immediately.
Restore defaults enables auto-save and sets the interval to five seconds.
Use the folder button or Ctrl+O to open a folder or choose a recent workspace.
The menu shows full paths and remembers the 20 most recent folders.
New workspace creates a named folder without replacing an existing folder.
Opening another workspace creates a new window and keeps the current window's documents and terminals.
Search settings to find a category. Plug-ins lists installed packages, including Terminal and Table formulas after installation.
No plugin starts automatically in a fresh installation. Enable changes persist across restarts and open windows.
Disabling Terminal ends its sessions. Disabling Table formulas keeps the formula source and basic table editing.
Use Install plugin ZIP for local packages, or Install from Git link for an experimental Gitea release download.
The puzzle button opens installed plugin commands and views. See the [plugin guide](plugins.md#experimental-installation-from-a-gitea-link) for release and private-access requirements.
Uninstall requires one confirmation and preserves settings, source packages, and workspace documents.
See the [plugin guide](plugins.md) for package formats, removal, and current boundaries.
Help and about includes the app version, basic instructions, and keyboard shortcuts.
Press Escape or use the close button to return to your work.
RuneStone uses ordinary files. The navigator, Quick Open, and search do not apply Git ignore rules.
They hide `.git`, `.obsidian`, and temporary save files. The navigator hides `.runestone` by default.
Settings → General → Show .runestone folder reveals workspace configuration files in the navigator.
The navigator does not traverse directory symlinks.
## Workspace, editing, and terminals
## Create and find files
- The navigator, Quick Open, and search do not apply `.gitignore`, `.ignore`, or global Git exclusions.
Internal folders (`.git`, `.obsidian`, and `.runestone`) and temporary save files stay hidden.
- The folder button and Ctrl+O open recent workspaces, with the current workspace
marked and full paths shown. The list remembers the 20 most recently opened
folders across restarts. Open another folder from the bottom of the menu, or
choose New workspace to create and open a named folder in a chosen location.
Existing folders are never overwritten. Opening or creating a workspace opens
a new window, keeping the current window's documents and terminals in place.
- Markdown's writing layout is one continuous document with live formatting.
Type freely, press Enter to continue, and use arrow keys or select across lines.
The active line reveals its raw Markdown, including link destinations and task
markers. Other lines show formatting. Checkboxes stay beside their item text. Clicking one updates the Markdown and completed items are struck through.
Ctrl+click follows links. There is no formatting toolbar.
Ctrl+E switches to the IDE source editor; Split and Read remain available.
Writing edits update the shared source model without converting through HTML,
preserving Markdown syntax, frontmatter and Windows line endings. Mermaid code,
tables and images preview inline. Table cells can be edited directly.
- Click a note's title in Writing to rename its file. Enter or leaving the field
saves the name; Escape cancels. The folder and Markdown extension are preserved,
and renaming keeps the note's contents and editing history.
- Drag a workspace image from the navigator into a Markdown editor to insert a
relative link to the existing file. An “Insert image” hint marks the editor;
Escape cancels the drag. Dropping files from the system file explorer or pasting
images copies them into `attachments/` with unique filenames. Undo removes the
inserted links while keeping the image files.
In Writing, image Markdown stays hidden until **Edit image source** is pressed. The image remains visible while editing. Hide it again with the same button,
Escape, or by moving the cursor away. Click an image to select it, then
right-click or press Shift+F10 for copy image, copy Markdown, swap image, remove
image, zoom, edit source, open in a new tab, copy path, and show in Explorer.
Remove image or Delete removes only that embed from the note and supports undo.
Zoom supports fit, magnification and Escape to close, including in Split and Read.
- Right-click Markdown text in writing or source mode (or press Shift+F10) for
note/external links, selection search, extraction, formatting, and clipboard
actions. Format includes bold, italic, strike, highlight, code, math, comments,
and clear formatting. Paragraph applies lists, tasks, headings 1–6, body text,
or quotes to the selected lines. Insert adds footnotes, tables, callouts,
horizontal rules, code blocks, and math blocks as Markdown source. Use arrow
keys to navigate submenus and Escape to return to editing. Obsidian Bases are
not supported.
- Tables keep readable column widths and render `<br>` as cell line breaks.
Hover beside a table's right edge to add a column, or below its bottom edge to
add a row. Clicking a cell edits its contents. Wide tables scroll within the document.
Grips appear on hover or keyboard focus above columns and beside body rows.
Drag a grip to reorder: a preview follows the pointer, the source row/column
stays highlighted, and a line marks the drop position. Drag near an edge
to scroll, or press Escape to cancel. Focus a grip and use arrow keys to move it.
Row moves keep the Markdown header fixed. Columns carry their alignment with them.
Drag across cells or Shift+click to select a rectangle, then right-click for
cut/copy/paste, bold, italic, strikethrough, highlight, code, math, comment,
clear formatting, alignment, clear cells, and delete cells. Clipboard shortcuts,
Ctrl+B/I, Shift+arrow selection, and undo/redo work on the selected cells.
TSV or Markdown tables paste as a grid and expand the table when needed.
Alignment applies to selected columns, as required by Markdown. Clear empties
contents; Delete removes complete selected rows/columns, or shifts a partial
selection left. Math stores inline `$…$` syntax. Comments use `%%…%%` and are
hidden in Read mode. Each operation can be undone in one step.
Right-clicking text within a cell preserves the selected words and offers note
links, external links, workspace search, extraction to a new note, formatting,
rich/plain-text paste, and Select all. Extraction saves the selected Markdown
in a new file and replaces the selection with a note link. Undo restores the
original text without deleting the new note. Row and Column submenus insert,
move, duplicate, and delete at the clicked cell. Column moves keep alignment. Sorting is stable and natural (2 before 10), leaves blanks last, and keeps the
header fixed. Context-menu actions and table edge buttons have matching icons.
- Table formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
`=SUM(B2:B10)`, or `=ROUND(B2/3, 2)`. Columns use A, B, …, AA. Row 1 is
the header, so the first data row is 2. References stay inside the current table.
Arithmetic supports `+`, `-`, `*`, `/`, `^`, parentheses, and postfix `%`.
Functions include SUM, AVERAGE, MIN, MAX, COUNT, ABS, and ROUND.
Separate function arguments with commas: `=AVERAGE(B2,C2)` averages two cells.
A colon selects a range: `=AVERAGE(B2:C2)`.
Aggregates ignore text and blank cells. Arithmetic treats blank cells as zero.
Results recalculate in Writing, Split, and Read. Click a result to edit its
formula; Enter commits it and Tab moves to the next cell. The Formulas control
below each table explains the syntax, and the active cell shows its address.
Invalid formulas, missing cells, and circular references display error labels.
Markdown stores the formula itself, so other apps display readable source.
Use code formatting or `\=` to keep formula-like text literal. References are
positional: copying, inserting, deleting, sorting, or moving cells does not
rewrite addresses. Cross-table references and automatic fill are not supported.
- Tabs retain their editor models, undo history, cursor and scroll state while open.
- Drag a tab left or right to change its position. Hold it near either edge to scroll through other tabs.
- Right-click a tab for Move tab left and Move tab right. With a tab focused, use Alt+Shift+Left or Alt+Shift+Right.
Use the arrow keys, Home, or End to select tabs. Press Escape to cancel a drag.
- Click the + beside the tabs or press Ctrl T to open an empty tab. Open or create a file from there to use that tab. No file is created until you choose New file.
- Changed notes and scripts auto-save every five seconds by default, including background tabs.
Use Settings to change the interval or turn auto-save off.
Unchanged files are never rewritten. Ctrl+S saves immediately. Disk conflicts
and unavailable files preserve your edits for resolution instead of overwriting.
- The reader uses a Markdown parser for paragraphs, nested lists, tables, tasks,
code blocks and reference images. Frontmatter sits in a collapsed Properties
section. Wiki links, note callouts and locally rendered Mermaid diagrams are
supported in Writing, Split and Read. Diagram source remains available to copy. Invalid diagrams show a message and their source. Toolbar icons show tooltips
on hover or keyboard focus; Split view stacks vertically in narrow panes.
- Ctrl+P finds files by path. Ctrl+N creates a note or script at a workspace-relative
path. Ctrl+S saves. Ctrl+Shift+F opens workspace search; Ctrl+F searches the editor.
- Ctrl+` or Ctrl+J shows or hides the terminal, preserving sessions and scrollback.
New Terminal (Ctrl+Shift+`) creates an independent shell; Split (Ctrl+Shift+5)
adds a resizable pane in the active group and inherits its current directory/profile.
The terminal list appears only when multiple sessions exist. Kill terminates a
session; Delete does the same while a terminal-list entry has focus. Maximize
and Restore change the panel size without restarting shells.
- The dropdown immediately beside New Terminal offers installed PowerShell,
PowerShell 7, Git Bash, Command Prompt, and Bash profiles, a default-profile
picker, terminal settings, tasks, and separate terminal windows
(Ctrl+Shift+Alt+`). Font size, scrollback, cursor blinking, and default profile
persist locally. New terminals inherit the app environment, including PATH.
- More terminal actions clears scrollback, runs selected editor text, or saves
and runs the active script. Supported runners include Python, JavaScript,
PowerShell, Bash, Ruby, Windows batch files, and executables. Their runtimes
must be installed. Recent-command (Ctrl+Alt+R) and directory (Ctrl+G) pickers
work while the terminal is focused. Ctrl+Up/Down navigates prompt markers.
History is kept in memory for the current dock; PowerShell/Bash report commands
after completion, while Command Prompt captures submitted text at its prompt.
- Configure Tasks creates/opens `.runestone/tasks.json`. Its `tasks` array contains
objects with `label`, `command`, and an optional `profile` ID (`powershell`,
`pwsh`, `git-bash`, `cmd`, or `bash`). Run Task starts the chosen command in its
own terminal at the workspace root. Tasks run only when explicitly selected.
- JavaScript Debug Terminal starts a Node.js REPL with a local inspector on an
available port. Attach an external debugger using the printed address.
RuneStone does not provide VS Code's debugger or automatic debug attachment.
Start Dictation invokes Windows voice typing (Win+H) in the focused terminal;
Windows microphone/voice-typing configuration is required. Other platforms
use their operating system's dictation shortcut.
- Closing a detached terminal window terminates its sessions. Switching workspace
closes detached terminal windows and ends the old workspace's sessions.
- File watching reloads clean buffers after an agent or another application changes
them. Dirty buffers display a conflict with the disk version and explicit choices
to use it, keep local edits, or save a copy. Missing files retain their open buffer.
- Saves compare the current disk text with the saved baseline, prepare a complete
temporary file, then replace the destination. This prevents known stale saves and
truncation on failed writes. It does not lock out other processes. Concurrent tools
can still write between the last comparison and replacement.
- Closing a dirty tab, switching workspaces, and closing the desktop window prompt
before discarding edits or terminating terminal sessions.
- `.git`, `.obsidian`, `.runestone`, and temporary save files are hidden from the
navigator/search. Directory symlinks are not traversed by the navigator.
Press Ctrl+N for New file. Enter the complete filename, including its extension, such as `notes/meeting.md` or `scripts/check.py`.
RuneStone does not add an extension to New file.
New note creates a Markdown file. The note title can then rename it.
## Limitations
Use Ctrl+P to find files by path. Ctrl+Shift+F searches the workspace, and Ctrl+F searches the editor.
Right-click a file or folder for its available actions. Drag files between folders to reorganize them.
With the navigator focused, Ctrl+Z undoes a file move and Ctrl+Shift+Z repeats it.
Vault-wide wiki-link resolution, backlinks and math rendering still need work.
Git UI, language servers, restricted plugin permissions, persistent tab restoration and crash recovery
are not implemented. Unsaved buffers and terminals last for the current app
session only.
## Edit documents
Writer shows Markdown as a continuous document. The active line reveals its source, while other lines show formatting.
Use Enter, arrow keys, and ordinary text selection to edit across lines.
Checkboxes update their task markers, and completed tasks show a strike through their text.
Ctrl+E switches between Writer and the IDE source editor. The document controls select Edit, Read, or Split.
Hover a control or focus it with the keyboard to see its label. Split stacks vertically in narrow panes.
Writer edits preserve Markdown source, frontmatter, and Windows line endings.
Read displays frontmatter in a collapsed Properties section.
Ctrl+click opens links in Writer and IDE mode. Workspace file links open a tab and retain the source document.
Read mode follows links with an ordinary click. Wiki links, note callouts, and Mermaid diagrams work in document views.
Code blocks remain editable on the first click. Their Copy code button copies the body without the Markdown fences.
Click the note title in Writer to rename its file. Enter or leaving the field saves the name, and Escape cancels.
The rename keeps the folder, Markdown extension, contents, and editing history.
### Format text
Right-click Markdown text, or press Shift+F10, for formatting, links, search, extraction, and clipboard actions.
Use arrow keys for submenus and Escape to return to editing.
| Menu | Actions |
| --- | --- |
| Format | Bold, italic, strike, highlight, code, math, comments, and clear formatting |
| Paragraph | Lists, tasks, headings 1–6, body text, and quotes |
| Insert | Footnotes, tables, callouts, horizontal rules, code blocks, and math blocks |
There is no formatting toolbar. Obsidian Bases are not supported.
Right-click a misspelled word for the operating system's spelling suggestions when available.
Windows can retain its native spelling menu when WebView2 cannot expose suggestion labels to RuneStone.
## Use note templates
1. Right-click a Markdown file or its tab.
2. Choose Save as template and enter a name.
3. Choose the saved template from New note.
Templates belong to the current workspace and live in `.runestone/templates/` as Markdown files.
New note copies the template into a new file. Duplicate names receive a unique filename.
Editing the new note does not change the template. New file still accepts an exact filename and extension.
## Manage tabs
Tabs retain their editor models, undo history, cursor, and scroll position while open.
Click + or press Ctrl+T for an empty tab. Opening or creating a file uses that tab.
Ctrl+Tab selects the next tab, and Ctrl+Shift+Tab selects the previous tab.
Drag a tab to reorder it. Holding it near an edge scrolls the tab strip, and Escape cancels the drag.
Right-click a tab for Move tab left or Move tab right.
With a tab focused, Alt+Shift+Left or Alt+Shift+Right moves it. Arrow keys, Home, and End select tabs.
Drag a tab outside the tab strip to move it into a new window.
You can also right-click the tab and choose Open in new window.
RuneStone transfers the current buffer, including unsaved text. It closes the source tab after the new window accepts the transfer.
If the transfer fails or the source buffer changes before acceptance, the source tab remains open.
## Save your work
Auto-save starts enabled with a five-second interval and includes background tabs.
Ctrl+S saves immediately. RuneStone does not rewrite unchanged files.
Settings → General accepts an interval from 1 to 300 seconds or turns auto-save off.
The interval changes when you leave the field. Restore defaults enables the five-second interval again.
Closing a dirty tab or desktop window asks before it discards edits or ends terminal sessions.
Open tabs and unsaved buffers do not restore after an application restart.
## Resolve file conflicts
Clean buffers reload when another tool changes the file. A buffer with local edits shows a disk conflict instead.
Choose the disk version, keep local edits, or save a copy. Missing files keep their open buffer.
Saves compare disk text with the saved baseline, write a complete temporary file, then replace the destination.
Failed writes keep the edits available. This process does not lock other tools out of the file.
Another process can still write between the final comparison and replacement.
## Change settings or add plugins
The gear beside the workspace selector opens Settings. Ctrl+, works when the sidebar is hidden.
Settings searches by category. Preferences apply to all workspaces on this device and synchronize across open windows.
The desktop uses a separate Settings window. The browser preview uses a dialog.
Settings → Appearance selects built-in colors or installs a theme. See the [appearance guide](guides/themes.md).
Settings → Plug-ins installs local ZIPs or experimental Gitea release links.
Use the [plugin guide](plugins.md#install-a-plugin) for installation, access, and removal details.
No optional plugin starts automatically in a fresh installation. Enable choices persist across restarts and windows.
Disabling Terminal ends its sessions. Disabling Table formulas preserves formulas and basic table editing.
Uninstall removes the installed package after confirmation and retains its settings and workspace documents.
## Keyboard reference
These are the Windows/Linux shortcuts. macOS desktop behavior still needs native tests.
| Action | Shortcut |
| --- | --- |
| Open workspace / Find file / New file | Ctrl+O / Ctrl+P / Ctrl+N |
| New tab / Close tab | Ctrl+T / Ctrl+W |
| Next tab / Previous tab | Ctrl+Tab / Ctrl+Shift+Tab |
| Save / Find in document / Search workspace | Ctrl+S / Ctrl+F / Ctrl+Shift+F |
| Switch Writer and IDE | Ctrl+E |
| Context actions | Shift+F10 |
| Settings / Help and about | Ctrl+, / F1 |
The [Terminal guide](guides/terminal.md) lists plugin shortcuts.
## Get help and check limits
Press F1 or use the question mark beside the workspace selector for Help and about.
It shows the app version, basic instructions, and shortcuts. Escape or the close button returns to the document.
Vault-wide wiki-link resolution, backlinks, and math rendering still need work.
Language servers, restricted plugin permissions, persistent tabs after restart, and crash recovery remain planned.
Git controls are available through the optional Git plugin. Git is no longer only a planned feature.
Unsaved buffers and terminal sessions last only for the current application session.
For setup failures, use [installation help](installation.md#setup-help).
For a reproducible problem, record the app version, operating system, steps, expected result, and error text.