legion-tty 0.4.33 → 0.4.35

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: b3a0d39dc6c47dd69a67ba139bb5a34fa86aae33e3a815b45a2962e1fca4a077
4
- data.tar.gz: 0ef31e6acdfb812e9c4fa6d04d521335b774e38269c1e34b6a6ec3508862b8f3
3
+ metadata.gz: 31b8e7a6dcba6b0327573f361400407394b176b79a115a9e3547c6e38c6523eb
4
+ data.tar.gz: 3f5bf51a8520ca9ab668067a03033467f344020f851b6b6545273b739889135c
5
5
  SHA512:
6
- metadata.gz: d5463c6590d4d2ed64dbc1fb185cede66305d0be6c9b84f8a21d5bd3f2e44345fd014a3b73de05ef11f25c84adad3119c7e8c683ac4838e12fa685e7369a2c90
7
- data.tar.gz: 2403703fe27ffdd01a2197ab31a9794432fc744a1a45057d10e79024f1218ae8eb7a6cc4c754eafbbdf7912cad8a8069a45e49cb2114790c8ea22ad6e2af44f0
6
+ metadata.gz: 6b4606e9588d44d94142722851e0b16d2d31e39c3c3ce3054eca965eeac432cf36c79b9ffb2d50e6abf005a37076df1890548f29586a44656f4ce290faf7ef90
7
+ data.tar.gz: 8ac2d9587039192b05262e4ab285b7e1791d41f95c9d58990f04cadcc98113e576019a886fe1130e5ce2ef515f6e85d541c948ac2011f5eacc91ef55e5fd8343
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.35] - 2026-03-25
4
+
5
+ ### Changed
6
+ - Guard bootsnap behind `LEGION_BOOTSNAP=true` env var in `exe/legion-tty`, default to disabled
7
+
8
+ ## [0.4.34] - 2026-03-24
9
+
10
+ ### Fixed
11
+ - Remove `caller:` from `send_via_daemon` since `Legion::LLM.ask` has a fixed signature and does not accept keyword arguments
12
+
3
13
  ## [0.4.33] - 2026-03-23
4
14
 
5
15
  ### Changed
data/exe/legion-tty CHANGED
@@ -3,14 +3,16 @@
3
3
 
4
4
  RubyVM::YJIT.enable if defined?(RubyVM::YJIT)
5
5
 
6
- require 'bootsnap'
7
- Bootsnap.setup(
8
- cache_dir: File.expand_path('~/.legionio/cache/bootsnap'),
9
- development_mode: false,
10
- load_path_cache: true,
11
- compile_cache_iseq: true,
12
- compile_cache_yaml: true
13
- )
6
+ if ENV['LEGION_BOOTSNAP'] == 'true' && Dir.exist?(File.expand_path('~/.legionio'))
7
+ require 'bootsnap'
8
+ Bootsnap.setup(
9
+ cache_dir: File.expand_path('~/.legionio/cache/bootsnap'),
10
+ development_mode: false,
11
+ load_path_cache: true,
12
+ compile_cache_iseq: true,
13
+ compile_cache_yaml: true
14
+ )
15
+ end
14
16
 
15
17
  require 'legion/tty'
16
18
 
@@ -256,7 +256,7 @@ module Legion
256
256
  end
257
257
 
258
258
  def send_via_daemon(message)
259
- result = Legion::LLM.ask(message: message, caller: { source: 'tty', screen: 'chat' })
259
+ result = Legion::LLM.ask(message: message)
260
260
 
261
261
  case result&.dig(:status)
262
262
  when :done
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module TTY
5
- VERSION = '0.4.33'
5
+ VERSION = '0.4.35'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-tty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.33
4
+ version: 0.4.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity