granola-toolkit 0.21.1 → 0.23.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 +38 -1
- package/dist/cli.js +1108 -151
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,6 +33,7 @@ Installed command:
|
|
|
33
33
|
```bash
|
|
34
34
|
granola --help
|
|
35
35
|
granola auth login
|
|
36
|
+
granola exports --help
|
|
36
37
|
granola meeting --help
|
|
37
38
|
granola notes --help
|
|
38
39
|
granola serve --help
|
|
@@ -47,6 +48,7 @@ Local build:
|
|
|
47
48
|
```bash
|
|
48
49
|
vp pack
|
|
49
50
|
node dist/cli.js --help
|
|
51
|
+
node dist/cli.js exports --help
|
|
50
52
|
node dist/cli.js meeting --help
|
|
51
53
|
node dist/cli.js notes --help
|
|
52
54
|
node dist/cli.js serve --help
|
|
@@ -73,6 +75,8 @@ granola notes
|
|
|
73
75
|
|
|
74
76
|
node dist/cli.js notes --supabase "$HOME/Library/Application Support/Granola/supabase.json"
|
|
75
77
|
node dist/cli.js notes --format json --output ./notes-json
|
|
78
|
+
granola exports list
|
|
79
|
+
granola exports rerun notes-1234abcd
|
|
76
80
|
```
|
|
77
81
|
|
|
78
82
|
Export transcripts:
|
|
@@ -189,12 +193,19 @@ The machine-readable `export` command includes:
|
|
|
189
193
|
The initial server API includes:
|
|
190
194
|
|
|
191
195
|
- `GET /health`
|
|
196
|
+
- `GET /auth/status`
|
|
192
197
|
- `GET /state`
|
|
193
198
|
- `GET /events` for server-sent state updates
|
|
194
199
|
- `GET /meetings`
|
|
195
200
|
- `GET /meetings/resolve?q=<query>`
|
|
196
201
|
- `GET /meetings/:id`
|
|
202
|
+
- `GET /exports/jobs`
|
|
203
|
+
- `POST /auth/login`
|
|
204
|
+
- `POST /auth/logout`
|
|
205
|
+
- `POST /auth/mode`
|
|
206
|
+
- `POST /auth/refresh`
|
|
197
207
|
- `POST /exports/notes`
|
|
208
|
+
- `POST /exports/jobs/:id/rerun`
|
|
198
209
|
- `POST /exports/transcripts`
|
|
199
210
|
|
|
200
211
|
This is the foundation for the future `granola web` client and any attachable TUI flows.
|
|
@@ -211,9 +222,22 @@ The initial browser client includes:
|
|
|
211
222
|
- a focused meeting workspace with notes, transcript, metadata, and raw tabs
|
|
212
223
|
- keyboard-first workspace switching with `1`-`4`, `[` and `]`
|
|
213
224
|
- app-state status from the shared core
|
|
225
|
+
- an auth session panel for login, refresh, source switching, and sign-out
|
|
214
226
|
- note and transcript export actions backed by the same local API
|
|
227
|
+
- a recent export-jobs panel with rerun actions
|
|
215
228
|
- stronger empty and error states for list/detail failures
|
|
216
229
|
|
|
230
|
+
### Export Jobs
|
|
231
|
+
|
|
232
|
+
Exports are now tracked as jobs with:
|
|
233
|
+
|
|
234
|
+
- persistent local history across CLI and web runs
|
|
235
|
+
- running, completed, and failed status
|
|
236
|
+
- per-export progress counters
|
|
237
|
+
- rerun support from `granola exports rerun <job-id>` or the web client
|
|
238
|
+
|
|
239
|
+
Use `granola exports list` to inspect recent jobs from the CLI.
|
|
240
|
+
|
|
217
241
|
## Auth
|
|
218
242
|
|
|
219
243
|
If you do not want to keep passing `--supabase`, import the desktop app session once:
|
|
@@ -221,9 +245,22 @@ If you do not want to keep passing `--supabase`, import the desktop app session
|
|
|
221
245
|
```bash
|
|
222
246
|
granola auth login
|
|
223
247
|
granola auth status
|
|
248
|
+
granola auth refresh
|
|
249
|
+
granola auth use stored
|
|
250
|
+
granola auth use supabase
|
|
224
251
|
```
|
|
225
252
|
|
|
226
|
-
That stores a reusable Granola session locally and lets `granola notes` use it directly.
|
|
253
|
+
That stores a reusable Granola session locally and lets `granola notes` use it directly.
|
|
254
|
+
|
|
255
|
+
`granola auth` now supports:
|
|
256
|
+
|
|
257
|
+
- `login` to import the desktop app session into the toolkit store
|
|
258
|
+
- `status` to inspect the active source, stored-session availability, refresh support, and any last auth error
|
|
259
|
+
- `refresh` to refresh the stored session explicitly
|
|
260
|
+
- `use stored` or `use supabase` to switch the active auth source
|
|
261
|
+
- `logout` to delete the stored session
|
|
262
|
+
|
|
263
|
+
The same auth actions are also available from the web workspace.
|
|
227
264
|
|
|
228
265
|
### Incremental Writes
|
|
229
266
|
|