From dca7985f9bfecd426acbf32e895652192f645525 Mon Sep 17 00:00:00 2001 From: Parfii-bot Date: Mon, 18 May 2026 11:47:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(install):=20public=20install=20via=20keigit?= =?UTF-8?q?.com=20(Vultr)=20=E2=80=94=20no=20github=20needed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Что меняется: - README.md: git clone instruction → https://keigit.com/keisei/KeiSeiKit-1.0.git (был приватный github, внешний clone падал 404) - .gitmodules: kei-registries submodule → keigit.com/keisei/kei-registries.git (был приватный github, --recurse-submodules падал) - web-install.sh: KEISEI_REPO default → https://keigit.com/keisei/... (был git@github.com:KeiSeiLab/...) - install.sh: NO_EXECUTE check ПЕРЕД check_prereqs, чтобы --no-execute работал без установленных зависимостей. - install/lib-args.sh: новый флаг --skip-prereqs (SKIP_PREREQS) — для CI и dry-run сценариев. - marketplace.json + plugin.json: новые манифесты (version=0.38.0 из git tag) для Claude Code /plugin marketplace add + install. На keigit.com (45.77.41.204, публичный) залиты публичные репо keisei/KeiSeiKit-1.0 + keisei/kei-registries. Anonymous git clone работает. GitHub mirror (KeiSeiLab/*) остаётся приватным как backup. --- .gitmodules | 2 +- README.md | 2 +- install.sh | 24 ++++++++++++++++-------- install/lib-args.sh | 2 ++ marketplace.json | 13 +++++++++++++ plugin.json | 14 ++++++++++++++ web-install.sh | 4 ++-- 7 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 marketplace.json create mode 100644 plugin.json diff --git a/.gitmodules b/.gitmodules index 32cfcd2..64e4974 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "_blocks/registries"] path = _blocks/registries - url = https://github.com/KeiSeiLab/kei-registries.git + url = https://keigit.com/keisei/kei-registries.git shallow = true diff --git a/README.md b/README.md index a744269..2ed45b6 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ curl -fsSL https://install.keisei.app | bash -s -- --profile=dev --yes # CI /plugin install keisei@keisei-marketplace # Any MCP-compatible client (Cursor / Continue / Zed / Aider / etc) -git clone https://github.com/KeiSeiLab/KeiSeiKit-1.0 +git clone https://keigit.com/keisei/KeiSeiKit-1.0.git cd KeiSeiKit-1.0 ./bootstrap.sh # interactive profile picker # or: ./install.sh --profile=minimal # direct diff --git a/install.sh b/install.sh index ac24bb5..598ee10 100755 --- a/install.sh +++ b/install.sh @@ -157,10 +157,23 @@ if onboarding_should_run; then fi onboarding_run -# --- prerequisites ------------------------------------------------------- -check_prereqs +# --- early exit: --no-execute или --skip-prereqs ДО prereqs -------------- +# Это позволяет смотреть план без установленных зависимостей. +if [ "$NO_EXECUTE" = "1" ]; then + CONFIRM_LABEL="$PROFILE" + [ "$PROFILE" = "custom" ] && CONFIRM_LABEL="custom ($CUSTOM_PRIMS)" + CONFIRM_INPUT="$(printf '%s\n' $PROFILE_PRIMS | grep -v '^$' || true)" + printf '%s\n' "$CONFIRM_INPUT" | show_confirm_screen "$CONFIRM_LABEL" || true + say "--no-execute: plan resolved, exiting before install" + exit 0 +fi -# --- confirm screen + --no-execute --------------------------------------- +# --- prerequisites ------------------------------------------------------- +if [ "$SKIP_PREREQS" != "1" ]; then + check_prereqs +fi + +# --- confirm screen ------------------------------------------------------ CONFIRM_LABEL="$PROFILE" [ "$PROFILE" = "custom" ] && CONFIRM_LABEL="custom ($CUSTOM_PRIMS)" CONFIRM_INPUT="$(printf '%s\n' $PROFILE_PRIMS | grep -v '^$' || true)" @@ -169,11 +182,6 @@ if ! printf '%s\n' "$CONFIRM_INPUT" | show_confirm_screen "$CONFIRM_LABEL"; then exit 1 fi -if [ "$NO_EXECUTE" = "1" ]; then - say "--no-execute: plan resolved, exiting before install" - exit 0 -fi - # --- execute install phases ---------------------------------------------- setup_target_dirs scaffold_memory_index diff --git a/install/lib-args.sh b/install/lib-args.sh index 44623e9..9726982 100644 --- a/install/lib-args.sh +++ b/install/lib-args.sh @@ -17,6 +17,7 @@ REMOVE_NAME="" LIST_MODE=0 ASSUME_YES=0 NO_EXECUTE=0 +SKIP_PREREQS=0 REBUILD_RUST_LIST="" REBUILD_RUST_FLAG=0 OUTCOME_DRY_RUN=0 @@ -130,6 +131,7 @@ parse_args() { --list) LIST_MODE=1 ;; --yes|-y) ASSUME_YES=1 ;; --no-execute) NO_EXECUTE=1 ;; + --skip-prereqs) SKIP_PREREQS=1 ;; --rebuild-rust) REBUILD_RUST_FLAG=1 ;; --rebuild-rust=*) REBUILD_RUST_FLAG=1; REBUILD_RUST_LIST="${arg#--rebuild-rust=}" ;; --dry-run) OUTCOME_DRY_RUN=1 ;; diff --git a/marketplace.json b/marketplace.json new file mode 100644 index 0000000..3ede501 --- /dev/null +++ b/marketplace.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://json.schemastore.org/claude-code-marketplace.json", + "name": "keisei-marketplace", + "displayName": "KeiSei", + "description": "Constructor Pattern agent kit — agents, skills, hooks, Rust primitives.", + "version": "0.38.0", + "plugins": [ + { + "name": "keisei", + "source": "." + } + ] +} diff --git a/plugin.json b/plugin.json new file mode 100644 index 0000000..4fb2f56 --- /dev/null +++ b/plugin.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://json.schemastore.org/claude-code-plugin.json", + "name": "keisei", + "displayName": "KeiSei", + "description": "Constructor Pattern agent substrate — 59 agents, 67 skills, 39 hooks, 86 blocks. Rust primitives via classic ./install.sh.", + "version": "0.38.0", + "homepage": "https://keigit.com/keisei/KeiSeiKit-1.0", + "repository": "https://keigit.com/keisei/KeiSeiKit-1.0.git", + "author": { + "name": "Denis Parfionovich", + "email": "parfionovich@keilab.io" + }, + "license": "Apache-2.0" +} diff --git a/web-install.sh b/web-install.sh index cd8ce1d..e79ff1e 100755 --- a/web-install.sh +++ b/web-install.sh @@ -14,7 +14,7 @@ # # Env / args: # KEISEI_ROOT install dir (default: $HOME/.local/share/keisei) -# KEISEI_REPO git URL (default: git@github.com:KeiSeiLab/KeiSeiKit-1.0.git) +# KEISEI_REPO git URL (default: https://keigit.com/keisei/KeiSeiKit-1.0.git) # KEISEI_REF branch/tag/sha (default: main) # --profile=NAME passed through to ./bootstrap.sh # --yes passed through to ./bootstrap.sh @@ -24,7 +24,7 @@ set -euo pipefail KEISEI_ROOT="${KEISEI_ROOT:-$HOME/.local/share/keisei}" -KEISEI_REPO="${KEISEI_REPO:-git@github.com:KeiSeiLab/KeiSeiKit-1.0.git}" +KEISEI_REPO="${KEISEI_REPO:-https://keigit.com/keisei/KeiSeiKit-1.0.git}" KEISEI_REF="${KEISEI_REF:-main}" PASS_THROUGH=()