* `agentSkill` references a public skill by bare name. OpenCode has no command * to fetch a skill from a bare name, so we warn and skip.
(projection: WorkspaceProjection)
| 166 | * to fetch a skill from a bare name, so we warn and skip. |
| 167 | */ |
| 168 | function projectAgentSkills(projection: WorkspaceProjection): void { |
| 169 | for (const skill of projection.skills) { |
| 170 | if (skill.kind !== 'agent-skill') continue |
| 171 | console.warn( |
| 172 | `[opencode] agentSkill "${skill.name}" cannot be projected: OpenCode has no ` + |
| 173 | 'command to install a public skill by bare name. Provide it as a gitSkill ' + |
| 174 | 'instead. Skipping.', |
| 175 | ) |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | /** |
| 180 | * OpenCode has no plugin install command. We warn-and-skip each declared plugin |
no test coverage detected