@kjerneverk/execution 1.0.4-dev.0 → 1.0.4
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/package.json +1 -1
- package/output/kodrdriv/260110-1725-commit-message.md +0 -1
- package/output/kodrdriv/260110-1729-release-notes.md +0 -40
- package/output/kodrdriv/260112-2158-commit-message.md +0 -1
- package/output/kodrdriv/260112-2159-release-notes.md +0 -40
- package/output/kodrdriv/260112-2340-commit-message.md +0 -1
- package/output/kodrdriv/260113-0020-commit-message.md +0 -1
- package/output/kodrdriv/260113-0020-release-notes.md +0 -44
- package/output/kodrdriv/260115-0616-commit-message.md +0 -4
- package/output/kodrdriv/260115-0739-commit-message.md +0 -1
- package/output/kodrdriv/260126-0859-commit-message.md +0 -1
- package/output/kodrdriv/260126-0900-release-notes.md +0 -39
- package/output/kodrdriv/260128-0920-commit-message.md +0 -1
- package/output/kodrdriv/260128-0921-release-notes.md +0 -28
- package/output/kodrdriv/260128-0958-commit-message.md +0 -1
- package/output/kodrdriv/260128-1125-commit-message.md +0 -1
- package/output/kodrdriv/260128-1125-release-notes.md +0 -23
- package/output/kodrdriv/RELEASE_NOTES.md +0 -21
- package/output/kodrdriv/RELEASE_TITLE.md +0 -1
- package/output/kodrdriv/agentic-reflection-commit-2026-01-10T21-21-52-315Z.md +0 -143
- package/output/kodrdriv/agentic-reflection-commit-2026-01-11T01-23-22-124Z.md +0 -143
- package/output/kodrdriv/agentic-reflection-commit-2026-01-11T01-25-08-866Z.md +0 -97
- package/output/kodrdriv/agentic-reflection-commit-2026-01-13T05-58-11-519Z.md +0 -97
- package/output/kodrdriv/agentic-reflection-commit-2026-01-13T07-40-40-824Z.md +0 -97
- package/output/kodrdriv/agentic-reflection-commit-2026-01-13T08-20-00-799Z.md +0 -114
- package/output/kodrdriv/agentic-reflection-commit-2026-01-15T14-16-15-608Z.md +0 -100
- package/output/kodrdriv/agentic-reflection-commit-2026-01-15T15-39-39-094Z.md +0 -97
- package/output/kodrdriv/agentic-reflection-commit-2026-01-26T16-59-03-463Z.md +0 -152
- package/output/kodrdriv/agentic-reflection-commit-2026-01-28T17-58-44-288Z.md +0 -152
- package/output/kodrdriv/agentic-reflection-release-2026-01-11T01-29-02-713Z.md +0 -203
- package/output/kodrdriv/agentic-reflection-release-2026-01-13T05-59-09-639Z.md +0 -256
- package/output/kodrdriv/agentic-reflection-release-2026-01-13T08-20-19-755Z.md +0 -208
- package/output/kodrdriv/agentic-reflection-release-2026-01-26T17-00-05-338Z.md +0 -426
- package/package.json~ +0 -56
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
# Agentic Workflow - Self-Reflection Report
|
|
2
|
-
|
|
3
|
-
Generated: 2026-01-13T08:20:19.755Z
|
|
4
|
-
|
|
5
|
-
## Execution Summary
|
|
6
|
-
|
|
7
|
-
- **Iterations**: 2
|
|
8
|
-
- **Tool Calls**: 6
|
|
9
|
-
- **Unique Tools**: 4
|
|
10
|
-
|
|
11
|
-
## Tool Effectiveness Analysis
|
|
12
|
-
|
|
13
|
-
| Tool | Calls | Success | Failures | Success Rate | Avg Duration |
|
|
14
|
-
|------|-------|---------|----------|--------------|--------------|
|
|
15
|
-
| get_file_content | 3 | 3 | 0 | 100.0% | 0ms |
|
|
16
|
-
| get_release_stats | 1 | 1 | 0 | 100.0% | 39ms |
|
|
17
|
-
| analyze_commit_patterns | 1 | 1 | 0 | 100.0% | 9ms |
|
|
18
|
-
| get_breaking_changes | 1 | 1 | 0 | 100.0% | 18ms |
|
|
19
|
-
|
|
20
|
-
### Tool Performance Insights
|
|
21
|
-
|
|
22
|
-
**Most Frequently Used:**
|
|
23
|
-
- get_release_stats: 1 calls
|
|
24
|
-
- analyze_commit_patterns: 1 calls
|
|
25
|
-
- get_breaking_changes: 1 calls
|
|
26
|
-
|
|
27
|
-
## Recommendations for Improvement
|
|
28
|
-
|
|
29
|
-
*No specific recommendations at this time. Execution appears optimal.*
|
|
30
|
-
|
|
31
|
-
## Detailed Execution Timeline
|
|
32
|
-
|
|
33
|
-
| Time | Iteration | Tool | Result | Duration |
|
|
34
|
-
|------|-----------|------|--------|----------|
|
|
35
|
-
| 12:20:07 AM | 1 | get_release_stats | ✅ Success | 39ms |
|
|
36
|
-
| 12:20:07 AM | 1 | analyze_commit_patterns | ✅ Success | 9ms |
|
|
37
|
-
| 12:20:07 AM | 1 | get_breaking_changes | ✅ Success | 18ms |
|
|
38
|
-
| 12:20:07 AM | 1 | get_file_content | ✅ Success | 0ms |
|
|
39
|
-
| 12:20:07 AM | 1 | get_file_content | ✅ Success | 0ms |
|
|
40
|
-
| 12:20:07 AM | 1 | get_file_content | ✅ Success | 0ms |
|
|
41
|
-
|
|
42
|
-
## Conversation History
|
|
43
|
-
|
|
44
|
-
<details>
|
|
45
|
-
<summary>Click to expand full agentic interaction</summary>
|
|
46
|
-
|
|
47
|
-
```json
|
|
48
|
-
[
|
|
49
|
-
{
|
|
50
|
-
"role": "system",
|
|
51
|
-
"content": "You are a professional software engineer writing release notes for your team and users.\n\n## Available Tools\n\n### General\n\n**get_file_history**\nGet git commit history for one or more files to understand their evolution and past changes\n\nParameters:\n- `filePaths` (required): Array of file paths to get history for\n- `limit`: Maximum number of commits to return (default: 10)\n- `format`: Output format: \"summary\" for brief or \"detailed\" for full messages\n\n**When to use:** Get git commit history for one or more files to understand their evolution and past changes\n\n---\n\n**get_file_content**\nGet the complete current content of a file to understand context around changes. Returns a message if the file does not exist (e.g., if it was deleted).\n\nParameters:\n- `filePath` (required): Path to the file\n- `includeLineNumbers`: Include line numbers in output (default: false)\n\n**When to use:** Get the complete current content of a file to understand context around changes. Returns a message if the file does not exist (e.g., if it was deleted).\n\n---\n\n**search_codebase**\nSearch for code patterns, function names, or text across the codebase using git grep\n\nParameters:\n- `query` (required): Search pattern (can be plain text or regex)\n- `fileTypes`: Limit search to specific file extensions (e.g., [\"ts\", \"js\"])\n- `contextLines`: Number of context lines to show around matches (default: 2)\n\n**When to use:** Search for code patterns, function names, or text across the codebase using git grep\n\n---\n\n**get_related_tests**\nFind test files related to production files to understand what the code is supposed to do\n\nParameters:\n- `filePaths` (required): Production file paths\n\n**When to use:** Find test files related to production files to understand what the code is supposed to do\n\n---\n\n**get_file_dependencies**\nFind which files import or depend on the changed files to assess change impact\n\nParameters:\n- `filePaths` (required): Files to analyze dependencies for\n\n**When to use:** Find which files import or depend on the changed files to assess change impact\n\n---\n\n**analyze_diff_section**\nGet expanded context around specific lines in a file to better understand changes\n\nParameters:\n- `filePath` (required): File containing the section to analyze\n- `startLine` (required): Starting line number\n- `endLine` (required): Ending line number\n- `contextLines`: Number of additional context lines to show before and after (default: 10)\n\n**When to use:** Get expanded context around specific lines in a file to better understand changes\n\n---\n\n**get_recent_commits**\nGet recent commits that modified the same files to understand recent work in this area\n\nParameters:\n- `filePaths` (required): Files to check for recent commits\n- `since`: Time period to look back (e.g., \"1 week ago\", \"2 days ago\")\n- `limit`: Maximum number of commits to return (default: 5)\n\n**When to use:** Get recent commits that modified the same files to understand recent work in this area\n\n---\n\n**group_files_by_concern**\nAnalyze changed files and suggest logical groupings that might represent separate concerns\n\nParameters:\n- `filePaths` (required): All changed files to analyze\n\n**When to use:** Analyze changed files and suggest logical groupings that might represent separate concerns\n\n---\n\n### Release Analysis\n\n**get_tag_history** _(cheap)_\nGet the history of previous release tags to understand release patterns and versioning\n\nParameters:\n- `limit`: Number of recent tags to retrieve (default: 10)\n- `pattern`: Filter tags by pattern (e.g., \"v*\" for version tags)\n\n**When to use:** Get the history of previous release tags to understand release patterns and versioning\n\n**Examples:**\n- Check recent version tags: `get_tag_history({\"limit\":5,\"pattern\":\"v*\"})`\n\n---\n\n**compare_previous_release** _(moderate)_\nCompare this release with a previous release to understand what changed between versions\n\nParameters:\n- `previousTag` (required): Previous release tag to compare against\n- `currentRef`: Current reference (default: HEAD)\n- `statsOnly`: Return only statistics, not full diff (default: true)\n\n**When to use:** Compare this release with a previous release to understand what changed between versions\n\n**Examples:**\n- Compare with last release: `compare_previous_release({\"previousTag\":\"v1.0.0\",\"currentRef\":\"HEAD\"})`\n\n---\n\n**get_release_stats** _(moderate)_\nGet comprehensive statistics about the release including contributors, file changes, and commit patterns\n\nParameters:\n- `fromRef` (required): Starting reference for the release range\n- `toRef`: Ending reference for the release range (default: HEAD)\n\n**When to use:** Get comprehensive statistics about the release including contributors, file changes, and commit patterns\n\n**Examples:**\n- Get release overview: `get_release_stats({\"fromRef\":\"v1.0.0\",\"toRef\":\"HEAD\"})`\n\n---\n\n**get_breaking_changes** _(expensive)_\nSearch for potential breaking changes by looking for specific patterns in commits and diffs\n\nParameters:\n- `fromRef` (required): Starting reference for the release range\n- `toRef`: Ending reference for the release range (default: HEAD)\n\n**When to use:** Search for potential breaking changes by looking for specific patterns in commits and diffs\n\n**Examples:**\n- Check for breaking changes: `get_breaking_changes({\"fromRef\":\"v1.0.0\",\"toRef\":\"HEAD\"})`\n\n---\n\n**analyze_commit_patterns** _(cheap)_\nAnalyze commit messages to identify patterns and themes in the release\n\nParameters:\n- `fromRef` (required): Starting reference for the release range\n- `toRef`: Ending reference for the release range (default: HEAD)\n\n**When to use:** Analyze commit messages to identify patterns and themes in the release\n\n**Examples:**\n- Find commit themes: `analyze_commit_patterns({\"fromRef\":\"v1.0.0\",\"toRef\":\"HEAD\"})`\n\n---\n\n\n\n## Your Task\n\nWrite release notes that clearly explain what's in this release and why it matters. Your notes should help users and developers understand what changed without needing to read every commit.\n\nFocus on:\n- What problems does this release solve?\n- What new capabilities does it add?\n- What's the impact on users and developers?\n- Are there breaking changes or important considerations?\n\nUse the available tools to investigate the changes. The more you understand, the better your notes will be.\n\n**Important**: If additional context is provided (from context files or other sources), use your judgment:\n- If the context is relevant to this specific package/release, incorporate it appropriately\n- If the context describes changes in other packages or unrelated work, ignore it\n- Don't fabricate connections between this package and unrelated context\n- Be honest about what changed - only mention what actually happened in this release\n- Context is supplemental information, not a requirement to include\n\n## Investigation Approach\n\nUse tools based on what you need to know:\n\n**Context:**\n- get_tag_history - understand release patterns\n- get_release_stats - quantify scope\n- compare_previous_release - see how this compares\n\n**Understanding:**\n- group_files_by_concern - identify themes\n- analyze_commit_patterns - detect patterns\n- get_file_content - see full context\n- analyze_diff_section - expand unclear changes\n- get_file_history - understand evolution\n\n**Impact:**\n- get_file_dependencies - assess reach\n- search_codebase - find usage patterns\n- get_related_tests - understand behavior changes\n- get_breaking_changes - identify breaking changes (always use)\n\n## Writing Style\n\nWrite naturally and directly:\n- Use plain language that users can understand\n- Be specific about what changed and why\n- Avoid marketing speak and buzzwords\n- No emojis or excessive punctuation\n- No phrases like \"we're excited to announce\"\n- No meta-commentary about the release itself\n- Focus on facts and implications, not enthusiasm\n\nStructure your notes logically:\n- Start with the most important changes\n- Group related changes together\n- Explain breaking changes clearly\n- Include practical examples when helpful\n\n## Output Format\n\nWhen ready, format your response as JSON:\n\nRELEASE_NOTES:\n{\n \"title\": \"Clear, factual title describing the main changes\",\n \"body\": \"Detailed release notes in Markdown format\"\n}\n\nOutput only the JSON. No conversational remarks or follow-up offers."
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"role": "user",
|
|
55
|
-
"content": "I need comprehensive release notes for changes from main to HEAD.\n\n## Commit Log\ncommit 7b4a91b36175307e2c5c2527429c98c28bd9ec10\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Tue Jan 13 00:20:00 2026 -0800\n\n chore(release): bump @riotprompt/execution to 0.0.4\n\ncommit 0ca2fa52fd5a1f70d890eab264a878d0e6b9531f\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Mon Jan 12 23:40:40 2026 -0800\n\n chore(build): switch to ESM-only output, require Node 24, and target ES2024\n\ncommit b1684ac231930e69e111204492c5b747b5083ba8\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Mon Jan 12 22:01:06 2026 -0800\n\n chore: bump to v0.0.4-dev.0\n\n\n## Diff Summary\ndiff --git a/package.json b/package.json\nindex 4b88767..0af133e 100644\n--- a/package.json\n+++ b/package.json\n@@ -1,18 +1,19 @@\n {\n \"name\": \"@riotprompt/execution\",\n- \"version\": \"0.0.3\",\n+ \"version\": \"0.0.4\",\n \"description\": \"LLM execution provider interfaces - no SDK dependencies\",\n \"type\": \"module\",\n- \"main\": \"./dist/index.cjs\",\n- \"module\": \"./dist/index.js\",\n+ \"main\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n- \"import\": \"./dist/index.js\",\n- \"require\": \"./dist/index.cjs\"\n+ \"import\": \"./dist/index.js\"\n }\n },\n+ \"engines\": {\n+ \"node\": \">=24.0.0\"\n+ },\n \"scripts\": {\n \"clean\": \"rm -rf dist\",\n \"build\": \"vite build\",\ndiff --git a/tsconfig.json b/tsconfig.json\nindex 50dd1ef..85ef4cf 100644\n--- a/tsconfig.json\n+++ b/tsconfig.json\n@@ -1,7 +1,7 @@\n {\n \"compilerOptions\": {\n- \"target\": \"ES2022\",\n- \"lib\": [\"ES2022\"],\n+ \"target\": \"ES2024\",\n+ \"lib\": [\"ES2024\"],\n \"module\": \"ESNext\",\n \"moduleResolution\": \"bundler\",\n \"strict\": true,\n@@ -18,4 +18,3 @@\n \"include\": [\"src/**/*\"],\n \"exclude\": [\"node_modules\", \"dist\", \"tests\"]\n }\n-\ndiff --git a/vite.config.ts b/vite.config.ts\nindex 9b598b8..9a0136d 100644\n--- a/vite.config.ts\n+++ b/vite.config.ts\n@@ -1,14 +1,13 @@\n import { defineConfig } from \"vite\";\n import dts from \"vite-plugin-dts\";\n-import { resolve } from \"path\";\n \n export default defineConfig({\n build: {\n lib: {\n- entry: resolve(__dirname, \"src/index.ts\"),\n+ entry: \"src/index.ts\",\n name: \"execution\",\n- fileName: (format) => (format === \"es\" ? \"index.js\" : \"index.cjs\"),\n- formats: [\"es\", \"cjs\"],\n+ fileName: () => \"index.js\",\n+ formats: [\"es\"],\n },\n rollupOptions: {\n external: [\"node:fs\", \"node:path\", \"node:fs/promises\"],\n@@ -22,4 +21,3 @@ export default defineConfig({\n }),\n ],\n });\n-\n\n\nAnalyze these changes and write clear release notes. Consider:\n- What's the main story of this release?\n- What problems does it solve?\n- What's the impact on users and developers?\n- Are there breaking changes?\n\nIf context information is provided, use it only if relevant to this specific package.\nDon't force connections that don't exist - if context describes changes in other packages\nor unrelated features, simply ignore it and focus on what actually changed in this release.\n\nInvestigate as needed to write accurate, helpful release notes."
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"role": "assistant",
|
|
59
|
-
"content": null,
|
|
60
|
-
"tool_calls": [
|
|
61
|
-
{
|
|
62
|
-
"id": "call_4KWbXhYV6S86LiIQe1VTJkzf",
|
|
63
|
-
"type": "function",
|
|
64
|
-
"function": {
|
|
65
|
-
"name": "get_release_stats",
|
|
66
|
-
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "call_3HVfQglWo3Zgnetds8kcDJVR",
|
|
71
|
-
"type": "function",
|
|
72
|
-
"function": {
|
|
73
|
-
"name": "analyze_commit_patterns",
|
|
74
|
-
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "call_yYnUoiA2Xcx6kqAbZyewWcdC",
|
|
79
|
-
"type": "function",
|
|
80
|
-
"function": {
|
|
81
|
-
"name": "get_breaking_changes",
|
|
82
|
-
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"id": "call_7mzIgiWGRqjn2gBU3qEgaU3d",
|
|
87
|
-
"type": "function",
|
|
88
|
-
"function": {
|
|
89
|
-
"name": "get_file_content",
|
|
90
|
-
"arguments": "{\"filePath\": \"package.json\"}"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"id": "call_A7clVAJKHilBhHkWIg5jn0nj",
|
|
95
|
-
"type": "function",
|
|
96
|
-
"function": {
|
|
97
|
-
"name": "get_file_content",
|
|
98
|
-
"arguments": "{\"filePath\": \"vite.config.ts\"}"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"id": "call_rOMKtWTqVQZwF9sYL5OpGMz0",
|
|
103
|
-
"type": "function",
|
|
104
|
-
"function": {
|
|
105
|
-
"name": "get_file_content",
|
|
106
|
-
"arguments": "{\"filePath\": \"tsconfig.json\"}"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"role": "tool",
|
|
113
|
-
"tool_call_id": "call_4KWbXhYV6S86LiIQe1VTJkzf",
|
|
114
|
-
"content": "Total commits: 3\n\nContributors:\n 3\tTim O'Brien\n\n\nFile changes: 3 files changed, 11 insertions(+), 13 deletions(-)\n\nTop 10 most changed files:\n vite.config.ts | 8 +++-----\n tsconfig.json | 5 ++---\n package.json | 11 ++++++-----\n 3 files changed, 11 insertions(+), 13 deletions(-)\n",
|
|
115
|
-
"name": "get_release_stats"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"role": "tool",
|
|
119
|
-
"tool_call_id": "call_3HVfQglWo3Zgnetds8kcDJVR",
|
|
120
|
-
"content": "Commit types:\n chore: 3\n\nTop keywords in commits:\n chore: 3\n release: 1\n riotprompt: 1\n execution: 1\n build: 1\n switch: 1\n output: 1\n require: 1\n target: 1\n es2024: 1",
|
|
121
|
-
"name": "analyze_commit_patterns"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"role": "tool",
|
|
125
|
-
"tool_call_id": "call_yYnUoiA2Xcx6kqAbZyewWcdC",
|
|
126
|
-
"content": "No obvious breaking changes detected. Manual review recommended for API changes.",
|
|
127
|
-
"name": "get_breaking_changes"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"role": "tool",
|
|
131
|
-
"tool_call_id": "call_7mzIgiWGRqjn2gBU3qEgaU3d",
|
|
132
|
-
"content": "{\n \"name\": \"@riotprompt/execution\",\n \"version\": \"0.0.4\",\n \"description\": \"LLM execution provider interfaces - no SDK dependencies\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n }\n },\n \"engines\": {\n \"node\": \">=24.0.0\"\n },\n \"scripts\": {\n \"clean\": \"rm -rf dist\",\n \"build\": \"vite build\",\n \"test\": \"vitest run --coverage\",\n \"test:coverage\": \"vitest run --coverage\",\n \"lint\": \"eslint src\",\n \"precommit\": \"npm run lint && npm run test\",\n \"prepublishOnly\": \"npm run clean && npm run build\"\n },\n \"keywords\": [\n \"llm\",\n \"execution\",\n \"provider\",\n \"ai\",\n \"openai\",\n \"anthropic\",\n \"gemini\"\n ],\n \"author\": \"Tim O'Brien <tobrien@discursive.com>\",\n \"license\": \"Apache-2.0\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/kjerneverk/execution\"\n },\n \"dependencies\": {},\n \"devDependencies\": {\n \"@types/node\": \"^22.15.29\",\n \"@typescript-eslint/eslint-plugin\": \"^8.33.1\",\n \"@typescript-eslint/parser\": \"^8.33.1\",\n \"@vitest/coverage-v8\": \"^3.2.4\",\n \"eslint\": \"^9.28.0\",\n \"eslint-plugin-import\": \"^2.31.0\",\n \"globals\": \"^16.2.0\",\n \"typescript\": \"^5.8.3\",\n \"vite\": \"^7.0.4\",\n \"vite-plugin-dts\": \"^4.5.4\",\n \"vitest\": \"^3.2.4\"\n }\n}\n",
|
|
133
|
-
"name": "get_file_content"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"role": "tool",
|
|
137
|
-
"tool_call_id": "call_A7clVAJKHilBhHkWIg5jn0nj",
|
|
138
|
-
"content": "import { defineConfig } from \"vite\";\nimport dts from \"vite-plugin-dts\";\n\nexport default defineConfig({\n build: {\n lib: {\n entry: \"src/index.ts\",\n name: \"execution\",\n fileName: () => \"index.js\",\n formats: [\"es\"],\n },\n rollupOptions: {\n external: [\"node:fs\", \"node:path\", \"node:fs/promises\"],\n },\n sourcemap: true,\n minify: false,\n },\n plugins: [\n dts({\n rollupTypes: true,\n }),\n ],\n});\n",
|
|
139
|
-
"name": "get_file_content"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"role": "tool",
|
|
143
|
-
"tool_call_id": "call_rOMKtWTqVQZwF9sYL5OpGMz0",
|
|
144
|
-
"content": "{\n \"compilerOptions\": {\n \"target\": \"ES2024\",\n \"lib\": [\"ES2024\"],\n \"module\": \"ESNext\",\n \"moduleResolution\": \"bundler\",\n \"strict\": true,\n \"declaration\": true,\n \"declarationMap\": true,\n \"sourceMap\": true,\n \"esModuleInterop\": true,\n \"skipLibCheck\": true,\n \"forceConsistentCasingInFileNames\": true,\n \"outDir\": \"./dist\",\n \"rootDir\": \"./src\",\n \"types\": [\"node\"]\n },\n \"include\": [\"src/**/*\"],\n \"exclude\": [\"node_modules\", \"dist\", \"tests\"]\n}\n",
|
|
145
|
-
"name": "get_file_content"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"role": "assistant",
|
|
149
|
-
"content": "RELEASE_NOTES:\n{\n \"title\": \"@riotprompt/execution v0.0.4 — ESM-only build, Node 24+ requirement, ES2024 target\",\n \"body\": \"## Overview\\nThis release is primarily a packaging/build update. `@riotprompt/execution` now ships **ESM-only** output, targets **ES2024**, and declares **Node.js >= 24** support.\\n\\n## Breaking changes\\n### ESM-only distribution (CommonJS removed)\\n- The package no longer builds or publishes a CommonJS (`.cjs`) entry.\\n- `package.json` exports now provide **only** an ESM `import` path.\\n\\n**Impact**\\n- Consumers using `require('@riotprompt/execution')` will no longer be able to load the package.\\n\\n**Migration**\\n- Switch to ESM imports:\\n ```js\\n import { /* ... */ } from \\\"@riotprompt/execution\\\";\\n ```\\n- If you must stay in CommonJS, you’ll need to load via dynamic import from CJS:\\n ```js\\n const mod = await import(\\\"@riotprompt/execution\\\");\\n ```\\n (or use a bundler/transpilation step that supports consuming ESM dependencies).\\n\\n### Node.js 24+ required\\n- `package.json` now includes:\\n - `engines.node: >=24.0.0`\\n\\n**Impact**\\n- Install/use on Node 22/20/etc. may fail (or be blocked depending on your package manager settings).\\n\\n## Build and tooling changes\\n- TypeScript target/lib updated from **ES2022** to **ES2024**.\\n- Vite library build now outputs only **ES** format:\\n - Output filename is always `dist/index.js`.\\n - `main` now points to `./dist/index.js`.\\n\\n## What didn’t change\\n- No functional/API changes are indicated in this diff—this release is focused on how the package is built and consumed.\\n\\n## Upgrade checklist\\n- Ensure your runtime is **Node 24+**.\\n- Ensure your project can consume **ESM-only** dependencies (or migrate your usage to `import` / dynamic import).\\n- If you previously depended on `dist/index.cjs` or the `exports.require` entry, update your integration accordingly.\\n\"\n}"
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
</details>
|
|
155
|
-
|
|
156
|
-
## Generated Release Notes
|
|
157
|
-
|
|
158
|
-
### Title
|
|
159
|
-
```
|
|
160
|
-
@riotprompt/execution v0.0.4 — ESM-only build, Node 24+ requirement, ES2024 target
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
### Body
|
|
164
|
-
```markdown
|
|
165
|
-
## Overview
|
|
166
|
-
This release is primarily a packaging/build update. `@riotprompt/execution` now ships **ESM-only** output, targets **ES2024**, and declares **Node.js >= 24** support.
|
|
167
|
-
|
|
168
|
-
## Breaking changes
|
|
169
|
-
### ESM-only distribution (CommonJS removed)
|
|
170
|
-
- The package no longer builds or publishes a CommonJS (`.cjs`) entry.
|
|
171
|
-
- `package.json` exports now provide **only** an ESM `import` path.
|
|
172
|
-
|
|
173
|
-
**Impact**
|
|
174
|
-
- Consumers using `require('@riotprompt/execution')` will no longer be able to load the package.
|
|
175
|
-
|
|
176
|
-
**Migration**
|
|
177
|
-
- Switch to ESM imports:
|
|
178
|
-
```js
|
|
179
|
-
import { /* ... */ } from "@riotprompt/execution";
|
|
180
|
-
```
|
|
181
|
-
- If you must stay in CommonJS, you’ll need to load via dynamic import from CJS:
|
|
182
|
-
```js
|
|
183
|
-
const mod = await import("@riotprompt/execution");
|
|
184
|
-
```
|
|
185
|
-
(or use a bundler/transpilation step that supports consuming ESM dependencies).
|
|
186
|
-
|
|
187
|
-
### Node.js 24+ required
|
|
188
|
-
- `package.json` now includes:
|
|
189
|
-
- `engines.node: >=24.0.0`
|
|
190
|
-
|
|
191
|
-
**Impact**
|
|
192
|
-
- Install/use on Node 22/20/etc. may fail (or be blocked depending on your package manager settings).
|
|
193
|
-
|
|
194
|
-
## Build and tooling changes
|
|
195
|
-
- TypeScript target/lib updated from **ES2022** to **ES2024**.
|
|
196
|
-
- Vite library build now outputs only **ES** format:
|
|
197
|
-
- Output filename is always `dist/index.js`.
|
|
198
|
-
- `main` now points to `./dist/index.js`.
|
|
199
|
-
|
|
200
|
-
## What didn’t change
|
|
201
|
-
- No functional/API changes are indicated in this diff—this release is focused on how the package is built and consumed.
|
|
202
|
-
|
|
203
|
-
## Upgrade checklist
|
|
204
|
-
- Ensure your runtime is **Node 24+**.
|
|
205
|
-
- Ensure your project can consume **ESM-only** dependencies (or migrate your usage to `import` / dynamic import).
|
|
206
|
-
- If you previously depended on `dist/index.cjs` or the `exports.require` entry, update your integration accordingly.
|
|
207
|
-
|
|
208
|
-
```
|