-
Notifications
You must be signed in to change notification settings - Fork 75
chore: add AI-powered changelog generation system #838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
commit: |
🚀 Website Preview DeployedYour website preview is ready! Preview URL: https://511670f3-alchemy-website.alchemy-run.workers.dev This preview was built from commit 5cabd29 🤖 This comment will be updated automatically when you push new commits to this PR. |
If there are no significant changes, just say "No significant changes since ${latestTag}".`; | ||
|
||
const claudeResult = await $`claude ${prompt}`.text(); | ||
const result = { text: claudeResult.trim() }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to parse this?
also, should we look at claude code's typescript sdk? https://www.npmjs.com/package/@anthropic-ai/claude-code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good question. The main reason why I opted for using the cli directly is because it's likely that whoever is running this (one of us) already has claude code installed and authenticated. So far as I can tell the SDK requires an API token.
In terms of parsing, no, I don't think so. It's just a text content response.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is claude guaranteed to produce a pure markdown file or might it also add prose around it?
E.g.
Here is your markdown file:
```md
(actual content we want)
```
d7382b4
to
294a003
Compare
f1acd44
to
195ee2e
Compare
294a003
to
b989f96
Compare
a3a4abd
to
1eeb802
Compare
This PR introduces an AI-powered changelog generation system that streamlines the release process and maintains up-to-date changelog documentation.
Usage