@eldrforge/kodrdriv 1.2.132 → 1.2.134

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.
Files changed (50) hide show
  1. package/AI-GUIDE.md +837 -0
  2. package/LICENSE +1 -1
  3. package/README.md +35 -6
  4. package/dist/application.js +2 -0
  5. package/dist/application.js.map +1 -1
  6. package/dist/arguments.js +54 -21
  7. package/dist/arguments.js.map +1 -1
  8. package/dist/commands/audio-commit.js +2 -1
  9. package/dist/commands/audio-commit.js.map +1 -1
  10. package/dist/commands/audio-review.js +4 -2
  11. package/dist/commands/audio-review.js.map +1 -1
  12. package/dist/commands/commit.js +91 -133
  13. package/dist/commands/commit.js.map +1 -1
  14. package/dist/commands/publish.js +3 -6
  15. package/dist/commands/publish.js.map +1 -1
  16. package/dist/commands/release.js +62 -139
  17. package/dist/commands/release.js.map +1 -1
  18. package/dist/commands/review.js +1 -1
  19. package/dist/commands/review.js.map +1 -1
  20. package/dist/commands/tree.js +29 -33
  21. package/dist/commands/tree.js.map +1 -1
  22. package/dist/constants.js +3 -1
  23. package/dist/constants.js.map +1 -1
  24. package/dist/types.js +282 -0
  25. package/dist/types.js.map +1 -0
  26. package/dist/util/storageAdapter.js +9 -2
  27. package/dist/util/storageAdapter.js.map +1 -1
  28. package/guide/ai-system.md +522 -0
  29. package/guide/architecture.md +349 -0
  30. package/guide/commands.md +383 -0
  31. package/guide/configuration.md +516 -0
  32. package/guide/debugging.md +587 -0
  33. package/guide/development.md +632 -0
  34. package/guide/index.md +215 -0
  35. package/guide/integration.md +510 -0
  36. package/guide/monorepo.md +533 -0
  37. package/guide/quickstart.md +226 -0
  38. package/guide/testing.md +463 -0
  39. package/guide/tree-operations.md +621 -0
  40. package/guide/usage.md +578 -0
  41. package/package.json +10 -10
  42. package/DUPLICATION-CLEANUP.md +0 -104
  43. package/agentic-reflection-commit-2025-12-27T22-56-06-143Z.md +0 -50
  44. package/agentic-reflection-commit-2025-12-27T23-01-57-294Z.md +0 -50
  45. package/agentic-reflection-commit-2025-12-27T23-11-57-811Z.md +0 -50
  46. package/agentic-reflection-commit-2025-12-27T23-12-50-645Z.md +0 -50
  47. package/agentic-reflection-commit-2025-12-27T23-13-59-347Z.md +0 -52
  48. package/agentic-reflection-commit-2025-12-27T23-14-36-001Z.md +0 -50
  49. package/agentic-reflection-commit-2025-12-27T23-18-59-832Z.md +0 -50
  50. package/agentic-reflection-commit-2025-12-27T23-25-20-667Z.md +0 -62
