Commit Graph

1065 Commits

Author SHA1 Message Date
58c47a751a fix(mcp-server): pass workspaceId to notelett note get/update/delete/summarize tools
Backend requires workspaceId query param on single-note endpoints.
Updated client functions and tool schemas accordingly.

Made-with: Cursor
2026-03-29 22:10:03 -07:00
6997dff8d9 feat(mcp-server): register NoteLett tools (notes, workspaces, tasks, artifacts, summarize)
Adds notelett-client.ts HTTP wrapper, notelett-tools.ts with 10 MCP tool registrations,
and NOTELETT_BACKEND_URL config entry.

Made-with: Cursor
2026-03-29 20:57:16 -07:00
root
bb85bf6176 docs(devops): refresh Track A handoff status 2026-03-30 00:11:45 +00:00
root
5cff282961 docs(architecture): move dashboards to Vercel 2026-03-30 00:05:50 +00:00
root
c0cf80d96b docs(devops): add Track A handoff and prep gateway changes 2026-03-29 23:57:03 +00:00
root
eba6c7a641 chore(platform): align docker and package outputs 2026-03-29 23:41:08 +00:00
root
1b7a68c8a8 feat(devops): add efforise to single-vm ecosystem 2026-03-29 23:34:36 +00:00
saravanakumardb1
80e6268924 docs(vercel): improve Codex prompts with progress trackers, preconditions, verification gates, and per-repo checklists 2026-03-29 16:29:42 -07:00
saravanakumardb1
5fb5a7d468 docs(vercel): split Codex prompts into Track A (Azure VM) and Track B (Vercel code) — replace monolithic file 2026-03-29 16:15:49 -07:00
saravanakumardb1
133d9fe337 docs(vercel): add Codex agent prompts for remaining Vercel deployment work — 8 prompts in dependency order 2026-03-29 16:09:26 -07:00
saravanakumardb1
8dd0036fc4 docs(vercel): cross-reference Azure VM Caddy gateway — concrete gitea.bytelyst.com and api.bytelyst.com URLs across all roadmaps 2026-03-29 16:05:57 -07:00
saravanakumardb1
e6b625f4e2 docs(vercel): review and fix ecosystem web apps audit — update registry strategy to Gitea-on-Azure-VM, fix effort estimates, fix EffoRise path, remove spurious PeakPulse entry, add prerequisite section 2026-03-29 15:46:44 -07:00
saravanakumardb1
64885dbc33 docs: update documentation 2026-03-29 15:46:44 -07:00
saravanakumardb1
26739e36db feat(ecosystem): register EffoRise — backend :4020, web :3080, product.json, AGENTS.md 2026-03-29 15:46:44 -07:00
root
b261c5d13f fix(devops): harden single-vm gitea bootstrap 2026-03-29 22:44:02 +00:00
root
388d71a06f docs(devops): add azure vm deployment status snapshot 2026-03-29 22:42:33 +00:00
root
626e19f776 docs(devops): add secure single-vm api exposure guidance 2026-03-29 22:29:08 +00:00
saravanakumardb1
ac6d1e0911 chore(fastify-sse): add vitest devDependency
Package was running tests via workspace-hoisted vitest but had no
explicit devDependency. Adds vitest ^3.0.0 for standalone build
correctness.
2026-03-29 12:54:27 -07:00
saravanakumardb1
3e092490f3 chore: bump ollama-client, use-theme, use-keyboard-shortcuts to 0.1.1 for Gitea publish 2026-03-29 12:53:34 -07:00
saravanakumardb1
ea2e68562b chore(hooks): add typecheck script to use-theme and use-keyboard-shortcuts
Aligns with other packages that expose tsc --noEmit for CI.
2026-03-29 12:52:31 -07:00
saravanakumardb1
bb86bf220e fix(use-theme): remove redundant applyTheme from toggleTheme
toggleTheme was calling applyTheme() inside the state updater AND
the useEffect was also applying on state change — double DOM write.
Now toggleTheme relies solely on the useEffect, matching setTheme
behavior.
2026-03-29 12:52:19 -07:00
saravanakumardb1
2688f7e3ca fix(ollama-client): remove timeout from pull(), guard formatBytes NaN, simplify stream body, use fetchJson for delete() 2026-03-29 12:50:49 -07:00
saravanakumardb1
26ac2a3dec chore(fastify-sse): bump to 0.3.0 for Gitea publish 2026-03-29 12:49:28 -07:00
saravanakumardb1
3f808eff56 fix(ollama-client): add explicit Node types to tsconfig
config.ts imports child_process and fs — declare types: ['node']
explicitly instead of relying on root tsconfig inheritance.
2026-03-29 12:48:18 -07:00
saravanakumardb1
f2a94eb82d docs: update LOCAL_AI_CONSOLIDATION_ROADMAP — Phase 1 + 2.1 complete 2026-03-29 12:47:17 -07:00
saravanakumardb1
e6ccaec2fe fix(fastify-sse): add X-Accel-Buffering header to per-request startSSE
Aligns with hub.ts which already includes this header. Prevents
nginx/Traefik from buffering SSE chunks behind a reverse proxy.
2026-03-29 12:47:13 -07:00
saravanakumardb1
e194365711 fix(use-theme): add SSR safety guards for window access
setTheme, toggleTheme, and storage event listener now check
typeof window before accessing localStorage/addEventListener.
Prevents crashes in Next.js server components.
2026-03-29 12:46:18 -07:00
saravanakumardb1
6f4957d821 fix(use-keyboard-shortcuts): enforce symmetric modifier matching
Modifiers (shift, alt, meta) are now checked in both directions:
when not required, the physical key must NOT be pressed either.

