dotmd-cli 0.9.0 → 0.9.2

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.
package/README.md CHANGED
@@ -9,6 +9,7 @@ Index, query, validate, and lifecycle-manage any collection of `.md` files — p
9
9
  ```bash
10
10
  npm install -g dotmd-cli # global — use `dotmd` anywhere
11
11
  npm install -D dotmd-cli # project devDep — use via npm scripts
12
+ # requires Node.js >= 20
12
13
  ```
13
14
 
14
15
  ## Quick Start
@@ -214,7 +215,7 @@ dotmd query --status active --summarize # AI summaries in query results
214
215
  dotmd context --summarize # AI-enhanced briefing
215
216
  ```
216
217
 
217
- Uses local MLX model via `uv`. Override with `--model <name>` or the `summarizeDoc` hook.
218
+ Uses a local model by default. Override with `--model <name>` or the `summarizeDoc` hook.
218
219
 
219
220
  ### Export
220
221
 
package/bin/dotmd.mjs CHANGED
@@ -107,7 +107,7 @@ Filters:
107
107
  --json Output as JSON
108
108
  --summarize Add AI summaries to results
109
109
  --summarize-limit <n> Max docs to summarize (default: 5)
110
- --model <name> MLX model for AI summaries`,
110
+ --model <name> Model for AI summaries`,
111
111
 
112
112
  status: `dotmd status <file> <new-status> — transition document status
113
113
 
@@ -153,7 +153,7 @@ Generates a compact status briefing designed for AI/LLM consumption.
153
153
  Options:
154
154
  --json Output as JSON
155
155
  --summarize Add AI summaries for expanded docs
156
- --model <name> MLX model for AI summaries`,
156
+ --model <name> Model for AI summaries`,
157
157
 
158
158
  stats: `dotmd stats — doc health dashboard
159
159
 
@@ -269,10 +269,10 @@ Options:
269
269
 
270
270
  summary: `dotmd summary <file> — AI summary of a document
271
271
 
272
- Generates an AI-powered summary using a local MLX model via uv.
272
+ Generates an AI-powered summary using a local model.
273
273
 
274
274
  Options:
275
- --model <name> MLX model (default: mlx-community/Llama-3.2-3B-Instruct-4bit)
275
+ --model <name> Model to use (default: mlx-community/Llama-3.2-3B-Instruct-4bit)
276
276
  --max-tokens <n> Max tokens for generation (default: 200)
277
277
  --json Output as JSON`,
278
278
 
@@ -284,8 +284,8 @@ Without a file argument, shows all drifted docs.
284
284
  Options:
285
285
  --stat Summary only (files changed, insertions/deletions)
286
286
  --since <date> Override: diff since this date instead of frontmatter
287
- --summarize Generate AI summary using local MLX model
288
- --model <name> MLX model to use (default: mlx-community/Llama-3.2-3B-Instruct-4bit)`,
287
+ --summarize Generate AI summary using local model
288
+ --model <name> Model to use (default: mlx-community/Llama-3.2-3B-Instruct-4bit)`,
289
289
 
290
290
  lint: `dotmd lint [--fix] — check and auto-fix frontmatter issues
291
291
 
@@ -336,7 +336,7 @@ async function main() {
336
336
  return;
337
337
  }
338
338
 
339
- if (command === '--help' || command === '-h') {
339
+ if (command === 'help' || command === '--help' || command === '-h') {
340
340
  process.stdout.write(`${HELP._main}\n`);
341
341
  return;
342
342
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotmd-cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "CLI for managing markdown documents with YAML frontmatter — index, query, validate, graph, export, Notion sync, AI summaries.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,10 +38,12 @@
38
38
  },
39
39
  "homepage": "https://github.com/reowens/dotmd#readme",
40
40
  "scripts": {
41
- "test": "node --test test/*.test.mjs"
41
+ "test": "node --test test/*.test.mjs",
42
+ "preversion": "npm test",
43
+ "postversion": "git push origin main --tags && gh release create v$npm_package_version --generate-notes --title v$npm_package_version"
42
44
  },
43
45
  "engines": {
44
- "node": ">=18"
46
+ "node": ">=20"
45
47
  },
46
48
  "dependencies": {
47
49
  "@notionhq/client": "^5.13.0",