diff --git a/.changeset/fancy-months-lie.md b/.changeset/fancy-months-lie.md new file mode 100644 index 00000000..a845151c --- /dev/null +++ b/.changeset/fancy-months-lie.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/apps/create-expert/bin/cli.ts b/apps/create-expert/bin/cli.ts index 0d0a12f6..01a3a5ad 100644 --- a/apps/create-expert/bin/cli.ts +++ b/apps/create-expert/bin/cli.ts @@ -6,6 +6,7 @@ import { startHandler } from "@perstack/tui" import { PROVIDER_ENV_MAP } from "@perstack/tui/provider-config" import { Command } from "commander" import TOML from "smol-toml" +import packageJson from "../package.json" with { type: "json" } const tomlPath = new URL("../perstack.toml", import.meta.url) const config = parseWithFriendlyError( @@ -14,8 +15,9 @@ const config = parseWithFriendlyError( ) new Command() - .name("create-expert") - .description("Create and modify Perstack expert definitions") + .name(packageJson.name) + .description(packageJson.description) + .version(packageJson.version) .argument("[query]", "Description of the expert to create or modify") .option("--continue", "Continue the most recent job with new query") .option("--continue-job ", "Continue the specified job with new query")