feat: add configuration management CRUD UI#290
Merged
zbigniewsobiecki merged 2 commits intodevfrom Feb 16, 2026
Merged
Conversation
… and agent configs Adds a complete self-service configuration UI to the CASCADE dashboard, replacing the need for direct SQL or CLI scripts to manage projects, credentials, agent configs, and organization defaults. Backend: - New settingsRepository with CRUD for orgs, defaults, projects, integrations, and agent configs - Four new tRPC routers: organization, defaults, credentials, agentConfigs - Expanded projects router with integrations and credential overrides sub-routers - Credential values masked in API responses (last 4 chars only) - Ownership verification on all mutations Frontend: - Sidebar navigation with Projects and Settings sections - Project list page with create dialog and tabbed detail view (General, Integrations, Credentials, Agent Configs) - Settings pages for org name, cascade defaults, credentials CRUD, and global agent config management - shadcn/ui components (14 primitives) with react-hook-form - Agent backend fields use Select dropdowns (llmist, claude-code) Quality: - 96 new tests across 7 test files (routers + repository) - CI now builds and typechecks the web frontend - Fixed pre-existing lint warnings (cognitive complexity) in claude-code backend and manage-secrets CLI - Zero lint errors/warnings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tup-webhooks - Add missing `web/src/components/logs/log-viewer.tsx` that was referenced by `$runId.tsx` but never committed (broke web build in CI) - Fix `.gitignore`: change `logs/` to `/logs/` so it only matches the root logs directory (not `web/src/components/logs/`) - Add `*.tsbuildinfo` to `.gitignore` - Commit previously-untracked `tools/setup-webhooks.ts` - Fix cognitive complexity warnings in setup-webhooks.ts by extracting print and delete helpers Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
settingsRepository, 4 new tRPC routers (organization,defaults,credentials,agentConfigs), expandedprojectsrouter with integrations and credential overrides sub-routersllmist/claude-code) instead of free-text inputstmp-*.tsto.gitignoreChanges
Backend
src/db/repositories/settingsRepository.ts(new)src/api/routers/{organization,defaults,credentials,agentConfigs}.ts(new),projects.ts(expanded)src/api/router.ts(register new sub-routers)src/backends/claude-code/index.ts,tools/manage-secrets.ts(refactored for complexity)Frontend
sidebar.tsx(Projects + Settings sections)projects/index.tsx,projects/$projectId.tsx,settings/{general,credentials,agents}.tsxprojects-table,project-form-dialog,project-general-form,integration-form,credential-overrides,project-agent-configsorg-form,defaults-form,credentials-table,credential-form-dialog,agent-configs-table,agent-config-form-dialogTests
organization.test.tsdefaults.test.tscredentials.test.tsagentConfigs.test.tsprojects.test.tssettingsRepository.test.tsrouter.test.tsCI / Infra
.github/workflows/ci.yml— added web dependency install + frontend build step.gitignore— addedtmp-*.tsTest plan
npm run typecheck— cleannpm run lint— 0 errors, 0 warningsnpm test— 74 files, 1096 tests passing🤖 Generated with Claude Code