claude-inbox 0.1.0 → 0.2.0

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.
@@ -8,12 +8,13 @@ module ClaudeInbox
8
8
  HUES = {red: 203, green: 108, yellow: 179, blue: 75, purple: 176, cyan: 73}.freeze
9
9
  BG = 236
10
10
 
11
+ HUES.each_key do |hue|
12
+ define_method(hue) { |text| color(text, hue) }
13
+ define_method(:"#{hue}_bold") { |text| color(text, hue, bold: true) }
14
+ end
15
+
11
16
  def initialize(enabled: true)
12
17
  @enabled = enabled
13
- HUES.each_key do |hue|
14
- define_singleton_method(hue) { |text| color(text, hue) }
15
- define_singleton_method(:"#{hue}_bold") { |text| color(text, hue, bold: true) }
16
- end
17
18
  end
18
19
 
19
20
  # A filled pill: editor-background text on the hue, for a selected row
@@ -15,8 +15,6 @@ module ClaudeInbox
15
15
  OSC = /\e\][^\a\e]*(?:\a|\e\\)?/
16
16
  ESC_OTHER = /\e[()#][A-Za-z0-9]|\e[A-Za-z0-9=>78]/
17
17
 
18
- attr_reader :rows, :cols
19
-
20
18
  def initialize(rows: 300, cols: 300)
21
19
  @rows = rows
22
20
  @cols = cols
data/lib/claude_inbox.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClaudeInbox
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
 
7
7
  require_relative "claude_inbox/palette"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claude-inbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Byron
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 4.0.3
160
+ rubygems_version: 3.6.7
161
161
  specification_version: 4
162
162
  summary: Inbox-style triage on top of Claude Code's background sessions
163
163
  test_files: []