NM

nickkostik/modelhub-kit

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 64 趋势 20MIT

轻量级跨平台编码CLI更新、模型目录及原生MCP/ACP集成

概览

轻量级维护,适用于编码 CLI、模型目录及 Linux、macOS 和 Windows 的原生 MCP/ACP 配置。Python 3.11+,标准库,无运行时依赖。 下载或克隆该仓库,检查它,然后运行: 安装程序创建每个用户的命令,并在签出外初始化一个空的个人配置。它保留现有配置和兼容的运行时。在 Unix 上使用 --prerequisites,在 Windows 上使用 --prerequisites,通过支持的原生包管理器显式安装缺失的前置条件。npm 工具需要 Node 22+;不支持的包管理器版本会产生可操作的结果。安装说明涵盖发布选择、路径、前置条件、PATH 设置、初始化、可选调度、套件升级和移除。 - 比较官方稳定版本,并更新所选命令实际使用的自有安装。

概述(AI 翻译)

轻量级维护,适用于编码 CLI、模型目录及 Linux、macOS 和 Windows 的原生 MCP/ACP 配置。Python 3.11+,标准库,无运行时依赖。

安装

下载或克隆该仓库,检查它,然后运行:

Windows PowerShell:

安装程序创建每个用户的命令,并在结出外初始化一个空的个人配置。它保留现有配置和兼容运行时。在 Unix 上使用 --prerequisites 或在 Windows 上使用 -Prerequisites,通过支持的本地包管理器明确安装缺失的前置条件。npm 工具需要 Node 22+;不支持的包管理器版本会产生可操作的结果。安装说明涵盖了发布选择、路径、前提条件、PATH 设置、初始化、可选调度、套件升级和移除。

它的作用

  • 比较官方稳定版本,并更新所选命令实际使用的自有安装。当前版本保留安装,缺失的工具需要明确选择,自定义或更新安装则被保留。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ModelHub Kit

Lightweight maintenance for coding CLIs, model catalogs, and native MCP/ACP configuration across Linux, macOS, and Windows. Python 3.11+, standard library, no runtime dependencies.

Install

Download or clone this repository, inspect it, and run:

sh scripts/install.sh

Windows PowerShell:

& .\scripts\install.ps1

The installer creates a per-user command and initializes an empty personal configuration outside the checkout. It preserves existing configuration and compatible runtimes. Use --prerequisites on Unix or -Prerequisites on Windows to explicitly install missing prerequisites through a supported native package manager. Missing or obsolete Node runtimes are resolved from the current official LTS release index; an already compatible Node is reused without a same-version reinstall. Unsupported package-manager versions produce an actionable result. Installation instructions cover release selection, paths, prerequisites, PATH setup, initialization, optional scheduling, kit upgrades and removal.

If another updater owns selected tools, list their IDs in externally_managed_tools in your local configuration. Kit skips those tools before probing or updating them and reports them as queued; other selected tools remain managed. This does not verify that the other updater is current or coordinate separately configured client integrations.

modelhub-kit doctor --json
modelhub-kit update --dry-run
modelhub-kit update --tool codex --install-missing
modelhub-kit schedule --apply

What it does

  • Compares official stable versions and updates the owned installation actually used by the selected command. Current versions are left installed, missing tools require an explicit selection, and custom or newer installations are preserved.
  • Verifies Codex’s separately running app-server and refreshes a stale one only after its local control RPC proves all loaded turns are idle. A current CLI package can no longer masquerade as a current native model/capability runtime.
  • Manages selected npm harnesses and ACP adapters, native Devin CLI, Cursor CLI and Muse Code, plus separate Cursor, Devin and Grok Bot desktop update channels. Product support lists ownership, platform and vendor constraints. Current or newer installations do not trigger an artifact download.
  • Serializes mutation with a kernel lock. Active tool sessions defer package replacement. Read-only probes have deadlines; supported vendor installs retain custody of their descendants until natural completion. Unsupported generic mutations queue. Native Droid updates bypass the vendor installer’s process-kill step.
  • Refreshes user-selected HTTPS model endpoints with ETag/Last-Modified validators. Invalid/truncated responses retain the last good catalog. Exact model IDs and all supplied reasoning metadata remain intact; unknown capabilities stay unknown.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →