@kvsig/core 0.0.1 → 0.1.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/LICENSE +202 -0
- package/NOTICE +7 -0
- package/README.md +142 -3
- package/dist/index.cjs +1653 -0
- package/dist/index.d.cts +240 -0
- package/dist/index.d.ts +240 -0
- package/dist/index.js +1622 -0
- package/package.json +76 -6
package/package.json
CHANGED
|
@@ -1,11 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvsig/core",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "Keyed, content-derived ids for LLM chat conversations (
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Keyed, content-derived ids for LLM chat conversations (kvsig/1): an independent TypeScript implementation for OpenAI Chat Completions, OpenAI Responses and Anthropic Messages.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "PodWarden Team",
|
|
7
|
-
"homepage": "https://github.com/Podwarden/kvsig",
|
|
8
|
-
"repository": {
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
"homepage": "https://github.com/Podwarden/kvsig/tree/main/js#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Podwarden/kvsig.git",
|
|
11
|
+
"directory": "js"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/Podwarden/kvsig/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"kvsig",
|
|
18
|
+
"llm",
|
|
19
|
+
"conversation-id",
|
|
20
|
+
"prompt-cache",
|
|
21
|
+
"session-affinity",
|
|
22
|
+
"openai",
|
|
23
|
+
"anthropic",
|
|
24
|
+
"hmac",
|
|
25
|
+
"cbor"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"main": "./dist/index.cjs",
|
|
30
|
+
"module": "./dist/index.js",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"import": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"require": {
|
|
39
|
+
"types": "./dist/index.d.cts",
|
|
40
|
+
"default": "./dist/index.cjs"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist/index.js",
|
|
47
|
+
"dist/index.cjs",
|
|
48
|
+
"dist/index.d.ts",
|
|
49
|
+
"dist/index.d.cts",
|
|
50
|
+
"README.md",
|
|
51
|
+
"LICENSE",
|
|
52
|
+
"NOTICE"
|
|
53
|
+
],
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public",
|
|
59
|
+
"provenance": true
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "tsup",
|
|
63
|
+
"typecheck": "tsc --noEmit",
|
|
64
|
+
"test": "vitest run",
|
|
65
|
+
"conformance": "cd .. && python3 conformance/run.py -- node conformance/adapters/ts_adapter.mjs",
|
|
66
|
+
"prepack": "npm run build"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@types/node": "18.19.130",
|
|
70
|
+
"tsup": "8.5.0",
|
|
71
|
+
"typescript": "5.8.3",
|
|
72
|
+
"vite": "6.3.5",
|
|
73
|
+
"vitest": "3.2.4"
|
|
74
|
+
},
|
|
75
|
+
"overrides": {
|
|
76
|
+
"vite": "$vite"
|
|
77
|
+
},
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"@noble/hashes": "1.8.0"
|
|
80
|
+
}
|
|
11
81
|
}
|