@phren/cli 0.0.46 → 0.0.48

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.
@@ -542,9 +542,13 @@ async function handleListProjects(ctx, { page, page_size }) {
542
542
  storeProjects.push({ name: projName, store: store.name });
543
543
  }
544
544
  }
545
- // Combine: primary projects (no store prefix) + non-primary (with store prefix)
545
+ // Filter primary projects: exclude any that are claimed by a non-primary store
546
+ // (they'll appear under their store instead), and hide native: auto-indexed entries
547
+ const storeClaimedNames = new Set(storeProjects.map((sp) => sp.name));
548
+ const filteredPrimary = primaryProjects.filter((p) => !storeClaimedNames.has(p) && !p.startsWith("native:"));
549
+ // Combine: primary-only projects + non-primary store projects
546
550
  const allProjects = [
547
- ...primaryProjects.map((p) => ({ name: p, store: undefined })),
551
+ ...filteredPrimary.map((p) => ({ name: p, store: undefined })),
548
552
  ...storeProjects,
549
553
  ];
550
554
  if (allProjects.length === 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phren/cli",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "description": "Knowledge layer for AI agents. Phren learns and recalls.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -29,11 +29,9 @@
29
29
  "@playwright/test": "^1.58.2",
30
30
  "@types/js-yaml": "^4.0.9",
31
31
  "@types/node": "^25.5.0",
32
- "@typescript-eslint/eslint-plugin": "^8.57.2",
33
- "@typescript-eslint/parser": "^8.57.2",
32
+ "@biomejs/biome": "^2.1.0",
34
33
  "@vitest/coverage-v8": "^4.1.2",
35
34
  "esbuild": "^0.27.4",
36
- "eslint": "^10.1.0",
37
35
  "tsx": "^4.21.0",
38
36
  "typescript": "^6.0.2",
39
37
  "vitest": "^4.1.2"
@@ -41,7 +39,7 @@
41
39
  "scripts": {
42
40
  "build": "node scripts/build.mjs",
43
41
  "dev": "tsx mcp/src/index.ts",
44
- "lint": "eslint mcp/src/ --ignore-pattern '*.test.ts'",
42
+ "lint": "biome lint mcp/src/",
45
43
  "validate-docs": "bash scripts/validate-docs.sh",
46
44
  "pretest": "npm run build",
47
45
  "test": "vitest run",