-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.75 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.75 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
{
"name": "@framersai/codex",
"private": true,
"version": "0.1.0",
"description": "Frame Codex - a structured public knowledge corpus for LLM/RAG.",
"scripts": {
"build:index": "node ./scripts/build-index.mjs",
"index": "node scripts/auto-index.js",
"build:search": "node scripts/build-search-index.mjs",
"validate": "node scripts/validate.js",
"check-duplicates": "node scripts/validate.js --skip-duplicates=false",
"generate-template": "node scripts/validate.js --generate",
"ai-enhance": "node scripts/ai-enhance.js",
"blocks:process": "node scripts/block-processor.js --all",
"blocks:tag": "node lib/block-tagging.js --all",
"blocks:ai": "node scripts/ai-enhance-blocks.js --all",
"blocks:migrate": "node scripts/migrate-block-tags.js",
"blocks:all": "npm run blocks:process && npm run blocks:tag && npm run build:index",
"process": "node scripts/process-blocks.mjs",
"test": "vitest run",
"test:unit": "node --test tests/llm.test.js",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:integration": "RUN_INTEGRATION_TESTS=1 node --test tests/llm.test.js",
"test:ci": "vitest run --reporter=verbose --coverage",
"badges": "node scripts/generate-badges.js",
"badges:check": "node scripts/generate-badges.js --check",
"posttest:coverage": "node scripts/generate-badges.js",
"prepare": "husky install"
},
"dependencies": {
"@framers/sql-storage-adapter": "^0.6.0",
"@huggingface/transformers": "^3.8.0",
"better-sqlite3": "^12.0.0",
"compromise": "^14.10.0",
"syllable": "^5.0.1"
},
"devDependencies": {
"@vitest/coverage-v8": "^1.6.1",
"gray-matter": "^4.0.3",
"husky": "^8.0.3",
"js-yaml": "^4.1.0",
"uuid": "^9.0.1",
"vitest": "^1.6.0"
},
"scripts-info": {
"index": "Build search index with NLP-powered auto-categorization (uses SQL cache for incremental updates)",
"build:search": "Generate BM25 postings + semantic embeddings for Frame.dev search",
"validate": "Validate all content against schemas and quality rules",
"check-duplicates": "Detect duplicate content across the repository",
"generate-template": "Generate a new strand template with UUID",
"blocks:process": "Parse markdown into blocks and calculate worthiness scores",
"blocks:tag": "Generate tag suggestions for all blocks using NLP",
"blocks:ai": "AI-enhance block tags using LLM (requires API key)",
"blocks:migrate": "One-time migration to process all existing strands",
"blocks:all": "Run full block processing pipeline (process → tag → index)",
"test": "Run unit and integration tests",
"test:coverage": "Run tests with coverage report",
"prepare": "Install git hooks for pre-commit validation"
}
}