osborn 0.9.216 → 0.9.217

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 +23 -0
  2. package/package.json +1 -1
@@ -139,6 +139,29 @@ function getSubagentsDir(workingDir) {
139
139
  mkdirSync(dir, { recursive: true });
140
140
  return dir;
141
141
  }
142
+ // DEPRECATED / DEAD (kept for reference, do NOT re-wire): read skills from an
143
+ // arbitrary agentDir/.claude/skills. This was the cwd-based reader that caused the
144
+ // home-vs-cwd divergence. All skill reads now go through the single source of truth
145
+ // (~/.claude/skills) via loadAllSkills / enumerateSkillsForCompaction / loadSkillsList.
146
+ // Commented out rather than removed so the old shape stays visible.
147
+ // function loadSkillsFromDir(agentDir: string): string {
148
+ // const skillsDir = join(agentDir, '.claude', 'skills')
149
+ // if (!existsSync(skillsDir)) return ''
150
+ // const skills: string[] = []
151
+ // try {
152
+ // for (const skillName of readdirSync(skillsDir)) {
153
+ // const skillFile = join(skillsDir, skillName, 'SKILL.md')
154
+ // if (existsSync(skillFile)) {
155
+ // skills.push(readFileSync(skillFile, 'utf-8').trim())
156
+ // }
157
+ // }
158
+ // } catch (err) {
159
+ // console.warn('⚠️ Failed to load skills:', err)
160
+ // }
161
+ // if (skills.length === 0) return ''
162
+ // console.log(`📚 Loaded ${skills.length} skill(s) from ${skillsDir}`)
163
+ // return `<available-skills>\n${skills.join('\n\n---\n\n')}\n</available-skills>`
164
+ // }
142
165
  /**
143
166
  * Loads skills from both ~/.claude/skills/ (home dir) and {workingDir}/.claude/skills/ (project dir).
144
167
  * 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.216",
3
+ "version": "0.9.217",
4
4
  "description": "Voice AI coding assistant - local agent that connects to Osborn frontend",
5
5
  "type": "module",
6
6
  "bin": {