threadnote 1.3.1 → 1.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 +46 -37
- package/dist/mcp_server.cjs +3072 -3330
- package/dist/threadnote.cjs +5855 -6195
- package/docs/index.html +84 -29
- package/manager/app.js +5 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,12 +6,26 @@
|
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/threadnote) [](https://github.com/Kashkovsky/threadnote/actions/workflows/ci.yml) [](https://www.npmjs.com/package/threadnote) [](./LICENSE) 
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
> Stop re-explaining your project to every AI coding agent.
|
|
10
|
+
|
|
11
|
+
`threadnote` gives Codex, Claude Code, Cursor, and Copilot one shared local memory for development work: durable
|
|
12
|
+
decisions, current handoffs, seeded repo docs, reusable skills, and curated team knowledge.
|
|
13
|
+
|
|
14
|
+
It is not a bigger prompt, and it is not just an auto-compacter. It is a workflow around Markdown-backed local memory:
|
|
15
|
+
agents recall the relevant `viking://` pointers, read only what they need, update one stable `project/topic` record, and
|
|
16
|
+
leave your canonical repo docs alone.
|
|
11
17
|
|
|
12
18
|
**Walkthrough:** https://kashkovsky.github.io/threadnote/
|
|
13
19
|
**Wiki:** https://github.com/Kashkovsky/threadnote/wiki
|
|
14
20
|
|
|
21
|
+
## Why Engineers Use It
|
|
22
|
+
|
|
23
|
+
- **Fresh agents start with recall, not amnesia.** A new session can read the latest handoff before touching code.
|
|
24
|
+
- **Compaction becomes a checkpoint, not memory loss.** Durable facts and current status survive the summary.
|
|
25
|
+
- **Agent switching stops resetting the task.** Codex can leave a handoff that Claude Code, Cursor, or Copilot can read.
|
|
26
|
+
- **Repo docs stay clean.** `AGENTS.md`, `CLAUDE.md`, and docs remain stable policy; Threadnote carries living context.
|
|
27
|
+
- **Team context is explicit.** Publish only curated durable memories to a team git repo; personal handoffs stay local.
|
|
28
|
+
|
|
15
29
|
## Quickstart
|
|
16
30
|
|
|
17
31
|
```bash
|
|
@@ -25,52 +39,47 @@ New to Threadnote? Ask your agent **"what can I do with Threadnote?"** — it ca
|
|
|
25
39
|
(server health, configured share teams, seeded projects) and offers to run each step
|
|
26
40
|
with you. The walkthrough only loads when you ask, so it never sits in context otherwise.
|
|
27
41
|
|
|
28
|
-
##
|
|
29
|
-
|
|
30
|
-
**Not sure what Threadnote can do?**
|
|
31
|
-
Ask your agent _"what can I do with Threadnote?"_ — it calls `threadnote_guide`, which returns a tour tailored to your setup and offers to run each step (recall a handoff, save a durable note, set up team sharing). The walkthrough loads only when you ask.
|
|
42
|
+
## Why Not Just Markdown Files?
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
`threadnote install` adds user-level Codex, Claude, Cursor, and Copilot instructions so new agents automatically recall recent handoffs and relevant memories before they start changing code.
|
|
44
|
+
Use Markdown files. Threadnote makes them operational.
|
|
35
45
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
- **`AGENTS.md` / `CLAUDE.md` / repo docs:** stable, reviewed, version-controlled rules.
|
|
47
|
+
- **Random notes:** easy to write, hard for agents to rank, scope, update, or know when stale.
|
|
48
|
+
- **Threadnote memories:** Markdown on disk plus semantic recall, stable URIs, lifecycle (`durable`, `handoff`,
|
|
49
|
+
`archived`), scoped compaction, MCP tools, and safe team sharing.
|
|
40
50
|
|
|
41
|
-
|
|
42
|
-
|
|
51
|
+
The source of truth is still local files. The benefit is that agents know how to find the right file, decide whether it
|
|
52
|
+
is current, update it without creating duplicates, and hand it to the next agent.
|
|
43
53
|
|
|
44
|
-
|
|
45
|
-
Install the MCP adapter for each agent you use. The user-level instructions tell agents to store a handoff before they pause, so the next agent can search the same local memory layer instead of reconstructing context
|
|
46
|
-
from chat history.
|
|
54
|
+
## Agent Perspective
|
|
47
55
|
|
|
48
|
-
|
|
49
|
-
as the default surface, and also exposes raw OpenViking parity tools with `ov_*` names for native behaviors such as
|
|
50
|
-
code symbol navigation, watch management, raw search/read/list/store/remember, grep/glob, resource import, and forget.
|
|
56
|
+
These are workflow examples from an agent's point of view:
|
|
51
57
|
|
|
52
|
-
**
|
|
53
|
-
|
|
58
|
+
**Codex before Threadnote:** "I inspect the repo, ask what changed, rediscover the test command, and hope the compacted
|
|
59
|
+
chat summary did not drop the important caveat."
|
|
54
60
|
|
|
55
|
-
**
|
|
56
|
-
|
|
61
|
+
**Codex with Threadnote:** "I recall the branch handoff and durable feature memory first. I can name the files touched,
|
|
62
|
+
the last failing check, the design decision behind the code, and the next step before editing."
|
|
57
63
|
|
|
58
|
-
**
|
|
59
|
-
|
|
64
|
+
**Claude Code before Threadnote:** "A long debugging thread compacts into a vague narrative. The next turn knows the arc,
|
|
65
|
+
but not the exact command, blocker, or decision."
|
|
60
66
|
|
|
61
|
-
**
|
|
62
|
-
|
|
63
|
-
artifact immediately after sync, then opt in to local installation with `threadnote share install-artifacts --apply`.
|
|
67
|
+
**Claude Code with Threadnote:** "The pre-compact handoff captures the concrete state. The next session reads the same
|
|
68
|
+
memory and continues without asking the user to reconstruct it."
|
|
64
69
|
|
|
65
|
-
|
|
66
|
-
Run `threadnote compact --project <repo> --topic <issue> --dry-run` or ask the agent to use
|
|
67
|
-
`compact_context({"project":"<repo>","topic":"<issue>","dryRun":true})`. Threadnote produces a scoped plan first:
|
|
68
|
-
which memory to keep/update, which old handoffs to archive, and which exact duplicates are safe to forget.
|
|
70
|
+
## Real-World Uses
|
|
69
71
|
|
|
70
|
-
**
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
- **Continue a branch:** "Continue where we left off" -> agent recalls the active handoff and durable feature memory.
|
|
73
|
+
- **Switch agents:** "Save where we are" -> agent stores a handoff the next MCP-enabled agent can read.
|
|
74
|
+
- **Survive compaction:** Claude Code's hook can snapshot a handoff before compaction; other agents can recall it later.
|
|
75
|
+
- **Remember a repo fact:** "This repo cuts release notes from CI" -> agent stores a durable workflow memory.
|
|
76
|
+
- **Share with teammates:** publish a curated durable memory or reusable skill to a team git repo.
|
|
77
|
+
- **Clean up overlap:** run `threadnote compact --project <repo> --topic <issue> --dry-run` before archiving stale
|
|
78
|
+
handoffs or forgetting exact duplicates.
|
|
79
|
+
|
|
80
|
+
The adapter keeps Threadnote workflow tools (`recall_context`, `remember_context`, `compact_context`, `share_publish`,
|
|
81
|
+
and related aliases) as the default surface. It also exposes raw OpenViking parity tools with `ov_*` names for native
|
|
82
|
+
behaviors such as code symbol navigation, raw search/read/list/store/remember, grep/glob, resource import, and forget.
|
|
74
83
|
|
|
75
84
|
## Acknowledgments
|
|
76
85
|
|