@@ -1939,45 +1939,45 @@ const execute = async (runConfig)=>{
1939
1939
  // Commit command options
1940
1940
  if (builtInCommand === 'commit') {
1941
1941
  var _runConfig_commit, _runConfig_commit1, _runConfig_commit2, _runConfig_commit3, _runConfig_commit4, _runConfig_commit5, _runConfig_commit6, _runConfig_commit7, _runConfig_commit8, _runConfig_commit9, _runConfig_commit10, _runConfig_commit11, _runConfig_commit12, _runConfig_commit13, _runConfig_commit14, _runConfig_commit15, _runConfig_commit16;
1942
- if ((_runConfig_commit = runConfig.commit) === null || _runConfig_commit === void 0 ? void 0 : _runConfig_commit.agentic) {
1943
- commandSpecificOptions += ' --agentic';
1944
- }
1945
- if ((_runConfig_commit1 = runConfig.commit) === null || _runConfig_commit1 === void 0 ? void 0 : _runConfig_commit1.selfReflection) {
1942
+ if ((_runConfig_commit = runConfig.commit) === null || _runConfig_commit === void 0 ? void 0 : _runConfig_commit.selfReflection) {
1946
1943
  commandSpecificOptions += ' --self-reflection';
1947
1944
  }
1948
- if ((_runConfig_commit2 = runConfig.commit) === null || _runConfig_commit2 === void 0 ? void 0 : _runConfig_commit2.add) {
1945
+ if ((_runConfig_commit1 = runConfig.commit) === null || _runConfig_commit1 === void 0 ? void 0 : _runConfig_commit1.add) {
1949
1946
  commandSpecificOptions += ' --add';
1950
1947
  }
1951
- if ((_runConfig_commit3 = runConfig.commit) === null || _runConfig_commit3 === void 0 ? void 0 : _runConfig_commit3.cached) {
1948
+ if ((_runConfig_commit2 = runConfig.commit) === null || _runConfig_commit2 === void 0 ? void 0 : _runConfig_commit2.cached) {
1952
1949
  commandSpecificOptions += ' --cached';
1953
1950
  }
1954
- if ((_runConfig_commit4 = runConfig.commit) === null || _runConfig_commit4 === void 0 ? void 0 : _runConfig_commit4.interactive) {
1951
+ if ((_runConfig_commit3 = runConfig.commit) === null || _runConfig_commit3 === void 0 ? void 0 : _runConfig_commit3.interactive) {
1955
1952
  commandSpecificOptions += ' --interactive';
1956
1953
  }
1957
- if ((_runConfig_commit5 = runConfig.commit) === null || _runConfig_commit5 === void 0 ? void 0 : _runConfig_commit5.amend) {
1954
+ if ((_runConfig_commit4 = runConfig.commit) === null || _runConfig_commit4 === void 0 ? void 0 : _runConfig_commit4.amend) {
1958
1955
  commandSpecificOptions += ' --amend';
1959
1956
  }
1960
- if ((_runConfig_commit6 = runConfig.commit) === null || _runConfig_commit6 === void 0 ? void 0 : _runConfig_commit6.skipFileCheck) {
1957
+ if ((_runConfig_commit5 = runConfig.commit) === null || _runConfig_commit5 === void 0 ? void 0 : _runConfig_commit5.skipFileCheck) {
1961
1958
  commandSpecificOptions += ' --skip-file-check';
1962
1959
  }
1963
- if ((_runConfig_commit7 = runConfig.commit) === null || _runConfig_commit7 === void 0 ? void 0 : _runConfig_commit7.maxAgenticIterations) {
1960
+ if ((_runConfig_commit6 = runConfig.commit) === null || _runConfig_commit6 === void 0 ? void 0 : _runConfig_commit6.maxAgenticIterations) {
1964
1961
  commandSpecificOptions += ` --max-agentic-iterations ${runConfig.commit.maxAgenticIterations}`;
1965
1962
  }
1966
- if ((_runConfig_commit8 = runConfig.commit) === null || _runConfig_commit8 === void 0 ? void 0 : _runConfig_commit8.allowCommitSplitting) {
1963
+ if ((_runConfig_commit7 = runConfig.commit) === null || _runConfig_commit7 === void 0 ? void 0 : _runConfig_commit7.allowCommitSplitting) {
1967
1964
  commandSpecificOptions += ' --allow-commit-splitting';
1968
1965
  }
1969
- if ((_runConfig_commit9 = runConfig.commit) === null || _runConfig_commit9 === void 0 ? void 0 : _runConfig_commit9.messageLimit) {
1966
+ if ((_runConfig_commit8 = runConfig.commit) === null || _runConfig_commit8 === void 0 ? void 0 : _runConfig_commit8.messageLimit) {
1970
1967
  commandSpecificOptions += ` --message-limit ${runConfig.commit.messageLimit}`;
1971
1968
  }
1972
- if ((_runConfig_commit10 = runConfig.commit) === null || _runConfig_commit10 === void 0 ? void 0 : _runConfig_commit10.maxDiffBytes) {
1969
+ if ((_runConfig_commit9 = runConfig.commit) === null || _runConfig_commit9 === void 0 ? void 0 : _runConfig_commit9.maxDiffBytes) {
1973
1970
  commandSpecificOptions += ` --max-diff-bytes ${runConfig.commit.maxDiffBytes}`;
1974
1971
  }
1975
- if ((_runConfig_commit11 = runConfig.commit) === null || _runConfig_commit11 === void 0 ? void 0 : _runConfig_commit11.direction) {
1972
+ if ((_runConfig_commit10 = runConfig.commit) === null || _runConfig_commit10 === void 0 ? void 0 : _runConfig_commit10.direction) {
1976
1973
  commandSpecificOptions += ` --direction "${runConfig.commit.direction}"`;
1977
1974
  }
1978
- if ((_runConfig_commit12 = runConfig.commit) === null || _runConfig_commit12 === void 0 ? void 0 : _runConfig_commit12.context) {
1975
+ if ((_runConfig_commit11 = runConfig.commit) === null || _runConfig_commit11 === void 0 ? void 0 : _runConfig_commit11.context) {
1979
1976
  commandSpecificOptions += ` --context "${runConfig.commit.context}"`;
1980
1977
  }
1978
+ if (((_runConfig_commit12 = runConfig.commit) === null || _runConfig_commit12 === void 0 ? void 0 : _runConfig_commit12.contextFiles) && runConfig.commit.contextFiles.length > 0) {
1979
+ commandSpecificOptions += ` --context-files ${runConfig.commit.contextFiles.join(' ')}`;
1980
+ }
1981
1981
  // Push option can be boolean or string (remote name)
1982
1982
  if ((_runConfig_commit13 = runConfig.commit) === null || _runConfig_commit13 === void 0 ? void 0 : _runConfig_commit13.push) {
1983
1983
  if (typeof runConfig.commit.push === 'string') {
@@ -2000,30 +2000,30 @@ const execute = async (runConfig)=>{
2000
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
- if ((_runConfig_release = runConfig.release) === null || _runConfig_release === void 0 ? void 0 : _runConfig_release.agentic) {
2004
- commandSpecificOptions += ' --agentic';
2005
- }
2006
- if ((_runConfig_release1 = runConfig.release) === null || _runConfig_release1 === void 0 ? void 0 : _runConfig_release1.selfReflection) {
2003
+ if ((_runConfig_release = runConfig.release) === null || _runConfig_release === void 0 ? void 0 : _runConfig_release.selfReflection) {
2007
2004
  commandSpecificOptions += ' --self-reflection';
2008
2005
  }
2009
- if ((_runConfig_release2 = runConfig.release) === null || _runConfig_release2 === void 0 ? void 0 : _runConfig_release2.maxAgenticIterations) {
2006
+ if ((_runConfig_release1 = runConfig.release) === null || _runConfig_release1 === void 0 ? void 0 : _runConfig_release1.maxAgenticIterations) {
2010
2007
  commandSpecificOptions += ` --max-agentic-iterations ${runConfig.release.maxAgenticIterations}`;
2011
2008
  }
2012
- if ((_runConfig_release3 = runConfig.release) === null || _runConfig_release3 === void 0 ? void 0 : _runConfig_release3.interactive) {
2009
+ if ((_runConfig_release2 = runConfig.release) === null || _runConfig_release2 === void 0 ? void 0 : _runConfig_release2.interactive) {
2013
2010
  commandSpecificOptions += ' --interactive';
2014
2011
  }
2015
- if ((_runConfig_release4 = runConfig.release) === null || _runConfig_release4 === void 0 ? void 0 : _runConfig_release4.from) {
2012
+ if ((_runConfig_release3 = runConfig.release) === null || _runConfig_release3 === void 0 ? void 0 : _runConfig_release3.from) {
2016
2013
  commandSpecificOptions += ` --from "${runConfig.release.from}"`;
2017
2014
  }
2018
- if ((_runConfig_release5 = runConfig.release) === null || _runConfig_release5 === void 0 ? void 0 : _runConfig_release5.to) {
2015
+ if ((_runConfig_release4 = runConfig.release) === null || _runConfig_release4 === void 0 ? void 0 : _runConfig_release4.to) {
2019
2016
  commandSpecificOptions += ` --to "${runConfig.release.to}"`;
2020
2017
  }
2021
- if ((_runConfig_release6 = runConfig.release) === null || _runConfig_release6 === void 0 ? void 0 : _runConfig_release6.focus) {
2018
+ if ((_runConfig_release5 = runConfig.release) === null || _runConfig_release5 === void 0 ? void 0 : _runConfig_release5.focus) {
2022
2019
  commandSpecificOptions += ` --focus "${runConfig.release.focus}"`;
2023
2020
  }
2024
- if ((_runConfig_release7 = runConfig.release) === null || _runConfig_release7 === void 0 ? void 0 : _runConfig_release7.context) {
2021
+ if ((_runConfig_release6 = runConfig.release) === null || _runConfig_release6 === void 0 ? void 0 : _runConfig_release6.context) {
2025
2022
  commandSpecificOptions += ` --context "${runConfig.release.context}"`;
2026
2023
  }
2024
+ if (((_runConfig_release7 = runConfig.release) === null || _runConfig_release7 === void 0 ? void 0 : _runConfig_release7.contextFiles) && runConfig.release.contextFiles.length > 0) {
2025
+ commandSpecificOptions += ` --context-files ${runConfig.release.contextFiles.join(' ')}`;
2026
+ }
2027
2027
  if ((_runConfig_release8 = runConfig.release) === null || _runConfig_release8 === void 0 ? void 0 : _runConfig_release8.messageLimit) {
2028
2028
  commandSpecificOptions += ` --message-limit ${runConfig.release.messageLimit}`;
2029
2029
  }
@@ -2047,17 +2047,13 @@ 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)
2050
+ // Publish command options (pass self-reflection - publish reads other release config from config file)
2051
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) {
2052
+ var _runConfig_release15, _runConfig_release16;
2053
+ if ((_runConfig_release15 = runConfig.release) === null || _runConfig_release15 === void 0 ? void 0 : _runConfig_release15.selfReflection) {
2058
2054
  commandSpecificOptions += ' --self-reflection';
2059
2055
  }
2060
- if ((_runConfig_release17 = runConfig.release) === null || _runConfig_release17 === void 0 ? void 0 : _runConfig_release17.maxAgenticIterations) {
2056
+ if ((_runConfig_release16 = runConfig.release) === null || _runConfig_release16 === void 0 ? void 0 : _runConfig_release16.maxAgenticIterations) {
2061
2057
  commandSpecificOptions += ` --max-agentic-iterations ${runConfig.release.maxAgenticIterations}`;
2062
2058
  }
2063
2059
  // Publish has its own --from, --interactive, --from-main flags (not from release config)