@steipete/summarize 0.26.1 → 0.28.0

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 (84) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/README.md +2 -0
  3. package/dist/esm/application/asset-execution.js +1 -4
  4. package/dist/esm/application/asset-execution.js.map +1 -1
  5. package/dist/esm/application/execution-input.js +1 -9
  6. package/dist/esm/application/execution-input.js.map +1 -1
  7. package/dist/esm/application/metrics.js +12 -9
  8. package/dist/esm/application/metrics.js.map +1 -1
  9. package/dist/esm/application/model-catalog.js +1 -1
  10. package/dist/esm/application/model-catalog.js.map +1 -1
  11. package/dist/esm/config/model.js +1 -1
  12. package/dist/esm/daemon/agent.js +1 -1
  13. package/dist/esm/daemon/models.js +9 -0
  14. package/dist/esm/daemon/models.js.map +1 -1
  15. package/dist/esm/llm/anthropic-catalog.js +26 -0
  16. package/dist/esm/llm/anthropic-catalog.js.map +1 -0
  17. package/dist/esm/llm/generate-text-stream.js +2 -2
  18. package/dist/esm/llm/generate-text-stream.js.map +1 -1
  19. package/dist/esm/llm/openai-catalog.js +5 -1
  20. package/dist/esm/llm/openai-catalog.js.map +1 -1
  21. package/dist/esm/llm/providers/anthropic.js +10 -3
  22. package/dist/esm/llm/providers/anthropic.js.map +1 -1
  23. package/dist/esm/llm/providers/openai/request-options.js +1 -1
  24. package/dist/esm/llm/providers/openai/request-options.js.map +1 -1
  25. package/dist/esm/llm/providers/shared.js +6 -1
  26. package/dist/esm/llm/providers/shared.js.map +1 -1
  27. package/dist/esm/localization/de.json +1 -1
  28. package/dist/esm/localization/en.json +1 -1
  29. package/dist/esm/localization/es.json +1 -1
  30. package/dist/esm/localization/fr.json +1 -1
  31. package/dist/esm/localization/it.json +1 -1
  32. package/dist/esm/localization/ja.json +1 -1
  33. package/dist/esm/localization/ko.json +1 -1
  34. package/dist/esm/localization/nl.json +1 -1
  35. package/dist/esm/localization/pl.json +1 -1
  36. package/dist/esm/localization/pt-BR.json +1 -1
  37. package/dist/esm/localization/ru.json +1 -1
  38. package/dist/esm/localization/tr.json +1 -1
  39. package/dist/esm/localization/zh-Hans.json +1 -1
  40. package/dist/esm/localization/zh-Hant.json +1 -1
  41. package/dist/esm/markitdown.js +1 -1
  42. package/dist/esm/model-auto-rules.js +8 -8
  43. package/dist/esm/model-auto.js +1 -1
  44. package/dist/esm/model-auto.js.map +1 -1
  45. package/dist/esm/model-spec.js +5 -1
  46. package/dist/esm/model-spec.js.map +1 -1
  47. package/dist/esm/pricing/litellm.js +16 -5
  48. package/dist/esm/pricing/litellm.js.map +1 -1
  49. package/dist/esm/run/cli-summarize-execution.js +13 -3
  50. package/dist/esm/run/cli-summarize-execution.js.map +1 -1
  51. package/dist/esm/run/flows/asset/media.js +4 -1
  52. package/dist/esm/run/flows/asset/media.js.map +1 -1
  53. package/dist/esm/run/flows/asset/output.js +8 -3
  54. package/dist/esm/run/flows/asset/output.js.map +1 -1
  55. package/dist/esm/run/flows/asset/summary.js +2 -0
  56. package/dist/esm/run/flows/asset/summary.js.map +1 -1
  57. package/dist/esm/run/flows/url/markdown.js +2 -2
  58. package/dist/esm/run/help.js +3 -3
  59. package/dist/esm/run/help.js.map +1 -1
  60. package/dist/esm/speaker-identification/settings.js +1 -1
  61. package/dist/esm/speaker-identification/settings.js.map +1 -1
  62. package/dist/esm/version.js +1 -1
  63. package/dist/types/application/model-catalog.d.ts +1 -1
  64. package/dist/types/config/types.d.ts +1 -1
  65. package/dist/types/llm/anthropic-catalog.d.ts +2 -0
  66. package/dist/types/llm/openai-catalog.d.ts +36 -0
  67. package/dist/types/llm/providers/anthropic.d.ts +2 -0
  68. package/dist/types/locale.d.ts +2 -4
  69. package/dist/types/pricing/litellm.d.ts +1 -1
  70. package/dist/types/run/cli-summarize-execution.d.ts +1 -1
  71. package/dist/types/run/flows/asset/output.d.ts +2 -2
  72. package/dist/types/run/flows/asset/summary.d.ts +21 -0
  73. package/dist/types/run/flows/asset/types.d.ts +2 -1
  74. package/dist/types/speaker-identification/settings.d.ts +1 -1
  75. package/dist/types/version.d.ts +1 -1
  76. package/docs/cli.md +7 -5
  77. package/docs/commands/summarize.md +6 -6
  78. package/docs/config.md +8 -8
  79. package/docs/extract-only.md +5 -2
  80. package/docs/llm.md +32 -8
  81. package/docs/localization.md +2 -0
  82. package/docs/model-auto.md +3 -3
  83. package/docs/openai.md +11 -27
  84. package/package.json +8 -8
