@kolisachint/hoocode 0.1.13 → 0.1.15
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/README.md +8 -19
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# hoocode
|
|
2
2
|
|
|
3
|
-
Rust
|
|
3
|
+
hoocode is a coding agent in Rust. It fully replaces the earlier TypeScript build, hoocode-ts (retired 2026-10-10).
|
|
4
4
|
|
|
5
5
|
This is a multi-crate workspace that mirrors the structure of the [pycortex](https://github.com/kolisachint/pycortex) Python migration. Each namespace (`ai`, `agent`, `code`, `tui`) is split into focused, version-locked crates published to crates.io.
|
|
6
6
|
|
|
@@ -38,20 +38,11 @@ npm install -g @kolisachint/hoocode # or: bun add -g @kolisachint/hoocode
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
The package pulls in only the binary for your platform (macOS or Linux, x64 or
|
|
41
|
-
arm64). There is no Windows build
|
|
42
|
-
[hoocode-ts](https://github.com/kolisachint/hoocode-ts).
|
|
41
|
+
arm64). There is no Windows build yet.
|
|
43
42
|
|
|
44
43
|
### From source
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
This Rust build is installed as **`hoocode`**. The TypeScript original is reached as
|
|
49
|
-
**`hoocode-ts`**, a small shim (`scripts/shims/hoocode-ts`) that runs the npm package
|
|
50
|
-
`@kolisachint/hoocode-agent` (a global npm install if present, otherwise `npx`; set
|
|
51
|
-
`HOOCODE_TS_BIN` to point it anywhere else). Only the installed names changed: the crates,
|
|
52
|
-
the cargo binary (`hoocode`), the config directory and the in-app name are unchanged. If you
|
|
53
|
-
also have the TS one installed globally from npm, put the Rust `hoocode` earlier on `PATH`
|
|
54
|
-
(npm's `hoo` alias still runs the TS one).
|
|
45
|
+
The command is **`hoocode`** (alias `hoo`).
|
|
55
46
|
|
|
56
47
|
```bash
|
|
57
48
|
git clone https://github.com/kolisachint/hoocode
|
|
@@ -67,8 +58,7 @@ Plain cargo still works and installs the binary as `hoocode`:
|
|
|
67
58
|
|
|
68
59
|
Download `hoocode-<target>.tar.gz` from the
|
|
69
60
|
[GitHub Releases](https://github.com/kolisachint/hoocode/releases) page and check it
|
|
70
|
-
against `SHA256SUMS`. It holds the `hoocode` binary
|
|
71
|
-
on your `PATH`. Linux builds are static (musl) and run on any distro.
|
|
61
|
+
against `SHA256SUMS`. It holds the `hoocode` binary; put it on your `PATH`. Linux builds are static (musl) and run on any distro.
|
|
72
62
|
|
|
73
63
|
## Usage
|
|
74
64
|
|
|
@@ -97,7 +87,6 @@ cargo build
|
|
|
97
87
|
cargo check --workspace
|
|
98
88
|
|
|
99
89
|
# Run all tests (CI uses nextest; `cargo test --workspace` works too)
|
|
100
|
-
scripts/ci/fetch_hoocode_fixtures.sh # pinned hoocode fixtures a few tests read
|
|
101
90
|
cargo nextest run --workspace
|
|
102
91
|
```
|
|
103
92
|
|
|
@@ -114,7 +103,7 @@ crates.io, off by default). Manual runs: Actions → Release.
|
|
|
114
103
|
The port of hoocode **v0.6.0** (commit `2223437c`) is paused, and `hoocode` is usable as a
|
|
115
104
|
daily coding agent. Phases 7, 8 and 11 are complete. Phase 10 is complete apart from the
|
|
116
105
|
deferred items listed below. Every remaining task is **deferred** by user decision; none is
|
|
117
|
-
in progress. Status per task: `python3 migration/ledger.py status`.
|
|
106
|
+
in progress. Status per task: `python3 archive/migration/ledger.py status`.
|
|
118
107
|
|
|
119
108
|
What works (the pinned hoocode behavior, checked against hoocode itself):
|
|
120
109
|
|
|
@@ -149,8 +138,8 @@ default-bundle system prompt in hoocode also advertises the DocSearch self-knowl
|
|
|
149
138
|
from 12.4, so model requests differ in that one block.
|
|
150
139
|
|
|
151
140
|
The plan and its rationale are in
|
|
152
|
-
[`docs/
|
|
153
|
-
(§0 status, §9 phases), and the handoff log is in `migration/PROGRESS.md`. To resume, take a
|
|
141
|
+
[`archive/docs/ts-to-rust-migration.md`](archive/docs/ts-to-rust-migration.md)
|
|
142
|
+
(§0 status, §9 phases), and the handoff log is in `archive/migration/PROGRESS.md`. To resume, take a
|
|
154
143
|
deferred task out of `deferred` and say "continue migration" (see `CLAUDE.md`).
|
|
155
144
|
|
|
156
145
|
## Quick start
|
|
@@ -163,7 +152,7 @@ hoocode -p "Summarize this repo" # one-shot
|
|
|
163
152
|
```
|
|
164
153
|
|
|
165
154
|
- Config, auth, sessions and settings live in `~/.hoocode` (override with
|
|
166
|
-
`HOOCODE_CODING_AGENT_DIR`)
|
|
155
|
+
`HOOCODE_CODING_AGENT_DIR`). Project overrides go in `./.hoocode/`.
|
|
167
156
|
Data from the pre-1.2 home and project folders is merged in once, with backups
|
|
168
157
|
(`hoocode migrate --dry-run` shows what would change).
|
|
169
158
|
- The settings, `models.json`, `auth.json`, session JSONL and `hoo-config.json` formats match
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolisachint/hoocode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "HooCode, the terminal coding agent (Rust build)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hoocode": "bin/hoocode.js",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"node": ">=18"
|
|
14
14
|
},
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@kolisachint/hoocode-darwin-arm64": "0.1.
|
|
17
|
-
"@kolisachint/hoocode-darwin-x64": "0.1.
|
|
18
|
-
"@kolisachint/hoocode-linux-arm64": "0.1.
|
|
19
|
-
"@kolisachint/hoocode-linux-x64": "0.1.
|
|
16
|
+
"@kolisachint/hoocode-darwin-arm64": "0.1.15",
|
|
17
|
+
"@kolisachint/hoocode-darwin-x64": "0.1.15",
|
|
18
|
+
"@kolisachint/hoocode-linux-arm64": "0.1.15",
|
|
19
|
+
"@kolisachint/hoocode-linux-x64": "0.1.15"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"repository": {
|