pi-weave 0.1.23 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.md +68 -23
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,24 +11,56 @@
11
11
  <a href="./LICENSE"><img alt="license: MIT" src="https://img.shields.io/npm/l/pi-weave?color=green"></a>
12
12
  </p>
13
13
 
14
- **A local knowledge workspace you can talk to.**
14
+ **Your notes. Your agent's notes. One searchable knowledge workspace.**
15
15
 
16
- pi-weave is an extension for [pi](https://github.com/earendil-works/pi). Ask Pi to take notes while you think out loud, keep your exact words alongside a useful summary, and explore everything in `/weave-view`.
16
+ I've been chasing the right note-taking workflow for years. Notion, OneNote, Obsidian, and plenty of others.
17
17
 
18
- It also understands the repository you are working in. Personal notes live in a Markdown vault; repository knowledge lives in a disposable `.okf` index. Both are plain files that humans and agents can read.
18
+ 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.
19
19
 
20
- ## Core capabilities
20
+ The idea is simple:
21
21
 
22
- - **Conversational note-taking.** Create and update notes through natural-language requests such as “start a note”, “add this”, or “remember that”.
23
- - **Verbatim narration with structured summaries.** During dictation, Pi preserves each spoken passage in an append-only `## Raw` section while maintaining an organized summary above it.
24
- - **Knowledge retrieval.** Pi searches existing notes when answering questions about previous decisions, people, projects, or meetings.
25
- - **Unified visual workspace.** `/weave-view` presents notes, links, repository structure, and provenance in a live browser interface.
26
- - **Optional session memory.** `/weave-scan sessions` turns changed pi transcripts into searchable notes with reusable technical takeaways.
27
- - **Repository exploration.** A lightweight, git-aware index gives Pi a structural overview of the current codebase before it reads files.
22
+ **You and your agent should share the same knowledge.**
28
23
 
29
- Nothing is captured silently. pi-weave creates or extends a personal note only when you ask it to.
24
+ Talk naturally and let your thoughts become structured notes. Write notes yourself. Let your agent capture decisions, discoveries, and
25
+ useful context. Bring important knowledge forward from previous sessions.
30
26
 
31
- ## Install
27
+ Then find it again — by searching the workspace yourself, or simply asking your agent.
28
+
29
+ Everything is local. Everything is readable. Your notes are ordinary files, not knowledge trapped inside another chat.
30
+
31
+ ## Think out loud
32
+
33
+ Dictation is one of my favorite ways to use AI.
34
+
35
+ Instead of stopping to organize every thought while I'm having it, I can just talk:
36
+
37
+ > Start a note about pi-weave positioning. I'm going to think out loud.
38
+
39
+ pi-weave keeps what I actually said while Pi continuously turns it into a useful, structured note.
40
+
41
+ The raw thought stays yours. The organization is handled for you.
42
+
43
+ And it doesn't end with human notes.
44
+
45
+ ## Your knowledge + your agent's knowledge
46
+
47
+ pi-weave gives humans and agents one workspace.
48
+
49
+ A note you dictate, something you write manually, a useful discovery made by an agent, or knowledge recovered from an earlier session can
50
+ all live together.
51
+
52
+ pi-weave keeps track of where knowledge came from, while making the whole workspace searchable by both you and your agent.
53
+
54
+ **The conversation can end. The knowledge doesn't have to.**
55
+
56
+ ## Built on Pi
57
+
58
+ pi-weave is built as an extension for [Pi](https://github.com/earendil-works/pi).
59
+
60
+ I've grown to love Pi precisely because it is such a lightweight agent harness. It gives the model tools and context without trying to
61
+ become the product itself, and its extensibility makes projects like pi-weave possible.
62
+
63
+ Install pi-weave:
32
64
 
33
65
  ```bash
34
66
  pi install npm:pi-weave
@@ -43,6 +75,8 @@ pi install /path/to/pi-weave
43
75
 
44
76
  Requires Node **20.13 or newer**.
45
77
 
78
+ Then just talk to Pi.
79
+
46
80
  ## Start taking notes
47
81
 
48
82
  Talk to Pi normally:
@@ -71,7 +105,8 @@ For each chunk, Pi:
71
105
  2. refreshes the structured summary above it;
72
106
  3. leaves the raw record untouched.
73
107
 
74
- This makes the note readable during the conversation without replacing your words with an AI reconstruction. Notes based on your dictation remain marked `source: human`; notes drafted by Pi are marked `source: agent`.
108
+ This makes the note readable during the conversation without replacing your words with an AI reconstruction. Notes based on your dictation
109
+ remain marked `source: human`; notes drafted by Pi are marked `source: agent`.
75
110
 
76
111
  Useful requests include:
77
112
 
@@ -86,9 +121,9 @@ Useful requests include:
86
121
 
87
122
  ## Keeping the vault connected
88
123
 
89
- A wiki-link resolves to nothing when it is written as a bare title — `[[Quarterly Roadmap]]` when the note lives at
90
- `planning/roadmap-2026` — or when it points at a note that was never written. Pi repairs those in one deterministic pass instead of
91
- rereading the vault and guessing.
124
+ A wiki-link resolves to nothing when it is written as a bare title — `[[Quarterly Roadmap]]` when the note lives at `planning/roadmap-2026`
125
+ — or when it points at a note that was never written. Pi repairs those in one deterministic pass instead of rereading the vault and
126
+ guessing.
92
127
 
93
128
  ```text
94
129
  You: Check the links in my notes.
@@ -112,11 +147,13 @@ Renaming or moving a note rewrites its inbound links automatically, so its backl
112
147
  The browser workspace has four connected views:
113
148
 
114
149
  - **Tree** — notes, folders, and repository structure, with text and provenance filters.
115
- - **Note** — rendered Markdown with clickable `[[wikilinks]]`, link previews, tags, authorship, and an action to open the source in `$EDITOR`.
150
+ - **Note** — rendered Markdown with clickable `[[wikilinks]]`, link previews, tags, authorship, and an action to open the source in
151
+ `$EDITOR`.
116
152
  - **Graph** — a navigable map of notes, links, mentions, modules, and repository relationships. Selecting something updates every view.
117
153
  - **Context** — links, backlinks, tags, and code mentions for the current selection.
118
154
 
119
- Search with `⌘K` / `Ctrl K`. Press `?` for all shortcuts. The workspace updates as notes change on disk, so a note written by Pi appears without a reload. It follows the system theme by default and can be switched between light and dark.
155
+ Search with `⌘K` / `Ctrl K`. Press `?` for all shortcuts. The workspace updates as notes change on disk, so a note written by Pi appears
156
+ without a reload. It follows the system theme by default and can be switched between light and dark.
120
157
 
121
158
  The browser is read-only. Edit with `$EDITOR`, Obsidian, or the `weave_note` tool; unknown front-matter fields remain preserved.
122
159
 
@@ -129,7 +166,10 @@ The browser is read-only. Edit with `$EDITOR`, Obsidian, or the `weave_note` too
129
166
  /weave-scan sessions /path/to/history # explicit history root
130
167
  ```
131
168
 
132
- This opt-in scan treats a supplied file—or every bounded text file under a supplied directory—as opaque session material for the active model to interpret, then writes generated notes under `~/.okf/notes/sessions/`. That makes it usable with Claude Code, opencode, Codex, or exported history trees without requiring their schema or file extension. It skips unchanged files, captures outcomes plus reusable technical takeaways, works outside Git repositories, and can be stopped with `/weave-scan-cancel`.
169
+ This opt-in scan treats a supplied file—or every bounded text file under a supplied directory—as opaque session material for the active
170
+ model to interpret, then writes generated notes under `~/.okf/notes/sessions/`. That makes it usable with Claude Code, opencode, Codex, or
171
+ exported history trees without requiring their schema or file extension. It skips unchanged files, captures outcomes plus reusable technical
172
+ takeaways, works outside Git repositories, and can be stopped with `/weave-scan-cancel`.
133
173
 
134
174
  ## Repository knowledge
135
175
 
@@ -140,9 +180,11 @@ Inside a Git repository, pi-weave detects whether `<repo>/.okf/` is missing, fre
140
180
  /weave-scan deep # also summarize changed files with the active model
141
181
  ```
142
182
 
143
- The light index covers languages, packages, modules, entry points, and Git state. A deep scan adds short per-file summaries and only revisits files whose content changed.
183
+ The light index covers languages, packages, modules, entry points, and Git state. A deep scan adds short per-file summaries and only
184
+ revisits files whose content changed.
144
185
 
145
- The repository index is a cache, not a source of truth. Delete `.okf`, scan again, and nothing important is lost. pi-weave excludes it locally from Git by default.
186
+ The repository index is a cache, not a source of truth. Delete `.okf`, scan again, and nothing important is lost. pi-weave excludes it
187
+ locally from Git by default.
146
188
 
147
189
  ## Commands and tools
148
190
 
@@ -199,7 +241,9 @@ We probably want OIDC next quarter…
199
241
 
200
242
  Set `PI_WEAVE_VAULT` to use a different vault location.
201
243
 
202
- Reading, writing, searching, and viewing notes are local operations. Deep repository scans and session summaries send bounded input to whichever model you configured in pi. The browser workspace binds only to loopback, uses a per-session token, and shuts down with the pi session.
244
+ Reading, writing, searching, and viewing notes are local operations. Deep repository scans and session summaries send bounded input to
245
+ whichever model you configured in pi. The browser workspace binds only to loopback, uses a per-session token, and shuts down with the pi
246
+ session.
203
247
 
204
248
  The vault format, repository index, and skills are intentionally harness-agnostic. `src/core` contains no pi-specific imports.
205
249
 
@@ -219,7 +263,8 @@ npm run coverage
219
263
  npm run build:web
220
264
  ```
221
265
 
222
- Coverage must remain at or above **95%** for lines, branches, functions, and statements. If browser source changes, rebuild and commit `src/web/client/dist/app.js`.
266
+ Coverage must remain at or above **95%** for lines, branches, functions, and statements. If browser source changes, rebuild and commit
267
+ `src/web/client/dist/app.js`.
223
268
 
224
269
  Read [AGENTS.md](AGENTS.md) before contributing. Work on a feature branch; do not commit directly to `main`.
225
270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-weave",
3
- "version": "0.1.23",
3
+ "version": "0.2.0",
4
4
  "description": "An agent-native knowledge workspace for your life and your code. Smart notepad + repository exploration, readable by humans and agents alike.",
5
5
  "type": "module",
6
6
  "sideEffects": false,