lex-codegen 0.2.10 → 0.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6945540222d0154e1685c98cb347a45b6b9495806e44175eb3df58529c7f768d
|
|
4
|
+
data.tar.gz: a536811b3b3932660c845d732156898652e362dc04ab6c559fecbcf71e319d67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b20839f0c98e279d36b51c26daca7f0cd3808a73568498e0f6d603a1cdf9269f9b2fc2260c83fb932107a192a3f6e13402d27cb5c0196d558c3e151a8a10cda
|
|
7
|
+
data.tar.gz: '0609472e1390d7f2c44827faacf69a33806ac03d8727fa1c4a24a78a2cc37374cefe06a1bd9ed47b03664b2e71e6973fad844a3e5c81ba9df84d9d06a2618e65'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.11] - 2026-03-29
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- `Actor::GapSubscriber#action`: persist generated result to `Helpers::GeneratedRegistry` after successful `FromGap.generate` call, mapping `generation_id` to the `:id` key expected by `persist`
|
|
7
|
+
- `Actor::GapSubscriber#query_corroboration`: use correct `text:` kwarg (not `query:`) in `Legion::Apollo.retrieve` call; handle both `entries:` and `results:` response keys for compatibility with all Apollo routing modes
|
|
8
|
+
|
|
3
9
|
## [0.2.10] - 2026-03-27
|
|
4
10
|
|
|
5
11
|
### Fixed
|
|
@@ -21,6 +21,7 @@ module Legion
|
|
|
21
21
|
|
|
22
22
|
result = Runners::FromGap.generate(gap: gap)
|
|
23
23
|
|
|
24
|
+
Helpers::GeneratedRegistry.persist(generation: result.merge(id: result[:generation_id])) if result[:success]
|
|
24
25
|
Transport::Messages::CodeReviewRequested.new(generation: result).publish if result[:success] && defined?(Transport::Messages::CodeReviewRequested)
|
|
25
26
|
|
|
26
27
|
result
|
|
@@ -59,12 +60,12 @@ module Legion
|
|
|
59
60
|
return 0 unless defined?(Legion::Apollo) && corroboration_enabled? && query_before_generate?
|
|
60
61
|
|
|
61
62
|
result = Legion::Apollo.retrieve(
|
|
62
|
-
|
|
63
|
+
text: "capability_gap: #{gap[:intent]}",
|
|
63
64
|
scope: :global,
|
|
64
65
|
limit: 10
|
|
65
66
|
)
|
|
66
67
|
|
|
67
|
-
results = result[:results] || []
|
|
68
|
+
results = result[:entries] || result[:results] || []
|
|
68
69
|
results.map { |r| r.dig(:source, :provider) }.compact.uniq.size
|
|
69
70
|
rescue StandardError => e
|
|
70
71
|
log.debug("GapSubscriber: Apollo query failed: #{e.message}")
|