Skip to content

新增 plg config 插件源配置命令#214

Closed
q3cc wants to merge 3 commits into
ToolDelta-Basic:mainfrom
q3cc:codex/add-plg-config-commands
Closed

新增 plg config 插件源配置命令#214
q3cc wants to merge 3 commits into
ToolDelta-Basic:mainfrom
q3cc:codex/add-plg-config-commands

Conversation

@q3cc

@q3cc q3cc commented Jul 17, 2026

Copy link
Copy Markdown

概要

  • 新增 plg config set、unset、list 三条子命令
  • 支持 plugin_market 和 github_mirror 两个配置项
  • 配置写入后立即生效,并保留 ToolDelta 基本配置中的其他字段
  • 插件市场换源时清理已有缓存,空配置自动回退到官方源

依赖

本 PR 基于 #213 的命令恢复钩子。#213 合并后,本 PR 中的前置提交差异会自然消失。

验证

  • Python 编译检查通过
  • Ruff 检查通过(排除 plugin_market.py 中本次差异外的既有 RUF059)
  • set、unset、list、URL 校验、写入失败保护及配置字段保留测试通过
  • 普通重载和深重载后的命令生命周期测试通过

@deepsource-io

deepsource-io Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

DeepSource Code Review

We reviewed changes in f182114...ab65cf7 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Python Jul 17, 2026 2:45a.m. Review ↗
Shell Jul 17, 2026 2:45a.m. Review ↗
Docker Jul 17, 2026 2:45a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@q3cc

q3cc commented Jul 17, 2026

Copy link
Copy Markdown
Author

该 PR 的功能提交已并入 #213,后续统一在 #213 继续评审。

@q3cc q3cc closed this Jul 17, 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.

1 participant