Skip to content

[skip ci] fix: batch fixes for issues #2929, 2931, 2932, 2933, 2936, 2937, 2939, 2945, 2948, 2949#394

Open
echobt wants to merge 1 commit intomasterfrom
fix/bounty-batch-2929-2949
Open

[skip ci] fix: batch fixes for issues #2929, 2931, 2932, 2933, 2936, 2937, 2939, 2945, 2948, 2949#394
echobt wants to merge 1 commit intomasterfrom
fix/bounty-batch-2929-2949

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Jan 27, 2026

Summary

Batch fix for multiple bounty issues.

Issues Fixed

Changes

#2929 Copy to Clipboard Confirmation

  • Updated clipboard copy to report success/failure with specific error messages
  • Better error handling for Windows clipboard permission issues

#2931 Top-P Float Formatting

  • Changed error message format from "{top_p}" to "{:.1}" for consistent float display

#2932 Prompt File Option

  • Added --prompt-file/-P option to RunCli
  • Supports reading from file path or stdin with "-"
  • UTF-8 encoding support

#2933 Completion Install Subcommand

  • Added cortex completion install [shell] subcommand
  • Auto-detects shell from $SHELL environment if not specified
  • Installs to appropriate shell config file

#2936 Session Tags

  • Added --tag option to RunCli for session tagging
  • Added --tag filter option to sessions list command
  • Note: Tag storage pending backend implementation

#2937 Session Delete Command

  • Added cortex sessions delete <session-id> subcommand
  • Supports full UUID or 8-character prefix
  • --force flag to skip confirmation

#2939 Max Redirects Option

  • Added --max-redirects <n> option (default: 10)
  • Added --no-redirects flag to disable following redirects
  • Clear error when redirect limit exceeded

#2945 Health Check Documentation

  • Added documentation for /health endpoint behavior
  • Added --health-check-path option to customize health endpoint
  • Documented response format and use cases (K8s, Docker, load balancers)

#2948 GitHub Events List

  • Added cortex github events command
  • Lists supported event types with descriptions and use cases
  • Supports --json output format

#2949 Debug Wait Validation

  • Added upfront validation for wait conditions
  • Clear error message listing available options
  • Prevents silent exit with code 0 when no condition specified

Note: CI skipped for cost control. Test manually before merge.

…, 2945, 2948, 2949 [skip ci]

Fixes:
- #2929: Copy to clipboard now confirms success/failure with specific error messages
- #2931: Top-P error message now shows float formatting (got 2.0 instead of got 2)
- #2932: Add --prompt-file/-P option to read prompt from file or stdin (-)
- #2933: Add 'cortex completion install' subcommand for automatic shell setup
- #2936: Add --tag option for session organization and filtering (CLI plumbing)
- #2937: Add 'cortex sessions delete' subcommand for session removal
- #2939: Add --max-redirects and --no-redirects options to scrape command
- #2945: Document health check endpoint and add --health-check-path option for serve
- #2948: Add 'cortex github events' command to list supported event types
- #2949: Debug wait without conditions now errors with helpful message
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