@kolisachint/hoocode-agent 0.5.25 → 0.5.27
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 +128 -0
- package/dist/core/canvas/lifecycle.d.ts +93 -0
- package/dist/core/canvas/lifecycle.d.ts.map +1 -0
- package/dist/core/canvas/lifecycle.js +165 -0
- package/dist/core/canvas/lifecycle.js.map +1 -0
- package/dist/core/canvas/registry.d.ts +89 -0
- package/dist/core/canvas/registry.d.ts.map +1 -1
- package/dist/core/canvas/registry.js +205 -10
- package/dist/core/canvas/registry.js.map +1 -1
- package/dist/core/canvas/scaffold.d.ts +123 -0
- package/dist/core/canvas/scaffold.d.ts.map +1 -0
- package/dist/core/canvas/scaffold.js +376 -0
- package/dist/core/canvas/scaffold.js.map +1 -0
- package/dist/core/canvas/session.d.ts +39 -1
- package/dist/core/canvas/session.d.ts.map +1 -1
- package/dist/core/canvas/session.js +83 -1
- package/dist/core/canvas/session.js.map +1 -1
- package/dist/core/capabilities/lexical.d.ts +4 -0
- package/dist/core/capabilities/lexical.d.ts.map +1 -1
- package/dist/core/capabilities/lexical.js +104 -4
- package/dist/core/capabilities/lexical.js.map +1 -1
- package/dist/core/capabilities/registry.d.ts +3 -1
- package/dist/core/capabilities/registry.d.ts.map +1 -1
- package/dist/core/capabilities/registry.js.map +1 -1
- package/dist/core/self-docs.d.ts +103 -0
- package/dist/core/self-docs.d.ts.map +1 -0
- package/dist/core/self-docs.js +351 -0
- package/dist/core/self-docs.js.map +1 -0
- package/dist/core/system-prompt.d.ts +12 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +11 -1
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/canvas.d.ts +23 -3
- package/dist/core/tools/canvas.d.ts.map +1 -1
- package/dist/core/tools/canvas.js +99 -4
- package/dist/core/tools/canvas.js.map +1 -1
- package/dist/extensions/core/canvas.d.ts +20 -2
- package/dist/extensions/core/canvas.d.ts.map +1 -1
- package/dist/extensions/core/canvas.js +279 -36
- package/dist/extensions/core/canvas.js.map +1 -1
- package/dist/extensions/core/hoo-core.d.ts +1 -0
- package/dist/extensions/core/hoo-core.d.ts.map +1 -1
- package/dist/extensions/core/hoo-core.js +3 -0
- package/dist/extensions/core/hoo-core.js.map +1 -1
- package/dist/extensions/core/mcp-loader.d.ts.map +1 -1
- package/dist/extensions/core/mcp-loader.js +8 -2
- package/dist/extensions/core/mcp-loader.js.map +1 -1
- package/dist/extensions/core/scaffold.d.ts +7 -1
- package/dist/extensions/core/scaffold.d.ts.map +1 -1
- package/dist/extensions/core/scaffold.js +7 -185
- package/dist/extensions/core/scaffold.js.map +1 -1
- package/dist/extensions/core/self-knowledge.d.ts +28 -0
- package/dist/extensions/core/self-knowledge.d.ts.map +1 -0
- package/dist/extensions/core/self-knowledge.js +199 -0
- package/dist/extensions/core/self-knowledge.js.map +1 -0
- package/docs/canvas.md +117 -0
- package/docs/compaction.md +4 -4
- package/docs/custom-provider.md +1 -1
- package/docs/development.md +1 -1
- package/docs/docs.json +27 -2
- package/docs/extensions.md +12 -12
- package/docs/index.md +8 -0
- package/docs/keybindings.md +2 -2
- package/docs/mcp.md +97 -0
- package/docs/models.md +1 -1
- package/docs/modes.md +87 -0
- package/docs/packages.md +4 -4
- package/docs/plugins.md +124 -0
- package/docs/prompt-templates.md +1 -1
- package/docs/providers.md +2 -2
- package/docs/quickstart.md +2 -2
- package/docs/rpc.md +5 -5
- package/docs/sdk.md +5 -5
- package/docs/session-format.md +3 -3
- package/docs/sessions.md +1 -1
- package/docs/settings.md +3 -3
- package/docs/shell-aliases.md +1 -1
- package/docs/skills.md +2 -2
- package/docs/terminal-setup.md +1 -1
- package/docs/termux.md +2 -2
- package/docs/themes.md +3 -3
- package/docs/usage.md +93 -4
- package/docs/windows.md +1 -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 +4 -4
package/docs/session-format.md
CHANGED
|
@@ -5,14 +5,14 @@ Sessions are stored as JSONL (JSON Lines) files. Each line is a JSON object with
|
|
|
5
5
|
## File Location
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
~/.hoocode/
|
|
8
|
+
~/.hoocode/sessions/--<path>--/<timestamp>_<uuid>.jsonl
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Where `<path>` is the working directory with `/` replaced by `-`.
|
|
12
12
|
|
|
13
13
|
## Deleting Sessions
|
|
14
14
|
|
|
15
|
-
Sessions can be removed by deleting their `.jsonl` files under `~/.hoocode/
|
|
15
|
+
Sessions can be removed by deleting their `.jsonl` files under `~/.hoocode/sessions/`.
|
|
16
16
|
|
|
17
17
|
HooCode also supports deleting sessions interactively from `/resume` (select a session and press `Ctrl+D`, then confirm). When available, hoocode uses the `trash` CLI to avoid permanent deletion.
|
|
18
18
|
|
|
@@ -28,7 +28,7 @@ Existing sessions are automatically migrated to the current version (v3) when lo
|
|
|
28
28
|
|
|
29
29
|
## Source Files
|
|
30
30
|
|
|
31
|
-
Source on GitHub ([
|
|
31
|
+
Source on GitHub ([hoocode](https://github.com/kolisachint/hoocode)):
|
|
32
32
|
- [`packages/coding-agent/src/core/session-manager.ts`](https://github.com/kolisachint/hoocode/blob/main/packages/coding-agent/src/core/session-manager.ts) - Session entry types and SessionManager
|
|
33
33
|
- [`packages/coding-agent/src/core/messages.ts`](https://github.com/kolisachint/hoocode/blob/main/packages/coding-agent/src/core/messages.ts) - Extended message types (BashExecutionMessage, CustomMessage, etc.)
|
|
34
34
|
- [`packages/ai/src/types.ts`](https://github.com/kolisachint/hoocode/blob/main/packages/ai/src/types.ts) - Base message types (UserMessage, AssistantMessage, ToolResultMessage)
|
package/docs/sessions.md
CHANGED
|
@@ -4,7 +4,7 @@ HooCode saves conversations as sessions so you can continue work, branch from ea
|
|
|
4
4
|
|
|
5
5
|
## Session Storage
|
|
6
6
|
|
|
7
|
-
Sessions auto-save to `~/.hoocode/
|
|
7
|
+
Sessions auto-save to `~/.hoocode/sessions/`, organized by working directory. Each session is a JSONL file with a tree structure.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
hoocode -c # Continue most recent session
|
package/docs/settings.md
CHANGED
|
@@ -4,7 +4,7 @@ HooCode uses JSON settings files with project settings overriding global setting
|
|
|
4
4
|
|
|
5
5
|
| Location | Scope |
|
|
6
6
|
|----------|-------|
|
|
7
|
-
| `~/.hoocode/
|
|
7
|
+
| `~/.hoocode/settings.json` | Global (all projects) |
|
|
8
8
|
| `.hoocode/settings.json` | Project (current directory) |
|
|
9
9
|
|
|
10
10
|
Edit directly or use `/settings` for common options.
|
|
@@ -244,7 +244,7 @@ window.
|
|
|
244
244
|
|
|
245
245
|
These settings define where to load extensions, skills, prompts, and themes from.
|
|
246
246
|
|
|
247
|
-
Paths in `~/.hoocode/
|
|
247
|
+
Paths in `~/.hoocode/settings.json` resolve relative to `~/.hoocode`. Paths in `.hoocode/settings.json` resolve relative to `.hoocode`. Absolute paths and `~` are supported.
|
|
248
248
|
|
|
249
249
|
| Setting | Type | Default | Description |
|
|
250
250
|
|---------|------|---------|-------------|
|
|
@@ -313,7 +313,7 @@ See [packages.md](packages.md) for package management details.
|
|
|
313
313
|
Project settings (`.hoocode/settings.json`) override global settings. Nested objects are merged:
|
|
314
314
|
|
|
315
315
|
```json
|
|
316
|
-
// ~/.hoocode/
|
|
316
|
+
// ~/.hoocode/settings.json (global)
|
|
317
317
|
{
|
|
318
318
|
"theme": "dark",
|
|
319
319
|
"compaction": { "enabled": true, "reserveTokens": 16384 }
|
package/docs/shell-aliases.md
CHANGED
package/docs/skills.md
CHANGED
|
@@ -24,7 +24,7 @@ HooCode implements the [Agent Skills standard](https://agentskills.io/specificat
|
|
|
24
24
|
HooCode loads skills from:
|
|
25
25
|
|
|
26
26
|
- Global:
|
|
27
|
-
- `~/.hoocode/
|
|
27
|
+
- `~/.hoocode/skills/`
|
|
28
28
|
- `~/.agents/skills/`
|
|
29
29
|
- Project:
|
|
30
30
|
- `.hoocode/skills/`
|
|
@@ -34,7 +34,7 @@ HooCode loads skills from:
|
|
|
34
34
|
- CLI: `--skill <path>` (repeatable, additive even with `--no-skills`)
|
|
35
35
|
|
|
36
36
|
Discovery rules:
|
|
37
|
-
- In `~/.hoocode/
|
|
37
|
+
- In `~/.hoocode/skills/` and `.hoocode/skills/`, direct root `.md` files are discovered as individual skills
|
|
38
38
|
- In all skill locations, directories containing `SKILL.md` are discovered recursively
|
|
39
39
|
- In `~/.agents/skills/` and project `.agents/skills/`, root `.md` files are ignored
|
|
40
40
|
|
package/docs/terminal-setup.md
CHANGED
|
@@ -24,7 +24,7 @@ That mapping sends a raw linefeed byte. Inside hoocode, that is indistinguishabl
|
|
|
24
24
|
|
|
25
25
|
If Claude Code 2.x or newer is the only reason you added that mapping, you can remove it, unless you want to use Claude Code in tmux, where it still requires that Ghostty mapping.
|
|
26
26
|
|
|
27
|
-
If you want `Shift+Enter` to keep working in tmux via that remap, add `ctrl+j` to your hoocode `newLine` keybinding in `~/.hoocode/
|
|
27
|
+
If you want `Shift+Enter` to keep working in tmux via that remap, add `ctrl+j` to your hoocode `newLine` keybinding in `~/.hoocode/keybindings.json`:
|
|
28
28
|
|
|
29
29
|
```json
|
|
30
30
|
{
|
package/docs/termux.md
CHANGED
|
@@ -20,7 +20,7 @@ pkg install nodejs termux-api git
|
|
|
20
20
|
npm install -g @kolisachint/hoocode-agent
|
|
21
21
|
|
|
22
22
|
# Create config directory
|
|
23
|
-
mkdir -p ~/.hoocode
|
|
23
|
+
mkdir -p ~/.hoocode
|
|
24
24
|
|
|
25
25
|
# Run hoocode
|
|
26
26
|
hoocode
|
|
@@ -34,7 +34,7 @@ Image clipboard is not supported on Termux (the `ctrl+v` image paste feature wil
|
|
|
34
34
|
|
|
35
35
|
## Example AGENTS.md for Termux
|
|
36
36
|
|
|
37
|
-
Create `~/.hoocode/
|
|
37
|
+
Create `~/.hoocode/AGENTS.md` to help the agent understand the Termux environment:
|
|
38
38
|
|
|
39
39
|
```markdown
|
|
40
40
|
# Agent Environment: Termux on Android
|
package/docs/themes.md
CHANGED
|
@@ -20,7 +20,7 @@ Themes are JSON files that define colors for the TUI.
|
|
|
20
20
|
HooCode loads themes from:
|
|
21
21
|
|
|
22
22
|
- Built-in: every `*.json` in the shipped theme directory (see [Built-in Themes](#built-in-themes))
|
|
23
|
-
- Global: `~/.hoocode/
|
|
23
|
+
- Global: `~/.hoocode/themes/*.json`
|
|
24
24
|
- Project: `.hoocode/themes/*.json`
|
|
25
25
|
- Packages: `themes/` directories or `pi.themes` entries in `package.json`
|
|
26
26
|
- Settings: `themes` array with files or directories
|
|
@@ -113,8 +113,8 @@ On first run, hoocode detects your terminal background and defaults to `dark` or
|
|
|
113
113
|
1. Create a theme file:
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
|
-
mkdir -p ~/.hoocode/
|
|
117
|
-
vim ~/.hoocode/
|
|
116
|
+
mkdir -p ~/.hoocode/themes
|
|
117
|
+
vim ~/.hoocode/themes/my-theme.json
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
2. Define the theme with all required colors (see [Color Tokens](#color-tokens)):
|
package/docs/usage.md
CHANGED
|
@@ -54,8 +54,56 @@ Type `/` in the editor to open command completion. Extensions can register custo
|
|
|
54
54
|
| `/reload` | Reload keybindings, extensions, skills, prompts, and context files |
|
|
55
55
|
| `/hotkeys` | Show all keyboard shortcuts |
|
|
56
56
|
| `/changelog` | Display version history |
|
|
57
|
+
| `/import <file>` | Import and resume a session from a JSONL file |
|
|
58
|
+
| `/cost` | Session token and cost totals, broken down by model |
|
|
57
59
|
| `/quit` | Quit hoocode |
|
|
58
60
|
|
|
61
|
+
### Modes and planning
|
|
62
|
+
|
|
63
|
+
See [Modes](modes.md) for what each mode changes.
|
|
64
|
+
|
|
65
|
+
| Command | Description |
|
|
66
|
+
|---------|-------------|
|
|
67
|
+
| `/mode <ask\|plan\|build\|debug>` | Switch the active mode |
|
|
68
|
+
| `/plan` | Shorthand for `/mode plan` |
|
|
69
|
+
| `/approve` | Approve the current plan and switch to build mode to execute it |
|
|
70
|
+
| `/grill [me\|plan]` | Stress-test the current plan before committing to it |
|
|
71
|
+
| `/goal [--max-turns N] <objective>` | Work autonomously toward a goal |
|
|
72
|
+
|
|
73
|
+
### Plugins and extensibility
|
|
74
|
+
|
|
75
|
+
See [Plugins](plugins.md) for the marketplace and trust model.
|
|
76
|
+
|
|
77
|
+
| Command | Description |
|
|
78
|
+
|---------|-------------|
|
|
79
|
+
| `/plugin marketplace add <git-url\|path>` | Register a marketplace |
|
|
80
|
+
| `/plugin marketplace list\|refresh` | List registered marketplaces, or re-fetch their indices |
|
|
81
|
+
| `/plugin list` | List installed plugins |
|
|
82
|
+
| `/plugin install <name> [--scope user\|project]` | Install a plugin |
|
|
83
|
+
| `/plugin remove <name>` | Uninstall a plugin |
|
|
84
|
+
| `/plugin trust [list]`, `/plugin untrust` | Inspect or revoke workspace trust |
|
|
85
|
+
| `/plugin publish <name> [--to <dir>]` | Package a plugin for distribution |
|
|
86
|
+
| `/new-skill <name>` | Scaffold a new skill |
|
|
87
|
+
| `/new-agent <name>` | Scaffold a new subagent |
|
|
88
|
+
| `/new-command <name>` | Scaffold a new slash command |
|
|
89
|
+
| `/new-canvas <what it should do>` | Scaffold a canvas extension and build it; `/new-canvas <name>` scaffolds the template only |
|
|
90
|
+
|
|
91
|
+
### Canvas and scheduling
|
|
92
|
+
|
|
93
|
+
| Command | Description |
|
|
94
|
+
|---------|-------------|
|
|
95
|
+
| `/canvas list` | List canvases the loaded extensions provide |
|
|
96
|
+
| `/canvas open <extension>[:<canvas>]` | Open a canvas |
|
|
97
|
+
| `/canvas reload [extension]` | Pick up code changes without restarting the session |
|
|
98
|
+
| `/canvas close <instanceId>` | Close a running canvas |
|
|
99
|
+
| `/canvas rename <extension> <new-name>` | Rename a canvas everywhere its name appears |
|
|
100
|
+
| `/canvas remove <extension>` | Delete a canvas, after confirming |
|
|
101
|
+
| `/loop "<cron>" <prompt>` | Schedule a prompt on a cron expression |
|
|
102
|
+
| `/loop <5m\|2h> <prompt>` | Schedule a prompt on an interval |
|
|
103
|
+
| `/loop once "<cron>" <prompt>` | Schedule a one-shot prompt |
|
|
104
|
+
| `/loop list`, `/loop delete <id>`, `/loop stop` | Inspect and cancel schedules |
|
|
105
|
+
| `/loop auto [--max-turns N] <task>` | Run an autonomous loop on a task |
|
|
106
|
+
|
|
59
107
|
## Message Queue
|
|
60
108
|
|
|
61
109
|
You can submit messages while the agent is still working:
|
|
@@ -71,7 +119,7 @@ Configure delivery in [Settings](settings.md) with `steeringMode` and `followUpM
|
|
|
71
119
|
|
|
72
120
|
## Sessions
|
|
73
121
|
|
|
74
|
-
Sessions are saved automatically to `~/.hoocode/
|
|
122
|
+
Sessions are saved automatically to `~/.hoocode/sessions/`, organized by working directory.
|
|
75
123
|
|
|
76
124
|
```bash
|
|
77
125
|
hoocode -c # Continue most recent session
|
|
@@ -96,7 +144,7 @@ See [Sessions](sessions.md) and [Compaction](compaction.md) for details.
|
|
|
96
144
|
HooCode loads `AGENTS.md` or `CLAUDE.md` at startup from, least specific first:
|
|
97
145
|
|
|
98
146
|
- `~/.agents/AGENTS.md` — the cross-vendor user scope, shared with other agent tools
|
|
99
|
-
- `~/.hoocode/
|
|
147
|
+
- `~/.hoocode/AGENTS.md` — hoocode's own global instructions, which win on conflict
|
|
100
148
|
- parent directories, walking up from the current working directory
|
|
101
149
|
- the current directory
|
|
102
150
|
|
|
@@ -182,7 +230,7 @@ the same path the sessions were recorded under.
|
|
|
182
230
|
Replace the default system prompt with:
|
|
183
231
|
|
|
184
232
|
- `.hoocode/SYSTEM.md` for a project
|
|
185
|
-
- `~/.hoocode/
|
|
233
|
+
- `~/.hoocode/SYSTEM.md` globally
|
|
186
234
|
|
|
187
235
|
Append to the default prompt without replacing it with `APPEND_SYSTEM.md` in either location.
|
|
188
236
|
|
|
@@ -259,11 +307,34 @@ cat README.md | hoocode -p "Summarize this text"
|
|
|
259
307
|
| Option | Description |
|
|
260
308
|
|--------|-------------|
|
|
261
309
|
| `--tools <list>`, `-t <list>` | Allowlist specific built-in, extension, and custom tools |
|
|
310
|
+
| `--disallowed-tools <list>` | Comma-separated denylist, subtracted from the allowlist or default set |
|
|
262
311
|
| `--no-builtin-tools`, `-nbt` | Disable built-in tools but keep extension/custom tools enabled |
|
|
263
312
|
| `--no-tools`, `-nt` | Disable all tools |
|
|
264
313
|
|
|
265
314
|
Built-in tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`.
|
|
266
315
|
|
|
316
|
+
#### Optional tool bundles
|
|
317
|
+
|
|
318
|
+
Off by default unless noted; each adds a capability rather than a single tool.
|
|
319
|
+
|
|
320
|
+
| Option | Enables |
|
|
321
|
+
|--------|---------|
|
|
322
|
+
| `--enable-todowrite` | The TodoWrite tool — a live todo list in the task panel |
|
|
323
|
+
| `--enable-webtools` | `webfetch` and `websearch` (network access) |
|
|
324
|
+
| `--enable-search-tool` | The semantic index behind the `search` tool (on by default). Legacy alias: `--enable-embsearchtools` |
|
|
325
|
+
| `--enable-plugintools` | The autonomous plugin system — see [Plugins](plugins.md) |
|
|
326
|
+
|
|
327
|
+
#### Subagents
|
|
328
|
+
|
|
329
|
+
See [Subagent delegation](routing.md).
|
|
330
|
+
|
|
331
|
+
| Option | Description |
|
|
332
|
+
|--------|-------------|
|
|
333
|
+
| `--enable-subagents` | Enable the subagent tool (delegate to isolated agent loops) |
|
|
334
|
+
| `--no-subagents`, `--disable-subagents` | Disable it for this session, overriding the setting |
|
|
335
|
+
| `--max-subagent-depth <n>` | Tree-wide nesting cap (default 2 — one level of nesting) |
|
|
336
|
+
| `--warm-subagents` | Dispatch eligible subagents on reused warm RPC workers (experimental) |
|
|
337
|
+
|
|
267
338
|
### Resource Options
|
|
268
339
|
|
|
269
340
|
| Option | Description |
|
|
@@ -290,10 +361,28 @@ hoocode --no-extensions -e ./my-extension.ts
|
|
|
290
361
|
|--------|-------------|
|
|
291
362
|
| `--system-prompt <text>` | Replace default prompt; context files and skills are still appended |
|
|
292
363
|
| `--append-system-prompt <text>` | Append to system prompt |
|
|
364
|
+
| `--light` | Minimal low-token preset for small/local models (see below) |
|
|
365
|
+
| `--print-token-surface` | Print the fixed per-turn surface (system prompt + serialized tool schemas) and exit |
|
|
366
|
+
| `--platform <list>` | Platform layout(s) to target when writing artifacts: `claude`, `copilot` (alias `github`, `gh`), `agents` (alias `native`). Comma-separated and/or repeated |
|
|
367
|
+
| `--team <url\|auto>` | Bridge a hooteams server into the task panel's teams view — focus roles, nudge, attach, answer approval gates. `auto` searches upward from cwd for `.agents/teams/default.json` or `hooteams.config.json` and spawns hooteams locally |
|
|
293
368
|
| `--verbose` | Force verbose startup |
|
|
294
369
|
| `-h`, `--help` | Show help |
|
|
295
370
|
| `-v`, `--version` | Show version |
|
|
296
371
|
|
|
372
|
+
#### Light mode
|
|
373
|
+
|
|
374
|
+
`--light` (or the `light` setting) trims the session to the smallest useful
|
|
375
|
+
fixed per-turn surface, for small or local models that waste context on harness
|
|
376
|
+
boilerplate:
|
|
377
|
+
|
|
378
|
+
- Only `read`, `write`, `edit`, and `bash`, with short descriptions and stripped
|
|
379
|
+
parameter schemas. `bash` subsumes grep/find/ls — search happens via the shell.
|
|
380
|
+
- A terse replacement system prompt.
|
|
381
|
+
- No subagents, TodoWrite, skills, context files, mode appendix, or the
|
|
382
|
+
self-documentation section.
|
|
383
|
+
|
|
384
|
+
`--print-token-surface` reports what that surface actually costs.
|
|
385
|
+
|
|
297
386
|
### File Arguments
|
|
298
387
|
|
|
299
388
|
Prefix files with `@` to include them in the message:
|
|
@@ -336,7 +425,7 @@ hoocode --tools read,grep,find,ls -p "Review the code"
|
|
|
336
425
|
|
|
337
426
|
| Variable | Description |
|
|
338
427
|
|----------|-------------|
|
|
339
|
-
| `HOOCODE_AGENT_DIR` | Override config directory; default is `~/.hoocode
|
|
428
|
+
| `HOOCODE_AGENT_DIR` | Override config directory; default is `~/.hoocode` |
|
|
340
429
|
| `HOOCODE_AGENT_SESSION_DIR` | Override session storage directory; overridden by `--session-dir` |
|
|
341
430
|
| `HOOCODE_PACKAGE_DIR` | Override package directory, useful for Nix/Guix store paths |
|
|
342
431
|
| `HOOCODE_OFFLINE` | Disable startup network operations, including update checks, package update checks, and install/update telemetry |
|
package/docs/windows.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
HooCode requires a bash shell on Windows. Checked locations (in order):
|
|
4
4
|
|
|
5
|
-
1. Custom path from `~/.hoocode/
|
|
5
|
+
1. Custom path from `~/.hoocode/settings.json`
|
|
6
6
|
2. Git Bash (`C:\Program Files\Git\bin\bash.exe`)
|
|
7
7
|
3. `bash.exe` on PATH (Cygwin, MSYS2, WSL)
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolisachint/hoocode-agent",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.27",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"hoocodeConfig": {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"prepublishOnly": "npm run clean && npm run build"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@kolisachint/hoocode-agent-core": "^0.5.
|
|
53
|
-
"@kolisachint/hoocode-ai": "^0.5.
|
|
54
|
-
"@kolisachint/hoocode-tui": "^0.5.
|
|
52
|
+
"@kolisachint/hoocode-agent-core": "^0.5.27",
|
|
53
|
+
"@kolisachint/hoocode-ai": "^0.5.27",
|
|
54
|
+
"@kolisachint/hoocode-tui": "^0.5.27",
|
|
55
55
|
"@silvia-odwyer/photon-node": "^0.3.4",
|
|
56
56
|
"chalk": "^5.5.0",
|
|
57
57
|
"cli-highlight": "^2.1.11",
|