backpack-ontology 0.3.0 → 0.3.2
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 +23 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,12 +56,25 @@ Your knowledge syncs across devices, you can share with your team, and you get a
|
|
|
56
56
|
|
|
57
57
|
### Backpack Local (offline, private)
|
|
58
58
|
|
|
59
|
-
Prefer to keep everything on your machine? No account needed
|
|
59
|
+
Prefer to keep everything on your machine? No account needed.
|
|
60
|
+
|
|
61
|
+
**If you're using Claude Code, install the plugin** — it bundles this MCP server together with two usage skills that teach Claude how to build and query learning graphs, including an autonomous mining loop for growing a graph from web sources:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
/plugin marketplace add NoahIrzinger/backpack-ontology-plugin
|
|
65
|
+
/plugin install backpack-ontology@NoahIrzinger-backpack-ontology-plugin
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Restart Claude Code (or run `/reload-plugins`) and you're ready. Plugin repo: [backpack-ontology-plugin](https://github.com/NoahIrzinger/backpack-ontology-plugin).
|
|
69
|
+
|
|
70
|
+
**Without the plugin (advanced, or other MCP clients):**
|
|
60
71
|
|
|
61
72
|
```bash
|
|
62
73
|
claude mcp add backpack-local -s user -- npx backpack-ontology@latest
|
|
63
74
|
```
|
|
64
75
|
|
|
76
|
+
This installs the MCP server directly but without the skills. You'll have the tools but not the guidance on how Claude should use them — the plugin is recommended unless you have a specific reason to skip it.
|
|
77
|
+
|
|
65
78
|
You can always move to Backpack App later by telling Claude "sync my backpack to the cloud".
|
|
66
79
|
|
|
67
80
|
### Works with other AI tools
|
|
@@ -244,7 +257,7 @@ Across sessions, the real value is that the graph exists at all. It's built once
|
|
|
244
257
|
|
|
245
258
|
## Data and privacy
|
|
246
259
|
|
|
247
|
-
**Backpack Local**: your data is stored
|
|
260
|
+
**Backpack Local**: your data is stored at `~/.local/share/backpack/graphs/<graph-name>/` as an append-only event log per branch (`branches/<branch>/events.jsonl`) plus a materialized snapshot cache (`branches/<branch>/snapshot.json`). Both are human-readable, backupable, and version-controlable. Graphs from earlier versions are migrated to this format automatically on first start — nothing to do.
|
|
248
261
|
|
|
249
262
|
**Backpack App**: your data is stored securely in our cloud infrastructure. See our [privacy policy](https://backpackontology.com/privacy) for details.
|
|
250
263
|
|
|
@@ -272,9 +285,14 @@ Claude uses these automatically. You don't need to call them directly.
|
|
|
272
285
|
| Add a new learning graph | `backpack_create` |
|
|
273
286
|
| Find something | `backpack_search`, `backpack_list_nodes` |
|
|
274
287
|
| Get full details on an item | `backpack_get_node`, `backpack_get_neighbors` |
|
|
275
|
-
| Add or update knowledge | `backpack_add_node`, `backpack_update_node`, `backpack_add_edge` |
|
|
276
|
-
|
|
|
277
|
-
|
|
|
288
|
+
| Add or update knowledge | `backpack_import_nodes` (preferred, with always-on validation), `backpack_add_node`, `backpack_update_node`, `backpack_add_edge` |
|
|
289
|
+
| Audit and clean up drift | `backpack_audit`, `backpack_audit_roles`, `backpack_normalize`, `backpack_health` |
|
|
290
|
+
| Snapshot and revert | `backpack_snapshot`, `backpack_versions`, `backpack_rollback`, `backpack_diff` |
|
|
291
|
+
| Branches | `backpack_branch_create`, `backpack_branch_switch`, `backpack_branch_list` |
|
|
292
|
+
| Collaboration awareness | `backpack_lock_status` (reads the current edit heartbeat on shared graphs) |
|
|
293
|
+
| Delete | `backpack_remove_node`, `backpack_remove_edge`, `backpack_delete` |
|
|
294
|
+
|
|
295
|
+
**Autonomous mining** (plugin-only): the `backpack-mine` skill in the [Claude Code plugin](https://github.com/NoahIrzinger/backpack-ontology-plugin) drives an iteration loop that finds sources on the web, extracts entities and relationships, validates each batch, and stops on convergence. Say "mine <topic> into a learning graph" and the skill takes over.
|
|
278
296
|
|
|
279
297
|
### Configuration
|
|
280
298
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backpack-ontology",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "A persistent learning graph engine for Claude Code via MCP — structured knowledge that carries forward across sessions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Noah Irzinger",
|