hablas-ai 2.1.2 → 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 CHANGED
@@ -1,25 +1,25 @@
1
1
  # Changelog
2
2
 
3
- ## [2.1.2] — 2026-06-12 · Full-Read Context Fix
4
-
5
- ### Fixed
6
- - `read_file` results are now preserved in full inside the model context instead of being aggressively truncated.
7
- - This prevents the agent from rereading the same large file just because it only saw the first chunk in context.
8
- - Tool result boxes now summarize the first meaningful line instead of flattening huge file bodies into unreadable one-liners.
9
-
10
- ## [2.1.1] — 2026-06-12 · Thinking, Streaming, and Read-Dedupe UX Fix
3
+ ## [2.2.0] — 2026-06-12 · Stateful Runtime and Thinking Hooks
11
4
 
12
5
  ### Added
13
- - visible thinking state while Hablas is waiting on the model
14
- - real streaming for direct text-only turns
15
- - stronger shell completion and history workflow kept active
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
16
9
 
17
10
  ### Changed
18
- - tool cards were rebuilt again for cleaner boxed output
19
- - assistant rendering is more consistent between direct and tool-driven turns
20
- - the prompt was tightened for shorter, more natural casual and identity responses
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
21
14
 
22
15
  ### Fixed
23
- - repeated `read_file` calls for the same path in the same turn are now deduplicated and reused from cache unless the file changed
24
- - raw tool-markup leakage is sanitized more aggressively
25
- - implementation and image/wallpaper requests remain wired to the stronger tool path
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
+
20
+ ## [2.1.2] — 2026-06-12 · Full-Read Context Fix
21
+
22
+ ### Fixed
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
@@ -135,6 +135,8 @@ This means Hablas can:
135
135
  - `#file` reference completion
136
136
  - persisted command history
137
137
  - rebuilt Apple-slate terminal styling
138
+ - visible thinking state while the model is working
139
+ - direct-turn streaming when the provider supports it
138
140
 
139
141
  ---
140
142
 
@@ -227,6 +229,15 @@ Current automated checks cover:
227
229
 
228
230
  ---
229
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
+
230
241
  ## Rebuild status
231
242
 
232
243
  This branch is under an intentional **full rebuild** of the stable product surface.