@indigoai-us/hq-cli 5.111.2 → 5.113.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 +34 -0
- package/dist/bin/hq-auth-refresh.d.ts +2 -0
- package/dist/bin/hq-auth-refresh.js +12 -6
- package/dist/command-catalog.generated.d.ts +6399 -0
- package/dist/command-catalog.generated.js +8275 -0
- package/dist/command-registration-plan.d.ts +394 -0
- package/dist/command-registration-plan.js +103 -0
- package/dist/commands/core.js +18 -0
- package/dist/commands/index-cmd.d.ts +2 -0
- package/dist/commands/index-cmd.js +15 -0
- package/dist/lazy-commands.d.ts +20 -44
- package/dist/lazy-commands.js +57 -58
- package/dist/lib/core-utils/qmd-reindex-after-sync.d.ts +1 -0
- package/dist/lib/core-utils/qmd-reindex-after-sync.js +12 -0
- package/dist/lib/core-utils/sentry-report.d.ts +76 -0
- package/dist/lib/core-utils/sentry-report.js +255 -0
- package/dist/lib/search-index/background.d.ts +2 -0
- package/dist/lib/search-index/background.js +28 -0
- package/dist/lib/search-index/max-doc-bytes.d.ts +220 -0
- package/dist/lib/search-index/max-doc-bytes.js +463 -0
- package/dist/main.d.ts +6 -0
- package/dist/main.js +87 -29
- package/dist/register-all.d.ts +4 -29
- package/dist/register-all.js +4 -235
- package/dist/sentry.d.ts +8 -2
- package/dist/sentry.js +17 -1
- package/dist/utils/cli-telemetry.d.ts +2 -1
- package/dist/utils/cli-telemetry.js +5 -5
- package/dist/utils/contribution-table.d.ts +1 -1
- package/dist/utils/version-check.d.ts +4 -1
- package/dist/utils/version-check.js +2 -2
- package/dist/utils/version-gate.d.ts +5 -1
- package/dist/utils/version-gate.js +4 -4
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.113.0] — 2026-09-15
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Search indexing now skips any file larger than 100 KB. HQ indexes every `.md`
|
|
10
|
+
and `.json` file under your project folders, which pulled in things nobody
|
|
11
|
+
searches as prose: browser trace dumps, perf captures, scraped datasets,
|
|
12
|
+
lockfiles. A few of those were large enough that indexing ran out of time
|
|
13
|
+
before it finished, so the search index never caught up. Set a different limit
|
|
14
|
+
with `HQ_INDEX_MAX_DOC_BYTES`, or `indexMaxDocBytes` in your HQ root's
|
|
15
|
+
`.hq/config.json`. Set it to `0` to index everything again.
|
|
16
|
+
|
|
17
|
+
## [5.112.0] — 2026-09-15
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `hq core sentry report`: lets HQ hooks send one bounded diagnostic event to
|
|
22
|
+
Sentry through stdin. It is for hooks rather than everyday interactive use,
|
|
23
|
+
accepts only approved simple fields, and has a `--dry-run` mode that shows
|
|
24
|
+
the event it would send instead of sending it.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- `hq` starts faster by loading only the command you run instead of every
|
|
29
|
+
command, and by avoiding an observability hook that delayed startup. Help
|
|
30
|
+
output and command behaviour are unchanged.
|
|
31
|
+
- Commands no longer wait as long for a network endpoint that accepts a
|
|
32
|
+
connection but does not answer. After a long-running command, hq still makes
|
|
33
|
+
time for error reporting and its version-cache refresh.
|
|
34
|
+
- CLI diagnostics now finish one release-health session with the correct final
|
|
35
|
+
state when a CLI run finishes or fails normally, including `hq-auth-refresh`,
|
|
36
|
+
instead of leaving a session open or competing sessions reporting the same
|
|
37
|
+
run.
|
|
38
|
+
|
|
5
39
|
## [5.111.2] — 2026-09-15
|
|
6
40
|
|
|
7
41
|
## [5.111.1] — 2026-09-14
|
|
@@ -12,4 +12,6 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import "../node-preflight.js";
|
|
14
14
|
import "../node-network-compat.js";
|
|
15
|
+
import { refreshCachedSession } from "../utils/cognito-session.js";
|
|
16
|
+
export declare function runAuthRefresh(refreshSession?: typeof refreshCachedSession): Promise<number>;
|
|
15
17
|
//# sourceMappingURL=hq-auth-refresh.d.ts.map
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
// Node 20+ API (e.g. util.styleText) or a newer native ABI is evaluated.
|
|
15
15
|
import "../node-preflight.js";
|
|
16
16
|
import "../node-network-compat.js";
|
|
17
|
-
import {
|
|
17
|
+
import { fileURLToPath } from "node:url";
|
|
18
|
+
import path from "node:path";
|
|
19
|
+
import { finishSentrySession, initSentry, Sentry } from "../sentry.js";
|
|
18
20
|
import { refreshCachedSession } from "../utils/cognito-session.js";
|
|
19
|
-
|
|
20
|
-
(async () => {
|
|
21
|
+
export async function runAuthRefresh(refreshSession = refreshCachedSession) {
|
|
21
22
|
let exitCode = 1;
|
|
22
23
|
try {
|
|
23
|
-
const result = await
|
|
24
|
+
const result = await refreshSession();
|
|
24
25
|
if (result.refreshed) {
|
|
25
26
|
exitCode = 0;
|
|
26
27
|
}
|
|
@@ -35,8 +36,13 @@ initSentry();
|
|
|
35
36
|
process.stderr.write(`hq-auth-refresh: ${err instanceof Error ? err.message : String(err)}\n`);
|
|
36
37
|
}
|
|
37
38
|
finally {
|
|
39
|
+
finishSentrySession();
|
|
38
40
|
await Sentry.flush(2000);
|
|
39
|
-
process.exit(exitCode);
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
+
return exitCode;
|
|
43
|
+
}
|
|
44
|
+
if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
|
|
45
|
+
initSentry();
|
|
46
|
+
void runAuthRefresh().then((exitCode) => process.exit(exitCode));
|
|
47
|
+
}
|
|
42
48
|
//# sourceMappingURL=hq-auth-refresh.js.map
|