pikakit 1.0.34 → 1.0.35
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.
|
@@ -46,11 +46,15 @@ const knowledgeDir = path.join(projectRoot, '.agent', 'knowledge');
|
|
|
46
46
|
function getLessonsCount() {
|
|
47
47
|
// Priority 1: v6 unified format
|
|
48
48
|
const knowledgePath = path.join(knowledgeDir, 'knowledge.yaml');
|
|
49
|
+
console.log(`[Dashboard] Looking for knowledge at: ${knowledgePath}`);
|
|
50
|
+
console.log(`[Dashboard] File exists: ${fs.existsSync(knowledgePath)}`);
|
|
49
51
|
if (fs.existsSync(knowledgePath)) {
|
|
50
52
|
try {
|
|
51
53
|
const content = fs.readFileSync(knowledgePath, 'utf-8');
|
|
52
54
|
const data = yaml.load(content);
|
|
53
|
-
|
|
55
|
+
const count = data.lessons?.length || 0;
|
|
56
|
+
console.log(`[Dashboard] Found ${count} lessons`);
|
|
57
|
+
return count;
|
|
54
58
|
} catch (e) {
|
|
55
59
|
// Fall through to legacy
|
|
56
60
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pikakit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
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>",
|