From c662d6518214a71b186e6b9a14f165067b9a45ed Mon Sep 17 00:00:00 2001 From: konard Date: Tue, 13 Jan 2026 22:03:41 +0100 Subject: [PATCH 1/3] Initial commit with task details Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/link-assistant/agent/issues/121 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..1c85482 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/link-assistant/agent/issues/121 +Your prepared branch: issue-121-9494c525351a +Your prepared working directory: /tmp/gh-issue-solver-1768338219773 + +Proceed. From afcd2f83ac180e5668eed315e915a2f0bac917a6 Mon Sep 17 00:00:00 2001 From: konard Date: Tue, 13 Jan 2026 22:07:35 +0100 Subject: [PATCH 2/3] fix: align GitHub release style with template repository - Fix release name format to use [js] prefix (e.g., "[js] 0.8.4") - Fix changelog path for js releases to use js/CHANGELOG.md - Ensures releases have proper descriptions with PR links and npm badges Fixes #121 Co-Authored-By: Claude Opus 4.5 --- js/.changeset/fix-release-style.md | 11 +++++++++++ scripts/create-github-release.mjs | 17 ++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 js/.changeset/fix-release-style.md diff --git a/js/.changeset/fix-release-style.md b/js/.changeset/fix-release-style.md new file mode 100644 index 0000000..d09eb9d --- /dev/null +++ b/js/.changeset/fix-release-style.md @@ -0,0 +1,11 @@ +--- +'@link-assistant/agent': patch +--- + +Fix GitHub release style to match template repository standards + +- Fix release name format to use `[js]` prefix instead of `js ` (e.g., `[js] 0.8.4` instead of `js 0.8.4`) +- Fix changelog path for js releases to use `js/CHANGELOG.md` instead of root `CHANGELOG.md` +- This ensures release descriptions contain actual changelog content with PR links and npm badges + +Fixes #121 diff --git a/scripts/create-github-release.mjs b/scripts/create-github-release.mjs index 749a73a..69fcc4f 100644 --- a/scripts/create-github-release.mjs +++ b/scripts/create-github-release.mjs @@ -61,12 +61,20 @@ console.log(`Creating GitHub release for ${tag}...`); try { // Read CHANGELOG.md - check prefix for appropriate changelog location - const changelogPath = prefix === 'rust-' ? './rust/CHANGELOG.md' : './CHANGELOG.md'; + // js- prefix uses js/CHANGELOG.md, rust- prefix uses rust/CHANGELOG.md, others use root + const changelogPath = + prefix === 'rust-' + ? './rust/CHANGELOG.md' + : prefix === 'js-' + ? './js/CHANGELOG.md' + : './CHANGELOG.md'; let changelog = ''; try { changelog = readFileSync(changelogPath, 'utf8'); } catch { - console.log(`No changelog found at ${changelogPath}, using default release notes`); + console.log( + `No changelog found at ${changelogPath}, using default release notes` + ); } // Extract changelog entry for this version @@ -87,7 +95,10 @@ try { // Create release using GitHub API with JSON input // This avoids shell escaping issues that occur when passing text via command-line arguments // (Previously caused apostrophes like "didn't" to appear as "didn'''" in releases) - const releaseName = prefix ? `${prefix.replace(/-$/, '')} ${version}` : version; + // Release name format: "[prefix] version" for prefixed releases (e.g., "[js] 0.8.3"), just version otherwise + const releaseName = prefix + ? `[${prefix.replace(/-$/, '')}] ${version}` + : version; const payload = JSON.stringify({ tag_name: tag, name: releaseName, From 9c45b0443b7b72c1782fd5721d30debfe107af09 Mon Sep 17 00:00:00 2001 From: konard Date: Tue, 13 Jan 2026 22:11:14 +0100 Subject: [PATCH 3/3] chore: remove automated setup file Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 1c85482..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/link-assistant/agent/issues/121 -Your prepared branch: issue-121-9494c525351a -Your prepared working directory: /tmp/gh-issue-solver-1768338219773 - -Proceed.