Commit Graph

391 Commits

Author SHA1 Message Date
gsxdsm
b3af346345 feat(KB-087): remove Created/Updated columns and clean up usage tracking
- Remove createdAt and updatedAt columns from ListView component
- Update TaskCard to remove date display and related styles
- Update TaskDetailModal to remove date fields
- Update ListView tests to reflect new column layout
- Fix column index in dependencies test after column removal
- Remove unused usage tracking module (usage.ts and usage.test.ts)
- Clean up related CSS styles for date columns
2026-03-29 21:43:56 -07:00
gsxdsm
7a4c5e803a feat(KB-082): complete Step 5 — Display failure prominently in TaskDetailModal 2026-03-29 21:43:25 -07:00
gsxdsm
9dfb851e70 feat(KB-082): complete Step 4 — Display failure in TaskCard 2026-03-29 21:42:54 -07:00
gsxdsm
9f5a171b24 feat(KB-082): complete Step 3 — Clear error on retry 2026-03-29 21:42:10 -07:00
gsxdsm
c330a62165 feat(KB-082): complete Step 2 — Record failure error in executor 2026-03-29 21:41:51 -07:00
gsxdsm
a2be60d8c9 feat(KB-082): complete Step 1 — Add error field to Task type and store 2026-03-29 21:41:28 -07:00
gsxdsm
385739ee2c feat(KB-032): add Planning Mode for AI-assisted task creation
- Add PlanningModeModal component with interactive task planning UI
- Implement backend planning API with /api/planning endpoints
- Add PlanningSession class for managing planning state
- Integrate planning mode into dashboard with header button
- Add comprehensive tests for planning components and API routes
- Include AI agent structure for future planning automation
- Update README with Planning Mode documentation
2026-03-29 21:40:14 -07:00
gsxdsm
27a18549b3 feat(KB-079): reverse agent log display order, remove auto-scroll
- Reverse log display to show newest entries first in AgentLogViewer
- Remove auto-scroll functionality from dashboard
- Update badge deduplication logic for reversed order display
- Clean up tests for reversed order and removed auto-scroll
- Remove obsolete changeset files
2026-03-29 21:39:51 -07:00
gsxdsm
25647b844d fix(KB-078): include skipped steps in TaskCard progress calculation
- Fix progress bar to count skipped steps toward completed total

- Add test coverage for skipped steps in progress calculation

- Create changeset for the progress bar fix
2026-03-29 21:38:53 -07:00
gsxdsm
03424127e7 feat(KB-073): add interactive port selection for dashboard command
- Add --interactive flag to CLI parser for kb dashboard\n- Implement promptForPort helper with port availability validation\n- Add comprehensive tests for interactive port prompting\n- Update help text, README, and STANDALONE.md documentation\n- Add changeset for the interactive port feature
2026-03-29 21:36:10 -07:00
gsxdsm
a2c4127da0 fix(KB-057): restore dashboard client stability 2026-03-29 21:24:55 -07:00
gsxdsm
ec8b0911c4 feat(KB-029): add file browser and editor with CodeMirror 6 integration
- Add server-side file service with list, read, and write operations

- Add file API routes with comprehensive tests

- Create useFileBrowser and useFileEditor hooks for state management

- Add FileBrowser, FileEditor, and FileBrowserModal components

- Integrate Files tab into TaskDetailModal for task worktree browsing

- Add CodeMirror 6 dependencies for syntax highlighting

