# run without installing
npx aidescribe
# or install globally
npm i -g aidescribeGenerate a description:
# supported `jj` target arguments
aidescribe
aidescribe <REVSETS>
aidescribe -r @-
aidescribe -r abc123
aidescribe -rabc123Only inlined <REVSETS> and -r are forwarded to jj.
- Node.js
>=22 jjinstalled- Run inside a Jujutsu repository
Run the interactive setup once to connect your AI provider and save config:
aidescribe connectThis saves config to ~/.aidescribe.json. Currently OpenAI, Anthropic, and Mistral providers are supported.
View config:
aidescribe config
aidescribe config get provider
aidescribe config set variantCount=3aidescribe v0.0.4
Generate jj change descriptions with AI
Usage:
aidescribe [flags...]
aidescribe <command>
Commands:
config View or modify configuration settings
connect Interactive provider setup wizard
Flags:
--count <number> Generate multiple description variants for this run (default: 1)
-h, --help Show help
--locale <string> Override locale for this run (default: en)
--max-diff-chars <number> Max diff chars sent to AI for this run (default: 40000)
--max-length <number> Max generated title length for this run (default: 72, its a soft guidance for the
model, not a local hard cutoff)
--provider <string> Override provider for this run (supported: openai, anthropic, mistral)
-t, --type <string> Message format for this run (default: conventional, supports: conventional, plain)
--verbose Print the exact prompt payload sent to the AI model for this run
--version Show version
