hablas-ai 2.1.1 → 2.2.0
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 +14 -35
- package/README.md +12 -0
- package/dist/index.js +101 -100
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,46 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [2.
|
|
3
|
+
## [2.2.0] — 2026-06-12 · Stateful Runtime and Thinking Hooks
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
6
|
+
- project-local `.hablas/session.json` persistence for workspace session state
|
|
7
|
+
- larger default history and context budgets for the rebuilt runtime
|
|
8
|
+
- engine hooks for model-start / model-stop so the UI can show real thinking states
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
11
|
+
- direct and non-interactive sessions now use the configured `contextBudget` instead of falling back to the old small default
|
|
12
|
+
- project sessions are automatically saved after turns and restored on the same workspace
|
|
13
|
+
- web-search and large file context handling were tightened so useful output survives into model context better
|
|
14
14
|
|
|
15
15
|
### Fixed
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
16
|
+
- `LARGE_WEB_RESULT_TOKENS is not defined` crash
|
|
17
|
+
- thinking hooks are now wired at the engine level instead of existing only in the UI layer
|
|
18
|
+
- repeated file reads are less likely to happen because full `read_file` context is preserved and cached more consistently
|
|
19
19
|
|
|
20
|
-
## [2.1.
|
|
21
|
-
|
|
22
|
-
### Added
|
|
23
|
-
- restored advanced shell UX:
|
|
24
|
-
- tab completion for slash commands
|
|
25
|
-
- tab completion for common file paths
|
|
26
|
-
- `#file` completion
|
|
27
|
-
- command history persistence
|
|
28
|
-
- Apple-slate inspired terminal UI rebuild:
|
|
29
|
-
- richer banner
|
|
30
|
-
- improved assistant rendering
|
|
31
|
-
- improved tool cards
|
|
32
|
-
- cleaner help and status formatting
|
|
33
|
-
- `download_asset` tool for bringing real remote assets into the project
|
|
34
|
-
- stronger web/image workflow in the system prompt
|
|
35
|
-
- stronger parser-side sanitization for raw tool markup leakage
|
|
36
|
-
|
|
37
|
-
### Changed
|
|
38
|
-
- rebuilt single-agent system prompt using the strongest parts of the old specialist prompts
|
|
39
|
-
- strengthened implementation enforcement so real engineering work is expected to use tools
|
|
40
|
-
- improved implementation classification, including typo handling and image/wallpaper related requests
|
|
41
|
-
- improved read/analysis/implementation rendering paths in the terminal
|
|
20
|
+
## [2.1.2] — 2026-06-12 · Full-Read Context Fix
|
|
42
21
|
|
|
43
22
|
### Fixed
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
23
|
+
- `read_file` results are now preserved in full inside the model context instead of being aggressively truncated.
|
|
24
|
+
- This prevents the agent from rereading the same large file just because it only saw the first chunk in context.
|
|
25
|
+
- Tool result boxes now summarize the first meaningful line instead of flattening huge file bodies into unreadable one-liners.
|
package/README.md
CHANGED
|
@@ -100,6 +100,7 @@ This means Hablas can:
|
|
|
100
100
|
- search the web for references and assets
|
|
101
101
|
- inspect pages and extract links
|
|
102
102
|
- download real images/files into the project when appropriate
|
|
103
|
+
- preserve full file reads in-context so long files are not silently cut into tiny fragments that force rereads
|
|
103
104
|
|
|
104
105
|
---
|
|
105
106
|
|
|
@@ -134,6 +135,8 @@ This means Hablas can:
|
|
|
134
135
|
- `#file` reference completion
|
|
135
136
|
- persisted command history
|
|
136
137
|
- rebuilt Apple-slate terminal styling
|
|
138
|
+
- visible thinking state while the model is working
|
|
139
|
+
- direct-turn streaming when the provider supports it
|
|
137
140
|
|
|
138
141
|
---
|
|
139
142
|
|
|
@@ -226,6 +229,15 @@ Current automated checks cover:
|
|
|
226
229
|
|
|
227
230
|
---
|
|
228
231
|
|
|
232
|
+
## Memory and state
|
|
233
|
+
|
|
234
|
+
Hablas now uses larger defaults for the rebuilt runtime and also keeps a project-local state folder:
|
|
235
|
+
- larger message history budget
|
|
236
|
+
- larger context budget
|
|
237
|
+
- project-local `.hablas/session.json` persistence for the current workspace
|
|
238
|
+
|
|
239
|
+
This is separate from the user-home config directory used for global config/history.
|
|
240
|
+
|
|
229
241
|
## Rebuild status
|
|
230
242
|
|
|
231
243
|
This branch is under an intentional **full rebuild** of the stable product surface.
|