oomi-ai 0.2.50 → 0.3.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.
Files changed (88) hide show
  1. package/README.md +203 -507
  2. package/agent_instructions.md +244 -253
  3. package/bin/oomi-ai.js +4026 -5795
  4. package/bin/sessionBridgeState.js +78 -78
  5. package/lib/openclawPaths.js +70 -71
  6. package/lib/openclawProfile.js +216 -216
  7. package/lib/personaApiClient.js +133 -303
  8. package/lib/spokenMetadata.js +137 -137
  9. package/openclaw.extension.js +341 -341
  10. package/openclaw.plugin.json +17 -17
  11. package/package.json +59 -59
  12. package/persona-app/README.md +27 -0
  13. package/persona-app/registry/v1.json +63 -0
  14. package/persona-app/schema/persona-app.v1.schema.json +90 -0
  15. package/skills/oomi/SKILL.md +165 -182
  16. package/skills/oomi/agent_instructions.md +99 -80
  17. package/lib/channelPluginClient.js +0 -119
  18. package/lib/openclawDevGateway.js +0 -384
  19. package/lib/personaJobExecutor.js +0 -139
  20. package/lib/personaJobPoller.js +0 -112
  21. package/lib/personaPortAllocator.js +0 -36
  22. package/lib/personaRuntimeManager.js +0 -496
  23. package/lib/personaRuntimeProcess.js +0 -924
  24. package/lib/personaRuntimeRegistry.js +0 -67
  25. package/lib/personaRuntimeSupervisor.js +0 -330
  26. package/lib/scaffold.js +0 -108
  27. package/lib/template.js +0 -45
  28. package/skills/oomi/config.json +0 -3
  29. package/skills/oomi/scripts/get_avatar_capabilities.py +0 -40
  30. package/skills/oomi/scripts/get_data.py +0 -49
  31. package/skills/oomi/scripts/install_agent_instructions.py +0 -78
  32. package/skills/oomi/scripts/send_goal.py +0 -53
  33. package/skills/oomi/scripts/sync.py +0 -46
  34. package/skills/oomi/setup.py +0 -41
  35. package/templates/persona-app/.env.example +0 -8
  36. package/templates/persona-app/README.md +0 -58
  37. package/templates/persona-app/eslint.config.js +0 -28
  38. package/templates/persona-app/index.html +0 -18
  39. package/templates/persona-app/oomi.runtime.json +0 -13
  40. package/templates/persona-app/package.json +0 -44
  41. package/templates/persona-app/persona/brief.md +0 -14
  42. package/templates/persona-app/persona.json +0 -14
  43. package/templates/persona-app/public/manifest.webmanifest +0 -8
  44. package/templates/persona-app/public/oomi.health.json +0 -6
  45. package/templates/persona-app/src/App.css +0 -379
  46. package/templates/persona-app/src/App.tsx +0 -17
  47. package/templates/persona-app/src/index.css +0 -53
  48. package/templates/persona-app/src/main.tsx +0 -23
  49. package/templates/persona-app/src/pages/HomePage.tsx +0 -127
  50. package/templates/persona-app/src/pages/ScenePage.tsx +0 -158
  51. package/templates/persona-app/src/persona/config.ts +0 -6
  52. package/templates/persona-app/src/persona/notes.ts +0 -10
  53. package/templates/persona-app/src/spatial.ts +0 -82
  54. package/templates/persona-app/src/vite-env.d.ts +0 -3
  55. package/templates/persona-app/template.json +0 -13
  56. package/templates/persona-app/tsconfig.app.json +0 -23
  57. package/templates/persona-app/tsconfig.json +0 -7
  58. package/templates/persona-app/tsconfig.node.json +0 -21
  59. package/templates/persona-app/vendor/webspatial/FORK.md +0 -6
  60. package/templates/persona-app/vendor/webspatial/core-sdk/LICENSE +0 -21
  61. package/templates/persona-app/vendor/webspatial/core-sdk/dist/iife/index.d.ts +0 -906
  62. package/templates/persona-app/vendor/webspatial/core-sdk/dist/iife/index.global.js +0 -75
  63. package/templates/persona-app/vendor/webspatial/core-sdk/dist/iife/index.global.js.map +0 -1
  64. package/templates/persona-app/vendor/webspatial/core-sdk/dist/index.d.ts +0 -906
  65. package/templates/persona-app/vendor/webspatial/core-sdk/dist/index.js +0 -3131
  66. package/templates/persona-app/vendor/webspatial/core-sdk/dist/index.js.map +0 -1
  67. package/templates/persona-app/vendor/webspatial/core-sdk/package.json +0 -45
  68. package/templates/persona-app/vendor/webspatial/react-sdk/LICENSE +0 -21
  69. package/templates/persona-app/vendor/webspatial/react-sdk/dist/default/index.d.ts +0 -365
  70. package/templates/persona-app/vendor/webspatial/react-sdk/dist/default/index.js +0 -4167
  71. package/templates/persona-app/vendor/webspatial/react-sdk/dist/default/index.js.map +0 -1
  72. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-dev-runtime.d.ts +0 -82
  73. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-dev-runtime.js +0 -66
  74. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-dev-runtime.js.map +0 -1
  75. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-dev-runtime.web.d.ts +0 -2
  76. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-dev-runtime.web.js +0 -18
  77. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-dev-runtime.web.js.map +0 -1
  78. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-runtime.d.ts +0 -5
  79. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-runtime.js +0 -66
  80. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-runtime.js.map +0 -1
  81. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-runtime.web.d.ts +0 -1
  82. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-runtime.web.js +0 -18
  83. package/templates/persona-app/vendor/webspatial/react-sdk/dist/jsx/jsx-runtime.web.js.map +0 -1
  84. package/templates/persona-app/vendor/webspatial/react-sdk/dist/web/index.d.ts +0 -365
  85. package/templates/persona-app/vendor/webspatial/react-sdk/dist/web/index.js +0 -4207
  86. package/templates/persona-app/vendor/webspatial/react-sdk/dist/web/index.js.map +0 -1
  87. package/templates/persona-app/vendor/webspatial/react-sdk/package.json +0 -94
  88. package/templates/persona-app/vite.config.ts +0 -31
