@steipete/summarize 0.24.0 → 0.25.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 (87) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +2 -2
  3. package/completions/summarize.fish +1 -1
  4. package/dist/esm/application/cli-fallback-state.js +3 -1
  5. package/dist/esm/application/cli-fallback-state.js.map +1 -1
  6. package/dist/esm/application/environment.js +2 -0
  7. package/dist/esm/application/environment.js.map +1 -1
  8. package/dist/esm/application/model-selection.js +4 -0
  9. package/dist/esm/application/model-selection.js.map +1 -1
  10. package/dist/esm/daemon/env-snapshot.js +8 -0
  11. package/dist/esm/daemon/env-snapshot.js.map +1 -1
  12. package/dist/esm/daemon/models.js +4 -0
  13. package/dist/esm/daemon/models.js.map +1 -1
  14. package/dist/esm/engine/cli-model-id.js +3 -1
  15. package/dist/esm/engine/cli-model-id.js.map +1 -1
  16. package/dist/esm/llm/cli-exec.js +10 -4
  17. package/dist/esm/llm/cli-exec.js.map +1 -1
  18. package/dist/esm/llm/cli-provider-output/devin.js +61 -0
  19. package/dist/esm/llm/cli-provider-output/devin.js.map +1 -0
  20. package/dist/esm/llm/cli-provider-output/grok.js +94 -0
  21. package/dist/esm/llm/cli-provider-output/grok.js.map +1 -0
  22. package/dist/esm/llm/cli-provider-output.js +3 -1
  23. package/dist/esm/llm/cli-provider-output.js.map +1 -1
  24. package/dist/esm/llm/cli-runners/devin.js +272 -0
  25. package/dist/esm/llm/cli-runners/devin.js.map +1 -0
  26. package/dist/esm/llm/cli-runners/grok.js +160 -0
  27. package/dist/esm/llm/cli-runners/grok.js.map +1 -0
  28. package/dist/esm/llm/cli-runners/pi.js +4 -3
  29. package/dist/esm/llm/cli-runners/pi.js.map +1 -1
  30. package/dist/esm/llm/cli.js +10 -0
  31. package/dist/esm/llm/cli.js.map +1 -1
  32. package/dist/esm/llm/generate-text-shared.js +3 -4
  33. package/dist/esm/llm/generate-text-shared.js.map +1 -1
  34. package/dist/esm/llm/openai-catalog.js +8 -3
  35. package/dist/esm/llm/openai-catalog.js.map +1 -1
  36. package/dist/esm/llm/provider-registry.js +16 -0
  37. package/dist/esm/llm/provider-registry.js.map +1 -1
  38. package/dist/esm/llm/providers/openai/request-options.js +11 -6
  39. package/dist/esm/llm/providers/openai/request-options.js.map +1 -1
  40. package/dist/esm/localization/de.json +3 -3
  41. package/dist/esm/localization/en.json +3 -3
  42. package/dist/esm/localization/es.json +3 -3
  43. package/dist/esm/localization/fr.json +3 -3
  44. package/dist/esm/localization/it.json +3 -3
  45. package/dist/esm/localization/ja.json +3 -3
  46. package/dist/esm/localization/ko.json +3 -3
  47. package/dist/esm/localization/nl.json +3 -3
  48. package/dist/esm/localization/pl.json +3 -3
  49. package/dist/esm/localization/pt-BR.json +3 -3
  50. package/dist/esm/localization/ru.json +3 -3
  51. package/dist/esm/localization/tr.json +3 -3
  52. package/dist/esm/localization/zh-Hans.json +3 -3
  53. package/dist/esm/localization/zh-Hant.json +3 -3
  54. package/dist/esm/run/env.js +3 -1
  55. package/dist/esm/run/env.js.map +1 -1
  56. package/dist/esm/run/help.js +1 -1
  57. package/dist/esm/run/help.js.map +1 -1
  58. package/dist/esm/run/run-settings-parse.js +4 -0
  59. package/dist/esm/run/run-settings-parse.js.map +1 -1
  60. package/dist/esm/run/status-cli.js +2 -0
  61. package/dist/esm/run/status-cli.js.map +1 -1
  62. package/dist/esm/version.js +1 -1
  63. package/dist/types/daemon/agent-model.d.ts +1 -1
  64. package/dist/types/daemon/env-snapshot.d.ts +1 -1
  65. package/dist/types/daemon/models.d.ts +2 -0
  66. package/dist/types/engine/types.d.ts +1 -1
  67. package/dist/types/llm/cli-exec.d.ts +2 -1
  68. package/dist/types/llm/cli-provider-output/devin.d.ts +14 -0
  69. package/dist/types/llm/cli-provider-output/grok.d.ts +7 -0
  70. package/dist/types/llm/cli-provider-output.d.ts +3 -1
  71. package/dist/types/llm/cli-runners/devin.d.ts +2 -0
  72. package/dist/types/llm/cli-runners/grok.d.ts +2 -0
  73. package/dist/types/llm/openai-catalog.d.ts +34 -0
  74. package/dist/types/llm/provider-registry.d.ts +14 -0
  75. package/dist/types/llm/providers/openai/request-options.d.ts +1 -0
  76. package/dist/types/locale.d.ts +2 -2
  77. package/dist/types/run/flows/asset/summary-attempts.d.ts +1 -1
  78. package/dist/types/version.d.ts +1 -1
  79. package/docs/README.md +1 -1
  80. package/docs/cli.md +31 -6
  81. package/docs/commands/summarize.md +1 -1
  82. package/docs/config.md +9 -3
  83. package/docs/index.md +1 -1
  84. package/docs/llm.md +4 -2
  85. package/docs/openai.md +7 -6
  86. package/docs/releasing.md +3 -0
  87. package/package.json +9 -9
@@ -1,6 +1,7 @@
1
1
  import { type ModelRequestOptions } from "../../model-options.js";
2
2
  import type { OpenAiStructuredOutput } from "./types.js";
3
3
  export declare function isOpenAiGpt6ModelId(modelId: string): boolean;
4
+ export declare function openAiGpt6RequiresReasoning(modelId: string): boolean;
4
5
  export declare function validateOpenAiReasoningEffort(provider: string, modelId: string, options: ModelRequestOptions | undefined): void;
5
6
  export declare function isOpenAiResponsesTextModelId(modelId: string): boolean;
6
7
  export declare function buildOpenAiResponsesRequestOptions(requestOptions: ModelRequestOptions | undefined, structuredOutput?: OpenAiStructuredOutput): Record<string, unknown>;
