hub-launch 1.6.0 → 1.7.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.7.0] - 2026-06-23
11
+
12
+ ### Fixed
13
+
14
+ - **`/hula-launch` relaunch now checks the remote for a plan file before failing.** When relaunching a project, the CLI previously failed immediately if the local plan file was missing. It now checks the remote repository first, so a relaunch succeeds on a fresh clone or after the local `.hublaunch/` directory has been cleaned — without requiring a manual `git pull`.
15
+
10
16
  ## [1.6.0] - 2026-06-23
11
17
 
12
18
  ### Changed
@@ -59,10 +59,6 @@ if [[ -z "$PLAN_PATH" || -z "$BRANCH_NAME" ]]; then
59
59
  die 1 "Usage: bash .github/scripts/hula-launch-run.sh <plan-path> <branch-name> [--handoff <username>]"
60
60
  fi
61
61
 
62
- if [[ ! -f "$PLAN_PATH" ]]; then
63
- die 1 "Plan file not found: ${PLAN_PATH}"
64
- fi
65
-
66
62
  # Reject paths with directory traversal sequences
67
63
  if printf '%s' "$PLAN_PATH" | grep -q '\.\.'; then
68
64
  die 1 "Invalid plan path (path traversal not allowed): ${PLAN_PATH}"
@@ -68,6 +68,6 @@ Parse the JSON output from the script:
68
68
 
69
69
  ## Important Notes
70
70
 
71
- - Do NOT call the `Read` tool to check if the plan file exists. The script validates file existence and reports errors clearly.
71
+ - Do NOT call the `Read` tool to check if the plan file exists. The `hula launch` CLI validates file existence (locally and on `origin/main`) and reports errors clearly.
72
72
  - Do NOT run `hula upload` separately. `hula launch` handles upload automatically.
73
73
  - This command is typically run after `/hula-plan` and `/hula-confirm`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hub-launch",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "GitHub Issue and PR automation CLI tool with plugin/hook system for project-specific customizations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",