
Upgradepath
io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 3, 2026
規劃安全的依賴升級路徑:有序的中間版本、破壞性變更、結論。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Plan a safe dependency upgrade path: ordered intermediate versions, breaking changes, verdict.
概覽
Upgradepath 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Upgradepath,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
upgradepath
Upgrading a dependency is rarely one jump. The releases between where you are and where you want to be each carry their own breaking changes, and the order you pass through them matters. upgradepath plans that walk for a single dependency. You supply the facts — the name, the version you have, the version you want, and the known releases with the breaking changes and deprecation flags you have recorded for each — and it returns the ordered steps in between, what each step breaks, and a verdict for the whole path.
Nothing is fetched. Versions are never looked up and
changes are never guessed; every fact in the plan came
from the caller. Only releases numerically greater than
the current version and at most the target become steps,
sorted ascending. Versions are written x.y.z and
compare numerically, so 01.2.3 and 1.2.3 are the same
version — including when that makes two supplied releases
duplicates, which is an error. The target must be greater
than the current version, or the plan is rejected before
any step is chosen.
Alongside the steps, the result counts how many major
boundaries the chain crosses, walking from the current
version through each step in order, and reports whether
the last step actually reaches the target: a release list
that stops short still produces a plan, but
reaches_target says plainly that it does not arrive.
The verdict is decided in a fixed precedence. No steps at
all is no_path. A path carrying no breaking changes is
clean. Three or fewer breaking changes in total is
manageable, and anything beyond that is
major_effort — so a step-less plan is no_path even
though its breaking total is zero.
Each step echoes its version and its breaking changes
exactly as supplied, counts those changes, and reports
whether the release is deprecated (false when the
caller did not say). Malformed input — a missing, empty,
or non-string name, a version outside the x.y.z
grammar, a missing, non-array, or empty releases list,
a malformed release entry, a duplicate release version,
or a target that is not greater than the current
version — is a validation error naming the offending
path, with no partial result. Unknown extra fields are
ignored, including inside release entries.
CLI
args.json contains the full arguments object:
The result is printed as JSON:
Exit codes: 0 on success, 1 on a runtime error
(including an unreadable or invalid input file, or
invalid input), 2 on a usage error.
MCP server
MCP client config:
Tools
-
plan_upgrade_path— Plan a safe dependency upgrade from caller-supplied release facts.name(string, required, non-empty) — dependency namecurrent(string, required) — currently installed version, inx.y.zformtarget(string, required) — target version, inx.y.zform; must be greater thancurrentreleases(array, required, at least 1 item) — known releases of the dependency; each item has:version(string, required) — release version, inx.y.zformbreaking_changes(array of strings, optional) — breaking changes introduced by this release; absent means nonedeprecated(boolean, optional) — whether this release is deprecated; absent means false
Returns
{name, current, target, steps, step_count, total_breaking, majors_crossed, reaches_target, verdict}, where each step is{version, breaking_changes, breaking_count, deprecated}.
Docker
Development
License
MIT — Copyright (c) 2026 Rene Turcios
來源:README.md,提交 dfa7e67
工具
0版本歷史
1- v0.1.0最新Nov 3, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分