f345bc1481
Replace DANGEROUSLY_LOG_TO_SERVER_FOR_AI_AUTO_DEBUGGING env var approach with a dedicated local log receiver server + app setting. The app can now point at prod sync server for data while sending console logs to a separate local server for debugging. - New package: happy-app-logs — minimal HTTP server (~90 lines) that writes to ~/.happy/app-logs/ and stdout - App: new Log Server URL setting on dev screen (MMKV-persisted) - App: remoteLogger.ts reads from MMKV/EXPO_PUBLIC_LOG_SERVER_URL - Environments: replaced EXPO_PUBLIC_DANGEROUSLY_* with EXPO_PUBLIC_LOG_SERVER_URL pointing to localhost:8787 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
"name": "monorepo",
|
|
"private": true,
|
|
"scripts": {
|
|
"cli": "yarn workspace happy cli",
|
|
"release": "node ./scripts/release.cjs",
|
|
"web": "yarn workspace happy-app web",
|
|
"app-logs": "yarn workspace happy-app-logs start",
|
|
"postinstall": "node ./scripts/postinstall.cjs",
|
|
"env:new": "tsx environments/environments.ts new",
|
|
"env:list": "tsx environments/environments.ts list",
|
|
"env:use": "tsx environments/environments.ts use",
|
|
"env:remove": "tsx environments/environments.ts remove",
|
|
"env:current": "tsx environments/environments.ts current",
|
|
"env:server": "tsx environments/environments.ts run server",
|
|
"env:web": "tsx environments/environments.ts run web",
|
|
"env:ios": "tsx environments/environments.ts run ios",
|
|
"env:android": "tsx environments/environments.ts run android",
|
|
"env:cli": "tsx environments/environments.ts run cli",
|
|
"env:seed": "tsx environments/environments.ts seed",
|
|
"env:up": "tsx environments/environments.ts up",
|
|
"env:up:authenticated": "yarn env:up --template authenticated-empty",
|
|
"env:down": "tsx environments/environments.ts down",
|
|
"env:tailscale": "tsx environments/environments.ts tailscale"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/happy-app",
|
|
"packages/happy-agent",
|
|
"packages/happy-cli",
|
|
"packages/happy-server",
|
|
"packages/happy-wire",
|
|
"packages/happy-app-logs"
|
|
],
|
|
"nohoist": [
|
|
"**/zod",
|
|
"**/react",
|
|
"**/react-dom",
|
|
"**/react-native",
|
|
"**/react-native/**",
|
|
"**/react-native-edge-to-edge/**",
|
|
"**/react-native-incall-manager/**"
|
|
]
|
|
},
|
|
"packageManager": "yarn@1.22.22"
|
|
}
|