@kjerneverk/agentic 1.0.5-dev.0
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/.kodrdriv-test-cache.json +6 -0
- package/LICENSE +18 -0
- package/README.md +167 -0
- package/SECURITY.md +94 -0
- package/dist/index.d.ts +770 -0
- package/dist/index.js +1822 -0
- package/dist/index.js.map +1 -0
- package/output/kodrdriv/260110-1207-commit-message.md +1 -0
- package/output/kodrdriv/260110-1208-commit-message.md +1 -0
- package/output/kodrdriv/260110-1210-release-notes.md +27 -0
- package/output/kodrdriv/260110-1232-commit-message.md +1 -0
- package/output/kodrdriv/260110-1234-release-notes.md +46 -0
- package/output/kodrdriv/260110-1308-release-notes.md +20 -0
- package/output/kodrdriv/260112-2155-commit-message.md +1 -0
- package/output/kodrdriv/260112-2156-release-notes.md +33 -0
- package/output/kodrdriv/260112-2340-commit-message.md +1 -0
- package/output/kodrdriv/260113-0017-commit-message.md +1 -0
- package/output/kodrdriv/260113-0017-release-notes.md +53 -0
- package/output/kodrdriv/260115-0616-commit-message.md +4 -0
- package/output/kodrdriv/260115-0739-commit-message.md +1 -0
- package/output/kodrdriv/260115-0746-commit-message.md +1 -0
- package/output/kodrdriv/260115-0747-release-notes.md +91 -0
- package/output/kodrdriv/260126-0851-commit-message.md +1 -0
- package/output/kodrdriv/260128-0900-commit-message.md +1 -0
- package/output/kodrdriv/260128-0900-release-notes.md +29 -0
- package/output/kodrdriv/260128-0905-commit-message.md +1 -0
- package/output/kodrdriv/260128-0913-commit-message.md +1 -0
- package/output/kodrdriv/260128-0913-release-notes.md +23 -0
- package/output/kodrdriv/260128-0919-commit-message.md +1 -0
- package/output/kodrdriv/260128-0919-release-notes.md +21 -0
- package/output/kodrdriv/260130-1642-commit-message.md +1 -0
- package/output/kodrdriv/260130-1642-release-notes.md +29 -0
- package/output/kodrdriv/RELEASE_NOTES.md +27 -0
- package/output/kodrdriv/RELEASE_TITLE.md +1 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-10T19-18-11-913Z.md +187 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-10T20-03-27-409Z.md +121 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-10T20-07-27-813Z.md +114 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-10T20-08-06-279Z.md +97 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-10T20-32-25-791Z.md +114 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-13T05-55-30-733Z.md +97 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-13T07-40-28-878Z.md +97 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-13T08-17-22-230Z.md +114 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-14T14-55-10-122Z.md +177 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-15T14-16-05-605Z.md +100 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-15T15-39-32-200Z.md +97 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-15T15-46-32-840Z.md +114 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-26T16-51-00-446Z.md +152 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-31T00-38-59-868Z.md +236 -0
- package/output/kodrdriv/agentic-reflection-commit-2026-01-31T00-42-31-993Z.md +152 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-10T20-10-49-531Z.md +329 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-10T20-34-32-038Z.md +319 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-10T21-08-36-314Z.md +168 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-13T05-56-04-802Z.md +264 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-13T08-17-56-556Z.md +255 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-15T15-47-32-509Z.md +460 -0
- package/output/kodrdriv/agentic-reflection-release-2026-01-31T00-42-59-683Z.md +400 -0
- package/package.json +59 -0
- package/package.json~ +58 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# Agentic Workflow - Self-Reflection Report
|
|
2
|
+
|
|
3
|
+
Generated: 2026-01-13T08:17:56.556Z
|
|
4
|
+
|
|
5
|
+
## Execution Summary
|
|
6
|
+
|
|
7
|
+
- **Iterations**: 3
|
|
8
|
+
- **Tool Calls**: 8
|
|
9
|
+
- **Unique Tools**: 6
|
|
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% | 1ms |
|
|
16
|
+
| get_release_stats | 1 | 1 | 0 | 100.0% | 38ms |
|
|
17
|
+
| analyze_commit_patterns | 1 | 1 | 0 | 100.0% | 10ms |
|
|
18
|
+
| get_breaking_changes | 1 | 1 | 0 | 100.0% | 20ms |
|
|
19
|
+
| get_tag_history | 1 | 1 | 0 | 100.0% | 75ms |
|
|
20
|
+
| get_file_dependencies | 1 | 1 | 0 | 100.0% | 42ms |
|
|
21
|
+
|
|
22
|
+
### Tool Performance Insights
|
|
23
|
+
|
|
24
|
+
**Most Frequently Used:**
|
|
25
|
+
- get_release_stats: 1 calls
|
|
26
|
+
- analyze_commit_patterns: 1 calls
|
|
27
|
+
- get_breaking_changes: 1 calls
|
|
28
|
+
|
|
29
|
+
## Recommendations for Improvement
|
|
30
|
+
|
|
31
|
+
- **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.
|
|
32
|
+
|
|
33
|
+
## Detailed Execution Timeline
|
|
34
|
+
|
|
35
|
+
| Time | Iteration | Tool | Result | Duration |
|
|
36
|
+
|------|-----------|------|--------|----------|
|
|
37
|
+
| 12:17:28 AM | 1 | get_release_stats | ✅ Success | 38ms |
|
|
38
|
+
| 12:17:28 AM | 1 | analyze_commit_patterns | ✅ Success | 10ms |
|
|
39
|
+
| 12:17:28 AM | 1 | get_breaking_changes | ✅ Success | 20ms |
|
|
40
|
+
| 12:17:29 AM | 1 | get_tag_history | ✅ Success | 75ms |
|
|
41
|
+
| 12:17:31 AM | 2 | get_file_content | ✅ Success | 1ms |
|
|
42
|
+
| 12:17:31 AM | 2 | get_file_content | ✅ Success | 2ms |
|
|
43
|
+
| 12:17:31 AM | 2 | get_file_content | ✅ Success | 0ms |
|
|
44
|
+
| 12:17:31 AM | 2 | get_file_dependencies | ✅ Success | 42ms |
|
|
45
|
+
|
|
46
|
+
## Conversation History
|
|
47
|
+
|
|
48
|
+
<details>
|
|
49
|
+
<summary>Click to expand full agentic interaction</summary>
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
[
|
|
53
|
+
{
|
|
54
|
+
"role": "system",
|
|
55
|
+
"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."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"role": "user",
|
|
59
|
+
"content": "I need comprehensive release notes for changes from main to HEAD.\n\n## Commit Log\ncommit 392bf01f0cb90d3ee32533229aa7db57357bb01f\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Tue Jan 13 00:17:22 2026 -0800\n\n chore(release): bump version to 0.0.5\n\ncommit e72f1ffedea208032fc7028c45b52b79d446a71e\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Mon Jan 12 23:40:28 2026 -0800\n\n chore(build): ship ESM-only bundle and target Node 24 / ES2024\n\ncommit 4f7b72448aa54395aafc7f7f555ccbe7e7a5c6df\nAuthor: Tim O'Brien <tobrien@discursive.com>\nDate: Mon Jan 12 21:57:52 2026 -0800\n\n chore: bump to v0.0.5-dev.0\n\n\n## Diff Summary\ndiff --git a/package.json b/package.json\nindex 8502090..54cdb28 100644\n--- a/package.json\n+++ b/package.json\n@@ -1,18 +1,19 @@\n {\n \"name\": \"@riotprompt/agentic\",\n- \"version\": \"0.0.4\",\n+ \"version\": \"0.0.5\",\n \"description\": \"Shared agentic framework for multi-turn AI conversations and tool orchestration\",\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 98476af..f9a5289 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: \"agentic\",\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: [\"zod\", \"execution\"],\n@@ -18,4 +17,3 @@ export default defineConfig({\n },\n plugins: [dts({ rollupTypes: true })],\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."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"role": "assistant",
|
|
63
|
+
"content": null,
|
|
64
|
+
"tool_calls": [
|
|
65
|
+
{
|
|
66
|
+
"id": "call_51pH8fbewPGFC83id1dxaFPX",
|
|
67
|
+
"type": "function",
|
|
68
|
+
"function": {
|
|
69
|
+
"name": "get_release_stats",
|
|
70
|
+
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "call_NAaRhnKCjWtWyQjs07micNut",
|
|
75
|
+
"type": "function",
|
|
76
|
+
"function": {
|
|
77
|
+
"name": "analyze_commit_patterns",
|
|
78
|
+
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "call_nlGwG2xsrietvoNWHigyIyKM",
|
|
83
|
+
"type": "function",
|
|
84
|
+
"function": {
|
|
85
|
+
"name": "get_breaking_changes",
|
|
86
|
+
"arguments": "{\"fromRef\": \"main\", \"toRef\": \"HEAD\"}"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "call_r1hLG7ZEP8M23QeWTFibXtgG",
|
|
91
|
+
"type": "function",
|
|
92
|
+
"function": {
|
|
93
|
+
"name": "get_tag_history",
|
|
94
|
+
"arguments": "{\"limit\": 10, \"pattern\": \"v*\"}"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"role": "tool",
|
|
101
|
+
"tool_call_id": "call_51pH8fbewPGFC83id1dxaFPX",
|
|
102
|
+
"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",
|
|
103
|
+
"name": "get_release_stats"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"role": "tool",
|
|
107
|
+
"tool_call_id": "call_NAaRhnKCjWtWyQjs07micNut",
|
|
108
|
+
"content": "Commit types:\n chore: 3\n\nTop keywords in commits:\n chore: 3\n release: 1\n version: 1\n build: 1\n bundle: 1\n target: 1\n es2024: 1",
|
|
109
|
+
"name": "analyze_commit_patterns"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"role": "tool",
|
|
113
|
+
"tool_call_id": "call_nlGwG2xsrietvoNWHigyIyKM",
|
|
114
|
+
"content": "No obvious breaking changes detected. Manual review recommended for API changes.",
|
|
115
|
+
"name": "get_breaking_changes"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"role": "tool",
|
|
119
|
+
"tool_call_id": "call_r1hLG7ZEP8M23QeWTFibXtgG",
|
|
120
|
+
"content": "Recent release tags:\nv0.0.4: 2026-01-12 21:56:42 -0800 - chore(release): bump version to 0.0.4 (#7)\nv0.0.4-dev.0: tag v0.0.4-dev.0\nTagger: Tim O'Brien <tobrien@discursive.com>\n\n0.0.4-dev.0\n2026-01-10 13:10:07 -0800 - 0.0.4-dev.0\nv0.0.3: 2026-01-10 13:09:13 -0800 - Adding appropriate repository.url (#6)\nv0.0.3-dev.0: tag v0.0.3-dev.0\nTagger: Tim O'Brien <tobrien@discursive.com>\n\n0.0.3-dev.0\n2026-01-10 12:23:27 -0800 - 0.0.3-dev.0\nv0.0.2: 2026-01-10 12:10:54 -0800 - chore(release): bump version to 0.0.2 (#4)\nv0.0.2-dev.0: tag v0.0.2-dev.0\nTagger: Tim O'Brien <tobrien@discursive.com>\n\n0.0.2-dev.0\n2026-01-10 11:19:56 -0800 - 0.0.2-dev.0",
|
|
121
|
+
"name": "get_tag_history"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"role": "assistant",
|
|
125
|
+
"content": null,
|
|
126
|
+
"tool_calls": [
|
|
127
|
+
{
|
|
128
|
+
"id": "call_AeKeaR9nzhQapHBuwuD5DZv3",
|
|
129
|
+
"type": "function",
|
|
130
|
+
"function": {
|
|
131
|
+
"name": "get_file_content",
|
|
132
|
+
"arguments": "{\"filePath\": \"package.json\", \"includeLineNumbers\": false}"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "call_1x0nrQRINBxQGUcs1FyLhfzt",
|
|
137
|
+
"type": "function",
|
|
138
|
+
"function": {
|
|
139
|
+
"name": "get_file_content",
|
|
140
|
+
"arguments": "{\"filePath\": \"vite.config.ts\", \"includeLineNumbers\": false}"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "call_YrskiMUjoBYs4XUp8WdPEoNg",
|
|
145
|
+
"type": "function",
|
|
146
|
+
"function": {
|
|
147
|
+
"name": "get_file_content",
|
|
148
|
+
"arguments": "{\"filePath\": \"tsconfig.json\", \"includeLineNumbers\": false}"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "call_6wZuSdzepeYKCzT1lGJN7uot",
|
|
153
|
+
"type": "function",
|
|
154
|
+
"function": {
|
|
155
|
+
"name": "get_file_dependencies",
|
|
156
|
+
"arguments": "{\"filePaths\": [\"vite.config.ts\", \"tsconfig.json\", \"package.json\"]}"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"role": "tool",
|
|
163
|
+
"tool_call_id": "call_AeKeaR9nzhQapHBuwuD5DZv3",
|
|
164
|
+
"content": "{\n \"name\": \"@riotprompt/agentic\",\n \"version\": \"0.0.5\",\n \"description\": \"Shared agentic framework for multi-turn AI conversations and tool orchestration\",\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 \"agentic\",\n \"ai\",\n \"llm\",\n \"conversation\",\n \"tools\",\n \"multi-turn\",\n \"orchestration\"\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/agentic\"\n },\n \"dependencies\": {\n \"zod\": \"^4.3.5\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^25.0.6\",\n \"@typescript-eslint/eslint-plugin\": \"^8.33.1\",\n \"@typescript-eslint/parser\": \"^8.33.1\",\n \"@vitest/coverage-v8\": \"^4.0.16\",\n \"eslint\": \"^9.28.0\",\n \"globals\": \"^17.0.0\",\n \"typescript\": \"^5.8.3\",\n \"vite\": \"^7.0.4\",\n \"vite-plugin-dts\": \"^4.5.4\",\n \"vitest\": \"^4.0.16\"\n }\n}\n",
|
|
165
|
+
"name": "get_file_content"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"role": "tool",
|
|
169
|
+
"tool_call_id": "call_1x0nrQRINBxQGUcs1FyLhfzt",
|
|
170
|
+
"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: \"agentic\",\n fileName: () => \"index.js\",\n formats: [\"es\"],\n },\n rollupOptions: {\n external: [\"zod\", \"execution\"],\n },\n sourcemap: true,\n minify: false,\n },\n plugins: [dts({ rollupTypes: true })],\n});\n",
|
|
171
|
+
"name": "get_file_content"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"role": "tool",
|
|
175
|
+
"tool_call_id": "call_YrskiMUjoBYs4XUp8WdPEoNg",
|
|
176
|
+
"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",
|
|
177
|
+
"name": "get_file_content"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"role": "tool",
|
|
181
|
+
"tool_call_id": "call_6wZuSdzepeYKCzT1lGJN7uot",
|
|
182
|
+
"content": "No files found that import the specified files",
|
|
183
|
+
"name": "get_file_dependencies"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"role": "assistant",
|
|
187
|
+
"content": "RELEASE_NOTES:\n{\n \"title\": \"@riotprompt/agentic v0.0.5 — ESM-only distribution, Node 24+ / ES2024 target\",\n \"body\": \"## Overview\\nThis release is primarily a packaging/build update. The library now ships **ESM-only** output and raises the runtime baseline to **Node.js 24+** while targeting **ES2024**.\\n\\nThere are **no source/API changes** in this release range—changes are limited to `package.json`, `vite.config.ts`, and `tsconfig.json`.\\n\\n## Breaking changes\\n### ESM-only distribution (CommonJS removed)\\n- The package no longer builds or publishes a CommonJS bundle (`dist/index.cjs`).\\n- `package.json` no longer provides an `exports[\\\".\\\"].require` entry.\\n\\n**Impact:**\\n- Consumers using `require(\\\"@riotprompt/agentic\\\")` will fail.\\n\\n**Migration:**\\n- Use ESM import:\\n ```js\\n import { ... } from \\\"@riotprompt/agentic\\\";\\n ```\\n- If you are in a CommonJS codebase, use dynamic import:\\n ```js\\n const mod = await import(\\\"@riotprompt/agentic\\\");\\n ```\\n (or convert the consuming project/package to ESM).\\n\\n### Node engine requirement raised to >= 24\\n- `package.json` now declares:\\n - `engines.node: \\\">=24.0.0\\\"`\\n\\n**Impact:**\\n- npm/yarn/pnpm may block installation (or warn, depending on configuration) on Node versions older than 24.\\n\\n## Build & distribution changes\\n- **Entry points simplified to ESM:**\\n - `main` now points to `./dist/index.js` (previously `./dist/index.cjs`).\\n - `exports[\\\".\\\"].import` remains `./dist/index.js`.\\n- **Vite library build now outputs only ES format:**\\n - `formats: [\\\"es\\\"]`\\n - `fileName: () => \\\"index.js\\\"`\\n- **TypeScript target updated to ES2024:**\\n - `compilerOptions.target: \\\"ES2024\\\"`\\n - `compilerOptions.lib: [\\\"ES2024\\\"]`\\n\\n## Why this matters\\n- Removes the complexity and ambiguity of dual ESM/CJS publishing.\\n- Aligns the build output with modern Node runtimes and ES2024 language/library features.\\n- Makes consumption consistent for ESM-first projects.\\n\\n## Upgrade checklist\\n- Ensure CI/runtime is running **Node 24+**.\\n- Update any CommonJS usage (`require`) to ESM `import` or dynamic `import()`.\\n- If you had tooling that expected `dist/index.cjs`, update it to reference `dist/index.js` and ESM semantics.\\n\"\n}"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
</details>
|
|
193
|
+
|
|
194
|
+
## Generated Release Notes
|
|
195
|
+
|
|
196
|
+
### Title
|
|
197
|
+
```
|
|
198
|
+
@riotprompt/agentic v0.0.5 — ESM-only distribution, Node 24+ / ES2024 target
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Body
|
|
202
|
+
```markdown
|
|
203
|
+
## Overview
|
|
204
|
+
This release is primarily a packaging/build update. The library now ships **ESM-only** output and raises the runtime baseline to **Node.js 24+** while targeting **ES2024**.
|
|
205
|
+
|
|
206
|
+
There are **no source/API changes** in this release range—changes are limited to `package.json`, `vite.config.ts`, and `tsconfig.json`.
|
|
207
|
+
|
|
208
|
+
## Breaking changes
|
|
209
|
+
### ESM-only distribution (CommonJS removed)
|
|
210
|
+
- The package no longer builds or publishes a CommonJS bundle (`dist/index.cjs`).
|
|
211
|
+
- `package.json` no longer provides an `exports["."].require` entry.
|
|
212
|
+
|
|
213
|
+
**Impact:**
|
|
214
|
+
- Consumers using `require("@riotprompt/agentic")` will fail.
|
|
215
|
+
|
|
216
|
+
**Migration:**
|
|
217
|
+
- Use ESM import:
|
|
218
|
+
```js
|
|
219
|
+
import { ... } from "@riotprompt/agentic";
|
|
220
|
+
```
|
|
221
|
+
- If you are in a CommonJS codebase, use dynamic import:
|
|
222
|
+
```js
|
|
223
|
+
const mod = await import("@riotprompt/agentic");
|
|
224
|
+
```
|
|
225
|
+
(or convert the consuming project/package to ESM).
|
|
226
|
+
|
|
227
|
+
### Node engine requirement raised to >= 24
|
|
228
|
+
- `package.json` now declares:
|
|
229
|
+
- `engines.node: ">=24.0.0"`
|
|
230
|
+
|
|
231
|
+
**Impact:**
|
|
232
|
+
- npm/yarn/pnpm may block installation (or warn, depending on configuration) on Node versions older than 24.
|
|
233
|
+
|
|
234
|
+
## Build & distribution changes
|
|
235
|
+
- **Entry points simplified to ESM:**
|
|
236
|
+
- `main` now points to `./dist/index.js` (previously `./dist/index.cjs`).
|
|
237
|
+
- `exports["."].import` remains `./dist/index.js`.
|
|
238
|
+
- **Vite library build now outputs only ES format:**
|
|
239
|
+
- `formats: ["es"]`
|
|
240
|
+
- `fileName: () => "index.js"`
|
|
241
|
+
- **TypeScript target updated to ES2024:**
|
|
242
|
+
- `compilerOptions.target: "ES2024"`
|
|
243
|
+
- `compilerOptions.lib: ["ES2024"]`
|
|
244
|
+
|
|
245
|
+
## Why this matters
|
|
246
|
+
- Removes the complexity and ambiguity of dual ESM/CJS publishing.
|
|
247
|
+
- Aligns the build output with modern Node runtimes and ES2024 language/library features.
|
|
248
|
+
- Makes consumption consistent for ESM-first projects.
|
|
249
|
+
|
|
250
|
+
## Upgrade checklist
|
|
251
|
+
- Ensure CI/runtime is running **Node 24+**.
|
|
252
|
+
- Update any CommonJS usage (`require`) to ESM `import` or dynamic `import()`.
|
|
253
|
+
- If you had tooling that expected `dist/index.cjs`, update it to reference `dist/index.js` and ESM semantics.
|
|
254
|
+
|
|
255
|
+
```
|