zai-org / zai-org/feedback

[建议 / Feature]

Open
#309 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2 status: 待评估 type: 功能建议
Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

提交前确认 · Pre-submission checklist
  • 我已搜索过现有 issue,确认这不是重复提议 / I searched existing issues and confirmed this isn't a duplicate.
  • 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category

其他 / 不确定 · Other / Not sure

涉及的 Agent 框架 · Agent framework

ZCode Agent(自研)

使用场景 · Use case
机制 Claude Code ZCode
项目启用插件 项目 .claude/settings.json → enabledPlugins 不支持
项目作用域安装 安装记录带 scope:"project" + projectPath 不支持(代码中无此概念)
插件启用状态 用户级或项目级 只写 ~/.zcode/cli/config.json(用户级)
工作区配置文件 .claude/settings.json 全功能 zcode.json/.zcode/config.json 只被 hooks 和 MCP 子系统读取,插件系统完全不读它

代码证据:所有插件解析函数的配置来自用户级配置文件(readPluginConfigFromConfig(await readUserConfig())),插件存储根固定为 ~/.zcode(storage.dir 只能全局搬家),整个包里搜不到 projectPath。所以“市场格式安装 + 只在特定项目生效”这个组合在当前版本 ZCode 里做不到——市场安装的插件必然全局生效。

建议方案 · Proposal

希望可以做一个类似Claude code项目级市场插件

预期价值 · Expected value

No response

你认为的优先级 · Your perceived priority

高 · High

你使用的 ZCode 版本 / 环境 · ZCode version / environment

on the latest version (v3.8.1)

补充材料 · Additional context
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing readPluginConfigFromConfig(await readUserConfig()) and the plugin storage behavior described for ~/.zcode/cli/config.json, zcode.json, and .zcode/config.json. Define the project-scope model and its interaction with marketplace installation; done means an installed plugin can be enabled for one project without becoming globally active.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.