Releases: agmmnn/notebooklm-sdk
Releases · agmmnn/notebooklm-sdk
v0.3.4
Patch Changes
-
Improve long-running artifact polling ergonomics.
- add
artifacts.pollUntilReady()with timeout, interval,onTick, andAbortSignalsupport - keep stricter audio/video readiness behavior so polling waits for usable media URLs
- add a cinematic video example and update artifact polling docs/examples to use the higher-level helper
- add
v0.3.3
Patch Changes
-
Improve SDK ergonomics and runtime reliability.
- add new client helpers across notebooks, sources, notes, chat, and artifacts
- add
artifacts.pollStatus()for non-blocking status checks - auto-refresh auth and retry once on many
401/403failures - make artifact media polling wait for usable audio/video URLs
- allow
chat.configure()defaults - update API docs to match the current TypeScript surface
v0.3.2
v0.3.1
Patch Changes
-
6979caf: feat: add sources.addDrive, chat.configure, and artifact list helpers
sources.addDrive(notebookId, fileId, title, mimeType?)— add a Google Drive file as a source; newDriveMimeTypeenumchat.configure(notebookId, goal, length, customPrompt?)— low-level chat config with newChatGoalandChatResponseLengthenumsartifacts.listAudio/Video/Reports/Quizzes/Flashcards/Infographics/SlideDecks/DataTables— type-filtered list helpers
v0.3.0
Minor Changes
-
1d13d40: Add 7 new API methods reaching parity with the Python SDK
New artifact methods:
artifacts.reviseSlide(notebookId, artifactId, slideIndex, prompt)— edit an individual slide in a completed slide deckartifacts.suggestReports(notebookId)— get AI-suggested report formats based on notebook content
New source methods:
sources.getGuide(notebookId, sourceId)— get the AI-generated Source Guide (summary + keywords)sources.getFulltext(notebookId, sourceId)— get the full indexed text content of a sourcesources.checkFreshness(notebookId, sourceId)— check if a URL source has newer content available
New notebook method:
notebooks.removeFromRecent(notebookId)— remove a notebook from the recently viewed list
New chat method:
chat.setMode(notebookId, mode)— set chat response style withChatModeenum (DEFAULT,CONCISE,DETAILED,LEARNING_GUIDE)
New exported types:
ReportSuggestion,SourceGuide,SourceFulltext(expanded),ChatMode,ChatModeValue
v0.2.0
Minor Changes
-
Notes & Mind Map overhaul — correct RPC params, new methods, bug fixes
New features
client.notes.list(notebookId)— list user-created text notes (mind maps excluded)client.notes.listMindMaps(notebookId)— list AI-generated mind maps saved in the notebookclient.artifacts.createMindMap(notebookId, sourceIds?)— generate a mind map synchronously; saves it as a note and returns theNote- Slide deck, infographic, and data table artifact downloads (
downloadSlideDeck,downloadInfographic,getDataTableContent) .vscode/settings.json— Biome auto-format on save for the project
Bug fixes
- Fixed
GET_NOTES_AND_MIND_MAPSRPC params — removed spurious[2]trailer that caused null responses - Fixed
CREATE_NOTERPC params — Google ignores content/title on create; now creates empty note then callsUPDATE_NOTEto set content and title - Fixed
UPDATE_NOTERPC params — correct nested format[notebookId, noteId, [[[content, title, [], 0]]]] - Fixed
DELETE_NOTERPC params — correct format[notebookId, null, [noteId]] - Fixed note/mind map title parsing — title is at
item[1][4]in the new API response format, notitem[2] - Fixed mind map generation —
GENERATE_MIND_MAPRPC returns content synchronously (does not persist); content is now extracted fromresult[0][0]and saved explicitly - Fixed lint warning in
research.ts— replaced non-null assertion with type-safe filter
Breaking changes
client.notes.list()now returnsNote[]instead of{ notes, mindMaps }— uselistMindMaps()for mind mapsMindMaptype removed — mind maps are now represented asNoteobjectsclient.notes.getMindMapContent()removed — uselistMindMaps()andJSON.parse(note.content)directlyclient.artifacts.createMindMap()now returnsNoteinstead ofGenerationStatus
v0.1.8
Full Changelog: v0.1.7...v0.1.8
v0.1.7
Full Changelog: v0.1.5...v0.1.7
v0.1.6
Full Changelog: v0.1.5...v0.1.6
v0.1.5
Full Changelog: v0.1.4...v0.1.5