@indigoai-us/hq-cli 5.17.0-sources-rc.1 → 5.17.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indigoai-us/hq-cli",
|
|
3
|
-
"version": "5.17.0
|
|
3
|
+
"version": "5.17.0",
|
|
4
4
|
"description": "HQ by Indigo management CLI — modules and cloud sync",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"clean": "rm -rf dist"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@indigoai-us/hq-cloud": "^5.
|
|
18
|
+
"@indigoai-us/hq-cloud": "^5.22.0",
|
|
19
19
|
"@indigoai-us/hq-onboarding": "^0.1.0",
|
|
20
20
|
"@sentry/node": "^10.49.0",
|
|
21
21
|
"chalk": "^5.3.0",
|
|
@@ -36,9 +36,10 @@ import { runCli } from "../helpers/cli-runner.js";
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Markdown source matching sources-pipeline output shape.
|
|
39
|
-
* NOTE: stored at `sources/
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* NOTE: stored at `sources/meetings/abc.md` (plural `meetings/`) — the
|
|
40
|
+
* sources-pipeline writes "meeting" channel content to `sources/meetings/`
|
|
41
|
+
* (only special-cased channel; others pass through). hq-cloud's
|
|
42
|
+
* sourcePathSegment() mirrors this canonical mapping.
|
|
42
43
|
*/
|
|
43
44
|
const MEETING_MD = `---
|
|
44
45
|
source_id: abc
|
|
@@ -75,7 +76,7 @@ beforeEach(() => {
|
|
|
75
76
|
const s3 = mockS3WithEntries({
|
|
76
77
|
entries: [
|
|
77
78
|
{
|
|
78
|
-
key: "sources/
|
|
79
|
+
key: "sources/meetings/abc.md",
|
|
79
80
|
content: MEETING_MD,
|
|
80
81
|
lastModified: new Date("2026-03-15T14:00:00Z"),
|
|
81
82
|
},
|
|
@@ -132,7 +133,7 @@ describe("hq sources (e2e)", () => {
|
|
|
132
133
|
expect(parsed.entries).toHaveLength(1);
|
|
133
134
|
expect(parsed.entries[0].sourceId).toBe("abc");
|
|
134
135
|
expect(parsed.entries[0].channel).toBe("meeting");
|
|
135
|
-
expect(parsed.entries[0].key).toBe("sources/
|
|
136
|
+
expect(parsed.entries[0].key).toBe("sources/meetings/abc.md");
|
|
136
137
|
});
|
|
137
138
|
|
|
138
139
|
it("get --entity indigo --type meeting --id abc — exit 0 + stdout contains body text", async () => {
|