pi-weave 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -1
- package/package.json +2 -1
- package/src/web/client/dist/app.js +88 -124
- package/src/web/client/graph/ForceTuner.tsx +14 -98
- package/src/web/client/graph/Graph.tsx +11 -74
- package/src/web/client/graph/column.model.ts +3 -13
- package/src/web/client/graph/graph.model.ts +30 -62
- package/src/web/client/graph/groups.ts +9 -7
- package/src/web/client/graph/positions.ts +2 -2
- package/src/web/client/graph/renderer.dom.ts +2 -2
- package/src/web/client/graph/renderer.ts +5 -4
- package/src/web/client/graph/tuner.model.ts +6 -180
- package/src/web/client/main.tsx +1 -4
- package/src/web/client/note/Note.tsx +11 -1
- package/src/web/client/shell/Settings.tsx +71 -0
- package/src/web/client/shell/Shell.tsx +61 -24
- package/src/web/client/shell/StatusBar.tsx +1 -5
- package/src/web/client/shell/keys.model.ts +14 -8
- package/src/web/client/shell/shell.model.ts +1 -21
- package/src/web/client/shell/theme.model.ts +26 -96
- package/src/web/client/shell/theme.ts +20 -145
- package/src/web/client/shell/workspace.css.ts +27 -4
- package/src/web/server/backup.ts +59 -0
- package/src/web/server/routes.ts +12 -1
- package/src/web/shared/forces.ts +70 -0
- package/src/web/shared/layout.ts +4 -69
- package/src/web/shared/preferences.ts +76 -0
- package/src/web/shared/themes.ts +92 -0
- package/src/web/shared/workspace.ts +44 -4
package/README.md
CHANGED
|
@@ -156,6 +156,7 @@ Renaming or moving a note rewrites its inbound links automatically, so its backl
|
|
|
156
156
|
|
|
157
157
|
The browser workspace puts notes at the center, with a collapsible notes sidebar, document tabs, and optional context for links,
|
|
158
158
|
backlinks, tags, and code mentions. Open a note to replace the current document; `⌘` / `Ctrl` click a note or wiki-link to open a new tab.
|
|
159
|
+
Drag a tab title within its tab strip to reorder tabs, or use `Alt ←` / `Alt →` while the tab is focused.
|
|
159
160
|
Each document tab has its own Back/Forward history and reading position. The tab strip sits at the top of the workspace.
|
|
160
161
|
Use the ribbon search button or `⌘K` / `Ctrl K`; `⌘` / `Ctrl Enter` opens a result
|
|
161
162
|
in a new tab. **Recent** keeps its order while you browse; returning to it refreshes the visit order. Its rows show the same item icons
|
|
@@ -177,7 +178,19 @@ within a couple of seconds; the last writer wins.
|
|
|
177
178
|
Tabs, pane sizes, sidebars, theme, and reading positions restore for the same vault and repository, even when the local server port
|
|
178
179
|
changes. Presentation snapshots live under `$XDG_CONFIG_HOME/pi-weave/presentation` (or `~/.config/pi-weave/presentation`), separate from
|
|
179
180
|
the knowledge files. Unsaved text stays in memory and is guarded on reload/close; it is not restored after closing the browser. Missing
|
|
180
|
-
notes do not prevent the other tabs from restoring. The workspace follows the system theme unless you choose
|
|
181
|
+
notes do not prevent the other tabs from restoring. The workspace follows the system theme unless you choose a palette in Settings.
|
|
182
|
+
|
|
183
|
+
Open **Settings** with the gear button or `⌘,` / `Ctrl ,`. General includes workspace locations, refresh, documentation, and
|
|
184
|
+
keyboard shortcuts. Appearance offers six Catppuccin palettes and three additional light/dark pairs, an independent accent selector,
|
|
185
|
+
and note font size. Choose a light theme and a dark theme; the ribbon button and `t` switch between those two. System mode follows
|
|
186
|
+
your device using the selected pair. Interface holds sidebar visibility, group colors, and the live graph layout sliders. Editor controls spellcheck,
|
|
187
|
+
readable line length, and whether newly opened notes start in editing mode. Files controls startup tabs and whether new tabs take focus.
|
|
188
|
+
These preferences are stored with the workspace snapshots.
|
|
189
|
+
|
|
190
|
+
**Settings → Backup → Download vault ZIP** exports saved vault files, including attachments, hidden metadata, empty folders, and linked
|
|
191
|
+
content. Save unsaved drafts before downloading. Backups are manual; there is no scheduled backup or sync. Restore by extracting the ZIP
|
|
192
|
+
into a vault directory. Symbolic-link cycles, unreadable files, and entries outside ZIP format limits produce an error instead of a partial
|
|
193
|
+
archive. Presentation snapshots and the separate repository index are not part of the vault download.
|
|
181
194
|
|
|
182
195
|
This browser facelift is the first stage toward a dedicated macOS window. `/weave-view` still launches the browser, and the agent owns
|
|
183
196
|
the local server's lifetime.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-weave",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Local-first Markdown memory and knowledge graph for Pi and OpenCode: preserve decisions, recall sessions, and explore notes with code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"vitest": "^3.2.4"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
+
"fflate": "^0.8.3",
|
|
96
97
|
"zod": "4.1.8"
|
|
97
98
|
}
|
|
98
99
|
}
|