Add workspace links, restore tabs, and update project guides
This commit is contained in:
+35
-7
@@ -1,6 +1,6 @@
|
||||
# Development guide
|
||||
|
||||
[RuneStone](../README.md) · [Interface design](ui-design.md) · [Build and package](builds.md) · [Plugin development](plugins.md)
|
||||
[RuneStone](../README.md) · [Interface design](ui-design.md) · [Build and package](builds.md) · [Plugin development](plugin-development.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).
|
||||
@@ -67,12 +67,37 @@ 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.
|
||||
|
||||
Use the [Linux readiness guide](linux.md) for Linux setup, native tests, and package checks.
|
||||
Use the [Linux development guide](linux.md) for source prerequisites, Browser preparation, and native desktop checks.
|
||||
Use the [Linux package build guide](builds.md#build-linux-packages) for Debian and AppImage builds.
|
||||
|
||||
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.
|
||||
See the [user guide](user-guide.md) for current behavior and limits.
|
||||
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.
|
||||
Use the [plugin development reference](plugin-development.md) for build examples, package requirements, releases, and the API.
|
||||
Use the [plugin host reference](plugin-host.md) for installation internals, recovery, and host checks.
|
||||
|
||||
## Product boundaries
|
||||
|
||||
RuneStone keeps workspace documents as ordinary local files.
|
||||
Basic Markdown table editing and rendering belong in the core.
|
||||
Users must retain access to workspace files when plugins are disabled.
|
||||
Store workspace display order, pins, and bookmarks in `.runestone/`.
|
||||
Store installed plugins and retained plugin settings in application data. See [plugin storage](plugin-host.md#storage-and-recovery).
|
||||
Prefer a local Git clone. Do not use a live network share as the sync path.
|
||||
|
||||
Native file access, file watching, search, Git, and terminal services belong in Rust.
|
||||
The [plugin development reference](plugin-development.md) defines the supported package format and host API.
|
||||
The [built-in browser runtime](#built-in-browser-runtime) has its own architecture and setup requirements.
|
||||
|
||||
The following remain outside the product scope:
|
||||
|
||||
- A plugin marketplace
|
||||
- Obsidian or VS Code plugin compatibility
|
||||
- Cloud sync, live collaboration, or mobile
|
||||
- A debugger or a full IDE
|
||||
- Auto-commit on save
|
||||
|
||||
Track future work and roadmaps in RuneStone Project Management.
|
||||
|
||||
## Run from source
|
||||
|
||||
@@ -138,9 +163,10 @@ detected shell profile and check shell prompt integration.
|
||||
A browser can show the interface, but real folder access, file writes, and terminals require the desktop host.
|
||||
Use `pnpm tauri dev` for manual tests of those features.
|
||||
|
||||
Run `pnpm build:plugins` before tests that use Terminal or Table Formulas.
|
||||
Clone [RuneStone_Table_Formulas](https://git.knottywyvern.com/kwyvern-gitea/RuneStone_TableFormulas) beside RuneStone and install its dependencies first.
|
||||
Set `RUNESTONE_TABLE_FORMULAS_ROOT` if that checkout is elsewhere.
|
||||
Before tests that use plugin packages, build each required plugin with its own command.
|
||||
Use the [Table Formulas example](plugin-development.md#example-table-formulas) and the [Terminal example](plugin-development.md#example-terminal).
|
||||
`pnpm build:plugins` builds only Table Formulas.
|
||||
See the [plugin host checks](plugin-host.md#modules-and-checks) for compiled package paths and overrides.
|
||||
These tests load the compiled packages through the production module loader.
|
||||
The browser tests use the real interface with mocked desktop communication.
|
||||
They do not replace native desktop tests.
|
||||
@@ -202,3 +228,5 @@ Runtime compilation and staging do not produce a new RuneStone installer version
|
||||
The installer includes the staged runtime from `src-tauri/browser-engine`. Follow the project version policy when creating that installer.
|
||||
Use `scripts/browserInteraction.smoke.mjs` to check the host interface against a real runtime.
|
||||
Keep its results separate from the native Tauri window checks.
|
||||
|
||||
Browser startup obtains a session token for its window. Native requests check that token, and cleanup revokes it.
|
||||
|
||||
Reference in New Issue
Block a user