pikakit 1.0.50 → 1.0.51

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.
@@ -72,14 +72,17 @@ function findDashboardScript() {
72
72
  const moduleDir = path.dirname(new URL(import.meta.url).pathname.replace(/^\/([A-Z]:)/i, '$1'));
73
73
  const cliRoot = path.resolve(moduleDir, '..', '..');
74
74
  const homeDir = process.env.USERPROFILE || process.env.HOME || '';
75
+ const projectRoot = process.cwd();
75
76
 
76
77
  const possiblePaths = [
78
+ // PRIORITY 0: npm package in node_modules (HIGHEST - always has latest published code)
79
+ path.join(projectRoot, "node_modules", "pikakit", "lib", "agent-cli", "scripts", "dashboard-server.js"),
77
80
  // PRIORITY 1: New v7.0 script bundled with CLI package
78
81
  path.join(cliRoot, "scripts", "dashboard-server.js"),
79
82
  // PRIORITY 2: Dashboard folder (legacy)
80
83
  path.join(cliRoot, "dashboard", "dashboard-server.js"),
81
84
  // PRIORITY 3: Current project paths
82
- path.join(process.cwd(), ".agent", "skills", "auto-learner", "scripts", "dashboard-server.js"),
85
+ path.join(projectRoot, ".agent", "skills", "auto-learner", "scripts", "dashboard-server.js"),
83
86
  // PRIORITY 4: Fallback - agent-skill-kit
84
87
  path.join(homeDir, "Desktop", "agent-skill-kit", ".agent", "skills", "auto-learner", "scripts", "dashboard-server.js"),
85
88
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
5
5
  "license": "MIT",
6
6
  "author": "pikakit <pikakit@gmail.com>",