Skip to content

Commit 500f0f2

Browse files
anandgupta42claude
andcommitted
release: v0.1.5
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dd7374a commit 500f0f2

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.5] - 2026-03-02
9+
10+
### Added
11+
12+
- Anthropic OAuth plugin ported in-tree
13+
- Docs site switched from Jekyll to Material for MkDocs
14+
15+
### Fixed
16+
17+
- Build script: restore `.trim()` on models API JSON to prevent syntax error in generated `models-snapshot.ts`
18+
- Build script: fix archive path for scoped package names in release tarball/zip creation
19+
820
## [0.1.0] - 2025-06-01
921

1022
### Added

packages/altimate-code/script/build.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const modelsData = process.env.MODELS_DEV_API_JSON
2222
: await fetch(`${modelsUrl}/api.json`).then((x) => x.text())
2323
await Bun.write(
2424
path.join(dir, "src/provider/models-snapshot.ts"),
25-
`// Auto-generated by build.ts - do not edit\nexport const snapshot = ${modelsData} as const\n`,
25+
`// Auto-generated by build.ts - do not edit\nexport const snapshot = ${modelsData.trim()} as const\n`,
2626
)
2727
console.log("Generated models-snapshot.ts")
2828

@@ -212,13 +212,14 @@ for (const item of targets) {
212212

213213
if (Script.release) {
214214
for (const key of Object.keys(binaries)) {
215+
const archiveName = key.replace(/^@altimate\//, "")
216+
const archivePath = path.resolve("dist", archiveName)
215217
if (key.includes("linux")) {
216-
await $`tar -czf ../../${key}.tar.gz *`.cwd(`dist/${key}/bin`)
218+
await $`tar -czf ${archivePath}.tar.gz *`.cwd(`dist/${key}/bin`)
217219
} else {
218-
await $`zip -r ../../${key}.zip *`.cwd(`dist/${key}/bin`)
220+
await $`zip -r ${archivePath}.zip *`.cwd(`dist/${key}/bin`)
219221
}
220222
}
221-
await $`gh release upload v${Script.version} ./dist/*.zip ./dist/*.tar.gz --clobber --repo ${process.env.GH_REPO}`
222223
}
223224

224225
export { binaries }

0 commit comments

Comments
 (0)