neotoma 0.4.2 → 0.4.5
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 +43 -0
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +332 -150
- package/dist/actions.js.map +1 -1
- package/dist/cli/commands/mirror.d.ts +52 -0
- package/dist/cli/commands/mirror.d.ts.map +1 -0
- package/dist/cli/commands/mirror.js +147 -0
- package/dist/cli/commands/mirror.js.map +1 -0
- package/dist/cli/config.d.ts +8 -0
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js.map +1 -1
- package/dist/cli/doctor.d.ts +76 -0
- package/dist/cli/doctor.d.ts.map +1 -0
- package/dist/cli/doctor.js +345 -0
- package/dist/cli/doctor.js.map +1 -0
- package/dist/cli/hooks.d.ts +45 -0
- package/dist/cli/hooks.d.ts.map +1 -0
- package/dist/cli/hooks.js +273 -0
- package/dist/cli/hooks.js.map +1 -0
- package/dist/cli/hooks_detect.d.ts +53 -0
- package/dist/cli/hooks_detect.d.ts.map +1 -0
- package/dist/cli/hooks_detect.js +220 -0
- package/dist/cli/hooks_detect.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +595 -49
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/permissions.d.ts +46 -0
- package/dist/cli/permissions.d.ts.map +1 -0
- package/dist/cli/permissions.js +191 -0
- package/dist/cli/permissions.js.map +1 -0
- package/dist/cli/setup.d.ts +46 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +105 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/core/operations.d.ts +145 -0
- package/dist/core/operations.d.ts.map +1 -0
- package/dist/core/operations.js +106 -0
- package/dist/core/operations.js.map +1 -0
- package/dist/openclaw_entry.d.ts +45 -0
- package/dist/openclaw_entry.d.ts.map +1 -0
- package/dist/openclaw_entry.js +75 -0
- package/dist/openclaw_entry.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +107 -748
- package/dist/server.js.map +1 -1
- package/dist/services/batch_correction.d.ts +129 -0
- package/dist/services/batch_correction.d.ts.map +1 -0
- package/dist/services/batch_correction.js +231 -0
- package/dist/services/batch_correction.js.map +1 -0
- package/dist/services/canonical_markdown.d.ts +145 -0
- package/dist/services/canonical_markdown.d.ts.map +1 -0
- package/dist/services/canonical_markdown.js +425 -0
- package/dist/services/canonical_markdown.js.map +1 -0
- package/dist/services/canonical_mirror.d.ts +127 -0
- package/dist/services/canonical_mirror.d.ts.map +1 -0
- package/dist/services/canonical_mirror.js +1047 -0
- package/dist/services/canonical_mirror.js.map +1 -0
- package/dist/services/canonical_mirror_git.d.ts +71 -0
- package/dist/services/canonical_mirror_git.d.ts.map +1 -0
- package/dist/services/canonical_mirror_git.js +211 -0
- package/dist/services/canonical_mirror_git.js.map +1 -0
- package/dist/services/entity_resolution.d.ts +17 -1
- package/dist/services/entity_resolution.d.ts.map +1 -1
- package/dist/services/entity_resolution.js +97 -24
- package/dist/services/entity_resolution.js.map +1 -1
- package/dist/services/entity_type_equivalence.d.ts +40 -0
- package/dist/services/entity_type_equivalence.d.ts.map +1 -0
- package/dist/services/entity_type_equivalence.js +109 -0
- package/dist/services/entity_type_equivalence.js.map +1 -0
- package/dist/services/entity_type_guard.d.ts +52 -0
- package/dist/services/entity_type_guard.d.ts.map +1 -0
- package/dist/services/entity_type_guard.js +204 -0
- package/dist/services/entity_type_guard.js.map +1 -0
- package/dist/services/file_text_extraction.d.ts.map +1 -1
- package/dist/services/file_text_extraction.js +5 -0
- package/dist/services/file_text_extraction.js.map +1 -1
- package/dist/services/flat_packed_detection.d.ts +32 -0
- package/dist/services/flat_packed_detection.d.ts.map +1 -0
- package/dist/services/flat_packed_detection.js +96 -0
- package/dist/services/flat_packed_detection.js.map +1 -0
- package/dist/services/interpretation.d.ts.map +1 -1
- package/dist/services/interpretation.js +9 -0
- package/dist/services/interpretation.js.map +1 -1
- package/dist/services/memory_export.d.ts +56 -0
- package/dist/services/memory_export.d.ts.map +1 -0
- package/dist/services/memory_export.js +295 -0
- package/dist/services/memory_export.js.map +1 -0
- package/dist/services/raw_fragments.js +1 -1
- package/dist/services/raw_fragments.js.map +1 -1
- package/dist/services/raw_storage.d.ts +6 -0
- package/dist/services/raw_storage.d.ts.map +1 -1
- package/dist/services/raw_storage.js +26 -0
- package/dist/services/raw_storage.js.map +1 -1
- package/dist/services/schema_definitions.d.ts.map +1 -1
- package/dist/services/schema_definitions.js +37 -0
- package/dist/services/schema_definitions.js.map +1 -1
- package/dist/services/schema_reference_linking.d.ts +38 -0
- package/dist/services/schema_reference_linking.d.ts.map +1 -0
- package/dist/services/schema_reference_linking.js +130 -0
- package/dist/services/schema_reference_linking.js.map +1 -0
- package/dist/services/schema_registry.d.ts +39 -0
- package/dist/services/schema_registry.d.ts.map +1 -1
- package/dist/services/schema_registry.js +91 -2
- package/dist/services/schema_registry.js.map +1 -1
- package/dist/services/snapshot_computation.d.ts.map +1 -1
- package/dist/services/snapshot_computation.js +10 -0
- package/dist/services/snapshot_computation.js.map +1 -1
- package/dist/services/timeline_events.d.ts +24 -5
- package/dist/services/timeline_events.d.ts.map +1 -1
- package/dist/services/timeline_events.js +89 -13
- package/dist/services/timeline_events.js.map +1 -1
- package/dist/shared/action_schemas.d.ts +18 -2
- package/dist/shared/action_schemas.d.ts.map +1 -1
- package/dist/shared/action_schemas.js +8 -0
- package/dist/shared/action_schemas.js.map +1 -1
- package/dist/shared/local_transport.d.ts +13 -0
- package/dist/shared/local_transport.d.ts.map +1 -1
- package/dist/shared/local_transport.js +89 -6
- package/dist/shared/local_transport.js.map +1 -1
- package/dist/tool_definitions.d.ts +22 -0
- package/dist/tool_definitions.d.ts.map +1 -0
- package/dist/tool_definitions.js +747 -0
- package/dist/tool_definitions.js.map +1 -0
- package/openapi.yaml +13 -0
- package/openclaw.plugin.json +87 -0
- package/package.json +31 -1
- package/skills/query-memory/SKILL.md +67 -0
- package/skills/recover-sqlite-database/SKILL.md +46 -0
- package/skills/store-data/SKILL.md +58 -0
package/README.md
CHANGED
|
@@ -220,6 +220,49 @@ Neotoma exposes state via MCP. Local storage only in preview. Local built-in aut
|
|
|
220
220
|
|
|
221
221
|
**Representative actions:** `store`, `retrieve_entities`, `retrieve_entity_snapshot`, `merge_entities`, `list_observations`, `create_relationship`, `list_relationships`, `list_timeline_events`, `retrieve_graph_neighborhood`. Full list: [MCP spec](docs/specs/MCP_SPEC.md).
|
|
222
222
|
|
|
223
|
+
## Using with AI tools (hooks)
|
|
224
|
+
|
|
225
|
+
Neotoma also integrates into harnesses that expose lifecycle hooks. Hooks and MCP compose: hooks are the reliability floor (guaranteed capture, retrieval injection, compaction awareness, persistence safety net) and MCP remains the quality ceiling (agent-driven structured writes).
|
|
226
|
+
|
|
227
|
+
| Harness | Package | Guide |
|
|
228
|
+
| --- | --- | --- |
|
|
229
|
+
| Claude Code | [`packages/claude-code-plugin`](packages/claude-code-plugin) | [docs/integrations/hooks/claude_code.md](docs/integrations/hooks/claude_code.md) |
|
|
230
|
+
| Cursor | [`packages/cursor-hooks`](packages/cursor-hooks) | [docs/integrations/hooks/cursor.md](docs/integrations/hooks/cursor.md) |
|
|
231
|
+
| OpenCode | [`packages/opencode-plugin`](packages/opencode-plugin) | [docs/integrations/hooks/opencode.md](docs/integrations/hooks/opencode.md) |
|
|
232
|
+
| Codex CLI | [`packages/codex-hooks`](packages/codex-hooks) | [docs/integrations/hooks/codex_cli.md](docs/integrations/hooks/codex_cli.md) |
|
|
233
|
+
| Claude Agent SDK | [`packages/claude-agent-sdk-adapter`](packages/claude-agent-sdk-adapter) | [docs/integrations/hooks/claude_agent_sdk.md](docs/integrations/hooks/claude_agent_sdk.md) |
|
|
234
|
+
|
|
235
|
+
Shared client libraries: [`@neotoma/client`](packages/client) (TypeScript), [`neotoma-client`](packages/client-python) (Python).
|
|
236
|
+
|
|
237
|
+
### OpenClaw native plugin
|
|
238
|
+
|
|
239
|
+
Neotoma ships as a native OpenClaw plugin with `kind: "memory"`, so it can fill the dedicated memory slot. All 30+ MCP tools are registered as agent tools.
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
openclaw plugins install clawhub:neotoma
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
Then assign it to the memory slot in your OpenClaw config:
|
|
246
|
+
|
|
247
|
+
```json5
|
|
248
|
+
{
|
|
249
|
+
plugins: {
|
|
250
|
+
slots: { memory: "neotoma" },
|
|
251
|
+
entries: {
|
|
252
|
+
neotoma: {
|
|
253
|
+
enabled: true,
|
|
254
|
+
config: {
|
|
255
|
+
dataDir: "~/.local/share/neotoma",
|
|
256
|
+
environment: "production"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
Verify installation: `openclaw plugins inspect neotoma` shows `Format: native`, `Kind: memory`, and all registered tool contracts.
|
|
265
|
+
|
|
223
266
|
## Common questions
|
|
224
267
|
|
|
225
268
|
**Platform memory (Claude, ChatGPT) is good enough — why add another tool?**
|
package/dist/actions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAoF9B,eAAO,MAAM,GAAG,6CAAY,CAAC;AAwL7B,yGAAyG;AACzG,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,GAAG,OAAO,CAK5D;AA2pJD,wBAAsB,eAAe;;;eAgCpC"}
|