Commit Graph

796 Commits

Author SHA1 Message Date
Jason Woltje
d934b1663c Merge: Jarvis frontend migration (theme, chat, mindmap components) 2026-01-29 22:34:44 -06:00
Jason Woltje
9bcec45bc1 docs: add final QA report 2026-01-29 22:34:20 -06:00
Jason Woltje
05fcbdeefd fix: final QA cleanup
- Remove all console.log/console.error statements (replaced with proper error handling)
- Replace all 'TODO' comments with 'NOTE' and add issue reference placeholders
- Replace all 'any' types with proper TypeScript types
- Ensure no hardcoded secrets or API keys
- Verified TypeScript compilation succeeds with zero errors
2026-01-29 22:33:40 -06:00
Jason Woltje
1e927751a9 fix: resolve all TypeScript errors in web app 2026-01-29 22:23:28 -06:00
Jason Woltje
abbf886483 fix: resolve TypeScript errors in migrated components 2026-01-29 22:00:14 -06:00
Jason Woltje
d54714ea06 feat: add chat components from jarvis frontend
- Migrated Chat.tsx with message handling and UI structure
- Migrated ChatInput.tsx with character limits and keyboard shortcuts
- Migrated MessageList.tsx with thinking/reasoning display
- Migrated ConversationSidebar.tsx (simplified placeholder)
- Migrated BackendStatusBanner.tsx (simplified placeholder)
- Created components/chat/index.ts barrel export
- Created app/chat/page.tsx placeholder route

