Commit Graph

1469 Commits

Author SHA1 Message Date
Dave
0ff1a4b167 feat: Story 11 - Left-align text and add syntax highlighting
Implemented Story 11: Text Alignment and Syntax Highlighting
- Removed center-alignment from chat container (text-align: center)
- Added left-alignment to markdown body and code blocks
- Integrated react-syntax-highlighter with react-markdown
- Added syntax highlighting for code blocks using oneDark theme
- Supports JavaScript, TypeScript, Rust, Python, JSON, Markdown, Shell, and more
- Inline code maintains simple styling without full highlighting
- All code blocks are now left-aligned for better readability

Fixed: Agent over-aggressive file writing behavior
- Refined system prompt to distinguish between:
  * 'show/example/how does' → respond with code in chat
  * 'create/add/implement/fix' → use write_file tool
- Removed aggressive AGENT DIRECTIVE prefix from user messages
- Softened reminder message to reflect nuanced behavior
- Agent can now both teach (show examples) and implement (write files)

Updated Specs
- Added Text Alignment and Readability section to UI_UX.md
- Added Syntax Highlighting section with implementation details
- Updated SDSW workflow: acceptance criteria marked complete only after user acceptance

Dependencies
- Added react-syntax-highlighter and @types/react-syntax-highlighter
2025-12-25 15:39:22 +00:00
Dave
ed15279dae feat: Story 9 - Remove scroll bars for cleaner UI
Implemented Story 9: Hidden Scroll Bars
- Added CSS to hide scroll bars globally while maintaining functionality
- Used scrollbar-width: none for Firefox
- Used ::-webkit-scrollbar { display: none; } for Chrome/Safari/Edge
- Set overflow-x: hidden to prevent unwanted horizontal scrolling
- Maintained full scroll functionality (mouse wheel, trackpad, keyboard)

Updated Specs
- Added Scroll Bar Styling section to UI_UX.md
- Documented cross-browser compatibility requirements
- Specified areas affected and implementation approach

Bug Fixes
- Fixed biome linting issues in App.tsx (import organization, button type)
- Applied biome formatter for consistent code style
2025-12-25 15:23:49 +00:00
Dave
990441dfc1 feat: Story 8 - Collapsible tool outputs + autonomous coding improvements
Implemented Story 8: Collapsible Tool Outputs
- Tool outputs now render in <details>/<summary> elements, collapsed by default
- Summary shows tool name with key argument (e.g., ▶ read_file(src/main.rs))
- Added arrow rotation animation and scrollable content (max 300px)
- Enhanced tool_calls display to show arguments inline
- Added CSS styling for dark theme consistency

Fixed: LLM autonomous coding behavior
- Strengthened system prompt with explicit examples and directives
- Implemented triple-reinforcement system (primary prompt + reminder + message prefixes)
- Improved tool descriptions to be more explicit and action-oriented
- Increased MAX_TURNS from 10 to 30 for complex agentic workflows
- Added debug logging for Ollama requests/responses
- Result: GPT-OSS (gpt-oss:20b) now successfully uses write_file autonomously

Documentation improvements
- Created MODEL_SELECTION.md guide with recommendations
- Updated PERSONA.md spec to emphasize autonomous agent behavior
- Updated UI_UX.md spec with collapsible tool output requirements
- Updated SDSW workflow: LLM archives stories and performs squash merge

Cleanup
- Removed unused ToolTester.tsx component
2025-12-25 15:18:12 +00:00
Dave
c493da2f2a chore: archive story 10 2025-12-25 13:22:08 +00:00
Dave
d3fa8d940b feat: persist model selection 2025-12-25 13:21:55 +00:00
Dave
a924de8b36 chore: archive story 09 2025-12-25 13:10:12 +00:00
Dave
f1d4efb266 feat: system prompt and persona 2025-12-25 13:10:03 +00:00
Dave
9aa52a4b6c chore: archive story 07 2025-12-25 12:58:47 +00:00
Dave
c3ff2bdebd feat: ui polish (sticky header, dark mode, flat inputs) 2025-12-25 12:58:37 +00:00
Dave
dfefa3a8bd chore: archive story 06 2025-12-25 12:40:38 +00:00
Dave
e560bd1323 feat: event-driven ui updates 2025-12-25 12:39:20 +00:00
Dave
a97a83ef53 chore: archive story 04 2025-12-25 12:26:39 +00:00
Dave
6572f45422 feat: auto-detect ollama models 2025-12-25 12:21:58 +00:00
Dave
e229f2efa8 feat: persist project selection 2025-12-24 17:46:27 +00:00
Dave
4e2d7416e8 Added some more stories for later 2025-12-24 17:34:22 +00:00
Dave
b241c47fd9 fix: make llm provider async and add tool toggle 2025-12-24 17:32:46 +00:00
Dave
d9cd16601b feat: agent brain (ollama) and chat ui 2025-12-24 17:17:35 +00:00
Dave
76e03bc1a2 feat: core agent tools (fs, search, shell) 2025-12-24 16:59:14 +00:00
Dave
54810631be Initial commit 2025-12-24 16:29:33 +00:00