@eldrforge/kodrdriv 1.2.123 → 1.2.125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,6 +43,7 @@ kodrdriv audio-commit # Record audio to generate commit messages
43
43
 
44
44
  - **AI-Powered Analysis** - Uses OpenAI models to understand your code changes
45
45
  - **GitHub Issues Integration** - Automatically analyzes recently closed issues to provide context for commit messages, prioritizing milestone-relevant issues
46
+ - **Stop-Context Filtering** - Automatically filters sensitive information from AI-generated content to maintain privacy across projects
46
47
  - **Adaptive Diff Management** - Automatically handles large diffs with intelligent truncation and retry logic to ensure reliable LLM processing
47
48
  - **Comprehensive Release Automation** - Handles dependency updates, version bumping, PR creation, and GitHub releases
48
49
  - **Audio-Driven Workflows** - Record audio to provide context for commits and reviews
package/dist/arguments.js CHANGED
@@ -527,7 +527,7 @@ async function getCliConfig(program, commands) {
527
527
  // Add global options to the main program
528
528
  // (cardigantime already adds most global options like --verbose, --debug, --config-dir)
529
529
  // Add subcommands
530
- const commitCommand = program.command('commit').argument('[direction]', 'direction or guidance for the commit message').description('Generate commit notes').option('--context <context>', 'context for the commit message').option('--cached', 'use cached diff').option('--add', 'add all changes before committing').option('--sendit', 'Commit with the message generated. No review.').option('--interactive', 'Present commit message for interactive review and editing').option('--amend', 'Amend the last commit with the generated message').option('--push [remote]', 'push to remote after committing (default: origin)').option('--message-limit <messageLimit>', 'limit the number of messages to generate').option('--skip-file-check', 'skip check for file: dependencies before committing').option('--max-diff-bytes <maxDiffBytes>', 'maximum bytes per file in diff (default: 2048)');
530
+ const commitCommand = program.command('commit').argument('[direction]', 'direction or guidance for the commit message').description('Generate commit notes').option('--context <context>', 'context for the commit message').option('--cached', 'use cached diff').option('--add', 'add all changes before committing').option('--sendit', 'Commit with the message generated. No review.').option('--interactive', 'Present commit message for interactive review and editing').option('--amend', 'Amend the last commit with the generated message').option('--push [remote]', 'push to remote after committing (default: origin)').option('--message-limit <messageLimit>', 'limit the number of messages to generate').option('--skip-file-check', 'skip check for file: dependencies before committing').option('--max-diff-bytes <maxDiffBytes>', 'maximum bytes per file in diff (default: 2048)').option('--agentic', 'use agentic mode with tool-calling for commit message generation').option('--self-reflection', 'generate self-reflection report with tool effectiveness analysis').option('--max-agentic-iterations <iterations>', 'maximum iterations for agentic mode (default: 10)', parseInt).option('--allow-commit-splitting', 'allow agentic mode to suggest splitting commits').option('--tool-timeout <timeout>', 'timeout for tool execution in milliseconds', parseInt);
531
531
  // Add shared options to commit command
532
532
  addSharedOptions(commitCommand);
533
533
  // Customize help output for commit command
@@ -568,6 +568,36 @@ async function getCliConfig(program, commands) {
568
568
  [
569
569
  '--message-limit <messageLimit>',
570
570
  'limit the number of messages to generate'
571
+ ],
572
+ [
573
+ '--skip-file-check',
574
+ 'skip check for file: dependencies before committing'
575
+ ],
576
+ [
577
+ '--max-diff-bytes <maxDiffBytes>',
578
+ 'maximum bytes per file in diff (default: 20480)'
579
+ ]
580
+ ];
581
+ const agenticOptions = [
582
+ [
583
+ '--agentic',
584
+ 'use agentic mode with tool-calling for commit generation'
585
+ ],
586
+ [
587
+ '--self-reflection',
588
+ 'generate self-reflection report with tool effectiveness analysis'
589
+ ],
590
+ [
591
+ '--max-agentic-iterations <iterations>',
592
+ 'maximum iterations for agentic mode (default: 10)'
593
+ ],
594
+ [
595
+ '--allow-commit-splitting',
596
+ 'allow agentic mode to suggest splitting commits'
597
+ ],
598
+ [
599
+ '--tool-timeout <timeout>',
600
+ 'timeout for tool execution in milliseconds'
571
601
  ]
572
602
  ];
573
603
  const globalOptions = [
@@ -620,7 +650,7 @@ async function getCliConfig(program, commands) {
620
650
  const maxWidth = Math.max(...options.map(([flag])=>flag.length));
621
651
  return `${title}:\n` + options.map(([flag, desc])=>` ${flag.padEnd(maxWidth + 2)} ${desc}`).join('\n') + '\n';
622
652
  };
623
- return nameAndVersion + '\n' + formatOptionsSection('Commit Message Options', commitOptions) + '\n' + formatOptionsSection('Behavioral Options', behavioralOptions) + '\n' + formatOptionsSection('Global Options', globalOptions) + '\n' + 'Environment Variables:\n' + ' OPENAI_API_KEY OpenAI API key (required)\n';
653
+ return nameAndVersion + '\n' + formatOptionsSection('Commit Message Options', commitOptions) + '\n' + formatOptionsSection('Behavioral Options', behavioralOptions) + '\n' + formatOptionsSection('Agentic Mode Options', agenticOptions) + '\n' + formatOptionsSection('Global Options', globalOptions) + '\n' + 'Environment Variables:\n' + ' OPENAI_API_KEY OpenAI API key (required)\n';
624
654
  }
625
655
  });
626
656
  const audioCommitCommand = program.command('audio-commit').option('--cached', 'use cached diff').option('--add', 'add all changes before committing').option('--sendit', 'Commit with the message generated. No review.').option('--direction <direction>', 'direction or guidance for the commit message').option('--message-limit <messageLimit>', 'limit the number of messages to generate').option('--file <file>', 'audio file path').description('Record audio to provide context, then generate and optionally commit with AI-generated message');