- Include file browser styles with light/dark theme support
2026-03-29 21:18:49 -07:00
gsxdsm
de0e98f614 feat(KB-029): merge kb/kb-029 (auto-resolved)
- chore(KB-029): add changeset for file browser feature
- docs(KB-029): complete Step 13 — add file browser documentation to README
- feat(KB-029): complete Step 10 — add file browser and editor styles
- feat(KB-029): complete Steps 5-11 — hooks, components, styles, and integration
- feat(KB-029): complete Step 10 — integrate Files tab with TaskDetailModal
- fix(KB-029): restore file-service.test.ts
- feat(KB-029): complete Steps 7-9 — create FileBrowser, FileEditor, and FileBrowserModal components
- feat(KB-029): complete Steps 5-6 — create file browser and editor hooks
- feat(KB-029): complete Step 4 — add client-side file API functions
- fix(KB-029): restore accidentally deleted file-service.test.ts
- feat(KB-029): complete Step 3 — add file API routes with tests
- feat(KB-029): complete Step 3 — add file API routes with fixed tests
- feat(KB-029): complete Step 3 — add file API routes to routes.ts
- feat(KB-029): complete Step 2 — create server-side file service with tests
- feat(KB-029): complete Step 2 — create server-side file service (revised API)
- feat(KB-029): complete Step 2 — create server-side file service
- feat(KB-029): complete Step 1 — add CodeMirror 6 dependencies
2026-03-29 21:18:25 -07:00
gsxdsm
a299de8b0d feat(KB-029): add file browser for viewing and editing task files
- Add server-side file service with list, read, and write operations
- Add REST API endpoints for file operations with tests
- Add client-side API functions and React hooks for file browsing
- Create FileBrowser, FileEditor, and FileBrowserModal components
- Add CodeMirror 6 for syntax-highlighted file editing
- Integrate Files tab into TaskDetailModal
- Add comprehensive file browser styles and responsive design
2026-03-29 21:18:21 -07:00
gsxdsm
6393d74787 feat(KB-057): add interactive terminal to dashboard
- Add backend terminal API with session management and SSE streaming
- Create useTerminal hook for command execution and history navigation
- Implement interactive TerminalModal with real-time output display
- Add terminal button to Header for quick access
- Style terminal with CSS variables and responsive design
- Add keyboard shortcuts (Ctrl+C to kill, Ctrl+L to clear, arrow keys for history)
- Add security validation for shell commands
2026-03-29 21:11:08 -07:00
gsxdsm
bfd3343be4 feat(KB-057): add interactive terminal to dashboard
- Add backend terminal API with SSE streaming for real-time output
- Create useTerminal hook with command history and navigation
- Refactor TerminalModal into interactive shell component
- Update App and Header for standalone terminal button
- Add CSS styles for terminal UI (prompts, output, spinner, welcome screen)
- Update tests for new terminal behavior
2026-03-29 21:09:57 -07:00
gsxdsm
5b575923b5 feat(KB-057): complete Step 7 - Documentation & Delivery 2026-03-29 21:09:30 -07:00
gsxdsm
0cbba475c2 feat(KB-057): complete Step 4 - Update App Integration for interactive terminal 2026-03-29 21:08:43 -07:00
gsxdsm
1219d63b95 feat(KB-041): add task refine capability across core, API, UI, and CLI
- Add refineTask() to TaskStore with validation for feedback and requirements
- Add POST /tasks/:id/refine API endpoint with tests
- Add refine UI to TaskDetailModal for submitting feedback
- Add kb_task_refine tool to pi extension for AI-driven refinement
- Add 'kb task refine' CLI command for manual task refinement
- Include validation constraints: max 2000 chars feedback, max 5000 chars requirements
2026-03-29 21:05:57 -07:00
gsxdsm
61303f1438 docs(KB-041): complete Step 6 — add refine feature to README and create changeset 2026-03-29 21:05:19 -07:00
gsxdsm
b8de98cc6d feat(KB-057): complete Step 3 — TerminalModal component with interactive shell UI 2026-03-29 20:59:31 -07:00
gsxdsm
287ce1d6d2 feat(KB-057): complete Step 2 — useTerminal hook with history, SSE streaming, and command execution 2026-03-29 20:57:18 -07:00
gsxdsm
c5b09e1cb1 feat(KB-061): add model filter search to model selectors
- Add search input with clear button and results count to ModelSelectorTab
- Extract filterModels utility for shared filtering logic across components
- Apply filtering to SettingsModal model section
- Add CSS styles for filter UI components
- Add comprehensive tests for ModelSelectorTab and SettingsModal filtering
2026-03-29 20:55:01 -07:00
gsxdsm
0e26d1df30 feat(KB-052): refactor GitHub integration to use gh CLI
- Create gh-cli utility module with auth detection and command execution
- Refactor GitHubClient to use gh CLI commands with REST API fallback
- Refactor PR Monitor to use gh CLI for PR operations
- Add listIssues() and getIssue() methods to GitHubClient
- Remove in-app GitHubRateLimiter (gh CLI handles rate limiting)
- Update all tests for gh CLI implementation
- Update AGENTS.md and extension docs for gh CLI auth preference
2026-03-29 20:52:07 -07:00
gsxdsm
6f43bdcdf4 feat(KB-036): add worktreeNaming setting for configurable worktree directory names
- Add worktreeNaming setting type with 'random' | 'task-id' | 'task-title' options
- Update executor to generate worktree names based on setting value
- Create worktree-names.ts utility module with generateWorktreeName function
- Add comprehensive executor tests for all naming strategies
- Update AGENTS.md documentation with setting description and usage
- Include changeset for patch release
2026-03-29 20:48:50 -07:00
gsxdsm
1d2706351b feat(KB-057): complete Step 0 and 1 — backend API and frontend client for interactive terminal 2026-03-29 20:48:39 -07:00
gsxdsm
d288e158d5 feat(KB-024): add comprehensive theme system to dashboard
- Add ThemePreference type and useTheme hook for theme state management
- Create CSS theme architecture with 8 built-in color themes
- Build ThemeSelector component with live preview and keyboard navigation
- Add theme toggle to Header with quick-switch capability
- Integrate Appearance section into SettingsModal
- Wire theme system into App component with system preference detection
- Add comprehensive tests for useTheme, ThemeSelector, and Header
- Include theming documentation in dashboard README
- Add changeset for patch release
2026-03-29 20:22:00 -07:00
gsxdsm
b935f310ce feat(KB-022): add GitHub issue status badges to task cards
- Extend core types with GitHub issue tracking fields (issueNumber, issueStatus, lastIssueSync)
- Add TaskStore.getTaskGitHubIssueInfo() to fetch issue details from GitHub API
- Create server-side API endpoint for issue status lookup with caching
- Build GitHubBadge component with color-coded status indicators (open/closed)
- Integrate badges into TaskCard with hover state linking to GitHub issues
- Add CSS styles for badge positioning and visual polish
- Include comprehensive tests for GitHubBadge and TaskCard badge rendering
2026-03-29 20:12:13 -07:00
gsxdsm
37afb24d60 feat(KB-034): add task archive/unarchive functionality
- Add 'archived' column to task store with archiveTask and unarchiveTask methods
- Add CLI commands: kb task archive <id> and kb task unarchive <id>
- Add pi extension tools for archive and unarchive operations
- Add dashboard API endpoints POST /api/tasks/:id/archive and /unarchive
- Add Archived column to board UI with archive/unarchive buttons
- Prevent drag-drop into archived column, add visual distinction
- Include duplicateTask from concurrent branch in merge resolution
2026-03-29 20:03:43 -07:00
gsxdsm
6c151b6591 feat(KB-051): add duplicate task button in task detail modal
- Add duplicateTask action to useTasks hook for creating task copies

