@kolisachint/hoocode 0.1.8 → 0.1.10
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/LICENSE +2 -2
- package/README.md +33 -36
- package/package.json +5 -5
package/LICENSE
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 Mario Zechner (original "pi-mono" project — https://github.com/badlogic/pi-mono and https://github.com/earendil-works/pi-mono)
|
|
4
|
-
Copyright (c) 2026 Sachin Koli (HooCode fork — https://github.com/kolisachint/
|
|
4
|
+
Copyright (c) 2026 Sachin Koli (HooCode fork — https://github.com/kolisachint/hoocode)
|
|
5
5
|
|
|
6
|
-
This project ("
|
|
6
|
+
This project ("hoocode") is a Rust migration of the HooCode / pi-mono project by
|
|
7
7
|
Mario Zechner. All upstream copyright and authorship is preserved. Modifications
|
|
8
8
|
and additions made in this fork are released under the same MIT terms below.
|
|
9
9
|
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# hoocode
|
|
2
2
|
|
|
3
3
|
Rust migration of the [HooCode](https://github.com/kolisachint/hoocode-ts) TypeScript coding-agent framework.
|
|
4
4
|
|
|
@@ -8,17 +8,12 @@ This is a multi-crate workspace that mirrors the structure of the [pycortex](htt
|
|
|
8
8
|
|
|
9
9
|
```
|
|
10
10
|
crates/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
cortexcode-ai-types/
|
|
14
|
-
cortexcode-ai-models/
|
|
11
|
+
hoocode-ai-types/
|
|
12
|
+
hoocode-ai-models/
|
|
15
13
|
...
|
|
16
|
-
|
|
17
|
-
cortexcode-agent-core/
|
|
14
|
+
hoocode-agent-core/
|
|
18
15
|
...
|
|
19
|
-
cortexcode-code/ # Code namespace umbrella
|
|
20
16
|
...
|
|
21
|
-
cortexcode-tui/ # TUI namespace umbrella
|
|
22
17
|
...
|
|
23
18
|
```
|
|
24
19
|
|
|
@@ -54,19 +49,19 @@ This Rust build is installed as **`hoocode`**. The TypeScript original is reache
|
|
|
54
49
|
**`hoocode-ts`**, a small shim (`scripts/shims/hoocode-ts`) that runs the npm package
|
|
55
50
|
`@kolisachint/hoocode-agent` (a global npm install if present, otherwise `npx`; set
|
|
56
51
|
`HOOCODE_TS_BIN` to point it anywhere else). Only the installed names changed: the crates,
|
|
57
|
-
the cargo binary (`
|
|
52
|
+
the cargo binary (`hoocode`), the config directory and the in-app name are unchanged. If you
|
|
58
53
|
also have the TS one installed globally from npm, put the Rust `hoocode` earlier on `PATH`
|
|
59
54
|
(npm's `hoo` alias still runs the TS one).
|
|
60
55
|
|
|
61
56
|
```bash
|
|
62
|
-
git clone https://github.com/kolisachint/
|
|
63
|
-
cd
|
|
57
|
+
git clone https://github.com/kolisachint/hoocode
|
|
58
|
+
cd hoocode
|
|
64
59
|
scripts/install.sh # → updates ~/.hoocode/bin/hoocode if installed, else ~/.local/bin
|
|
65
|
-
scripts/install.sh --prefix /usr/local/bin --also-
|
|
60
|
+
scripts/install.sh --prefix /usr/local/bin --also-hoocode # also keep a `hoocode` link
|
|
66
61
|
```
|
|
67
62
|
|
|
68
|
-
Plain cargo still works and installs the binary as `
|
|
69
|
-
`cargo install --path crates/
|
|
63
|
+
Plain cargo still works and installs the binary as `hoocode`:
|
|
64
|
+
`cargo install --path crates/hoocode-code-main --bin hoocode`.
|
|
70
65
|
|
|
71
66
|
### Pre-built binaries
|
|
72
67
|
|
|
@@ -79,17 +74,17 @@ on your `PATH`. Linux builds are static (musl) and run on any distro.
|
|
|
79
74
|
|
|
80
75
|
```bash
|
|
81
76
|
# Single-shot print mode (text or JSON)
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
hoocode -p "Explain this codebase"
|
|
78
|
+
hoocode -p --mode json "Explain this codebase"
|
|
84
79
|
|
|
85
80
|
# Interactive TUI mode
|
|
86
|
-
|
|
81
|
+
hoocode
|
|
87
82
|
|
|
88
83
|
# JSON-RPC server mode
|
|
89
|
-
|
|
84
|
+
hoocode --mode rpc
|
|
90
85
|
|
|
91
|
-
# Subagent mode (used internally by the
|
|
92
|
-
|
|
86
|
+
# Subagent mode (used internally by the Agent tool)
|
|
87
|
+
hoocode --mode subagent --task-id <id>
|
|
93
88
|
```
|
|
94
89
|
|
|
95
90
|
## Development
|
|
@@ -116,7 +111,7 @@ crates.io, off by default). Manual runs: Actions → Release.
|
|
|
116
111
|
|
|
117
112
|
## Migration status (paused 2026-10-01, ready to use)
|
|
118
113
|
|
|
119
|
-
The port of hoocode **v0.6.0** (commit `2223437c`) is paused, and `
|
|
114
|
+
The port of hoocode **v0.6.0** (commit `2223437c`) is paused, and `hoocode` is usable as a
|
|
120
115
|
daily coding agent. Phases 7, 8 and 11 are complete. Phase 10 is complete apart from the
|
|
121
116
|
deferred items listed below. Every remaining task is **deferred** by user decision; none is
|
|
122
117
|
in progress. Status per task: `python3 migration/ledger.py status`.
|
|
@@ -128,10 +123,10 @@ What works (the pinned hoocode behavior, checked against hoocode itself):
|
|
|
128
123
|
- **Providers:** every catalog provider, plus OAuth logins (`/login`) and `models.json`.
|
|
129
124
|
- **Sessions:** AgentSession with compaction, `/new`, `/resume`, `/fork`, `/tree`,
|
|
130
125
|
`--continue`, `--session`, and `/export <file>.jsonl`.
|
|
131
|
-
- **Tools:**
|
|
126
|
+
- **Tools:** Read, Shell, Edit, Write, lexical CodeSearch, TodoWrite, AskUserQuestion, and the
|
|
132
127
|
Yes/No/Always permission prompt.
|
|
133
128
|
- **Agent modes:** ask/plan/build/debug (`/mode`, `/plan`, `/grill`, `/approve`, alt+a).
|
|
134
|
-
- **Subagents:** the
|
|
129
|
+
- **Subagents:** the Agent/AgentOutput tools, the task panel, and the subagent roster.
|
|
135
130
|
- **Resources:** skills, prompt templates and slash commands, AGENTS.md/CLAUDE.md context
|
|
136
131
|
files, themes, settings (`/settings`) and keybindings.
|
|
137
132
|
|
|
@@ -140,9 +135,9 @@ Deferred (not available yet, even though `--help` still lists some of them):
|
|
|
140
135
|
| Area | Ledger task |
|
|
141
136
|
|---|---|
|
|
142
137
|
| MCP servers (`mcp.json`, stdio/HTTP/SSE, OAuth) | 9.1, 10.11 |
|
|
143
|
-
| `
|
|
138
|
+
| `WebFetch` / `WebSearch` (`--enable-webtools`) | 10.2e |
|
|
144
139
|
| Plugins and marketplace (`--enable-plugintools`) | 12.1 |
|
|
145
|
-
| `
|
|
140
|
+
| `hoocode install/remove/update/list` package manager | 12.2 |
|
|
146
141
|
| Code extensions (`-e`, extension flags) | 12.3 |
|
|
147
142
|
| Semantic and hybrid search (`embsearch`). Search is lexical-only. | 12.4 |
|
|
148
143
|
| `/loop`, `/goal` autonomous loop, cron/scheduler | 12.5 |
|
|
@@ -150,25 +145,27 @@ Deferred (not available yet, even though `--help` still lists some of them):
|
|
|
150
145
|
| HTML export and `/share`, `/learn`, canvas, `--team`, voice, telemetry, version check | 12.7 |
|
|
151
146
|
|
|
152
147
|
Known parity gaps: tasks 10.2a/b/c/d/f/g, 10.4c and 10.5 pass Level 1 but not Level 2. The
|
|
153
|
-
default-bundle system prompt in hoocode also advertises the
|
|
148
|
+
default-bundle system prompt in hoocode also advertises the DocSearch self-knowledge tool
|
|
154
149
|
from 12.4, so model requests differ in that one block.
|
|
155
150
|
|
|
156
151
|
The plan and its rationale are in
|
|
157
|
-
[`docs/design/
|
|
152
|
+
[`docs/design/ts-to-rust-migration.md`](docs/design/ts-to-rust-migration.md)
|
|
158
153
|
(§0 status, §9 phases), and the handoff log is in `migration/PROGRESS.md`. To resume, take a
|
|
159
154
|
deferred task out of `deferred` and say "continue migration" (see `CLAUDE.md`).
|
|
160
155
|
|
|
161
156
|
## Quick start
|
|
162
157
|
|
|
163
158
|
```bash
|
|
164
|
-
cargo install --path crates/
|
|
165
|
-
export ANTHROPIC_API_KEY=... # or any provider key from `
|
|
166
|
-
|
|
167
|
-
|
|
159
|
+
cargo install --path crates/hoocode-code-main --bin hoocode # puts `hoocode` on PATH
|
|
160
|
+
export ANTHROPIC_API_KEY=... # or any provider key from `hoocode --help`, or /login
|
|
161
|
+
hoocode # interactive TUI
|
|
162
|
+
hoocode -p "Summarize this repo" # one-shot
|
|
168
163
|
```
|
|
169
164
|
|
|
170
|
-
- Config, auth, sessions and settings live in `~/.
|
|
171
|
-
`
|
|
165
|
+
- Config, auth, sessions and settings live in `~/.hoocode` (override with
|
|
166
|
+
`HOOCODE_CODING_AGENT_DIR`), shared with hoocode-ts. Project overrides go in `./.hoocode/`.
|
|
167
|
+
Data from the pre-1.2 home and project folders is merged in once, with backups
|
|
168
|
+
(`hoocode migrate --dry-run` shows what would change).
|
|
172
169
|
- The settings, `models.json`, `auth.json`, session JSONL and `hoo-config.json` formats match
|
|
173
170
|
hoocode's, so an existing hoocode setup can be copied over.
|
|
174
171
|
|
|
@@ -179,6 +176,6 @@ Publishing is driven from GitHub Actions:
|
|
|
179
176
|
- `Reserve crates.io names` — one-off workflow that publishes `0.0.1` placeholder crates.
|
|
180
177
|
- `Release` — bump, build, publish, and create a GitHub release.
|
|
181
178
|
- `Merge Release` — auto-releases PRs labeled `rust:patch`, `rust:minor`, or `rust:major`.
|
|
182
|
-
- `Build binaries` — cross-compiles the `
|
|
179
|
+
- `Build binaries` — cross-compiles the `hoocode` binary for Linux, macOS (Intel/Apple Silicon), and Windows.
|
|
183
180
|
|
|
184
|
-
Crates marked with `[package.metadata.
|
|
181
|
+
Crates marked with `[package.metadata.hoocode] publish = true` are included in automated releases.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolisachint/hoocode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
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.10",
|
|
17
|
+
"@kolisachint/hoocode-darwin-x64": "0.1.10",
|
|
18
|
+
"@kolisachint/hoocode-linux-arm64": "0.1.10",
|
|
19
|
+
"@kolisachint/hoocode-linux-x64": "0.1.10"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"repository": {
|