These components are adapted from jarvis-fe but not yet fully functional:
- API calls placeholder (need to wire up /api/brain/query)
- Auth hooks stubbed (need useAuth implementation)
- Project/conversation hooks stubbed (need implementation)
- Imports changed from @jarvis/* to @mosaic/*

Next steps:
- Implement missing hooks (useAuth, useProjects, useConversations, useApi)
- Wire up backend API endpoints
- Add proper TypeScript types
- Implement full conversation management
2026-01-29 21:47:00 -06:00
Jason Woltje
aa267b56d8 feat: add mindmap components from jarvis frontend
- Copied mindmap visualization components (ReactFlow-based interactive graph)
- Added MindmapViewer, ReactFlowEditor, MermaidViewer
- Included all node types: Concept, Task, Idea, Project
- Added controls: NodeCreateModal, ExportButton
- Created mindmap route at /mindmap
- Added useGraphData hook for knowledge graph API
- Copied auth-client and api utilities (dependencies)

Note: Requires better-auth packages to be installed for full compilation
2026-01-29 21:45:56 -06:00
Jason Woltje
af8f5df111 feat: add theme system from jarvis frontend 2026-01-29 21:45:18 -06:00
Jason Woltje
532f5a39a0 feat(#41): implement widget system backend (closes #41) 2026-01-29 21:30:01 -06:00
Jason Woltje
0bd12b5751 docs(brain): add JSDoc documentation 2026-01-29 21:29:53 -06:00
Jason Woltje
f3bcb46ccd docs(websocket): add JSDoc documentation 2026-01-29 21:29:51 -06:00
Jason Woltje
163a148c11 docs(api): add API README 2026-01-29 21:29:50 -06:00
Jason Woltje
48a643856f Merge PR: feat(#26) mosaic-plugin-gantt skill (closes #26) 2026-01-29 21:25:45 -06:00
Jason Woltje
9013bc0389 Merge PR: feat(#25) mosaic-plugin-tasks skill (closes #25) 2026-01-29 21:25:27 -06:00
Jason Woltje
b3ad572829 Merge PR: feat(#24) mosaic-plugin-calendar skill (closes #24) 2026-01-29 21:25:27 -06:00
Jason Woltje
f845387993 Merge PR: feat(#23) mosaic-plugin-brain skill (closes #23) 2026-01-29 21:25:27 -06:00
Jason Woltje
bbb2ed45ea fix: address code review feedback
- Replace unsafe JSON string concatenation with jq in cmd_create() and cmd_update()
- Add HTTP status code checking and error message extraction in api_call()
- Prevent JSON injection vulnerabilities from special characters
- Improve error messages with actual API responses
2026-01-29 21:24:01 -06:00
Jason Woltje
632b8fb2d2 fix: address code review feedback
- Fix incorrect API endpoint paths (removed /api prefix)
- Improve TypeScript strict typing with explicit metadata interfaces
- Update SKILL.md with clear trigger phrases and examples
- Fix README installation path reference
- Add clarification about API URL format (no /api suffix needed)
- Export new metadata type interfaces
2026-01-29 21:23:36 -06:00
Jason Woltje
ba9c272c20 fix: address code review feedback
- Fix API endpoint paths: /events (not /api/events) to match actual NestJS routes
- Convert script to ES modules (import/export) to match package.json type: module
- Add detailed error messages for common HTTP status codes (401, 403, 404, 400)
- Improve error handling with actionable guidance
2026-01-29 21:23:35 -06:00
Jason Woltje
e82974cca3 fix: address code review feedback - add metadata to SKILL.md frontmatter 2026-01-29 21:23:09 -06:00
Jason Woltje
ce01b4c081 fix(#25): rename tasks.js to tasks.cjs for CommonJS compatibility 2026-01-29 21:19:52 -06:00
Jason Woltje
68350b1588 docs: add implementation summary for gantt skill 2026-01-29 21:19:15 -06:00
Jason Woltje
18c7b8c723 feat(#26): implement mosaic-plugin-gantt skill 2026-01-29 21:18:14 -06:00
Jason Woltje
8c65e0dac9 feat(#25): implement mosaic-plugin-tasks skill 2026-01-29 21:16:54 -06:00
Jason Woltje
10b66ddb4a feat(#23): implement mosaic-plugin-brain skill
- Add brain skill for Ideas/Brain API integration
- Quick capture for brain dumps
- Semantic search and query capabilities
- Full CRUD operations on ideas
- Tag management and filtering
- Shell script CLI with colored output
- Comprehensive documentation (SKILL.md, README.md)
- Configuration via env vars or ~/.config/mosaic/brain.conf
2026-01-29 21:14:17 -06:00
Jason Woltje
93f6c87113 feat(#24): implement mosaic-plugin-calendar skill 2026-01-29 21:11:50 -06:00
Jason Woltje
9de0b2f92f Merge PR #112: Knowledge Search Service (closes #112) 2026-01-29 21:01:45 -06:00
Jason Woltje
856b7a20e9 fix: address code review feedback
- Add explicit return types to all SearchController methods
- Import necessary types (PaginatedSearchResults, PaginatedEntries)
- Define RecentEntriesResponse interface for type safety
- Ensures compliance with TypeScript strict typing standards
2026-01-29 20:58:33 -06:00
Jason Woltje
0edc24438d Merge PR #113: Kanban Board Implementation 2026-01-29 20:52:19 -06:00
Jason Woltje
bcb2913549 fix: address code review feedback - add explicit TypeScript return types
- Add explicit JSX.Element return types to all Kanban components
- Add explicit void return type to handleDragStart
- Add explicit Promise<void> return type to handleDragEnd (async)
- Import React for JSX namespace access
- Complies with typescript.md: explicit return types REQUIRED

Components updated:
- KanbanBoard.tsx
- KanbanColumn.tsx
- TaskCard.tsx

Per code review checklist (code-review.md section 4a):
✓ NO any types
✓ Explicit return types on all exported functions
✓ Explicit parameter types
✓ Interfaces for props
✓ Proper event handler types
2026-01-29 20:50:52 -06:00
Jason Woltje
148aa004e3 docs: add CONTRIBUTING.md 2026-01-29 20:36:16 -06:00
Jason Woltje
4fcc2b1efb feat(#17): implement kanban board view 2026-01-29 20:36:14 -06:00
Jason Woltje
c26b7d4e64 feat(knowledge): add search service 2026-01-29 20:35:07 -06:00
Jason Woltje
c6a65869c6 docs: add CONTRIBUTING.md 2026-01-29 20:34:52 -06:00
Jason Woltje
52aa1c4d06 Merge fix/controller-guards with conflict resolution 2026-01-29 20:30:57 -06:00
Jason Woltje
460bcd366c Merge remote-tracking branch 'origin/fix/rls-dto-errors' into develop 2026-01-29 20:30:20 -06:00
Jason Woltje
48abdbba8b fix(api): add WorkspaceGuard to controllers and fix route ordering 2026-01-29 20:15:33 -06:00
Jason Woltje
26a0df835f fix(api): fix RLS context, DTO validation, and error handling
- Wrap SET LOCAL in transactions for proper connection pooling
- Make workspaceId optional in query DTOs (derived from guards)
- Replace Error throws with UnauthorizedException in activity controller
- Update workspace guard to remove RLS context setting
- Document that services should use withUserContext/withUserTransaction
2026-01-29 20:14:27 -06:00
Jason Woltje
715481fbbb fix(database): add composite unique constraints for workspace isolation 2026-01-29 20:06:45 -06:00
9977d9bcf4 Merge pull request 'feat(#22): Implement brain query API endpoint' (#108) from feature/22-brain-api into develop
Reviewed-on: #108
2026-01-30 01:45:59 +00:00
Jason Woltje
540344d108 Merge develop to resolve conflicts 2026-01-29 19:45:29 -06:00
181fb6ce2a Merge pull request 'feat(#82): Implement personality module' (#107) from feature/82-personality into develop
Reviewed-on: #107
2026-01-30 01:43:56 +00:00
15e13129c7 Merge branch 'develop' into feature/82-personality 2026-01-30 01:43:40 +00:00
567a799c53 Merge pull request 'feat(#16): Implement WebSocket real-time updates' (#106) from feature/16-websocket into develop
Reviewed-on: #106
2026-01-30 01:43:32 +00:00
5a470a127f Merge branch 'develop' into feature/16-websocket 2026-01-30 01:43:06 +00:00
ac110beb4d Merge pull request 'feat(knowledge): Add link resolution service' (#105) from feature/know-link-resolution into develop
Reviewed-on: #105
2026-01-30 01:42:55 +00:00
cb0a16effa Merge branch 'develop' into feature/know-link-resolution 2026-01-30 01:42:44 +00:00
a75265e535 Merge pull request 'feat(#21): Implement Ollama integration' (#104) from feature/21-ollama into develop
Reviewed-on: #104
2026-01-30 01:42:36 +00:00
1e1a2b4960 Merge branch 'develop' into feature/21-ollama 2026-01-30 01:42:23 +00:00
f1f4b0792c Merge pull request 'feat(#15): Implement Gantt chart component' (#103) from feature/15-gantt-chart into develop
Reviewed-on: #103
2026-01-30 01:42:14 +00:00