From 9dddb8e0c371f503a9fdcc6ed38f2039bf85b809 Mon Sep 17 00:00:00 2001 From: Zhengshou Lai Date: Sun, 16 Aug 2026 20:35:38 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E9=9A=8F=20monorepo=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20mytoolkit=20=E7=94=A8=20make=20install-py=EF=BC=88?= =?UTF-8?q?=E5=8E=9F=20make=20update=20=E5=B7=B2=E6=94=B9=E5=90=8D?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/skills/mytoolkit/SKILL.md | 4 ++-- AGENTS.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.agents/skills/mytoolkit/SKILL.md b/.agents/skills/mytoolkit/SKILL.md index 2827371..eaf8630 100644 --- a/.agents/skills/mytoolkit/SKILL.md +++ b/.agents/skills/mytoolkit/SKILL.md @@ -82,12 +82,12 @@ mytoolkit completion zsh # 打印 zsh 补全脚本 ```bash cd /packages/mytoolkit && make install -# 或:cd && make update / ./setup.sh +# 或:cd && make install-py / ./setup.sh mytoolkit --version python3 -m pip show mytoolkit | grep Editable # 期望:.../xiaohe-agent/packages/mytoolkit ``` -> **重要**:修改 `packages/mytoolkit` 源码或 `git submodule update` 后须重新 `make install`(或走 monorepo `make update`)。勿从 `~/.xiaohe/actions-runner/_work/...` 安装。旁路备份克隆(如 `~/Documents/myBin/mytoolkit`)不要用来 install。 +> **重要**:修改 `packages/mytoolkit` 源码或 `git submodule update` 后须重新 `make install`(或走 monorepo `make install-py`)。勿从 `~/.xiaohe/actions-runner/_work/...` 安装。旁路备份克隆(如 `~/Documents/myBin/mytoolkit`)不要用来 install。 > **唯一真源**:用法以已安装包为准(`mytoolkit info paths` / `info docs`);仓库约定见 `AGENTS.md`。本 skill `references/` 仅作速查补充。 diff --git a/AGENTS.md b/AGENTS.md index 1f51484..68f72a7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -151,7 +151,7 @@ mytoolkit init journal springer mydir ```bash cd /packages/mytoolkit && make install -# 或随 monorepo:cd && make update / ./setup.sh +# 或随 monorepo:cd && make install-py / ./setup.sh python3 -m pip show mytoolkit | grep Editable # 必须是 .../xiaohe-agent/packages/mytoolkit ```