hiiro 0.1.288 → 0.1.289
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 +21 -1
- data/lib/hiiro/queue.rb +20 -17
- data/lib/hiiro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37466eb01d7284c838b3ba958f35a41e0f33f4f4fd5c22036ce11f2daa13bfb4
|
|
4
|
+
data.tar.gz: 55b421c1b3c124cc265d14c93f7709d0e2c894d4497125884306fbe53fe29762
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc41d3e7f2fc019d20336f0890dcff641d545a3bb25a6b83147fc1067b3a139a2548c498b8f9e825cbe7096c2a4d2d77706ed9e21d79b36b26459db54a2ea3f4
|
|
7
|
+
data.tar.gz: 403890caf1a18fe7b5c231b1fd12c2e4d07897867c8e46620441923f2860b4e5c0f7ab848105edb4c773a7d2724f5a4be4048e37155ec31bce78ea387f07fc1c
|
data/CHANGELOG.md
CHANGED
|
@@ -1 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
```markdown
|
|
2
|
+
## v0.1.289 (2026-03-26)
|
|
3
|
+
|
|
4
|
+
### Fixed
|
|
5
|
+
- `h queue run`/`watch`: frontmatter `session_name` now directly controls which tmux session the task launches in; working directory seeded from that session's active pane when no tree is specified
|
|
6
|
+
- `h queue sadd`: now immediately launches a new tmux window in the target session after adding to queue, consistent with `hadd`/`vadd` behavior (previously just added to pending with no launch)
|
|
7
|
+
|
|
8
|
+
## v0.1.288 (2026-03-26)
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- `h pr ls` / `h pr update`: PRs with >100 checks now show accurate status. GraphQL query was using `contexts(last: 100)`, truncating check runs for PRs with 100+ checks and silently dropping failures that happened to fall outside the window. Increased limit to 250.
|
|
12
|
+
|
|
13
|
+
## v0.1.287 (2026-03-26)
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- `h pr status`: show current branch PR checks summary (failures, pending, success counts)
|
|
17
|
+
- `h todo`: fuzzyfinder fallback for item selection when no exact match
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- PR list now shows pending indicator alongside failures
|
|
21
|
+
```
|
data/lib/hiiro/queue.rb
CHANGED
|
@@ -155,27 +155,28 @@ class Hiiro
|
|
|
155
155
|
tree_root = nil
|
|
156
156
|
|
|
157
157
|
if prompt_obj
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
target_session = prompt_obj.session_name
|
|
158
|
+
fm = prompt_obj.frontmatter
|
|
159
|
+
|
|
160
|
+
# 1. Session: frontmatter session_name wins outright — no env lookup needed
|
|
161
|
+
raw_session = fm['session_name'].to_s
|
|
162
|
+
if !raw_session.empty?
|
|
163
|
+
target_session = raw_session
|
|
164
|
+
# Seed working_dir from the session's active pane (overridden by tree below if present)
|
|
165
|
+
pane_path = `tmux display-message -t #{Shellwords.shellescape(raw_session)}: -p '\#{pane_current_path}' 2>/dev/null`.strip
|
|
166
|
+
working_dir = pane_path if !pane_path.empty? && Dir.exist?(pane_path)
|
|
167
|
+
elsif prompt_obj.task
|
|
168
|
+
task_session = prompt_obj.task.session_name
|
|
169
|
+
target_session = task_session if task_session && !task_session.empty?
|
|
171
170
|
end
|
|
172
171
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
# 2. Tree: sets both working_dir and tree_root (overrides session pane dir)
|
|
173
|
+
tree = prompt_obj.tree || prompt_obj.task&.tree
|
|
174
|
+
if tree
|
|
175
|
+
working_dir = tree.path
|
|
176
|
+
tree_root = tree.path
|
|
176
177
|
end
|
|
177
178
|
|
|
178
|
-
#
|
|
179
|
+
# 3. App + dir: resolve on top of tree root
|
|
179
180
|
if prompt_obj.app_name
|
|
180
181
|
env = Environment.current rescue nil
|
|
181
182
|
app = env&.find_app(prompt_obj.app_name)
|
|
@@ -682,6 +683,8 @@ class Hiiro
|
|
|
682
683
|
|
|
683
684
|
if split
|
|
684
685
|
q.launch_in_pane(result[:name], split: split)
|
|
686
|
+
elsif session
|
|
687
|
+
q.launch_task(result[:name])
|
|
685
688
|
else
|
|
686
689
|
puts "Created: #{result[:path]}"
|
|
687
690
|
end
|
data/lib/hiiro/version.rb
CHANGED