yt-briefing 1.0.0 → 1.1.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.
package/README.md CHANGED
@@ -61,7 +61,7 @@ YT_BRIEFING_YOUTUBE_API_KEY=<key> # console.cloud.google.com → enable "YouT
61
61
  ```
62
62
 
63
63
  Optional extras: `YT_BRIEFING_MODEL` picks the Claude model for filtering and summaries (default
64
- `haiku`, any alias or model name `claude --model` accepts), and `YT_BRIEFING_PROXY` routes
64
+ `sonnet`, any alias or model name `claude --model` accepts, `haiku` for faster runs), and `YT_BRIEFING_PROXY` routes
65
65
  transcript fetches through a proxy on datacenter/VPS IPs.
66
66
 
67
67
  4. Onboard:
package/dist/lib/llm.js CHANGED
@@ -15,11 +15,15 @@
15
15
  * (or a "credit balance too low" failure). The briefing is meant to run on the login.
16
16
  *
17
17
  * Env (all optional):
18
- * YT_BRIEFING_MODEL model alias or full name passed to `claude --model` (default: haiku)
18
+ * YT_BRIEFING_MODEL model alias or full name passed to `claude --model` (default: sonnet)
19
19
  */
20
20
  import { spawn, spawnSync } from 'node:child_process';
21
- /** Model alias for every call; one model does both stages, as before. */
22
- export const DEFAULT_MODEL = 'haiku';
21
+ /**
22
+ * Model alias for every call; one model does both stages. Sonnet: the summary is the product, and a
23
+ * subscription login does not bill per token, so the default buys quality over speed. Set
24
+ * YT_BRIEFING_MODEL=haiku for faster, lighter runs.
25
+ */
26
+ export const DEFAULT_MODEL = 'sonnet';
23
27
  export function getModel() {
24
28
  return process.env.YT_BRIEFING_MODEL || DEFAULT_MODEL;
25
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-briefing",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "A self-learning YouTube briefing for Claude Code: it sweeps the channels you follow, filters noise in two stages (title, then transcript), gives you a short briefing of the rest in your language in a pane, and adapts to your ratings — one video at a time.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "yt-briefing",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "The /yt briefing loop as a Claude Code pane: summary, one-key rating, research hand-off.",
5
- "author": { "name": "Michal Ryzio" },
5
+ "author": {
6
+ "name": "Michal Ryzio"
7
+ },
6
8
  "types": "./types/index.d.ts"
7
9
  }