@promethean-os/autocommit
v0.1.0
Published
Watches your git repo and automatically stages + commits changes with LLM-generated messages.
Readme
@promethean-os/autocommit
Watches your git repo and automatically stages + commits changes with LLM-generated messages.
Defaults
- Endpoint:
OPENAI_BASE_URL(defaulthttp://localhost:11434/v1) - Model:
AUTOCOMMIT_MODEL(defaultllama3.1:8b) - Key:
OPENAI_API_KEY(optional for local Ollama)
Install & Run (workspace)
pnpm --filter @promethean-os/autocommit install
pnpm --filter @promethean-os/autocommit build
pnpm --filter @promethean-os/autocommit exec autocommit -- --dry-runCLI
autocommit --path . --debounce-ms 10000 --model llama3.1:8b --dry-runSafety
- Respects
.gitignoreplus--exclude. - Debounces to avoid noisy histories.
- Caps diff bytes to protect tokens & context.
- Falls back to deterministic messages when LLM unavailable.
