[PR #1377] [MERGED] feat: mode directory markdown configuration loading #9912

Closed
opened 2026-02-16 18:14:22 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1377
Author: @rfhold
Created: 7/28/2025
Status: Merged
Merged: 7/30/2025
Merged by: @thdxr

Base: devHead: mode-markdown-config


📝 Commits (2)

  • eb996bc add mode markdown config loading similar to agents in .opencode/mode/*
  • aa5bed8 update mode documentation with mode directory option similar to agents

📊 Changes

2 files changed (+111 additions, -3 deletions)

View changed files

📝 packages/opencode/src/config/config.ts (+26 -0)
📝 packages/web/src/content/docs/docs/modes.mdx (+85 -3)

📄 Description

This adds the ability to automatically add modes based on files in the .opencode/mode/* directory. This follows the same pattern as agents and makes the two compliment each other nicely


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1377 **Author:** [@rfhold](https://github.com/rfhold) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/30/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `mode-markdown-config` --- ### 📝 Commits (2) - [`eb996bc`](https://github.com/anomalyco/opencode/commit/eb996bcb523a0d38544b3d02cbe976823c862297) add mode markdown config loading similar to agents in .opencode/mode/* - [`aa5bed8`](https://github.com/anomalyco/opencode/commit/aa5bed83c239db3e91db95bc164cee3f6a86c228) update mode documentation with mode directory option similar to agents ### 📊 Changes **2 files changed** (+111 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/config/config.ts` (+26 -0) 📝 `packages/web/src/content/docs/docs/modes.mdx` (+85 -3) </details> ### 📄 Description This adds the ability to automatically add modes based on files in the `.opencode/mode/*` directory. This follows the same pattern as agents and makes the two compliment each other nicely --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:22 -05:00
yindo closed this issue 2026-02-16 18:14:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9912