aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix(mcp): auto-allow MCP tools in research phaseClawd2026-03-011-0/+4
| | | | | | MCP tools require permission by default. Add mcp__* to allowedTools when MCPs are configured and we're in research phase, since that's where external data sources are most useful.
* feat(settings): add MCP server configurationClawd2026-03-014-1/+730
| | | | | | | | - Add McpSettings component with add/edit/delete server UI - Support stdio (command + args + env) and sse/http (url + headers) transports - Array builder for args, key-value builder for env vars and headers - Pass mcpServers config to SDK query() calls - Store config as JSON in settings table
* feat(settings): add configurable model selectionClawd2026-03-016-3/+162
| | | | | | | | - Add Model settings section with free-text input for model override - Pass configured model through to SDK query() calls - Display active model badge in ActionBar next to token usage - Seed model state from DB on mount, update from system:init events - Empty/unset value uses SDK default (no breaking change)
* feat: Add `activityStatus` state and `handleCancel` to App.ts… (+4 more)bndw2026-03-013-33/+123
| | | | | | | | - ✅ Add `activityStatus` state and `handleCancel` to App.tsx; update Escape handler - ✅ Extend `onClaudeMessage` handler: tool_progress, task_progress, restructure result block - ✅ Pass `activityStatus` and `onCancel` props to `<ChatPane>` in App.tsx - ✅ Update ChatPane.tsx props interface and loading bubble render - ✅ Add loading bubble CSS (flex layout, cancel × styles, pulse animation)
* feat: **`globals.css`** — Edit `.chat-pane`: remove `width: 3… (+7 more)bndw2026-02-283-30/+169
| | | | | | | | | | | - ✅ **`globals.css`** — Edit `.chat-pane`: remove `width: 380px`, add `min-width: 0`, `overflow: hidden`, `transition: width 0.2s ease` - ✅ **`globals.css`** — Insert `.chat-resize-handle`, `.chat-header`, `.chat-collapse-btn` rules after `.chat-pane` block - ✅ **`globals.css`** — Append `::-webkit-scrollbar` rules at end of file - ✅ **`ChatPane.tsx`** — Full rewrite: new props interface, header strip, conditional body, inline width style - ✅ **`App.tsx`** — Add `chatWidth` + `chatCollapsed` state with lazy localStorage initialisers - ✅ **`App.tsx`** — Add two `useEffect` persistence hooks - ✅ **`App.tsx`** — Add `handleResizeMouseDown` function - ✅ **`App.tsx`** — Update `.main-content` JSX: insert conditional resize handle div, pass new props to `<ChatPane>`
* feat: **1 — `git.ts`:** Add exported `getCurrentBranch` helpe… (+8 more)bndw2026-02-288-11/+276
| | | | | | | | | | | | - ✅ **1 — `git.ts`:** Add exported `getCurrentBranch` helper after `ensureGitRepo` - ✅ **2a — `ipc/handlers.ts`:** Update git import to include `ensureGitRepo` and `getCurrentBranch` - ✅ **2b — `ipc/handlers.ts`:** Replace `workflow:advance` implement-phase block with branching-toggle logic - ✅ **3 — `GitSettings.tsx`:** Create new settings component with pill toggle - ✅ **4 — `SettingsPage.tsx`:** Add `"git"` section type, import, nav item, content render; fix both unicode glyphs - ✅ **5 — `globals.css`:** Append toggle-row + pill toggle + maximize-btn CSS - ✅ **6 — `index.ts`:** Add `ipcMain` to import; add `window:toggleMaximize` handler + maximize/unmaximize events inside `createWindow()` - ✅ **7 — `preload.ts`:** Add `toggleMaximize` + `onWindowMaximized` to interface and `api` object - ✅ **8 — `Header.tsx`:** Add `isMaximized` state + effect + maximize button in JSX
* feat: **1. `src/main/db/schema.ts`** — add `settings` table … (+10 more)bndw2026-02-2811-3/+511
| | | | | | | | | | | | | | - ✅ **1. `src/main/db/schema.ts`** — add `settings` table to `initSchema` - ✅ **2. `src/main/db/settings.ts`** — create file with `getSetting`, `getSettings`, `setSetting`, `deleteSetting` - ✅ **3. `src/main/claude/phases.ts`** — add `customSystemPrompt?` param to `getPhaseConfig`; add `getDefaultSystemPromptTemplate` export - ✅ **4. `src/main/claude/index.ts`** — import `getSetting`; load custom prompt in `sendMessage`; pass to `getPhaseConfig` - ✅ **5. `src/main/ipc/handlers.ts`** — import `settingsDb` + `getDefaultSystemPromptTemplate`; register `settings:get`, `settings:set`, `settings:delete`, `settings:getDefaultPrompts` - ✅ **6. `src/main/preload.ts`** — add `getSettings`, `setSetting`, `deleteSetting`, `getDefaultSystemPrompts` to interface + api object - ✅ **7. `renderer/src/styles/globals.css`** — append all new CSS rules - ✅ **8. `renderer/src/components/settings/SystemPromptsSettings.tsx`** — create file (new directory) - ✅ **9. `renderer/src/components/SettingsPage.tsx`** — create file - ✅ **10. `renderer/src/components/Header.tsx`** — add `onOpenSettings` prop + ⚙ button - ✅ **11. `renderer/src/App.tsx`** — add `showSettings` state; import + render `<SettingsPage>`; pass `onOpenSettings` to Header
* feat: Complete 9 tasksbndw2026-02-286-49/+128
| | | | | | | | | | | | - ✅ **Change 1** — `src/main/git.ts`: Add `LOCK_FILES`, `buildTaskSubject`, `getStagedFileNames`, `buildFileSubject` helpers; rewrite `commitMsg` block in `autoCommitTurn` - ✅ **Change 2a** — `src/main/ipc/handlers.ts`: Update import to include `ensureGitIgnore`; strip branch creation from `sessions:create`; add bare `ensureGitIgnore` call - ✅ **Change 2b** — `src/main/ipc/handlers.ts`: Update `workflow:advance` to create branch on implement transition; return `{ phase, git_branch }` - ✅ **Change 3** — `src/main/preload.ts`: Update `advancePhase` return type in `ClaudeFlowAPI` interface - ✅ **Change 4** — `renderer/src/App.tsx`: Destructure `{ phase, git_branch }` from advance result; spread `git_branch` into `setSelectedSession` - ✅ **Change 5a** — `renderer/src/components/Header.tsx`: Remove branch from `<option>` text - ✅ **Change 5b** — `renderer/src/components/Header.tsx`: Add `phase !== "implement"` guard to rename button - ✅ **Change 5c** — `renderer/src/components/Header.tsx`: Gate badge on `gitBranch` truthy; remove disabled/unavailable state - ✅ **Change 6** — `renderer/src/styles/globals.css`: Delete `.branch-badge.branch-unavailable` rule
* feat: Complete 7 tasksbndw2026-02-283-0/+71
| | | | | | | | | | - ✅ Add `.branch-badge` CSS block to `globals.css` after `.phase-step.complete` rule - ✅ Extend `HeaderProps` interface with `gitBranch: string | null` - ✅ Add `gitBranch` to `Header` function destructure - ✅ Add `copied` state and `handleCopyBranch` function inside `Header` - ✅ Update session `<option>` text to append branch name / "git unavailable" - ✅ Add branch badge button to `header-right` between phase indicator and theme toggle - ✅ Pass `gitBranch={selectedSession?.git_branch ?? null}` to `<Header>` in `App.tsx`
* feat: git branchesbndw2026-02-288-4/+267
|
* feat: auto session namingbndw2026-02-286-22/+169
|
* fix: scope artifacts to sessionsbndw2026-02-287-2158/+116
|
* Remove accidentally created .claude-flow/ directoryClawd2026-02-282-1304/+0
|
* Move artifacts to ~/.claude-flow/ (outside repo)Clawd2026-02-289-145/+1376
| | | | | | | | | - Store session artifacts in ~/.claude-flow/projects/{projectId}/sessions/{sessionId}/ - Artifacts no longer live in project directory - can't be accidentally committed - Remove .claude-flow/ from .gitignore (not needed anymore) - Update all IPC handlers and renderer to use projectId instead of projectPath - Update prompts to remove worktree references - Update README with new storage location
* Remove git integration from READMEClawd2026-02-281-11/+7
|
* Remove git worktree/branch managementClawd2026-02-283-237/+5
| | | | | Session-scoped artifacts already solve the concurrent session problem. No need for worktrees or branches. Simpler is better.
* Remove CLAUDE.md explanation from README (industry standard)Clawd2026-02-281-4/+0
|
* Simplify README: focus on workflow, git integration, session structureClawd2026-02-281-73/+24
|
* Update prompts with explicit file paths and git worktree contextClawd2026-02-281-14/+29
| | | | | | | | - Research phase: reference .claude-flow/sessions/{sessionId}/research.md - Plan phase: reference .claude-flow/sessions/{sessionId}/plan.md - Implementation phase: explain worktree isolation and review process - All phases: mention CLAUDE.md at project root for shared context - All phases: mention git worktree location .claude-flow/worktrees/{sessionId}/
* Add session-specific artifacts, CLAUDE.md, and git worktree supportClawd2026-02-286-52/+434
| | | | | | | | | | | - Store artifacts in .claude-flow/sessions/{sessionId}/ - Each session now has isolated research.md and plan.md - Concurrent sessions no longer conflict - Add CLAUDE.md support for shared codebase documentation - Add git worktree creation on session start - Add git commit/status IPC handlers - Update all artifact APIs to be session-specific - Remove artifact clearing on new session (no longer needed)
* Fix .gitignore: ignore dist/, .claude-flow/, and sync-conflict filesClawd2026-02-28129-2277/+3
| | | | Remove accidentally committed build artifacts and working files.
* Clear artifacts when creating new sessionClawd2026-02-28129-0/+2279
| | | | | Each new session now starts with empty research.md and plan.md files, preventing stale content from previous sessions appearing.
* Ignore .claude-flow/ working directoryClawd2026-02-283-1305/+1
| | | | | These are transient artifacts (research.md, plan.md) generated during sessions, not source code worth tracking.
* Restyle UI with light/dark theme supportClawd2026-02-287-84/+1523
| | | | | | | | | | | - Add light/dark theme toggle with localStorage persistence - Add 'Claude Flow' wordmark in header - Switch to monospace font (SF Mono, Cascadia Code, etc.) - Update accent colors (lighter blue) - Add theme-aware CodeMirror styling (oneDark vs defaultHighlightStyle) - Update window title to 'Claude Flow' - Refine spacing and visual polish throughout - Add .claude-flow/ artifacts from self-restyling session
* Fix CodeMirror line wrapping and container overflowClawd2026-02-282-1/+11
| | | | | | | - Add EditorView.lineWrapping for soft word wrap - Fix container CSS to prevent horizontal overflow - Add min-width: 0 to document-pane for proper flex shrinking - Add overflow: hidden to contain the editor
* Add CodeMirror 6 for markdown editingClawd2026-02-284-6/+720
| | | | | | | | | | | | | - Install CodeMirror 6 with markdown language support - Add MarkdownEditor component with: - Syntax highlighting for markdown - Line numbers - Active line highlighting - History (undo/redo) - One Dark theme - Code block language highlighting - Keep react-markdown for preview mode - Add CSS for CodeMirror integration
* Replace custom markdown renderer with react-markdownClawd2026-02-284-147/+1549
| | | | | | | | - Add react-markdown and remark-gfm dependencies - Remove hacky regex-based renderMarkdown function - Full GFM support: tables, task lists, strikethrough, autolinks - Update CSS for react-markdown output (task lists, blockquotes, hr) - Cleaner, more maintainable code
* Add markdown table rendering supportClawd2026-02-282-1/+85
| | | | | | | - Add renderTable() function to parse markdown tables - Process tables before other markdown transformations - Handle header row, separator row, and body rows - Add table CSS styling (borders, alternating row colors, padding)
* Add delete functionality for projects and sessionsClawd2026-02-283-0/+82
| | | | | | | | | - Add delete buttons (🗑️) next to project/session dropdowns - Add confirmation dialogs before deletion - Add onDeleteProject and onDeleteSession props to Header - Implement delete handlers in App.tsx with error handling - Clear selection and related state after deletion - Add CSS styling for delete button with hover effect
* Add onboarding screen for first-time usersClawd2026-02-283-0/+94
| | | | | | | | | - Show welcome view when no project is selected - Explain the Research → Plan → Implement workflow - Include ANTHROPIC_API_KEY setup instructions - List getting started steps (add project, create session, describe work) - Explain iteration workflow with Review/Submit buttons - Add CSS styling for onboarding content
* Add Boris Tane's blog post to ReferencesClawd2026-02-281-1/+1
|
* Mark all TODO phases complete in plan.md, add References section to READMEClawd2026-02-282-25/+29
|
* Fix: system prompt passing and strengthen phase enforcementClawd2026-02-282-48/+105
| | | | | | | | | | | | | | | - Fix systemPrompt option (was incorrectly using extraArgs) - Rewrite research phase prompt: - Emphasize writing to research.md as PRIMARY output - Explicitly forbid asking about phase transitions - Add document format template - Clarify that chat is for questions only - Rewrite plan phase prompt: - Same emphasis on plan.md as primary output - Include code snippet format examples - Forbid implementation attempts - Change research/plan permissionMode to acceptEdits (was 'plan') - 'plan' mode may have been blocking file writes
* Phase 5: Integration & polishClawd2026-02-283-95/+171
| | | | | | | | | | | | | | - Add error handling with auto-dismissing error bar - Add keyboard shortcuts: - Escape to interrupt Claude - Cmd/Ctrl+Enter to submit - Fix unused import warning - Update README.md with project documentation - Concept and workflow explanation - UI layout diagram - Installation and development instructions - Project structure overview - Keyboard shortcuts reference
* Phase 4: React UIClawd2026-02-288-3/+1041
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add renderer/src/types.ts with Project, Session, Message, Phase types - Add renderer/src/styles/globals.css with full styling - Dark theme with accent colors - Header, document pane, chat pane, action bar layouts - Phase indicator, token usage bar, buttons - Add renderer/src/components/Header.tsx - Project/session dropdowns with create buttons - Phase indicator showing current workflow state - Add renderer/src/components/DocumentPane.tsx - Markdown viewer/editor with toggle - Syntax highlighting for review comments - Task checkbox rendering - Add renderer/src/components/ChatPane.tsx - Message list with auto-scroll - Input field with Enter to send - Loading state indicator - Add renderer/src/components/ActionBar.tsx - Token usage bar with color coding - Review/Submit buttons for workflow - Permission mode toggle for implement phase - Add renderer/src/App.tsx - Full state management for projects, sessions, messages - Claude message subscription - Workflow handlers (review, submit, phase advance) - Update renderer/src/main.tsx to render App
* Phase 3: IPC layerClawd2026-02-283-47/+275
| | | | | | | | | | | | | | | | | | - Implement src/main/preload.ts with typed API bridge - Projects, sessions, messages CRUD - Chat send/interrupt - Workflow review/advance/permissions - Artifact read/write - Directory picker dialog - Claude message event subscription - Implement src/main/ipc/handlers.ts - All IPC handlers with proper error handling - Message forwarding to renderer - Assistant message storage - Update src/main/index.ts - Initialize database on startup - Register IPC handlers - Clean database close on exit
* Phase 2: Claude integration layerClawd2026-02-288-2/+821
| | | | | | | | | | - Add @anthropic-ai/claude-agent-sdk dependency - Implement src/main/claude/phases.ts with phase configs (research/plan/implement) - Implement src/main/claude/index.ts with SDK wrapper - query() integration with session management - Session resume support - Artifact read/write utilities - Phase advancement logic
* Fix dev script: initial tsc compile before watch modeClawd2026-02-271-2/+2
|
* Remove duplicate PLAN.md, keep plan.md as canonicalClawd2026-02-272-260/+2
|
* Rewrite plan with document-centric UX: Review/Submit workflowClawd2026-02-271-770/+896
|
* Address review comments: clarify decisions, add context indicatorClawd2026-02-273-7/+80
|
* Add detailed implementation plan with code snippets and TODO listClawd2026-02-271-0/+1487
|
* Add research findings for Claude Agent SDK integrationClawd2026-02-271-0/+412
|
* Add project plan for Claude FlowClawd2026-02-271-0/+258
|
* fix: silence warning about rootDirEthan Mick2025-09-151-1/+3
|
* initial commitEthan Mick2025-09-1511-0/+8009