Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI reference

This page is generated from tungsten --help, command by command. Run tungsten <command> --help in your terminal. Generic Git URL examples on this page use the reserved example.com domain.

tungsten

Agent-native SDK generator and MCP/WebMCP compiler

Usage: tungsten.exe [OPTIONS] <COMMAND>

Commands:
  check         Validate the manifest and specs and report diagnostics
  ir            Intermediate representation commands
  explain       Explain a diagnostic code, an operation or a type
  schema        Print a JSON Schema published by tungsten
  init          Write tungsten.yml and agent.yml for a new project
  doctor        Report installed tools and optionally check project prerequisites
  capabilities  Query built-in target declarations without executing tools or emitters
  config        Explain supported effective configuration without compiling or running tools
  policy        Explicit host policy utilities; never approves or runs executables
  emitters      List the external emitters (`tungsten-emit-<name>`) that can be run, with the protocol and version each reports
  generate      Generate every configured target (SDKs, docs) from the project
  mock          Serve a mock of the API from the compiled IR
  scenario      Validate a saved mock scenario or run an explicitly selected integration
  report        Coverage, safety matrix, token budgets, diagnostics and changes since the last generation, as text, one static HTML file or JSON
  diff          Show what regeneration would add, change or remove in each target, and with --semver how the API surface changed
  overlay       OpenAPI Overlay authoring helpers
  lsp           Serve a Language Server Protocol server on stdin and stdout for tungsten.yml, agent.yml and overlays: diagnostics, completion, hover, go-to-definition and symbols. `--json` has no effect
  help          Print this message or the help of the given subcommand(s)

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified

      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`

      --offline
          Reuse verified HTTP/Git input pins and cached files without network access

      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources

      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets
          
          [env: TUNGSTEN_INPUT_HEADERS]

      --json
          Print exactly one JSON document on stdout

      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH
          
          [env: TUNGSTEN_NO_EXTERNAL=]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Examples:
  tungsten init --from openapi.yaml    Write tungsten.yml and agent.yml
  tungsten check .                     Validate the project and print diagnostics
  tungsten config .                    Explain supported effective configuration
  tungsten generate --target ts,py     Generate the TypeScript and Python SDKs
  tungsten generate --target webmcp    Generate a browser WebMCP adapter
  tungsten mock --port 4010            Serve a mock of the API from the IR
  tungsten report --html report.html   Write a static coverage and safety report
  tungsten diff --semver               Show how the API surface changed
  tungsten overlay suggest --write fixes.overlay.yaml
                                       Suggest an overlay that fixes diagnostics
  tungsten lsp                         Serve diagnostics, completion and hover for
                                       manifests to an editor over stdio

Repository: https://github.com/pboachie/tungsten

Exit codes:
  0  success (also `diff` when regeneration would change files, and
     `report` with warnings)
  1  the input has errors (or warnings with --strict), generated output is
     stale (generate --check, check --ci), or the item asked for does not
     exist (explain target not found, unknown target)
  2  usage error: the command line could not be parsed
  3  I/O or internal failure (for example --out is not writable, or the
     mock server cannot start)
  4  the command refused to act without confirmation (init over existing
     files, generate into a directory tungsten did not write: pass --force)

Output:
  Without --json, results go to stdout and diagnostics to stderr. With
  --json, stdout carries exactly one JSON document described by
  `tungsten schema cli-output`, help and version included. Color is used
  only on a terminal and never when NO_COLOR is set.

tungsten check

Validate the manifest and specs and report diagnostics

Usage: tungsten.exe check [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --ci
          CI mode: never prompt, never color, and fail (TG0901) when the generated output of a target differs from what `generate` would write. This runs every configured target's emitter in memory, including the commands of `external` targets (see --no-external)
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --strict
          Treat warnings as errors
      --audit-contracts
          Audit the success response contracts after compiling (opt-in): a JSON response without a schema (TG0930), a schema that constrains nothing (TG0305) and a free-form object response (TG0931) become warnings naming the operation, status and media type. Nothing is rejected and the default exit behavior is unchanged; combine with --strict to fail when the audit finds weak contracts. Typed maps, no-content responses and non-JSON media types are not findings; a schema (or media-type entry) with a nonempty string review note in `x-tungsten-reviewed-contract`, usually through an overlay, counts as reviewed. TG0932 reports an incomplete audit when budgets are hit
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --require-contracts
          Run the response-contract audit and treat its findings as errors. Other warnings keep their usual severity (unlike --strict)
      --all-warnings
          Print every warning and info diagnostic in full. By default a code that repeats is shown a few times, then summarized with a count; `--json` always lists every diagnostic
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten ir

Intermediate representation commands

Usage: tungsten.exe ir [OPTIONS] <COMMAND>

Commands:
  dump  Write the IR as JSON
  help  Print this message or the help of the given subcommand(s)

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten ir dump

Write the IR as JSON

Usage: tungsten.exe ir dump [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --out <FILE>
          Write the IR to this file instead of stdout
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --compact
          One line instead of indented JSON
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --pretty
          Indented JSON (the default)
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten explain

Explain a diagnostic code, an operation or a type

Usage: tungsten.exe explain [OPTIONS] <TARGET>

Arguments:
  <TARGET>  A diagnostic code (TG0201), an operation id (public.listPets) or a type id (public.Pet). A bare operationId or type name is accepted when it is unambiguous

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --project <PATH>
          Project used to resolve operation and type ids [default: .]
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten schema

Print a JSON Schema published by tungsten

Usage: tungsten.exe schema [OPTIONS] <NAME>

Arguments:
  <NAME>
          Which schema to print

          Possible values:
          - tungsten:         The tungsten.yml manifest
          - agent:            The agent.yml manifest
          - ir:               The intermediate representation written by `ir dump`
          - cli-output:       The `--json` output of this CLI
          - external-emitter: The documents of the external emitter protocol
          - execution-policy: Strict host-selected external execution constraints, never approval
          - sdk-descriptors:  The SDK descriptor document (tungsten_emit::sdk::descriptors)
          - tool-catalog:     Transport-neutral tools and scoped groups
          - capabilities:     Built-in target capability declarations, independent of qualification

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified

      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`

      --offline
          Reuse verified HTTP/Git input pins and cached files without network access

      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources

      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets
          
          [env: TUNGSTEN_INPUT_HEADERS]

      --json
          Print exactly one JSON document on stdout

      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH
          
          [env: TUNGSTEN_NO_EXTERNAL=]

  -h, --help
          Print help (see a summary with '-h')

tungsten init

Write tungsten.yml and agent.yml for a new project

Usage: tungsten.exe init [OPTIONS]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --server-url <SERVER_URL>
          Advanced: default server URL for later live use; no credentials/query/fragment
      --cli-profile <CLI_PROFILE>
          Advanced: generated Rust CLI environment profile NAME=URL; repeatable. Writes tungsten-profiles.toml with no credentials
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --strict
          Advanced: promote generation warnings to errors and withhold all outputs
      --hide-operation <HIDE_OPERATION>
          Hide an exact namespace.operationId from agent surfaces; repeatable
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --require-confirmation <REQUIRE_CONFIRMATION>
          Require argument-bound confirmation on an exact operation; repeatable. Never counts as imported-operation review or grants live authority
      --json
          Print exactly one JSON document on stdout
      --python-runtime <PYTHON_RUNTIME>
          Advanced: local Python runtime checkout (used only with explicit setup consent)
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
      --rust-runtime <RUST_RUNTIME>
          Advanced: local Rust runtime crate
      --cli-kit-runtime <CLI_KIT_RUNTIME>
          Advanced: local Rust CLI kit crate
      --har-origin <HAR_ORIGIN>
          Exact HTTP(S) origin to select from a multi-origin HAR (no credentials)
      --har-paths <JSON>
          Reviewed HAR paths: JSON object mapping each captured URL path to a template. Required for every imported path before any converted output is saved
      --include-prefix <INCLUDE_PREFIX>
          HAR path prefixes to include; repeatable, exclusions take precedence
      --exclude-prefix <EXCLUDE_PREFIX>
          HAR path prefixes to exclude; repeatable
      --redact-property <REDACT_PROPERTY>
          Additional HAR property names to redact from structural observations
      --webmcp-runtime <WEBMCP_RUNTIME>
          Advanced: use an explicitly supplied local WebMCP runtime package
      --mcp-runtime <MCP_RUNTIME>
          Advanced: use an explicitly supplied local MCP runtime package
      --input-format <INPUT_FORMAT>
          Advanced input detection override for saved requests [default: auto] [possible values: auto, curl, http]
      --route <ROUTE>
          Trusted path template for each saved request, in input order; repeat as needed. HAR input requires a template for every captured path; each path uses the most literal matching template
      --shell-dialect <SHELL_DIALECT>
          Shell quoting syntax of a saved cURL command; never executes a shell [default: posix] [possible values: posix, cmd, powershell]
      --typescript-runtime <TYPESCRIPT_RUNTIME>
          Advanced: use an explicitly supplied local TypeScript runtime package
      --add-targets <ADD_TARGETS>
          Add outputs to an existing project while retaining all existing settings. Edits only the `targets` section and saves the original manifest as tungsten.yml.init-backup (or the next free `.init-backup.N`) first
      --local-example
          Acquire project dependencies, build selected outputs and call a loopback mock. Requires the selected Node, Python or Rust toolchains; only new projects
      --method <METHOD>
          No-schema HTTP method; use a path template with --endpoint, never credentials [possible values: get, post, put, patch, delete, head, options]
      --endpoint <ENDPOINT>
          No-schema path template, for example /pets/{id}; not a live URL
      --request-example <REQUEST_EXAMPLE>
          JSON request example file; only its structure is persisted
      --response-example <RESPONSE_EXAMPLE>
          JSON response example file; only its structure is persisted (status 200)
      --interactive
          Start the guided terminal setup (requires a terminal, incompatible with JSON)
      --no-interactive
          Never prompt, including when attached to a terminal
      --generate
          Generate configured outputs after initializing, without acquiring dependencies
      --resume
          Generate from existing manifests without overwriting reviewed settings
      --from <SPEC>
          API description to start from: an OpenAPI 3.0 or 3.1 document, a Swagger 2.0 document, a Postman Collection v2.1 JSON file, a saved cURL command, an HTTP request file (.http/.rest), a HAR 1.2 capture or an endpoint manifest. Saved requests and captures need explicit --route templates. Accepts a local path, HTTP(S) URL or git+https://example.com/repository@ref#path (also git+file://). Default: openapi.json, openapi.yaml, openapi.yml, swagger.json or swagger.yaml in the target directory
      --dir <DIR>
          Directory to write the manifests into (created if missing) [default: .]
      --name <NAME>
          API machine name: lowercase letters, digits and underscores, starting with a letter. Default: derived from the spec title
      --targets <TARGETS>
          Targets to configure, comma-separated or repeated (ts, py, rs aliases). Default: typescript,python,docs. WebMCP also configures TypeScript
      --force
          Overwrite existing tungsten.yml and agent.yml
  -h, --help
          Print help

