fix: CLI args-to-flags for claude-code compat + add jq to worker#298
Merged
zbigniewsobiecki merged 5 commits intodevfrom Feb 16, 2026
Merged
fix: CLI args-to-flags for claude-code compat + add jq to worker#298zbigniewsobiecki merged 5 commits intodevfrom
zbigniewsobiecki merged 5 commits intodevfrom
Conversation
Merge dev to main
The claude-code backend generates `--flag` syntax for all tool parameters, but PM and GitHub CLI commands used oclif positional Args which don't accept `--` prefix. Convert all positional args to Flags so the generated CLI invocations work correctly. Also fix tool manifest parameter names to match actual flag names (includeComments → include-comments, checkItemId → check-item-id) and remove unused Args import from dashboard prompts command. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move agent system prompts and partials from disk-only .eta templates to a database-backed system where admins can edit them via CLI/web without deployments. The .eta files become bootstrap fallbacks. Key changes: - New prompt_partials DB table with migration and repository - Pre-processing include resolution (DB partials → disk fallback → Eta rendering) - Fixed prompt resolution chain: project → org/global DB → .eta file - New prompts tRPC router with template introspection and partial CRUD - 8 new CLI commands under `cascade prompts` - Web UI prompt editor with reference panel (variables + partials) - Template validation on save in agentConfigs mutations - Seed script for bootstrapping DB from .eta files - Refactored 6 functions to resolve all linter complexity warnings - Added 85 new tests (prompts, modelResolution, prompts router, ADF) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add graceful fallback in partialsRepository when prompt_partials table doesn't exist yet (returns empty results instead of 500) - Fix TypeScript error accessing 'id' on union type in PartialEditor reset mutation by using 'in' type guard 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
--flagsyntax for all tool parameters, but PM and GitHub CLI commands used oclif positionalArgs. Converted all 15 commands to useFlagsso generated CLI invocations work correctly.includeComments→include-comments,checkItemId/complete→check-item-id/state).jqto worker Dockerfile: Missing from the Docker image, needed by agents.Argsimport fromsrc/cli/dashboard/prompts/default.ts.Test plan
🤖 Generated with Claude Code