Initial RuneStone project
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
# Development guide
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
|
||||
## Stack
|
||||
|
||||
RuneStone uses Tauri 2 and Rust for the desktop host.
|
||||
The interface uses Svelte 5, TypeScript, and Vite.
|
||||
CodeMirror handles live Markdown editing, Monaco handles source editing, and xterm handles terminals.
|
||||
Windows is the first target. The older WriterHost component remains unused.
|
||||
|
||||
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).
|
||||
|
||||
## Run from source
|
||||
|
||||
These steps are for developers. App users can use the [Windows installer](installation.md).
|
||||
|
||||
### Requirements
|
||||
|
||||
- Node.js 22.12 or later and pnpm
|
||||
- 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.
|
||||
|
||||
1. Download or clone this repository.
|
||||
2. Open a terminal in the repository folder.
|
||||
3. Run `pnpm install --frozen-lockfile`.
|
||||
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.
|
||||
|
||||
## Checks
|
||||
|
||||
Run these commands from the repository folder:
|
||||
|
||||
```sh
|
||||
pnpm check
|
||||
pnpm test
|
||||
pnpm build
|
||||
cargo test --manifest-path src-tauri/Cargo.toml --lib --offline
|
||||
```
|
||||
|
||||
The offline Rust command requires cached dependencies. Omit `--offline` if Cargo needs to download them.
|
||||
`pnpm build` builds the frontend. Use `pnpm tauri build` to build the desktop app.
|
||||
|
||||
The Rust tests cover real terminal shells, working directories, Unicode output,
|
||||
resizing, exit status, and session termination. Native terminal tests launch each
|
||||
detected shell profile and check shell prompt integration.
|
||||
|
||||
## Browser smoke tests
|
||||
|
||||
The browser tests use the real interface with mocked desktop communication.
|
||||
They do not replace native desktop tests.
|
||||
|
||||
1. Install Playwright, or set `PLAYWRIGHT_MODULE` to a shared Playwright package.
|
||||
2. Start the frontend with `pnpm dev`.
|
||||
3. In a second terminal, run a smoke script, such as `node scripts/workbench.smoke.mjs`.
|
||||
|
||||
Set `CHROME_PATH` if you need to select an installed browser executable.
|
||||
|
||||
| Script | Coverage |
|
||||
| --- | --- |
|
||||
| `scripts/workbench.smoke.mjs` | The Svelte, Monaco, and xterm interface |
|
||||
| `scripts/terminal.smoke.mjs` | Terminal groups, single-session layout, menus, profiles, history, tasks, settings, and editor actions |
|
||||
| `scripts/images.smoke.mjs` | Image drops, clipboard imports, source editing, zoom, undo, failed writes, and tab changes during imports |
|
||||
| `scripts/imageNavigation.smoke.mjs` | Navigator pointer drags, hidden image source, selection, context actions, inline/reference images, and drag cancellation |
|
||||
|
||||
Additional smoke scripts live in `scripts/`.
|
||||
@@ -0,0 +1,47 @@
|
||||
# Installation guide
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
|
||||
## 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 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.
|
||||
|
||||
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 RuneStone
|
||||
|
||||
1. Save your open documents.
|
||||
2. Close all RuneStone windows.
|
||||
3. Open the installer for the newer version.
|
||||
4. Follow the setup steps.
|
||||
|
||||
The installer replaces the app. Your workspace files stay in their current folders.
|
||||
Setup blocks older versions from replacing a newer version.
|
||||
|
||||
## Remove RuneStone
|
||||
|
||||
1. Open **Settings > Apps > Installed apps** in Windows 11, or **Apps & features** in Windows 10.
|
||||
2. Find **RuneStone**.
|
||||
3. Select **Uninstall**.
|
||||
|
||||
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.
|
||||
|
||||
## 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.
|
||||
|
||||
The [user guide](user-guide.md) explains the app controls.
|
||||
The [release guide](releases.md) explains how maintainers build and distribute installers.
|
||||
@@ -0,0 +1,87 @@
|
||||
# Product scope
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
|
||||
This reference preserves intended capabilities and design constraints. Some features already exist.
|
||||
See the [roadmap](roadmap.md) for goals and milestones, and the [user guide](user-guide.md) for current behavior and limitations.
|
||||
|
||||
The planned design keeps the core active and adds optional features through first-party plugins. Plugin support is not implemented yet.
|
||||
|
||||
## Workspace and files
|
||||
|
||||
- Open one folder as the workspace.
|
||||
- Keep notes, scripts, and images in the same tree.
|
||||
- Honor `.gitignore` in the navigator.
|
||||
- Watch the folder for changes. Poll when the path is a network drive.
|
||||
- Prefer a local Git clone. Do not treat a live network share as the sync path.
|
||||
- Store display order, pins, bookmarks, and plugin settings in `.runestone/`.
|
||||
- Open an existing Obsidian folder as files plus wiki links. Ignore `.obsidian`.
|
||||
|
||||
## Writer and IDE
|
||||
|
||||
- Use one editor engine for notes and code.
|
||||
- Switch chrome between Writer and IDE. Autodetect from the file type. Allow a per-file override.
|
||||
- Writer chrome uses wrapped text, a document preview, and image hover previews.
|
||||
- IDE chrome uses line numbers, a minimap, and a terminal dock.
|
||||
- Left-click a file in the navigation pane to open it in the current tab; middle-click to open it in a new tab. Tabs with unsaved edits stay open. Already-open files select their existing tab. Close a tab with the close control or the middle mouse button.
|
||||
- Support Markdown, Python, JavaScript, TypeScript, JSON, YAML, TOML, and shell at first.
|
||||
- Parse CommonMark, GFM tasks and tables, YAML frontmatter, wiki links, and tags.
|
||||
|
||||
## Navigator
|
||||
|
||||
- Show a left activity bar with Files, Search, and Bookmarks.
|
||||
- Click the active item again to hide the sidebar.
|
||||
- Right-click empty space to create a folder or a note.
|
||||
- Right-click a file for copy, bookmark, path copy, reveal, pin, rename, and delete.
|
||||
- Drag files and folders to move them or to set display order.
|
||||
- Save display order. Do not reorder inodes for sort.
|
||||
- Show a ribbon with new file, new folder, sort, and collapse all or expand all.
|
||||
|
||||
## Panes
|
||||
|
||||
- Show an outline of headings and symbols on the right. Allow collapse.
|
||||
- Show a minimap of the open buffer.
|
||||
- Open a terminal whose working directory is the workspace root.
|
||||
- Allow more than one terminal. Add a session and kill that session from a rail on the right of the dock.
|
||||
- Show a document preview that renders Markdown images.
|
||||
|
||||
## Plugins
|
||||
|
||||
Plugin support is pending. The plan is to ship extra features as first-party plugins with an on or off toggle. A marketplace is outside the planned scope.
|
||||
|
||||
Planned plugins enabled by default:
|
||||
|
||||
- Git. Status, stage, commit, pull, push, log, and diff. Use the system `git` binary.
|
||||
- Sort. Per-folder order, pin, and hide. Flexplorer is a reference for behavior, not a source of code.
|
||||
|
||||
Planned plugins disabled by default:
|
||||
|
||||
- Projects. Kanban is the first view. Calendar and Gantt share the same task index.
|
||||
- Graph. Draw wiki-link edges from the file index.
|
||||
- Canvas. Store `.canvas` files in JSON Canvas 1.0.
|
||||
- Browser. Open a page in an in-app webview. Block ads with EasyList and EasyPrivacy.
|
||||
|
||||
Kanban boards are Markdown files. Headings are columns. Task list items are cards.
|
||||
|
||||
## Later work
|
||||
|
||||
- Background Git for people who do not want to run Git by hand. Timed commit, pull, and push. A history limit is not designed yet.
|
||||
- Extend the existing live Markdown preview. See the [user guide](user-guide.md) for current behavior.
|
||||
- Language servers for diagnostics and go-to-definition.
|
||||
- Wiki-link jump and backlinks from a rebuildable index.
|
||||
- A command palette for every command.
|
||||
|
||||
## Out of scope
|
||||
|
||||
- A plugin marketplace or third-party loader
|
||||
- Obsidian or VS Code plugin compatibility
|
||||
- Cloud sync, live collaboration, or mobile
|
||||
- A debugger or a full IDE
|
||||
- Auto-commit on save
|
||||
|
||||
## Architecture goals
|
||||
|
||||
Dark is the primary theme.
|
||||
|
||||
Privileged operations belong in Rust: disk access, file watching, search, Git, terminal sessions, and adblock matching.
|
||||
Git and adblock matching belong to planned plugins.
|
||||
@@ -0,0 +1,69 @@
|
||||
# Release guide
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
|
||||
## 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
|
||||
|
||||
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.
|
||||
@@ -0,0 +1,59 @@
|
||||
# Product roadmap
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
|
||||
**Goal:** Make RuneStone a dependable place to write, understand, and run a project
|
||||
while keeping its files portable and under the user's control.
|
||||
|
||||
## Direction
|
||||
|
||||
This is a proposed progression from the existing editor to a broader workspace.
|
||||
No release dates are assigned.
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
accTitle: RuneStone product direction
|
||||
accDescr: First make daily work dependable, then help users understand connected projects, then let users choose optional workflows.
|
||||
daily("1. Trust daily work<br/>Write, run, and resume")
|
||||
understand("2. Understand the project<br/>Follow ideas and code")
|
||||
adapt("3. Choose your workflow<br/>Add only the tools you need")
|
||||
daily --> understand --> adapt
|
||||
```
|
||||
|
||||
## 1. Trust daily work
|
||||
|
||||
**Objective:** Make RuneStone dependable enough to serve as the everyday home for notes and scripts.
|
||||
|
||||
The current editor, local files, autosave, and terminals provide the foundation.
|
||||
Session restoration and crash recovery would let users resume work after an interruption.
|
||||
|
||||
**Milestone:** A user can write a note, run its companion script, restart the app,
|
||||
and resume the workspace with recoverable edits.
|
||||
|
||||
## 2. Understand the project
|
||||
|
||||
**Objective:** Help users move from a question to the related notes and code without losing context.
|
||||
|
||||
Reliable note links and backlinks would connect explanations.
|
||||
Code navigation and diagnostics would help users understand the scripts those explanations describe.
|
||||
|
||||
**Milestone:** A user can follow a note to related material, locate a code definition,
|
||||
and identify a reported code problem within the workspace.
|
||||
|
||||
## 3. Choose your workflow
|
||||
|
||||
**Objective:** Support different ways of working while keeping the core editor simple.
|
||||
|
||||
Plugin support is pending. A first-party plugin foundation would let users choose
|
||||
optional tools for version history, organization, planning, and visual exploration.
|
||||
|
||||
**Milestone:** A user can enable a first-party plugin, use it with workspace files,
|
||||
and disable it while retaining access to those files in the core editor.
|
||||
|
||||
## Why this order?
|
||||
|
||||
Reliable daily work establishes trust. Better navigation then helps users understand larger projects.
|
||||
Optional workflows build on that foundation while preserving a focused core.
|
||||
|
||||
Detailed capabilities and boundaries live in the [product scope](product-scope.md).
|
||||
The [user guide](user-guide.md) describes what works today.
|
||||
@@ -0,0 +1,145 @@
|
||||
# User guide
|
||||
|
||||
[Back to RuneStone](../README.md)
|
||||
|
||||
Current features and limitations as of September 2026.
|
||||
|
||||
## Workspace, editing, and terminals
|
||||
|
||||
- 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.
|
||||
- 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 autosave every 5 seconds, including background tabs.
|
||||
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.
|
||||
|
||||
## Limitations
|
||||
|
||||
Vault-wide wiki-link resolution, backlinks and math rendering still need work.
|
||||
Git UI, language servers, plugins, persistent tab restoration and crash recovery
|
||||
are not implemented. Unsaved buffers and terminals last for the current app
|
||||
session only.
|
||||
Reference in New Issue
Block a user