Commit ef827c3
authored
Fix/agent repl ux (#151)
* docs: add Quick Install section near top of README
- Add `## Quick Install` block (gh auth login + npm install -g + run)
immediately after the warning callouts, so new users see the install
path within the first screen
- Link forward to the existing `## Install and Run` section for Docker,
source builds, and full prerequisites
- Prettier also realigned the capability table dividers in `How It
Works` (pre-existing alignment drift from when the `execute_bash` row
was added) — pure formatting, no content change
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
* fix(agent): three skill-system bugs from kql-expert hallucination
Bug 1 — sandbox verbose traces leak to user terminal
src/sandbox/tool.js gained a debugLog callback option that ~25
verbose-gated console.error sites now route through, defaulting to
console.error when no callback is wired. src/agent/index.ts passes
its existing debugLog (which writes ~/.hyperagent/logs/agent-debug-
*.log when --debug is on) into both sandbox factories, so the noisy
'[sandbox] setPlugins / invalidateSandboxWithSave / autoSaveState'
chatter stops leaking into the REPL.
Bug 2 — generate_skill silently shadowed bundled built-in skills
skill-writer now exports systemSkillExists(name, dir) alongside the
existing userSkillExists. generate_skill refuses (without an
explicit overwrite=true) when the requested name matches a curated
built-in under <CONTENT_ROOT>/skills/, with an error pointing at a
safer '-custom' suffix. When overwrite=true *is* set on a system
collision, the approval banner shouts 1 parent 8e36e53 commit ef827c3
12 files changed
Lines changed: 1102 additions & 143 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
| |||
253 | 266 | | |
254 | 267 | | |
255 | 268 | | |
256 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
257 | 305 | | |
258 | 306 | | |
259 | 307 | | |
| |||
278 | 326 | | |
279 | 327 | | |
280 | 328 | | |
281 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
282 | 333 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 334 | + | |
| 335 | + | |
290 | 336 | | |
291 | 337 | | |
292 | 338 | | |
| |||
0 commit comments