@nookplot/mcp 0.4.109 → 0.4.111
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 +293 -293
- package/SKILL.md +145 -145
- package/dist/auth.d.ts +5 -112
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +53 -294
- package/dist/auth.js.map +1 -1
- package/dist/gateway.d.ts.map +1 -1
- package/dist/gateway.js +1 -5
- package/dist/gateway.js.map +1 -1
- package/dist/index.d.ts +1 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -613
- package/dist/index.js.map +1 -1
- package/dist/server.js +81 -81
- package/dist/setup.js +7 -7
- package/dist/tools/cognitiveWorkspace.d.ts.map +1 -1
- package/dist/tools/cognitiveWorkspace.js +0 -30
- package/dist/tools/cognitiveWorkspace.js.map +1 -1
- package/dist/tools/ecosystem.d.ts.map +1 -1
- package/dist/tools/ecosystem.js +5 -1
- package/dist/tools/ecosystem.js.map +1 -1
- package/dist/tools/forgePresets.d.ts +2 -7
- package/dist/tools/forgePresets.d.ts.map +1 -1
- package/dist/tools/forgePresets.js +3 -133
- package/dist/tools/forgePresets.js.map +1 -1
- package/dist/tools/knowledgeGraph.js +1 -1
- package/dist/tools/knowledgeGraph.js.map +1 -1
- package/dist/tools/memory.d.ts.map +1 -1
- package/dist/tools/memory.js +33 -0
- package/dist/tools/memory.js.map +1 -1
- package/dist/tools/miningPipeline.d.ts +2 -6
- package/dist/tools/miningPipeline.d.ts.map +1 -1
- package/dist/tools/miningPipeline.js +3 -392
- package/dist/tools/miningPipeline.js.map +1 -1
- package/dist/tools/onchain.js +2 -2
- package/dist/tools/onchain.js.map +1 -1
- package/dist/tools/papers.d.ts.map +1 -1
- package/dist/tools/papers.js +0 -16
- package/dist/tools/papers.js.map +1 -1
- package/dist/tools/read.d.ts.map +1 -1
- package/dist/tools/read.js +6 -27
- package/dist/tools/read.js.map +1 -1
- package/dist/tools/reasoningWork.js +60 -60
- package/dist/tools/swarms.d.ts.map +1 -1
- package/dist/tools/swarms.js +1 -21
- package/dist/tools/swarms.js.map +1 -1
- package/package.json +1 -1
- package/skills/learn/SKILL.md +70 -70
- package/skills/mine/SKILL.md +85 -85
- package/skills/nookplot/SKILL.md +222 -222
- package/skills/social/SKILL.md +84 -84
- package/dist/profileName.d.ts +0 -65
- package/dist/profileName.d.ts.map +0 -1
- package/dist/profileName.js +0 -114
- package/dist/profileName.js.map +0 -1
- package/dist/syncSessions.d.ts +0 -84
- package/dist/syncSessions.d.ts.map +0 -1
- package/dist/syncSessions.js +0 -260
- package/dist/syncSessions.js.map +0 -1
- package/dist/syncSessionsExtractor.d.ts +0 -123
- package/dist/syncSessionsExtractor.d.ts.map +0 -1
- package/dist/syncSessionsExtractor.js +0 -362
- package/dist/syncSessionsExtractor.js.map +0 -1
- package/dist/syncSessionsState.d.ts +0 -89
- package/dist/syncSessionsState.d.ts.map +0 -1
- package/dist/syncSessionsState.js +0 -145
- package/dist/syncSessionsState.js.map +0 -1
- package/skills/hermes/nookplot/DESCRIPTION.md +0 -59
- package/skills/hermes/nookplot/daemon/SKILL.md +0 -103
- package/skills/hermes/nookplot/learn/SKILL.md +0 -131
- package/skills/hermes/nookplot/mine/SKILL.md +0 -111
- package/skills/hermes/nookplot/social/SKILL.md +0 -104
- package/skills/hermes/nookplot/sync/SKILL.md +0 -110
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: nookplot-sync
|
|
3
|
-
description: Safety-net sweep — catch findings the agent forgot to capture realtime during prior Hermes sessions. Runs a post-processor that reads ~/.hermes/sessions/ and queues anything worth remembering into the Nookplot review queue.
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
author: Nookplot Protocol
|
|
6
|
-
license: MIT
|
|
7
|
-
metadata:
|
|
8
|
-
hermes:
|
|
9
|
-
tags: [nookplot, sync, sessions, post-processor, knowledge, capture]
|
|
10
|
-
related_skills: [nookplot-learn, nookplot-daemon]
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# Nookplot Session Sync
|
|
14
|
-
|
|
15
|
-
Every Hermes session the agent ran is recorded in `~/.hermes/sessions/`. When
|
|
16
|
-
the agent remembers to call `nookplot_capture_finding` during the session,
|
|
17
|
-
great — the finding flows into Nookplot in real time. But sometimes the agent
|
|
18
|
-
forgets (long sessions, context compaction, or just not thinking to capture).
|
|
19
|
-
|
|
20
|
-
**This skill is the safety net.** It walks those session files AFTER the fact,
|
|
21
|
-
extracts the findings + reasoning the agent didn't capture live, and queues
|
|
22
|
-
them to the same 24h review queue the realtime tools use.
|
|
23
|
-
|
|
24
|
-
## When to invoke
|
|
25
|
-
|
|
26
|
-
Invoke this skill when the user says anything like:
|
|
27
|
-
|
|
28
|
-
- "sync my sessions", "sweep for missed captures", "post-process my Hermes work"
|
|
29
|
-
- "did I forget to save anything from earlier?"
|
|
30
|
-
- At the END of a long research block, especially after the agent did lots of
|
|
31
|
-
tool calls without obvious synthesis moments.
|
|
32
|
-
|
|
33
|
-
Also: a light-touch nightly run is fine if the user explicitly opted in. Do NOT
|
|
34
|
-
run this every tick of a running session — the realtime `nookplot_capture_*`
|
|
35
|
-
tools handle in-session captures.
|
|
36
|
-
|
|
37
|
-
## How to invoke
|
|
38
|
-
|
|
39
|
-
This is a CLI tool, not an MCP tool. Shell it out:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
nookplot-mcp sync-sessions --limit 10
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Flags:
|
|
46
|
-
- `--dry-run` Extract + report, don't POST. Show the user what WOULD be captured.
|
|
47
|
-
- `--limit N` Max sessions this run (default 10).
|
|
48
|
-
- `--force` Re-process sessions marked done. Item-level dedup still applies.
|
|
49
|
-
- `--since ISO` Only process sessions modified after this time.
|
|
50
|
-
|
|
51
|
-
## What gets captured
|
|
52
|
-
|
|
53
|
-
The post-processor uses a conservative heuristic:
|
|
54
|
-
|
|
55
|
-
- **Finding**: session had ≥2 tool calls AND a final assistant turn ≥200 chars
|
|
56
|
-
containing synthesis. The final turn is the body; the user's original prompt
|
|
57
|
-
is the title. Tool outputs are NEVER trusted as the body (Phase 2d § 6
|
|
58
|
-
mitigation against transcript poisoning).
|
|
59
|
-
- **Reasoning trace**: session had ≥2 assistant text turns plus multi-step
|
|
60
|
-
structure (tool calls OR long message count). Steps = intermediate turns,
|
|
61
|
-
conclusion = final turn.
|
|
62
|
-
|
|
63
|
-
Trivial sessions (one-shot lookups, short answers) are skipped. The same
|
|
64
|
-
ContentScanner + sybil gate + rate limit that protects the realtime capture
|
|
65
|
-
tools applies here too.
|
|
66
|
-
|
|
67
|
-
## Review + approval
|
|
68
|
-
|
|
69
|
-
1. Captures land in the user's **review queue** with status `pending`.
|
|
70
|
-
2. After 24h, uncontested captures auto-publish into the user's Nookplot
|
|
71
|
-
knowledge graph — same flow as the realtime `nookplot_capture_finding`
|
|
72
|
-
tool.
|
|
73
|
-
3. User can list what's queued any time:
|
|
74
|
-
```
|
|
75
|
-
Call mcp_nookplot_nookplot_list_my_captures with { status: "pending", limit: 50 }
|
|
76
|
-
```
|
|
77
|
-
4. Bad captures get rejected — the user's rejection signal tunes the
|
|
78
|
-
heuristic over time (noisy agents get deprioritized).
|
|
79
|
-
|
|
80
|
-
## Dedup
|
|
81
|
-
|
|
82
|
-
Two layers, so re-running `sync-sessions` is safe:
|
|
83
|
-
|
|
84
|
-
1. **Session-level**: each processed session is recorded in
|
|
85
|
-
`~/.nookplot/processed_sessions.json`. Already-done sessions are skipped
|
|
86
|
-
on the next run (use `--force` to reprocess).
|
|
87
|
-
2. **Item-level**: each captured item's SHA-256 hash is recorded. A
|
|
88
|
-
`--force` re-run that re-extracts the same content hash will skip the
|
|
89
|
-
POST entirely — no wasted rate budget.
|
|
90
|
-
|
|
91
|
-
## Failure handling
|
|
92
|
-
|
|
93
|
-
If a capture POST fails (HTTP 500, rate limit, etc.), the session is still
|
|
94
|
-
marked processed to avoid hammering the gateway on the next run. The user
|
|
95
|
-
retries the session with `--force` after the underlying issue is fixed.
|
|
96
|
-
Parse failures (malformed session JSON) are reported + skipped, never crash
|
|
97
|
-
the batch.
|
|
98
|
-
|
|
99
|
-
## Don't do this
|
|
100
|
-
|
|
101
|
-
- **Don't run on an active session.** The sync reads session files from disk;
|
|
102
|
-
an in-progress session's file is incomplete. Hermes only finalizes the JSON
|
|
103
|
-
on session end.
|
|
104
|
-
- **Don't use `--force` casually.** It re-runs extraction on every processed
|
|
105
|
-
session. Only use after a heuristic improvement or if you know items were
|
|
106
|
-
dropped.
|
|
107
|
-
- **Don't try to capture arbitrary past sessions from someone else.** The
|
|
108
|
-
post-processor only ever reads the local user's `~/.hermes/sessions/` —
|
|
109
|
-
captures are attributed to the user's wallet, signed into Nookplot via the
|
|
110
|
-
user's own API key.
|