Commit Graph

343 Commits

Author SHA1 Message Date
saravanakumardb1
4e94ecd721 feat(auth): add forgot-password/change-password API routes to admin dashboard + wire email delivery
Admin dashboard:
- platform-client.ts: Added forgotPasswordViaService, changePasswordViaService, deleteAccountViaService
- app/api/auth/forgot-password/route.ts: New API route proxying to platform-service
- app/api/auth/change-password/route.ts: New API route for authenticated password change

Platform-service (from prior session):
- auth/routes.ts: Added /auth/change-password and DELETE /auth/account endpoints, wired email verification on register
- auth/types.ts: Added ChangePasswordSchema and DeleteAccountSchema
- delivery/subscribers.ts: Updated password reset subscriber, added email verification subscriber
- delivery/channels/email.ts: Added ByteLyst email API provider (sendViaBytelyst)
- delivery/types.ts: Added 'bytelyst' provider
- events/types.ts: Added resetToken/displayName to user.password_reset, added user.email_verification_requested event
2026-02-28 04:17:04 -08:00
saravanakumardb1
e3e332cee6 docs: update documentation 2026-02-28 03:28:48 -08:00
saravanakumardb1
e6eee35544 docs: fix stale references to consolidated services and migrated dashboards 2026-02-28 03:06:44 -08:00
saravanakumardb1
27f271d983 feat(platform): add P1 operational maturity modules — sessions, maintenance, exports, IP rules
- modules/sessions: device session tracking, revoke one/all, admin force-revoke (9 tests)
- modules/maintenance: 4 modes (off/read_only/maintenance/emergency), bypass roles/IPs, scheduled windows (14 tests)
- modules/exports: GDPR data export jobs for users/audit/telemetry/usage/subscriptions/licenses (10 tests)
- modules/ip-rules: IP allow/deny with CIDR matching, temporary blocks with expiry (10 tests)
- cosmos-init: 4 new containers (sessions, ip_rules, export_jobs, maintenance_windows)
- 1029 platform-service tests passing across 74 test files
2026-02-28 02:47:22 -08:00
saravanakumardb1
069d1ffda9 docs: add 19 reusable AI coding agent skills + sessions module scaffold 2026-02-28 02:41:22 -08:00
saravanakumardb1
662d417267 feat(platform): add email delivery module, wire event bus into auth, update roadmap
- modules/delivery: 8 email templates, renderer, SendGrid/Postmark/console adapters, dispatcher, delivery log, 21 tests
- modules/delivery/subscribers: event bus listeners for user.created, password_reset, email_verified
- auth/routes: emit bus events on register, forgot-password, verify-email (fire-and-forget)
- cosmos-init: delivery_log container (pk /pk, 90d TTL)
- roadmap: updated inventory (30 modules, 14 packages, 988 tests), marked P0 items complete
- 988 platform-service + 14 events = 1002 total tests passing
2026-02-28 02:36:58 -08:00
saravanakumardb1
772f428967 feat(platform): add P0 foundational modules — event bus, scheduled jobs, password reset, email verification, status page 2026-02-28 02:29:08 -08:00
saravanakumardb1
0e468f74ea docs: update AGENTS.md — add dashboards/ to monorepo layout 2026-02-28 02:19:50 -08:00
saravanakumardb1
2d54795c30 feat(dashboards): migrate admin + tracker dashboards to common-plat as product-agnostic
- Copy admin-dashboard-web → dashboards/admin-web
- Copy tracker-dashboard-web → dashboards/tracker-web
- Update pnpm-workspace.yaml to include dashboards/*
- Replace file: refs with workspace:* for @bytelyst/* packages
- Replace all hardcoded LysnrAI/lysnn.com branding with generic platform refs
- Make telemetry use NEXT_PUBLIC_PRODUCT_ID / PRODUCT_ID env vars
- Update mock credentials, seed data, invitation codes, placeholders
- Update READMEs, e2e tests, unit tests for product-agnostic content
- Both dashboards pass tsc --noEmit clean
2026-02-28 02:17:35 -08:00
saravanakumardb1
9a5e93bf05 feat(nomgap): add social-fasting + meal-log modules (47 tests, 2 Cosmos containers) 2026-02-28 00:37:46 -08:00
saravanakumardb1
5e8f133816 feat(webhooks): add webhook subscriptions module — 15 event types, HMAC signing, retry delivery 2026-02-28 00:27:32 -08:00
saravanakumardb1
b4237acaa2 feat(chronomind): add routines, households, shared-timers modules (88 new tests, 847 total) 2026-02-28 00:05:18 -08:00
saravanakumardb1
eae39cbd4e chore(windsurf): refresh chat history archive snapshot
- Updated repo docs and workflows from all 4 repos
- Stats: 50 conversations (540M), 45 memories, 182 tracker dirs, 1810 edit history entries
- Gitignore launchd log files
2026-02-28 00:04:09 -08:00
saravanakumardb1
1a4b3c1fb3 move oss_llm/ from learning_ai_2nd_brain 2026-02-28 00:03:37 -08:00
saravanakumardb1
a32978f9c3 feat(windsurf): add chat history archive auto-refresh tooling
- refresh.sh: idempotent script, auto-discovers repos, updates symlinks + copies docs/workflows
- launchd plist: scheduled daily at 11 PM + on login
- /refresh-chat-history workflow for on-demand Cascade runs
- README updated with auto-refresh docs and full data inventory
- Repo docs and workflows refreshed from all 4 repos
2026-02-28 00:02:04 -08:00
saravanakumardb1
c1a1f86cd6 feat(timers): add timer CRUD endpoints for ChronoMind cloud sync (42 new tests, 759 total) 2026-02-27 23:48:31 -08:00
saravanakumardb1
89b6588e1d feat(extraction): add timer-parse built-in task for ChronoMind NL parsing — 6 classes, 3 examples 2026-02-27 23:16:27 -08:00
saravanakumardb1
1744bcf63f feat(api): NomGap fasting modules — sessions CRUD + stats, 14 built-in protocols + custom CRUD, body stages + autophagy confidence (47 new tests, 717 total) 2026-02-27 22:32:28 -08:00
saravanakumardb1
d333b23326 chore(workflows): add learning_ai_clock to all repo_* workspace workflows
Updated all 5 repo_ workflows to cover all 4 workspace repos:
- repo_sync-repos.md
- repo_push-repos.md
- repo_backup-and-push.md
- repo_backup-main-branch.md
- repo_commit-workspace.md
2026-02-27 17:19:58 -08:00
saravanakumardb1
a09529c441 ci: update CI/CD configuration 2026-02-27 17:09:57 -08:00
saravanakumardb1
9f2bd0877f fix: correct gitignore path for APPS/ and remove accidental submodule ref
- Fix .gitignore: __LOCAL_LLMs/APPS/ → APPS/ (relative to .gitignore location)
- Remove accidentally staged voicebox embedded git repo from index
2026-02-27 17:09:26 -08:00
saravanakumardb1
41e7a125da chore: update project files 2026-02-27 17:09:25 -08:00
saravanakumardb1
e5acd1dc26 fix(mission-control): dedupe whisper binaries and clean WSL package metadata
Prevent duplicate React keys by de-duplicating whisper binary names and improve WSL package reporting so system metadata shows stable, user-friendly versions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-22 18:03:59 -08:00
saravanakumardb1
a7790b7115 chore(local-llms): add WSL Ollama connectivity test script
Add a helper script to quickly verify Ollama reachability across localhost, WSL gateway, and nameserver paths to speed up Windows+WSL troubleshooting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-22 16:46:18 -08:00
saravanakumardb1
112341e162 fix(local-llms): harden WSL setup and dashboard Ollama connectivity
Stabilize Windows+WSL setup by fixing script line-ending pitfalls, WSL Ollama host detection, and dashboard startup behavior so models are detected reliably in Mission Control.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-22 16:44:58 -08:00
saravanakumardb1
6dca1bd6f1 docs(windows): rename mac-vs-windows → all-machines-comparison, add 4-machine tables
- Renamed mac-vs-windows-comparison.md → all-machines-comparison.md
- Added Fleet Overview table (all 4 machines at a glance)
- Added All Machines — Hardware Comparison (4-column ASCII table)
- Added All Machines — AI/ML Capability (inference, TTS, fine-tuning, OpenClaw, Voicebox)
- Added All Machines — Software Development (iOS, CUDA, Docker, portability)
- Added All Machines — Recommended Roles (PRIMARY/SECONDARY per workload)
- Added All Machines — Cost & Power (purchase, electricity, fleet totals)
- Preserved original Mac vs Razer deep-dive sections below
- Updated README.md file reference
2026-02-22 15:47:44 -08:00
saravanakumardb1
9f6c216d0f docs(voicebox): add setup guide for local voice cloning studio
Covers: what it is, architecture diagram, prerequisites (Python 3.12,
Bun, Rust), step-by-step install for macOS and WSL2, running backend
+ web frontend, first use (model download, voice profiles, story editor),
Make commands reference, platform performance table, troubleshooting
(proxy workaround, MPS/CUDA, transformers conflict), file structure,
and relevance to LysnrAI
2026-02-22 15:45:32 -08:00
saravanakumardb1
c50f271e1c docs(windows): flesh out Dell P16s spec with full hardware details + use cases
Expanded from 7-line raw system info to full spec document:
- CPU (Ryzen 7 PRO 7840U Zen 4, 8c/16t, AVX-512, NPU)
- GPU (Radeon 780M RDNA 3 iGPU, DirectML/ROCm)
- RAM (32GB DDR5, 24GB usable, VRAM allocation explained)
- Capabilities assessment (dev workstation, light AI, remote dev)
- AI/ML section (Ollama CPU, ROCm experimental, Ryzen AI NPU)
- Portable dev setup diagram + OpenClaw client use case
- 4-machine comparison table
- Optimization tips (reclaim RAM from iGPU, WSL2 memory limit)
- BIOS recommendations
2026-02-22 15:43:20 -08:00
saravanakumardb1
b3da5dd66e docs(windows): flesh out HP Z240 spec + update README with all machines
- HP Z240 spec: expanded from 7-line raw info to full spec document
  with hardware details, capabilities assessment, OpenClaw server
  use case, home lab services table, GPU upgrade path, machine
  comparison, and setup recommendations
- README: added Machines table (Razer/HP Z240/Dell P16s), expanded
  files table, added Related: OpenClaw section with links to OPEN_CLAW/
2026-02-22 15:41:20 -08:00
saravanakumardb1
09d3ffe20d chore: gitignore __LOCAL_LLMs/APPS/ (third-party clones) 2026-02-22 15:38:52 -08:00
saravanakumardb1
bc8e7a0504 docs(openclaw): add detailed install, secure setup & validation guide
7-phase step-by-step guide:
- Phase 1: Install (Node.js, OpenClaw, onboarding wizard)
- Phase 2: Secure the Gateway (config hardening, password, permissions)
- Phase 3: Connect Channels (WhatsApp, Telegram, Discord, Slack, WebChat)
- Phase 4: Harden the Host (Windows Firewall, WSL2, macOS, router)
- Phase 5: Remote Access (Tailscale Serve setup)
- Phase 6: Validate Security (run validate-security.sh)
- Phase 7: Daemon & Auto-Start (launchd/systemd)
Plus: 22-point verification checklist, maintenance schedule,
emergency procedures, and quick reference card
2026-02-22 15:38:52 -08:00
saravanakumardb1
5667308629 docs(openclaw): move doc to OPEN_CLAW/ dir, add security validation script
- Move openclaw-personal-ai-assistant.md from windows_specific/ to OPEN_CLAW/
- Add validate-security.sh: cross-platform security scanner with visual output
  - 7 check categories: installation, gateway config, file permissions,
    network security, API keys, system security, openclaw doctor
  - Green ticks (pass), red crosses (fail), yellow warnings
  - Numbered recommendations list with fix commands
  - Works on macOS, Linux, and WSL2
2026-02-22 15:38:52 -08:00
saravanakumardb1
4dd8003f25 docs(local-llms): add security best practices to OpenClaw guide
10-point security hardening section:
- Known risks table (DM policy, WebSocket, prompt injection, tool exec)
- Gateway config hardening (loopback bind, pairing, disable system.run)
- Windows Firewall rules (block external, allow localhost only)
- WSL2 hardening (UFW, file permissions, no root, disable SSH)
- Network architecture diagram (Tailscale Serve, no port forwarding)
- API key security (OAuth preferred, rotation, no git commits)
- Prompt injection defense (disable browser/system tools, per-channel pairing)
- Monitoring & audit cron script
- Backup & recovery commands
- 14-point pre-launch security checklist
2026-02-22 15:38:51 -08:00
saravanakumardb1
60aa6fd0ef docs(local-llms): add OpenClaw personal AI assistant guide
Covers: what it is, installation on Windows/WSL2 and macOS, channels,
models, configuration, security, HP Z240 as always-on gateway host,
Tailscale remote access, troubleshooting, CLI reference, and skills.
2026-02-22 15:38:51 -08:00
sarvana7
05a790de9f
Add Dell P16s Windows specifications document 2026-02-22 15:23:01 -08:00
sarvana7
95534bbfcc
Add Windows specifications for HP Z240 2026-02-22 13:34:40 -08:00
saravanakumardb1
6d18344fe0 docs(local-llms): add 7 RTX 5090 capability deep-dive guides
New capabilities/ subfolder with detailed guides:
- 01: GPU inference speed (benchmarks, Ollama tuning, API usage)
- 02: Whisper batch transcription (scripts, Python integration, use cases)
- 03: TTS generation at scale (Orpheus + Qwen3, batch scripts, voice cloning)
- 04: Fine-tuning / training (LoRA, QLoRA, data prep, Ollama export)
- 05: CUDA / TensorRT / ML research (toolchain setup, Triton kernels, profiling)
- 06: Stable Diffusion / image gen (ComfyUI, SDXL, FLUX, batch generation)
- 07: Multi-GPU workloads (scaling path, eGPU, cloud, cost planning)
- README: index with learning order and prerequisites

Each guide covers: what it is, how to use it, benefits, skills to learn
2026-02-21 20:36:21 -08:00
saravanakumardb1
1650e0da6c docs(local-llms): add Mac vs Windows side-by-side comparison
Detailed comparison of MacBook Pro M4 Pro 48GB vs Razer Blade 18 RTX 5090:
- Hardware specs, memory architecture, VRAM budgets
- Model performance estimates (inference speed, capacity)
- Software dev capabilities (iOS, CUDA, Docker, etc.)
- Recommended workload distribution
- Visual ASCII diagrams for memory architecture
2026-02-21 17:59:58 -08:00
saravanakumardb1
efd45ad86f feat(local-llms): add one-click Windows setup scripts
- setup-windows.ps1: PowerShell script for Windows side
  - NVIDIA driver verification, Ollama install via winget
  - Pull all 5 models with skip-if-exists logic
  - WSL2 Ubuntu 24.04 install
- setup-wsl.sh: Bash script for WSL2 side
  - Idempotent apt deps (Node.js 20, Python 3.12, ffmpeg, cmake)
  - CUDA GPU passthrough verification
  - Repo clone + git pull, whisper.cpp CUDA build
  - Whisper model download, TTS setup, dashboard start
- README.md: 2-step quick start (no IDE required)
- setup-guide.md: add automated setup section at top
2026-02-21 16:28:02 -08:00
saravanakumardb1
416a8eed84 chore(workflows): add repo_push-repos and repo_backup-and-push workflows 2026-02-21 16:20:10 -08:00
saravanakumardb1
b1d2e4ec81 fix(local-llms): cross-platform audit — 8 bugs/gaps fixed
- setup-tts.sh: make fully cross-platform (macOS + Linux/WSL2)
  - OS detection, apt fallback, CUDA PyTorch install, nvidia-smi check
  - cross-platform playback hints, HF_MIRROR env override
- api/system/route.ts: fix ffmpeg detection (use -version not --version)
- api/system/memory/route.ts: remove unused total variable in Linux path
- api/system/exec/route.ts: expand allowlist with Linux commands
  (head, tail, grep, which, ps, uname, free, lscpu, nvidia-smi, etc.)
- api/tts/route.ts: cross-platform venv path + CUDA/MPS label
- api/whisper/route.ts: Linux binary/model paths
- api/ollama/logs/route.ts: Linux log paths + WSL2 hint
- test_qwen_tts.py: platform-aware speech text + CUDA device detection
- test_orpheus_tts.py: platform-aware text, move import sys to top
- setup-guide.md: fix false auto-detect claim, add HF_MIRROR hint
2026-02-21 15:27:49 -08:00
saravanakumardb1
f85b455eb5 ci: update CI/CD configuration 2026-02-21 14:13:07 -08:00
saravanakumardb1
14c7883d2a docs(local-llm): mark all phases A-G complete in roadmap with commit links 2026-02-20 00:48:31 -08:00
saravanakumardb1
6d98d12f04 feat(local-llm): Phase G — projects + multi-model orchestration (G1-G7)
G1: Project CRUD in IndexedDB (already added in Phase F commit)
G2: Project sidebar section with create, pin, delete, and active selection
G3: Project system context injection (via project default model/agent/context)
G4: Cmd+P project switcher modal with keyboard navigation
G5: Chain orchestration — sequential multi-model pipeline with {prev} placeholder
G6: Race orchestration — parallel model competition with timing
G7: Vote orchestration — consensus synthesis from multiple model responses
2026-02-20 00:47:34 -08:00
saravanakumardb1
52f3d16b65 feat(local-llm): Phase F — scheduled tasks (F1-F7)
F1: cron-parser integration + cron utility functions (parse, nextRun, toHuman, shouldRunNow)
F2: ScheduledTask + Project + Orchestration CRUD in IndexedDB
F3: Task editor modal (schedule, model, input source, output action, prompt)
F4: Browser-based task runner with setInterval + cron matching
F5: /api/system/exec — safe shell command execution with allowlist
F6: Task run history stored per task (last 20 runs)
F7: 5 built-in task templates (morning brief, git diff, disk usage, code review, deps)
2026-02-20 00:44:53 -08:00
saravanakumardb1
e15a5a2f2f feat(local-llm): Phase E — response enhancements (E1-E5)
E1: Per-message action bar (copy, regenerate dropdown, rating) on hover
E2: Per-code-block copy button in MarkdownResponse with 'Copied!' feedback
E3: 'Try with other model' — regenerate dropdown shows loaded models
E4: Live streaming metrics (token count + tok/s during stream)
E5: Rating (thumbs up/down) persisted per message in IndexedDB
2026-02-20 00:40:49 -08:00
saravanakumardb1
d625be283c feat(local-llm): Phase D model router + multi-modal input (D1-D7)
- add lib/router.ts with task classifier, model hint mapping, resolve fallback chain, and auto-detect defaults
- integrate auto-routing mode in conversation model selector with __auto__ option
- persist/read model defaults from localStorage (llm-model-defaults)
- route prompts to selected/routed model before streaming
- add multi-modal input controls (attach file, image, voice)
- support attachment chips, removal, drag-and-drop file attach
- add audio transcription flow via /api/whisper/transcribe and append result to input
- support sending attachments payload alongside text from InputBar
2026-02-20 00:31:54 -08:00
saravanakumardb1
79cf42c8e3 docs(local-llm): mark Phase C complete with checkboxes and commit link 2026-02-20 00:27:33 -08:00
saravanakumardb1
d18b695029 feat(local-llm): Phase C custom agents (C1-C5)
- add built-in agents library (10 seeded agents)
- add agent CRUD/seeding/export/import helpers in db layer
- seed agents on workspace load
- add agent strip in sidebar and launch-from-agent flow
- add command palette support for agent entries
- add agent conversation wiring (agentId, systemPrompt, welcome message)
- render agent badge in conversation header
- add example prompt chips in input bar for agent conversations
- add AgentEditor modal for creating/updating custom agents
2026-02-20 00:26:46 -08:00
saravanakumardb1
f289099461 docs(local-llm): mark Phase B complete with checkboxes and commit link 2026-02-20 00:20:13 -08:00