@eldrforge/kodrdriv 1.2.125 → 1.2.126
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 +11 -0
- package/dist/arguments.js +9 -3
- package/dist/arguments.js.map +1 -1
- package/dist/commands/commit.js +1 -1
- package/dist/commands/commit.js.map +1 -1
- package/dist/commands/release.js +221 -9
- package/dist/commands/release.js.map +1 -1
- package/dist/commands/tree.js +51 -0
- package/dist/commands/tree.js.map +1 -1
- package/dist/constants.js +1 -1
- package/package.json +2 -2
package/dist/commands/tree.js
CHANGED
|
@@ -1238,6 +1238,7 @@ const execute = async (runConfig)=>{
|
|
|
1238
1238
|
const builtInCommand = (_runConfig_tree12 = runConfig.tree) === null || _runConfig_tree12 === void 0 ? void 0 : _runConfig_tree12.builtInCommand;
|
|
1239
1239
|
const supportedBuiltInCommands = [
|
|
1240
1240
|
'commit',
|
|
1241
|
+
'release',
|
|
1241
1242
|
'publish',
|
|
1242
1243
|
'link',
|
|
1243
1244
|
'unlink',
|
|
@@ -1996,6 +1997,56 @@ const execute = async (runConfig)=>{
|
|
|
1996
1997
|
commandSpecificOptions += ` --openai-max-output-tokens ${runConfig.commit.openaiMaxOutputTokens}`;
|
|
1997
1998
|
}
|
|
1998
1999
|
}
|
|
2000
|
+
// Release command options
|
|
2001
|
+
if (builtInCommand === 'release') {
|
|
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) {
|
|
2007
|
+
commandSpecificOptions += ' --self-reflection';
|
|
2008
|
+
}
|
|
2009
|
+
if ((_runConfig_release2 = runConfig.release) === null || _runConfig_release2 === void 0 ? void 0 : _runConfig_release2.maxAgenticIterations) {
|
|
2010
|
+
commandSpecificOptions += ` --max-agentic-iterations ${runConfig.release.maxAgenticIterations}`;
|
|
2011
|
+
}
|
|
2012
|
+
if ((_runConfig_release3 = runConfig.release) === null || _runConfig_release3 === void 0 ? void 0 : _runConfig_release3.interactive) {
|
|
2013
|
+
commandSpecificOptions += ' --interactive';
|
|
2014
|
+
}
|
|
2015
|
+
if ((_runConfig_release4 = runConfig.release) === null || _runConfig_release4 === void 0 ? void 0 : _runConfig_release4.from) {
|
|
2016
|
+
commandSpecificOptions += ` --from "${runConfig.release.from}"`;
|
|
2017
|
+
}
|
|
2018
|
+
if ((_runConfig_release5 = runConfig.release) === null || _runConfig_release5 === void 0 ? void 0 : _runConfig_release5.to) {
|
|
2019
|
+
commandSpecificOptions += ` --to "${runConfig.release.to}"`;
|
|
2020
|
+
}
|
|
2021
|
+
if ((_runConfig_release6 = runConfig.release) === null || _runConfig_release6 === void 0 ? void 0 : _runConfig_release6.focus) {
|
|
2022
|
+
commandSpecificOptions += ` --focus "${runConfig.release.focus}"`;
|
|
2023
|
+
}
|
|
2024
|
+
if ((_runConfig_release7 = runConfig.release) === null || _runConfig_release7 === void 0 ? void 0 : _runConfig_release7.context) {
|
|
2025
|
+
commandSpecificOptions += ` --context "${runConfig.release.context}"`;
|
|
2026
|
+
}
|
|
2027
|
+
if ((_runConfig_release8 = runConfig.release) === null || _runConfig_release8 === void 0 ? void 0 : _runConfig_release8.messageLimit) {
|
|
2028
|
+
commandSpecificOptions += ` --message-limit ${runConfig.release.messageLimit}`;
|
|
2029
|
+
}
|
|
2030
|
+
if ((_runConfig_release9 = runConfig.release) === null || _runConfig_release9 === void 0 ? void 0 : _runConfig_release9.maxDiffBytes) {
|
|
2031
|
+
commandSpecificOptions += ` --max-diff-bytes ${runConfig.release.maxDiffBytes}`;
|
|
2032
|
+
}
|
|
2033
|
+
if ((_runConfig_release10 = runConfig.release) === null || _runConfig_release10 === void 0 ? void 0 : _runConfig_release10.noMilestones) {
|
|
2034
|
+
commandSpecificOptions += ' --no-milestones';
|
|
2035
|
+
}
|
|
2036
|
+
if ((_runConfig_release11 = runConfig.release) === null || _runConfig_release11 === void 0 ? void 0 : _runConfig_release11.fromMain) {
|
|
2037
|
+
commandSpecificOptions += ' --from-main';
|
|
2038
|
+
}
|
|
2039
|
+
// Model-specific options for release
|
|
2040
|
+
if ((_runConfig_release12 = runConfig.release) === null || _runConfig_release12 === void 0 ? void 0 : _runConfig_release12.model) {
|
|
2041
|
+
commandSpecificOptions += ` --model "${runConfig.release.model}"`;
|
|
2042
|
+
}
|
|
2043
|
+
if ((_runConfig_release13 = runConfig.release) === null || _runConfig_release13 === void 0 ? void 0 : _runConfig_release13.openaiReasoning) {
|
|
2044
|
+
commandSpecificOptions += ` --openai-reasoning ${runConfig.release.openaiReasoning}`;
|
|
2045
|
+
}
|
|
2046
|
+
if ((_runConfig_release14 = runConfig.release) === null || _runConfig_release14 === void 0 ? void 0 : _runConfig_release14.openaiMaxOutputTokens) {
|
|
2047
|
+
commandSpecificOptions += ` --openai-max-output-tokens ${runConfig.release.openaiMaxOutputTokens}`;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
1999
2050
|
// Unlink command options
|
|
2000
2051
|
if (builtInCommand === 'unlink' && ((_runConfig_tree31 = runConfig.tree) === null || _runConfig_tree31 === void 0 ? void 0 : _runConfig_tree31.cleanNodeModules)) {
|
|
2001
2052
|
commandSpecificOptions += ' --clean-node-modules';
|