Before: Cmd+K shortcut would fire on Cmd+Shift+K or Cmd+Alt+K.
After: exact modifier combination is enforced.

4 regression tests added.
2026-03-29 12:45:32 -07:00
saravanakumardb1
31cf7c0c6f feat(ollama-client): shared Ollama API client package 2026-03-29 12:43:01 -07:00
saravanakumardb1
bfa55998a2 feat(use-keyboard-shortcuts): shared React keyboard shortcuts hook 2026-03-29 12:40:43 -07:00
saravanakumardb1
0f5dc91648 feat(use-theme): shared React theme toggle hook 2026-03-29 12:40:06 -07:00
saravanakumardb1
c28dbc873e feat(fastify-sse): add per-request SSE helpers 2026-03-29 12:38:57 -07:00
saravanakumardb1
a8e0b7c3b0 docs(roadmap): split agent prompts into individual docs for one-liner delegation
New files in coding_agent_prompts/:
- TRACK_A_llm_lab_workspace_removal.md (learning_ai_local_llms)
- TRACK_B_ollama_client_package.md (learning_ai_common_plat)
- TRACK_C_fastify_sse_extend.md (learning_ai_common_plat)
- TRACK_D_react_hook_packages.md (learning_ai_common_plat)
- TRACK_E_localmemgpt_migrations.md (learning_ai_local_memory_gpt)
- README.md with dependency diagram + one-liner table

Roadmap delegation section now links to individual docs instead of
inline prompts. Point an agent at one file:
  Read and execute coding_agent_prompts/TRACK_A_*.md
2026-03-29 12:19:03 -07:00
saravanakumardb1
73a70c2f00 docs(roadmap): add agent delegation section with 5 parallel execution tracks
- Track A (Agent 1): Phase 1 + 2.1 — LLM Lab workspace removal (immediate)
- Track B (Agent 2): 4.1 — create @bytelyst/ollama-client package (immediate)
- Track C (Agent 3): 4.2 — extend @bytelyst/fastify-sse (immediate)
- Track D (Agent 4): 4.3 + 4.4 — React hook packages (immediate)
- Track E (Agent 5): 2.2 + migrations — LocalMemGPT (after A+B+C)

Each track has a copy-pastable prompt with exact steps, safety rules,
reference files, and commit messages. Dependency diagram included.
2026-03-29 12:11:13 -07:00
saravanakumardb1
93e6d0b9b7 docs(roadmap): make Local AI consolidation roadmap execution-ready
- Add master Execution Checklist at top with all 4 phases as checkbox items
- Add Safety Matrix (Delete vs Keep) with verified import analysis
- Convert all phase steps to checkbox format with COMMIT markers
- Move Phase 4 from after Success Criteria to between Phase 3 and File Inventory
- Add pre-flight baseline check (step 1.0)
- Add pnpm install step after dep removal (step 1.6b)
- Add grep verification step to catch stale imports (step 1.5)
- Split E2E updates into separate commit (step 1.8)
- Add .env.example updates for Phase 2 env vars
- Clarify types.ts trim: move Attachment+ModelDefaults then delete (not partial keep)
- Phase 3 steps now have individual COMMIT messages
- All 4 phases now grouped together in the Phases section
2026-03-29 12:04:08 -07:00
saravanakumardb1
808f405889 docs(roadmap): add Phase 4 DRY audit + fix 9 review gaps in Local AI consolidation roadmap
Phase 4 — DRY Refactoring & Common Platform Extractions:
- 4.1 @bytelyst/ollama-client (NEW) — deduplicate Ollama API + NDJSON parsing (~350 lines)
- 4.2 Extend @bytelyst/fastify-sse with per-request SSE helpers (~26 lines)
- 4.3 @bytelyst/use-theme (NEW) — deduplicate across 6 web apps (~300 lines)
- 4.4 @bytelyst/use-keyboard-shortcuts (NEW) — deduplicate across 5 web apps (~250 lines)
- 4.5-4.7 Types, format utils, client-side stream parsers (~220 lines)
Total: ~1,150 lines of duplicated code identified for extraction

