@ishaan812/devlog 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +35 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,6 +34,7 @@ You ship code across 5 repos, 12 branches, and 3 teams. Monday morning standup h
34
34
  npm install -g @ishaan812/devlog # Install
35
35
  devlog onboard # Set up (works with free local Ollama)
36
36
  devlog ingest # Point it at your repos
37
+ devlog commit # Generate smart commit messages
37
38
  devlog worklog --days 7 # Get your week's work, organized by branch
38
39
  devlog console # Browse worklogs in an interactive TUI
39
40
  ```
@@ -63,6 +64,7 @@ DevLog is **local-first**. Run it with [Ollama](https://ollama.ai) and your data
63
64
  | Feature | Description |
64
65
  |---------|-------------|
65
66
  | **Smart Work Logs** | Auto-generated markdown summaries organized by branch, date, and repo — ready for standups, PRs, or performance reviews |
67
+ | **AI Commit Messages** | Generate contextual commit messages from your changes with interactive staging and commit workflow |
66
68
  | **Interactive Console** | Full-screen terminal UI to browse repos and navigate through your cached worklogs day-by-day |
67
69
  | **Multi-Repo Ingestion** | Ingest as many repos as you want into a single profile. See your full picture. |
68
70
  | **Multi-Branch Tracking** | Branch-aware ingestion remembers your selections per repo. Track `main`, `develop`, and every feature branch. |
@@ -227,6 +229,24 @@ devlog worklog --no-llm # Skip AI summaries
227
229
  devlog worklog --group-by date # Group by date instead of branch
228
230
  ```
229
231
 
232
+ ### `devlog commit`
233
+
234
+ Generate AI-powered commit messages from your changes.
235
+
236
+ ```bash
237
+ devlog commit # Analyze all changes (staged + unstaged)
238
+ devlog commit --staged-only # Only analyze staged changes
239
+ devlog commit --provider openai # Override LLM provider
240
+ devlog commit --model gpt-5.2 # Override model
241
+ ```
242
+
243
+ After generating a commit message, DevLog launches an interactive TUI that:
244
+ 1. Shows the generated message and asks for approval
245
+ 2. Optionally stages all changes with `git add .`
246
+ 3. Commits with the generated message
247
+
248
+ The command analyzes your git diff using AI to create meaningful, contextual commit messages. If you've run `devlog ingest`, it also uses your codebase summary for better context.
249
+
230
250
  ### `devlog console`
231
251
 
232
252
  Interactive terminal UI to browse repositories and worklogs.
@@ -353,6 +373,21 @@ DevLog stores all data in `~/.devlog/`:
353
373
 
354
374
  ## Tips & Tricks
355
375
 
376
+ ### AI-Powered Commit Messages
377
+
378
+ Never write a generic "fix stuff" commit message again:
379
+ ```bash
380
+ # Make your changes
381
+ git add . # Optional - devlog can stage for you
382
+ devlog commit
383
+
384
+ # Interactive flow:
385
+ # 1. Shows generated message
386
+ # 2. Asks to stage changes (if not staged)
387
+ # 3. Asks to commit
388
+ # Result: Professional commit message in seconds
389
+ ```
390
+
356
391
  ### Faster Ingestion
357
392
 
358
393
  Skip AI summaries for quick ingestion:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ishaan812/devlog",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "AI-powered development activity tracker and code intelligence tool. Local-first work logging for developers who juggle too many repos.",
5
5
  "bin": {
6
6
  "devlog": "./bin/devlog-wrapper.js"