-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
289 lines (289 loc) · 9.53 KB
/
Copy pathpackage.json
File metadata and controls
289 lines (289 loc) · 9.53 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
{
"name": "okengine",
"version": "0.22.0",
"description": "One law. Eight elements. One contract. The backend model stays small; operational surfaces are derived from it instead of maintained separately.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/omqkhafi/okengine.git"
},
"bin": {
"oke": "src/cli/index.ts"
},
"workspaces": [
"packages/*",
"examples/*",
"site"
],
"files": [
"LICENSE",
"NOTICE",
"src",
"dist",
"manifest.v1.schema.json",
"AGENTS.md",
"README.md",
"site/content/docs"
],
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./src/index.ts",
"bun": "./src/index.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./http": {
"types": "./src/http.ts",
"bun": "./src/http.ts",
"import": "./dist/http.js",
"default": "./dist/http.js"
},
"./kernel": {
"types": "./src/kernel-entry.ts",
"bun": "./src/kernel-entry.ts",
"import": "./dist/kernel-entry.js",
"default": "./dist/kernel-entry.js"
},
"./full": {
"types": "./src/full.ts",
"bun": "./src/full.ts",
"import": "./dist/full.js",
"default": "./dist/full.js"
},
"./i18n": {
"types": "./src/i18n-entry.ts",
"bun": "./src/i18n-entry.ts",
"import": "./dist/i18n-entry.js",
"default": "./dist/i18n-entry.js"
},
"./compiler": {
"types": "./src/compiler-entry.ts",
"bun": "./src/compiler-entry.ts",
"import": "./dist/compiler-entry.js",
"default": "./dist/compiler-entry.js"
},
"./journal": {
"types": "./src/journal-entry.ts",
"bun": "./src/journal-entry.ts",
"import": "./dist/journal-entry.js",
"default": "./dist/journal-entry.js"
},
"./client": "./src/client/index.ts",
"./client/auth": "./src/client/auth.ts",
"./client/explain": "./src/client/explain.ts",
"./client-react": "./src/client-react/index.ts",
"./test": "./src/test/index.ts",
"./testing": {
"types": "./src/testing.ts",
"bun": "./src/testing.ts",
"import": "./dist/testing.js",
"default": "./dist/testing.js"
},
"./config": "./src/config/index.ts",
"./auth": "./src/auth/index.ts",
"./console": "./src/console/index.ts",
"./mcp": "./src/mcp/index.ts",
"./plugins": "./src/plugins/index.ts",
"./store": "./src/elements/store.ts",
"./signal": "./src/elements/signal.ts",
"./clock": "./src/elements/clock.ts",
"./gate": "./src/elements/gate.ts",
"./vault": "./src/elements/vault.ts",
"./channel": "./src/elements/channel.ts",
"./ai": "./src/elements/ai.ts",
"./runs": "./src/runs/index.ts",
"./drivers": "./src/drivers/index.ts",
"./drivers/*": "./src/drivers/*",
"./okid": {
"types": "./src/okid.ts",
"bun": "./src/okid.ts",
"import": "./dist/okid.js",
"default": "./dist/okid.js"
}
},
"scripts": {
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/console/tsconfig.ui-next.json && tsc --noEmit -p src/console/ui-next && bun run --cwd packages/create-oke typecheck && bun run --cwd examples/keel typecheck",
"lint": "oxlint --quiet",
"lint:fix": "oxlint --fix",
"fmt": "oxfmt",
"format": "oxfmt",
"fmt:check": "oxfmt --check",
"test": "bun test --pass-with-no-tests",
"test:coverage": "bun test --coverage --pass-with-no-tests",
"test:console:smoke": "bunx playwright test tests/console/smoke.spec.ts",
"test:console:setup": "bunx playwright test --config playwright.ui-next.config.ts",
"test:console:setup:report": "bunx playwright show-report playwright-report/ui-next",
"build": "bunx --bun vite build --config src/console/ui-next/vite.config.ts",
"dev:console": "bunx --bun vite --config src/console/ui-next/vite.config.ts",
"dev:console:seed": "OKE_CONSOLE_SEEDED=1 bunx --bun vite --config src/console/ui-next/vite.config.ts",
"dev:console:fresh": "OKE_CONSOLE_FRESH=1 bunx --bun vite --config src/console/ui-next/vite.config.ts",
"dev:console:fresh:seed": "OKE_CONSOLE_FRESH=1 OKE_CONSOLE_SEEDED=1 bunx --bun vite --config src/console/ui-next/vite.config.ts",
"dev:keel": "bun run --cwd examples/keel dev",
"dev:keel:seed": "bun run --cwd examples/keel seed",
"dev:keel:reset": "bun run --cwd examples/keel reset",
"test:keel": "bun run --cwd examples/keel test",
"test:keel:docker": "OKE_TEST_DOCKER=1 bun run --cwd examples/keel test",
"build:lib": "bun src/release/build-lib.ts",
"prepack": "bun run build && bun run build:lib",
"bench": "bun test ./src/runtime/cold-start.bench.ts src/client/budget.test.ts src/console/budget.test.ts src/kernel/budget.test.ts src/kernel/routing-budget.test.ts src/runs/bench.test.ts src/okid.bench.test.ts",
"bench:load": "OKE_BENCH=1 bun test ./src/bench/*.bench.ts --timeout 600000 --pass-with-no-tests",
"budgets": "bun src/release/publish.ts",
"budgets:core": "bun test src/kernel/budget.test.ts src/client/budget.test.ts",
"gate": "PUBLISH_GATE=1 bun test src/cli/doc-staleness.test.ts src/cli/competitor-mention-removal.test.ts src/drivers/vault-driver-removal.test.ts src/kernel/errors.registry.test.ts src/upgrade/codemods.test.ts scripts/publish.gate.test.ts",
"dev": "bun run --cwd site dev",
"site:build": "bun run --cwd site build",
"verify": "bun run lint && bun run fmt:check && bun run typecheck && bun run test && bun run gate && bun run site:build",
"ci": "bun scripts/ci.ts",
"bump": "bun run scripts/bump-version.ts",
"release": "bun run scripts/publish.ts",
"g": "gflows",
"postinstall": "bun run --cwd examples/keel prepare"
},
"dependencies": {
"@clack/prompts": "^1.8.1",
"intl-messageformat": "^11.2.14",
"oxc-parser": "^0.149.0",
"sently": "1.2.2"
},
"devDependencies": {
"@base-ui/react": "^1.8.0",
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/state": "^6.7.6",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.43.13",
"@dagrejs/dagre": "^3.1.1",
"@duckdb/node-api": "^1.5.5-r.5",
"@electric-sql/pglite": "^0.5.8",
"@electric-sql/pglite-pgvector": "^0.0.9",
"@hugeicons/core-free-icons": "^4.3.5",
"@hugeicons/react": "^1.1.10",
"@number-flow/react": "^0.6.2",
"@oxc-project/types": "^0.149.0",
"@playwright/test": "^1.63.0",
"@sinclair/typebox": "^0.34.52",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-form": "^1.33.5",
"@tanstack/react-hotkeys": "^0.10.0",
"@tanstack/react-query": "^5.103.2",
"@tanstack/react-router": "^1.170.39",
"@tanstack/react-table": "^9.2.4",
"@tanstack/react-virtual": "^3.14.13",
"@types/bun": "latest",
"@types/d3-array": "^3.2.2",
"@types/d3-shape": "^3.2.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@visx/curve": "4.0.1-alpha.0",
"@visx/event": "4.0.1-alpha.0",
"@visx/gradient": "4.0.1-alpha.0",
"@visx/grid": "4.0.1-alpha.0",
"@visx/responsive": "4.0.1-alpha.0",
"@visx/scale": "4.0.1-alpha.0",
"@visx/shape": "4.0.1-alpha.0",
"@vitejs/plugin-react": "^6.1.1",
"@xyflow/react": "^12.11.6",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"arktype": "^2.2.3",
"axe-core": "^4.13.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"d3-array": "^3.2.4",
"d3-shape": "^3.2.0",
"date-fns": "^4.4.0",
"drizzle-kit": "1.0.0-rc.5-5935859",
"drizzle-orm": "1.0.0-rc.5-5935859",
"gflows": "^1.2.1",
"happy-dom": "^20.14.5",
"hast-util-to-jsx-runtime": "^2.3.6",
"mermaid": "^11.17.2",
"motion": "^13.4.2",
"nuqs": "^2.10.1",
"oxfmt": "^0.67.0",
"oxlint": "^1.85.0",
"oxlint-tsgolint": "^7.0.2002",
"playwright": "^1.63.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-resizable-panels": "^4.13.3",
"shadcn": "^4.21.0",
"shiki": "^4.4.3",
"tailwind-merge": "^3.7.0",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0",
"typescript": "^7.0.2",
"valibot": "^1.5.0",
"vite": "^8.3.0",
"zod": "^4.6.5"
},
"peerDependencies": {
"@aws-sdk/client-kms": ">=3.0.0",
"@aws-sdk/client-secrets-manager": ">=3.0.0",
"@azure/identity": ">=4.0.0",
"@azure/keyvault-secrets": ">=4.0.0",
"@duckdb/node-api": ">=1.5.0",
"@electric-sql/pglite": ">=0.5.0",
"@electric-sql/pglite-pgvector": ">=0.0.5",
"@google-cloud/secret-manager": ">=5.0.0",
"ajv": ">=8.0.0",
"ajv-formats": ">=3.0.0",
"drizzle-kit": ">=1.0.0-rc.0",
"drizzle-orm": ">=1.0.0-rc.0",
"react": ">=18.0.0",
"zod": ">=3.23.0"
},
"peerDependenciesMeta": {
"@aws-sdk/client-kms": {
"optional": true
},
"@aws-sdk/client-secrets-manager": {
"optional": true
},
"@azure/identity": {
"optional": true
},
"@azure/keyvault-secrets": {
"optional": true
},
"@google-cloud/secret-manager": {
"optional": true
},
"@duckdb/node-api": {
"optional": true
},
"@electric-sql/pglite": {
"optional": true
},
"@electric-sql/pglite-pgvector": {
"optional": true
},
"ajv": {
"optional": true
},
"ajv-formats": {
"optional": true
},
"react": {
"optional": true
},
"drizzle-kit": {
"optional": true
},
"drizzle-orm": {
"optional": true
},
"zod": {
"optional": true
}
},
"optionalDependencies": {
"ink": "^6.0.0",
"react": "^19.3.0"
},
"engines": {
"bun": ">=1.4.2"
}
}