pi-weave 0.3.4 → 0.3.6
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 -1
- package/package.json +1 -1
- package/src/web/client/api.ts +7 -0
- package/src/web/client/dist/app.js +60 -46
- package/src/web/client/shell/Settings.tsx +3 -2
- package/src/web/client/shell/Shell.tsx +31 -5
- package/src/web/client/shell/workspace.css.ts +16 -2
- package/src/web/server/routes.ts +12 -1
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
**Your notes. Your agent's notes. One searchable knowledge workspace.**
|
|
15
15
|
|
|
16
|
+

|
|
17
|
+
|
|
16
18
|
I've been chasing the right note-taking workflow for years. Notion, OneNote, Obsidian, and plenty of others.
|
|
17
19
|
|
|
18
20
|
With pi-weave, I've made one that finally answers the way I want to work today — especially now that AI agents are part of that work.
|
|
@@ -157,8 +159,10 @@ Renaming or moving a note rewrites its inbound links automatically, so its backl
|
|
|
157
159
|
Browse and search your notes, follow links, or explore the graph. Use tabs and split panes to keep related notes side by side.
|
|
158
160
|
Notes update within a couple of seconds as your agent writes them.
|
|
159
161
|
|
|
162
|
+
Ask your agent to write, organize, and connect notes, or click **New note** on an empty tab to start one yourself.
|
|
160
163
|
Click **Edit** to change Markdown and `⌘S` / `Ctrl S` to save. Your original words in `## Raw` stay intact.
|
|
161
|
-
Tabs, layout, and
|
|
164
|
+
Tabs, layout, and settings restore when you return and survive package updates for the same vault and repository;
|
|
165
|
+
unsaved drafts last only while the browser stays open.
|
|
162
166
|
|
|
163
167
|
Use **Settings** for themes, fonts, layout, and a manual vault ZIP backup. Press `?` for keyboard shortcuts.
|
|
164
168
|
`/weave-view tui` opens a smaller, read-only terminal explorer in Pi.
|
package/package.json
CHANGED
package/src/web/client/api.ts
CHANGED
|
@@ -313,6 +313,13 @@ export function openNote(fetchImpl: FetchLike, slug: string): Promise<ApiResult<
|
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
+
/** Create a human-authored vault note with an empty body. */
|
|
317
|
+
export function createNote(fetchImpl: FetchLike, title: string): Promise<ApiResult<NotePayload>> {
|
|
318
|
+
return request(fetchImpl, "/api/notes", isNotePayload, {
|
|
319
|
+
method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ title }),
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
|
|
316
323
|
function mutation(fetchImpl: FetchLike, url: string, method: string, body?: unknown): Promise<ApiResult<MutationResult>> {
|
|
317
324
|
return request(fetchImpl, url, isMutationResult, {
|
|
318
325
|
method,
|