@eldrforge/kodrdriv 1.2.126 → 1.2.127

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.
@@ -1997,7 +1997,7 @@ const execute = async (runConfig)=>{
1997
1997
  commandSpecificOptions += ` --openai-max-output-tokens ${runConfig.commit.openaiMaxOutputTokens}`;
1998
1998
  }
1999
1999
  }
2000
- // Release command options
2000
+ // Release command options (only for direct 'release' command)
2001
2001
  if (builtInCommand === 'release') {
2002
2002
  var _runConfig_release, _runConfig_release1, _runConfig_release2, _runConfig_release3, _runConfig_release4, _runConfig_release5, _runConfig_release6, _runConfig_release7, _runConfig_release8, _runConfig_release9, _runConfig_release10, _runConfig_release11, _runConfig_release12, _runConfig_release13, _runConfig_release14;
2003
2003
  if ((_runConfig_release = runConfig.release) === null || _runConfig_release === void 0 ? void 0 : _runConfig_release.agentic) {
@@ -2047,6 +2047,21 @@ const execute = async (runConfig)=>{
2047
2047
  commandSpecificOptions += ` --openai-max-output-tokens ${runConfig.release.openaiMaxOutputTokens}`;
2048
2048
  }
2049
2049
  }
2050
+ // Publish command options (only agentic flags - publish reads other release config from config file)
2051
+ if (builtInCommand === 'publish') {
2052
+ var _runConfig_release15, _runConfig_release16, _runConfig_release17;
2053
+ // Only pass the agentic-related flags that publish command accepts
2054
+ if ((_runConfig_release15 = runConfig.release) === null || _runConfig_release15 === void 0 ? void 0 : _runConfig_release15.agentic) {
2055
+ commandSpecificOptions += ' --agentic';
2056
+ }
2057
+ if ((_runConfig_release16 = runConfig.release) === null || _runConfig_release16 === void 0 ? void 0 : _runConfig_release16.selfReflection) {
2058
+ commandSpecificOptions += ' --self-reflection';
2059
+ }
2060
+ if ((_runConfig_release17 = runConfig.release) === null || _runConfig_release17 === void 0 ? void 0 : _runConfig_release17.maxAgenticIterations) {
2061
+ commandSpecificOptions += ` --max-agentic-iterations ${runConfig.release.maxAgenticIterations}`;
2062
+ }
2063
+ // Publish has its own --from, --interactive, --from-main flags (not from release config)
2064
+ }
2050
2065
  // Unlink command options
2051
2066
  if (builtInCommand === 'unlink' && ((_runConfig_tree31 = runConfig.tree) === null || _runConfig_tree31 === void 0 ? void 0 : _runConfig_tree31.cleanNodeModules)) {
2052
2067
  commandSpecificOptions += ' --clean-node-modules';