Skip to content

feat: claude-code model dropdown, richer progress, and fixes#300

Merged
zbigniewsobiecki merged 1 commit intodevfrom
feat/claude-code-model-dropdown-and-progress-enrichment
Feb 16, 2026
Merged

feat: claude-code model dropdown, richer progress, and fixes#300
zbigniewsobiecki merged 1 commit intodevfrom
feat/claude-code-model-dropdown-and-progress-enrichment

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Claude Code model dropdown: When backend is claude-code, model field becomes a <Select> dropdown with Opus 4.6, Sonnet 4.5, Haiku 4.5 instead of free-text input. Shared constants in src/backends/claude-code/models.ts, exposed via agentConfigs.claudeCodeModels tRPC query, consumed by new ModelField component. resolveClaudeModel() now warns when falling back from non-Claude models.
  • Richer progress reports: Progress monitor captures tool call details (file paths, commands), agent text snippets, and completed task summaries. Progress model formats these into coherent narratives. New onTaskCompleted callback on ProgressReporter, wired to task_notification SDK stream events.
  • GitHub Actions API migration: getCheckSuiteStatus switched from Checks API to Actions API (workflow runs + jobs) for fine-grained PAT compatibility.
  • seed-prompts simplification: Update-first approach replaces select-then-update/insert.
  • Test fixes: Updated GitHub client tests for Actions API, added model constant tests, added resolveClaudeModel warning test. Fixed cognitive complexity lint warning.

Test plan

  • npm run lint clean (0 errors)
  • npm run typecheck passes
  • npm test — 82 files, 1243 tests, all passing
  • npm run build:web succeeds
  • Pre-push hook runs all tests and passes

🤖 Generated with Claude Code

- Add Claude Code model constants (models.ts) and expose via tRPC query
- Replace free-text model input with dropdown when backend is claude-code
  (defaults form, global agent config, project agent config)
- Improve resolveClaudeModel() with known model ID check and fallback warning
- Enrich progress reports with tool details, agent text snippets, and
  completed task summaries (progressModel/progressMonitor)
- Add onTaskCompleted to ProgressReporter, handle task_notification in SDK stream
- Migrate GitHub getCheckSuiteStatus from Checks API to Actions API
  (workflow runs + jobs) for fine-grained PAT compatibility
- Simplify seed-prompts to update-first approach
- Fix pre-existing test failures: update GitHub client tests for Actions API
- Fix cognitive complexity lint warning by extracting processTaskNotification

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 5397b6f into dev Feb 16, 2026
4 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the feat/claude-code-model-dropdown-and-progress-enrichment branch March 16, 2026 16:43
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