coursecast 0.2.0 → 0.2.1

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
@@ -43,7 +43,7 @@ The engine is what writes the content. Pick with `--engine`:
43
43
  coursecast "learn rust" --engine gemini
44
44
  ```
45
45
 
46
- Gemini extras: `GEMINI_MODEL` overrides the model (default `gemini-2.5-flash`);
46
+ Gemini extras: `GEMINI_MODEL` overrides the model (default `gemini-3.5-flash`);
47
47
  `COURSECAST_RESEARCH=0` skips the web-search research pass (faster, cheaper, less current).
48
48
 
49
49
  ## All flags
@@ -25,7 +25,7 @@ USAGE
25
25
 
26
26
  OPTIONS
27
27
  --engine <id> generation engine: claude-code (default), gemini, codex, stub
28
- --model <id> model hint passed to the engine (e.g. gemini-2.5-flash)
28
+ --model <id> model hint passed to the engine (e.g. gemini-3.5-flash)
29
29
  --storage <id> progress storage: local (default, no setup), cloud (sync across devices)
30
30
  --provider <id> deploy target: vercel (default), netlify
31
31
  --lessons <n> target number of lessons (default ~12)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coursecast",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "One prompt → a full interactive course — live widgets, quizzes, a mastery dashboard — rendered to self-contained HTML and deployed live.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,14 +4,14 @@
4
4
  // schema rather than inventing them from stale training data.
5
5
  //
6
6
  // Requires: GEMINI_API_KEY (free tier works — https://aistudio.google.com/apikey)
7
- // Optional: GEMINI_MODEL (default "gemini-2.5-flash"), COURSECAST_RESEARCH=0 to skip search.
7
+ // Optional: GEMINI_MODEL (default "gemini-3.5-flash"), COURSECAST_RESEARCH=0 to skip search.
8
8
 
9
9
  import { buildSyllabusPrompt, buildLessonPrompt, finalizeLesson, extractJsonObject } from './shared-prompts.mjs'
10
10
 
11
11
  export const name = 'gemini'
12
12
 
13
13
  const API = 'https://generativelanguage.googleapis.com/v1beta/models'
14
- const DEFAULT_MODEL = process.env.GEMINI_MODEL || 'gemini-2.5-flash'
14
+ const DEFAULT_MODEL = process.env.GEMINI_MODEL || 'gemini-3.5-flash'
15
15
  const RESEARCH_ON = process.env.COURSECAST_RESEARCH !== '0'
16
16
 
17
17
  function apiKey() {