@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,152 +0,0 @@
|
|
|
1
|
-
# Agentic Workflow - Self-Reflection Report
|
|
2
|
-
|
|
3
|
-
Generated: 2026-01-28T17:58:44.288Z
|
|
4
|
-
|
|
5
|
-
## Execution Summary
|
|
6
|
-
|
|
7
|
-
- **Iterations**: 3
|
|
8
|
-
- **Tool Calls**: 5
|
|
9
|
-
- **Unique Tools**: 5
|
|
10
|
-
|
|
11
|
-
## Tool Effectiveness Analysis
|
|
12
|
-
|
|
13
|
-
| Tool | Calls | Success | Failures | Success Rate | Avg Duration |
|
|
14
|
-
|------|-------|---------|----------|--------------|--------------|
|
|
15
|
-
| get_file_content | 1 | 1 | 0 | 100.0% | 0ms |
|
|
16
|
-
| get_file_modification_times | 1 | 1 | 0 | 100.0% | 0ms |
|
|
17
|
-
| group_files_by_concern | 1 | 1 | 0 | 100.0% | 1ms |
|
|
18
|
-
| get_recent_commits | 1 | 1 | 0 | 100.0% | 11ms |
|
|
19
|
-
| get_file_history | 1 | 1 | 0 | 100.0% | 14ms |
|
|
20
|
-
|
|
21
|
-
### Tool Performance Insights
|
|
22
|
-
|
|
23
|
-
**Most Frequently Used:**
|
|
24
|
-
- get_file_content: 1 calls
|
|
25
|
-
- get_file_modification_times: 1 calls
|
|
26
|
-
- group_files_by_concern: 1 calls
|
|
27
|
-
|
|
28
|
-
## Recommendations for Improvement
|
|
29
|
-
|
|
30
|
-
- **Underutilized Tools**: Many tools were called only once. Consider whether all tools are necessary or if the agent needs better guidance on when to use them.
|
|
31
|
-
|
|
32
|
-
## Detailed Execution Timeline
|
|
33
|
-
|
|
34
|
-
| Time | Iteration | Tool | Result | Duration |
|
|
35
|
-
|------|-----------|------|--------|----------|
|
|
36
|
-
| 9:58:07 AM | 1 | get_file_content | ✅ Success | 0ms |
|
|
37
|
-
| 9:58:07 AM | 1 | get_file_modification_times | ✅ Success | 0ms |
|
|
38
|
-
| 9:58:07 AM | 1 | group_files_by_concern | ✅ Success | 1ms |
|
|
39
|
-
| 9:58:07 AM | 1 | get_recent_commits | ✅ Success | 11ms |
|
|
40
|
-
| 9:58:21 AM | 2 | get_file_history | ✅ Success | 14ms |
|
|
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 commit messages for your team.\n\n## Available Tools\n\nYou have access to tools to investigate the changes:\n- `get_file_content` - Read file contents or diffs for specific files\n- `get_file_modification_times` - See when files were modified relative to each other\n- `group_files_by_concern` - Understand how files relate by type/purpose\n- `get_recent_commits` - Get recent commit history to avoid duplicates\n- `get_file_history` - Understand how code evolved\n- `get_file_dependencies` - Assess impact of changes\n- `get_related_tests` - Find related test files\n- `search_codebase` - Search for usage patterns\n\nUse these tools to investigate the changes rather than asking for information upfront.\n\n## Your Task\n\nAnalyze the staged changes and determine the best way to commit them. Your primary goal is to create **meaningful, atomic commits** that each represent a single logical change.\n\n**CRITICAL**: When there are many changed files, especially after a long work session (multiple hours), you should almost always split them into multiple commits. A single commit with 10+ files usually indicates multiple distinct changes that should be separated.\n\nThink about:\n- What distinct features, fixes, or improvements are represented?\n- Are there natural groupings by functionality, module, or purpose?\n- When were files modified relative to each other?\n- What should reviewers focus on in each commit?\n\n## Investigation Strategy\n\nFor any non-trivial set of changes, gather multiple signals to understand how to group commits:\n\n1. **Check file modification times** using `get_file_modification_times`\n - This reveals *when* files were changed relative to each other\n - Files modified close together *may* be part of the same logical change\n - Large temporal gaps *can* indicate separate work sessions\n - Note: temporal proximity is one signal, not a guarantee of relatedness\n\n2. **Understand logical relationships** using `group_files_by_concern`\n - Groups by module, type (tests, docs, source), and directory structure\n - Reveals which files are functionally related regardless of when they were modified\n\n3. **Cross-reference both signals** to make informed decisions:\n - Files modified together AND logically related → strong candidate for same commit\n - Files modified apart BUT logically related → might still belong together\n - Files modified together BUT logically unrelated → consider splitting\n - Use your judgment - neither signal is definitive on its own\n\n4. **Investigate further** as needed:\n - get_file_content - see full context when diffs are unclear\n - get_file_history - understand how code evolved\n - get_file_dependencies - assess impact of changes\n - get_recent_commits - avoid duplicate messages\n - get_related_tests - understand behavior changes\n - search_codebase - find usage patterns\n\n## When to Split Commits\n\n**Prefer multiple commits when:**\n- Changes span multiple hours of work (check modification times!)\n- Different logical features or fixes are included\n- Test changes could be separated from production code changes\n- Documentation updates are unrelated to code changes\n- Refactoring is mixed with feature work\n- Configuration changes are mixed with implementation changes\n- Files in different modules/packages are changed for different reasons\n\n**Keep as one commit when:**\n- All changes are part of a single, cohesive feature\n- Files were modified together in a focused work session\n- Test changes directly test the production code changes\n- The changes tell a single coherent story\n\n**Default bias**: When in doubt about whether to split, **prefer splitting**. It's better to have too many focused commits than too few bloated ones. A good commit should be understandable and reviewable in isolation.\n\n## Important Context Guidelines\n\nIf additional context is provided (from context files or other sources), use your judgment:\n- If the context is relevant to these specific changes, incorporate it\n- If the context describes unrelated changes or other packages, ignore it\n- Don't force connections between unrelated information\n- Focus on accurately describing what actually changed\n\n## Writing Style\n\nWrite naturally and directly:\n- Use plain language, not corporate speak\n- Be specific and concrete\n- Avoid buzzwords and jargon\n- No emojis or excessive punctuation\n- No phrases like \"this commit\" or \"this PR\"\n- No meta-commentary about the commit itself\n\nFollow conventional commit format when appropriate (feat:, fix:, refactor:, docs:, test:, chore:), but prioritize clarity over formality.\n\n## Output Format\n\nWhen ready, format your response as:\n\nCOMMIT_MESSAGE:\n[Your commit message here - only for the FIRST group of changes if splitting]\n\nIf changes should be split into multiple commits (which is often the case with large changesets):\n\nSUGGESTED_SPLITS:\nSplit 1:\nFiles: [list of files]\nRationale: [why these belong together - mention temporal clustering and/or logical relationship]\nMessage: [commit message for this split]\n\nSplit 2:\nFiles: [list of files]\nRationale: [why these belong together]\nMessage: [commit message for this split]\n\nSplit 3:\n...\n\nOutput only the commit message and splits. No conversational remarks or follow-up offers."
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"role": "user",
|
|
55
|
-
"content": "I have staged changes that need a commit message.\n\nChanged files (1):\n - package.json\n\nUser direction: --model\n\n## Your Analysis Task\n\nUse your tools to investigate the changes:\n1. Use `get_file_content` to read the actual changes in the files\n2. Use `get_file_modification_times` to see when files were modified relative to each other\n3. Use `group_files_by_concern` to understand how files relate by type/purpose\n4. Use `get_recent_commits` to check recent commit history and avoid duplicates\n5. Cross-reference temporal proximity and logical relatedness to determine the best commit structure\n\nConsider:\n- What distinct features, fixes, or improvements are included?\n- Are files that were modified together also logically related?\n- Would separate commits make the history more understandable?\n\nIf changes represent multiple logical concerns, suggest splits.\n\nStart by reading the file contents to understand what actually changed."
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"role": "assistant",
|
|
59
|
-
"content": null,
|
|
60
|
-
"tool_calls": [
|
|
61
|
-
{
|
|
62
|
-
"id": "call_SwECoPwsPdUGB4owBw7DD808",
|
|
63
|
-
"type": "function",
|
|
64
|
-
"function": {
|
|
65
|
-
"name": "get_file_content",
|
|
66
|
-
"arguments": "{\"filePath\": \"package.json\", \"includeLineNumbers\": false}"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "call_GVcqWtSE1fXfoD6qbawYIQVS",
|
|
71
|
-
"type": "function",
|
|
72
|
-
"function": {
|
|
73
|
-
"name": "get_file_modification_times",
|
|
74
|
-
"arguments": "{\"filePaths\": [\"package.json\"]}"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "call_2Z6gcSMe9psYiL2oJSTYWCzt",
|
|
79
|
-
"type": "function",
|
|
80
|
-
"function": {
|
|
81
|
-
"name": "group_files_by_concern",
|
|
82
|
-
"arguments": "{\"filePaths\": [\"package.json\"]}"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"id": "call_P6tNUhtC3HEkDgj1cB6gJ3g8",
|
|
87
|
-
"type": "function",
|
|
88
|
-
"function": {
|
|
89
|
-
"name": "get_recent_commits",
|
|
90
|
-
"arguments": "{\"filePaths\": [\"package.json\"], \"since\": \"1 week ago\", \"limit\": 10}"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"role": "tool",
|
|
97
|
-
"tool_call_id": "call_SwECoPwsPdUGB4owBw7DD808",
|
|
98
|
-
"content": "{\n \"name\": \"@riotprompt/execution\",\n \"version\": \"1.0.3-dev.0\",\n \"_versionReset\": \"2026-01-15\",\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 build && 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 \"devDependencies\": {\n \"@types/node\": \"^25.0.10\",\n \"@typescript-eslint/eslint-plugin\": \"^8.33.1\",\n \"@typescript-eslint/parser\": \"^8.33.1\",\n \"@vitest/coverage-v8\": \"^4.0.18\",\n \"ajv\": \"^8.17.1\",\n \"eslint\": \"^9.28.0\",\n \"eslint-plugin-import\": \"^2.31.0\",\n \"globals\": \"^17.1.0\",\n \"typescript\": \"^5.8.3\",\n \"vite\": \"^7.0.4\",\n \"vite-plugin-dts\": \"^4.5.4\",\n \"vitest\": \"^4.0.18\"\n }\n}\n",
|
|
99
|
-
"name": "get_file_content"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"role": "tool",
|
|
103
|
-
"tool_call_id": "call_GVcqWtSE1fXfoD6qbawYIQVS",
|
|
104
|
-
"content": "## File Modification Times (sorted oldest to newest)\n\n2026-01-28 17:54:29 package.json\n\n\n## Temporal Clusters (files modified within 10 minutes of each other)\n\nAll 1 files were modified in a single work session.\n",
|
|
105
|
-
"name": "get_file_modification_times"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"role": "tool",
|
|
109
|
-
"tool_call_id": "call_2Z6gcSMe9psYiL2oJSTYWCzt",
|
|
110
|
-
"content": "dependencies (1 files):\n - package.json\n\nSuggestion: All files appear to be related and should be in a single commit.",
|
|
111
|
-
"name": "group_files_by_concern"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"role": "tool",
|
|
115
|
-
"tool_call_id": "call_P6tNUhtC3HEkDgj1cB6gJ3g8",
|
|
116
|
-
"content": "dc4e6ce - chore: bump to 1.0.3-dev.0 (Tim O'Brien, 11 minutes ago)\na18c461 - chore: bump to 1.0.2-dev.0 (Tim O'Brien, 35 minutes ago)\n282e5e6 - fix: add npm tag detection for prerelease versions in publish workflow (#15) (Tim O'Brien, 36 minutes ago)\neb994de - chore(release): bump @riotprompt/execution to 1.0.0 (#14) (Tim O'Brien, 2 days ago)\n",
|
|
117
|
-
"name": "get_recent_commits"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"role": "assistant",
|
|
121
|
-
"content": null,
|
|
122
|
-
"tool_calls": [
|
|
123
|
-
{
|
|
124
|
-
"id": "call_8esLfOemOoCXybLQqVBRpnsR",
|
|
125
|
-
"type": "function",
|
|
126
|
-
"function": {
|
|
127
|
-
"name": "get_file_history",
|
|
128
|
-
"arguments": "{\"filePaths\":[\"package.json\"],\"limit\":20,\"format\":\"detailed\"}"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"role": "tool",
|
|
135
|
-
"tool_call_id": "call_8esLfOemOoCXybLQqVBRpnsR",
|
|
136
|
-
"content": "dc4e6cec11536a506cdd0a0168d4af7021eae4cf\nTim O'Brien (tobrien@discursive.com)\nWed Jan 28 09:47:06 2026 -0800\nchore: bump to 1.0.3-dev.0\n\n\n---\na18c46185bacb403463e16d2f36701dfc9963651\nTim O'Brien (tobrien@discursive.com)\nWed Jan 28 09:23:10 2026 -0800\nchore: bump to 1.0.2-dev.0\n\n\n---\n282e5e6fa0fb87b42b4f907028b9dbb6d372140d\nTim O'Brien (tobrien@discursive.com)\nWed Jan 28 09:22:01 2026 -0800\nfix: add npm tag detection for prerelease versions in publish workflow (#15)\n\n* chore: bump to 1.0.0-dev.0\n\n* Updating version\n\n* fix: add targeted ajv override for vite-plugin-dts\n\n* fix: add ajv@^8 as explicit devDependency to resolve vite-plugin-dts conflict\n\n* fix: add npm tag detection for prerelease versions in publish workflow\n---\neb994de3d60acb13f81ee8a95f3f80e3ddec2b59\nTim O'Brien (tobrien@discursive.com)\nMon Jan 26 09:00:57 2026 -0800\nchore(release): bump @riotprompt/execution to 1.0.0 (#14)\n\n* chore: bump to 0.0.4-dev.0\n\n* chore(release): reset @riotprompt/execution to 1.0.0-dev.0\n\n- bump package.json version to 1.0.0-dev.0 and record _versionReset date\n- add v1.0.0 marker comment to README\n\n* chore(precommit): run build before lint and tests\n\n* chore(gitignore): add .kodrdriv* pattern to ignore kodrdriv internal files\n\n* chore(release): bump @riotprompt/execution to 1.0.0\n---\n95ec484f53bc2b4f8058189f333cd4befebcbcd9\nTim O'Brien (tobrien@discursive.com)\nTue Jan 13 00:21:08 2026 -0800\nchore(release): bump @riotprompt/execution to 0.0.4 (#6)\n\n* chore: bump to v0.0.4-dev.0\n\n* chore(build): switch to ESM-only output, require Node 24, and target ES2024\n\n* chore(release): bump @riotprompt/execution to 0.0.4\n---\n6e694b52c5ea877182589d7a1119e863f86cc326\nTim O'Brien (tobrien@discursive.com)\nMon Jan 12 21:59:58 2026 -0800\nchore(release): bump @riotprompt/execution to 0.0.3 (#5)\n\n* 0.0.2-dev.0\n\n* chore: update kodrdriv test cache (avoid committing if possible)\n\n* test: move unit tests into tests/ and update vitest include\n\n* chore(test): enable vitest v8 coverage and bump to 0.0.2\n\n* test: delete legacy src/*.test.ts after moving tests to tests/\n\n* 0.0.3-dev.0\n\n* chore(ci): bump Node to 24 and switch workflows to npm install\n\n* chore(release): bump @riotprompt/execution to 0.0.3\n---\nb4428f11744ebb3e18d39531fe60646cd7f23340\nTim O'Brien (tobrien@discursive.com)\nSat Jan 10 17:29:40 2026 -0800\ntest: delete legacy src/*.test.ts after moving tests to tests/ (#4)\n\n* 0.0.2-dev.0\n\n* chore: update kodrdriv test cache (avoid committing if possible)\n\n* test: move unit tests into tests/ and update vitest include\n\n* chore(test): enable vitest v8 coverage and bump to 0.0.2\n\n* test: delete legacy src/*.test.ts after moving tests to tests/\n---\ne9164ffdb9a7208778f255a5b7dc095317780118\nTim O'Brien (tobrien@discursive.com)\nSat Jan 10 11:20:31 2026 -0800\nInitial commit\n\n\n---\n",
|
|
137
|
-
"name": "get_file_history"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"role": "assistant",
|
|
141
|
-
"content": "COMMIT_MESSAGE:\nchore: bump package.json version"
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
</details>
|
|
147
|
-
|
|
148
|
-
## Generated Commit Message
|
|
149
|
-
|
|
150
|
-
```
|
|
151
|
-
chore: bump package.json version
|
|
152
|
-
```
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
# Agentic Workflow - Self-Reflection Report
|
|
2
|
-
|
|
3
|
-
Generated: 2026-01-11T01:29:02.713Z
|
|
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% | 44ms |
|
|
17
|
-
| analyze_commit_patterns | 1 | 1 | 0 | 100.0% | 10ms |
|
|
18
|
-
| get_breaking_changes | 1 | 1 | 0 | 100.0% | 24ms |
|
|
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
|
-
| 5:28:38 PM | 1 | get_release_stats | ✅ Success | 44ms |
|
|
36
|
-
| 5:28:38 PM | 1 | analyze_commit_patterns | ✅ Success | 10ms |
|
|
37
|
-
| 5:28:38 PM | 1 | get_breaking_changes | ✅ Success | 24ms |
|
|
38
|
-
| 5:28:38 PM | 1 | get_file_content | ✅ Success | 0ms |
|
|
39
|
-
| 5:28:38 PM | 1 | get_file_content | ✅ Success | 1ms |
|
|
40
|
-
| 5:28:38 PM | 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 3e22d7bb79975ae741809ab364dc2e4f72ed8d6f\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Sat Jan 10 17:25:08 2026 -0800\n\n test: delete legacy src/*.test.ts after moving tests to tests/\n\ncommit 7686ded488368a7f6aa3cbd2cef7f33764f92aaf\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Sat Jan 10 17:24:54 2026 -0800\n\n chore(test): enable vitest v8 coverage and bump to 0.0.2\n\ncommit dd645afbe99210d7a300525334787a8366cddf5a\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Sat Jan 10 17:23:22 2026 -0800\n\n test: move unit tests into tests/ and update vitest include\n\n\n## Diff Summary\ndiff --git a/.kodrdriv-test-cache.json b/.kodrdriv-test-cache.json\nindex a27fed4..4256159 100644\n--- a/.kodrdriv-test-cache.json\n+++ b/.kodrdriv-test-cache.json\n@@ -1,6 +1,6 @@\n {\n \"/Users/tobrien/gitw/kjerneverk/execution\": {\n- \"lastTestRun\": 1768072518815,\n- \"lastCommitHash\": \"unknown\"\n+ \"lastTestRun\": 1768074143310,\n+ \"lastCommitHash\": \"66b5fe98ad962160999b1df656a03f3a9c498c83\"\n }\n }\n\\ndiff --git a/package.json b/package.json\nindex 3239b11..ad4e899 100644\n--- a/package.json\n+++ b/package.json\n@@ -1,6 +1,6 @@\n {\n \"name\": \"@riotprompt/execution\",\n- \"version\": \"0.0.1\",\n+ \"version\": \"0.0.2\",\n \"description\": \"LLM execution provider interfaces - no SDK dependencies\",\n \"type\": \"module\",\n \"main\": \"./dist/index.cjs\",\n@@ -14,9 +14,13 @@\n }\n },\n \"scripts\": {\n+ \"clean\": \"rm -rf dist\",\n \"build\": \"vite build\",\n- \"test\": \"vitest run\",\n- \"lint\": \"eslint src\"\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@@ -31,13 +35,14 @@\n \"license\": \"Apache-2.0\",\n \"repository\": {\n \"type\": \"git\",\n- \"url\": \"git+https://github.com/kjerneverk/execution\"\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@@ -47,4 +52,3 @@\n \"vitest\": \"^3.2.4\"\n }\n }\n-\ndiff --git a/src/logger.test.ts b/tests/logger.test.ts\nsimilarity index 99%\nrename from src/logger.test.ts\nrename to tests/logger.test.ts\nindex 7858938..c48aa01 100644\n--- a/src/logger.test.ts\n+++ b/tests/logger.test.ts\n@@ -1,5 +1,5 @@\n import { describe, it, expect, vi } from 'vitest';\n-import { DEFAULT_LOGGER, wrapLogger, LIBRARY_NAME, type Logger } from './logger';\n+import { DEFAULT_LOGGER, wrapLogger, LIBRARY_NAME, type Logger } from '../src/logger';\n \n describe('logger', () => {\n describe('LIBRARY_NAME', () => {\ndiff --git a/src/model-registry.test.ts b/tests/model-registry.test.ts\nsimilarity index 99%\nrename from src/model-registry.test.ts\nrename to tests/model-registry.test.ts\nindex 787d12c..2a86a66 100644\n--- a/src/model-registry.test.ts\n+++ b/tests/model-registry.test.ts\n@@ -8,7 +8,7 @@ import {\n supportsToolCalls,\n getModelFamily,\n configureModel,\n-} from './model-registry';\n+} from '../src/model-registry';\n \n describe('ModelRegistry', () => {\n let registry: ModelRegistry;\ndiff --git a/src/types.test.ts b/tests/types.test.ts\nsimilarity index 97%\nrename from src/types.test.ts\nrename to tests/types.test.ts\nindex 94171ca..9a81596 100644\n--- a/src/types.test.ts\n+++ b/tests/types.test.ts\n@@ -1,6 +1,6 @@\n import { describe, it, expect } from 'vitest';\n-import { createRequest } from './types';\n-import type { Message, Request, Provider, ProviderResponse, ExecutionOptions } from './types';\n+import { createRequest } from '../src/types';\n+import type { Message, Request, Provider, ProviderResponse, ExecutionOptions } from '../src/types';\n \n describe('types', () => {\n describe('createRequest', () => {\ndiff --git a/vitest.config.ts b/vitest.config.ts\nindex 9d8325f..c6f4053 100644\n--- a/vitest.config.ts\n+++ b/vitest.config.ts\n@@ -2,14 +2,20 @@ import { defineConfig } from \"vitest/config\";\n \n export default defineConfig({\n test: {\n- include: [\"src/**/*.test.ts\", \"tests/**/*.test.ts\"],\n+ include: [\"tests/**/*.test.ts\"],\n globals: true,\n coverage: {\n provider: \"v8\",\n- reporter: [\"text\", \"html\"],\n+ reporter: [\"text\", \"json\", \"html\"],\n include: [\"src/**/*.ts\"],\n- exclude: [\"src/**/*.test.ts\"],\n+ exclude: [\n+ \"src/**/*.test.ts\",\n+ \"node_modules/\",\n+ \"dist/**\",\n+ \"vitest.config.ts\",\n+ \"vite.config.ts\",\n+ \"eslint.config.mjs\",\n+ ],\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_DfAYLpocCoZac9ypAKGmkqWa",
|
|
63
|
-
"type": "function",
|
|
64
|
-
"function": {
|
|
65
|
-
"name": "get_release_stats",
|
|
66
|
-
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "call_xSOnstTAkd3u0na18A4rEkHN",
|
|
71
|
-
"type": "function",
|
|
72
|
-
"function": {
|
|
73
|
-
"name": "analyze_commit_patterns",
|
|
74
|
-
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "call_52YQZyqaiSiUdgYrtIqnXtUT",
|
|
79
|
-
"type": "function",
|
|
80
|
-
"function": {
|
|
81
|
-
"name": "get_breaking_changes",
|
|
82
|
-
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"id": "call_sB1QOVLU2Hopmd9axordX1fv",
|
|
87
|
-
"type": "function",
|
|
88
|
-
"function": {
|
|
89
|
-
"name": "get_file_content",
|
|
90
|
-
"arguments": "{\"filePath\": \"package.json\", \"includeLineNumbers\": false}"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"id": "call_hfyYz1eQOPcff97CSOhkoPb7",
|
|
95
|
-
"type": "function",
|
|
96
|
-
"function": {
|
|
97
|
-
"name": "get_file_content",
|
|
98
|
-
"arguments": "{\"filePath\": \"vitest.config.ts\", \"includeLineNumbers\": false}"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"id": "call_mWTvddgoUAl4oG7gW1y88Bct",
|
|
103
|
-
"type": "function",
|
|
104
|
-
"function": {
|
|
105
|
-
"name": "get_file_content",
|
|
106
|
-
"arguments": "{\"filePath\": \"eslint.config.mjs\", \"includeLineNumbers\": false}"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"role": "tool",
|
|
113
|
-
"tool_call_id": "call_DfAYLpocCoZac9ypAKGmkqWa",
|
|
114
|
-
"content": "Total commits: 5\n\nContributors:\n 5\tTim O'Brien\n\n\nFile changes: 7 files changed, 629 insertions(+), 19 deletions(-)\n\nTop 10 most changed files:\n vitest.config.ts | 14 +-\n package.json | 14 +-\n package-lock.json | 608 +++++++++++++++++++++++++++++++++-\n 7 files changed, 629 insertions(+), 19 deletions(-)\n {src => tests}/types.test.ts | 4 +-\n {src => tests}/model-registry.test.ts | 2 +-\n {src => tests}/logger.test.ts | 2 +-\n .kodrdriv-test-cache.json | 4 +-\n",
|
|
115
|
-
"name": "get_release_stats"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"role": "tool",
|
|
119
|
-
"tool_call_id": "call_xSOnstTAkd3u0na18A4rEkHN",
|
|
120
|
-
"content": "Commit types:\n test: 2\n chore: 2\n\nTop keywords in commits:\n tests: 4\n chore: 2\n vitest: 2\n update: 2\n delete: 1\n legacy: 1\n after: 1\n moving: 1\n enable: 1\n coverage: 1\n include: 1\n kodrdriv: 1\n cache: 1\n avoid: 1\n committing: 1",
|
|
121
|
-
"name": "analyze_commit_patterns"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"role": "tool",
|
|
125
|
-
"tool_call_id": "call_52YQZyqaiSiUdgYrtIqnXtUT",
|
|
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_sB1QOVLU2Hopmd9axordX1fv",
|
|
132
|
-
"content": "{\n \"name\": \"@riotprompt/execution\",\n \"version\": \"0.0.2\",\n \"description\": \"LLM execution provider interfaces - no SDK dependencies\",\n \"type\": \"module\",\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./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 }\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_hfyYz1eQOPcff97CSOhkoPb7",
|
|
138
|
-
"content": "import { defineConfig } from \"vitest/config\";\n\nexport default defineConfig({\n test: {\n include: [\"tests/**/*.test.ts\"],\n globals: true,\n coverage: {\n provider: \"v8\",\n reporter: [\"text\", \"json\", \"html\"],\n include: [\"src/**/*.ts\"],\n exclude: [\n \"src/**/*.test.ts\",\n \"node_modules/\",\n \"dist/**\",\n \"vitest.config.ts\",\n \"vite.config.ts\",\n \"eslint.config.mjs\",\n ],\n },\n },\n});\n",
|
|
139
|
-
"name": "get_file_content"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"role": "tool",
|
|
143
|
-
"tool_call_id": "call_mWTvddgoUAl4oG7gW1y88Bct",
|
|
144
|
-
"content": "import { defineConfig, globalIgnores } from \"eslint/config\";\nimport typescriptEslint from \"@typescript-eslint/eslint-plugin\";\nimport importPlugin from \"eslint-plugin-import\";\nimport globals from \"globals\";\nimport tsParser from \"@typescript-eslint/parser\";\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport js from \"@eslint/js\";\nimport { FlatCompat } from \"@eslint/eslintrc\";\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = path.dirname(__filename);\nconst compat = new FlatCompat({\n baseDirectory: __dirname,\n recommendedConfig: js.configs.recommended,\n allConfig: js.configs.all\n});\n\nexport default defineConfig([\n globalIgnores([\n \"dist/**\",\n \"node_modules/**\",\n \"**/*.test.ts\",\n ]),\n {\n extends: compat.extends(\"eslint:recommended\", \"plugin:@typescript-eslint/recommended\"),\n\n plugins: {\n \"@typescript-eslint\": typescriptEslint,\n \"import\": importPlugin,\n },\n\n languageOptions: {\n globals: {\n ...globals.node,\n },\n\n parser: tsParser,\n ecmaVersion: \"latest\",\n sourceType: \"module\",\n },\n\n rules: {\n \"@typescript-eslint/no-explicit-any\": \"off\",\n \"@typescript-eslint/explicit-function-return-type\": \"off\",\n\n \"@typescript-eslint/no-unused-vars\": [\"warn\", {\n argsIgnorePattern: \"^_\",\n }],\n\n indent: [\"error\", 4, {\n SwitchCase: 1,\n }],\n\n \"import/extensions\": [\"error\", \"ignorePackages\", {\n \"js\": \"always\",\n \"ts\": \"never\"\n }],\n\n \"no-console\": [\"error\"],\n },\n }]);\n\n",
|
|
145
|
-
"name": "get_file_content"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"role": "assistant",
|
|
149
|
-
"content": "RELEASE_NOTES:\n{\n \"title\": \"@riotprompt/execution v0.0.2 — test suite moved to tests/ and coverage enabled by default\",\n \"body\": \"## Summary\\nThis release focuses on developer tooling: it reorganizes the unit test layout, enables Vitest v8 coverage reporting, and tightens up publish/test scripts.\\n\\n## Changes\\n\\n### Tests: move to `tests/`\\n- Unit tests were moved from `src/*.test.ts` into `tests/`.\\n- Legacy `src/*.test.ts` files were removed after the move.\\n- Test imports were updated to reference `../src/...` instead of relative imports from within `src/`.\\n\\n**Why it matters:** keeps source files and tests separated, simplifies coverage targeting, and avoids mixing production and test code under `src/`.\\n\\n### Coverage: enabled with V8 provider\\n- `npm test` now runs `vitest run --coverage` (coverage is on by default).\\n- Added `@vitest/coverage-v8` and configured coverage output:\\n - Reporters: `text`, `json`, and `html`\\n - Coverage includes `src/**/*.ts`\\n - Expanded excludes to avoid counting build output and config files (e.g. `dist/**`, `node_modules/`, `vitest.config.ts`, `vite.config.ts`, `eslint.config.mjs`).\\n\\n**Why it matters:** makes coverage available in CI and locally without extra flags, and produces a machine-readable JSON report.\\n\\n### Package scripts and publishing hygiene\\n- Added `clean` script (`rm -rf dist`).\\n- Added `prepublishOnly` to ensure a clean, fresh build when publishing (`clean` + `build`).\\n- Added `precommit` convenience script (`lint` + `test`).\\n\\n**Impact for developers:**\\n- Publishing will now always rebuild from a clean `dist/` state.\\n- Running tests will generate coverage artifacts and may take slightly longer.\\n\\n### Metadata / housekeeping\\n- Bumped package version: `0.0.1` → `0.0.2`.\\n- Repository URL changed from `git+https://...` to `https://...`.\\n- Test cache metadata file (`.kodrdriv-test-cache.json`) was updated (no runtime impact).\\n\\n## Breaking changes\\n- No runtime/API breaking changes were detected in this range.\\n- Developer/CI consideration: if your workflows assumed tests lived under `src/**` or expected `npm test` to run without coverage, update them accordingly.\"\n}"
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
</details>
|
|
155
|
-
|
|
156
|
-
## Generated Release Notes
|
|
157
|
-
|
|
158
|
-
### Title
|
|
159
|
-
```
|
|
160
|
-
@riotprompt/execution v0.0.2 — test suite moved to tests/ and coverage enabled by default
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
### Body
|
|
164
|
-
```markdown
|
|
165
|
-
## Summary
|
|
166
|
-
This release focuses on developer tooling: it reorganizes the unit test layout, enables Vitest v8 coverage reporting, and tightens up publish/test scripts.
|
|
167
|
-
|
|
168
|
-
## Changes
|
|
169
|
-
|
|
170
|
-
### Tests: move to `tests/`
|
|
171
|
-
- Unit tests were moved from `src/*.test.ts` into `tests/`.
|
|
172
|
-
- Legacy `src/*.test.ts` files were removed after the move.
|
|
173
|
-
- Test imports were updated to reference `../src/...` instead of relative imports from within `src/`.
|
|
174
|
-
|
|
175
|
-
**Why it matters:** keeps source files and tests separated, simplifies coverage targeting, and avoids mixing production and test code under `src/`.
|
|
176
|
-
|
|
177
|
-
### Coverage: enabled with V8 provider
|
|
178
|
-
- `npm test` now runs `vitest run --coverage` (coverage is on by default).
|
|
179
|
-
- Added `@vitest/coverage-v8` and configured coverage output:
|
|
180
|
-
- Reporters: `text`, `json`, and `html`
|
|
181
|
-
- Coverage includes `src/**/*.ts`
|
|
182
|
-
- Expanded excludes to avoid counting build output and config files (e.g. `dist/**`, `node_modules/`, `vitest.config.ts`, `vite.config.ts`, `eslint.config.mjs`).
|
|
183
|
-
|
|
184
|
-
**Why it matters:** makes coverage available in CI and locally without extra flags, and produces a machine-readable JSON report.
|
|
185
|
-
|
|
186
|
-
### Package scripts and publishing hygiene
|
|
187
|
-
- Added `clean` script (`rm -rf dist`).
|
|
188
|
-
- Added `prepublishOnly` to ensure a clean, fresh build when publishing (`clean` + `build`).
|
|
189
|
-
- Added `precommit` convenience script (`lint` + `test`).
|
|
190
|
-
|
|
191
|
-
**Impact for developers:**
|
|
192
|
-
- Publishing will now always rebuild from a clean `dist/` state.
|
|
193
|
-
- Running tests will generate coverage artifacts and may take slightly longer.
|
|
194
|
-
|
|
195
|
-
### Metadata / housekeeping
|
|
196
|
-
- Bumped package version: `0.0.1` → `0.0.2`.
|
|
197
|
-
- Repository URL changed from `git+https://...` to `https://...`.
|
|
198
|
-
- Test cache metadata file (`.kodrdriv-test-cache.json`) was updated (no runtime impact).
|
|
199
|
-
|
|
200
|
-
## Breaking changes
|
|
201
|
-
- No runtime/API breaking changes were detected in this range.
|
|
202
|
-
- Developer/CI consideration: if your workflows assumed tests lived under `src/**` or expected `npm test` to run without coverage, update them accordingly.
|
|
203
|
-
```
|