Skip to content

[Bug]: OpenCode的rules路径不正确 #147

@chung1912

Description

@chung1912

Area

Desktop app

Platform

Windows x64

Version

0.5.6

What happened?

opencode的目前默认的路径是:C:\Users\用户名\AppData\Roaming\opencode\AGENTS.md,但正确的路径应该是:C:\Users\用户名\.config\opencode\AGENTS.md

What did you expect?

应该调整为正确的扫描路径:C:\Users\用户名\.config\opencode\AGENTS.md

此外,opencode的agent的默认根目录路径应该是%USERPROFILE%\.config\opencode,而不是%APPDATA%\opencode

Steps to reproduce

如上

Logs, screenshots, or extra context

Before submitting

  • I searched existing issues and did not find an obvious duplicate.
  • I can still reproduce this on the latest available build for my channel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingversion: 0.5.6Issues reported against a specific PromptHub version

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions