@felan-ai/ext-memory 0.1.0 → 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.
- package/README.md +28 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ and Pi extension behavior for Felan hosts.
|
|
|
6
6
|
Applications bind the extension to their own storage and coordinator:
|
|
7
7
|
|
|
8
8
|
```ts
|
|
9
|
+
import { createMemoryExtension } from '@felan-ai/ext-memory';
|
|
10
|
+
|
|
9
11
|
createMemoryExtension({
|
|
10
12
|
role: 'root',
|
|
11
13
|
host,
|
|
@@ -60,6 +62,8 @@ mark superseded guidance and unresolved contradictions; and run a bounded
|
|
|
60
62
|
semantic lint for stale, duplicate, weakly linked, or missing knowledge without
|
|
61
63
|
inventing facts, links, or sources.
|
|
62
64
|
|
|
65
|
+
## Development
|
|
66
|
+
|
|
63
67
|
Source: `packages/ext-memory` in <https://github.com/felan-ai/felan>.
|
|
64
68
|
|
|
65
69
|
```sh
|
|
@@ -67,3 +71,27 @@ pnpm --filter @felan-ai/ext-memory build
|
|
|
67
71
|
pnpm --filter @felan-ai/ext-memory type-check
|
|
68
72
|
pnpm --filter @felan-ai/ext-memory test
|
|
69
73
|
```
|
|
74
|
+
|
|
75
|
+
## Package boundary and requirements
|
|
76
|
+
|
|
77
|
+
The package owns the portable memory schema, validation, hydration, checkpoint
|
|
78
|
+
contracts, and root/reader extension behavior. The host owns project scoping,
|
|
79
|
+
canonical storage, evidence materialization, scheduling, model calls, staging,
|
|
80
|
+
locking, validation publication, and retry policy. It requires a compatible
|
|
81
|
+
`@felan-ai/agent-core` peer and remains independent of TUI, Supabase, and cloud
|
|
82
|
+
application modules.
|
|
83
|
+
|
|
84
|
+
Memory and transcript content is untrusted reference data and cannot override
|
|
85
|
+
system, developer, user, authorization, or tool-safety rules.
|
|
86
|
+
|
|
87
|
+
## Related documentation
|
|
88
|
+
|
|
89
|
+
- [Context and memory](../../docs/user-guide/context-and-memory.md)
|
|
90
|
+
- [Local memory architecture](../../docs/concepts/local-memory.md)
|
|
91
|
+
- [Runtime and security](../../docs/concepts/runtime-and-security.md)
|
|
92
|
+
|
|
93
|
+
## Attribution
|
|
94
|
+
|
|
95
|
+
The Markdown memory schema and dreaming policy were adapted from Felan's
|
|
96
|
+
filesystem-memory implementation. The remaining package code is original Felan
|
|
97
|
+
project code. See [NOTICE](NOTICE) and [LICENSE](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@felan-ai/ext-memory",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Portable local-first memory contracts and extension for Felan",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@felan-ai/agent-core": "^0.
|
|
28
|
+
"@felan-ai/agent-core": "^0.5.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@felan-ai/agent-core": "0.
|
|
31
|
+
"@felan-ai/agent-core": "0.5.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public",
|