@sechroom/cli 2026.7.25 → 2026.7.26
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1031,7 +1031,7 @@ async function resolveInstruction(cfg, section, personalWorkspaceId) {
|
|
|
1031
1031
|
const { data } = await client.POST("/memories/search", {
|
|
1032
1032
|
body: { query: null, textQuery: null, semanticQuery: null, hybrid: false, limit: 1, includeArchived: false, includeSystem: false, tags }
|
|
1033
1033
|
});
|
|
1034
|
-
const hits = data ?? [];
|
|
1034
|
+
const hits = data?.items ?? [];
|
|
1035
1035
|
if (hits.length === 0) continue;
|
|
1036
1036
|
const templateId = hits[0].id;
|
|
1037
1037
|
const template = await fetchMemoryFields(cfg, templateId);
|
|
@@ -1041,7 +1041,7 @@ async function resolveInstruction(cfg, section, personalWorkspaceId) {
|
|
|
1041
1041
|
const { data: ovr } = await client.POST("/memories/search", {
|
|
1042
1042
|
body: { query: null, textQuery: null, semanticQuery: null, hybrid: false, limit: 1, includeArchived: false, includeSystem: false, tags: ["sechroom:role:override", `sechroom:template-ref:${templateId}`], owner: { type: "Workspace", id: personalWorkspaceId } }
|
|
1043
1043
|
});
|
|
1044
|
-
const ovrHits = ovr ?? [];
|
|
1044
|
+
const ovrHits = ovr?.items ?? [];
|
|
1045
1045
|
if (ovrHits.length > 0) {
|
|
1046
1046
|
const override = await fetchMemoryFields(cfg, ovrHits[0].id);
|
|
1047
1047
|
if (typeof override?.text === "string" && override.text.length > 0) {
|
package/package.json
CHANGED