Skip to content

feature: UI & API improvements — accordion Changes panel, label removal, LLM config cleanup - #29

Merged
linletian merged 7 commits into
developfrom
feature/optimization
May 15, 2026
Merged

feature: UI & API improvements — accordion Changes panel, label removal, LLM config cleanup#29
linletian merged 7 commits into
developfrom
feature/optimization

Conversation

@linletian

Copy link
Copy Markdown
Owner

Summary

  • feat: Split Changes panel into Staged/Unstaged accordion sections for better UX
  • feat: Remove instance archive/purge — allow delete directly on stop
  • refactor: Remove labels feature from data model, API, and UI
  • refactor: Overhaul LLM config — remove openai_compatible, add reasoning_split, tighten availability check
  • fix: Update thinking field to use object format for API compatibility

linletian added 7 commits May 14, 2026 19:04
- Backend: concurrent git diff --cached/--numstat with per-section error
  reporting, returning 500 only when both commands fail
- Frontend: mutually exclusive accordion in sidebar; toggle triggers
  re-render so errors follow the expanded section
- Docs: updated PRD, ARCHITECTURE, and API docs
- Remove Archived/ArchivedAt fields from ManagedInstance
- Remove Archive(), PurgeArchivedInstances() from instance manager
- Modify Delete() to work on stopped instances directly
- Modify Restart() to auto-delete old instance instead of archiving
- Remove /api/instances/archive and /api/instances/purge routes
- Remove instance_archive, instance_purge MCP tools
- Remove Archive/Purge buttons, Show archived checkbox from UI
- Update API docs
Resolved conflicts in docs/API.md: kept staged/unstaged git status
split, removed archive/purge (favoring direct delete), kept LLM
configuration section from develop.
…ng_split, tighten availability check

- Remove openai_compatible protocol; consolidate into openai
- Remove auto-fill defaults for model and API address (user must configure explicitly)
- Add reasoning_split toggle as a configurable option
- Add thinking: false to disable DeepSeek thinking mode by default
- IsAvailable() now requires all four fields (protocol, key, address, model) non-empty
- Anthropic auth header auto-detects based on URL (x-api-key for api.anthropic.com, Bearer otherwise)
- UI: mute AI Generate button when LLM not fully configured, click opens settings
- Remove dead DefaultModel/DefaultAddress functions
- Sync docs (API.md, PRD.md) with current implementation
@linletian
linletian merged commit cb561aa into develop May 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant