Files
oh-my-pi/docs
roboomp 8338a8af94 fix(skills): decoupled agents provider from third-party source toggles
Pre-fix `loadSkills` in `extensibility/skills.ts` gated the OMP-native
`agents` provider (the canonical `~/.agent[s]/skills` and project-walkup
`.agent[s]/skills`) on the `anyBuiltInSkillSourceEnabled` fall-through —
the OR of `enableCodexUser`/`enableClaudeUser`/`enableClaudeProject`/
`enablePiUser`/`enablePiProject`. A user who turned off the named
third-party toggles to clean noise from other CLIs silently lost their
own canonical OMP-native skills, so typing `/` showed no `/skill:<name>`
entries for `~/.agents/skills/*/SKILL.md`.

- Added `skills.enableAgentsUser` and `skills.enableAgentsProject` to
  the settings schema (default true) and to the `SkillsSettings` shape.
- Routed `isSourceEnabled` to the new toggles for `provider === "agents"`
  (per level). The fall-through still covers providers without a
  dedicated toggle (`claude-plugins`, `opencode`, `gemini`, `github`, …);
  agents joins claude/codex/native at the named-source layer where it
  always belonged.
- Updated `docs/skills.md` to document the new toggles and the corrected
  enablement rule.
- Refactored `test/skills.test.ts` to share a `DISABLE_ALL_BUILTIN_SKILLS`
  helper (so the isolation tests stay correct when new toggles are
  added) and added two regression tests: one asserting that the
  pre-fix scenario (named third-party toggles off, agents defaulted) now
  loads `~/.agents/skills/<name>/SKILL.md`, and one pinning the explicit
  `enableAgentsUser: false` opt-out.

Fixes #2401
2026-06-12 16:43:24 +00:00
..
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-05-31 04:36:14 +02:00
2026-06-12 14:43:35 +02:00
2026-05-31 04:36:14 +02:00
2026-06-12 14:43:35 +02:00
2026-05-31 04:36:14 +02:00
2026-05-31 04:36:14 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-05-31 04:36:14 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-05-31 04:36:14 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-05-31 04:36:14 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00
2026-06-12 14:43:35 +02:00