ace-review 0.62.2 → 0.62.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/ace/review/molecules/feedback_synthesizer.rb +5 -5
- data/lib/ace/review/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8f691c307f6df84befce2dda53f79c5a1778f9a1207bc15d0c39a8535a63ec1
|
|
4
|
+
data.tar.gz: 0b5346e057e4427bed7eb4b7f4cb5ce08d27d5fb83ee4dfbfccc24991c7b53e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6fec7e83a708f00b0e26820e8f29784e4f3b5ac19d83f83eb13428f0a29136e5d46b82ef4c67da8a966b56266da1c153f7a2a0325a5a9a4f2444a3355cfb9690
|
|
7
|
+
data.tar.gz: adec1749b05a807e515106dd900961e033b555519a42233c90a7fbae31394ea932d1ee119495c2bd6719b23ef4b42bdeb46012596ca14a616218d930c770b635
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.62.3] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Parse review JSON containing literal Markdown fences without truncating valid findings.
|
|
15
|
+
|
|
10
16
|
## [0.62.2] - 2026-10-23
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -353,15 +353,15 @@ module Ace
|
|
|
353
353
|
# @return [String] Extracted JSON string
|
|
354
354
|
def extract_json_from_response(response)
|
|
355
355
|
cleaned = response.to_s.strip
|
|
356
|
+
return cleaned if cleaned.start_with?("{")
|
|
356
357
|
|
|
357
|
-
#
|
|
358
|
-
if (match = cleaned.match(
|
|
358
|
+
# Only fence lines wrap the response. Findings can contain literal backticks.
|
|
359
|
+
if (match = cleaned.match(/^```(?:json)?[ \t]*\r?\n(.*?)^```[ \t]*\r?$/m))
|
|
359
360
|
return match[1].strip
|
|
360
361
|
end
|
|
361
362
|
|
|
362
|
-
#
|
|
363
|
-
|
|
364
|
-
if cleaned !~ /\A\s*\{/ && (json_match = cleaned.match(/(\{.*\})/m))
|
|
363
|
+
# This handles JSON embedded in text without a wrapping fence.
|
|
364
|
+
if (json_match = cleaned.match(/(\{.*\})/m))
|
|
365
365
|
return json_match[1]
|
|
366
366
|
end
|
|
367
367
|
|
data/lib/ace/review/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ace-review
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.62.
|
|
4
|
+
version: 0.62.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michal Czyz
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-10
|
|
10
|
+
date: 2026-11-10 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: json
|