@indigoai-us/hq-cli 5.289.0 → 5.291.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 +61 -0
- package/assets/scaffold/core/scripts/handoff-finalize.sh +670 -0
- package/assets/scaffold/core/scripts/handoff-open-steps.sh +81 -0
- package/assets/scaffold/core/scripts/handoff-post.sh +187 -0
- package/assets/scaffold/core/scripts/hook-lib.sh +345 -50
- package/assets/scaffold/core/scripts/hq-session.sh +182 -21
- package/assets/scaffold/core/scripts/jobs-schedule-parse.sh +310 -0
- package/assets/scaffold/core/scripts/jobs-validate.sh +451 -0
- package/assets/scaffold/core/scripts/lib/session-id.sh +3 -2
- package/assets/scaffold/core/scripts/lib/work-mesh-enqueue.sh +2 -1
- package/assets/scaffold/core/scripts/qmd-reindex-bg.sh +40 -0
- package/dist/command-catalog.generated.d.ts +110 -0
- package/dist/command-catalog.generated.js +136 -0
- package/dist/commands/cloud.d.ts +26 -14
- package/dist/commands/cloud.js +207 -56
- package/dist/commands/core-handoff.d.ts +22 -0
- package/dist/commands/core-handoff.js +1240 -0
- package/dist/commands/core-jobs-native.d.ts +8 -0
- package/dist/commands/core-jobs-native.js +624 -0
- package/dist/commands/core-native-jobs-flag.d.ts +4 -0
- package/dist/commands/core-native-jobs-flag.js +7 -0
- package/dist/commands/core-ontology.d.ts +6 -1
- package/dist/commands/core-ontology.js +42 -7
- package/dist/commands/core-policy.js +24 -5
- package/dist/commands/core.js +15 -1
- package/dist/commands/integrations-core.js +7 -0
- package/dist/commands/lanes.js +111 -35
- package/dist/commands/members.js +5 -0
- package/dist/commands/mesh.js +46 -25
- package/dist/commands/personal-targeted-push-flag.d.ts +4 -0
- package/dist/commands/personal-targeted-push-flag.js +7 -0
- package/dist/commands/personal-targeted-push-paths.d.ts +3 -0
- package/dist/commands/personal-targeted-push-paths.js +67 -0
- package/dist/commands/secrets.js +9 -0
- package/dist/commands/skill.d.ts +3 -0
- package/dist/commands/skill.js +28 -0
- package/dist/fast-core.js +1 -0
- package/dist/lib/billing/free-month.d.ts +18 -0
- package/dist/lib/billing/free-month.js +31 -0
- package/dist/lib/billing/plan-limit-refusals.d.ts +69 -0
- package/dist/lib/billing/plan-limit-refusals.js +187 -0
- package/dist/lib/billing/plan-lock.d.ts +2 -6
- package/dist/lib/billing/plan-lock.js +5 -16
- package/dist/lib/checkpoint-ontology/entity-file.d.ts +21 -0
- package/dist/lib/checkpoint-ontology/entity-file.js +100 -0
- package/dist/lib/checkpoint-ontology/merge-copies.d.ts +34 -2
- package/dist/lib/checkpoint-ontology/merge-copies.js +541 -27
- package/dist/lib/core-utils/secret-patterns.d.ts +3 -1
- package/dist/lib/core-utils/secret-patterns.js +3 -2
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/lanes/autopilot.d.ts +69 -0
- package/dist/lib/lanes/autopilot.js +418 -0
- package/dist/lib/lanes/mesh-events.js +2 -0
- package/dist/lib/lanes/store.d.ts +4 -2
- package/dist/lib/lanes/store.js +18 -9
- package/dist/lib/mesh/api.js +4 -0
- package/dist/lib/mesh/live/daemon/state.d.ts +7 -1
- package/dist/lib/mesh/live/daemon/state.js +34 -2
- package/dist/main.js +23 -12
- package/dist/utils/plan-gate-error.d.ts +24 -0
- package/dist/utils/plan-gate-error.js +219 -9
- package/dist/utils/self-update.d.ts +3 -0
- package/dist/utils/self-update.js +232 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,65 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.291.0] — 2026-09-29
|
|
6
|
+
- Add native `hq core jobs schedule-parse` and `validate` commands behind the default-off `core-native-jobs` gate, retaining their shell rollback companions.
|
|
7
|
+
|
|
8
|
+
- Offline mesh reconcile does not refresh person tokens or start interactive sign-in; valid cached tokens still validate device defaults.
|
|
9
|
+
- Retry daemon state replacement briefly when Windows reports transient rename contention, while keeping the previous state file intact on failure.
|
|
10
|
+
- When a lane has no Board story ID, `hq lanes` records the lane event without sending a story PATCH.
|
|
11
|
+
- `hq core policy age-report` now matches the legacy script when a missing reference has no hidden sibling under a dot directory.
|
|
12
|
+
- Keep bundled scaffold scripts current with staging and check their pinned source revision in CI.
|
|
13
|
+
- Starter plan-limit refusals now show why and how to fix them. The CLI reads
|
|
14
|
+
hq-pro's hard-stop 402 body (and the older shapes) and prints the server
|
|
15
|
+
message, the usage, the fix options, the free-month offer when one stands,
|
|
16
|
+
and the upgrade link, including in non-interactive runs. `hq secrets set`,
|
|
17
|
+
`hq secrets generate-link`, `hq members invite` and `hq integrations connect`
|
|
18
|
+
all use this renderer and exit non-zero.
|
|
19
|
+
- `hq sync push`, `hq sync push --all`, `hq sync now`, `hq sync now --all` and
|
|
20
|
+
`hq skill create` no longer print a success line when a plan limit refused a
|
|
21
|
+
file. They list the refused files the runner names, show the upgrade link and
|
|
22
|
+
exit non-zero. `hq sync push --json` adds `planLimitRefused` to its `complete`
|
|
23
|
+
event instead.
|
|
24
|
+
|
|
25
|
+
## [5.290.0] — 2026-09-29
|
|
26
|
+
- Ignore stale but well-formed worker-profile queue details when another valid queue reason is stored, and remove them on the lane's next write.
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- Gate `hq sync push --personal <paths>` behind the default-off `cli.personal-targeted-push-paths` flag; explicit paths are normalized and checked against personal-vault scope and exclusions before upload.
|
|
31
|
+
|
|
5
32
|
## [5.289.0] — 2026-09-29
|
|
33
|
+
- A failed `hq update` restores the previous working hq-cli install when it could be backed up, instead of leaving the CLI partially updated.
|
|
34
|
+
|
|
35
|
+
## [5.288.0] — 2026-09-29
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- `hq core ontology merge-copies --rewrite-refs` (flag `checkpoint.ontology.merge-rewrite-refs`, default off) re-points signal refs, invoice and bill links, source and knowledge links from a merged copy to its survivor and carries the copy's external ids and web domains; a pair whose files hold different values for one external id stays held (`external_id_conflict`).
|
|
40
|
+
- A `--only` entry can carry `resolve_external_ids: { <provider>: { primary, namespace, object_type? } }`. With `--rewrite-refs`, a conflicting provider id then keeps `primary` in `external_ids` and moves the pair's other id to the survivor's `external_refs` (`system`, `namespace`, `objectType`, `recordId`), so no id is dropped. A `primary` that matches neither id still holds the pair.
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- `hq core ontology merge-copies --variants` no longer counts a copy's own `# Name` heading as unmerged text, so a merged variant copy can be deleted.
|
|
45
|
+
- `merge-copies` no longer moves a copy's links to itself or to its original into the original, and does not count them or the `## Relationships` heading as unmerged text.
|
|
46
|
+
- `merge-copies` now finds signal `entity_refs` written with a `.md` suffix, so it holds (or, with `--rewrite-refs`, re-points) them instead of deleting a copy they still name.
|
|
47
|
+
- `merge-copies --rewrite-refs` no longer holds a survivor as `merge_invalid` when it gains external ids but has no `web_domains` key (or the reverse).
|
|
48
|
+
- `merge-copies` treats an annotation list item whose first key is `path:` as a link to the copy, so it no longer deletes a copy such an annotation still names.
|
|
49
|
+
|
|
50
|
+
### Added
|
|
51
|
+
|
|
52
|
+
- Add lead autopilot prompts to the lanes reconcile pass behind
|
|
53
|
+
`lanes.lead-autopilot` (off by default) and expose
|
|
54
|
+
`hq lanes autopilot run --dry-run --json`. It asks registered leads to review
|
|
55
|
+
finished, blocked, or missing workers or fill unused grant slots, starts a
|
|
56
|
+
ready worker after an
|
|
57
|
+
unanswered fill prompt ages 15 minutes, and relies on keep-alive to resume
|
|
58
|
+
completed leads with open work.
|
|
59
|
+
|
|
60
|
+
### Fixed
|
|
61
|
+
|
|
62
|
+
- Retry daemon state replacement briefly when Windows reports transient rename
|
|
63
|
+
contention, while keeping the previous state file intact on failure.
|
|
6
64
|
|
|
7
65
|
## [5.287.0] — 2026-09-29
|
|
8
66
|
- Group hook-timeout events by script while preserving triage diagnostics.
|
|
@@ -12,6 +70,9 @@
|
|
|
12
70
|
- Add native TypeScript implementations for four `hq core` worktree and
|
|
13
71
|
handoff scripts behind the default-off `core-native-handoff` flag. The
|
|
14
72
|
original shell assets remain bundled as the rollback path.
|
|
73
|
+
- Add default-off native `hq core handoff finalize`, `post`, and `open-steps` commands with the staging scripts retained as the rollback path.
|
|
74
|
+
- Add a default-off `core-native-jobs` rollout gate for native `hq core jobs
|
|
75
|
+
schedule-parse` and `validate` commands.
|
|
15
76
|
|
|
16
77
|
### Fixed
|
|
17
78
|
|