learning_ai_common_plat/__LOCAL_LLMs
saravanakumardb1 19674c7ef7 feat(cowork-service): ecosystem alignment + IPC bridge to Rust runtime
ECOSYSTEM GAPS CLOSED — cowork-service now matches the pattern used by
all other product backends (FlowMonk, ActionTrail, NoteLett, etc.):

New lib files (6):
- lib/product-config.ts — canonical product identity (PRODUCT_ID, productConfig)
- lib/auth.ts — @bytelyst/fastify-auth createAuthMiddleware
- lib/request-context.ts — getUserId(), getRequestProductId()
- lib/telemetry.ts — @bytelyst/backend-telemetry buffer
- lib/feature-flags.ts — @bytelyst/backend-flags with 12 cowork flags
- lib/ipc-bridge.ts — IpcBridge class: spawn Rust child, JSON-RPC, 13 methods

Updated files:
- lib/config.ts — extends @bytelyst/backend-config baseBackendConfigSchema
- server.ts — JWT context, bootstrap endpoint, IPC startup, graceful shutdown
- modules/tasks/routes.ts — IPC bridge forwarding with in-memory fallback
- modules/health/routes.ts — productId from product-config, IPC status
- package.json — 7 new @bytelyst/* workspace deps

IPC bridge features:
- Spawns cowork-orchestrator --ipc-bridge as child process
- JSON-RPC 2.0 over stdin/stdout (line-delimited)
- 13 convenience methods matching Rust IpcHandler
- Timeout + pending request tracking
- Graceful shutdown with SIGTERM
- Singleton pattern with setIpcBridge() for testing

24 tests passing (was 8), typecheck clean.
2026-04-02 22:14:24 -07:00
..
AI_IDE_CHAT_HISTORY/WINDSURF feat(cowork-service): ecosystem alignment + IPC bridge to Rust runtime 2026-04-02 22:14:24 -07:00
dashboard fix: replace corepack pnpm with pnpm in pretest/predev scripts 2026-03-19 19:57:16 -07:00
docs ci: update CI/CD configuration 2026-02-21 14:13:07 -08:00
OPEN_CLAW docs(openclaw): add detailed install, secure setup & validation guide 2026-02-22 15:38:52 -08:00
oss_llm move oss_llm/ from learning_ai_2nd_brain 2026-02-28 00:03:37 -08:00
VOICEBOX docs(voicebox): add setup guide for local voice cloning studio 2026-02-22 15:45:32 -08:00
windows_specific chore(local-llms): add WSL Ollama connectivity test script 2026-02-22 16:46:18 -08:00
.gitignore chore(windsurf): refresh chat history archive snapshot 2026-02-28 00:04:09 -08:00
download-tts-models.sh ci: update CI/CD configuration 2026-02-21 14:13:07 -08:00
LOCAL_LLMs_setup_mac_m4_48gb.md docs(local-llms): add developer guide — API endpoint, code examples, model selection 2026-02-19 18:43:06 -08:00
setup-tts.sh fix(local-llms): harden WSL setup and dashboard Ollama connectivity 2026-02-22 16:44:58 -08:00
start-dashboard.sh fix(local-llms): harden WSL setup and dashboard Ollama connectivity 2026-02-22 16:44:58 -08:00
test_orpheus_tts.py fix(local-llms): cross-platform audit — 8 bugs/gaps fixed 2026-02-21 15:27:49 -08:00
test_qwen_tts.py fix(local-llms): cross-platform audit — 8 bugs/gaps fixed 2026-02-21 15:27:49 -08:00