Commit Graph

43 Commits

Author SHA1 Message Date
7aef898bf5 fix(frontend): calendar session navigation - enable today click always, show indicator only for dates with sessions, use UTC for consistent date matching 2026-04-07 11:18:07 +08:00
721ddbeef9 feat(frontend): add calendar click to switch conversation by date
- Add selected date state and conversation mapping in useSidebarPlan
- Connect calendar cells to conversation switching logic
- Add conversation indicator dot on dates with sessions
- Only clickable dates show hand cursor (today + dates with conversations)
- Add .selected styling for non-today dates, today keeps blue
- Fix hover effect to only apply to non-today dates
- Add daily doc for session date mapping feature

BREAKING: Calendar click now switches sessions by date
2026-04-07 10:28:31 +08:00
3bff9b3b93 feat(frontend): add four-quadrant kanban task management system
- Add KanbanPanel component with four-quadrant task layout
- Add KanbanDetail component for task configuration modal
- Add "待办" (Todo) module to sidebar collapsed icon rail
- Click TODAY'S STATUS card or sidebar icon to open kanban drawer
- Click quadrant check icon to open detail modal with Teleport to body
- Apply blur effect to sidebar and chat area when detail modal is open
- Import ListTodo icon from lucide-vue-next
- Update sidebar labels to English for consistency
2026-04-06 23:48:52 +08:00
3cf8762b96 fix(frontend): change time format to 12-hour with AM/PM
- Change time locale from zh-CN to en-US to properly display AM/PM
- Increase letter-spacing for better readability (0.08em → 0.12em)
- Update all time displays to use 12-hour format consistently
2026-04-06 22:21:54 +08:00
712d9e1652 feat(frontend): add weather icons and redesign calendar header
Backend changes:
- Add LOCATION configuration option to Settings
- Add /api/system/config endpoint to expose public config
- Implement location priority: config > geolocation > default

Frontend changes:
- Install and integrate weather-icons npm package (Erik Flowers)
- Redesign calendar header with date/time on left, weather/location on right
- Display weather icon using CSS classes instead of SVG components
- Fetch location from backend API on component mount
- Use configured location name (from .env) instead of geocoded result

Layout:
- Left: month/year + current time
- Right: city name + weather description + weather icon
2026-04-06 22:18:44 +08:00
ff042cd932 fix(frontend): remove duplicate calendar title-row from sidebar calendar
- Remove calendar-title-row (year/month + time) that was showing below the main date row
- Keep only the primary date display (jarvis-date-row) at the top
- Also removes unused calendarYear/calendarMonth computed properties
2026-04-06 21:33:45 +08:00
472528e708 feat(frontend): add memory components, temple/war-room pages, and composables
- Add DailyDigestCard and ReminderToast memory components
- Add temple and war-room page routes
- Add memory API module with TypeScript definitions
- Add chat composables: useClientTime, useDailyDigest, useSidebarPlan
- Simplify chat/logs/settings pages (remove unused code)
- Add settingsPage.css
2026-04-05 20:45:16 +08:00
e24092f3ab fix(chat): narrow left sidebar (332→280px) and add Chinese font fallbacks for mech aesthetic
Sidebar width reduced for denser layout. Font stacks updated to include Noto Sans SC and Microsoft YaHei fallbacks so Chinese text renders with consistent mech typography. Left sidebar elements (new-chat-btn, conv-title, empty-text, empty-hint) now explicitly use var(--font-display).
2026-04-05 20:37:46 +08:00
5667190abe feat(agents): implement Code Commander module (Phases 1-5)
- Phase 1: Infrastructure (state, prompts, registry)
- Phase 2: Execution engine (AI adapters, security classifier, executors)
- Phase 3: Agent integration (graph nodes, routing)
- Phase 4: Streaming interaction (PTY terminal, WebSocket)
- Phase 5: Frontend integration (Vue components)
2026-04-05 14:56:45 +08:00
11160ec4d2 feat(memory): complete M.2-M.5 memory upgrade phases with tests
- M.2: ForgettingCurve, MemoryDecay, MemoryReinforcement (selective forgetting)
- M.3: DailyDigestGenerator, ReminderScheduler, ProactiveInformer (proactive reminders)
- M.4: MemoryExtractor with LLM-based memory extraction from conversations
- M.5: MemoryRecallInjector with token budget control for prompt injection
- All phases include comprehensive unit tests (109 tests passing)
- Updated checklist.md to mark all tasks complete
2026-04-05 14:09:51 +08:00
d18167826e feat(agents): Phase 8.4-10.5 built-in plugins, bundled skills, coordinator 2026-04-04 23:24:34 +08:00
e0fe3ca623 feat: enhance agent orchestration, knowledge flow and UI refinements 2026-03-29 20:31:13 +08:00
db1a46af39 Update agents hierarchy canvas interactions
Expand the agents page into a three-tier org chart, refine zoom and active route feedback, and cover the hierarchy behavior with targeted tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 15:45:10 +08:00
0410091109 修改UI 2026-03-25 11:27:16 +08:00
0d89325b09 Update agent orchestration and knowledge flow
Add sub-commander orchestration updates, align frontend integrations, and refine knowledge view behavior without including local data artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 21:44:04 +08:00
aafa05dc1c Refine agents command center topology visuals
Strengthen the Ultron command center with clearer blueprint-style hierarchy, embedded route telemetry, and test coverage for active path visualization.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 21:42:01 +08:00
a3aa15d339 feat(auth): add admin bootstrap and username login
Initialize admin bootstrap settings during startup, persist username support in auth flows, and align frontend auth requests with local API behavior.
2026-03-24 15:07:19 +08:00
6f594631e9 Refine knowledge brain workflow
Align the brain prompts, graph view, and startup defaults with the
latest phase 1 flow so local runs and navigation stay consistent.
2026-03-22 22:42:47 +08:00
90ea732584 Add local project snapshots and plans
Capture the current local data snapshot and planning artifacts alongside
this development batch so the workspace state matches the code changes.
This preserves the reference materials and generated files that were
kept in the working tree.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 13:49:03 +08:00
7d80a6e2ec Add brain and chat workspace views
Expand the frontend with brain, graph, and chat workspace updates so the
new backend orchestration and memory features have matching screens.
These changes also wire the new APIs into routing and add focused view
and routing tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 13:48:16 +08:00
e3691b01bb Stabilize knowledge uploads in the UI
Keep folder selection stable across refreshes, surface upload failures
more clearly, and add focused composable tests for the knowledge page.
This keeps newly uploaded files visible and makes MinerU dependency
errors easier to understand from the frontend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 13:43:00 +08:00
a9ddf3c9b4 feat(frontend): migrate runtime log page and restore build
Move the runtime log screen into the new pages structure, add compact page navigation, and apply the minimal component fixes needed to keep the refactored frontend buildable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:16:19 +08:00
b024a2bcb5 refactor(frontend): move views into app and pages structure
Reorganize the frontend around app-level routing and page modules so the runtime and feature screens share a clearer navigation and composition layout for future work.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:13:12 +08:00
a27736a832 feat(logs): unify filtering across list and stats
Make runtime log queries support request correlation and date-range diagnostics with shared filtering semantics so the log page can use one consistent contract.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:11:41 +08:00
ca69a35e02 chore: remove credentials from login placeholder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 12:01:17 +08:00
dc8cd06625 fix(login): allow username login by changing input type from email to text
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 12:00:42 +08:00
9e4e94c75e Add log system with three log types (agent/system/chat)
Implemented a complete log system for tracking:
- Agent logs:智能体调用
- System logs: 系统运行
- Chat logs: 问答对话

