This repository was archived by the owner on Aug 11, 2026. It is now read-only.
Repository navigation
feat(plugin-protocol): export ghost summary length limit - #44
Merged
Merged
Conversation
|
| Filename | Overview |
|---|---|
| packages/plugin-protocol/src/manifest.ts | 导出摘要长度常量并替换两处等值的硬编码限制及错误文案插值,未改变校验行为。 |
| packages/plugin-protocol/src/tests/manifest.test.ts | 验证导出常量值以及 description、whenToUse 两个字段的 300/301 字符边界行为。 |
Reviews (4): Last reviewed commit: "feat(plugin-protocol): export ghost summ..." | Re-trigger Greptile
fmfsaisai
force-pushed
the
feat/ghost-summary-limit
branch
2 times, most recently
from
August 7, 2026 08:00
32c5c83 to
71adc70
Compare
Use one exported 300-character limit for description and whenToUse while preserving the existing validation semantics and error messages. Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
fmfsaisai
force-pushed
the
feat/ghost-summary-limit
branch
from
August 7, 2026 10:27
71adc70 to
d99e3d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这次改了什么
摘要
为插件身份卡的
description与whenToUse导出统一的 300 字符上限,保持原有校验语义和错误文案不变。客户端花名册、manifest 校验和插件作者手册可以引用同一个协议常量,避免各处漂移。变更类型
feat新功能fix缺陷修复refactor/perf重构或性能优化docs/test/chore文档、测试或工程维护范围
packages/plugin-protocol/src/manifest.ts新增GHOST_MANIFEST_SUMMARY_MAX_CHARS并用于description/whenToUse校验。ghost_info或插件运行时改动。怎么验证的
自动验证
手工验证
不涉及。
未执行的验证
无。
风险
风险分类
影响与回滚
提交前检查
git commit -s)🤖 Generated with Claude Code