hablas-ai 2.2.1 → 2.2.3

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,26 +1,33 @@
1
1
  # Changelog
2
2
 
3
- ## [2.2.1] — 2026-06-12 · Runtime Persistence and Web-Search Crash Fix
4
-
5
- ### Fixed
6
- - Restored the missing project-state import in the interactive runtime that caused `ensureProjectStateDir is not defined` at startup.
7
- - Fixed the web-search follow-up crash path by restoring the missing large-web token constant and the associated output-preservation path.
8
- - Project session state is now saved after slash commands as well as normal turns.
9
- - 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
3
+ ## [2.2.3] — 2026-06-12 · Trusted Image Pipeline and UX Phase Labels
12
4
 
13
5
  ### 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
6
+ - `search_image_candidates` tool for ranking image candidates before download
7
+ - `inspect_image` tool for checking remote or local image candidates before adoption
8
+ - richer phase labels during tool-driven execution such as analysis, candidate selection, download, and verification
17
9
 
18
10
  ### 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
11
+ - strengthened the system prompt around image handling so Hablas prefers ranking and inspection before downloading assets
12
+ - upgraded tool box styling toward a cleaner premium terminal presentation
13
+ - download flow now attempts to resolve direct image candidates from HTML pages automatically
22
14
 
23
15
  ### 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
16
+ - image selection pipeline is less brute-force and less dependent on blind download retries
17
+ - image inspection can now work on local assets as well as remote sources
18
+
19
+ ## [2.2.2] — 2026-06-12 · System Prompt Strength Rebuild
20
+
21
+ ### Changed
22
+ - Rebuilt the single-agent system prompt at a deeper architectural level.
23
+ - Replaced weaker phrase-driven prompt behavior with a stronger role / mission / behavior-class / tool-contract structure.
24
+ - Strengthened the prompt across all major execution domains:
25
+ - product reasoning
26
+ - architecture reasoning
27
+ - implementation
28
+ - debugging
29
+ - review
30
+ - devops thinking
31
+ - web and asset acquisition
32
+ - Strengthened tool discipline and anti-fake-completion rules.
33
+ - Reduced dependence on brittle literal examples and pushed the prompt toward generalized intent interpretation.
package/README.md CHANGED
@@ -92,12 +92,16 @@ hablas run "read package.json and tell me the version"
92
92
  ### Web and asset workflow
93
93
  Hablas now keeps the professional web tool chain active:
94
94
  - `web_search`
95
+ - `search_image_candidates`
96
+ - `inspect_image`
95
97
  - `scrape_url`
96
98
  - `extract_links`
97
99
  - `download_asset`
98
100
 
99
101
  This means Hablas can:
100
102
  - search the web for references and assets
103
+ - rank image candidates before downloading
104
+ - inspect a remote or local image candidate before adoption
101
105
  - inspect pages and extract links
102
106
  - download real images/files into the project when appropriate
103
107
  - preserve full file reads in-context so long files are not silently cut into tiny fragments that force rereads