flappa-doormal 2.19.0 → 2.21.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/AGENTS.md +63 -11
- package/README.md +383 -11
- package/dist/index.d.mts +440 -132
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -4445
- package/dist/index.mjs.map +1 -1
- package/dist/mcp/server.d.mts +1 -0
- package/dist/mcp/server.mjs +156 -0
- package/dist/mcp/server.mjs.map +1 -0
- package/dist/segmentation-advisor-D375TL8-.mjs +6128 -0
- package/dist/segmentation-advisor-D375TL8-.mjs.map +1 -0
- package/package.json +18 -4
package/package.json
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Ragaeeb Haq",
|
|
3
|
+
"bin": {
|
|
4
|
+
"flappa-doormal-mcp": "./dist/mcp/server.mjs"
|
|
5
|
+
},
|
|
3
6
|
"bugs": {
|
|
4
7
|
"url": "https://github.com/ragaeeb/flappa-doormal/issues"
|
|
5
8
|
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@cfworker/json-schema": "^4.1.1",
|
|
11
|
+
"@modelcontextprotocol/server": "^2.0.0-alpha.2",
|
|
12
|
+
"zod": "^4.4.2"
|
|
13
|
+
},
|
|
6
14
|
"description": "Arabic text marker pattern library for generating regex from declarative configurations",
|
|
7
15
|
"devDependencies": {
|
|
8
|
-
"@biomejs/biome": "2.4.
|
|
16
|
+
"@biomejs/biome": "2.4.14",
|
|
9
17
|
"@types/bun": "^1.3.13",
|
|
10
18
|
"shamela": "^1.5.2",
|
|
11
19
|
"tsdown": "^0.21.10",
|
|
@@ -47,14 +55,20 @@
|
|
|
47
55
|
},
|
|
48
56
|
"scripts": {
|
|
49
57
|
"build": "tsdown",
|
|
58
|
+
"dictionary:export-options": "bun scripts/export-dictionary-book-options.ts",
|
|
59
|
+
"dictionary:extract-fixtures": "bun scripts/extract-dictionary-test-fixtures.ts",
|
|
60
|
+
"dictionary:preview-html": "bun scripts/generate-dictionary-html-previews.ts",
|
|
61
|
+
"dictionary:scan": "bun scripts/analyze-dictionary-profile.ts",
|
|
62
|
+
"dictionary:split-csv": "bun scripts/split-dictionary-csvs.ts",
|
|
50
63
|
"format": "biome format --write",
|
|
51
64
|
"lint": "biome check",
|
|
65
|
+
"mcp:serve": "bun run src/mcp/server.ts",
|
|
52
66
|
"postbuild": "bun run test:exports",
|
|
53
|
-
"
|
|
67
|
+
"segment:advise": "bun scripts/recommend-segmentation-options.ts",
|
|
54
68
|
"test:exports": "bunx tsc --ignoreConfig --noEmit testing/exports.test.ts --moduleResolution bundler --target esnext --module esnext --esModuleInterop --skipLibCheck --types bun-types,node && bun test testing/exports.test.ts",
|
|
55
|
-
"test:perf": "RUN_PERF=true bun test src/segmentation/segmenter.perf.test.ts src/validation/validate.perf.test.ts"
|
|
69
|
+
"test:perf": "RUN_PERF=true bun test src/segmentation/segmenter.perf.test.ts src/dictionary/heading-classifier.perf.test.ts src/dictionary/runtime.perf.test.ts src/validation/validate.perf.test.ts"
|
|
56
70
|
},
|
|
57
71
|
"type": "module",
|
|
58
72
|
"types": "./dist/index.d.mts",
|
|
59
|
-
"version": "2.
|
|
73
|
+
"version": "2.21.0"
|
|
60
74
|
}
|