From d6a8bc4063c8669c84f378daa0b5b15bd844d5a1 Mon Sep 17 00:00:00 2001 From: yeuimu <2197651308@qq.com> Date: Wed, 30 Sep 2026 06:19:48 +0000 Subject: [PATCH] =?UTF-8?q?feat(cli):=20=E9=94=99=E8=AF=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=A1=8C=E5=8A=A8=20hint=20+=20=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E9=97=A8=E7=A6=81=20+=20=E5=88=86=E5=8F=91=E6=94=B6=E5=B0=BE?= =?UTF-8?q?=20(0.1.7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 错误输出附 hint: 404 Invalid tableId / Workflow not found / 路由不存在 / 401 / 403 / 非法选项值 / visibilityFilter 等 9 类模式,JSON 模式含 hint 字段 - prepublishOnly 门禁: build + test + 全命令冒烟(81 用例) - skills/ 移除 evals/(判分标准不随技能分发) + scripts/sync-skills.sh 一键同步 - 冒烟建库固定在 agent-playground 专用空间(生产保护红线) --- package.json | 5 ++- scripts/smoke-commands.sh | 15 ++++++- scripts/sync-skills.sh | 13 ++++++ skills/inkreach-teable/evals/evals.json | 53 ------------------------- src/lib/ctx.ts | 30 +++++++++++++- 5 files changed, 59 insertions(+), 57 deletions(-) create mode 100755 scripts/sync-skills.sh delete mode 100644 skills/inkreach-teable/evals/evals.json diff --git a/package.json b/package.json index 10783b2..c55886f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@inkreach/inkreach-teable", - "version": "0.1.6", + "version": "0.1.7", "description": "CLI (command: inkreach-teable) for operating inkreach-teable: tables, fields, records, views, and the self-built automation engine (8 triggers + 7 actions).", "license": "MIT", "type": "commonjs", @@ -26,7 +26,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit", "test": "vitest run", "clean": "rimraf dist tsconfig.build.tsbuildinfo", - "prepare": "npm run build" + "prepare": "npm run build", + "prepublishOnly": "npm run build && npm test && bash scripts/smoke-commands.sh" }, "dependencies": { "commander": "^12.1.0" diff --git a/scripts/smoke-commands.sh b/scripts/smoke-commands.sh index 7f0bc64..7b83f6b 100755 --- a/scripts/smoke-commands.sh +++ b/scripts/smoke-commands.sh @@ -40,7 +40,10 @@ smoke() { # smoke