@@ -1,94 +0,0 @@
1
- {
2
- "name": "@webspatial/react-sdk",
3
- "version": "1.2.1",
4
- "description": "React components for WebSpatial",
5
- "main": "./dist/default/index.js",
6
- "type": "module",
7
- "types": "./dist/default/index.d.ts",
8
- "exports": {
9
- ".": "./dist/default/index.js",
10
- "./jsx-runtime": {
11
- "react-server": "./dist/jsx/jsx-runtime.web.js",
12
- "default": "./dist/jsx/jsx-runtime.js"
13
- },
14
- "./jsx-dev-runtime": {
15
- "react-server": "./dist/jsx/jsx-dev-runtime.web.js",
16
- "default": "./dist/jsx/jsx-dev-runtime.js"
17
- },
18
- "./default": "./dist/default/index.js",
19
- "./default/jsx-dev-runtime": {
20
- "react-server": "./dist/jsx/jsx-dev-runtime.web.js",
21
- "default": "./dist/jsx/jsx-dev-runtime.js"
22
- },
23
- "./default/jsx-runtime": {
24
- "react-server": "./dist/jsx/jsx-runtime.web.js",
25
- "default": "./dist/jsx/jsx-runtime.js"
26
- },
27
- "./web": "./dist/web/index.js",
28
- "./web/jsx-dev-runtime": "./dist/jsx/jsx-dev-runtime.web.js",
29
- "./web/jsx-runtime": "./dist/jsx/jsx-runtime.web.js"
30
- },
31
- "files": [
32
- "dist"
33
- ],
34
- "scripts": {
35
- "test": "tsc -p ./tsconfig.json && vitest run",
36
- "dev": "tsup --watch",
37
- "build": "tsup",
38
- "start": "npm run dev",
39
- "format": "npx prettier --write 'src/**/*.ts' 'src/**/*.tsx' || true"
40
- },
41
- "repository": {
42
- "type": "git",
43
- "url": "git+https://github.com/webspatial/webspatial-sdk.git",
44
- "directory": "packages/react"
45
- },
46
- "author": "",
47
- "license": "MIT",
48
- "bugs": {
49
- "url": "https://github.com/webspatial/webspatial-sdk/issues"
50
- },
51
- "homepage": "https://github.com/webspatial/webspatial-sdk#readme",
52
- "peerDependencies": {
53
- "@webspatial/core-sdk": "^1.1.0",
54
- "react": ">=18.0.0",
55
- "react-dom": ">=18.0.0",
56
- "html2canvas": "^1.4.1"
57
- },
58
- "peerDependenciesMeta": {
59
- "@webspatial/core-sdk": {
60
- "optional": false
61
- },
62
- "react": {
63
- "optional": true
64
- },
65
- "react-dom": {
66
- "optional": true
67
- },
68
- "html2canvas": {
69
- "optional": true
70
- }
71
- },
72
- "devDependencies": {
73
- "@testing-library/jest-dom": "^6.4.8",
74
- "@testing-library/react": "^16.0.0",
75
- "@types/node": "^22.5.5",
76
- "@types/react": "^18.3.3",
77
- "@types/react-dom": "^18.3.0",
78
- "@types/unist": "^3.0.2",
79
- "@vitest/coverage-v8": "^2.0.4",
80
- "@vitejs/plugin-react": "^4.3.1",
81
- "react": "^18.2.0",
82
- "react-dom": "^18.2.0",
83
- "esbuild": "^0.23.1",
84
- "esbuild-plugin-d.ts": "^1.3.1",
85
- "esbuild-plugin-define": "^0.5.0",
86
- "jsdom": "^24.1.1",
87
- "tiny-glob": "^0.2.9",
88
- "tsup": "^8.4.0",
89
- "typedoc": "^0.26.5",
90
- "typedoc-plugin-markdown": "^4.2.2",
91
- "typescript": "^5.5.4",
92
- "vitest": "^2.0.4"
93
- }
94
- }
@@ -1,31 +0,0 @@
1
- import react from "@vitejs/plugin-react";
2
- import webSpatial from "@webspatial/vite-plugin";
3
- import { defineConfig } from "vite";
4
- import { createHtmlPlugin } from "vite-plugin-html";
5
-
6
- const isAvp = process.env.XR_ENV === "avp";
7
-
8
- export default defineConfig({
9
- optimizeDeps: isAvp
10
- ? {
11
- exclude: [
12
- "@webspatial/core-sdk",
13
- "@webspatial/react-sdk",
14
- "@webspatial/react-sdk/default",
15
- "@webspatial/react-sdk/default/jsx-runtime",
16
- "@webspatial/react-sdk/default/jsx-dev-runtime",
17
- ],
18
- }
19
- : undefined,
20
- plugins: [
21
- react(),
22
- webSpatial(),
23
- createHtmlPlugin({
24
- inject: {
25
- data: {
26
- XR_ENV: process.env.XR_ENV,
27
- },
28
- },
29
- }),
30
- ],
31
- });