Files
paseo/packages
Matt Cowger ccb8714a71 fix(opencode): trust discovered modes, don't inject hardcoded defaults (#1366)
* fix(opencode): trust discovered modes instead of always injecting defaults

When OpenCode reports its available agents, respect that list exactly
rather than seeding from DEFAULT_MODES first. This means users who have
intentionally disabled modes (e.g. Plan) in their OpenCode config will
no longer see those modes surfaced in Paseo.

DEFAULT_MODES is still used as a fallback when discovery returns nothing
(e.g. OpenCode unreachable or no agents configured).

* test(opencode): update mode discovery expectations

* test(opencode): expect discovered custom modes only
2026-06-19 11:20:26 +08:00
..
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00
2026-06-19 05:47:43 +07:00