- Add Duplicate button to TaskDetailModal with visual styling

- Wire up duplicateTask action through App.tsx task handlers

- Add comprehensive tests for duplicate button functionality

- Include changeset for the new duplicate task feature
2026-03-29 19:56:07 -07:00
gsxdsm
ee6179b826 feat(KB-055): merge feat-github-int into main 2026-03-29 19:54:21 -07:00
gsxdsm
b7dfeb1b34 feat(KB-050): move progress bar to top of task card
- Move progress bar before task title for improved visual hierarchy

- Make task completion status more prominent at first glance

- Add changeset documenting the UI improvement
2026-03-29 19:53:26 -07:00
gsxdsm
3b71d032a6 feat(KB-048): add collapsible list sections to dashboard
- Add section expansion state management with localStorage persistence
- Update section headers with chevron toggle controls
- Implement conditional task row rendering based on section state
- Add Expand All / Collapse All toolbar controls
- Add CSS styles for chevron rotation animation and section headers
- Add comprehensive tests for collapsible section behavior
2026-03-29 19:51:41 -07:00
gsxdsm
6ef6de3ba9 feat(KB-047): add column filter to list view
- Add selectedColumn state for filtering tasks by column
- Make drop zones clickable to filter by column
- Add visual active state styling for selected column filter
- Add 'Clear' button to reset column filter
- Integrate column filter with existing hideDoneTasks feature
- Add comprehensive tests for column filter functionality
2026-03-29 19:49:28 -07:00
gsxdsm
435d261a58 feat(KB-046): add InlineCreateCard to ListView triage section
- Add InlineCreateCard component to ListView for inline task creation
- Integrate isCreating, onCancelCreate, and onCreateTask props to ListView
- Render InlineCreateCard in triage section when isCreating is true
- Add comprehensive tests for InlineCreateCard integration in ListView
- Handle blur, Escape key, and Enter key for task creation flow
2026-03-29 19:48:41 -07:00
gsxdsm
0eb3315911 feat(KB-026): add ntfy.sh push notification support
- Add ntfy settings (ntfyEnabled, ntfyTopic) to core types and config storage
- Create NtfyNotifier service with event-based notifications for task completion/failure
- Add Notifications section to SettingsModal for configuring ntfy topic
- Wire up NtfyNotifier in engine to send notifications on task state changes
- Include ntfy topic in task templates for per-task notification override
- Add comprehensive tests for NtfyNotifier service
2026-03-29 19:46:35 -07:00
gsxdsm
ad94c51836 feat(KB-049): add hide done tasks toggle to list view
- Add toggle UI for hiding completed tasks in ListView component
- Implement filtering logic to conditionally render done tasks
- Add comprehensive tests for hide done tasks feature
- Include changeset for the new feature
- Update vitest configs and clean up gitignore coverage entries
2026-03-29 19:45:51 -07:00
gsxdsm
dd671f080c feat(KB-044): add test coverage reporting with vitest coverage-v8
- Add @vitest/coverage-v8 to all workspace packages
- Configure vitest coverage settings in all vitest.config.ts files
- Align vitest versions across packages for consistency
- Add 'test:coverage' script to root package.json
- Verify all tests pass with coverage reporting enabled
2026-03-29 19:42:27 -07:00
gsxdsm
34be4bf479 feat(KB-038): add steps toggle to TaskCard
- Add steps toggle state and expand/collapse UI to TaskCard
- Add expand/collapse all steps button for better task navigation
- Add comprehensive tests for steps toggle functionality
- Update styles.css with toggle button and step list styling
- Include changeset for patch release
2026-03-29 19:40:11 -07:00
gsxdsm
e06198c6aa fix(KB-043): fix type errors and test failures across all packages
- Add mergeRetries field to updateTask type signature alongside model overrides
- Fix GitManagerModal type imports and error handling
- Update Column, ListView, and GitManagerModal tests for type compatibility
- Fix tsconfig.app.json path references
- Adjust CLI build settings for proper bundling
2026-03-29 19:36:44 -07:00
gsxdsm
a5393463d5 feat(KB-025): add per-task model overrides for executor and validator
- Add model override fields to Task type and TaskStore (modelProvider, modelId, validatorModelProvider, validatorModelId)

