feat(deploy): run shared toolkit socket
Lint and Build Checks / Lint, Test, and Build (push) Failing after 364h2m28s

This commit is contained in:
2026-06-24 15:35:08 -05:00
parent 47567589e4
commit 79d36c4e2d
15 changed files with 443 additions and 95 deletions
+17 -46
View File
@@ -54,12 +54,7 @@
"purpose": "Human-facing overview for setup, commands, architecture, toolkit behavior, and validation."
}
],
"globalReadOrder": [
"llm.txt",
"manifest.llm.json",
"AGENTS.md",
"README.md"
],
"globalReadOrder": ["llm.txt", "manifest.llm.json", "AGENTS.md", "README.md"],
"globalReadOrderSemantics": "Broad orientation order. Task routers should prefer taskRoutes read arrays to avoid over-reading.",
"documentationFiles": [
{
@@ -122,6 +117,8 @@
"entry": "socket/server.mjs",
"devCommand": "npm run dev:toolkit",
"healthUrl": "http://127.0.0.1:5174/health",
"deployCommand": "npm run deploy:toolkit",
"deployHealthUrl": "http://bone-kingdom.tabitha.tealthrone:5174/health",
"primary": true
},
{
@@ -167,6 +164,8 @@
"dev:toolkit": "node socket/server.mjs",
"dev:all": "concurrently -k -n app,toolkit -c blue,magenta \"npm run dev\" \"npm run dev:toolkit\"",
"dev:clear": "node socket/clear.mjs",
"deploy:frontend-health": "node scripts/deploy/write-frontend-health.mjs",
"deploy:toolkit": "sh scripts/deploy/restart-toolkit-socket.sh",
"electron:dev": "npm run electron:compile && cross-env NODE_ENV=development VITE_DEV_SERVER_URL=http://127.0.0.1:5173 concurrently -k \"vite --host 127.0.0.1\" \"wait-on http://127.0.0.1:5173 && electron .\"",
"electron:build": "npm run web:build && npm run electron:compile",
"electron:compile": "tsc -p tsconfig.electron.json",
@@ -178,11 +177,7 @@
},
"architecture": {
"rootComponent": "App.tsx",
"componentTree": [
"SafeAreaProvider",
"GameViewport",
"AppNavigator"
],
"componentTree": ["SafeAreaProvider", "GameViewport", "AppNavigator"],
"navigation": {
"type": "zustand-store with animated fade transitions",
"routes": "src/navigation/routes.ts",
@@ -237,13 +232,7 @@
"androidDefault",
"phoneLarge"
],
"volumeKeys": [
"master",
"music",
"ambience",
"speech",
"sfx"
]
"volumeKeys": ["master", "music", "ambience", "speech", "sfx"]
},
"screens": [
"src/screens/HomeScreen.tsx",
@@ -313,11 +302,7 @@
"hook": "src/hooks/useBackgroundMusic.ts",
"webHook": "src/hooks/useBackgroundMusic.web.ts",
"defaultTrack": "src/assets/music/throne-of-the-bone-king.mp3",
"volumeControls": [
"master",
"music",
"mute"
]
"volumeControls": ["master", "music", "mute"]
},
"toolkit": {
"screen": "src/screens/ToolkitScreen.tsx",
@@ -358,10 +343,7 @@
"webEntry": "src/web/main.tsx",
"electronMain": "electron/main.ts",
"electronPreload": "electron/preload.ts",
"buildOutputs": [
"dist/renderer/",
"dist/electron/"
]
"buildOutputs": ["dist/renderer/", "dist/electron/"]
},
"taskRoutes": {
"ui-screen": {
@@ -416,11 +398,7 @@
"Electron main/preload compile to dist/electron/.",
"Vite emits renderer assets to dist/renderer/."
],
"verify": [
"npm run lint",
"npm run web:build",
"npm run electron:build"
],
"verify": ["npm run lint", "npm run web:build", "npm run electron:build"],
"update": [
"manifest.llm.json when targets, build outputs, or dev commands change"
]
@@ -465,9 +443,7 @@
"Keep Changelog, Credits, and Legal JSON under src/data/toolkit/.",
"Update src/data/toolkit/changelog.json before committing or pushing meaningful deliverables unless explicitly skipped."
],
"verify": [
"npm run test -- --runInBand"
]
"verify": ["npm run test -- --runInBand"]
},
"realtime": {
"description": "Socket.IO server/client wiring for Toolkit connection status and content sync.",
@@ -516,9 +492,7 @@
"<target source>",
"<related __tests__ file>"
],
"verify": [
"npm run test -- --runInBand"
]
"verify": ["npm run test -- --runInBand"]
},
"docs": {
"description": "README, AGENTS, llm.txt, manifest, docs, or wiki maintenance.",
@@ -627,14 +601,13 @@
"No JSON Schema validator exists yet for manifest.llm.json.",
"Toolkit content panels use socket-backed structured authoring forms for current JSON fields.",
"Toolkit audio and image resources can upload local files through the Toolkit socket into src/assets uploads folders.",
"The deployed Toolkit socket is expected to run from the shared repo workspace so deployed browser authoring updates development JSON and uploaded assets.",
"Toolkit JSON schemas are first-pass wiki-derived interfaces and should remain flexible while authoring forms stabilize.",
"Native android/ and ios/ folders are not currently present in this checkout.",
"No database exists yet; editable content is intentionally JSON-backed until schemas stabilize."
],
"verificationBaseline": {
"logicOrStoreChanges": [
"npm run test -- --runInBand"
],
"logicOrStoreChanges": ["npm run test -- --runInBand"],
"uiChanges": [
"npm run lint",
"npm run test -- --runInBand",
@@ -648,12 +621,10 @@
"socketChanges": [
"npm run test -- --runInBand",
"npm run dev:toolkit",
"curl http://127.0.0.1:5174/health"
],
"mobileChanges": [
"npm run lint",
"npm run test -- --runInBand"
"curl http://127.0.0.1:5174/health",
"curl http://bone-kingdom.tabitha.tealthrone:5174/health"
],
"mobileChanges": ["npm run lint", "npm run test -- --runInBand"],
"docsChanges": [
"node -e \"JSON.parse(require('fs').readFileSync('manifest.llm.json','utf8')); console.log('manifest ok')\"",
"npm run lint"