[PR #881] [MERGED] fix: ENAMETOOLONG: name too long when adding custom mode #9737

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/881
Author: @Alexxzz
Created: 7/11/2025
Status: Merged
Merged: 7/11/2025
Merged by: @thdxr

Base: devHead: patch-1


📝 Commits (1)

  • f0dd09f fix: ENAMETOOLONG: name too long when adding custom mode

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/opencode/src/session/mode.ts (+1 -1)

📄 Description

fix https://github.com/sst/opencode/issues/861
No need to treat "prompt" as file path here since {file: } will be processed in config.ts


🔄 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/881 **Author:** [@Alexxzz](https://github.com/Alexxzz) **Created:** 7/11/2025 **Status:** ✅ Merged **Merged:** 7/11/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f0dd09f`](https://github.com/anomalyco/opencode/commit/f0dd09f1b5fa2421c19528269ab21f83ec496e17) fix: ENAMETOOLONG: name too long when adding custom mode ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/session/mode.ts` (+1 -1) </details> ### 📄 Description fix https://github.com/sst/opencode/issues/861 No need to treat "prompt" as file path here since {file: } will be processed in config.ts --- <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:04 -05:00
yindo closed this issue 2026-02-16 18:14:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9737