Skip to content

feat: inline prompt support and disable line numbers by default - #18

Merged
regenrek merged 3 commits into
mainfrom
feat/inline-prompt-and-disable-line-numbers
Nov 25, 2025
Merged

regenrek merged 3 commits into
mainfrom
feat/inline-prompt-and-disable-line-numbers

Conversation

@regenrek

Copy link
Copy Markdown
Owner

Summary

New Features

  1. Inline Prompt Support (--prompt / -p)

    • Can now use -p "Review this code for security issues" directly
    • Still supports built-in prompts (fix, improve, codegen, testgen) and file paths (.md/.txt)
  2. Line Numbers Disabled by Default

    • Line numbers in code output are now disabled by default to save tokens
    • Use --enable-line-numbers to enable them
    • Replaced --disable-line-numbers flag with --enable-line-numbers

Documentation

  • Merged PRE-RELEASE.md into HOW-TO-RELEASE.md
  • Added mandatory checks section (lint, types, tests, coverage)
  • Added PR vs Release workflow clarification

Tests

  • Added tests for help-prompt, CLI prompts, config-worker, env, template-parser, utils
  • SDK coverage: 73.15%
  • CLI coverage: 77.83%

Breaking Changes

  • disableLineNumbers config option now defaults to true
  • --disable-line-numbers flag replaced with --enable-line-numbers

BREAKING CHANGES:
- Line numbers are now disabled by default to save tokens
  - Use --enable-line-numbers to enable line numbers in output
  - Replaced --disable-line-numbers flag with --enable-line-numbers
  - Config option disableLineNumbers now defaults to true

- --prompt / -p now supports inline prompt strings
  - Can now use -p "Review this code for security issues" directly
  - Still supports built-in prompts (fix, improve, codegen, testgen) and file paths (.md/.txt)

Features:
- Added inline prompt support for --prompt / -p flag
- Added --enable-line-numbers flag to enable line numbers in output
- Added PRE-RELEASE.md with mandatory pre-release checklist
- Added tests for help-prompt, CLI prompts, config-worker, env, template-parser, utils
- SDK coverage: 73.15% (up from 68%)
- CLI coverage: 77.83% (up from 76%)
- Added PR vs Release workflow section
- Added mandatory checks (lint, types, tests, coverage)
- Added release blockers section
- Consolidated all release documentation in one place
@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/regenrek/codefetch@18
npm i https://pkg.pr.new/regenrek/codefetch/codefetch-sdk@18

commit: ca3c37c

@github-actions

Copy link
Copy Markdown

🧪 SDK Test Results

✅ All checks passed!

Check Status
Linting ✅ success
Type Check ✅ success
Tests ✅ success
Build ✅ success

View full logs

@regenrek
regenrek merged commit fcd7247 into main Nov 25, 2025
9 of 11 checks passed
@regenrek
regenrek deleted the feat/inline-prompt-and-disable-line-numbers branch November 25, 2025 19:16
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