@@ -239,7 +239,6 @@ declare const english: {
239
239
  "markdown.conversion.off.auto.llm.force.llm.readability.for.websites.converts.html.markdown.for.youtube.transcripts.llm.mode.formats.raw.transcripts.into.clean.markdown.with.headings.and.paragraphs": string;
240
240
  "llm.model.id.auto.name.cli.provider.model.xai.openai.nvidia.minimax.google.anthropic.zai.or.openrouter.author.slug.default.auto": string;
241
241
  "openai.service.tier.default.fast.priority.flex": string;
242
- "use.a.cli.provider.claude.gemini.codex.agent.openclaw.opencode.copilot.agy.pi.equivalent.to.model.cli.provider.if.omitted.use.auto.selection.with.cli.enabled": string;
243
242
  "print.extracted.content.and.exit.urls.media.and.local.pdfs.stdin.is.unsupported": string;
244
243
  "stream.llm.output.auto.tty.only.on.off.note.streaming.is.disabled.in.json.mode": string;
245
244
  "override.terminal.width.for.markdown.rendering.default.auto.detect.max.120": string;
@@ -443,9 +442,10 @@ declare const english: {
443
442
  "service.cliBuildMissing": string;
444
443
  "service.healthUnreachable": string;
445
444
  "error.githubModelsRetired": string;
445
+ "use.a.cli.provider.claude.gemini.codex.agent.openclaw.opencode.copilot.agy.pi.devin.grok.equivalent.to.model.cli.provider.if.omitted.use.auto.selection.with.cli.enabled": string;
446
446
  };
447
447
  export type CliMessageKey = keyof typeof english;
448
- export declare function createCliTranslator(locale: CliLocale, styles?: MessageStyles): (key: "add.speaker.labels.to.youtube.or.direct.audio.video.auto.elevenlabs.then.openai.elevenlabs.openai" | "alias.for.slides.dir" | "alias.for.verbose" | "alias.for.verbose.and.defaults.metrics.to.detailed" | "base.output.dir.for.slides.default.slides" | "bypass.slide.cache.force.re.extract" | "bypass.summary.cache.llm.media.transcript.caches.stay.enabled" | "cache.cleared" | "cache.entries" | "cache.is.empty" | "cache.path" | "cache.size" | "cache.stats.must.be.used.alone" | "clear.cache.must.be.used.alone" | "cli.interface.language.auto.en.or.tr.turkish.default.en.also.summarize.locale" | "commands" | "config.preset" | "configure.local.onnx.transcription.parakeet.canary" | "configures.local.onnx.transcription.by.printing.the.required.env.vars" | "daemon.auth" | "daemon.command" | "daemon.configMissing" | "daemon.configPath" | "daemon.containerReady" | "daemon.cwd" | "daemon.foregroundToken" | "daemon.health" | "daemon.installHint" | "daemon.manualAutostart" | "daemon.nativePath" | "daemon.nativeStatus" | "daemon.nativeUnavailable" | "daemon.notInstalled" | "daemon.ready" | "daemon.restarted" | "daemon.service" | "daemon.serviceMissing" | "daemon.starting" | "daemon.uninstalled" | "daemon.windowsDetected" | "daemon.windowsInstallHint" | "daemon.windowsManual" | "daemon.windowsNativeHint" | "daemon.windowsNoAutostart" | "daemon.windowsRestart" | "daemon.windowsUninstalled" | "delete.the.cache.database.and.exit" | "diarize.a.local.recording" | "disable.ansi.colors.in.output" | "disable.configured.slide.extraction.for.this.run" | "disable.configured.slide.ocr.for.this.run" | "disable.media.download.cache.yt.dlp" | "embedded.youtube.handling.auto.off.prefer.transcript.or.combine.article.transcript" | "env.vars" | "error.archiveUnsupported" | "error.assetPromptMissing" | "error.assetResourcesMissing" | "error.attachBinary" | "error.attachUnsupported" | "error.attachmentMissingBytes" | "error.binaryMissingBytes" | "error.birdEmpty" | "error.birdJson" | "error.birdPayload" | "error.cause" | "error.cliOrder" | "error.cliOrderProvider" | "error.configBlockComment" | "error.configField" | "error.configLineComment" | "error.configModelsObject" | "error.configObject" | "error.daemonAuth" | "error.daemonPort" | "error.daemonToken" | "error.daemonUnconfigured" | "error.diarizationInput" | "error.diarizationKey" | "error.documentMissingBytes" | "error.elevenlabsKey" | "error.emptyMedia" | "error.executionState" | "error.extensionDevOnly" | "error.extensionId" | "error.extractBinary" | "error.extractLocalFiles" | "error.extractMissingBytes" | "error.extractStdin" | "error.extractUnsupported" | "error.extractUrlRequired" | "error.fastServiceTierConflict" | "error.githubModelsRetired" | "error.invalidMaxAge" | "error.invalidMinParams" | "error.invalidRuns" | "error.invalidSmart" | "error.localeRequired" | "error.markdownConflict" | "error.markdownConverter" | "error.markdownConverterSetup" | "error.markdownFileMode" | "error.markdownFixedModel" | "error.markdownFormat" | "error.markdownInput" | "error.markdownKey" | "error.markdownModel" | "error.maxOutputTokens" | "error.mediaAccess" | "error.mediaTooLarge" | "error.missingHome" | "error.missingOverride" | "error.modelAndCli" | "error.modelAttachment" | "error.modelIdMissing" | "error.modelProvider" | "error.namedModelInvalid" | "error.namedModelUnknown" | "error.noExtractableText" | "error.noFreeModels" | "error.noModel" | "error.noRecentFreeModels" | "error.noTwitterCli" | "error.noWorkingFreeModels" | "error.openaiDiarizationKey" | "error.openrouterKey" | "error.openrouterModels" | "error.optionMinimum" | "error.optionRange" | "error.pdfTooLarge" | "error.preprocessFailed" | "error.preprocessMissing" | "error.preprocessMissingBytes" | "error.preprocessMissingContent" | "error.promptEmpty" | "error.promptRead" | "error.remoteCliAttachment" | "error.renderMode" | "error.retries" | "error.sequence" | "error.slidesFailedDefault" | "error.stdinChunkType" | "error.stdinEmpty" | "error.stdinStreamMissing" | "error.stdinTooLarge" | "error.textTooLarge" | "error.timeout" | "error.transcriber" | "error.transcriberCommand" | "error.transcriberModel" | "error.transcriptionChecks" | "error.transcriptionFailed" | "error.transcriptionSetup" | "error.tweetClient" | "error.tweetRead" | "error.unknown" | "error.unsupportedOption" | "error.withTwitterTip" | "error.withUvxTip" | "error.xurlApi" | "error.xurlEmpty" | "error.xurlInput" | "error.xurlJson" | "error.xurlPayload" | "error.xurlTopLevel" | "examples" | "extract.slide.screenshots.from.a.youtube.url.direct.video.url.or.local.video.file" | "extract.slides.for.youtube.direct.video.urls.or.local.video.files.and.render.them.inline.inside.the.summary.narrative.when.supported.combine.with.extract.to.interleave.slides.in.the.full.transcript" | "extracted.markdown.prefers.firecrawl.when.configured" | "extracted.markdown.via.llm" | "extracted.plain.text" | "fetching.website" | "finish.cached" | "finish.calls" | "finish.compactTranscript" | "finish.extracted" | "finish.inputLength" | "finish.lengths" | "finish.services" | "finish.summary" | "finish.transcriptLength" | "finish.unknown" | "firecrawl.usage.off.auto.fallback.always.try.firecrawl.first" | "footer.markdown" | "footer.outcome" | "footer.slides" | "footer.transcript" | "footer.video" | "force.llm.summary.even.when.extracted.content.is.shorter.than.the.requested.length" | "full.transcript.inline.slides" | "hard.cap.for.llm.output.tokens.e.g.2000.2k.overrides.provider.defaults" | "help.annotation.choices" | "help.annotation.default" | "help.annotation.description" | "help.annotation.env" | "help.annotation.preset" | "help.chrome.native.host.macos.and.linux.windows.executable.packaging.pending" | "help.custom.ports.must.also.be.set.in.extension.options.runtime.daemon.port" | "help.dev.install.service.that.runs.src.cli.ts.via.node.repo.dev.mode" | "help.display" | "help.environment" | "help.examples" | "help.extension.id.dev.only.unpacked.chrome.extension.id.requires.dev" | "help.heading.arguments" | "help.heading.commands" | "help.heading.globalOptions" | "help.heading.options" | "help.heading.usage" | "help.install.install.upgrade.daemon.autostart.config.and.the.chrome.native.messaging.host" | "help.intro" | "help.json.output.structured.json" | "help.linux.systemd.user.service" | "help.macos.launchagent.launchd" | "help.model.name.parakeet.default.or.canary" | "help.option.deprecated.alias.for.extract" | "help.option.deprecated.alias.for.markdown.mode.use.extract.format.md.markdown.mode" | "help.port.n.default.8787" | "help.probe.probe.supported.model.list.endpoints.without.running.inference" | "help.restart.restart.the.daemon.autostart.service" | "help.run.run.the.daemon.in.the.foreground.used.by.autostart" | "help.status.check.daemon.service.native.host.and.daemon.health" | "help.support" | "help.theme" | "help.token.token.required.for.install" | "help.transcriberOrder" | "help.uninstall.remove.daemon.autostart.and.the.chrome.native.messaging.host" | "help.usage.summarize.daemon.command.options" | "help.usage.summarize.input.flags" | "help.usage.summarize.refresh.free.runs.2.smart.3.min.params.27b.max.age.days.180.set.default.verbose" | "help.usage.summarize.status.json.probe.verbose" | "help.usage.summarize.transcriber.setup.model.parakeet.canary.theme.name" | "help.verbose.include.executable.paths.endpoint.hosts.config.sources.and.preset.candidates" | "help.windows.scheduled.task" | "hint" | "identify.the.speaker.active.at.a.timestamp.repeat.for.multiple.speakers" | "include.timestamps.in.transcripts.when.available" | "inline.render.mode.auto.kitty.iterm.none" | "input.summary" | "install.ffmpeg.yt.dlp.for.slides.and.tesseract.for.slides.ocr" | "install.sherpa.onnx.from.upstream.binaries.or.build.homebrew.may.not.have.a.formula" | "keep.generic.diarization.labels.even.when.speaker.identification.is.configured" | "keep.raw.text.markdown.output.no.ansi.osc.rendering" | "llm.model.id.auto.name.cli.provider.model.xai.openai.nvidia.minimax.google.anthropic.zai.or.openrouter.author.slug.default.auto" | "llm.retry.attempts.after.timeouts.or.transient.api.failures.default.1" | "local.transcription.stage.auto.default.whisper.parakeet.canary.groq.still.runs.first.when.keyed" | "markdown.conversion.off.auto.llm.force.llm.readability.for.websites.converts.html.markdown.for.youtube.transcripts.llm.mode.formats.raw.transcripts.into.clean.markdown.with.headings.and.paragraphs" | "maximum.characters.to.print.in.extract.default.unlimited" | "maximum.slides.to.extract.default.6" | "metrics.cost" | "metrics.elapsed" | "metrics.output.off.on.detailed" | "metrics.tokens" | "minimum.seconds.between.slides.default.2" | "missing.providers.are.omitted.secrets.are.never.printed" | "model.auto" | "model.cli" | "model.codexFast" | "model.discovered" | "model.fast" | "model.free" | "next" | "notes" | "openai.reasoning.effort.none.low.medium.high.xhigh.aliases.off.min.mid" | "openai.service.tier.default.fast.priority.flex" | "options" | "output.json.payload.no.inline.rendering" | "output.language.auto.match.source.en.de.english.german.default.auto.configurable.in.summarize.config.json.via.output.language" | "output.structured.json.includes.prompt.metrics" | "override.terminal.width.for.markdown.rendering.default.auto.detect.max.120" | "override.the.summary.prompt.instruction.prefix.context.content.still.appended" | "persist.resolved.mappings.and.anchors.under.the.selected.speaker.profile" | "preprocess.inputs.for.model.compatibility.off.auto.fallback.always" | "presets" | "print.cache.stats.and.exit" | "print.detailed.progress.info.to.stderr" | "print.extracted.content.and.exit.urls.media.and.local.pdfs.stdin.is.unsupported" | "print.version.and.exit" | "progress.downloadVideo" | "progress.extractSlides" | "progress.extractionActive" | "progress.failedFallback" | "progress.fetchConnecting" | "progress.fetchStart" | "progress.fetchTransfer" | "progress.fetching" | "progress.fetchingPage" | "progress.firecrawlDone" | "progress.firecrawlStart" | "progress.input" | "progress.inputLabel" | "progress.mediaDownload" | "progress.mediaDownloadLabel" | "progress.mediaStage" | "progress.noContentFallback" | "progress.primaryFallback" | "progress.providers" | "progress.received" | "progress.scraping" | "progress.slides" | "progress.slidesCached" | "progress.slidesDone" | "progress.slidesExtracting" | "progress.slidesQueued" | "progress.summarizeVideo" | "progress.summaryActive" | "progress.transcribed" | "progress.transcribing" | "progress.transcript" | "progress.transcriptHint" | "progress.transcriptMarkdown" | "progress.transcriptUnavailable" | "progress.transcription" | "progress.tweet.reading" | "progress.tweetExtract" | "progress.tweetResult" | "progress.urlExtracted" | "progress.urlSummary" | "progress.videoTranscript" | "prompt.must.not.be.empty" | "providers" | "read.the.prompt.override.from.a.file" | "refresh.begin" | "refresh.candidate" | "refresh.cooldown" | "refresh.dayLimit" | "refresh.failure" | "refresh.fetching" | "refresh.filteredOld" | "refresh.filteredSmall" | "refresh.free.model.candidates.into.summarize.config.json" | "refresh.minuteLimit" | "refresh.progress" | "refresh.refinementFailure" | "refresh.refining" | "refresh.results" | "refresh.selected" | "refresh.selectedHeading" | "refresh.skip" | "refresh.starting" | "refresh.success" | "refresh.wroteConfig" | "render.is.not.supported.with.json.output" | "render.requires.a.tty.stdout" | "resolve.diarization.labels.to.real.names.using.timestamp.anchors.and.openai.context" | "run.ocr.on.extracted.slides.requires.tesseract" | "run.summarize.help.for.full.options" | "scan.update.working.openrouter.free.models" | "scene.detection.threshold.for.slide.changes.0.1.1.0" | "service.cliBuildMissing" | "service.cliEntrypointMissing" | "service.commandError" | "service.devRepoRequired" | "service.healthUnreachable" | "service.launchDomain" | "service.launchInstalled" | "service.launchMissing" | "service.launchRemains" | "service.launchRestarted" | "service.launchTrashed" | "service.logs" | "service.repoRootMissing" | "service.systemdInstalled" | "service.systemdMissing" | "service.systemdRemoved" | "service.systemdRequired" | "service.systemdRestarted" | "service.taskInstalled" | "service.taskMissing" | "service.taskPath" | "service.taskRemoved" | "service.taskRestarted" | "service.unsupportedPlatform" | "service.usernameMissing" | "show.configured.and.usable.model.providers" | "show.local.onnx.setup.and.transcription.fallback.order" | "show.slide.image.paths.instead.of.rendering.inline.images" | "shows.the.effective.model.configured.presets.and.configured.or.usable.providers" | "slides" | "slides.are.disabled.enable.slides.ocr.or.check.arguments" | "slides.are.only.supported.for.youtube.direct.video.urls.or.local.video.files" | "slides.directory" | "slides.exportCommand" | "slides.extractedCount" | "slides.image" | "slides.imageUnavailable" | "slides.inlineUnsupported" | "slides.missingFile" | "slides.missingPath" | "slides.ocr.extraction" | "slides.only.mode.with.inline.thumbnails" | "slides.position" | "slides.rendered" | "source.youtubeViews" | "speaker.labelled.transcript" | "speaker.profile.from.summarize.config.json.implies.identify.speakers" | "status.compatibleApi" | "status.config" | "status.deepgram" | "status.model" | "status.provider" | "status.unknownOption" | "stream.llm.output.auto.tty.only.on.off.note.streaming.is.disabled.in.json.mode" | "summarize.clipboard.content" | "summarize.slides.requires.a.url.or.local.video.file" | "summarize.web.pages.and.youtube.links.uses.direct.provider.api.keys" | "summarizing" | "summary.inline.slides" | "summary.length.short.medium.long.xl.xxl.or.s.m.l.or.a.character.limit.like.20000.20k.default.long.configurable.via.summarize.config.json.output.length" | "support.alternate" | "timeout.for.content.fetching.and.llm.request.30.seconds.30s.2m.5000ms" | "timeout.for.video.download.extraction.default.2m" | "tip.twitter" | "tip.uvx" | "to.enable.onnx.locally" | "transcriber.artifacts" | "transcriber.cache" | "transcriber.mode" | "transcriber.onnx" | "transcriber.order" | "transcriber.placeholders" | "transcriber.setup" | "transcriber.whisperBinary" | "transcriber.whisperModel" | "transcribing" | "transcript.as.formatted.markdown" | "unable.to.resolve.cache.path.missing.home" | "url.local.file.path.or.for.stdin.text.or.binary.to.summarize" | "use.a.cli.provider.claude.gemini.codex.agent.openclaw.opencode.copilot.agy.pi.equivalent.to.model.cli.provider.if.omitted.use.auto.selection.with.cli.enabled" | "use.either.prompt.or.prompt.file.not.both" | "use.the.openai.fast.service.tier.for.openai.models.sends.service.tier.priority" | "video.handling.auto.prefer.video.understanding.if.supported.transcript.understand" | "warning.detail" | "warning.lengthIgnored" | "warning.slidesFailed" | "website.file.content.format.md.text.for.websites.controls.the.extraction.format.for.files.controls.whether.we.try.to.preprocess.to.markdown.for.model.compatibility.default.text.default.in.extract.mode.for.urls.md" | "width.must.be.a.number.20" | "with.set.default.also.sets.model.to.free" | "writes.summarize.config.json.models.free.with.working.openrouter.free.candidates" | "x.fetching.via.syndication.api" | "x.syndication.failed.fallback" | "youtube.transcript.source.auto.web.no.auto.skip.auto.generated.captions.yt.dlp.apify" | "youtube.url.direct.video.url.or.local.video.file", values?: import("@steipete/summarize-core/localization").MessageValues) => string;
448
+ export declare function createCliTranslator(locale: CliLocale, styles?: MessageStyles): (key: "add.speaker.labels.to.youtube.or.direct.audio.video.auto.elevenlabs.then.openai.elevenlabs.openai" | "alias.for.slides.dir" | "alias.for.verbose" | "alias.for.verbose.and.defaults.metrics.to.detailed" | "base.output.dir.for.slides.default.slides" | "bypass.slide.cache.force.re.extract" | "bypass.summary.cache.llm.media.transcript.caches.stay.enabled" | "cache.cleared" | "cache.entries" | "cache.is.empty" | "cache.path" | "cache.size" | "cache.stats.must.be.used.alone" | "clear.cache.must.be.used.alone" | "cli.interface.language.auto.en.or.tr.turkish.default.en.also.summarize.locale" | "commands" | "config.preset" | "configure.local.onnx.transcription.parakeet.canary" | "configures.local.onnx.transcription.by.printing.the.required.env.vars" | "daemon.auth" | "daemon.command" | "daemon.configMissing" | "daemon.configPath" | "daemon.containerReady" | "daemon.cwd" | "daemon.foregroundToken" | "daemon.health" | "daemon.installHint" | "daemon.manualAutostart" | "daemon.nativePath" | "daemon.nativeStatus" | "daemon.nativeUnavailable" | "daemon.notInstalled" | "daemon.ready" | "daemon.restarted" | "daemon.service" | "daemon.serviceMissing" | "daemon.starting" | "daemon.uninstalled" | "daemon.windowsDetected" | "daemon.windowsInstallHint" | "daemon.windowsManual" | "daemon.windowsNativeHint" | "daemon.windowsNoAutostart" | "daemon.windowsRestart" | "daemon.windowsUninstalled" | "delete.the.cache.database.and.exit" | "diarize.a.local.recording" | "disable.ansi.colors.in.output" | "disable.configured.slide.extraction.for.this.run" | "disable.configured.slide.ocr.for.this.run" | "disable.media.download.cache.yt.dlp" | "embedded.youtube.handling.auto.off.prefer.transcript.or.combine.article.transcript" | "env.vars" | "error.archiveUnsupported" | "error.assetPromptMissing" | "error.assetResourcesMissing" | "error.attachBinary" | "error.attachUnsupported" | "error.attachmentMissingBytes" | "error.binaryMissingBytes" | "error.birdEmpty" | "error.birdJson" | "error.birdPayload" | "error.cause" | "error.cliOrder" | "error.cliOrderProvider" | "error.configBlockComment" | "error.configField" | "error.configLineComment" | "error.configModelsObject" | "error.configObject" | "error.daemonAuth" | "error.daemonPort" | "error.daemonToken" | "error.daemonUnconfigured" | "error.diarizationInput" | "error.diarizationKey" | "error.documentMissingBytes" | "error.elevenlabsKey" | "error.emptyMedia" | "error.executionState" | "error.extensionDevOnly" | "error.extensionId" | "error.extractBinary" | "error.extractLocalFiles" | "error.extractMissingBytes" | "error.extractStdin" | "error.extractUnsupported" | "error.extractUrlRequired" | "error.fastServiceTierConflict" | "error.githubModelsRetired" | "error.invalidMaxAge" | "error.invalidMinParams" | "error.invalidRuns" | "error.invalidSmart" | "error.localeRequired" | "error.markdownConflict" | "error.markdownConverter" | "error.markdownConverterSetup" | "error.markdownFileMode" | "error.markdownFixedModel" | "error.markdownFormat" | "error.markdownInput" | "error.markdownKey" | "error.markdownModel" | "error.maxOutputTokens" | "error.mediaAccess" | "error.mediaTooLarge" | "error.missingHome" | "error.missingOverride" | "error.modelAndCli" | "error.modelAttachment" | "error.modelIdMissing" | "error.modelProvider" | "error.namedModelInvalid" | "error.namedModelUnknown" | "error.noExtractableText" | "error.noFreeModels" | "error.noModel" | "error.noRecentFreeModels" | "error.noTwitterCli" | "error.noWorkingFreeModels" | "error.openaiDiarizationKey" | "error.openrouterKey" | "error.openrouterModels" | "error.optionMinimum" | "error.optionRange" | "error.pdfTooLarge" | "error.preprocessFailed" | "error.preprocessMissing" | "error.preprocessMissingBytes" | "error.preprocessMissingContent" | "error.promptEmpty" | "error.promptRead" | "error.remoteCliAttachment" | "error.renderMode" | "error.retries" | "error.sequence" | "error.slidesFailedDefault" | "error.stdinChunkType" | "error.stdinEmpty" | "error.stdinStreamMissing" | "error.stdinTooLarge" | "error.textTooLarge" | "error.timeout" | "error.transcriber" | "error.transcriberCommand" | "error.transcriberModel" | "error.transcriptionChecks" | "error.transcriptionFailed" | "error.transcriptionSetup" | "error.tweetClient" | "error.tweetRead" | "error.unknown" | "error.unsupportedOption" | "error.withTwitterTip" | "error.withUvxTip" | "error.xurlApi" | "error.xurlEmpty" | "error.xurlInput" | "error.xurlJson" | "error.xurlPayload" | "error.xurlTopLevel" | "examples" | "extract.slide.screenshots.from.a.youtube.url.direct.video.url.or.local.video.file" | "extract.slides.for.youtube.direct.video.urls.or.local.video.files.and.render.them.inline.inside.the.summary.narrative.when.supported.combine.with.extract.to.interleave.slides.in.the.full.transcript" | "extracted.markdown.prefers.firecrawl.when.configured" | "extracted.markdown.via.llm" | "extracted.plain.text" | "fetching.website" | "finish.cached" | "finish.calls" | "finish.compactTranscript" | "finish.extracted" | "finish.inputLength" | "finish.lengths" | "finish.services" | "finish.summary" | "finish.transcriptLength" | "finish.unknown" | "firecrawl.usage.off.auto.fallback.always.try.firecrawl.first" | "footer.markdown" | "footer.outcome" | "footer.slides" | "footer.transcript" | "footer.video" | "force.llm.summary.even.when.extracted.content.is.shorter.than.the.requested.length" | "full.transcript.inline.slides" | "hard.cap.for.llm.output.tokens.e.g.2000.2k.overrides.provider.defaults" | "help.annotation.choices" | "help.annotation.default" | "help.annotation.description" | "help.annotation.env" | "help.annotation.preset" | "help.chrome.native.host.macos.and.linux.windows.executable.packaging.pending" | "help.custom.ports.must.also.be.set.in.extension.options.runtime.daemon.port" | "help.dev.install.service.that.runs.src.cli.ts.via.node.repo.dev.mode" | "help.display" | "help.environment" | "help.examples" | "help.extension.id.dev.only.unpacked.chrome.extension.id.requires.dev" | "help.heading.arguments" | "help.heading.commands" | "help.heading.globalOptions" | "help.heading.options" | "help.heading.usage" | "help.install.install.upgrade.daemon.autostart.config.and.the.chrome.native.messaging.host" | "help.intro" | "help.json.output.structured.json" | "help.linux.systemd.user.service" | "help.macos.launchagent.launchd" | "help.model.name.parakeet.default.or.canary" | "help.option.deprecated.alias.for.extract" | "help.option.deprecated.alias.for.markdown.mode.use.extract.format.md.markdown.mode" | "help.port.n.default.8787" | "help.probe.probe.supported.model.list.endpoints.without.running.inference" | "help.restart.restart.the.daemon.autostart.service" | "help.run.run.the.daemon.in.the.foreground.used.by.autostart" | "help.status.check.daemon.service.native.host.and.daemon.health" | "help.support" | "help.theme" | "help.token.token.required.for.install" | "help.transcriberOrder" | "help.uninstall.remove.daemon.autostart.and.the.chrome.native.messaging.host" | "help.usage.summarize.daemon.command.options" | "help.usage.summarize.input.flags" | "help.usage.summarize.refresh.free.runs.2.smart.3.min.params.27b.max.age.days.180.set.default.verbose" | "help.usage.summarize.status.json.probe.verbose" | "help.usage.summarize.transcriber.setup.model.parakeet.canary.theme.name" | "help.verbose.include.executable.paths.endpoint.hosts.config.sources.and.preset.candidates" | "help.windows.scheduled.task" | "hint" | "identify.the.speaker.active.at.a.timestamp.repeat.for.multiple.speakers" | "include.timestamps.in.transcripts.when.available" | "inline.render.mode.auto.kitty.iterm.none" | "input.summary" | "install.ffmpeg.yt.dlp.for.slides.and.tesseract.for.slides.ocr" | "install.sherpa.onnx.from.upstream.binaries.or.build.homebrew.may.not.have.a.formula" | "keep.generic.diarization.labels.even.when.speaker.identification.is.configured" | "keep.raw.text.markdown.output.no.ansi.osc.rendering" | "llm.model.id.auto.name.cli.provider.model.xai.openai.nvidia.minimax.google.anthropic.zai.or.openrouter.author.slug.default.auto" | "llm.retry.attempts.after.timeouts.or.transient.api.failures.default.1" | "local.transcription.stage.auto.default.whisper.parakeet.canary.groq.still.runs.first.when.keyed" | "markdown.conversion.off.auto.llm.force.llm.readability.for.websites.converts.html.markdown.for.youtube.transcripts.llm.mode.formats.raw.transcripts.into.clean.markdown.with.headings.and.paragraphs" | "maximum.characters.to.print.in.extract.default.unlimited" | "maximum.slides.to.extract.default.6" | "metrics.cost" | "metrics.elapsed" | "metrics.output.off.on.detailed" | "metrics.tokens" | "minimum.seconds.between.slides.default.2" | "missing.providers.are.omitted.secrets.are.never.printed" | "model.auto" | "model.cli" | "model.codexFast" | "model.discovered" | "model.fast" | "model.free" | "next" | "notes" | "openai.reasoning.effort.none.low.medium.high.xhigh.aliases.off.min.mid" | "openai.service.tier.default.fast.priority.flex" | "options" | "output.json.payload.no.inline.rendering" | "output.language.auto.match.source.en.de.english.german.default.auto.configurable.in.summarize.config.json.via.output.language" | "output.structured.json.includes.prompt.metrics" | "override.terminal.width.for.markdown.rendering.default.auto.detect.max.120" | "override.the.summary.prompt.instruction.prefix.context.content.still.appended" | "persist.resolved.mappings.and.anchors.under.the.selected.speaker.profile" | "preprocess.inputs.for.model.compatibility.off.auto.fallback.always" | "presets" | "print.cache.stats.and.exit" | "print.detailed.progress.info.to.stderr" | "print.extracted.content.and.exit.urls.media.and.local.pdfs.stdin.is.unsupported" | "print.version.and.exit" | "progress.downloadVideo" | "progress.extractSlides" | "progress.extractionActive" | "progress.failedFallback" | "progress.fetchConnecting" | "progress.fetchStart" | "progress.fetchTransfer" | "progress.fetching" | "progress.fetchingPage" | "progress.firecrawlDone" | "progress.firecrawlStart" | "progress.input" | "progress.inputLabel" | "progress.mediaDownload" | "progress.mediaDownloadLabel" | "progress.mediaStage" | "progress.noContentFallback" | "progress.primaryFallback" | "progress.providers" | "progress.received" | "progress.scraping" | "progress.slides" | "progress.slidesCached" | "progress.slidesDone" | "progress.slidesExtracting" | "progress.slidesQueued" | "progress.summarizeVideo" | "progress.summaryActive" | "progress.transcribed" | "progress.transcribing" | "progress.transcript" | "progress.transcriptHint" | "progress.transcriptMarkdown" | "progress.transcriptUnavailable" | "progress.transcription" | "progress.tweet.reading" | "progress.tweetExtract" | "progress.tweetResult" | "progress.urlExtracted" | "progress.urlSummary" | "progress.videoTranscript" | "prompt.must.not.be.empty" | "providers" | "read.the.prompt.override.from.a.file" | "refresh.begin" | "refresh.candidate" | "refresh.cooldown" | "refresh.dayLimit" | "refresh.failure" | "refresh.fetching" | "refresh.filteredOld" | "refresh.filteredSmall" | "refresh.free.model.candidates.into.summarize.config.json" | "refresh.minuteLimit" | "refresh.progress" | "refresh.refinementFailure" | "refresh.refining" | "refresh.results" | "refresh.selected" | "refresh.selectedHeading" | "refresh.skip" | "refresh.starting" | "refresh.success" | "refresh.wroteConfig" | "render.is.not.supported.with.json.output" | "render.requires.a.tty.stdout" | "resolve.diarization.labels.to.real.names.using.timestamp.anchors.and.openai.context" | "run.ocr.on.extracted.slides.requires.tesseract" | "run.summarize.help.for.full.options" | "scan.update.working.openrouter.free.models" | "scene.detection.threshold.for.slide.changes.0.1.1.0" | "service.cliBuildMissing" | "service.cliEntrypointMissing" | "service.commandError" | "service.devRepoRequired" | "service.healthUnreachable" | "service.launchDomain" | "service.launchInstalled" | "service.launchMissing" | "service.launchRemains" | "service.launchRestarted" | "service.launchTrashed" | "service.logs" | "service.repoRootMissing" | "service.systemdInstalled" | "service.systemdMissing" | "service.systemdRemoved" | "service.systemdRequired" | "service.systemdRestarted" | "service.taskInstalled" | "service.taskMissing" | "service.taskPath" | "service.taskRemoved" | "service.taskRestarted" | "service.unsupportedPlatform" | "service.usernameMissing" | "show.configured.and.usable.model.providers" | "show.local.onnx.setup.and.transcription.fallback.order" | "show.slide.image.paths.instead.of.rendering.inline.images" | "shows.the.effective.model.configured.presets.and.configured.or.usable.providers" | "slides" | "slides.are.disabled.enable.slides.ocr.or.check.arguments" | "slides.are.only.supported.for.youtube.direct.video.urls.or.local.video.files" | "slides.directory" | "slides.exportCommand" | "slides.extractedCount" | "slides.image" | "slides.imageUnavailable" | "slides.inlineUnsupported" | "slides.missingFile" | "slides.missingPath" | "slides.ocr.extraction" | "slides.only.mode.with.inline.thumbnails" | "slides.position" | "slides.rendered" | "source.youtubeViews" | "speaker.labelled.transcript" | "speaker.profile.from.summarize.config.json.implies.identify.speakers" | "status.compatibleApi" | "status.config" | "status.deepgram" | "status.model" | "status.provider" | "status.unknownOption" | "stream.llm.output.auto.tty.only.on.off.note.streaming.is.disabled.in.json.mode" | "summarize.clipboard.content" | "summarize.slides.requires.a.url.or.local.video.file" | "summarize.web.pages.and.youtube.links.uses.direct.provider.api.keys" | "summarizing" | "summary.inline.slides" | "summary.length.short.medium.long.xl.xxl.or.s.m.l.or.a.character.limit.like.20000.20k.default.long.configurable.via.summarize.config.json.output.length" | "support.alternate" | "timeout.for.content.fetching.and.llm.request.30.seconds.30s.2m.5000ms" | "timeout.for.video.download.extraction.default.2m" | "tip.twitter" | "tip.uvx" | "to.enable.onnx.locally" | "transcriber.artifacts" | "transcriber.cache" | "transcriber.mode" | "transcriber.onnx" | "transcriber.order" | "transcriber.placeholders" | "transcriber.setup" | "transcriber.whisperBinary" | "transcriber.whisperModel" | "transcribing" | "transcript.as.formatted.markdown" | "unable.to.resolve.cache.path.missing.home" | "url.local.file.path.or.for.stdin.text.or.binary.to.summarize" | "use.a.cli.provider.claude.gemini.codex.agent.openclaw.opencode.copilot.agy.pi.devin.grok.equivalent.to.model.cli.provider.if.omitted.use.auto.selection.with.cli.enabled" | "use.either.prompt.or.prompt.file.not.both" | "use.the.openai.fast.service.tier.for.openai.models.sends.service.tier.priority" | "video.handling.auto.prefer.video.understanding.if.supported.transcript.understand" | "warning.detail" | "warning.lengthIgnored" | "warning.slidesFailed" | "website.file.content.format.md.text.for.websites.controls.the.extraction.format.for.files.controls.whether.we.try.to.preprocess.to.markdown.for.model.compatibility.default.text.default.in.extract.mode.for.urls.md" | "width.must.be.a.number.20" | "with.set.default.also.sets.model.to.free" | "writes.summarize.config.json.models.free.with.working.openrouter.free.candidates" | "x.fetching.via.syndication.api" | "x.syndication.failed.fallback" | "youtube.transcript.source.auto.web.no.auto.skip.auto.generated.captions.yt.dlp.apify" | "youtube.url.direct.video.url.or.local.video.file", values?: import("@steipete/summarize-core/localization").MessageValues) => string;
449
449
  export declare function resolveCliLocale(raw: string | null | undefined): CliLocale;
450
450
  export declare function resolveCliLocaleFromEnv(env: Record<string, string | undefined>, explicit?: string | null): CliLocale;
451
451
  export declare function resolveCliLocaleFromArgs(argv: readonly string[], env: Record<string, string | undefined>): CliLocale;
@@ -24,5 +24,5 @@ export declare function buildAssetCliContext({ ctx, args, attempts, attachmentsC
24
24
  promptOverride: string;
25
25
  allowTools: boolean;
26
26
  cwd: string | undefined;
27
- extraArgsByProvider: Partial<Record<"agent" | "agy" | "claude" | "codex" | "copilot" | "gemini" | "openclaw" | "opencode" | "pi", string[]>>;
27
+ extraArgsByProvider: Partial<Record<"agent" | "agy" | "claude" | "codex" | "copilot" | "devin" | "gemini" | "grok" | "openclaw" | "opencode" | "pi", string[]>>;
28
28
  } | null>;
@@ -1,4 +1,4 @@
1
- export declare const FALLBACK_VERSION = "0.24.0";
1
+ export declare const FALLBACK_VERSION = "0.25.0";
2
2
  export declare function resolvePackageVersion(importMetaUrl?: string): string;
3
3
  export declare function resolveGitSha(importMetaUrl?: string): string | null;
4
4
  export declare function formatVersionLine(importMetaUrl?: string): string;
package/docs/README.md CHANGED
@@ -6,7 +6,7 @@ summary: "Docs index for summarize behaviors and modes."
6
6
 
7
7
  - `docs/chrome-extension.md` — Chrome side panel extension + daemon setup/troubleshooting
8
8
  - `docs/cache.md` — cache design + config (SQLite)
9
- - `docs/cli.md` — CLI models (Claude/Codex/Gemini/Agent/OpenClaw/OpenCode/Copilot/Antigravity/pi)
9
+ - `docs/cli.md` — CLI models (Claude/Codex/Gemini/Agent/OpenClaw/OpenCode/Copilot/Antigravity/pi/Devin/Grok)
10
10
  - `docs/config.md` — config file location, precedence, and schema
11
11
  - `docs/extract-only.md` — extract mode (no summary LLM call)
12
12
  - `docs/engine.md` — headless execution engine architecture
package/docs/cli.md CHANGED
@@ -1,14 +1,14 @@
1
1
  ---
2
2
  title: "CLI providers"
3
3
  kicker: "models"
4
- summary: "CLI model providers and config for Claude, Codex, Gemini, Cursor Agent, OpenClaw, OpenCode, GitHub Copilot, Antigravity, and pi."
4
+ summary: "CLI model providers and config for Claude, Codex, Gemini, Cursor Agent, OpenClaw, OpenCode, GitHub Copilot, Antigravity, pi, Devin, and Grok."
5
5
  read_when:
6
6
  - "When changing CLI model integration."
7
7
  ---
8
8
 
9
9
  # CLI models
10
10
 
11
- Summarize can use installed CLIs (Claude, Codex, Gemini, Cursor Agent, OpenClaw, OpenCode, GitHub Copilot, Antigravity, pi) as local model backends.
11
+ Summarize can use installed CLIs (Claude, Codex, Gemini, Cursor Agent, OpenClaw, OpenCode, GitHub Copilot, Antigravity, pi, Devin, Grok) as local model backends.
12
12
 
13
13
  ## Model ids
14
14
 
@@ -25,10 +25,14 @@ Summarize can use installed CLIs (Claude, Codex, Gemini, Cursor Agent, OpenClaw,
25
25
  - `cli/agy` (use the Antigravity CLI active session model)
26
26
  - `cli/pi/<model>` (e.g. `cli/pi/sonnet`)
27
27
  - `cli/pi` (use pi's configured default model)
28
+ - `cli/devin/<model>` (e.g. `cli/devin/swe-2-max`)
29
+ - `cli/devin` (use the Devin CLI configured default model)
30
+ - `cli/grok/<model>` (e.g. `cli/grok/grok-4.6`)
31
+ - `cli/grok` (use the Grok CLI default model)
28
32
 
29
33
  Use `--cli [provider]` (case-insensitive) for the provider default, or `--model cli/<provider>/<model>` to pin a model.
30
34
  Bare `cli/codex` defaults to GPT-5.5; set `cli.codex.model` to override it.
31
- Antigravity does not support per-call model selection in print mode, so use `cli/agy` without a model suffix. pi supports `cli/pi/<model>` or a configured `cli.pi.model`.
35
+ Antigravity does not support per-call model selection in print mode, so use `cli/agy` without a model suffix. pi supports `cli/pi/<model>` or a configured `cli.pi.model`. devin supports `cli/devin/<model>` or a configured `cli.devin.model`; run `devin models list` to see the available model families.
32
36
  If `--cli` is provided without a provider, auto selection is used with CLI enabled.
33
37
 
34
38
  Codex GPT Fast:
@@ -47,7 +51,7 @@ Auto mode can prepend CLI attempts in two ways:
47
51
  - Applies only to **implicit** auto (when no model is set via flag/env/config).
48
52
  - Default behavior: only when no API key is configured.
49
53
  - Default order: `claude, gemini, codex, agent, openclaw, opencode, copilot`.
50
- - Antigravity and pi are opt-in unless added to `cli.autoFallback.order`.
54
+ - Antigravity, pi, devin, and Grok are opt-in unless added to `cli.autoFallback.order`.
51
55
  - Remembers + prioritizes the last successful CLI provider (`~/.summarize/cli-state.json`).
52
56
 
53
57
  Gemini CLI performance: summarize sets `GEMINI_CLI_NO_RELAUNCH=true` for Gemini CLI runs to avoid a costly self-relaunch (can be overridden by setting it yourself).
@@ -95,6 +99,8 @@ Binary lookup:
95
99
  - `COPILOT_PATH` (optional override)
96
100
  - `AGY_PATH` (optional override)
97
101
  - `PI_PATH` (optional override)
102
+ - `DEVIN_PATH` (optional override)
103
+ - `GROK_PATH` (optional override)
98
104
  - Otherwise uses `PATH`
99
105
 
100
106
  Run `summarize status` to list enabled CLI providers whose executable is currently available.
@@ -116,6 +122,8 @@ path-based prompt and enables the required tool flags:
116
122
  - Copilot: `copilot -p <prompt>`; passes `--model <model>` when one is configured
117
123
  - Antigravity: `agy --print`; does not auto-approve tools for attachment prompts
118
124
  - pi: `pi --print --mode json`; passes `--system-prompt`, sends prompt over stdin, and uses `--no-tools` for isolated summaries
125
+ - devin: `devin --print --prompt-file <file>`; keeps the caller cwd and real Devin config for attachments, preserves workspace trust checks, and uses `--permission-mode auto` so read-only tools are auto-approved
126
+ - Grok: `grok --prompt-file <file> --output-format json --always-approve` for path-based prompts
119
127
 
120
128
  Remote image and binary-file URLs are limited to native providers and CLI backends that can consume the staged attachment without broad tool approval. Local file inputs keep the existing path-based CLI behavior because they are operator-selected files rather than untrusted remote content.
121
129
 
@@ -133,7 +141,9 @@ Remote image and binary-file URLs are limited to native providers and CLI backen
133
141
  "opencode",
134
142
  "copilot",
135
143
  "agy",
136
- "pi"
144
+ "pi",
145
+ "devin",
146
+ "grok"
137
147
  ],
138
148
  "autoFallback": {
139
149
  "enabled": true,
@@ -166,6 +176,13 @@ Remote image and binary-file URLs are limited to native providers and CLI backen
166
176
  },
167
177
  "pi": {
168
178
  "binary": "/usr/local/bin/pi"
179
+ },
180
+ "devin": {
181
+ "binary": "/usr/local/bin/devin"
182
+ },
183
+ "grok": {
184
+ "binary": "/usr/local/bin/grok",
185
+ "model": "grok-4.6"
169
186
  }
170
187
  }
171
188
  }
@@ -173,12 +190,18 @@ Remote image and binary-file URLs are limited to native providers and CLI backen
173
190
 
174
191
  Notes:
175
192
 
176
- - CLI output is treated as text only (no token accounting).
193
+ - CLI providers that emit structured output report token usage (and USD cost where the CLI exposes it); plain-output providers such as Copilot report none.
177
194
  - If a CLI call fails, auto mode falls back to the next candidate.
178
195
  - Cursor Agent CLI uses the `agent` binary and relies on Cursor CLI auth (login or `CURSOR_API_KEY`).
179
196
  - Antigravity CLI uses the active agy session model; `cli.agy.model` is ignored by runtime selection.
180
197
  - Antigravity normal text summaries run `agy --print <prompt>` in a temporary cwd with `--sandbox`. When the prompt or command length exceeds platform argv limits (e.g. 120 KB on Linux/macOS), the document `<content>` payload is automatically offloaded to a temporary file (`document.txt`) with restricted `0o600` permissions and referenced via `file://` in `--print`, preserving instructions before and after the content block in argv while cleaning up the single temporary directory on success, failure, or timeout. Untagged prompts are offloaded as a complete request. Short text prompts retain best-effort no-tools guidance; offloaded prompts permit reading the supplied document while discouraging file edits, local file links, and work-log narration. This is prompt steering, not a hard capability boundary. Attachment prompts keep the caller cwd so agy can inspect the requested path but do not auto-approve tools.
181
198
  - pi runs in JSON mode (`--print --mode json`) with `--no-tools`, `--no-context-files`, `--no-extensions`, `--no-skills`, `--no-session` for isolated summarization. It receives the summarize system prompt via `--system-prompt`, the summarize prompt over stdin, and reports usage/cost via JSONL events. Use `PI_PATH` to override the binary path.
199
+ - devin runs `devin --print --prompt-file <file> --export <atif>`. Normal text summaries run isolated by default: a temporary cwd plus fabricated `XDG_CONFIG_HOME`/`XDG_DATA_HOME` that carry only `credentials.toml` and a merged `config.json` (user config preserved but tools denied via `permissions.deny`, plugins/subagents/auto-update disabled, and other-agent rule imports suppressed). Token usage is read from the ATIF export; Devin does not report USD cost. Set `cli.devin.isolated` to `false` only when you intentionally need Devin to inherit your real config/sessions. Attachment prompts keep the caller cwd and real Devin home so read-only tools can inspect the requested path. Auth comes from `devin auth login` credentials or `WINDSURF_API_KEY`; use `DEVIN_PATH` to override the binary path.
200
+ - Devin reserves `--export` for a private result file per summary; `cli.devin.extraArgs` cannot override it. This prevents overlapping summaries from reading each other's output.
201
+ - Devin isolated text summaries always use a private empty working directory, even when the caller supplies a directory. Workspace trust is bypassed only there. Attachment runs and `cli.devin.isolated: false` retain the caller's directory and trust check: print mode rejects an untrusted project until you trust it in Devin. This keeps project startup hooks behind the CLI's own trust boundary.
202
+ - Devin isolation requires the system temporary directory to be outside a Git or Jujutsu checkout, because Devin searches parent directories for project configuration. If a custom `TMPDIR` or `TEMP` points inside a checkout, Summarize fails before launching Devin; choose a temporary directory outside the checkout. On Windows, authentication and user configuration come from `%APPDATA%\devin` even when XDG variables are set.
203
+ - Grok CLI runs headless via `grok --prompt-file <file> --output-format json` and reports token usage and cost. Text summaries always use a private cwd and home: only `auth.json` is copied into `GROK_HOME`; other agent configuration, hooks, sessions, and MCP servers are not inherited. Both the system instructions and document go into a mode-0600 prompt file, never argv. Built-in tools are removed, all tool calls and MCP are denied, web search and subagents are disabled, and a generated `--sandbox summarize` profile extending `strict` is mandatory. This generated policy is the only configuration added to the isolated home; no user configuration is copied. If Grok cannot apply strict sandboxing, the summary fails rather than weakening it. Requires Grok 1.0.41 or newer and `grok login` or `XAI_API_KEY`.
204
+ - Grok text isolation cannot be disabled with `cli.grok.isolated: false`. A custom temporary directory must be outside project and agent configuration trees. `cli.grok.extraArgs` accepts only `--reasoning-effort` (or `--effort`) and `--max-turns`; use `GROK_PATH` for the binary and `cli.grok.model` or `cli/grok/<model>` for model selection. Explicit local attachment prompts retain the caller cwd and real Grok configuration with `--always-approve --sandbox off`; untrusted remote attachments cannot use that mode.
182
205
  - Codex CLI normal text summaries run isolated by default: `codex exec --ephemeral --ignore-user-config --ignore-rules -C <temp-dir> ...` with a sanitized temporary `CODEX_HOME` that carries auth only. Set `cli.codex.isolated` to `false` only when you intentionally need Codex to inherit local config/rules.
183
206
  - Gemini CLI is invoked in headless mode with `--prompt` for compatibility with current Gemini CLI releases.
184
207
  - OpenClaw uses `openclaw agent --agent <model> --message <prompt> --json` because current OpenClaw requires `-m/--message`; very large extracted inputs are rejected before launch to avoid argv limits.
@@ -201,6 +224,8 @@ summarize --cli opencode --plain --timeout 2m /tmp/summarize-cli-smoke.txt
201
224
  summarize --cli copilot --plain --timeout 2m /tmp/summarize-cli-smoke.txt
202
225
  summarize --cli agy --plain --timeout 2m /tmp/summarize-cli-smoke.txt
203
226
  summarize --cli pi --plain --timeout 2m /tmp/summarize-cli-smoke.txt
227
+ summarize --cli devin --plain --timeout 2m /tmp/summarize-cli-smoke.txt
228
+ summarize --cli grok --plain --timeout 2m /tmp/summarize-cli-smoke.txt
204
229
  ```
205
230
 
206
231
  If Agent fails with auth, run `agent login` (interactive) or set `CURSOR_API_KEY`.
@@ -136,7 +136,7 @@ If `[input]` is omitted, summarize prints concise help and exits.
136
136
  : Model id. `auto`, `<config-preset>`, `cli/<provider>/<model>`, `xai/...`, `openai/...`, `nvidia/...`, `minimax/...`, `google/...`, `anthropic/...`, `zai/...`, `ollama/<model>` (local Ollama), `openclaw/<model>` (shorthand for `cli/openclaw/<model>`), or `openrouter/<author>/<slug>`. Default `auto`. See [LLM overview](../llm.md).
137
137
 
138
138
  `--cli [provider]`
139
- : Use a logged-in CLI provider: `claude`, `gemini`, `codex`, `agent`, `openclaw`, `opencode`, `copilot`, `agy`, `pi`. Equivalent to `--model cli/<provider>`. Without a value: enable CLI providers in auto-selection.
139
+ : Use a logged-in CLI provider: `claude`, `gemini`, `codex`, `agent`, `openclaw`, `opencode`, `copilot`, `agy`, `pi`, `devin`, `grok`. Equivalent to `--model cli/<provider>`. Without a value: enable CLI providers in auto-selection.
140
140
 
141
141
  `--thinking <effort>`
142
142
  : Reasoning effort. `none`, `low`, `medium`, `high`, `xhigh`. Aliases: `off`, `min`, `med`, `mid`, `x-high`, `extra-high`. Affects reasoning-capable models on the dispatched provider (OpenAI, Anthropic Claude 4+, pi CLI).
package/docs/config.md CHANGED
@@ -416,7 +416,7 @@ Examples:
416
416
  ```json
417
417
  {
418
418
  "cli": {
419
- "enabled": ["gemini", "agent", "openclaw", "opencode", "copilot", "agy", "pi"],
419
+ "enabled": ["gemini", "agent", "openclaw", "opencode", "copilot", "agy", "pi", "devin", "grok"],
420
420
  "autoFallback": {
421
421
  "enabled": true,
422
422
  "onlyWhenNoApiKeys": true,
@@ -429,7 +429,9 @@ Examples:
429
429
  "opencode": { "binary": "/usr/local/bin/opencode", "model": "openai/gpt-5.4" },
430
430
  "copilot": { "binary": "/usr/local/bin/copilot", "model": "gpt-5.2" },
431
431
  "agy": { "binary": "/usr/local/bin/agy" },
432
- "pi": { "binary": "/usr/local/bin/pi" }
432
+ "pi": { "binary": "/usr/local/bin/pi" },
433
+ "devin": { "binary": "/usr/local/bin/devin" },
434
+ "grok": { "binary": "/usr/local/bin/grok", "model": "grok-4.6" }
433
435
  }
434
436
  }
435
437
  ```
@@ -439,13 +441,17 @@ Notes:
439
441
  - `cli.enabled` is an allowlist (and order) for auto + explicit CLI model ids.
440
442
  - `cli.autoFallback` controls implicit-auto CLI fallback when `cli.enabled` is not set.
441
443
  - Default auto fallback order: `claude, gemini, codex, agent, openclaw, opencode, copilot`.
442
- - Antigravity and pi are opt-in unless added to `cli.autoFallback.order`.
444
+ - Antigravity, pi, devin, and Grok are opt-in unless added to `cli.autoFallback.order`.
443
445
  - Auto fallback stores the last successful provider in `~/.summarize/cli-state.json` and prioritizes it on the next run.
444
446
  - `cli.<provider>.binary` overrides CLI binary discovery.
445
447
  - `cli.<provider>.extraArgs` appends extra CLI args.
446
448
  - Antigravity CLI uses the active agy session model; `cli.agy.model` is ignored by runtime selection.
447
449
  - pi CLI runs `pi --print --mode json`, passes extracted content over stdin, and accepts configured or per-call models; use `PI_PATH` to override binary.
450
+ - Grok CLI runs `grok --prompt-file <file> --output-format json` in a tool-restricted sandbox for text summaries, accepts configured or per-call models, and reports token usage and cost; use `GROK_PATH` to override binary. Requires `grok login` or `XAI_API_KEY`; run `grok models` to list valid model ids.
451
+ - `cli.grok.isolated` defaults to `true` for normal summaries, adding a temporary cwd, a restricted toolset, `--sandbox strict`, and a temporary `GROK_HOME` that carries `auth.json` only. Set it to `false` only when local Grok config/hooks/sessions are intentional.
448
452
  - `cli.codex.isolated` defaults to `true` for normal summaries, adding Codex ephemeral/no-user-config/no-rules flags, a temporary cwd, and a sanitized temporary `CODEX_HOME` that carries auth only. Set it to `false` only when local Codex config/rules are intentional.
453
+ - Devin CLI runs `devin --print --prompt-file <file> --export <atif>`, and accepts configured or per-call models; use `DEVIN_PATH` to override binary. `cli.devin.isolated` defaults to `true` for normal summaries: a temporary cwd plus fabricated `XDG_CONFIG_HOME`/`XDG_DATA_HOME` carrying only `credentials.toml` and a merged `config.json` (tools denied, plugins/subagents/hooks disabled, other-agent rule imports suppressed). Usage is read from the ATIF export (no USD cost). Set it to `false` only when local Devin config/sessions are intentional.
454
+ - In `cli.devin.extraArgs`, supported overrides replace managed defaults because Devin rejects duplicate flags. `--export` is reserved and rejected in every form: Summarize owns a private result file per run so overlapping summaries cannot share output. `--prompt-file` replaces the generated prompt entirely, and `--config` is rejected while `isolated` is on because it would replace the hardened config. See the [CLI guide](cli.md) for workspace trust and temporary-directory requirements.
449
455
 
450
456
  ## OpenAI config
451
457
 
package/docs/index.md CHANGED
@@ -48,7 +48,7 @@ summarize "https://example.com" --json --metrics detailed
48
48
 
49
49
  - **Real extraction.** Readability for articles, `markitdown` for files, Firecrawl as a fallback when sites fight back.
50
50
  - **Media-aware.** YouTube and podcast pages prefer published transcripts, then transcription fallback: Groq when keyed, local ONNX/`whisper.cpp`, then cloud providers.
51
- - **Provider-agnostic models.** xAI, OpenAI, Google, Anthropic, NVIDIA, Z.AI, OpenRouter, GitHub Copilot, Ollama (local) — plus local CLI providers (Claude Code, Codex, Gemini, Cursor Agent, OpenClaw, OpenCode, Copilot CLI, Antigravity, pi).
51
+ - **Provider-agnostic models.** xAI, OpenAI, Google, Anthropic, NVIDIA, Z.AI, OpenRouter, GitHub Copilot, Ollama (local) — plus local CLI providers (Claude Code, Codex, Gemini, Cursor Agent, OpenClaw, OpenCode, Copilot CLI, Antigravity, pi, Devin, Grok).
52
52
  - **Shaped output.** Streamed ANSI Markdown for terminals, plain text for pipes, JSON envelope for scripts, ANSI-stripped under `--no-color`.
53
53
  - **Slides for video.** `--slides` extracts scene-change keyframes and renders them inline (Kitty / iTerm) or saves them to disk.
54
54
  - **Stays local.** Optional daemon + Chrome Side Panel pair the CLI with the active tab. The daemon binds to `127.0.0.1` only and uses a shared bearer token.
package/docs/llm.md CHANGED
@@ -40,7 +40,7 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
40
40
  - `ANTHROPIC_API_KEY` (required for `anthropic/...` models)
41
41
  - `ANTHROPIC_BASE_URL` (optional; override Anthropic API endpoint)
42
42
  - `SUMMARIZE_MODEL` (optional; overrides default model selection)
43
- - `CLAUDE_PATH` / `CODEX_PATH` / `GEMINI_PATH` / `AGENT_PATH` / `OPENCLAW_PATH` / `OPENCODE_PATH` / `COPILOT_PATH` / `AGY_PATH` / `PI_PATH` (optional; override CLI binary paths)
43
+ - `CLAUDE_PATH` / `CODEX_PATH` / `GEMINI_PATH` / `AGENT_PATH` / `OPENCLAW_PATH` / `OPENCODE_PATH` / `COPILOT_PATH` / `AGY_PATH` / `PI_PATH` / `DEVIN_PATH` / `GROK_PATH` (optional; override CLI binary paths)
44
44
 
45
45
  ## Flags
46
46
 
@@ -57,6 +57,8 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
57
57
  - `cli/copilot/gpt-5.2`
58
58
  - `cli/agy`
59
59
  - `cli/pi/openai/gpt-5.4`
60
+ - `cli/devin/swe-2-max`
61
+ - `cli/grok` / `cli/grok/grok-4.6`
60
62
  - `openai/gpt-5.4`
61
63
  - `openai/gpt-5.4-mini`
62
64
  - `openai/gpt-5.4-nano`
@@ -73,7 +75,7 @@ installed, auto mode can use local CLI models via `cli.enabled` or implicit auto
73
75
  - `anthropic/claude-sonnet-4-5`
74
76
  - `openrouter/meta-llama/llama-3.3-70b-instruct:free` (force OpenRouter)
75
77
  - `--cli [provider]`
76
- - Examples: `--cli claude`, `--cli Gemini`, `--cli codex`, `--cli agent`, `--cli openclaw`, `--cli opencode`, `--cli copilot`, `--cli agy`, `--cli pi` (equivalent to `--model cli/<provider>`); `--cli` alone uses auto selection with CLI enabled.
78
+ - 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.
77
79
  - `--model auto`
78
80
  - See `docs/model-auto.md`
79
81
  - `--model <preset>`
package/docs/openai.md CHANGED
@@ -14,23 +14,24 @@ For the full model/provider matrix, see `docs/llm.md`.
14
14
 
15
15
  ## GPT-6
16
16
 
17
- Use the documented model ids: `openai/gpt-6-astra`, `openai/gpt-6-sol`, or `openai/gpt-6-luna`.
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
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. Sol and Luna preserve temperature when explicitly using `--thinking none`; Astra requires reasoning.
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.
20
20
 
21
21
  ```sh
22
22
  summarize https://summarize.sh/ --model openai/gpt-6-astra --thinking medium --fast
23
23
  summarize https://summarize.sh/ --model openai/gpt-6-sol --thinking medium
24
24
  summarize https://summarize.sh/ --model openai/gpt-6-luna --thinking low
25
+ summarize https://summarize.sh/ --model openai/gpt-6.1-sol --thinking high
25
26
  ```
26
27
 
27
28
  These explicit model ids do not change the default model or existing presets.
28
- The model picker and built-in pricing catalog include all three models. Standard input/output
29
- prices per million tokens are $10/$50 for Astra, $2/$10 for Sol, and $0.10/$0.50 for Luna.
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.
30
31
  Cost estimates use these standard rates; they do not include cache discounts, cache writes,
31
32
  fast/flex service tiers, or long-context premiums. See [OpenAI pricing](https://developers.openai.com/api/docs/pricing).
32
- An unsupported `--thinking none` request for Astra fails locally before sending an API request.
33
- 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), and [Luna](https://developers.openai.com/api/docs/models/gpt-6-luna).
33
+ An unsupported `--thinking none` request for Astra or GPT-6.1 Sol fails locally before sending an API request.
34
+ 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).
34
35
 
35
36
  ## Fast mode
36
37
 
package/docs/releasing.md CHANGED
@@ -32,6 +32,9 @@ summary: "Release checklist, Chrome Web Store submission, and Homebrew/core veri
32
32
 
33
33
  ## Common failure
34
34
 
35
+ - Core npm publication succeeded, but the CLI guard could not yet see that version.
36
+ Once npm exposes the core version, run `scripts/release.sh publish-cli` from the clean verified checkout. Recovery requires an exact integrity match for the published core tarball before publishing the missing CLI, then runs smoke checks and promotes both packages.
37
+
35
38
  - NPM/GitHub release updated, but Homebrew/core still serves the old version.
36
39
  Expected while autobump is pending. Do not manually update the formula or block the release; step 4 can verify it later.
37
40
  - GitHub Release contains the extension ZIP, but the Chrome Web Store still serves an old version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steipete/summarize",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Link → clean text → summary.",
5
5
  "bin": {
6
6
  "summarize": "./dist/cli.js",
@@ -33,8 +33,8 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@earendil-works/pi-ai": "^0.85.1",
37
- "@steipete/summarize-core": "0.24.0",
36
+ "@earendil-works/pi-ai": "^0.87.1",
37
+ "@steipete/summarize-core": "0.25.0",
38
38
  "bpe-lite": "^0.5.2",
39
39
  "commander": "^15.0.0",
40
40
  "file-type": "^22.1.1",
@@ -43,17 +43,17 @@
43
43
  "mime": "^4.1.0",
44
44
  "osc-progress": "^0.3.4",
45
45
  "tokentally": "^0.1.7",
46
- "undici": "8.10.2"
46
+ "undici": "8.11.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@types/node": "^24.13.5",
49
+ "@types/node": "^24.13.6",
50
50
  "@types/sanitize-html": "^2.16.1",
51
51
  "@vitest/coverage-v8": "^5.0.1",
52
52
  "happy-dom": "^20.14.5",
53
- "oxc-parser": "^0.150.0",
54
- "oxfmt": "0.68.0",
55
- "oxlint": "^1.83.0",
56
- "oxlint-tsgolint": "^7.0.2001",
53
+ "oxc-parser": "^0.151.0",
54
+ "oxfmt": "0.70.0",
55
+ "oxlint": "^1.85.0",
56
+ "oxlint-tsgolint": "^7.0.2002",
57
57
  "typescript": "^7.0.2",
58
58
  "vitest": "^5.0.1"
59
59
  },