Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 5 additions & 61 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/node": "^25.6.0",
"@valibot/to-json-schema": "^1.6.0",
"ajv": "^8.20.0",
"@celados/argc": "^7.12.0",
"@celados/argc": "^8.0.0",
"bun-types": "^1.3.13",
"dataforseo-client": "^2.0.25",
"dotenv": "^17.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/gkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test:site": "bun run ./scripts/test-site-snapshot.ts"
},
"devDependencies": {
"@celados/argc": "^7.12.0",
"@celados/argc": "^8.0.0",
"@standard-schema/spec": "^1.0.0",
"@types/bun": "^1.3.10",
"@types/node": "^25.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gkit/src/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("gkit process contract", () => {
expect(result.stdout).toContain("gkit --profile <app> hubspot api call");
expect(result.stdout).toContain("pagespeed: {");
expect(result.stdout).toContain("gkit describe --id <capability-id>");
expect(result.stdout).toContain("argc dotted commands and @run are intentionally not exposed");
expect(result.stdout).toContain("argc dotted commands are intentionally not exposed");
expect(result.stdout).not.toContain("gkit dataforseo.api.call");
expect(result.stdout).not.toContain("gkit google-ads.api.call");
expect(result.stdout).not.toContain("gkit bing.api.call");
Expand Down
4 changes: 2 additions & 2 deletions packages/gkit/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ profiles, or publish to an npm registry — install from GitHub Release
tarballs.

gkit uses argc only to render the offline schema. The public dispatcher is
spaced commands (`gkit gsc api call`), not argc dotted paths or `@run`.
spaced commands (`gkit gsc api call`), not argc dotted paths.

## Discover Capabilities First

Expand Down Expand Up @@ -53,7 +53,7 @@ evidence; a successful retry is a new operation, not evidence.

| Don't | Do | Why |
| --- | --- | --- |
| Call `gkit gsc.api.call` or `@run` | Use spaced `gkit gsc api call` | argc's dispatcher is not the public surface |
| Call `gkit gsc.api.call` | Use spaced `gkit gsc api call` | argc's dispatcher is not the public surface |
| Put tokens in the profile, repo, or argv | `env:NAME` references, inject at runtime | Profiles hold non-secret defaults |
| Skip doctor before a live request | `gkit --profile <app> <provider> doctor` | Fail closed on missing config or secrets |
| Pipe a provider payload into context | Persist with `--out` and re-read | stdout is an envelope; the bulk is a file |
Expand Down
2 changes: 1 addition & 1 deletion packages/gkit/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export function renderGkitSchema(
}

function schemaPreamble(): string {
return "/** argc dotted commands and @run are intentionally not exposed. */\n";
return "/** argc dotted commands are intentionally not exposed. */\n";
}

function compactRootSchema(generated: string): string {
Expand Down
Loading