Backend:
- Log model with type, level, user_id, message, source, duration_ms
- LogService with methods for logging and querying
- API endpoints: GET /api/logs, GET /api/logs/stats, GET /api/logs/recent

Frontend:
- LogView.vue with filters, stats, pagination, auto-refresh
- log.ts API client with TypeScript interfaces
- Added "运行日志" nav item to sidebar
2026-03-21 11:58:51 +08:00
e9ce0235fd fix(settings): auto-save after deleting a model
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:49:40 +08:00
977ef34aad fix(settings): add stop modifier to delete button click
Prevent click event from bubbling to row toggle handler

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:48:37 +08:00
2114880e47 fix: add 4-column grid for conversations and ensure chart visibility 2026-03-21 11:46:29 +08:00
c7ce916cca fix(settings): sync enabled state after test passes
When test passes, props.model.enabled is updated but editingModel wasn't
synced, causing save button to remain disabled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:45:09 +08:00
9606d4d9e1 feat: rename data metrics to runtime status with more charts 2026-03-21 11:44:38 +08:00
b284f395fd feat: rename Skill 市场 to 技能中心 with Star icon 2026-03-21 11:42:49 +08:00
edee597d5f fix(settings): add name field editing in LLMTableRow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:41:23 +08:00
c85e3e6988 chore(settings): remove dead code from SettingsView.vue
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:37:29 +08:00
e7c1a57287 fix(settings): wire up saveModel to persist changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:35:45 +08:00
7bbaf67591 feat(settings): refactor LLM config to table inline-edit UI
- Remove old card-based model list UI
- Add LLM config state management (expandedRow, editingSnapshot)
- Implement addModel/removeModel with embedding/rerank constraints
- Implement updateModel, testModel, saveModel, toggleRow, cancelEdit
- Add showRequiredWarning computed property
- Rewrite template with 4 LLM type sections using LLMTableRow
- Add styles for llm-type-section, warning-bar, etc.
- Update loadSettings to initialize with empty arrays

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:33:42 +08:00
99c30d9534 feat: add SkillView page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:30:31 +08:00
fad41ce94a fix(settings): use local state in LLMTableRow to avoid props mutation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:29:49 +08:00
6966ced359 feat: add Skill route and navigation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:29:22 +08:00
0f63ac82f4 feat: add skill API client
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:29:15 +08:00
d3749817b0 feat(settings): create LLMTableRow component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 11:27:50 +08:00
b40a6ebd3a Add Vue frontend application 2026-03-21 10:13:35 +08:00