wontopos 2.2.36 → 2.2.38
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 -100
- package/dist/cjs/wontopos.d.cts +1048 -0
- package/dist/cjs/wontopos.js +106 -719
- package/dist/wontopos.d.ts +63 -3
- package/dist/wontopos.js +106 -719
- package/package.json +17 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wontopos",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"description": "Wontopos
|
|
3
|
+
"version": "2.2.38",
|
|
4
|
+
"description": "Wontopos \u2014 long-term memory for AI agents. Identical recall in every language, ~100\u00d7 lower LLM bill.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"memory",
|
|
7
7
|
"ai",
|
|
@@ -20,11 +20,17 @@
|
|
|
20
20
|
"types": "./dist/wontopos.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/wontopos.d.ts",
|
|
25
|
+
"default": "./dist/wontopos.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/cjs/wontopos.d.cts",
|
|
29
|
+
"default": "./dist/cjs/wontopos.js"
|
|
30
|
+
},
|
|
26
31
|
"default": "./dist/wontopos.js"
|
|
27
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
28
34
|
},
|
|
29
35
|
"files": [
|
|
30
36
|
"dist",
|
|
@@ -35,7 +41,7 @@
|
|
|
35
41
|
"node": ">=18"
|
|
36
42
|
},
|
|
37
43
|
"scripts": {
|
|
38
|
-
"build": "tsc && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('dist/cjs/package.json','{\\\"type\\\":\\\"commonjs\\\"}\\n')\"",
|
|
44
|
+
"build": "tsc && tsc -p tsconfig.types.json && tsc -p tsconfig.cjs.json && node -e \"const fs=require('fs');fs.writeFileSync('dist/cjs/package.json','{\\\"type\\\":\\\"commonjs\\\"}\\n');fs.copyFileSync('dist/wontopos.d.ts','dist/cjs/wontopos.d.cts')\"",
|
|
39
45
|
"test": "npm run build && node --test tests/client.test.mjs tests/cjs.test.cjs",
|
|
40
46
|
"prepublishOnly": "npm run build && node scripts/pre-publish.mjs"
|
|
41
47
|
},
|
|
@@ -44,5 +50,9 @@
|
|
|
44
50
|
},
|
|
45
51
|
"bugs": {
|
|
46
52
|
"url": "https://wontopos.com/contact?topic=bug"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/wontopos/wontopos-node.git"
|
|
47
57
|
}
|
|
48
58
|
}
|