granola-toolkit 0.22.0 → 0.24.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.
Files changed (3) hide show
  1. package/README.md +34 -1
  2. package/dist/cli.js +838 -151
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -193,12 +193,18 @@ The machine-readable `export` command includes:
193
193
  The initial server API includes:
194
194
 
195
195
  - `GET /health`
196
+ - `GET /auth/status`
196
197
  - `GET /state`
197
198
  - `GET /events` for server-sent state updates
198
199
  - `GET /meetings`
200
+ - `GET /meetings?refresh=true` to bypass the local meeting index and force a live refresh
199
201
  - `GET /meetings/resolve?q=<query>`
200
202
  - `GET /meetings/:id`
201
203
  - `GET /exports/jobs`
204
+ - `POST /auth/login`
205
+ - `POST /auth/logout`
206
+ - `POST /auth/mode`
207
+ - `POST /auth/refresh`
202
208
  - `POST /exports/notes`
203
209
  - `POST /exports/jobs/:id/rerun`
204
210
  - `POST /exports/transcripts`
@@ -212,15 +218,29 @@ This is the foundation for the future `granola web` client and any attachable TU
212
218
  The initial browser client includes:
213
219
 
214
220
  - a searchable meeting list
221
+ - a fast local-index warm start for meeting browsing before live documents finish loading
215
222
  - sort and updated-date filters
216
223
  - quick open by meeting id or title
217
224
  - a focused meeting workspace with notes, transcript, metadata, and raw tabs
218
225
  - keyboard-first workspace switching with `1`-`4`, `[` and `]`
219
226
  - app-state status from the shared core
227
+ - an auth session panel for login, refresh, source switching, and sign-out
220
228
  - note and transcript export actions backed by the same local API
221
229
  - a recent export-jobs panel with rerun actions
222
230
  - stronger empty and error states for list/detail failures
223
231
 
232
+ ### Local Meeting Index
233
+
234
+ Interactive meeting browsing now keeps a local index of meeting summaries and metadata.
235
+
236
+ That index is used to:
237
+
238
+ - make the web meeting list available quickly on startup
239
+ - keep search, sort, and date filtering useful before every live document payload is fetched again
240
+ - refresh itself after successful live loads so the next run starts warm
241
+
242
+ The web client uses the index as a fast path and upgrades to live data automatically when the background refresh completes. The manual Refresh button bypasses the index and forces a live meeting fetch immediately.
243
+
224
244
  ### Export Jobs
225
245
 
226
246
  Exports are now tracked as jobs with:
@@ -239,9 +259,22 @@ If you do not want to keep passing `--supabase`, import the desktop app session
239
259
  ```bash
240
260
  granola auth login
241
261
  granola auth status
262
+ granola auth refresh
263
+ granola auth use stored
264
+ granola auth use supabase
242
265
  ```
243
266
 
244
- That stores a reusable Granola session locally and lets `granola notes` use it directly. `granola auth logout` deletes the stored session.
267
+ That stores a reusable Granola session locally and lets `granola notes` use it directly.
268
+
269
+ `granola auth` now supports:
270
+
271
+ - `login` to import the desktop app session into the toolkit store
272
+ - `status` to inspect the active source, stored-session availability, refresh support, and any last auth error
273
+ - `refresh` to refresh the stored session explicitly
274
+ - `use stored` or `use supabase` to switch the active auth source
275
+ - `logout` to delete the stored session
276
+
277
+ The same auth actions are also available from the web workspace.
245
278
 
246
279
  ### Incremental Writes
247
280