@eldrforge/kodrdriv 1.2.126 → 1.2.128
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/dist/arguments.js +17 -2
- package/dist/arguments.js.map +1 -1
- package/dist/commands/publish.js +8 -1
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/release.js +40 -0
- package/dist/commands/release.js.map +1 -1
- package/dist/commands/tree.js +16 -1
- package/dist/commands/tree.js.map +1 -1
- package/dist/constants.js +1 -1
- package/package.json +5 -5
package/dist/commands/release.js
CHANGED
|
@@ -205,6 +205,46 @@ async function generateSelfReflection(agenticResult, outputDirectory, storage, l
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
sections.push('');
|
|
208
|
+
// Add detailed execution timeline
|
|
209
|
+
sections.push('## Detailed Execution Timeline');
|
|
210
|
+
sections.push('');
|
|
211
|
+
if (toolMetrics.length === 0) {
|
|
212
|
+
sections.push('*No tool execution timeline available.*');
|
|
213
|
+
} else {
|
|
214
|
+
sections.push('| Time | Iteration | Tool | Result | Duration |');
|
|
215
|
+
sections.push('|------|-----------|------|--------|----------|');
|
|
216
|
+
for (const metric of toolMetrics){
|
|
217
|
+
const time = new Date(metric.timestamp).toLocaleTimeString();
|
|
218
|
+
const result = metric.success ? '✅ Success' : `❌ ${metric.error || 'Failed'}`;
|
|
219
|
+
sections.push(`| ${time} | ${metric.iteration} | ${metric.name} | ${result} | ${metric.duration}ms |`);
|
|
220
|
+
}
|
|
221
|
+
sections.push('');
|
|
222
|
+
}
|
|
223
|
+
// Add conversation history
|
|
224
|
+
sections.push('## Conversation History');
|
|
225
|
+
sections.push('');
|
|
226
|
+
sections.push('<details>');
|
|
227
|
+
sections.push('<summary>Click to expand full agentic interaction</summary>');
|
|
228
|
+
sections.push('');
|
|
229
|
+
sections.push('```json');
|
|
230
|
+
sections.push(JSON.stringify(agenticResult.conversationHistory, null, 2));
|
|
231
|
+
sections.push('```');
|
|
232
|
+
sections.push('');
|
|
233
|
+
sections.push('</details>');
|
|
234
|
+
sections.push('');
|
|
235
|
+
// Add generated release notes
|
|
236
|
+
sections.push('## Generated Release Notes');
|
|
237
|
+
sections.push('');
|
|
238
|
+
sections.push('### Title');
|
|
239
|
+
sections.push('```');
|
|
240
|
+
sections.push(agenticResult.releaseNotes.title);
|
|
241
|
+
sections.push('```');
|
|
242
|
+
sections.push('');
|
|
243
|
+
sections.push('### Body');
|
|
244
|
+
sections.push('```markdown');
|
|
245
|
+
sections.push(agenticResult.releaseNotes.body);
|
|
246
|
+
sections.push('```');
|
|
247
|
+
sections.push('');
|
|
208
248
|
// Write the reflection file
|
|
209
249
|
const reflectionContent = sections.join('\n');
|
|
210
250
|
await storage.writeFile(reflectionPath, reflectionContent, 'utf-8');
|