> This page is for CLI 参考.

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 4.78.0

**`(feat):`** Add more traceability to `.fern/metadata.json` so generator output makes it
clearer how and by whom the SDK was generated. The IR `generationMetadata`
object now carries four additional optional fields:

* `invokedBy`: source of the CLI invocation (`autopilot`, `autorelease`,
  `ci`, or `manual`). Set explicitly via the `FERN_INVOKER` environment
  variable, otherwise inferred from standard CI env vars.
* `requestedVersion`: the raw value passed to `--version` (e.g. `AUTO` or
  `1.2.3`) so consumers can tell whether auto-versioning was requested.
* `ciProvider`: the name of the CI provider (e.g. `github`, `gitlab`) when
  running in CI. Only the provider name is recorded — no repo, run,
  branch, commit, or actor metadata is captured.
* `originGitCommitIsDirty`: whether the Fern configuration repository had
  uncommitted changes at the time of generation.

The existing `originGitCommit` field continues to record the git commit of
the Fern configuration repository at the time of generation.

## 4.77.0

**`(feat):`** Add `fern replay` commands to CLI v2: `init`, `resolve`, `status`, and `forget`.

## 4.76.2

**`(fix):`** Fix the missing-redirects check to ignore stale historical slug-table rows
and only compare against the most recent published slug per page.

## 4.76.1

**`(fix):`** Support array examples for query parameters in OpenAPI specs. Parameters with
explode: false and array examples now flow through to generated wire tests.