typeglish 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 +201 -0
- package/NOTICE +13 -0
- package/README.md +301 -0
- package/dist/chunk-3NQ3VYO6.js +566 -0
- package/dist/chunk-3NQ3VYO6.js.map +1 -0
- package/dist/chunk-KRYC4OTL.js +3573 -0
- package/dist/chunk-KRYC4OTL.js.map +1 -0
- package/dist/chunk-NLQIL5WD.js +25 -0
- package/dist/chunk-NLQIL5WD.js.map +1 -0
- package/dist/chunk-PR4QN5HX.js +39 -0
- package/dist/chunk-PR4QN5HX.js.map +1 -0
- package/dist/chunk-PXAMTGYY.js +3 -0
- package/dist/chunk-PXAMTGYY.js.map +1 -0
- package/dist/chunk-VMACILYN.js +140 -0
- package/dist/chunk-VMACILYN.js.map +1 -0
- package/dist/chunk-Y64EAEYB.js +10919 -0
- package/dist/chunk-Y64EAEYB.js.map +1 -0
- package/dist/chunk-YH4ZLQ4G.js +4260 -0
- package/dist/chunk-YH4ZLQ4G.js.map +1 -0
- package/dist/chunk-ZKMHZHID.js +56 -0
- package/dist/chunk-ZKMHZHID.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +447 -0
- package/dist/cli.js.map +1 -0
- package/dist/compile-DViQS2oG.d.ts +310 -0
- package/dist/diagnostics-BWJ_oMd8.d.ts +49 -0
- package/dist/exhaustiveness-VBVWCX5W.js +123 -0
- package/dist/exhaustiveness-VBVWCX5W.js.map +1 -0
- package/dist/index-Df_QnTgq.d.ts +313 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp.d.ts +11 -0
- package/dist/mcp.js +36378 -0
- package/dist/mcp.js.map +1 -0
- package/dist/monaco.css +46 -0
- package/dist/monaco.d.ts +43 -0
- package/dist/monaco.js +971 -0
- package/dist/monaco.js.map +1 -0
- package/dist/node.d.ts +21 -0
- package/dist/node.js +8 -0
- package/dist/node.js.map +1 -0
- package/dist/spell-node.d.ts +8 -0
- package/dist/spell-node.js +23 -0
- package/dist/spell-node.js.map +1 -0
- package/dist/spell.d.ts +18 -0
- package/dist/spell.js +4 -0
- package/dist/spell.js.map +1 -0
- package/dist/z3-MWU3GSVT.js +5 -0
- package/dist/z3-MWU3GSVT.js.map +1 -0
- package/package.json +160 -0
package/package.json
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "typeglish",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"description": "The TypeGlish language + compiler — turn English into logically consistent, checkable programs for LLMs.",
|
|
6
|
+
"author": "Voiceflow, Inc.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Bradenream/TypeGlish.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/Bradenream/TypeGlish#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/Bradenream/TypeGlish/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"prompt",
|
|
17
|
+
"prompt-engineering",
|
|
18
|
+
"compiler",
|
|
19
|
+
"linter",
|
|
20
|
+
"typed-english",
|
|
21
|
+
"llm",
|
|
22
|
+
"agents"
|
|
23
|
+
],
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20.19"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"NOTICE"
|
|
33
|
+
],
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./node": {
|
|
40
|
+
"types": "./dist/node.d.ts",
|
|
41
|
+
"default": "./dist/node.js"
|
|
42
|
+
},
|
|
43
|
+
"./monaco": {
|
|
44
|
+
"types": "./dist/monaco.d.ts",
|
|
45
|
+
"default": "./dist/monaco.js"
|
|
46
|
+
},
|
|
47
|
+
"./monaco.css": "./dist/monaco.css",
|
|
48
|
+
"./mcp": {
|
|
49
|
+
"types": "./dist/mcp.d.ts",
|
|
50
|
+
"default": "./dist/mcp.js"
|
|
51
|
+
},
|
|
52
|
+
"./spell": {
|
|
53
|
+
"node": {
|
|
54
|
+
"types": "./dist/spell-node.d.ts",
|
|
55
|
+
"default": "./dist/spell-node.js"
|
|
56
|
+
},
|
|
57
|
+
"default": {
|
|
58
|
+
"types": "./dist/spell.d.ts",
|
|
59
|
+
"default": "./dist/spell.js"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"dictionary-en": "^4.0.0",
|
|
65
|
+
"dictionary-en-gb": "^3.0.0",
|
|
66
|
+
"monaco-editor": ">=0.40.0",
|
|
67
|
+
"nspell": "^2.1.5",
|
|
68
|
+
"z3-solver": "^4.16.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"dictionary-en": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"dictionary-en-gb": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"monaco-editor": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"nspell": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"z3-solver": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"dev": "vite",
|
|
89
|
+
"build": "vite build",
|
|
90
|
+
"preview": "vite preview",
|
|
91
|
+
"profile": "tsx src/cli/profile.ts",
|
|
92
|
+
"tg": "tsx src/cli/tg.ts",
|
|
93
|
+
"tg:run": "tsx src/cli/run.ts",
|
|
94
|
+
"tg:test": "tsx src/cli/test.ts",
|
|
95
|
+
"check": "tsx src/cli/check.ts",
|
|
96
|
+
"score": "tsx src/cli/score.ts",
|
|
97
|
+
"fmt": "tsx src/cli/fmt.ts",
|
|
98
|
+
"emit": "tsx src/cli/emit.ts",
|
|
99
|
+
"profiles": "tsx src/cli/profiles.ts",
|
|
100
|
+
"annotate": "tsx src/cli/annotate.ts",
|
|
101
|
+
"portability": "tsx src/cli/portability.ts",
|
|
102
|
+
"optimize": "tsx src/cli/optimize.ts",
|
|
103
|
+
"stress": "tsx src/cli/stress.ts",
|
|
104
|
+
"lsp": "tsx lsp/server.ts --stdio",
|
|
105
|
+
"lsp:smoke": "node lsp/smoke.mjs",
|
|
106
|
+
"refresh:models": "tsx scripts/refresh-models.ts",
|
|
107
|
+
"gen:syntax": "tsx scripts/gen-syntax.ts",
|
|
108
|
+
"gen:editor": "tsx scripts/gen-editor-config.ts",
|
|
109
|
+
"gen:agent-docs": "tsx scripts/gen-agent-docs.ts",
|
|
110
|
+
"typecheck": "tsc --noEmit",
|
|
111
|
+
"test": "vitest run",
|
|
112
|
+
"test:e2e": "playwright test",
|
|
113
|
+
"build:lib": "tsup && cp src/lib/monaco.css dist/monaco.css",
|
|
114
|
+
"prepublishOnly": "npm run build:lib",
|
|
115
|
+
"prepare": "husky || true",
|
|
116
|
+
"lint": "eslint .",
|
|
117
|
+
"semantic": "tsx src/cli/semantic.ts",
|
|
118
|
+
"semantic:bench": "tsx eval/semantic-bench/run.ts"
|
|
119
|
+
},
|
|
120
|
+
"devDependencies": {
|
|
121
|
+
"@anthropic-ai/sdk": "^0.105.0",
|
|
122
|
+
"@eslint/js": "^10.0.1",
|
|
123
|
+
"@huggingface/transformers": "^4.2.0",
|
|
124
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
125
|
+
"@monaco-editor/react": "^4.7.0",
|
|
126
|
+
"@playwright/test": "^1.61.1",
|
|
127
|
+
"@types/node": "^26.0.0",
|
|
128
|
+
"@types/nspell": "^2.1.6",
|
|
129
|
+
"@types/pluralize": "^0.0.33",
|
|
130
|
+
"@types/react": "^19.2.17",
|
|
131
|
+
"@types/react-dom": "^19.2.3",
|
|
132
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
133
|
+
"dictionary-en": "^4.0.0",
|
|
134
|
+
"dictionary-en-gb": "^3.0.0",
|
|
135
|
+
"eslint": "^10.6.0",
|
|
136
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
137
|
+
"globals": "^17.7.0",
|
|
138
|
+
"husky": "^9.1.7",
|
|
139
|
+
"monaco-editor": ">=0.40.0",
|
|
140
|
+
"nspell": "^2.1.5",
|
|
141
|
+
"peggy": "^5.1.0",
|
|
142
|
+
"pluralize": "^8.0.0",
|
|
143
|
+
"react": "^19.2.7",
|
|
144
|
+
"react-arborist": "^3.10.5",
|
|
145
|
+
"react-dom": "^19.2.7",
|
|
146
|
+
"tsup": "^8.5.1",
|
|
147
|
+
"tsx": "^4.22.4",
|
|
148
|
+
"typescript": "^6.0.3",
|
|
149
|
+
"typescript-eslint": "^8.62.0",
|
|
150
|
+
"vite": "^8.0.16",
|
|
151
|
+
"vitest": "^4.1.9",
|
|
152
|
+
"vscode-languageserver": "^10.0.1",
|
|
153
|
+
"vscode-languageserver-textdocument": "^1.0.12",
|
|
154
|
+
"z3-solver": "^4.16.0",
|
|
155
|
+
"zod": "^4.4.3"
|
|
156
|
+
},
|
|
157
|
+
"bin": {
|
|
158
|
+
"typeglish": "./dist/cli.js"
|
|
159
|
+
}
|
|
160
|
+
}
|