@ai-matrx/code-runtime 0.1.4

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/package.json ADDED
@@ -0,0 +1,137 @@
1
+ {
2
+ "name": "@ai-matrx/code-runtime",
3
+ "version": "0.1.4",
4
+ "description": "The AI Matrx in-frame code runtime: compiles stored multi-file TSX (Applets, kind components, tool and emit renderers, code blocks) against one documented import scope, with named stand-ins for anything unresolved, the one source-gate list, and a compile cache. Host-neutral: Next.js, Vite, a sandbox frame.",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "license": "MIT",
10
+ "keywords": [
11
+ "compile",
12
+ "babel",
13
+ "sandbox",
14
+ "scope",
15
+ "allowlist",
16
+ "applets",
17
+ "ai-matrx"
18
+ ],
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/AI-Matrix-Engine/aidream.git",
22
+ "directory": "apps/shared/code-runtime"
23
+ },
24
+ "homepage": "https://github.com/AI-Matrix-Engine/aidream/tree/main/apps/shared/code-runtime#readme",
25
+ "bugs": {
26
+ "url": "https://github.com/AI-Matrix-Engine/aidream/issues"
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "README.md",
31
+ "LICENSE",
32
+ "CHANGELOG.md"
33
+ ],
34
+ "exports": {
35
+ ".": {
36
+ "import": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/index.d.cts",
42
+ "default": "./dist/index.cjs"
43
+ }
44
+ },
45
+ "./gate": {
46
+ "import": {
47
+ "types": "./dist/gate.d.ts",
48
+ "default": "./dist/gate.js"
49
+ },
50
+ "require": {
51
+ "types": "./dist/gate.d.cts",
52
+ "default": "./dist/gate.cjs"
53
+ }
54
+ },
55
+ "./scope": {
56
+ "import": {
57
+ "types": "./dist/scope.d.ts",
58
+ "default": "./dist/scope.js"
59
+ },
60
+ "require": {
61
+ "types": "./dist/scope.d.cts",
62
+ "default": "./dist/scope.cjs"
63
+ }
64
+ },
65
+ "./transform": {
66
+ "import": {
67
+ "types": "./dist/transform.d.ts",
68
+ "default": "./dist/transform.js"
69
+ },
70
+ "require": {
71
+ "types": "./dist/transform.d.cts",
72
+ "default": "./dist/transform.cjs"
73
+ }
74
+ },
75
+ "./execute": {
76
+ "import": {
77
+ "types": "./dist/execute.d.ts",
78
+ "default": "./dist/execute.js"
79
+ },
80
+ "require": {
81
+ "types": "./dist/execute.d.cts",
82
+ "default": "./dist/execute.cjs"
83
+ }
84
+ },
85
+ "./gate-lists.json": "./dist/gate-lists.json",
86
+ "./package.json": "./package.json"
87
+ },
88
+ "dependencies": {
89
+ "@babel/standalone": "^8.0.6",
90
+ "lucide-react": "^1.47.0",
91
+ "recharts": "^3.10.1",
92
+ "@ai-matrx/icons": "latest",
93
+ "@ai-matrx/design-system": "latest"
94
+ },
95
+ "peerDependencies": {
96
+ "react": ">=18.0.0",
97
+ "react-dom": ">=18.0.0"
98
+ },
99
+ "devDependencies": {
100
+ "@arethetypeswrong/cli": "^0.18.5",
101
+ "@babel/core": "^8.0.6",
102
+ "@tailwindcss/vite": "^4.3.3",
103
+ "@testing-library/react": "^16.3.3",
104
+ "@types/node": "^26.6.2",
105
+ "@types/react": "19.3.0",
106
+ "@types/react-dom": "19.3.0",
107
+ "@vitejs/plugin-react": "^6.1.1",
108
+ "jsdom": "^30.1.1",
109
+ "playwright-core": "^1.56.0",
110
+ "publint": "^0.3.24",
111
+ "react": "^19.3.0",
112
+ "react-dom": "^19.3.0",
113
+ "tailwindcss": "^4.3.3",
114
+ "tsup": "^8.5.1",
115
+ "typescript": "^6.0.3",
116
+ "vite": "^8.3.0",
117
+ "vitest": "^5.0.1",
118
+ "@ai-matrx/content-ir-react": "0.21.0"
119
+ },
120
+ "publishConfig": {
121
+ "access": "public",
122
+ "registry": "https://registry.npmjs.org/"
123
+ },
124
+ "engines": {
125
+ "node": ">=20"
126
+ },
127
+ "sideEffects": false,
128
+ "scripts": {
129
+ "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
130
+ "check:package": "pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball",
131
+ "typecheck": "tsc -p tsconfig.json --noEmit",
132
+ "test": "vitest run",
133
+ "verify:tarball": "node ./scripts/verify-tarball.mjs",
134
+ "acceptance:vite": "vite --config examples/vite-acceptance/vite.config.ts",
135
+ "acceptance:vite:check": "node examples/vite-acceptance/check.mjs"
136
+ }
137
+ }