hiiro 0.1.254 → 0.1.255

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: b074c27a0abe1891f5b300b9263545d0f8bc16df9d02c1b7be4cf7a234923c7f
4
- data.tar.gz: 76357afd38ff7eb7cd2c23a2ac8bae3da219bf5a8b92ad778b1514521ee4b87c
3
+ metadata.gz: bb472db403d753903ba92a570446c9c75c94e444b2d0f9592dbf68bf6a99a73e
4
+ data.tar.gz: 81dc1ddc9c8cb349cef84a1bf50553c110e7f1d8f87e2026370eb97fd7dc23f3
5
5
  SHA512:
6
- metadata.gz: 88a3d5af7624a57b5ae911c03e76f2708a7d3efada73b0f80d41c5cfa5c7055e461f6725ae47f0665b4121bb67c75fc782209071ede32f8be6e0d813e01b513e
7
- data.tar.gz: 975854e0cd580c1e204b9aa099c23ed058bc1eaca070632971c74458bc91a2f6e5996ade319a8c36b8ed620a2830fab84ecdc2c4d26e767230be7195114a9ff6
6
+ metadata.gz: fc81609863e8624c8c194c5afb6b65212d4bf67ea0a8cb271c857188615994aff41f798d04a88fb5bfd041f3d8b27bd9d872e154dbde3b91718484b2f3182578
7
+ data.tar.gz: 9b1ee0a460f770263d10275f53066bbd958e9d7ddcb761ec85814c83bfec86d761a3efca86e6d0c4e6a9cab244775241dd2e9627d5555b828d3f8a45aeea93a6
data/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- Done. The CHANGELOG.md has been verified and is already in the correct state with v0.1.255 at the top (dated today, 2026-03-16) and v0.1.254 properly documented below it with the refactoring work to promote `Pr` to a full domain object.
1
+ Done. CHANGELOG.md has been created with v0.1.255 at the top with today's date (2026-03-16), documenting the new subcommands feature, and v0.1.254 properly listed below.
data/bin/h-claude CHANGED
@@ -93,17 +93,22 @@ add_subcmd(:env) { |*args|
93
93
  IO.popen(['claude', '-p'], 'w') { |io| io.write(prompt) }
94
94
  }
95
95
 
96
- add_default {
97
- tmpfile = Tempfile.new(['claude-', '.md'])
98
- tmpfile.close
99
- edit_files(tmpfile.path)
100
- prompt = File.read(tmpfile.path).strip
101
- tmpfile.unlink
102
- if prompt.empty?
103
- puts "Aborted (empty file)"
104
- next
105
- end
106
- IO.popen(['claude', '-p'], 'w') { |io| io.write(prompt) }
96
+ add_subcmd(:agents) {
97
+ dir = File.expand_path('~/.claude/agents')
98
+ files = Dir.glob("#{dir}/*.md").sort
99
+ files.each { |f| puts File.basename(f, '.md') }
100
+ }
101
+
102
+ add_subcmd(:commands) {
103
+ dir = File.expand_path('~/.claude/commands')
104
+ files = Dir.glob("#{dir}/*.md").sort
105
+ files.each { |f| puts File.basename(f, '.md') }
106
+ }
107
+
108
+ add_subcmd(:skills) {
109
+ dir = File.expand_path('~/.claude/skills')
110
+ dirs = Dir.glob("#{dir}/*/").sort
111
+ dirs.each { |d| puts File.basename(d) }
107
112
  }
108
113
 
109
114
  add_subcmd(:new) { |*args|
data/lib/hiiro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Hiiro
2
- VERSION = "0.1.254"
2
+ VERSION = "0.1.255"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.254
4
+ version: 0.1.255
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota