brainiac 0.0.1 → 0.0.2

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: '069ec39ec10903923df50526772144273250221360eb3ba3b4403850bf9848c7'
4
- data.tar.gz: 95e609939553b6c01b11adcf80df9df92e6bb47974a4db7ee5d92f1b650482f7
3
+ metadata.gz: 6381c1bf1bde343e16c3eef756bb6a761b3640e1adfc645ab3e7deb202c11d80
4
+ data.tar.gz: c2391c9fcc3794a03a18bafcf12c6610ca354069b7d7a98aa0a5e5087eff5589
5
5
  SHA512:
6
- metadata.gz: 70efc1b7a504e3dad9b6e6aa0055cbb36b41c87ca116a32780f79f0e7d18e5c4bf9a0cfce578e6d3584c74f5253f0af8b5a9590d18a228332e8be669b4139b0b
7
- data.tar.gz: 7a4f6e4bbf5f3a6a8239b1d0ac11f804f3b7b8019404d1a3a12751fb98f9292b147652f3eb0352d37161ab26f55129d8045dff13af1c2f96ac57ec20825a0705
6
+ metadata.gz: 6edc692e8d96466267b99044787c4150441d8970eb004aee050343ec205e717756d8cd7e148ba886590ca3634cc4c6b831802037f9d4e946ebd30fadae17c0c6
7
+ data.tar.gz: c2f136d341a372039ec5d45b775488b9efc3f97d01679d3ce7f4765e0e397d45e54fa83cc698068be98e38fec8cc2fe4e778425d2d712ea8fa1046787822ef09
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brainiac (0.0.1)
4
+ brainiac (0.0.2)
5
5
  puma (~> 7.2)
6
6
  rackup (~> 2.3)
7
7
  sinatra (~> 4.1)
@@ -90,7 +90,7 @@ DEPENDENCIES
90
90
  CHECKSUMS
91
91
  ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
92
92
  base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
93
- brainiac (0.0.1)
93
+ brainiac (0.0.2)
94
94
  event_emitter (0.2.6) sha256=c72697bd5cce9d36594be1972c17f1c9a573236f44303a4d1d548080364e1391
95
95
  json (2.19.9) sha256=9b9025b7cdddafa38d316eca0b2358488e42d417045c1b90d216a9fefe46b79a
96
96
  language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
@@ -32,7 +32,7 @@ DISCORD_ALL_READY_LOGGED = { done: false }
32
32
  DISCORD_SHARED_THREADS = {}
33
33
  DISCORD_SHARED_THREADS_MUTEX = Mutex.new
34
34
 
35
- # Zillacore restart queue: when an agent works on brainiac itself, queue a restart
35
+ # Brainiac restart queue: when an agent works on brainiac itself, queue a restart
36
36
  # instead of doing it immediately. A background thread checks every 30s and only
37
37
  # restarts when no other agents are running, preventing mid-session kills.
38
38
  # Using a hash instead of a constant to allow mutation inside synchronize blocks
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Brainiac
4
4
  # @return [String] the current gem version
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
data/receiver.rb CHANGED
@@ -695,7 +695,7 @@ if DISCORD_ENABLED
695
695
  ready = DISCORD_BOTS_MUTEX.synchronize { DISCORD_BOTS.any? { |_, info| info[:status] == "ready" } }
696
696
  next unless ready
697
697
 
698
- send_restart_notification("✅ Zillacore back online")
698
+ send_restart_notification("✅ Brainiac back online")
699
699
 
700
700
  # Check if running an outdated version (skip in dev/foreground mode)
701
701
  unless $stdout.tty?
@@ -708,7 +708,7 @@ if DISCORD_ENABLED
708
708
  token = tokens.values.first
709
709
  if channel_id && token
710
710
  send_discord_message(channel_id,
711
- "#{mention}: Zillacore was updated and needs to be pulled down (#{version_info[:commits_behind]} commit#{"s" if version_info[:commits_behind] != 1} behind, running #{version_info[:local_sha]} vs #{version_info[:remote_sha]})",
711
+ "#{mention}: Brainiac was updated and needs to be pulled down (#{version_info[:commits_behind]} commit#{"s" if version_info[:commits_behind] != 1} behind, running #{version_info[:local_sha]} vs #{version_info[:remote_sha]})",
712
712
  token: token)
713
713
  end
714
714
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brainiac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Davis
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 4.0.14
232
+ rubygems_version: 3.6.9
233
233
  specification_version: 4
234
234
  summary: AI agent webhook receiver and dispatcher
235
235
  test_files: []
metadata.gz.sig CHANGED
Binary file