hiiro 0.1.283 → 0.1.284
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 +4 -4
- data/CHANGELOG.md +20 -1
- data/bin/h-pm +60 -0
- data/lib/hiiro/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c11001ebe9c6d60bad456719af866219ae6d2c13fde14019cb1a97f05feb4996
|
|
4
|
+
data.tar.gz: ae2c4644c8dd9a2dfb0c97fad2ca9870f4a35eddf70ebbc04ba3e40df49e6480
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9b748ffd9b8446976815ae76fd0e6540d6c008397b61d1476ce65d32490a60645c00b1c64c2136e79bb5f287c6adb08c7032eca9547525495d727711e77063d
|
|
7
|
+
data.tar.gz: 8e1d1d6fc0361d7ee516ff1e2166b3e4158cd1cf77f6fd273f37f628e1a20f4014b6108efcbd38dc6d9d6d195b9aadcd167f813ae87aa6802096bbfbbde043ca
|
data/CHANGELOG.md
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
## [0.1.284] - 2026-03-25
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
- **h-pm bin**: Queue `/project-manager` skill prompts via `h queue add`; subcommands map to all project-manager slash commands (discover, resume, status, add, start, plan, complete, ref, impact, archive, unarchive); interactive default uses fuzzyfind to pick a command
|
|
5
|
+
|
|
6
|
+
## [0.1.283] - 2026-03-25
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- **h queue cadd/vadd/hadd**: Now `Dir.chdir` to the selected task's base directory (or active pane CWD for session selections) in the Ruby process before spawning the tmux pane, so the editor and `claude` session start in the correct directory
|
|
10
|
+
- **h queue cadd/vadd/hadd**: Added `h queue pane-dir` internal helper that resolves the working directory post-edit (accounting for `app:` and `dir:` frontmatter), used by the generated shell script to `cd` before running `claude`
|
|
11
|
+
|
|
12
|
+
## [0.1.282] - 2026-03-25
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- **h task path/cd/sh**: Reworked to accept `-f`/`-t` flags for task selection
|
|
16
|
+
- **h task path**: Enhanced to support multi-argument glob patterns for file listing within task apps
|
|
17
|
+
- **h task cd/sh**: Now use the same task selection mechanism as `h task path`
|
|
18
|
+
- **TaskManager#send_cd**: Promoted from private to public method
|
|
19
|
+
|
|
20
|
+
## [0.1.281] - Previous release
|
data/bin/h-pm
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'hiiro'
|
|
4
|
+
|
|
5
|
+
def queue_prompt(prompt)
|
|
6
|
+
IO.popen(['h', 'queue', 'add'], 'w') { |io| io.write(prompt) }
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
PM_SUBCOMMANDS = {
|
|
10
|
+
discover: "Auto-discover projects/tasks from PRs, worktrees, olive runs",
|
|
11
|
+
resume: "Show 'where was I?' session briefing for a project",
|
|
12
|
+
status: "Show project status overview",
|
|
13
|
+
add: "Add a new task to a project",
|
|
14
|
+
start: "Load context and begin working on a task",
|
|
15
|
+
plan: "Generate/update proposal doc for a task",
|
|
16
|
+
complete: "Mark a task as complete",
|
|
17
|
+
ref: "Add a reference document (PRD, spec, Figma, etc.)",
|
|
18
|
+
impact: "Analyze cascading impact of task deviation on children",
|
|
19
|
+
archive: "Archive a completed/stale project",
|
|
20
|
+
unarchive: "Restore an archived project",
|
|
21
|
+
}.freeze
|
|
22
|
+
|
|
23
|
+
Hiiro.run(*ARGV) {
|
|
24
|
+
PM_SUBCOMMANDS.each_key do |subcmd|
|
|
25
|
+
add_subcmd(subcmd) { |*args|
|
|
26
|
+
prompt = (["/project-manager", subcmd.to_s] + args).join(' ')
|
|
27
|
+
queue_prompt(prompt)
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
add_subcmd(:help) {
|
|
32
|
+
puts <<~HELP
|
|
33
|
+
h-pm — Queue /project-manager skill prompts via h queue add
|
|
34
|
+
|
|
35
|
+
USAGE:
|
|
36
|
+
h pm Interactive: pick command
|
|
37
|
+
h pm discover [project] Auto-discover untracked work
|
|
38
|
+
h pm resume <project> "Where was I?" session briefing
|
|
39
|
+
h pm status <project> Project status overview
|
|
40
|
+
h pm add <project> <task> Add a new task
|
|
41
|
+
h pm start <project> <task> Load context and begin task
|
|
42
|
+
h pm plan <project> <task> Generate/update proposal doc
|
|
43
|
+
h pm complete <project> <task> Mark task as complete
|
|
44
|
+
h pm ref <project> [url-or-path] Add a reference document
|
|
45
|
+
h pm impact <project> <task> Analyze task deviation impact
|
|
46
|
+
h pm archive <project> Archive a project
|
|
47
|
+
h pm unarchive <project> Restore an archived project
|
|
48
|
+
|
|
49
|
+
Each command builds a /project-manager prompt and queues it via h queue add.
|
|
50
|
+
HELP
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
add_default {
|
|
54
|
+
entries = PM_SUBCOMMANDS.map { |cmd, desc| "#{cmd.to_s.ljust(12)} #{desc}" }
|
|
55
|
+
selected = fuzzyfind(entries)
|
|
56
|
+
next unless selected
|
|
57
|
+
cmd = selected.split.first
|
|
58
|
+
queue_prompt("/project-manager #{cmd}")
|
|
59
|
+
}
|
|
60
|
+
}
|
data/lib/hiiro/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.1.284
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Toyota
|
|
@@ -113,6 +113,7 @@ files:
|
|
|
113
113
|
- bin/h-pane
|
|
114
114
|
- bin/h-pgsync
|
|
115
115
|
- bin/h-plugin
|
|
116
|
+
- bin/h-pm
|
|
116
117
|
- bin/h-pr
|
|
117
118
|
- bin/h-pr-monitor
|
|
118
119
|
- bin/h-project
|