- Extend PATCH /api/tasks/:id endpoint with validation for model fields

- Create ModelSelectorTab component with provider/model dropdowns and tests

- Integrate Model tab into TaskDetailModal for per-task model configuration

- Update executor to use per-task model overrides when both provider and modelId are set

- Update reviewer to use per-task validator model overrides in reviewStep

- Document per-task model selection feature in AGENTS.md settings section
2026-03-29 19:36:15 -07:00
gsxdsm
2c865d9914 feat(KB-033): add inline card editing with optimistic updates
- Add inline edit mode to TaskCard (double-click to edit title/details)
- Implement optimistic updates with automatic rollback on failure in useTasks hook
- Wire onUpdateTask through Board, Column, and WorktreeGroup component hierarchy
- Add CSS styling for inline edit mode with focus states and transitions
- Add comprehensive test coverage for TaskCard editing and useTasks updates
- Include changeset for patch release and update dashboard README
2026-03-29 19:35:46 -07:00
gsxdsm
90e3f72c8e feat(KB-037): add smartConflictResolution setting toggle
- Add smartConflictResolution toggle to Merge section in SettingsModal\n- Implement checkbox UI with label and description\n- Add comprehensive tests for toggle behavior and state\n- Follow existing SettingsModal patterns for consistency
2026-03-29 19:30:18 -07:00
gsxdsm
4298f12419 feat(KB-027): add autoResolveConflicts toggle in Merge settings
- Add autoResolveConflicts toggle to SettingsModal Merge section
- Add unit tests for toggle functionality in SettingsModal
- Clean up unrelated changeset files and unused components
2026-03-29 19:27:25 -07:00
gsxdsm
34470f0ef8 feat(KB-028): add multi-agent terminal view
- Create useMultiAgentLogs hook for real-time agent log streaming
- Build TerminalModal component with tabbed task interface
- Add terminal styles with mobile responsive design
- Integrate terminal toggle into Header with in-progress badge
- Wire TerminalModal into App.tsx with in-progress task filtering
2026-03-29 19:27:10 -07:00
gsxdsm
4a59880c08 fix(KB-042): prevent stale column state in SSE event handlers
- Fix useTasks SSE handlers to prevent stale column state issues\n- Use server-side columnMovedAt timestamp instead of client-generated\n- Add regression tests for useTasks SSE event handlers\n- Clean up unused Git Manager code and styles\n- Update triage logic for improved task processing
2026-03-29 19:25:56 -07:00
gsxdsm
fc38e18513 feat(KB-030): add Git Manager dashboard feature
- Add GitManagerModal component with status, commits, branches, and worktrees tabs

- Implement git API endpoints for status, commits, diff, branches, worktrees, and actions

- Add git API client functions with error handling

- Integrate Git Manager into App and Header with toolbar button

- Add comprehensive tests for GitManagerModal component

- Include README documentation for dashboard package and changeset
2026-03-29 19:25:39 -07:00
gsxdsm
335298a6a2 feat(KB-007): add manual plan approval setting
- Add requirePlanApproval setting to core types and dashboard config
- Add approve-plan and reject-plan API endpoints with handlers
- Add approve/reject UI buttons to TaskDetailModal for awaiting-approval tasks
- Update triage processor to check requirePlanApproval and set awaiting-approval status
- Add comprehensive tests for API endpoints, UI components, and triage logic
- Update AGENTS.md with documentation for the new setting
2026-03-29 19:23:30 -07:00
gsxdsm
e8650d8e5a feat(KB-020): add column visibility toggle to list view
- Add column visibility state management with localStorage persistence
- Create dropdown UI for toggling column visibility with checkboxes
- Implement conditional column rendering in ListView
- Add CSS styling for column toggle dropdown component
- Add comprehensive tests for column visibility toggle functionality
- Include changeset for patch release
2026-03-29 18:55:36 -07:00
gsxdsm
5993264e25 feat(KB-023): add smart automatic merge conflict resolution
- Add conflict classification API: classifyConflict(), getConflictedFiles(), resolveWithOurs(), resolveWithTheirs(), resolveTrivialWhitespace()

- Auto-resolve lock files (ours), generated files (theirs), and trivial whitespace conflicts

- Add smartConflictResolution setting (alias for autoResolveConflicts)

- Track resolution path via resolutionMethod and autoResolvedCount in MergeResult

- Implement 3-attempt retry logic with escalating strategies in aiMergeTask

- Export pattern constants LOCKFILE_PATTERNS and GENERATED_PATTERNS
2026-03-29 18:46:57 -07:00