aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* feat(settings): add MCP server configurationClawd2026-03-011-0/+5
| | | | | | | | - 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-011-0/+4
| | | | | | | | - 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: **1 — `git.ts`:** Add exported `getCurrentBranch` helpe… (+8 more)bndw2026-02-284-6/+70
| | | | | | | | | | | | - ✅ **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-286-3/+91
| | | | | | | | | | | | | | - ✅ **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-283-14/+104
| | | | | | | | | | | | - ✅ **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: git branchesbndw2026-02-286-4/+256
|
* feat: auto session namingbndw2026-02-283-2/+10
|
* fix: scope artifacts to sessionsbndw2026-02-282-54/+58
|
* Move artifacts to ~/.claude-flow/ (outside repo)Clawd2026-02-284-130/+61
| | | | | | | | | - 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 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.
* 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-285-41/+425
| | | | | | | | | | | - 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: 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 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-286-0/+456
| | | | | | | | | | - 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
* initial commitEthan Mick2025-09-152-0/+64