From ccf50f53ea77ca97ac596b7fbb7fe71344d2517f Mon Sep 17 00:00:00 2001 From: EthanHuo Date: Sat, 22 Aug 2026 20:29:32 +0800 Subject: [PATCH 1/3] Switch argc to @celados/argc registry package --- .gitignore | 2 ++ bun.lock | 8 ++++---- package.json | 2 +- packages/gkit/package.json | 2 +- packages/gkit/src/cli.ts | 2 +- packages/gkit/src/schema.ts | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index ec67b87..4761d02 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ credentials dist coverage *.tgz + +.npmrc diff --git a/bun.lock b/bun.lock index 41e2ffd..054e52a 100644 --- a/bun.lock +++ b/bun.lock @@ -19,10 +19,10 @@ "gkit": "bin/gkit.js", }, "dependencies": { + "@celados/argc": "^7.11.0", "@standard-schema/spec": "^1.0.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", - "argc": "github:ethan-huo/argc#v7.8.0", "dotenv": "^17.2.2", "google-auth-library": "^10.9.0", "valibot": "^1.2.0", @@ -38,11 +38,11 @@ }, }, "catalog": { + "@celados/argc": "^7.11.0", "@types/bun": "^1.3.10", "@types/node": "^25.6.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", - "argc": "github:ethan-huo/argc#v7.8.0", "bun-types": "^1.3.13", "dataforseo-client": "^2.0.25", "dotenv": "^17.2.2", @@ -53,6 +53,8 @@ "yaml": "^2.9.0", }, "packages": { + "@celados/argc": ["@celados/argc@7.11.0", "https://npm.celados.com/@celados/argc/-/@celados/argc-7.11.0.tgz", { "dependencies": { "oxc-parser": "0.137.0", "yaml": "2.9.0" }, "peerDependencies": { "@standard-schema/spec": "^1.0.0" } }, "sha512-untX6INuV9c2Z6BX0DBFC48L1O4sr+w0EohubnZKsnq6bJcIfId/+XWgd7GLbMS2zYJ7kOZo+ILSD2EN7rUfng=="], + "@emnapi/core": ["@emnapi/core@1.11.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" } }, "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ=="], "@emnapi/runtime": ["@emnapi/runtime@1.11.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="], @@ -169,8 +171,6 @@ "ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="], - "argc": ["argc@github:ethan-huo/argc#e1502eb", { "dependencies": { "oxc-parser": "0.137.0", "yaml": "2.9.0" }, "peerDependencies": { "@standard-schema/spec": "^1.0.0" } }, "ethan-huo-argc-e1502eb", "sha512-JR4XDr1ryCUT+jz7fXa/YjFyAdpOnaf0SY01C4YmlKHSY8A0RCA1BuS8oYTrB3WWv/vyDUrLWC0HwGBfoTq4xg=="], - "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], "base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="], diff --git a/package.json b/package.json index 6af580e..29630db 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "@types/node": "^25.6.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", - "argc": "github:ethan-huo/argc#v7.8.0", + "@celados/argc": "^7.11.0", "bun-types": "^1.3.13", "dataforseo-client": "^2.0.25", "dotenv": "^17.2.2", diff --git a/packages/gkit/package.json b/packages/gkit/package.json index 88cba36..304e261 100644 --- a/packages/gkit/package.json +++ b/packages/gkit/package.json @@ -36,7 +36,7 @@ "@standard-schema/spec": "^1.0.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", - "argc": "github:ethan-huo/argc#v7.8.0", + "@celados/argc": "^7.11.0", "dotenv": "^17.2.2", "google-auth-library": "^10.9.0", "valibot": "^1.2.0", diff --git a/packages/gkit/src/cli.ts b/packages/gkit/src/cli.ts index db039d3..915e460 100644 --- a/packages/gkit/src/cli.ts +++ b/packages/gkit/src/cli.ts @@ -1,6 +1,6 @@ import { fileURLToPath } from "node:url"; -import { ensureTrailingNewline, formatBareSkill } from "argc/skill"; +import { ensureTrailingNewline, formatBareSkill } from "@celados/argc/skill"; import { parseArgs, renderHelp } from "./args"; import { embedSkill } from "./skill.embed"; diff --git a/packages/gkit/src/schema.ts b/packages/gkit/src/schema.ts index ba95077..f6843bc 100644 --- a/packages/gkit/src/schema.ts +++ b/packages/gkit/src/schema.ts @@ -1,5 +1,5 @@ import { toStandardJsonSchema } from "@valibot/to-json-schema"; -import { c, generateSchema, group, selectSchema, type Router } from "argc"; +import { c, generateSchema, group, selectSchema, type Router } from "@celados/argc"; import * as v from "valibot"; import { GkitFailure } from "./envelope"; From d81e7576f3be65d0e6d0037346fc611583517ff0 Mon Sep 17 00:00:00 2001 From: EthanHuo Date: Sun, 30 Aug 2026 12:34:45 +0800 Subject: [PATCH 2/3] perf: route gkit intent directly to embedded guide --- packages/gkit/skills/gkit/SKILL.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/gkit/skills/gkit/SKILL.md b/packages/gkit/skills/gkit/SKILL.md index 3f2f685..d01351b 100644 --- a/packages/gkit/skills/gkit/SKILL.md +++ b/packages/gkit/skills/gkit/SKILL.md @@ -1,11 +1,9 @@ --- name: gkit description: >- - Call growth providers through the profile-bound gkit CLI (DataForSEO, - PostHog, Google Ads, GSC, Bing). Activate when discovering capabilities, - running doctor, or making a live/dry-run provider request for an App - profile. + When a task requires discovering or calling DataForSEO, PostHog, Google Ads, + GSC, or Bing through an App profile, including doctor and dry-run checks, run + `gkit @skill` immediately to load the full usage guide. --- Run `gkit @skill` now for the full usage guide. -Read a referenced file with `gkit @skill `. From 0c970c7a30eb9d3e37af8ae85e60062db348dd4e Mon Sep 17 00:00:00 2001 From: EthanHuo Date: Sun, 30 Aug 2026 12:44:14 +0800 Subject: [PATCH 3/3] fix: keep release artifact publicly installable --- bun.lock | 8 ++++---- package.json | 2 +- packages/gkit/package.json | 2 +- packages/gkit/src/cli.ts | 2 +- packages/gkit/src/schema.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bun.lock b/bun.lock index 054e52a..0487c6c 100644 --- a/bun.lock +++ b/bun.lock @@ -19,10 +19,10 @@ "gkit": "bin/gkit.js", }, "dependencies": { - "@celados/argc": "^7.11.0", "@standard-schema/spec": "^1.0.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", + "argc": "github:ethan-huo/argc#v7.11.0", "dotenv": "^17.2.2", "google-auth-library": "^10.9.0", "valibot": "^1.2.0", @@ -38,11 +38,11 @@ }, }, "catalog": { - "@celados/argc": "^7.11.0", "@types/bun": "^1.3.10", "@types/node": "^25.6.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", + "argc": "github:ethan-huo/argc#v7.11.0", "bun-types": "^1.3.13", "dataforseo-client": "^2.0.25", "dotenv": "^17.2.2", @@ -53,8 +53,6 @@ "yaml": "^2.9.0", }, "packages": { - "@celados/argc": ["@celados/argc@7.11.0", "https://npm.celados.com/@celados/argc/-/@celados/argc-7.11.0.tgz", { "dependencies": { "oxc-parser": "0.137.0", "yaml": "2.9.0" }, "peerDependencies": { "@standard-schema/spec": "^1.0.0" } }, "sha512-untX6INuV9c2Z6BX0DBFC48L1O4sr+w0EohubnZKsnq6bJcIfId/+XWgd7GLbMS2zYJ7kOZo+ILSD2EN7rUfng=="], - "@emnapi/core": ["@emnapi/core@1.11.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" } }, "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ=="], "@emnapi/runtime": ["@emnapi/runtime@1.11.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="], @@ -171,6 +169,8 @@ "ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="], + "argc": ["@celados/argc@github:ethan-huo/argc#1463e0b", { "dependencies": { "oxc-parser": "0.137.0", "yaml": "2.9.0" }, "peerDependencies": { "@standard-schema/spec": "^1.0.0" } }, "ethan-huo-argc-1463e0b", "sha512-UnpEGhU0d22g7TG62Me7/8XU9ZmQOMziARXnDnxW+fiFlAYg2y8IJ8E7+LughYYDg//I4FlqVk3cDiGGHStx4A=="], + "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], "base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="], diff --git a/package.json b/package.json index 29630db..1ac1278 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "@types/node": "^25.6.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", - "@celados/argc": "^7.11.0", + "argc": "github:ethan-huo/argc#v7.11.0", "bun-types": "^1.3.13", "dataforseo-client": "^2.0.25", "dotenv": "^17.2.2", diff --git a/packages/gkit/package.json b/packages/gkit/package.json index 304e261..c7f4ad9 100644 --- a/packages/gkit/package.json +++ b/packages/gkit/package.json @@ -36,7 +36,7 @@ "@standard-schema/spec": "^1.0.0", "@valibot/to-json-schema": "^1.6.0", "ajv": "^8.20.0", - "@celados/argc": "^7.11.0", + "argc": "github:ethan-huo/argc#v7.11.0", "dotenv": "^17.2.2", "google-auth-library": "^10.9.0", "valibot": "^1.2.0", diff --git a/packages/gkit/src/cli.ts b/packages/gkit/src/cli.ts index 915e460..db039d3 100644 --- a/packages/gkit/src/cli.ts +++ b/packages/gkit/src/cli.ts @@ -1,6 +1,6 @@ import { fileURLToPath } from "node:url"; -import { ensureTrailingNewline, formatBareSkill } from "@celados/argc/skill"; +import { ensureTrailingNewline, formatBareSkill } from "argc/skill"; import { parseArgs, renderHelp } from "./args"; import { embedSkill } from "./skill.embed"; diff --git a/packages/gkit/src/schema.ts b/packages/gkit/src/schema.ts index f6843bc..ba95077 100644 --- a/packages/gkit/src/schema.ts +++ b/packages/gkit/src/schema.ts @@ -1,5 +1,5 @@ import { toStandardJsonSchema } from "@valibot/to-json-schema"; -import { c, generateSchema, group, selectSchema, type Router } from "@celados/argc"; +import { c, generateSchema, group, selectSchema, type Router } from "argc"; import * as v from "valibot"; import { GkitFailure } from "./envelope";