Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.98 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@lukefwalton/answer-engine",
"version": "3.0.0",
"type": "module",
"description": "A retrieval substrate for a personal archive: every fragment carries a disclosure policy, hits carry provenance, and the only object a consumer hands to a model or a caller cannot hold more than that policy allows. Clone and run the teaching commands, or import it.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/lukefwalton/answer-engine.git"
},
"homepage": "https://github.com/lukefwalton/answer-engine#readme",
"bugs": {
"url": "https://github.com/lukefwalton/answer-engine/issues"
},
"engines": {
"node": ">=22"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./contract": {
"types": "./dist/contract.d.ts",
"default": "./dist/contract.js"
},
"./retrieve": {
"types": "./dist/retrieve.d.ts",
"default": "./dist/retrieve.js"
},
"./boosts": {
"types": "./dist/boosts.d.ts",
"default": "./dist/boosts.js"
},
"./no-leak": {
"types": "./dist/no-leak.d.ts",
"default": "./dist/no-leak.js"
},
"./wire": {
"types": "./dist/wire.d.ts",
"default": "./dist/wire.js"
},
"./store": {
"types": "./dist/store.d.ts",
"default": "./dist/store.js"
},
"./ingest": {
"types": "./dist/ingest/index.d.ts",
"default": "./dist/ingest/index.js"
},
"./eval": {
"types": "./dist/evaluate.d.ts",
"default": "./dist/evaluate.js"
},
"./public-safe": {
"types": "./dist/public-safe.d.ts",
"default": "./dist/public-safe.js"
},
"./locator": {
"types": "./dist/locator.d.ts",
"default": "./dist/locator.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"docs/CONTRACT.md",
"CHANGELOG.md"
],
"scripts": {
"index": "node --env-file-if-exists=.env --import tsx src/cli/build-index.ts",
"migrate:index": "node --import tsx scripts/migrate-index-v3-v4.ts",
"ask": "node --env-file-if-exists=.env --import tsx src/cli/ask.ts",
"eval": "node --env-file-if-exists=.env --import tsx src/cli/eval.ts",
"demo:build": "node --env-file-if-exists=.env --import tsx demo/build.ts",
"demo:run": "node --env-file-if-exists=.env --import tsx demo/run.ts",
"demo:test": "node --import tsx --test demo/*.test.ts",
"build": "tsc -p tsconfig.build.json",
"test:dist": "npm run build && node scripts/smoke-dist.mjs",
"prepare": "npm run build",
"test": "node --import tsx --test test/*.test.ts demo/*.test.ts",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build && node scripts/smoke-dist.mjs"
},
"dependencies": {
"gray-matter": "^4.0.3",
"openai": "^6.42.0",
"yaml": "^2.9.0"
},
"devDependencies": {
"@types/node": "^22.19.20",
"tsx": "^4.20.0",
"typescript": "^5.7.0"
}
}