package/docs/config.md CHANGED
@@ -235,7 +235,7 @@ Define reusable names and context for diarized YouTube transcripts:
235
235
  "speakers": {
236
236
  "defaultProfile": "modern-wisdom",
237
237
  "autoIdentify": true,
238
- "model": "openai/gpt-5.5",
238
+ "model": "openai/gpt-6.2-sol",
239
239
  "minimumConfidence": 0.85,
240
240
  "profiles": {
241
241
  "modern-wisdom": {
@@ -288,7 +288,7 @@ Define presets you can select via `--model <preset>`:
288
288
  ```json
289
289
  {
290
290
  "models": {
291
- "small": { "id": "openai/gpt-5-mini" },
291
+ "small": { "id": "openai/gpt-6-luna" },
292
292
  "or-free": {
293
293
  "rules": [
294
294
  {
@@ -307,7 +307,7 @@ Notes:
307
307
 
308
308
  - `auto` is reserved and can’t be defined as a preset.
309
309
  - `free` is built-in (OpenRouter `:free` candidates). Override it by defining `models.free` in your config, or regenerate it via `summarize refresh-free`.
310
- - `gpt-fast` and `fast` remain compatibility aliases for OpenAI GPT-5.5 Fast mode. Prefer `model: "openai/gpt-5.5"` plus `openai.serviceTier` / `openai.thinking`. `codex-fast` is the explicit Codex CLI fast preset.
310
+ - `gpt-fast` and `fast` remain compatibility aliases for OpenAI GPT-6.2 Sol Fast mode. Prefer `model: "openai/gpt-6.2-sol"` plus `openai.serviceTier` / `openai.thinking`. `codex-fast` is the explicit Codex CLI fast preset.
311
311
 
312
312
  OpenAI request options can be set globally:
313
313
 
@@ -369,7 +369,7 @@ For auto selection with rules:
369
369
  "bands": [
370
370
  {
371
371
  "token": { "max": 8000 },
372
- "candidates": ["openai/gpt-5-mini"]
372
+ "candidates": ["openai/gpt-6-luna"]
373
373
  },
374
374
  {
375
375
  "candidates": ["xai/grok-4-fast-non-reasoning"]
@@ -377,7 +377,7 @@ For auto selection with rules:
377
377
  ]
378
378
  },
379
379
  {
380
- "candidates": ["openai/gpt-5-mini", "openrouter/openai/gpt-5-mini"]
380
+ "candidates": ["openai/gpt-6-luna", "openrouter/openai/gpt-6-luna"]
381
381
  }
382
382
  ]
383
383
  },
@@ -426,12 +426,12 @@ Examples:
426
426
  "onlyWhenNoApiKeys": true,
427
427
  "order": ["claude", "gemini", "codex", "agent", "openclaw", "opencode", "copilot"]
428
428
  },
429
- "codex": { "model": "gpt-5.5" },
429
+ "codex": {},
430
430
  "claude": { "binary": "/usr/local/bin/claude", "extraArgs": ["--verbose"] },
431
431
  "agent": { "binary": "/usr/local/bin/agent", "model": "gpt-5.2" },
432
432
  "openclaw": { "binary": "/usr/local/bin/openclaw", "model": "main" },
433
- "opencode": { "binary": "/usr/local/bin/opencode", "model": "openai/gpt-5.4" },
434
- "copilot": { "binary": "/usr/local/bin/copilot", "model": "gpt-5.2" },
433
+ "opencode": { "binary": "/usr/local/bin/opencode" },
434
+ "copilot": { "binary": "/usr/local/bin/copilot" },
435
435
  "agy": { "binary": "/usr/local/bin/agy", "model": "gemini-3.8-flash-high" },
436
436
  "pi": { "binary": "/usr/local/bin/pi" },
437
437
  "devin": { "binary": "/usr/local/bin/devin" },
@@ -15,8 +15,9 @@ Deprecated alias: `--extract-only`.
15
15
  ## Notes
16
16
 
17
17
  - No summarization LLM call happens in this mode.
18
- - Supported inputs are URLs, YouTube/direct media, Loom share/embed recordings, local audio/video, and local PDF files (`-` stdin is not supported with `--extract`).
19
- - Extraction can still use configured remote transcription, OCR, or Markdown providers for media/PDF inputs. For sensitive files, use local transcription/provider settings for media and `--preprocess off` when you need to block PDF/Markdown preprocessing.
18
+ - Supported inputs are URLs, YouTube/direct media, Loom share/embed recordings, local files, and `-` stdin.
19
+ - Local files and stdin use the same extraction as asset URLs: text-based files (plain text, Markdown, JSON, YAML, …) print unchanged, audio/video is transcribed, and PDF and Office documents (DOCX, PPTX, XLSX, …) are converted to Markdown with `uvx markitdown`. Images have no extractable text and fail with an error. Stdin is sniffed for its file type, so `cat report.pdf | summarize - --extract` converts the PDF.
20
+ - Extraction can still use configured remote transcription, OCR, or Markdown providers for media/document inputs. For sensitive files, use local transcription/provider settings for media and `--preprocess off` when you need to block PDF/document Markdown preprocessing.
20
21
  - No extraction cap is applied. Use `--max-extract-characters <count>` to cap output if needed.
21
22
  - `--format md` may still convert HTML to Markdown (depending on `--markdown-mode` and available tools).
22
23
  - `--length` is intended for summarization guidance; extraction prints full content.
@@ -39,3 +40,5 @@ Daemon note:
39
40
  - `/v1/summarize` supports `format: "markdown"` + `markdownMode` for extract-only output (use `extractOnly: true`).
40
41
 
41
42
  Local audio/video extraction also honors `--json`: the transcript is in `.extracted.content`, with null `llm` and `summary` fields. Verbose completion output names the actual transcriber.
43
+
44
+ Local PDF extraction retains its existing JSON input shape (`kind: "asset-url"`, with the file path in `url`) for compatibility. Other local documents report `kind: "file"` and `filePath`; piped input reports `kind: "stdin"` without a temporary file path. Character limits also apply to local documents, stdin, and direct media transcripts.
package/docs/llm.md CHANGED
@@ -18,6 +18,12 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
18
18
  - Default model: `auto`
19
19
  - Override with `SUMMARIZE_MODEL`, config file (`model`), or `--model`.
20
20
 
21
+ Anthropic defaults use Claude Sonnet 5.5. Its requests omit unsupported sampling controls and use `between_tools` thinking when no reasoning effort is requested, preserving summaries without up-front thinking. Explicit model selections remain unchanged.
22
+
23
+ Current Claude models share a 1M context window and 128K output ceiling. Fable 5.2 and Opus 5.5 always use adaptive thinking (`--thinking none` is rejected); Sonnet 5.5 uses `between_tools` without explicit reasoning, and Haiku 5.5 can disable thinking. All four support low, medium, high, xhigh, and max effort. Their standard input/output prices per million tokens are $8/$40, $4/$20, $2/$10, and $0.10/$0.50 respectively. Haiku prompts over 100,000 tokens cost $0.50/$2.50. See [Claude models](https://platform.claude.com/docs/en/models/overview).
24
+
25
+ The model picker omits retired Claude models, including Sonnet 4.5 (retired November 30, 2026). Older models still served by the provider remain selectable; explicit configs keep their original IDs. See [Claude deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations).
26
+
21
27
  ## Env
22
28
 
23
29
  - `.env` (optional): when running the CLI, `summarize` also reads `.env` in the current working directory and merges it into the environment (real env vars win).
@@ -46,15 +52,15 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
46
52
 
47
53
  - `--model <model>`
48
54
  - Examples:
49
- - `cli/codex/gpt-5.5`
50
- - `openai/gpt-5.5`
55
+ - `cli/codex`
56
+ - `openai/gpt-6.2-sol`
51
57
  - `codex-fast` (explicit Codex CLI GPT Fast preset)
52
58
  - `cli/claude/sonnet`
53
59
  - `cli/gemini/flash`
54
60
  - `cli/agent/auto`
55
61
  - `cli/openclaw/main`
56
- - `cli/opencode/openai/gpt-5.4`
57
- - `cli/copilot/gpt-5.2`
62
+ - `cli/opencode`
63
+ - `cli/copilot`
58
64
  - `cli/agy` / `cli/agy/gemini-3.8-flash-high`
59
65
  - `cli/pi/openai/gpt-5.4`
60
66
  - `cli/devin/swe-2-max`
@@ -63,8 +69,8 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
63
69
  - `openai/gpt-5.4-mini`
64
70
  - `openai/gpt-5.4-nano`
65
71
  - `google/gemini-3-flash`
66
- - `openai/gpt-5-mini`
67
- - `openai/gpt-5-nano`
72
+ - `openai/gpt-6-luna`
73
+ - `openai/gpt-6.1-terra`
68
74
  - `nvidia/z-ai/glm5`
69
75
  - `minimax/MiniMax-M3`
70
76
  - `zai/glm-4.7`
@@ -72,7 +78,10 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
72
78
  - `ollama/llama3.1:8b`
73
79
  - `xai/grok-4-fast-non-reasoning`
74
80
  - `google/gemini-2.0-flash`
75
- - `anthropic/claude-sonnet-4-5`
81
+ - `anthropic/claude-sonnet-5-5`
82
+ - `anthropic/claude-haiku-5-5`
83
+ - `anthropic/claude-opus-5-5`
84
+ - `anthropic/claude-fable-5-2`
76
85
  - `openrouter/meta-llama/llama-3.3-70b-instruct:free` (force OpenRouter)
77
86
  - `--cli [provider]`
78
87
  - Examples: `--cli claude`, `--cli Gemini`, `--cli codex`, `--cli agent`, `--cli openclaw`, `--cli opencode`, `--cli copilot`, `--cli agy`, `--cli pi`, `--cli devin`, `--cli grok` (equivalent to `--model cli/<provider>`); `--cli` alone uses auto selection with CLI enabled.
@@ -155,6 +164,21 @@ summarize https://example.com --model openai/meta-llama/Llama-3.3-70B-Instruct-T
155
164
  Custom hosts use chat completions by default. The model id after `openai/` is passed through
156
165
  verbatim.
157
166
 
167
+ Local OpenAI-compatible servers work the same way. For example,
168
+ [Rapid-MLX](https://github.com/raullenchai/Rapid-MLX) serves MLX models on Apple Silicon at
169
+ `http://localhost:8000/v1`. By default it does not check the key, but `OPENAI_API_KEY` must still
170
+ be set:
171
+
172
+ ```bash
173
+ rapid-mlx serve qwen3.5-4b-4bit --port 8000 # in another terminal
174
+ export OPENAI_BASE_URL=http://localhost:8000/v1
175
+ export OPENAI_API_KEY=not-needed
176
+ summarize https://example.com --model openai/default
177
+ ```
178
+
179
+ `openai/default` uses the model the server has loaded. You can also pass a model id from
180
+ `GET /v1/models`, such as `openai/mlx-community/Qwen3.5-4B-MLX-4bit`.
181
+
158
182
  ## Ollama
159
183
 
160
184
  Use `--model ollama/<model>` (e.g. `ollama/qwen3:14b`, `ollama/gemma3:12b`) to talk to a local
@@ -170,5 +194,5 @@ for full setup, model recommendations, and limitations.
170
194
 
171
195
  - For PDF inputs, `--preprocess auto` will send the PDF directly to Anthropic/OpenAI/Gemini when a fixed model supports documents; otherwise we fall back to markitdown.
172
196
  - `--preprocess always` forces markitdown (no direct attachments).
173
- - When markitdown returns only page headers for an image-only PDF, summarize can retry with OpenAI vision OCR if `OPENAI_API_KEY` is available. The OCR model defaults to `gpt-4o-mini`; set `MARKITDOWN_OCR_MODEL` to override it, or `MARKITDOWN_OCR_DPI` to tune rendered page size. This sends rendered PDF pages to the OpenAI API and may incur per-page vision costs.
197
+ - When markitdown returns only page headers for an image-only PDF, summarize can retry with OpenAI vision OCR if `OPENAI_API_KEY` is available. The OCR model defaults to `gpt-6-luna`; set `MARKITDOWN_OCR_MODEL` to override it, or `MARKITDOWN_OCR_DPI` to tune rendered page size. This sends rendered PDF pages to the OpenAI API and may incur per-page vision costs.
174
198
  - Streaming is disabled for document attachments.
@@ -69,6 +69,8 @@ Keep placeholder names and types consistent. Preserve exact plural cases such as
69
69
 
70
70
  Use ICU number/date arguments or `Intl` formatting at the rendering boundary. Keep numbers numeric in messages sent between processes. CLI emphasis uses the reserved `<uiLabel>`, `<uiDetail>`, and `<uiValue>` tags; these style complete messages without interpreting interpolated data as markup.
71
71
 
72
+ For ICU measure names, use skeletons such as `::measure-unit/duration-second unit-width-narrow .0`. The `unit/second` form takes a JavaScript unit name; `unit/duration-second` is invalid and fails when the message renders.
73
+
72
74
  Use typed helpers (`cliMessage`, `sharedMessage`, or extension `message`) for descriptors. CLI `CliError` and extension `LocalizedError` retain owned error descriptors through catches. Nested owned errors stay structured until the final UI renders them; opaque provider or operating-system details stay literal. Daemon and background events carry optional localization descriptors alongside compatibility text. Validate incoming descriptors with `readLocalizedMessage` before rendering.
73
75
 
74
76
  For extension DOM text, use `setText`, `setLocalizedAttribute`, `LocalizedText`, or `data-i18n` bindings. Attribute bindings include titles, placeholders, accessible labels, and visible `value`/`label` attributes. Use `localizedHtml` when an existing template needs a localized text node; it escapes text and values. Source and user content belongs in the literal-content path, with `data-locale-ignore` where needed. Locale changes must not rewrite that content.
@@ -26,7 +26,7 @@ This is also the built-in default when you don’t specify a model.
26
26
 
27
27
  Model ids:
28
28
 
29
- - Native: `<provider>/<model>` (e.g. `openai/gpt-5-mini`, `google/gemini-3-flash`)
29
+ - Native: `<provider>/<model>` (e.g. `openai/gpt-6-luna`, `google/gemini-3-flash`)
30
30
  - Forced OpenRouter: `openrouter/<author>/<slug>` (e.g. `openrouter/meta-llama/llama-3.3-70b-instruct:free`)
31
31
 
32
32
  Behavior:
@@ -79,7 +79,7 @@ Example:
79
79
  "bands": [
80
80
  {
81
81
  "token": { "max": 8000 },
82
- "candidates": ["openai/gpt-5-mini"]
82
+ "candidates": ["openai/gpt-6-luna"]
83
83
  },
84
84
  {
85
85
  "candidates": ["xai/grok-4-fast-non-reasoning"]
@@ -87,7 +87,7 @@ Example:
87
87
  ]
88
88
  },
89
89
  {
90
- "candidates": ["openai/gpt-5-mini", "openrouter/openai/gpt-5-mini"]
90
+ "candidates": ["openai/gpt-6-luna", "openrouter/openai/gpt-6-luna"]
91
91
  }
92
92
  ]
93
93
  },
package/docs/openai.md CHANGED
@@ -12,42 +12,26 @@ Use OpenAI directly by choosing an `openai/...` model id.
12
12
 
13
13
  For the full model/provider matrix, see `docs/llm.md`.
14
14
 
15
- ## GPT-6
15
+ ## Current models
16
16
 
17
- Use the documented model ids: `openai/gpt-6-astra`, `openai/gpt-6-sol`, `openai/gpt-6-luna`, or `openai/gpt-6.1-sol`.
18
- Summarize uses the Responses API by default for direct OpenAI text and image requests, including streaming, and for PDF inputs. `OPENAI_USE_CHAT_COMPLETIONS=1` still selects Chat Completions for text and images.
19
- Reasoning requests omit `temperature`, which GPT-6 rejects. GPT-6 Sol and Luna preserve temperature when explicitly using `--thinking none`; Astra and GPT-6.1 Sol require reasoning.
17
+ As verified against the official catalog and Models API on December 5, 2026, the latest general-purpose models are GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra, and GPT-6 Luna. Auto summaries and direct browser requests use `openai/gpt-6-luna` for the OpenAI budget slot; `fast` and `gpt-fast` use `openai/gpt-6.2-sol` with medium reasoning and the fast service tier.
20
18
 
21
19
  ```sh
22
- summarize https://summarize.sh/ --model openai/gpt-6-astra --thinking medium --fast
23
- summarize https://summarize.sh/ --model openai/gpt-6-sol --thinking medium
24
- summarize https://summarize.sh/ --model openai/gpt-6-luna --thinking low
25
- summarize https://summarize.sh/ --model openai/gpt-6.1-sol --thinking max
20
+ summarize URL --model openai/gpt-6-luna --thinking low
21
+ summarize URL --model openai/gpt-6.1-terra --thinking medium
22
+ summarize URL --model openai/gpt-6.2-sol --thinking medium --fast
23
+ summarize URL --model openai/gpt-6.2-astra --thinking max
26
24
  ```
27
25
 
28
- These explicit model ids do not change the default model or existing presets.
29
- The model picker and built-in pricing catalog include all four models. Standard input/output
30
- prices per million tokens are $10/$50 for Astra, $2/$10 for Sol and GPT-6.1 Sol, and $0.10/$0.50 for Luna.
31
- Cost estimates use these standard rates; they do not include cache discounts, cache writes,
32
- fast/flex service tiers, or long-context premiums. See [OpenAI pricing](https://developers.openai.com/api/docs/pricing).
33
- All four GPT-6 models support `low`, `medium`, `high`, `xhigh`, and `max`. Summarize accepts `max` only for these documented model ids.
34
- An unsupported `--thinking none` request for Astra or GPT-6.1 Sol fails locally before sending an API request.
35
- See OpenAI's [GPT-6 guide](https://developers.openai.com/api/docs/guides/latest-model) and model pages for [Astra](https://developers.openai.com/api/docs/models/gpt-6-astra), [Sol](https://developers.openai.com/api/docs/models/gpt-6-sol), [Luna](https://developers.openai.com/api/docs/models/gpt-6-luna), and [GPT-6.1 Sol](https://developers.openai.com/api/docs/models/gpt-6.1-sol).
26
+ All four accept text and images and support 1,050,000 context tokens, at most 922,000 input tokens, and 128,000 output tokens. Their standard input/output prices per million tokens are $0.10/$0.50 (Luna), $1/$5 (Terra), $2/$10 (Sol), and $8/$40 (Astra). Cost estimates exclude caching, service-tier adjustments, and long-context premiums. See [OpenAI pricing](https://developers.openai.com/api/docs/pricing).
36
27
 
37
- ## Fast mode
28
+ All cataloged GPT-6 models support `low`, `medium`, `high`, `xhigh`, and `max`. Luna, GPT-6 Sol, and GPT-6.1 Terra also support `none`. Astra, GPT-6.1 Sol, and both GPT-6.2 models require reasoning; unsupported `none` fails locally before a request. Summarize omits sampling controls when reasoning is enabled.
38
29
 
39
- Fast mode is a service tier, not a model id. Prefer flags:
30
+ Direct OpenAI requests use Responses, including browser tool calls. `OPENAI_USE_CHAT_COMPLETIONS=1` still selects Chat Completions for CLI text/image summaries. Older served models, including GPT-6 and GPT-6.1 Sol, remain selectable. GPT-5, mini, nano, pro, o3, and o3-pro retire December 11, 2026; GPT-4o and GPT-4.1 families retire January 14, 2027. Explicit settings are not silently rewritten. See the official [catalog](https://developers.openai.com/api/docs/models) and [deprecations](https://developers.openai.com/api/docs/deprecations).
40
31
 
41
- ```sh
42
- summarize URL --model openai/gpt-5.5 --fast --thinking medium
43
- summarize URL --model openai/gpt-5.4 --service-tier fast --thinking low
44
- ```
45
-
46
- Compatibility aliases:
32
+ ## Fast mode
47
33
 
48
- - `--model gpt-fast` / `--model fast`: `openai/gpt-5.5` with fast service tier and medium thinking.
49
- - `--model openai/gpt-5.5-fast` or `--model openai/gpt-5.4-mini-fast`: strip the `-fast` suffix for the API model id and use fast service tier.
50
- - `--model codex-fast`: explicit Codex CLI fast preset.
34
+ Fast mode is a service tier. `--fast` and `--service-tier fast` request it on the selected model. The `fast` / `gpt-fast` presets select GPT-6.2 Sol; the explicit `codex-fast` preset uses the installed Codex CLI's supported default. A `-fast` suffix on cataloged GPT-6 IDs or older GPT-5.4/5.5 IDs selects the original model and fast tier, so existing explicit aliases retain their targets.
51
35
 
52
36
  ## Env
53
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steipete/summarize",
3
- "version": "0.26.1",
3
+ "version": "0.28.0",
4
4
  "description": "Link → clean text → summary.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,8 +37,8 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "@earendil-works/pi-ai": "^1.5.0",
41
- "@steipete/summarize-core": "0.26.1",
40
+ "@earendil-works/pi-ai": "^1.5.2",
41
+ "@steipete/summarize-core": "0.28.0",
42
42
  "bpe-lite": "^0.5.2",
43
43
  "commander": "^15.1.0",
44
44
  "file-type": "^22.3.0",
@@ -47,17 +47,17 @@
47
47
  "mime": "^4.1.2",
48
48
  "osc-progress": "^0.3.4",
49
49
  "tokentally": "^0.1.7",
50
- "undici": "8.12.4"
50
+ "undici": "8.13.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^24.19.2",
54
54
  "@types/sanitize-html": "^2.16.2",
55
55
  "@vitest/coverage-v8": "^5.1.0",
56
56
  "happy-dom": "^21.0.4",
57
- "oxc-parser": "^0.157.0",
58
- "oxfmt": "0.77.0",
59
- "oxlint": "^1.92.0",
60
- "oxlint-tsgolint": "^7.0.2006",
57
+ "oxc-parser": "^0.160.0",
58
+ "oxfmt": "0.80.0",
59
+ "oxlint": "^1.93.0",
60
+ "oxlint-tsgolint": "^7.0.2007",
61
61
  "typescript": "^7.0.2",
62
62
  "vitest": "^5.1.0"
63
63
  },