@kolisachint/hoocode-agent 0.4.63 → 0.4.65
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/CHANGELOG.md +43 -0
- package/README.md +44 -1
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.65] - 2026-06-16
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Release workflows now build and attach a 64-bit Windows standalone binary
|
|
8
|
+
(`hoocode-windows-x64.zip`) to each GitHub release. A `binaries` job in
|
|
9
|
+
`release.yml` and `merge-release.yml` runs the bun-only
|
|
10
|
+
`scripts/build-binaries.sh` (`bun build --compile --target=bun-windows-x64`),
|
|
11
|
+
stages the runtime assets and the koffi native module next to `hoocode.exe`,
|
|
12
|
+
zips them, and uploads the archive to the release.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- `scripts/build-binaries.sh` is now bun-only: dropped the `npm run build` step
|
|
17
|
+
(replaced with `bun run build`) and the obsolete `hoist-bun-deps.mjs` step
|
|
18
|
+
(the hoisted linker pinned in `bunfig.toml` already yields a flat
|
|
19
|
+
`node_modules`). Example sources are copied without their `node_modules` to
|
|
20
|
+
avoid unresolved bun workspace symlinks.
|
|
21
|
+
|
|
22
|
+
## [0.4.64] - 2026-06-16
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- bun CI (`bun-check`/`bun-build`) failed on `main` with TS7016/TS7006 errors
|
|
27
|
+
because `bun install --frozen-lockfile` never installed coding-agent's
|
|
28
|
+
`@types/*` devDeps. The workspace `packages/coding-agent` is named
|
|
29
|
+
`@kolisachint/hoocode-agent`, which collided with the root `package.json`
|
|
30
|
+
self-dependency `@kolisachint/hoocode-agent: ^0.2.0`; bun resolved that name
|
|
31
|
+
to the registry package and dropped the local workspace (and its devDeps)
|
|
32
|
+
from `bun.lock`. Removed the unused root self-dependency (root is private and
|
|
33
|
+
`tsconfig.json` already maps the name to the workspace source) and
|
|
34
|
+
regenerated `bun.lock` so the workspace and its `@types/proper-lockfile` /
|
|
35
|
+
`@types/hosted-git-info` devDeps are captured.
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- `build:bun-binary` script: builds a self-contained standalone executable with
|
|
40
|
+
`bun build --compile` (embeds the Bun runtime; no Node.js/Bun required to run).
|
|
41
|
+
Stages the runtime assets (themes, HTML export templates, docs, examples,
|
|
42
|
+
templates, photon wasm, package.json) next to the executable in
|
|
43
|
+
`dist/bun-binary/`, and supports cross-compilation via `--target` (e.g.
|
|
44
|
+
`bun-linux-x64`, `bun-darwin-arm64`, `bun-windows-x64`).
|
|
45
|
+
|
|
3
46
|
## [0.4.63] - 2026-06-16
|
|
4
47
|
|
|
5
48
|
## [0.4.62] - 2026-06-16
|
package/README.md
CHANGED
|
@@ -286,7 +286,50 @@ export default function (pi: ExtensionAPI) {
|
|
|
286
286
|
|
|
287
287
|
## Standalone binary (optional)
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
### Bun-compiled binary (recommended)
|
|
290
|
+
|
|
291
|
+
`bun build --compile` produces a self-contained executable that embeds the Bun
|
|
292
|
+
runtime, so end users need neither Node.js nor Bun installed. Requires
|
|
293
|
+
[Bun](https://bun.sh) on the build machine.
|
|
294
|
+
|
|
295
|
+
```sh
|
|
296
|
+
cd packages/coding-agent
|
|
297
|
+
bun run build:bun-binary
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
This builds the workspace dependencies, compiles the executable, and stages the
|
|
301
|
+
runtime assets next to it. Output goes to `dist/bun-binary/`:
|
|
302
|
+
|
|
303
|
+
```
|
|
304
|
+
dist/bun-binary/
|
|
305
|
+
hoocode # the executable
|
|
306
|
+
package.json # read for name/version/config
|
|
307
|
+
README.md, CHANGELOG.md
|
|
308
|
+
photon_rs_bg.wasm # image processing
|
|
309
|
+
theme/ # built-in themes
|
|
310
|
+
export-html/ # HTML export templates
|
|
311
|
+
docs/, examples/, templates/
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Distribute the entire `dist/bun-binary/` directory: the assets must sit next to
|
|
315
|
+
the executable (the runtime resolves them relative to `process.execPath`).
|
|
316
|
+
|
|
317
|
+
Cross-compile for another platform with `--target` (the binary is written to
|
|
318
|
+
`dist/bun-binary/<target>/`):
|
|
319
|
+
|
|
320
|
+
```sh
|
|
321
|
+
bun run build:bun-binary -- --target bun-linux-x64
|
|
322
|
+
bun run build:bun-binary -- --target bun-darwin-arm64
|
|
323
|
+
bun run build:bun-binary -- --target bun-windows-x64
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
Supported targets follow Bun's naming: `bun-<os>-<arch>` where `os` is `linux`,
|
|
327
|
+
`darwin`, or `windows` and `arch` is `x64` or `arm64`. Cross-compiled binaries
|
|
328
|
+
are not smoke-tested on the host.
|
|
329
|
+
|
|
330
|
+
### pkg-compiled binary (legacy)
|
|
331
|
+
|
|
332
|
+
Alternatively, install `pkg` to build a Node.js-based self-contained binary:
|
|
290
333
|
|
|
291
334
|
```sh
|
|
292
335
|
npm install -g pkg
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolisachint/hoocode-agent",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.65",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"hoocodeConfig": {
|
|
@@ -38,15 +38,16 @@
|
|
|
38
38
|
"build": "tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js && shx chmod +x bin/hoocode.js && npm run copy-assets",
|
|
39
39
|
"build:full": "npm run embed-templates && npm run build",
|
|
40
40
|
"build:binary": "npm --prefix ../tui run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && npm run copy-binary-assets && pkg . --entry bin/hoocode.js",
|
|
41
|
+
"build:bun-binary": "node scripts/build-bun-binary.mjs",
|
|
41
42
|
"copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
|
|
42
43
|
"copy-binary-assets": "shx cp package.json dist/ && shx cp README.md dist/ && shx cp CHANGELOG.md dist/ && shx mkdir -p dist/theme && shx cp src/modes/interactive/theme/*.json dist/theme/ && shx mkdir -p dist/export-html/vendor && shx cp src/core/export-html/template.html dist/export-html/ && shx cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && shx cp -r docs dist/ && shx cp -r examples dist/ && shx cp ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist/",
|
|
43
44
|
"test": "vitest --run",
|
|
44
45
|
"prepublishOnly": "npm run clean && npm run build"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"@kolisachint/hoocode-agent-core": "^0.4.
|
|
48
|
-
"@kolisachint/hoocode-ai": "^0.4.
|
|
49
|
-
"@kolisachint/hoocode-tui": "^0.4.
|
|
48
|
+
"@kolisachint/hoocode-agent-core": "^0.4.65",
|
|
49
|
+
"@kolisachint/hoocode-ai": "^0.4.65",
|
|
50
|
+
"@kolisachint/hoocode-tui": "^0.4.65",
|
|
50
51
|
"@silvia-odwyer/photon-node": "^0.3.4",
|
|
51
52
|
"chalk": "^5.5.0",
|
|
52
53
|
"cli-highlight": "^2.1.11",
|