Skip to content

feat(zcode-context): update to 0.3.10 with icon and dark-mode fix - #100

Closed
Kevinzzz6 wants to merge 9 commits into
zai-org:mainfrom
Kevinzzz6:feat/zcode-context-icon
Closed

Kevinzzz6 wants to merge 9 commits into
zai-org:mainfrom
Kevinzzz6:feat/zcode-context-icon

Conversation

@Kevinzzz6

@Kevinzzz6 Kevinzzz6 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Plugin type (required) / 插件类型(必填)

  • UI Plugin / 是 UI 插件 — provides MCP Apps interactive pages / 提供 MCP Apps 交互页面
  • Standard plugin / 普通插件(非 UI)
  • Not applicable / 不适用

Affected plugin name(s) / 涉及的插件名称:zcode-context (UI Plugin)

What / 改动内容

Update zcode-context to 0.3.10 with a marketplace icon, clearer setup guidance and a readable “Back to latest” button in dark mode.

  • Add a 512×512 marketplace icon at assets/zcode-context/icon.png and reference it from the marketplace entry.
  • Update the marketplace listing, plugin manifest, source package and runtime version strings to 0.3.10.
  • Add a dismissible retention banner above the overview, including the empty state. It explains the limits of default Model I/O recording and recommends enabling full retention in Settings → General. Dismissal is saved in local storage.
  • Explain where to open the Context panel in the English and Chinese listing descriptions, and link to the README section about recording and retention.
  • Remove example prompts that the model cannot fulfill because the plugin tools are app-only.
  • Fix the history navigation button: its label now uses the page background color against the accent background, instead of hard-coded white text that can become unreadable in dark mode.

将 zcode-context 更新到 0.3.10,补充市场图标和使用指引,并修复深色模式下「回到最新」按钮看不清的问题。

  • 新增 512×512 市场图标,并在市场条目中引用。
  • 同步市场条目、插件清单、源码包及运行时版本号至 0.3.10。
  • 在概览上方(含无数据状态)增加可关闭的记录保留提示,解释默认 Model I/O 记录的局限,建议在「设置 → 通用」开启完整保留;关闭状态保存在本地存储中。
  • 中英文介绍补充面板打开方式,并链接到 README 的记录保留说明。
  • 删除模型无法执行的示例提问,因为插件工具仅供面板调用。
  • 「回到最新」按钮改用页面背景色作为文字颜色,避免深色模式下浅色按钮配白字而无法辨认。

The branch includes the latest upstream/main changes. Relative to that base, marketplace changes are confined to the zcode-context entry; other plugin entries and their formatting are preserved.

分支已同步最新 upstream/main。相对该基线,市场目录的修改仅限 zcode-context 条目,其他插件条目及格式均保留上游原样。

Self-check / 自查清单

  • Plugin name is unique kebab-case / 插件名唯一且符合 kebab-case
  • Usage category is set / 用途分类已填写
  • Plugin type and affected names are declared above / 已声明插件类型与涉及的插件名称
  • Version bumped from 0.3.9 to 0.3.10 / 版本从 0.3.9 升至 0.3.10
  • README updated — English and Chinese bundled READMEs explain the panel entry, recording retention and bounded history. / 中英文 README 已补充面板入口、记录保留及历史读取范围说明。
  • description_i18n has both en and zh-CN / 包含中英文介绍
  • No secrets, machine-specific paths, or private dependencies / 未引入密钥、本机路径或私有依赖
  • Model/API/network dependencies documented / 已有依赖说明

Validation / 验证

  • The original icon change passed validate.py and the icon asset tests locally, as recorded in the initial PR description.
  • After syncing the 0.3.10 source, readPluginCatalog passed for the then-current 42 plugins.
  • The standalone source repository build succeeded after the button contrast fix.
  • Merge resolution was checked: only the zcode-context marketplace entry differs from the merged upstream base, and its content matches the pre-merge feature branch. Unrelated formatting changes were removed.
  • Tests were not rerun for the subsequent changes, per the author's request. No rendered dark-mode verification was performed in this session. Full marketplace build and current CI results should be assessed separately.

