@steipete/summarize 0.21.5 → 0.21.7
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/CHANGELOG.md +27 -0
- package/README.md +2 -1
- package/dist/esm/llm/providers/shared.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/llm/providers/shared.d.ts +2 -1
- package/dist/types/run/flows/url/summary-json.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/docs/website.md +1 -1
- package/package.json +16 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.7 - 2026-07-27
|
|
4
|
+
|
|
5
|
+
### Highlights
|
|
6
|
+
|
|
7
|
+
- Chrome extension: restore persisted Logs and Processes tabs without aborting options-page startup (#370, #371; thanks @ostehost).
|
|
8
|
+
- Refresh policy-eligible dependencies and remove the vulnerable cleanup chain, including patched protobufjs and sharp transitive releases.
|
|
9
|
+
|
|
10
|
+
### Dependencies and maintenance
|
|
11
|
+
|
|
12
|
+
- Refresh the CLI, browser-media, test, formatting, lint, and GitHub Actions toolchain.
|
|
13
|
+
- Sign and notarize the Bun macOS executables, verify both architectures without signing credentials, and publish only the verified artifacts.
|
|
14
|
+
|
|
15
|
+
## 0.21.6 - 2026-07-18
|
|
16
|
+
|
|
17
|
+
### Highlights
|
|
18
|
+
|
|
19
|
+
- Xiaoyuzhou podcast pages now resolve their validated episode audio automatically for extraction and summaries.
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
- Podcasts: resolve Xiaoyuzhou episode pages through validated audio metadata (#364, thanks @Owengogogo).
|
|
24
|
+
|
|
25
|
+
### Dependencies and maintenance
|
|
26
|
+
|
|
27
|
+
- Refresh policy-eligible runtime, test, type, formatting, and lint dependencies.
|
|
28
|
+
- Pin patched `adm-zip` metadata handling for the extension's ONNX runtime toolchain.
|
|
29
|
+
|
|
3
30
|
## 0.21.5 - 2026-07-16
|
|
4
31
|
|
|
5
32
|
### Fixes
|
package/README.md
CHANGED
|
@@ -610,12 +610,13 @@ tries Groq first when configured, then ONNX before `whisper.cpp` and the remaini
|
|
|
610
610
|
- Select the local transcription stage: `--transcriber parakeet|canary|whisper|auto`
|
|
611
611
|
- Docs: `docs/nvidia-onnx-transcription.md`
|
|
612
612
|
|
|
613
|
-
### Verified podcast services (
|
|
613
|
+
### Verified podcast services (2026-07-17)
|
|
614
614
|
|
|
615
615
|
Run: `summarize <url>`
|
|
616
616
|
|
|
617
617
|
- Apple Podcasts
|
|
618
618
|
- Spotify
|
|
619
|
+
- Xiaoyuzhou
|
|
619
620
|
- Amazon Music / Audible podcast pages
|
|
620
621
|
- Podbean
|
|
621
622
|
- Podchaser
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/llm/providers/shared.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/llm/providers/shared.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAwB,MAAM,8BAA8B,CAAC;AAE9E,MAAM,UAAU,sBAAsB,CAAC,GAA8B;IACnE,MAAM,OAAO,GAAG,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1D,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,KAAiB;IAC7C,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,OAAyB;IACnD,MAAM,IAAI,GAAG,OAAO,CAAC,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QAAQ,EAAE,OAAgB,CAA0B,CAAC;IACvE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,EACnC,QAAQ,EACR,OAAO,EACP,GAAG,EACH,OAAO,EACP,WAAW,EACX,OAAO,GAQR;IACC,OAAO;QACL,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,GAAG,QAAQ,IAAI,OAAO,EAAE;QAC9B,GAAG;QACH,QAAQ;QACR,OAAO;QACP,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QACjD,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE;QAC1D,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,MAAM;QACjB,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAChC,CAAC;AACJ,CAAC"}
|
package/dist/esm/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
-
export const FALLBACK_VERSION = "0.21.
|
|
4
|
+
export const FALLBACK_VERSION = "0.21.7";
|
|
5
5
|
export function resolvePackageVersion(importMetaUrl) {
|
|
6
6
|
const injected = typeof process !== "undefined" && typeof process.env.SUMMARIZE_VERSION === "string"
|
|
7
7
|
? process.env.SUMMARIZE_VERSION.trim()
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { Api, AssistantMessage, Context, KnownProvider, Model } from "@earendil-works/pi-ai";
|
|
2
|
+
import { type BuiltinProvider } from "@earendil-works/pi-ai/compat";
|
|
2
3
|
export declare function resolveBaseUrlOverride(raw: string | null | undefined): string | null;
|
|
3
4
|
export declare function bytesToBase64(bytes: Uint8Array): string;
|
|
4
5
|
export declare function extractText(message: AssistantMessage): string;
|
|
5
6
|
export declare function throwIfAssistantMessageFailed(message: AssistantMessage, modelId: string): void;
|
|
6
7
|
export declare function wantsImages(context: Context): boolean;
|
|
7
|
-
export declare function tryGetModel(provider:
|
|
8
|
+
export declare function tryGetModel(provider: BuiltinProvider, modelId: string): Model<Api> | null;
|
|
8
9
|
export declare function createSyntheticModel({ provider, modelId, api, baseUrl, allowImages, headers, }: {
|
|
9
10
|
provider: KnownProvider;
|
|
10
11
|
modelId: string;
|
|
@@ -16,9 +16,9 @@ export declare function buildUrlJsonInput(options: {
|
|
|
16
16
|
markdown: "auto" | "llm" | "off" | "readability";
|
|
17
17
|
timestamps: boolean;
|
|
18
18
|
length: {
|
|
19
|
-
maxCharacters?: undefined;
|
|
20
19
|
kind: "preset";
|
|
21
20
|
preset: "long" | "medium" | "short" | "xl" | "xxl";
|
|
21
|
+
maxCharacters?: undefined;
|
|
22
22
|
} | {
|
|
23
23
|
preset?: undefined;
|
|
24
24
|
kind: "chars";
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const FALLBACK_VERSION = "0.21.
|
|
1
|
+
export declare const FALLBACK_VERSION = "0.21.7";
|
|
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/website.md
CHANGED
|
@@ -24,7 +24,7 @@ Use this for non-YouTube URLs.
|
|
|
24
24
|
- Use `--firecrawl always` to try Firecrawl first for non-YouTube URLs.
|
|
25
25
|
- With `--format md`, `--markdown-mode auto|llm|readability` can also convert HTML → Markdown via an LLM using the configured `--model` (no provider fallback).
|
|
26
26
|
- With `--format md`, `--markdown-mode auto` may fall back to `uvx markitdown` when available (disable with `--preprocess off`).
|
|
27
|
-
- For podcast URLs (Apple Podcasts, RSS, Spotify episodes), it downloads the episode audio and transcribes via Whisper (Groq first when configured, then local ONNX/`whisper.cpp`, then cloud fallbacks); progress shows “Downloading audio …” then “Transcribing …” (duration uses RSS hints or `ffprobe` when available).
|
|
27
|
+
- For podcast URLs (Apple Podcasts, RSS, Spotify, and Xiaoyuzhou episodes), it downloads the episode audio and transcribes via Whisper (Groq first when configured, then local ONNX/`whisper.cpp`, then cloud fallbacks); progress shows “Downloading audio …” then “Transcribing …” (duration uses RSS hints or `ffprobe` when available).
|
|
28
28
|
|
|
29
29
|
Daemon note:
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steipete/summarize",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.7",
|
|
4
4
|
"description": "Link → clean text → summary.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"summarize": "./dist/cli.js",
|
|
@@ -33,30 +33,29 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@earendil-works/pi-ai": "^0.80.
|
|
36
|
+
"@earendil-works/pi-ai": "^0.80.10",
|
|
37
37
|
"bpe-lite": "^0.5.2",
|
|
38
38
|
"commander": "^15.0.0",
|
|
39
39
|
"file-type": "^22.0.1",
|
|
40
40
|
"json5": "^2.2.3",
|
|
41
|
-
"markdansi": "^0.3.
|
|
41
|
+
"markdansi": "^0.3.2",
|
|
42
42
|
"mime": "^4.1.0",
|
|
43
|
-
"osc-progress": "^0.3.
|
|
44
|
-
"tokentally": "^0.1.
|
|
45
|
-
"undici": "8.
|
|
46
|
-
"@steipete/summarize-core": "0.21.
|
|
43
|
+
"osc-progress": "^0.3.2",
|
|
44
|
+
"tokentally": "^0.1.2",
|
|
45
|
+
"undici": "8.7.0",
|
|
46
|
+
"@steipete/summarize-core": "0.21.7"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "^24.13.
|
|
49
|
+
"@types/node": "^24.13.3",
|
|
50
50
|
"@types/sanitize-html": "^2.16.1",
|
|
51
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
52
|
-
"@vitest/coverage-v8": "^4.1.
|
|
53
|
-
"happy-dom": "^20.
|
|
54
|
-
"oxfmt": "0.
|
|
55
|
-
"oxlint": "^1.
|
|
56
|
-
"oxlint-tsgolint": "^0.
|
|
57
|
-
"rimraf": "^6.1.3",
|
|
51
|
+
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
52
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
53
|
+
"happy-dom": "^20.11.0",
|
|
54
|
+
"oxfmt": "0.59.0",
|
|
55
|
+
"oxlint": "^1.74.0",
|
|
56
|
+
"oxlint-tsgolint": "^0.25.0",
|
|
58
57
|
"typescript": "^6.0.3",
|
|
59
|
-
"vitest": "^4.1.
|
|
58
|
+
"vitest": "^4.1.10"
|
|
60
59
|
},
|
|
61
60
|
"engines": {
|
|
62
61
|
"node": ">=24"
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
"build:cli": "node scripts/build-cli.mjs",
|
|
69
68
|
"build:lib": "tsgo -p tsconfig.build.json",
|
|
70
69
|
"check": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm test:coverage",
|
|
71
|
-
"clean": "
|
|
70
|
+
"clean": "node scripts/clean.mjs dist packages/core/dist",
|
|
72
71
|
"dev:cli": "node --import ./scripts/register-typescript.mjs src/cli.ts",
|
|
73
72
|
"docs:build": "node scripts/build-docs-site.mjs",
|
|
74
73
|
"docs:list": "node --import ./scripts/register-typescript.mjs scripts/docs-list.ts",
|