hiiro 0.1.363 → 0.1.365

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: f52debf7400300975671eefe3d6bac6766179c179f40cecdafd91d611ae9500b
4
- data.tar.gz: 2a5edf1448073cffb3afa07620c92a5e478fd057537f8f16c15d8234697bc28f
3
+ metadata.gz: 5cd9e9d71bc395bd2c2595f8087e46f1ba6ea4e5ec80ae9ea9be9942aeddc15a
4
+ data.tar.gz: 96f39bc0fe91064bb6a7c95371b7d1105be32daad17883e5a75ec565a617783c
5
5
  SHA512:
6
- metadata.gz: 22521e0b7c2be0f03b371e5471840eb81e504557b81b0d2a8f45242871160fa1960406d742d79ffc704f3333a3aa606be03519253bc0bf98beca3a9b49fd7ef7
7
- data.tar.gz: 6c102bd975d77c9eadaeee63810bc04fefceb09f77b046caa1c7e05486c48928287be23815f9bd36665ad065324724e636e67d3ab0856c36cbd0a5634b7b13d4
6
+ metadata.gz: ff2f56ae6f5c69db4476308c1f52eff96504b8ce52b8fb1d015a4ade478e3000e075ac0e8a737d2fc03b9bb16108ba6408ca7eb22af76965780addf528f94758
7
+ data.tar.gz: f15c1f626b4c6b7ffccfc62559517a35d75a0f0e10ac1a72601401b7b953231ec2e9df4495946c9724d46d7ce3d2d9d2b26826f4f4119dfadf80041935288c75
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased]
3
+ ## [0.1.365] - 2026-09-13
4
4
 
5
5
  ### Added
6
6
  - Add the `t` task CLI with `--task`/`-t` selection, durable task status and next actions, document homes, resource references, and Herdr workspace/tab/pane commands.
@@ -19,6 +19,7 @@
19
19
  - Remove the old `Hiiro::Tmux` adapter and tmux-specific command tests.
20
20
 
21
21
  ### Fixed
22
+ - Strip the desktop notifier executable path and run notifications and sounds as detached processes instead of creating persistent Herdr tabs.
22
23
  - Preserve `add_cmd` declaration locations and argument metadata in generated help; allow command groups to pass arguments and help through to child commands.
23
24
  - Make undeclared `add_cmd opts:` entries boolean flags without consuming positional arguments; preserve explicit options and reserve conflicting short aliases.
24
25
  - Show selected command options for `add_cmd -h`/`--help` without executing the command block.
@@ -27,6 +28,12 @@
27
28
  - Make Hiiro's Ruby requirement explicit as Ruby 3.2+ and have rbenv-wide gem installs skip incompatible Ruby versions.
28
29
  - Update the publish script to preserve the Ruby support constant, run only on supported Ruby, and install releases only into compatible rbenv versions.
29
30
 
31
+ ## [0.1.364] - 2026-09-13
32
+
33
+ ### Fixed
34
+ - Create the publish response log directory before saving Claude's output, preventing release preparation from failing when the directory is absent.
35
+ - Prevent infinite recursion in help directory grouping when command locations span different filesystem-root directories, such as `/Users` and `/Volumes`.
36
+
30
37
  ## [0.1.355] - 2026-05-19
31
38
 
32
39
  ### Added
@@ -362,4 +369,4 @@
362
369
  - `h db cleanup` subcommand to preview and prune duplicate rows from SQLite tables
363
370
 
364
371
  ### Fixed
365
- - Prevent duplicate pinned_prs during import with `insert_conflict` and per-row rescue
372
+ - Prevent duplicate pinned_prs during import with `insert_conflict` and per-row rescue
@@ -42,19 +42,19 @@ class Hiiro
42
42
  cmd += ['-title', options.title.tr('()[]', '')] if options.title
43
43
  cmd += ['-open', options.link] if options.link
44
44
  cmd += ['-execute', options.command] if options.command
45
- Background.run(*cmd)
45
+ Process.detach(spawn(*cmd))
46
46
 
47
47
  play_sound
48
48
  end
49
49
 
50
50
  def play_sound
51
51
  if options.sound && sounds[options.sound]
52
- Background.run('afplay', sounds[options.sound.downcase])
52
+ Process.detach(spawn('afplay', sounds[options.sound.downcase]))
53
53
  end
54
54
  end
55
55
 
56
56
  def binpath
57
- `command -v terminal-notifier`
57
+ `command -v terminal-notifier`.strip
58
58
  end
59
59
 
60
60
  def has_cmd?
data/lib/hiiro/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Hiiro
2
- VERSION = "0.1.363"
2
+ VERSION = "0.1.365"
3
3
  SUPPORTED_RUBY_VERSION = ">= 3.2.0"
4
4
  end
data/lib/hiiro.rb CHANGED
@@ -508,8 +508,10 @@ class Hiiro
508
508
  if lca_depth >= min_depth
509
509
  [lca]
510
510
  else
511
- lca_parts = lca.split('/')
512
- subgroups = dirs.group_by { |d| d.split('/').first(lca_parts.length + 1).join('/') }
511
+ subgroups = dirs.group_by do |dir|
512
+ depth = lca_depth + (dir.start_with?('/') ? 2 : 1)
513
+ dir.split('/').first(depth).join('/')
514
+ end
513
515
  subgroups.flat_map { |_, group| consolidate_dirs(group, min_depth: min_depth) }.uniq
514
516
  end
515
517
  end
data/script/publish CHANGED
@@ -4,6 +4,7 @@ require "net/http"
4
4
  require "json"
5
5
  require "open3"
6
6
  require "shellwords"
7
+ require "fileutils"
7
8
 
8
9
  HIIRO_SUPPORTED_RUBY_VERSION = ">= 3.2.0"
9
10
 
@@ -187,6 +188,7 @@ class Claude
187
188
  puts '------------------------'
188
189
  puts
189
190
 
191
+ FileUtils.mkdir_p('tmp/publish_output')
190
192
  File.write('tmp/publish_output/' + Time.now.strftime('%Y%m%d%H%M%S') + '.json', raw)
191
193
  parsed = JSON.parse(raw)
192
194
  Result.new(parsed["commits"], parsed["changelog"])
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.363
4
+ version: 0.1.365
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota