hablas-ai 1.3.22 → 2.0.1
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 +31 -159
- package/README.md +142 -286
- package/dist/index.js +173 -1222
- package/package.json +6 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,169 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## [1.3.22] — 2026-06-12 · Direct-Path and Hidden-Team Hotfix
|
|
11
|
-
|
|
12
|
-
### Fixed
|
|
13
|
-
- Casual and simple direct-path turns now skip tool definitions when no tools are required, reducing provider-side instability on trivial inputs like `hi`.
|
|
14
|
-
- Hid the startup team roster by default in the stable line unless explicit debug theatre is enabled.
|
|
15
|
-
- Stopped unified runtime routing payloads from printing in normal operation.
|
|
16
|
-
- Kept internal team coordination behind the scenes by default while preserving it for serious engineering turns.
|
|
17
|
-
|
|
18
|
-
### Notes
|
|
19
|
-
- If needed for debugging or demos, internal theatre can still be exposed explicitly through environment flags.
|
|
20
|
-
|
|
21
|
-
## [1.3.21] — 2026-06-12 · Leader-Only UX Hotfix
|
|
22
|
-
|
|
23
|
-
### Fixed
|
|
24
|
-
- Stopped unified runtime debug payloads from appearing in normal user output.
|
|
25
|
-
- Hid internal team theatre by default in the stable line.
|
|
26
|
-
- Preserved internal coordinated execution while keeping **Hablas** as the only visible user-facing speaker.
|
|
27
|
-
- Replaced visible delegation noise with cleaner coordination status during team execution.
|
|
28
|
-
- Tightened Hablas tone to avoid emojis, hype, and filler in normal responses.
|
|
29
|
-
|
|
30
|
-
### Notes
|
|
31
|
-
- Internal team theatre is now debug-only and can be re-enabled explicitly for inspection.
|
|
32
|
-
- This hotfix targets the reported regression where continuity/team routing leaked internal execution UX to the user.
|
|
33
|
-
|
|
34
|
-
## [1.3.20] — 2026-06-12 · Stable Runtime Recovery
|
|
3
|
+
## [2.0.1] — 2026-06-12 · Setup Flow Restore
|
|
35
4
|
|
|
36
5
|
### Changed
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
- Re-centered the product around a **single command surface**:
|
|
43
|
-
- `hablas`
|
|
44
|
-
- `hablas run "..."`
|
|
45
|
-
- Replaced visible mode thinking with an internal unified runtime model based on:
|
|
46
|
-
- `executionPath: direct | team`
|
|
47
|
-
- `taskKind: conversation | analysis | implementation`
|
|
48
|
-
- Updated the interactive REPL and non-interactive `run` command to enter through the unified runtime path first.
|
|
49
|
-
- Simplified setup and help messaging to match the stable mental model.
|
|
50
|
-
|
|
51
|
-
### Removed
|
|
52
|
-
- Hidden gate-based routing from the active stable-line code path.
|
|
53
|
-
- Gate defaults from agent model configuration.
|
|
54
|
-
- Gate mindset registration from the built-in mindset registry.
|
|
6
|
+
- Restored the classic two-choice setup flow for the CLI.
|
|
7
|
+
- Brought back:
|
|
8
|
+
1. **Hablas Integrated Engine** — ready-made NVIDIA-backed setup with preselected model
|
|
9
|
+
2. **Custom Provider** — user-provided provider and key flow
|
|
10
|
+
- First launch now auto-runs setup again when no saved config exists.
|
|
55
11
|
|
|
56
|
-
|
|
57
|
-
- Unified runtime regression smoke tests covering:
|
|
58
|
-
- direct casual handling
|
|
59
|
-
- direct quick questions
|
|
60
|
-
- team analysis routing
|
|
61
|
-
- continuity routing
|
|
62
|
-
- one-step delivery routing
|
|
63
|
-
- Stable runtime recovery documentation in:
|
|
64
|
-
- `docs/stable-runtime-recovery-plan-2026-06-12.md`
|
|
65
|
-
|
|
66
|
-
### Verified
|
|
67
|
-
- `npm test` passes
|
|
68
|
-
- `npm run build` passes
|
|
69
|
-
- CLI help no longer exposes removed public mode commands
|
|
70
|
-
|
|
71
|
-
## [1.0.0] — 2026-05-31 · **First Public Release**
|
|
12
|
+
## [2.0.0] — 2026-06-12 · Full Single-Agent Rebuild
|
|
72
13
|
|
|
73
|
-
|
|
74
|
-
internal iteration consolidated into a focused, type-strict, dead-code-free
|
|
75
|
-
multi-agent system that runs locally or against any OpenAI-compatible API.
|
|
76
|
-
|
|
77
|
-
### ✨ Highlights
|
|
78
|
-
- **Live Team Theatre** — watch the multi-agent team (Hablas → Emma → Bob →
|
|
79
|
-
Alex → David) collaborate in real time, in character, with bounded
|
|
80
|
-
in-character dialogue between agents.
|
|
81
|
-
- **Single-leader UX** — you only talk to Hablas. He delegates, reviews,
|
|
82
|
-
synthesizes, and replies in his own INTJ voice.
|
|
83
|
-
- **Strict separation of concerns** — `AgentChannel` (event bus),
|
|
84
|
-
`TheatreRenderer` (UI), `TeamConductor` (orchestration logic),
|
|
85
|
-
`InterAgentChat` (dialogue generation) are fully decoupled.
|
|
14
|
+
This release replaces the old stable product surface with a new one built around a strict single-agent direction.
|
|
86
15
|
|
|
87
16
|
### Added
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- **T-shirt sizing** (XS/S/M/L/XL) for complexity-aware routing.
|
|
97
|
-
- **Plan approval flow** with `approve / edit / skip` for L and XL tasks.
|
|
98
|
-
- **`/team`, `/agents`, `/agents models`, `/delegate`** slash commands.
|
|
99
|
-
- **Multi-provider support** — Ollama, NVIDIA NIM, OpenAI-compatible APIs.
|
|
100
|
-
- **Tool Parser V2** — model-aware learning across 6+ tool-call formats.
|
|
101
|
-
- **ReAct engine** with `<thinking>` block parsing and step budget warnings.
|
|
102
|
-
- **Error Recovery engine** — classifies tool failures and injects
|
|
103
|
-
recovery strategies into the next prompt.
|
|
104
|
-
- **Smart abort** — only critical tool failures stop the chain.
|
|
105
|
-
- **Ctrl+C** — single press cancels the current op, double press exits cleanly.
|
|
106
|
-
- **Checkpoint & Undo Stack** — `/checkpoint save|list|restore`, `/undo [all|list|N]`.
|
|
107
|
-
- **Project memory** — categorized, importance-weighted, decay-based, agent-lanes.
|
|
108
|
-
- **Auto-inject** — files mentioned in user input are auto-loaded into the session.
|
|
109
|
-
- **Setup wizard** on first run.
|
|
110
|
-
- **Team mode** (`--team`) — Supabase + Git-based file locks and presence.
|
|
111
|
-
- **`hablas commit | pr | changelog | security | stats | info`** sub-commands.
|
|
17
|
+
- new single-agent CLI entry
|
|
18
|
+
- new single-agent interactive runtime
|
|
19
|
+
- new task analyzer
|
|
20
|
+
- new prompt builder
|
|
21
|
+
- new direct text-turn path
|
|
22
|
+
- new rebuild-oriented docs set
|
|
23
|
+
- analyzer regression test
|
|
24
|
+
- engine smoke test retained around the canonical execution loop
|
|
112
25
|
|
|
113
26
|
### Changed
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
- `planner/{classifier, executor, smart-planner-v2}.ts`
|
|
130
|
-
- `tools/{compact, glob, multi-edit, project-intelligence, registry-v3,
|
|
131
|
-
todo-manager, web-search, v2/web, v2/background}.ts`
|
|
132
|
-
- `repl/todo-renderer.ts`
|
|
133
|
-
- `templates/template-manager.ts`
|
|
134
|
-
- `types/{web-deps, xenova-transformers}.d.ts`
|
|
135
|
-
- **~95 unused imports** across live files, removed via static analysis.
|
|
136
|
-
- **Legacy `setOutputCallback` printer** in `loop.ts` — superseded by the
|
|
137
|
-
Theatre pipeline.
|
|
138
|
-
- **Hardcoded `2.0.0` strings** — now bind dynamically to `package.json`.
|
|
139
|
-
|
|
140
|
-
### Fixed
|
|
141
|
-
- `api/server.ts` health endpoint returns the real version from `package.json`.
|
|
142
|
-
- `team-conductor.ts` no longer holds an unused `config` field.
|
|
143
|
-
- `loop.ts` `BACKUP_DIR` and unused `fsPromises` removed.
|
|
144
|
-
- All `tsc --noUnusedLocals --noUnusedParameters` warnings cleared.
|
|
145
|
-
|
|
146
|
-
### Hard Guarantees
|
|
147
|
-
- ✅ `npm run build` (strict TS) passes with **zero** errors.
|
|
148
|
-
- ✅ `npm test` passes (11/11 channel tests).
|
|
149
|
-
- ✅ `npm install` succeeds with the declared dependencies (no phantom imports).
|
|
150
|
-
- ✅ Hablas is the sole speaker to the user — no agent surprises.
|
|
151
|
-
- ✅ Token budget capped per turn; silent fallback when LLM is offline.
|
|
152
|
-
- ✅ Web app, Supabase schema, and `@Consul` collaboration code untouched.
|
|
153
|
-
|
|
154
|
-
### Engineering Stats
|
|
155
|
-
| Metric | Before | After |
|
|
156
|
-
|---|---|---|
|
|
157
|
-
| TypeScript files | 111 | **74** |
|
|
158
|
-
| Total LOC | 27,143 | **~21,000** |
|
|
159
|
-
| Dead-code files | 37 | **0** |
|
|
160
|
-
| Unused imports/declarations | 103 | **0** |
|
|
161
|
-
| `--noUnusedLocals` clean | ❌ | ✅ |
|
|
162
|
-
| `--noUnusedParameters` clean | ❌ | ✅ |
|
|
163
|
-
| `@ts-ignore` count | 0 | **0** |
|
|
164
|
-
| Unit tests | 0 | **11** |
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
> The full audit that drove this release is preserved in
|
|
169
|
-
> [`AUDIT_v1.0.0.md`](./AUDIT_v1.0.0.md).
|
|
27
|
+
- Hablas is now presented as a **single visible engineering agent**
|
|
28
|
+
- the active CLI surface was rewritten from scratch
|
|
29
|
+
- the terminal UI was rebuilt into a simpler minimal style
|
|
30
|
+
- help, startup messaging, and docs were rewritten around the new product model
|
|
31
|
+
|
|
32
|
+
### Removed from active stable branch
|
|
33
|
+
- visible mode-era CLI surface
|
|
34
|
+
- visible team-theatre runtime surface
|
|
35
|
+
- specialist handoff UX
|
|
36
|
+
- old runtime/planner product surface
|
|
37
|
+
- old rebuild and migration documentation set
|
|
38
|
+
- large sections of dead source code and unused dependencies
|
|
39
|
+
|
|
40
|
+
### Release intent
|
|
41
|
+
2.0.0 is the first explicit release candidate of the full stable-branch rebuild direction.
|