Review pass 2 fixes (R1-R9):
- R1: Fix misleading route group item count heading
- R2: Fix file inventory 6 pages+layout → 5 pages+1 layout
- R3: Fix LocalMemGPT test count 102 → 104 (field-encrypt)
- R4: Fix Phase 4.2 title to clarify extending existing package
- R5: Confirm ActionTrail use-theme.ts (was inferred)
- R6: Note post-Phase-1 stream parser copy reduction
- R7: Add addendum note for Phase 4 structure
- R8: Clarify both Attachment+ModelDefaults must be kept
- R9: Fix Mission Control API route count 11 → 13
2026-03-29 11:38:34 -07:00
saravanakumardb1
9e53a5cefa ci: add lint step to build-and-test job 2026-03-29 11:08:11 -07:00
saravanakumardb1
c5458c4c0e ci: update CI/CD configuration 2026-03-29 10:50:53 -07:00
saravanakumardb1
58f9470733 docs(audit): add Round 3 hardcoded hex elimination findings to DESIGN_SYSTEM_AUDIT.md 2026-03-29 10:40:47 -07:00
saravanakumardb1
f808a3c05d fix(ui): use extensionless imports + bundler resolution for source-consumed package 2026-03-29 02:03:48 -07:00
saravanakumardb1
c21c180ad2 docs(audit): mark all design system remediation roadmap items complete 2026-03-29 01:47:06 -07:00
saravanakumardb1
cc093802a1 docs: update audit — executive summary reflects Level 3, scorecard shows baseline→final, 15 components 2026-03-29 00:22:18 -07:00
saravanakumardb1
a8d37bd103 feat(ui): add Sidebar, StatCard, LoadingSpinner components + README docs — Level 3 component coverage 2026-03-29 00:19:45 -07:00
saravanakumardb1
928002ec0b docs: fix audit report — accurate responsive sidebar description (5 wired, 2 already responsive, 1 no sidebar) 2026-03-29 00:10:56 -07:00
saravanakumardb1
9a0e6a2b44 docs: update audit report and roadmap to 100% completion — Level 3 maturity achieved 2026-03-28 23:34:04 -07:00
saravanakumardb1
b7cb44267b feat(design-tokens): add per-product CSS exports and regenerate all token files 2026-03-28 23:16:19 -07:00
saravanakumardb1
21ff1058a4 docs(docker): rewrite prompt.md as execution guide for Codex agent on fresh VM
- Reframed from 'review and fix' to 'execute, monitor, fix failures, validate'
- 4 clear tasks: run script, handle failures, validate deployment, report results
- Moved bug history and development context to background reference
- Added copy-pastable validation commands for all 31 services
- Simplified constraints: don't modify unless actual runtime failure
2026-03-28 02:06:52 -07:00
saravanakumardb1
7c4f0bc3d9 feat(docker): add --dry-run mode + test-plan.md, complete all 7 prompt tasks
- Task 4: Add --dry-run flag that validates system, Docker, Node, Ollama, Gitea, repos, GitHub access, compose file, env file, and phase state without building or deploying
- Task 7: Create test-plan.md with phase-by-phase verification, functional smoke tests, idempotency/resume tests, remote connectivity via SSH forwarding, and service count summary
- Update README CLI flags table with --dry-run
- Mark all 7 tasks done in prompt.md
2026-03-28 01:58:15 -07:00
saravanakumardb1
6f2572e90b chore(ci): add local token drift check script
- Standalone script complementing the CI token-drift job
- Supports --fix mode to regenerate and stage changes
- Run: bash scripts/check-token-drift.sh
2026-03-28 01:01:06 -07:00
saravanakumardb1
11a832e271 feat(ui): add Storybook for @bytelyst/ui component library
- Storybook 8 with React Vite framework + a11y addon
- Stories for Button (7 variants), Badge (6), Input (5), Card (4)
- Dark/elevated/light background presets
- Run: pnpm --filter @bytelyst/ui storybook
2026-03-28 00:59:25 -07:00