pi-weave 0.3.9 → 0.3.10
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 +5 -2
- package/package.json +1 -1
- package/src/web/client/context/context.model.ts +5 -0
- package/src/web/client/dist/app.js +392 -153
- package/src/web/client/graph/Graph.tsx +143 -12
- package/src/web/client/graph/column.model.ts +58 -1
- package/src/web/client/graph/graph.model.ts +114 -0
- package/src/web/client/graph/renderer.ts +21 -7
- package/src/web/client/graph/spotlight.model.ts +472 -0
- package/src/web/client/note/Note.tsx +212 -59
- package/src/web/client/note/Replay.tsx +18 -7
- package/src/web/client/note/drafts.ts +69 -6
- package/src/web/client/note/editbar.model.ts +153 -0
- package/src/web/client/note/note.model.ts +65 -1
- package/src/web/client/note/replay.model.ts +75 -0
- package/src/web/client/search/SearchPalette.tsx +103 -34
- package/src/web/client/search/search.model.ts +533 -26
- package/src/web/client/shell/Shell.tsx +61 -19
- package/src/web/client/shell/StatusBar.tsx +1 -0
- package/src/web/client/shell/icons.model.ts +68 -1
- package/src/web/client/shell/keys.model.ts +11 -1
- package/src/web/client/shell/shell.model.ts +48 -1
- package/src/web/client/shell/theme.model.ts +3 -0
- package/src/web/client/shell/theme.ts +252 -47
- package/src/web/client/shell/workspace.css.ts +38 -11
- package/src/web/shared/themes.ts +1 -1
- package/src/web/shared/workspace.ts +10 -2
package/README.md
CHANGED
|
@@ -158,10 +158,13 @@ Renaming or moving a note rewrites its inbound links automatically, so its backl
|
|
|
158
158
|
Browse and search your notes, follow links, or explore the graph. Use tabs and split panes to keep related notes side by side.
|
|
159
159
|
Notes update within a couple of seconds as your agent writes them.
|
|
160
160
|
While your agent works, the notes it searches, reads, and writes light up in the tree and graph, and fade after about a minute.
|
|
161
|
-
The **This turn** list in the Context
|
|
161
|
+
The **This turn** list in the Context card shows those steps in order; click an earlier turn to replay it. Context floats over the page's
|
|
162
|
+
right margin: fold it with `]`, or pin it to dock it as a column.
|
|
163
|
+
In search, `Tab` switches between notes, code, and tags, and `⇧↵` lights every result up in the graph.
|
|
162
164
|
|
|
163
165
|
Ask your agent to write, organize, and connect notes, or click **New note** on an empty tab to start one yourself.
|
|
164
|
-
Click **Edit** to change Markdown
|
|
166
|
+
Click **Edit** to change Markdown. Edits save themselves after a short pause (or `⌘S` / `Ctrl S` right away), and **Done** closes the
|
|
167
|
+
editor. Your original words in `## Raw` stay intact.
|
|
165
168
|
Tabs, layout, and settings restore when you return and survive package updates for the same vault and repository;
|
|
166
169
|
unsaved drafts last only while the browser stays open.
|
|
167
170
|
|
package/package.json
CHANGED
|
@@ -285,6 +285,11 @@ function emptyRail(reason: string): ContextModel {
|
|
|
285
285
|
* a rail that changed as the clock moved would re-render three columns for no
|
|
286
286
|
* reason.
|
|
287
287
|
*/
|
|
288
|
+
/** How many rows the rail holds in all, for the Context card's badge and folded pill. */
|
|
289
|
+
export function contextCount(model: ContextModel): number {
|
|
290
|
+
return model.groups.reduce((total, group) => total + group.count, 0) + model.tagsCount;
|
|
291
|
+
}
|
|
292
|
+
|
|
288
293
|
export function contextModel(payload: GraphPayload | null, selectedId: string | null): ContextModel {
|
|
289
294
|
if (payload === null) return emptyRail(RAIL_EMPTY.loading);
|
|
290
295
|
if (selectedId === null) return emptyRail(RAIL_EMPTY.noSelection);
|