hablas-ai 2.2.1 → 2.2.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -17
  2. package/dist/index.js +288 -167
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.2] — 2026-06-12 · System Prompt Strength Rebuild
4
+
5
+ ### Changed
6
+ - Rebuilt the single-agent system prompt at a deeper architectural level.
7
+ - Replaced weaker phrase-driven prompt behavior with a stronger role / mission / behavior-class / tool-contract structure.
8
+ - Strengthened the prompt across all major execution domains:
9
+ - product reasoning
10
+ - architecture reasoning
11
+ - implementation
12
+ - debugging
13
+ - review
14
+ - devops thinking
15
+ - web and asset acquisition
16
+ - Strengthened tool discipline and anti-fake-completion rules.
17
+ - Reduced dependence on brittle literal examples and pushed the prompt toward generalized intent interpretation.
18
+
3
19
  ## [2.2.1] — 2026-06-12 · Runtime Persistence and Web-Search Crash Fix
4
20
 
5
21
  ### Fixed
@@ -7,20 +23,3 @@
7
23
  - Fixed the web-search follow-up crash path by restoring the missing large-web token constant and the associated output-preservation path.
8
24
  - Project session state is now saved after slash commands as well as normal turns.
9
25
  - Read-cache preservation is now actually written back after successful `read_file` operations and invalidated when related files change.
10
-
11
- ## [2.2.0] — 2026-06-12 · Stateful Runtime and Thinking Hooks
12
-
13
- ### Added
14
- - project-local `.hablas/session.json` persistence for workspace session state
15
- - larger default history and context budgets for the rebuilt runtime
16
- - engine hooks for model-start / model-stop so the UI can show real thinking states
17
-
18
- ### Changed
19
- - direct and non-interactive sessions now use the configured `contextBudget` instead of falling back to the old small default
20
- - project sessions are automatically saved after turns and restored on the same workspace
21
- - web-search and large file context handling were tightened so useful output survives into model context better
22
-
23
- ### Fixed
24
- - `LARGE_WEB_RESULT_TOKENS is not defined` crash
25
- - thinking hooks are now wired at the engine level instead of existing only in the UI layer
26
- - repeated file reads are less likely to happen because full `read_file` context is preserved and cached more consistently