lex-autofix 0.1.3 → 0.1.4

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: 4e1aec0e3c16fc1052cbd1d20162c5da7e1598302007e3f3e82ed5adb3524d27
4
- data.tar.gz: 73423cf7a9eac6dfab257dfecd5e3c9f5c0b6e9c54cb972bdad13f17895714a3
3
+ metadata.gz: 8e404905624406ec3e776b3a3b481e0f49acbb281364c5c9c6cde430c271486a
4
+ data.tar.gz: a70051500f125b727990eb2c676535f49a571828d5c55650ea7208449f3c40d6
5
5
  SHA512:
6
- metadata.gz: bc36ca4d755a05891f9c1e07ccaa639d69a0313f79af05d12ec9a1f7deaa5b6d2f018e5347f8b3b9bf7da7d2fce2590098b593e36d17e863a89f638d0e2b99da
7
- data.tar.gz: 77f770ea80b041f5997fbe0e682c80505e94431402c31a5ab1ffce42864e3b65987521dc8c4a17156f02f519fc8b7d42584fe5f33b5e34e913a8c525c83eabe1
6
+ metadata.gz: 76c360d04cc79935692ab635d60745e3dd07d90b05b662aa23ef66ad0e11334e9f23905a4223c6f911edfa5170e3d9e2cd0894df55a8d1e089ac14a829be791f
7
+ data.tar.gz: 982ca3bec74e530feeb16acdc7fe3dd1805d9249a007fec51a6f7f8dfdb8431e56236f091f66092c208113a8b143ce6ffb8c5007ad54ff02494a7929f30fc5ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased]
4
+
5
+ ### Changed
6
+ - Add `caller:` identity parameter to `Legion::LLM.structured` call in `runners/triage.rb` (extension: lex-autofix, operation: triage)
7
+ - Add `caller:` identity and `intent: { capability: :reasoning }` parameters to `Legion::LLM.structured` call in `runners/fix.rb` (extension: lex-autofix, operation: fix)
8
+
3
9
  ## [0.1.3] - 2026-03-22
4
10
 
5
11
  ### Changed
@@ -26,7 +26,9 @@ module Legion
26
26
  messages = build_messages(attempt: attempt, error_details: error_details,
27
27
  files: files, test_output: test_output)
28
28
 
29
- llm_result = Legion::LLM.structured(messages: messages, schema: schema)
29
+ llm_result = Legion::LLM.structured(messages: messages, schema: schema,
30
+ caller: { extension: 'lex-autofix', operation: 'fix' },
31
+ intent: { capability: :reasoning })
30
32
  edits = llm_result[:edits] || []
31
33
 
32
34
  apply_result = tc.apply_edits(checkout_path: checkout_path, edits: edits)
@@ -15,7 +15,8 @@ module Legion
15
15
 
16
16
  result = Legion::LLM.structured(
17
17
  messages: [{ role: 'user', content: prompt }],
18
- schema: schema
18
+ schema: schema,
19
+ caller: { extension: 'lex-autofix', operation: 'triage' }
19
20
  )
20
21
 
21
22
  clusters = result[:clusters] || []
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Autofix
6
- VERSION = '0.1.3'
6
+ VERSION = '0.1.4'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-autofix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - LegionIO