pikakit 1.0.48 → 1.0.50

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.
@@ -975,13 +975,9 @@
975
975
  document.getElementById('totalTasks').textContent = dashboard.summary.totalTasks || 0;
976
976
  document.getElementById('patternsLearned').textContent = dashboard.summary.patternsLearned || 0;
977
977
 
978
- // Show onboarding banner for new users
978
+ // Always show onboarding banner (unified dashboard UI)
979
979
  const onboardingBanner = document.getElementById('onboardingBanner');
980
- if (dashboard.isNewUser || dashboard.summary.isNewUser) {
981
- onboardingBanner.classList.add('show');
982
- } else {
983
- onboardingBanner.classList.remove('show');
984
- }
980
+ onboardingBanner.classList.add('show');
985
981
  }
986
982
 
987
983
  // Update skills
@@ -1123,7 +1119,7 @@
1123
1119
  refreshData();
1124
1120
 
1125
1121
  // Auto-refresh every 30 seconds
1126
- setInterval(refreshData, 30000);
1122
+ setInterval(refreshData000);
1127
1123
  </script>
1128
1124
  </body>
1129
1125
 
@@ -40,7 +40,31 @@ function findProjectRoot() {
40
40
  }
41
41
 
42
42
  const projectRoot = findProjectRoot();
43
- const dashboardPath = path.join(__dirname, '..', 'dashboard');
43
+
44
+ // Find dashboard folder from multiple possible locations
45
+ function findDashboardPath() {
46
+ const possiblePaths = [
47
+ // 1. npm package in node_modules (most reliable after npm install)
48
+ path.join(projectRoot, 'node_modules', 'pikakit', 'lib', 'agent-cli', 'dashboard'),
49
+ // 2. Local symlink or copy in project
50
+ path.join(projectRoot, 'lib', 'agent-cli', 'dashboard'),
51
+ // 3. Relative to this script (original behavior for development)
52
+ path.join(__dirname, '..', 'dashboard')
53
+ ];
54
+
55
+ for (const p of possiblePaths) {
56
+ if (fs.existsSync(path.join(p, 'index.html'))) {
57
+ console.log(`[Dashboard] Using dashboard from: ${p}`);
58
+ return p;
59
+ }
60
+ }
61
+
62
+ // Fallback to original path
63
+ console.log(`[Dashboard] Fallback to __dirname path`);
64
+ return path.join(__dirname, '..', 'dashboard');
65
+ }
66
+
67
+ const dashboardPath = findDashboardPath();
44
68
  const knowledgeDir = path.join(projectRoot, '.agent', 'knowledge');
45
69
 
46
70
  // Read lessons count - prioritize v6 format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
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>",