hablas-ai 2.2.9 → 2.2.11

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.10] — 2026-06-14 · Image Pipeline Recovery
4
+
5
+ ### Added
6
+ - image pipeline helper tests covering trusted search-page generation and HTML candidate extraction
7
+ - recovery-plan documentation for the image workflow
8
+
9
+ ### Changed
10
+ - `search_image_candidates` now starts from trusted source search pages and site-filtered fallback queries instead of behaving like a thin wrapper over generic web search only
11
+ - `inspect_image` now resolves HTML/image pages into ranked direct image candidates, emits a resolved asset URL, and returns an explicit adoption verdict
12
+ - `download_asset` now ranks multiple HTML image candidates before downloading instead of blindly trusting the first metadata hit
13
+ - the core prompt now explicitly forbids shell hacks for public image discovery and steers bulk image replacement toward the toolchain itself
14
+
15
+ ### Verification
16
+ - `npm test` passed
17
+ - `npm run build` passed
18
+ - `npm run lint` passed
19
+ - CLI smoke checks passed for `--help` and `info`
20
+
3
21
  ## [2.2.9] — 2026-06-14 · Flow Restore and Final Stable UX Pass
4
22
 
5
23
  ### Changed
package/README.md CHANGED
@@ -100,12 +100,21 @@ Hablas now keeps the professional web tool chain active:
100
100
 
101
101
  This means Hablas can:
102
102
  - search the web for references and assets
103
- - rank image candidates before downloading
103
+ - rank trusted **image page candidates** before downloading
104
104
  - inspect a remote or local image candidate before adoption
105
- - inspect pages and extract links
105
+ - resolve a page candidate into a direct image candidate with an explicit verdict
106
106
  - download real images/files into the project when appropriate
107
107
  - preserve full file reads in-context so long files are not silently cut into tiny fragments that force rereads
108
108
 
109
+ ### Image pipeline stance
110
+ For image replacement work, the intended flow is:
111
+ 1. `search_image_candidates`
112
+ 2. `inspect_image`
113
+ 3. `download_asset`
114
+
115
+ The runtime should stay inside this image toolchain.
116
+ It should not fall back to shell hacks (`curl`, `powershell`, guessed public image IDs) for public asset discovery unless the user explicitly asks for low-level debugging.
117
+
109
118
  ---
110
119
 
111
120
  ## Current command surface
@@ -232,6 +241,8 @@ npm run dev -- run "your prompt"
232
241
  Current automated checks cover:
233
242
  - shared execution engine smoke behavior
234
243
  - analyzer behavior
244
+ - session continuity behavior
245
+ - image pipeline helper behavior
235
246
 
236
247
  ---
237
248