bonzai-tree 1.0.129 → 1.0.132
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/dist/bconfig.js
CHANGED
|
@@ -172,7 +172,7 @@ async function main() {
|
|
|
172
172
|
});
|
|
173
173
|
|
|
174
174
|
// Open browser automatically
|
|
175
|
-
exec('open http://localhost:6767/
|
|
175
|
+
exec('open http://localhost:6767/canvas?ref=btools');
|
|
176
176
|
|
|
177
177
|
// Handle server process
|
|
178
178
|
server.on('close', (serverCode) => {
|
|
@@ -8,11 +8,11 @@ function detectClaudeHandler(req, res) {
|
|
|
8
8
|
const claudeMdPath = path.join(ROOT, 'CLAUDE.md');
|
|
9
9
|
const claudeMd = fs.existsSync(claudeMdPath) ? 'CLAUDE.md' : null;
|
|
10
10
|
|
|
11
|
-
// Scan .claude/
|
|
11
|
+
// Scan .claude/skills/ recursively for .md files
|
|
12
12
|
const skills = [];
|
|
13
|
-
const
|
|
13
|
+
const skillsDir = path.join(ROOT, '.claude', 'skills');
|
|
14
14
|
|
|
15
|
-
if (fs.existsSync(
|
|
15
|
+
if (fs.existsSync(skillsDir)) {
|
|
16
16
|
(function scanDir(dir) {
|
|
17
17
|
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
18
18
|
for (const entry of entries) {
|
|
@@ -23,7 +23,7 @@ function detectClaudeHandler(req, res) {
|
|
|
23
23
|
skills.push(path.relative(ROOT, fullPath));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
})(
|
|
26
|
+
})(skillsDir);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
res.json({ claudeMd, skills });
|
package/dist/index.js
CHANGED
|
@@ -157,7 +157,7 @@ async function main() {
|
|
|
157
157
|
BONZAI_REPO_DIR: currentDir
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
exec("open http://localhost:6767/
|
|
160
|
+
exec("open http://localhost:6767/canvas?ref=btools");
|
|
161
161
|
server.on("close", (serverCode) => {
|
|
162
162
|
console.log(`
|
|
163
163
|
Server stopped with code ${serverCode}`);
|