@womp/spark-agent 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/README.md +87 -0
- package/dist/agent.d.ts +11 -0
- package/dist/agent.js +168 -0
- package/dist/coordinates.d.ts +22 -0
- package/dist/coordinates.js +123 -0
- package/dist/executor.d.ts +4 -0
- package/dist/executor.js +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +5 -0
- package/dist/models.d.ts +44 -0
- package/dist/models.js +61 -0
- package/dist/prompt.d.ts +1 -0
- package/dist/prompt.js +209 -0
- package/dist/runtime.d.ts +29 -0
- package/dist/runtime.js +215 -0
- package/dist/types.d.ts +101 -0
- package/dist/types.js +1 -0
- package/dist/womp-scene-api.d.ts +54 -0
- package/dist/womp-scene-api.js +815 -0
- package/package.json +63 -0
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@womp/spark-agent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Environment-neutral AI agent core for modeling Kakapo scenes",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**/*.js",
|
|
18
|
+
"dist/**/*.d.ts",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/wompxyz/spark-agent.git"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
35
|
+
"build": "yarn clean && tsc -p tsconfig.json",
|
|
36
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p web/tsconfig.json",
|
|
37
|
+
"lint": "yarn typecheck",
|
|
38
|
+
"dev": "yarn build && vite --config web/vite.config.ts",
|
|
39
|
+
"web:build": "yarn build && tsc --noEmit -p web/tsconfig.json && vite build --config web/vite.config.ts",
|
|
40
|
+
"test": "yarn build && tsx --tsconfig tsconfig.json --test test/**/*.test.ts && node --input-type=module -e \"await import('@womp/spark-agent')\"",
|
|
41
|
+
"test:live": "tsx --tsconfig tsconfig.json test/womp-scene-api.live.ts",
|
|
42
|
+
"prepack": "yarn build"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@womp/kakapo-sdk": "0.1.0",
|
|
46
|
+
"ai": "^7.0.37",
|
|
47
|
+
"zod": "^4.4.3"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@ai-sdk/anthropic": "^4.0.23",
|
|
51
|
+
"@ai-sdk/openai": "^4.0.20",
|
|
52
|
+
"@types/node": "^24.0.0",
|
|
53
|
+
"@types/react": "^19.2.17",
|
|
54
|
+
"@types/react-dom": "^19.2.3",
|
|
55
|
+
"@vitejs/plugin-react": "^6.0.4",
|
|
56
|
+
"lucide-react": "^1.26.0",
|
|
57
|
+
"react": "^19.2.8",
|
|
58
|
+
"react-dom": "^19.2.8",
|
|
59
|
+
"tsx": "^4.23.1",
|
|
60
|
+
"typescript": "^5.9.3",
|
|
61
|
+
"vite": "^8.1.5"
|
|
62
|
+
}
|
|
63
|
+
}
|