@phren/cli 0.1.16 → 0.1.17
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/capabilities/cli.js
CHANGED
package/dist/capabilities/mcp.js
CHANGED
package/dist/tools/extract.js
CHANGED
|
@@ -116,7 +116,10 @@ export function register(server, ctx) {
|
|
|
116
116
|
return withWriteQueue(async () => {
|
|
117
117
|
// Use addFindingsToFile so extracted findings go through the full pipeline:
|
|
118
118
|
// secret scan, dedup check, validation, and index update.
|
|
119
|
-
const result = addFindingsToFile(targetPath, project, findings
|
|
119
|
+
const result = addFindingsToFile(targetPath, project, findings, {
|
|
120
|
+
sessionId: undefined,
|
|
121
|
+
scope: undefined,
|
|
122
|
+
});
|
|
120
123
|
if (!result.ok) {
|
|
121
124
|
return mcpResponse({ ok: false, error: result.error });
|
|
122
125
|
}
|
package/dist/tools/finding.js
CHANGED
|
@@ -148,6 +148,7 @@ async function handleAddFinding(ctx, params) {
|
|
|
148
148
|
const result = addFindingsToFile(phrenPath, project, findings, {
|
|
149
149
|
extraAnnotationsByFinding,
|
|
150
150
|
sessionId,
|
|
151
|
+
scope: normalizedScope,
|
|
151
152
|
});
|
|
152
153
|
if (!result.ok)
|
|
153
154
|
return mcpResponse({ ok: false, error: result.error });
|