hablas-ai 2.2.2 → 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,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.3] — 2026-06-12 · Trusted Image Pipeline and UX Phase Labels
4
+
5
+ ### Added
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
9
+
10
+ ### Changed
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
14
+
15
+ ### Fixed
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
+
3
19
  ## [2.2.2] — 2026-06-12 · System Prompt Strength Rebuild
4
20
 
5
21
  ### Changed
@@ -15,11 +31,3 @@
15
31
  - web and asset acquisition
16
32
  - Strengthened tool discipline and anti-fake-completion rules.
17
33
  - Reduced dependence on brittle literal examples and pushed the prompt toward generalized intent interpretation.
18
-
19
- ## [2.2.1] — 2026-06-12 · Runtime Persistence and Web-Search Crash Fix
20
-
21
- ### Fixed
22
- - Restored the missing project-state import in the interactive runtime that caused `ensureProjectStateDir is not defined` at startup.
23
- - Fixed the web-search follow-up crash path by restoring the missing large-web token constant and the associated output-preservation path.
24
- - Project session state is now saved after slash commands as well as normal turns.
25
- - Read-cache preservation is now actually written back after successful `read_file` operations and invalidated when related files change.
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