Release v0.6.0 #4

Merged
vikingowl merged 10 commits from dev into main 2026-01-22 12:13:30 +01:00

10 Commits

Author SHA1 Message Date
29c70eca17 chore: bump version to 0.6.0 2026-01-22 12:12:06 +01:00
a31f8263e7 Merge pull request 'feat(agents): implement agents feature (v1)' (!3) from feature/agents into dev 2026-01-22 12:08:27 +01:00
9b4eeaff2a feat(agents): implement agents feature (v1)
Adds agents feature with the following capabilities:
- Agent identity: name, description
- System prompt reference from Prompt Library (promptId)
- Tool set: subset of available tools (enabledToolNames)
- Optional preferred model
- CRUD operations with IndexedDB storage (schema v7)
- Project-agent relationships (many-to-many via junction table)
- Per-chat agent selection via AgentSelector component
- Settings UI via AgentsTab in Settings page

Integration:
- Agent tools filter LLM tool calls via getToolDefinitionsForAgent()
- Agent prompt integrates with prompt resolution (priority 3)
- AgentSelector dropdown in chat UI (opens upward)

Tests:
- 22 storage layer tests
- 22 state management tests
- 7 tool integration tests
- 9 prompt resolution tests
- 14 E2E tests

Closes #7
2026-01-22 12:02:13 +01:00
e091a6c1d5 Merge pull request 'test: extend test coverage for backend and frontend' (!2) from feature/test-coverage into dev 2026-01-22 11:09:43 +01:00
b33f8ada5d Merge pull request 'feat: add .env.example and configuration documentation' (!1) from feature/config-documentation into dev 2026-01-22 11:09:34 +01:00
d81430e1aa test: extend test coverage for backend and frontend
Backend:
- Add fetcher_test.go (HTML stripping, URL fetching utilities)
- Add model_registry_test.go (parsing, size ranges, model matching)
- Add database_test.go (CRUD operations, migrations)
- Add tests for geolocation, search, tools, version handlers

Frontend unit tests (469 total):
- OllamaClient: 22 tests for API methods with mocked fetch
- Memory/RAG: tokenizer, chunker, summarizer, embeddings, vector-store
- Services: prompt-resolution, conversation-summary
- Components: Skeleton, BranchNavigator, ConfirmDialog, ThinkingBlock
- Utils: export, import, file-processor, keyboard
- Tools: builtin math parser (44 tests)

E2E tests (28 total):
- Set up Playwright with Chromium
- App loading, sidebar navigation, settings page
- Chat interface, responsive design, accessibility
- Import dialog, project modal interactions

Config changes:
- Add browser conditions to vitest.config.ts for Svelte 5 components
- Add playwright.config.ts for E2E testing
- Add test:e2e scripts to package.json
- Update .gitignore to exclude test artifacts

Closes #8
2026-01-22 11:05:49 +01:00
2c2744fc27 feat: add .env.example and fix hardcoded Ollama URL
- Add .env.example with all documented environment variables
- Fix conversation-summary.ts to use proxy instead of hardcoded localhost

Closes #9
2026-01-22 09:21:49 +01:00
34f2f1bad8 docs: update CONTRIBUTING with branching strategy
- Add branching workflow: main -> dev -> feature/*
- Document that PRs should target dev branch
- Add release workflow documentation
2026-01-22 09:06:39 +01:00
0e7a3ccb7f chore: add justfile for development commands
- Backend runs on port 9090 (matches vite proxy default)
- Adds health check command for all services
- Includes llama.cpp server commands
- Adds test and build commands
2026-01-22 09:06:31 +01:00
d48cf7ce72 feat: add sync status indicator and warning banner
- Add SyncStatusIndicator component showing connection status in TopNav
- Add SyncWarningBanner that appears after 30s of backend disconnection
- Green dot when synced, amber pulsing when syncing, red when error/offline
- Warning banner is dismissible but reappears on next failure

Closes #11
2026-01-22 09:06:23 +01:00