tungsten doctor

Report installed tools and optionally check project prerequisites

Usage: tungsten.exe doctor [OPTIONS] [PATH]

Arguments:
  [PATH]  Project directory or tungsten manifest to inspect without network access

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --strict
          Fail when the project's required tools are missing or unsupported. Uses the current directory when PATH is omitted
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten capabilities

Query built-in target declarations without executing tools or emitters

Usage: tungsten.exe capabilities [OPTIONS] [TARGET]

Arguments:
  [TARGET]  Limit the catalog to one target id or CLI alias

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten config

Explain supported effective configuration without compiling or running tools

Usage: tungsten.exe config [OPTIONS] [PATH]

Arguments:
  [PATH]  Local project directory or tungsten manifest [default: .]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --strict
          Fail on supported-option warnings as well as configuration errors
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten policy

Explicit host policy utilities; never approves or runs executables

Usage: tungsten.exe policy [OPTIONS] <COMMAND>

Commands:
  digest  Purely validate/hash a bounded local strict JSON policy for review. Rejects execution-policy flags; never writes files or grants authority
  help    Print this message or the help of the given subcommand(s)

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten policy digest

Purely validate/hash a bounded local strict JSON policy for review. Rejects execution-policy flags; never writes files or grants authority

Usage: tungsten.exe policy digest [OPTIONS] <PATH>

Arguments:
  <PATH>  

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten emitters

List the external emitters (`tungsten-emit-<name>`) that can be run, with the protocol and version each reports

Usage: tungsten.exe emitters [OPTIONS] [PATH]

Arguments:
  [PATH]  A project (as for `check`) whose `external` targets are listed too

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten generate

Generate every configured target (SDKs, docs) from the project

Usage: tungsten.exe generate [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --target <TARGETS>
          Only these targets, comma-separated (`typescript,docs`; `ts`, `py`, `rs` and `rb` are accepted). Default: every target in tungsten.yml
      --dry-run
          Report what would be written or removed without touching the disk
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --check
          Compare the output directories with what would be generated; write nothing and exit 1 when they differ
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --force
          Write into a non-empty output directory that tungsten did not generate (one without .tungsten/manifest.json)
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --strict
          Treat warnings (the compiler's and the emitters') as errors: nothing is written when there are any, in any target
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten mock

Serve a mock of the API from the compiled IR

Usage: tungsten.exe mock [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --scenario <FILE>
          Load a versioned JSON scenario before serving; no commands are executed
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --port <PORT>
          Port on 127.0.0.1 to listen on; 0 picks a free port [default: 0]
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --seed <SEED>
          Seed for generated response values; the same seed gives the same responses [default: 0]
      --gate <ENV>
          Treat this runtime gate (its environment variable, e.g. SEALED_WEBHOOK_DELIVERY_ENABLED) as on; repeat for several. Gates not listed keep their default
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --max-recorded-calls <N>
          Recorded calls kept for `/__tungsten/calls`; past it the oldest is dropped. 0 records nothing [default: 10000]
      --json
          Print exactly one JSON document on stdout
      --max-idempotent-responses <N>
          Stored idempotent responses kept for replays; past it the oldest is dropped and a later request with its key is served as new. 0 stores nothing [default: 10000]
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten scenario

Validate a saved mock scenario or run an explicitly selected integration

Usage: tungsten.exe scenario [OPTIONS] <COMMAND>

Commands:
  validate  Validate a saved JSON scenario without binding or executing commands
  run       Load isolated mock state, execute explicit argv, and assert counts/exit
  help      Print this message or the help of the given subcommand(s)

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten scenario validate

Validate a saved JSON scenario without binding or executing commands

Usage: tungsten.exe scenario validate [OPTIONS] --scenario <FILE> [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --scenario <FILE>
          
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten scenario run

Load isolated mock state, execute explicit argv, and assert counts/exit

Usage: tungsten.exe scenario run [OPTIONS] --scenario <FILE> [PATH] -- <COMMAND>...

Arguments:
  [PATH]        A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]
  <COMMAND>...  Executable and arguments after --. No shell interpolation is performed

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --scenario <FILE>
          
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --timeout-ms <TIMEOUT_MS>
          Run-phase budget including cleanup; compilation/validation precede it [default: 30000]
      --expect-exit <EXPECT_EXIT>
          [default: 0]
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --max-calls <MAX_CALLS>
          [default: 10000]
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten report

Coverage, safety matrix, token budgets, diagnostics and changes since the last generation, as text, one static HTML file or JSON

Usage: tungsten.exe report [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --html <FILE>
          Write the report as one static HTML file (no external assets, no scripts)
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --all-targets
          Also run the emitter of every target this version knows, not only the configured ones, to fill the coverage table and the token budgets of targets that are not enabled yet. Slow on a large API. Without it those targets are listed as `not_configured`. Configured `external` targets run either way (see --no-external)
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten diff

Show what regeneration would add, change or remove in each target, and with --semver how the API surface changed

Usage: tungsten.exe diff [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --target <TARGETS>
          Only these targets, comma-separated. Default: every target in tungsten.yml
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --semver
          Classify the API surface change since the last generation (from .tungsten/surface.json) as major, minor, patch or none
      --migration
          Include actionable migration guidance (implies --semver)
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten overlay

OpenAPI Overlay authoring helpers

Usage: tungsten.exe overlay [OPTIONS] <COMMAND>

Commands:
  suggest  Suggest an Overlay 1.0 document whose actions fix diagnostics (a missing or repeated operationId) without changing the IR
  help     Print this message or the help of the given subcommand(s)

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten overlay suggest

Suggest an Overlay 1.0 document whose actions fix diagnostics (a missing or repeated operationId) without changing the IR

Usage: tungsten.exe overlay suggest [OPTIONS] [PATH]

Arguments:
  [PATH]  A directory with a tungsten.yml, a tungsten*.yml manifest, or a single OpenAPI document (local path, HTTP(S) URL or git+ URL) [default: .]

Options:
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --write <FILE>
          Write the overlay to this file instead of stdout
      --force
          Overwrite the --write file if it exists
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --only <CODES>
          Only suggest fixes for these diagnostic codes, comma-separated
      --namespace <NAME>
          The input (namespace) to suggest for. Needed when more than one input has suggestions: an overlay's targets only fit its own spec
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help

tungsten lsp

Serve a Language Server Protocol server on stdin and stdout for tungsten.yml, agent.yml and overlays: diagnostics, completion, hover, go-to-definition and symbols. `--json` has no effect

Usage: tungsten.exe lsp [OPTIONS]

Options:
      --config <PATH>
          The manifest to serve: a tungsten.yml, or a directory holding one. Default: the tungsten.yml of the editor's workspace folder
      --policy <PATH>
          Select one reviewed local strict JSON external-emitter policy (requires --policy-digest). Supported: generate (all modes), check (including CI), report, diff, emitters and pure config inspection. policy digest and all other commands reject supplied policy before reads or effects. No approval, environment isolation, acquisition protection or sandbox is conferred. Parent links/mounts and volume/network locality are not verified
      --policy-digest <DIGEST>
          Exact blake3: plus 64 lowercase hex digits of the reviewed policy bytes. Obtain it separately with `tungsten policy digest PATH`
      --offline
          Reuse verified HTTP/Git input pins and cached files without network access
      --refresh-inputs
          Refresh an HTTP content pin or resolve a Git ref again after review. Converted imports require init into a fresh project to change sources
      --input-header <[ORIGIN] NAME: VALUE>
          Header for a URL typed on the command line; for manifest URLs use [https://api.example.com] Name: value to restrict it to that origin. Not Git authentication. Environment values are newline-separated. Prefer the environment for secrets [env: TUNGSTEN_INPUT_HEADERS]
      --json
          Print exactly one JSON document on stdout
      --no-external
          Never start the commands of `external` targets. Without it, an `external` target's command runs on `generate` (any mode), `check --ci`, `diff` and `report`, with your privileges and with whatever the manifest says; pass it (or set TUNGSTEN_NO_EXTERNAL=1) when the manifest is not trusted, for example on a pull request in CI. Such targets are reported as skipped (TG0807). Also disables `emitters` discovery, including descriptor probes of programs on PATH [env: TUNGSTEN_NO_EXTERNAL=]
  -h, --help
          Print help