CommandCodeAI / CommandCodeAI/command-code

Mods need allow permissions to iterate on them, could be added to docs

未关闭 适合新手
#608 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Summary

After building a mod with mod builder, I want to iterate on it.

But, the mods dir requires allow permissions.

That's fine but would be nice to add that to the docs so know for to do.


⚠ Sensitive file — path is inside .commandcode/ (Command Code settings). Never touched without approval.

Do you want to create .commandcode/mods/erd/commands.ts?

❯ 1. Yes
  2. No, tell Command Code what to do differently
Expected Behavior

Add to docs something like:

{
  "permissions": {
    "allow": [
      "Edit(.commandcode/mods/**)",
    ]
  }
}

so editing mods can flow smoothly.

Actual Behavior
  1. asked to approve edits to any mod
Steps to reproduce the issue
  1. use mod-builder to build a mod
  2. then iterate on it to make changes
Command Code Version

1.5.0

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Additional context

No response

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该 issue 未指定文档文件。首先定位有关 mod-builder 输出和权限配置的文档,然后添加允许编辑 .commandcode/mods/** 的指南。当文档中的配置说明了如何在迭代生成的 mod 时避免反复出现批准提示,即可视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
cli, documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。