pi-weave 0.3.9 → 0.3.11
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 +7 -3
- package/package.json +1 -1
- package/src/web/client/context/context.model.ts +5 -0
- package/src/web/client/dist/app.js +400 -167
- package/src/web/client/graph/Graph.tsx +148 -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 +476 -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 +79 -21
- 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 +260 -61
- package/src/web/client/shell/workspace.css.ts +38 -11
- package/src/web/client/trail/TrailStrip.tsx +0 -1
- package/src/web/client/trail/trail.model.ts +61 -6
- package/src/web/client/tree/Tree.tsx +3 -7
- package/src/web/shared/themes.ts +1 -1
- package/src/web/shared/workspace.ts +10 -2
package/README.md
CHANGED
|
@@ -157,11 +157,15 @@ Renaming or moving a note rewrites its inbound links automatically, so its backl
|
|
|
157
157
|
|
|
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
|
-
While your agent works, the notes it searches, reads, and writes light up in the
|
|
161
|
-
|
|
160
|
+
While your agent works, the notes it searches, reads, and writes light up in the graph, and fade after about a minute. When it searches,
|
|
161
|
+
the graph view lights the results up the way your own search does, until its next request.
|
|
162
|
+
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
|
|
163
|
+
right margin: fold it with `]`, or pin it to dock it as a column.
|
|
164
|
+
In search, `Tab` switches between notes, code, and tags, and `⇧↵` lights every result up in the graph.
|
|
162
165
|
|
|
163
166
|
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
|
|
167
|
+
Click **Edit** to change Markdown. Edits save themselves after a short pause (or `⌘S` / `Ctrl S` right away), and **Done** closes the
|
|
168
|
+
editor. Your original words in `## Raw` stay intact.
|
|
165
169
|
Tabs, layout, and settings restore when you return and survive package updates for the same vault and repository;
|
|
166
170
|
unsaved drafts last only while the browser stays open.
|
|
167
171
|
|
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);
|