osborn 0.9.215 → 0.9.216

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.
Files changed (2) hide show
  1. package/dist/claude-llm.js +0 -26
  2. package/package.json +1 -1
@@ -139,32 +139,6 @@ function getSubagentsDir(workingDir) {
139
139
  mkdirSync(dir, { recursive: true });
140
140
  return dir;
141
141
  }
142
- /**
143
- * Load skill files from agent/.claude/skills/{name}/SKILL.md
144
- * Injects into system prompt so Claude sees them as available capabilities.
145
- * Skills execute via Bash — no SDK settingSources needed.
146
- */
147
- function loadSkillsFromDir(agentDir) {
148
- const skillsDir = join(agentDir, '.claude', 'skills');
149
- if (!existsSync(skillsDir))
150
- return '';
151
- const skills = [];
152
- try {
153
- for (const skillName of readdirSync(skillsDir)) {
154
- const skillFile = join(skillsDir, skillName, 'SKILL.md');
155
- if (existsSync(skillFile)) {
156
- skills.push(readFileSync(skillFile, 'utf-8').trim());
157
- }
158
- }
159
- }
160
- catch (err) {
161
- console.warn('⚠️ Failed to load skills:', err);
162
- }
163
- if (skills.length === 0)
164
- return '';
165
- console.log(`📚 Loaded ${skills.length} skill(s) from ${skillsDir}`);
166
- return `<available-skills>\n${skills.join('\n\n---\n\n')}\n</available-skills>`;
167
- }
168
142
  /**
169
143
  * Loads skills from both ~/.claude/skills/ (home dir) and {workingDir}/.claude/skills/ (project dir).
170
144
  * Merges results, deduplicating by skill directory name — home dir wins on conflicts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osborn",
3
- "version": "0.9.215",
3
+ "version": "0.9.216",
4
4
  "description": "Voice AI coding assistant - local agent that connects to Osborn frontend",
5
5
  "type": "module",
6
6
  "bin": {