docs: browse / search --type 需要 0.1.3;版本 0.1.4 - #10
Merged
Merged
Conversation
The skill said 0.1.0 or later supports its commands and the agent guide said the minimum was 0.1.0, but browse and search --type only exist from 0.1.3; older binaries reject them as invalid input (exit 3, verified on 0.1.2). State the real minimum and how to check it in the skill, agent guide and README. The skill is embedded in the binary, so bump to 0.1.4 and regenerate the version and skill assets. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyjxHtzc5bneQgSH85QULN
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
skills/cortex-org-wiki/SKILL.md写 "Version 0.1.0 or later supports these commands",docs/agent-setup.md写「当前最低版本 0.1.0」,但browse和search --type从 0.1.3 才有。旧版本的 yargs.strict()会把它们当成输入错误拒绝,退出码 3。在已发布的 0.1.2 上实测:browse --type project和search topic --type project都返回kind: validation,exit 3。browse与search --type需要 0.1.3 及以上,版本以cortex-org-wiki --version为准,旧版本以退出码 3 拒绝,其余命令自 0.1.0 起可用;skill 和指南还写了版本偏旧时先按指南更新。skill 正文编进了二进制,所以版本升到 0.1.4(package.json、package-lock.json),并用scripts/generate-assets.mjs重新生成src/version.ts和src/skillAsset.ts。tests/cli.test.ts新增子测试:三份文档都要写出browse与search --type需要 0.1.3,并且不再出现 0.1.0 是整体最低版本的说法;另外要求--version高于 0.1.3,保证改过的内嵌 skill 以新版本号发出。修复前运行:该子测试失败(SKILL.md 不匹配),修复后通过。共享边界
skill setup、原生安装器、市场 skill 打包(scripts/package-skill.mjs把metadata.cli.version写成 0.1.4)。只改了文字,命令、参数、退出码和 API 调用都没动。docs/release.md。agent-setup.md和市场 skill,发布前仍是 0.1.3 的旧文字。检查
npm test:13 项里 12 项通过、0 失败,1 项跳过(native 需要CORTEX_ORG_WIKI_TEST_BINARY,本地未设置,CI 会跑)npm test:exit 1,只有新增子测试失败@hiq-ai/cortex-org-wiki-cli@0.1.2实测:browse/search --type均 exit 3node dist/cli.js --version输出0.1.4,dist/skillAsset.js里是新文字🤖 Generated with Claude Code
https://claude.ai/code/session_01SyjxHtzc5bneQgSH85QULN