@pencil-agent/nano-mem 0.0.1 → 0.0.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 +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @pencil-agent/nano-mem
|
|
2
2
|
|
|
3
3
|
> Persistent memory engine for AI coding agents with consolidation, scoring, and insights.
|
|
4
4
|
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install @
|
|
21
|
+
npm install @pencil-agent/nano-mem
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Quick Start
|
|
25
25
|
|
|
26
26
|
```typescript
|
|
27
|
-
import { NanoMemEngine, getConfig } from '@
|
|
27
|
+
import { NanoMemEngine, getConfig } from '@pencil-agent/nano-mem';
|
|
28
28
|
|
|
29
29
|
// Create engine with defaults
|
|
30
30
|
const engine = new NanoMemEngine();
|
|
@@ -67,7 +67,7 @@ console.log(injection);
|
|
|
67
67
|
## Configuration
|
|
68
68
|
|
|
69
69
|
```typescript
|
|
70
|
-
import { NanoMemEngine, getConfig } from '@
|
|
70
|
+
import { NanoMemEngine, getConfig } from '@pencil-agent/nano-mem';
|
|
71
71
|
|
|
72
72
|
const config = getConfig({
|
|
73
73
|
memoryDir: './my-memory',
|
|
@@ -115,7 +115,7 @@ constructor(overrides?: Partial<NanomemConfig>, llmFn?: LlmFn)
|
|
|
115
115
|
For NanoPencil integration:
|
|
116
116
|
|
|
117
117
|
```typescript
|
|
118
|
-
import nanomemExtension from '@
|
|
118
|
+
import nanomemExtension from '@pencil-agent/nano-mem/extension';
|
|
119
119
|
|
|
120
120
|
// In NanoPencil
|
|
121
121
|
pi.registerExtension(() => nanomemExtension);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pencil-agent/nano-mem",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Persistent memory engine for AI coding agents with consolidation, scoring, and insights",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"repository": {
|
|
53
53
|
"type": "git",
|
|
54
54
|
"url": "https://codeup.aliyun.com/67d1a8677564dc59f36547a9/nanoPencil.git",
|
|
55
|
-
"directory": "packages/
|
|
55
|
+
"directory": "packages/nano-mem"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|