Skip to content

feat(task): 修改开发容器中硬编码的 agent 资源路径#708

Open
twursc wants to merge 2 commits into
mainfrom
fix-devbox-agent-resource-location
Open

feat(task): 修改开发容器中硬编码的 agent 资源路径#708
twursc wants to merge 2 commits into
mainfrom
fix-devbox-agent-resource-location

Conversation

@twursc

@twursc twursc commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator
  1. 把之前硬编码的 rules/skills 路径 /tmp/codingmatrix-project-tpl 改为 ${HOME}/.codingmatrix/project-tpl
  2. 补上 opencode 配置文件中遗漏的 skills.path 引用

xmv97 and others added 2 commits June 17, 2026 20:18
Allow the agent to run as a non-root user by replacing the hardcoded
/tmp/codingmatrix-project-tpl base with ${HOME}/.codingmatrix/project-tpl.
The agent expands the env var at runtime via os.ExpandEnv.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OpenCode discovers skills from cfg.skills.paths (skill/index.ts), but the
template only shipped instructions + plugin paths. Point skills.paths at the
on-VM .ai-ready/skills dir so unpacked skills are auto-discovered. ${HOME}
is expanded by the agent (os.ExpandEnv over the whole config body).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant