fix: align docs with cli and provider surfaces

This commit is contained in:
Peter Steinberger
2026-04-23 06:38:31 +01:00
parent d3a8480093
commit 87c85c507a
17 changed files with 138 additions and 17 deletions

View File

@@ -73,6 +73,7 @@ import {
} from "../web-search/runtime.js";
import { runCommandWithRuntime } from "./cli-utils.js";
import { createDefaultDeps } from "./deps.js";
import { removeCommandByName } from "./program/command-tree.js";
import { collectOption } from "./program/helpers.js";
type CapabilityTransport = "local" | "gateway";
@@ -1235,6 +1236,9 @@ function registerCapabilityListAndInspect(capability: Command) {
}
export function registerCapabilityCli(program: Command) {
removeCommandByName(program, "infer");
removeCommandByName(program, "capability");
const capability = program
.command("infer")
.alias("capability")