@tutorflow/cli 0.5.0 → 0.5.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
@@ -73,10 +73,10 @@ All ids are UUIDs. Every command accepts `--json`.
73
73
 
74
74
  | Command | Route | Credits |
75
75
  | --- | --- | --- |
76
- | `course generate [prompt] [--lessons] [--language] [--level] [--title] [--description]` | `POST …/courses/generate` | 3 + 3 per lesson |
76
+ | `course generate [prompt] [--lessons] [--language] [--level] [--title] [--description]` | `POST …/courses/generate` | 3 + 6 per lesson |
77
77
  | `slide generate [topic] [--count 5-20] [--theme] [--instructions] [--text-length concise\|detailed]` | `POST …/slides/generate` | per page |
78
78
  | `test generate [topic] [--items] [--item-types select,blank,…] [--level] [--total-score]` | `POST …/tests/generate` | 3 |
79
- | `module generate [topic] [--type markdown\|ai-tutor\|flashcard\|…] [--reference]` | `POST …/modules/generate` | 3 |
79
+ | `module generate [topic] [--type markdown\|ai-tutor\|flashcard\|…] [--reference]` | `POST …/modules/generate` | 6 |
80
80
 
81
81
  `generate` (alias `create`) answers `202` with a run. Add `--wait [--timeout <seconds>]` to poll the run and print `{ run, resource }` with the resource's `editorUrl` and `publicUrl`. Every generate accepts `--idempotency-key`.
82
82
 
@@ -10,7 +10,7 @@ function courseCommand() {
10
10
  const course = new commander_1.Command('course').description('Generate and manage classroom courses');
11
11
  (0, resource_1.addGenerateCommand)(course, {
12
12
  ...COURSES,
13
- description: 'Generate a course with every lesson (3 credits for the outline + 3 per lesson)',
13
+ description: 'Generate a course with every lesson (3 credits for the outline + 6 per lesson)',
14
14
  promptLabel: 'Describe the course',
15
15
  example: 'tutorflow course generate "Beginner Python" --lessons 5 --wait',
16
16
  configure: (cmd) => cmd
@@ -9,7 +9,7 @@ function moduleCommand() {
9
9
  const module = new commander_1.Command('module').description('Generate and manage interactive lesson modules');
10
10
  (0, resource_1.addGenerateCommand)(module, {
11
11
  ...MODULES,
12
- description: 'Generate an interactive lesson module (3 credits)',
12
+ description: 'Generate an interactive lesson module (6 credits)',
13
13
  promptLabel: 'Describe the module',
14
14
  example: 'tutorflow module generate "Fractions for 5th grade" --wait',
15
15
  configure: (cmd) => cmd
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutorflow/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "TutorFlow CLI - agent-friendly command line for the TutorFlow Content API: generate courses, slides, tests, modules, videos, games and simulations, grade learner answers, and manage learners and webhooks. Supports --json output, env-var auth, --wait polling, and non-interactive use.",
5
5
  "keywords": [
6
6
  "tutorflow",