@kolisachint/hoocode-agent 0.5.29 → 0.5.30

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/docs/settings.md CHANGED
@@ -101,6 +101,27 @@ Set `HOOCODE_SKIP_VERSION_CHECK=1` to disable the HooCode version update check.
101
101
  }
102
102
  ```
103
103
 
104
+ ### Context budget
105
+
106
+ Everything in the system prompt and in an active tool's schema is re-sent on
107
+ every request. These three settings decide how large that is, and `/settings`
108
+ groups them under **Context** with the live per-turn cost printed under the
109
+ list.
110
+
111
+ | Setting | Type | Default | Description |
112
+ |---------|------|---------|-------------|
113
+ | `light` | boolean | `false` | Low-token preset: `read`/`write`/`edit`/`bash` only with stripped schemas, a terse system prompt, and no subagents/TodoWrite/skills/context files |
114
+ | `contextGc` | boolean | `true` | Stub superseded read results out of the outgoing context |
115
+
116
+ `light` is read at startup to pick the tool set and the system prompt, so
117
+ toggling it in `/settings` applies on the next session. `--light` turns it on
118
+ for a single run. Auto-compaction lives in the same category and is documented
119
+ under [Compaction](#compaction).
120
+
121
+ `/settings` also prices each tool by what its schema costs per turn, on the
122
+ switch itself, so it is clear which one is worth turning off. `hoocode
123
+ --print-token-surface` prints the same measurement as text.
124
+
104
125
  ### Branch Summary
105
126
 
106
127
  | Setting | Type | Default | Description |
package/docs/usage.md CHANGED
@@ -371,9 +371,9 @@ hoocode --no-extensions -e ./my-extension.ts
371
371
 
372
372
  #### Light mode
373
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:
374
+ `--light` (or the `light` setting, editable in `/settings` under **Context**)
375
+ trims the session to the smallest useful fixed per-turn surface, for small or
376
+ local models that waste context on harness boilerplate:
377
377
 
378
378
  - Only `read`, `write`, `edit`, and `bash`, with short descriptions and stripped
379
379
  parameter schemas. `bash` subsumes grep/find/ls — search happens via the shell.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.3.29",
4
+ "version": "0.3.30",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.3.29",
4
+ "version": "0.3.30",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-sandbox",
3
3
  "private": true,
4
- "version": "0.3.29",
4
+ "version": "0.3.30",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.3.29",
4
+ "version": "0.3.30",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "bun": ">=1.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolisachint/hoocode-agent",
3
- "version": "0.5.29",
3
+ "version": "0.5.30",
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.29",
53
- "@kolisachint/hoocode-ai": "^0.5.29",
54
- "@kolisachint/hoocode-tui": "^0.5.29",
52
+ "@kolisachint/hoocode-agent-core": "^0.5.30",
53
+ "@kolisachint/hoocode-ai": "^0.5.30",
54
+ "@kolisachint/hoocode-tui": "^0.5.30",
55
55
  "@silvia-odwyer/photon-node": "^0.3.4",
56
56
  "chalk": "^5.5.0",
57
57
  "cli-highlight": "^2.1.11",