@phren/cli 0.0.49 → 0.0.52
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/mcp/dist/cli/actions.js +17 -2
- package/mcp/dist/cli/cli.js +1 -1
- package/mcp/dist/cli/namespaces.js +35 -10
- package/mcp/dist/cli/ops.js +2 -2
- package/mcp/dist/content/validate.js +18 -0
- package/mcp/dist/data/access.js +27 -0
- package/mcp/dist/data/tasks.js +27 -2
- package/mcp/dist/generated/memory-ui-graph.browser.js +21 -21
- package/mcp/dist/governance/policy.js +3 -1
- package/mcp/dist/memory-ui-graph.runtime.js +21 -21
- package/mcp/dist/phren-core.js +1 -1
- package/mcp/dist/profile-store.js +20 -0
- package/mcp/dist/project-config.js +26 -0
- package/mcp/dist/shared/index.js +7 -1
- package/mcp/dist/shell/view.js +27 -9
- package/mcp/dist/store-routing.js +2 -2
- package/mcp/dist/task/lifecycle.js +11 -0
- package/mcp/dist/tools/config.js +23 -5
- package/mcp/dist/tools/data.js +17 -7
- package/mcp/dist/tools/extract.js +8 -5
- package/mcp/dist/tools/finding.js +14 -9
- package/mcp/dist/tools/graph.js +12 -3
- package/mcp/dist/tools/hooks.js +15 -2
- package/mcp/dist/tools/search.js +3 -2
- package/mcp/dist/tools/session.js +58 -18
- package/mcp/dist/tools/tasks.js +58 -44
- package/mcp/dist/ui/data.js +46 -19
- package/mcp/dist/ui/server.js +2 -1
- package/package.json +1 -1
|
@@ -624,10 +624,12 @@ export function appendReviewQueue(phrenPath, project, section, entries) {
|
|
|
624
624
|
while (insertAt < lines.length && !lines[insertAt].startsWith("## "))
|
|
625
625
|
insertAt++;
|
|
626
626
|
const existing = new Set(lines.map((line) => line.trim()));
|
|
627
|
+
// Dedup by entry text only (strip leading date prefix) so the same finding isn't added every day.
|
|
628
|
+
const existingTexts = new Set(lines.map((line) => line.trim().replace(/^-\s*\[\d{4}-\d{2}-\d{2}\]\s*/, "").trim()));
|
|
627
629
|
const toInsert = [];
|
|
628
630
|
for (const entry of normalized) {
|
|
629
631
|
const line = `- [${today}] ${entry}`;
|
|
630
|
-
if (!existing.has(line))
|
|
632
|
+
if (!existing.has(line) && !existingTexts.has(entry.trim()))
|
|
631
633
|
toInsert.push(line);
|
|
632
634
|
}
|
|
633
635
|
if (!toInsert.length)
|