@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.
@@ -1,6 +1,6 @@
1
1
  export const cliManifest = {
2
2
  surface: "cli",
3
- version: "0.1.16",
3
+ version: "0.1.17",
4
4
  actions: {
5
5
  // Finding management
6
6
  "finding.add": { implemented: true, handler: "cli-actions.ts:handleAddFinding" },
@@ -1,6 +1,6 @@
1
1
  export const mcpManifest = {
2
2
  surface: "mcp",
3
- version: "0.1.16",
3
+ version: "0.1.17",
4
4
  actions: {
5
5
  // Finding management
6
6
  "finding.add": { implemented: true, handler: "index.ts:add_finding" },
@@ -1,6 +1,6 @@
1
1
  export const vscodeManifest = {
2
2
  surface: "vscode",
3
- version: "0.1.16",
3
+ version: "0.1.17",
4
4
  actions: {
5
5
  // Finding management
6
6
  "finding.add": { implemented: true, handler: "extension.ts:phren.addFinding" },
@@ -1,6 +1,6 @@
1
1
  export const webUiManifest = {
2
2
  surface: "web-ui",
3
- version: "0.1.16",
3
+ version: "0.1.17",
4
4
  actions: {
5
5
  // Finding management
6
6
  "finding.add": { implemented: false, reason: "Web UI is read-only for findings (review queue only)" },
@@ -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
  }
@@ -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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phren/cli",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Knowledge layer for AI agents — CLI, MCP server, and data layer",
5
5
  "type": "module",
6
6
  "bin": {