Repository navigation
docs: regenerate TypeScript API reference - #2977
Merged
Merged
Conversation
`site/src/content/apidocs/typescript.md` had fallen behind the package's
TypeScript wrappers, so the weekly API Reference Drift workflow was failing
its typescript job:
site/src/content/apidocs/typescript.md is stale -- run 'just apidocs-ts'
and commit the result
Regenerated with `just apidocs-ts`. The surfaces it picks up all already
exist in `wrapper.ts` / `index.d.ts` and were added without a regeneration:
- `AnalyzedUpload`, and the `uploads` field on the `analyze()` result
- `BashOptions.maxExecCalls` and `BashOptions.maxSessionCommands`, on both
the Bash and the bash-tool-adapter option types
Additive only -- 63 inserted lines, nothing removed or reworded -- so this is
a documentation catch-up with no API change. The workflow deliberately never
auto-commits, so regenerating under a real identity is the intended fix.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 63193af | Commit Preview URL Branch Preview URL |
Nov 23 2026, 09:53 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Regenerated
site/src/content/apidocs/typescript.mdwithjust apidocs-ts.Documentation only — 63 inserted lines, nothing removed or reworded. No source,
no API, no behavior change.
The surfaces it picks up all already exist in
wrapper.ts/index.d.tsandwere added without a regeneration:
AnalyzedUpload, and theuploadsfield on theanalyze()resultBashOptions.maxExecCallsandBashOptions.maxSessionCommands, on both theBashand the bash-tool-adapter option typesWhy
The weekly API Reference Drift workflow has been failing its typescript
job:
The markdown is a committed artifact that feeds the
/api/typescriptpage; thenode-only site build just renders it, so it has to be regenerated and committed
when the wrapper surface changes. That step was missed when these options and
the
uploadsanalysis field landed.Per the comment in
apidocs-drift.yml, the workflow deliberately neverauto-commits — it only fails, so that a human regenerates and commits under a
real identity. This is that commit.
Before / After
Before — the committed markdown documents neither the new option fields nor
AnalyzedUpload, and the drift job fails.After — regenerating is a no-op, so the job passes. Representative excerpt:
Verification:
just apidocs-ts(napi build →build:cjs→gen_ts_apidocs.mjs) completeswith 0 typedoc errors, and re-running it leaves the file unchanged.
crates/bashkit-js/wrapper.tsandindex.d.ts— the generator inventednothing.
just check-doc-linkspasses: 236 relative links across 52 files.Risk
runtime and no public surface changes. The one way this could be wrong is if
the generator emitted something the wrappers do not declare, which was
checked directly.
Checklist
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.