[PR #10379] fix: clarify agent locations in TUI tip - Issue #10343 #13424

Open
opened 2026-02-16 18:18:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10379

State: open
Merged: No


Problem

The TUI tip suggested agents can only be placed in .opencode/agent/, but agents can also be added globally in ~/.config/opencode/agent/.

Solution

Updated tip to show both locations:

// Before:
"Add {highlight}.md{/highlight} files to {highlight}.opencode/agent/{/highlight} for specialized AI personas"

// After:
"Add {highlight}.md{/highlight} files to {highlight}.opencode/agent/{/highlight} or {highlight}~/.config/opencode/agent/{/highlight} for custom AI personas"

Impact

Users now know they can create agents at both:

  • Project level: .opencode/agent/ (project-specific)
  • Global level: ~/.config/opencode/agent/ (available in all projects)

Testing

  • Verified with existing test suite (752/759 tests passing)
  • Visual verification of tip in TUI

Fixes #10343

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10379 **State:** open **Merged:** No --- ## Problem The TUI tip suggested agents can only be placed in `.opencode/agent/`, but agents can also be added globally in `~/.config/opencode/agent/`. ## Solution Updated tip to show both locations: ```typescript // Before: "Add {highlight}.md{/highlight} files to {highlight}.opencode/agent/{/highlight} for specialized AI personas" // After: "Add {highlight}.md{/highlight} files to {highlight}.opencode/agent/{/highlight} or {highlight}~/.config/opencode/agent/{/highlight} for custom AI personas" ``` ## Impact Users now know they can create agents at both: - **Project level**: `.opencode/agent/` (project-specific) - **Global level**: `~/.config/opencode/agent/` (available in all projects) ## Testing - Verified with existing test suite (752/759 tests passing) - Visual verification of tip in TUI Fixes #10343
yindo added the pull-request label 2026-02-16 18:18:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13424