Skip to content

feat(admin): tool source display and config persistence#154

Merged
Oaklight merged 4 commits into
masterfrom
feature/admin-source-config
May 15, 2026
Merged

feat(admin): tool source display and config persistence#154
Oaklight merged 4 commits into
masterfrom
feature/admin-source-config

Conversation

@Oaklight
Copy link
Copy Markdown
Owner

Closes #121

Summary

  • Add to_dict() methods to all config dataclasses for serialization
  • Add save_config() to write ToolConfig back to JSON/YAML files
  • Expose source/source_detail in admin API tool responses
  • Add GET /api/sources endpoint aggregating tools by origin
  • Add GET/PUT /api/config endpoints for config file persistence
  • Add Sources tab, source badges, source filter in admin UI
  • Add config section in State tab for save-to-file workflow
  • Enhanced state export includes per-tool source metadata
  • Add i18n translations (en/zh) for all new UI strings

Test plan

  • 11 to_dict() serialization tests
  • 4 save_config() tests (JSON, YAML, roundtrip, error)
  • 7 admin API endpoint tests (sources, config GET/PUT, error cases)
  • Full suite: 915 passed, 0 regressions

Oaklight added 4 commits May 14, 2026 18:09
- Add to_dict() methods to all config dataclasses for serialization
- Add save_config() to write ToolConfig back to JSON/YAML files
- Expose source/source_detail in admin API tool responses
- Add GET /api/sources endpoint aggregating tools by origin
- Add GET/PUT /api/config endpoints for config file persistence
- Add Sources tab, source badges, source filter in admin UI
- Add config section in State tab for save-to-file workflow
- Enhanced state export includes per-tool source metadata
- Add i18n translations (en/zh) for all new UI strings
@Oaklight Oaklight merged commit 264290d into master May 15, 2026
3 checks passed
@Oaklight Oaklight deleted the feature/admin-source-config branch May 15, 2026 09:02
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.

Admin panel: tool source management and config file persistence

1 participant