最初的图标改动已通过本地 validate.py 和图标测试;同步 0.3.10 源码后,目录一致性检查通过(当时共 42 个插件)。按钮修复后,独立源码仓库构建成功。同步上游时核对了市场条目,已去除无关格式改动。遵照作者要求,后续修改未重新跑测试;本次未进行深色模式页面实测,全量市场构建及当前 CI 状态需单独核对。

Lint cleanup and documentation / 告警清理与文档补充

Commit 941b5b1 removes two unused variables and replaces the search-navigation ternary with if/else in components.mjs, preserving behavior. The English and Chinese READMEs now explain opening the panel, enabling full Model I/O retention, the inability to recover missing history, reminder dismissal, and the plugin’s separate history-reading limits. Targeted oxlint reports 0 warnings and 0 errors; git diff --check passes. Tests were not rerun.

提交 941b5b1 清理 components.mjs 的三条告警,并补齐中英文 README。单文件 oxlint 为 0 warning、0 error,diff 格式检查通过,未重新跑测试。

A context window in brackets, filled row by row in the panel's own category
colours (system, tool schemas, conversation, tool results), with the unused
part of each row left as a track.
@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

- Bump version to 0.3.10 (retention banner above the overview,
  dismissed permanently once closed).
- Point the description at opening the Context panel and enabling
  full Model I/O retention; add a homepage link to the README section.
- Drop examplePrompts: the plugin's tools are app-only, so the model
  cannot answer them.
The listing was bumped to 0.3.10 but the vendored source stayed at 0.3.9,
which fails the catalog's source/install version check and would ship
without the retention banner. Bring over the banner (dismissed for good
once closed) and the version strings from the upstream 0.3.10 release.
@panda920

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! This PR no longer applies cleanly on top of the latest main (conflicts in: marketplace.json). Please rebase onto main and push again; it will be picked up automatically.

🤖 Copy this prompt into Claude Code / Codex to fix it
You are updating my pull request #100 to github.com/zai-org/zcode-plugins (the ZCode plugin marketplace).
The maintainers' automated intake reported: the PR conflicts with the latest main

Conflicting files: marketplace.json

Fix it in this repository:
- New external plugins belong under external_plugins/<my-plugin>/; keep existing plugins in their current directory;
  never modify .github/, scripts/, tests/, .gitignore, .gitattributes or AGENTS.md.
- Follow CONTRIBUTING.md and AGENTS.md: the manifest lives at <plugin-directory>/.zcode-plugin/plugin.json,
  its name/version must match marketplace.json, names are kebab-case, keep the required i18n fields.
- Fetch the latest main of zai-org/zcode-plugins and rebase onto it; if marketplace.json conflicts,
  keep every existing entry and re-add mine.
- Run `python scripts/validate.py` until it passes, then force-push my PR branch.

The accent is the host's info text colour, which is light in dark mode, so
the white label on the "back to latest" button disappeared. Use the page
background for the label instead.
@panda920

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! This PR no longer applies cleanly on top of the latest main (conflicts in: marketplace.json). Please rebase onto main and push again; it will be picked up automatically.

🤖 Copy this prompt into Claude Code / Codex to fix it
You are updating my pull request #100 to github.com/zai-org/zcode-plugins (the ZCode plugin marketplace).
The maintainers' automated intake reported: the PR conflicts with the latest main

Conflicting files: marketplace.json

Fix it in this repository:
- New external plugins belong under external_plugins/<my-plugin>/; keep existing plugins in their current directory;
  never modify .github/, scripts/, tests/, .gitignore, .gitattributes or AGENTS.md.
- Follow CONTRIBUTING.md and AGENTS.md: the manifest lives at <plugin-directory>/.zcode-plugin/plugin.json,
  its name/version must match marketplace.json, names are kebab-case, keep the required i18n fields.
- Fetch the latest main of zai-org/zcode-plugins and rebase onto it; if marketplace.json conflicts,
  keep every existing entry and re-add mine.
- Run `python scripts/validate.py` until it passes, then force-push my PR branch.

@Kevinzzz6 Kevinzzz6 changed the title feat(zcode-context): add marketplace icon feat(zcode-context): update to 0.3.10 with icon and dark-mode fix Oct 16, 2026
@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

Thanks for your contribution! The change has been accepted by the maintainers. Publication to the marketplace is tracked separately; this contribution is now closed.

@panda920 panda920 closed this Oct 16, 2026
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.

2 participants