@roomi-fields/notebooklm-mcp 1.5.7 → 1.5.9

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 (295) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +219 -219
  3. package/deployment/INDEX.md +0 -0
  4. package/deployment/PACKAGE-FILES.txt +180 -180
  5. package/deployment/QUICK-START.md +0 -0
  6. package/deployment/docs/01-INSTALL.md +21 -1
  7. package/deployment/docs/02-CONFIGURATION.md +0 -0
  8. package/deployment/docs/03-API.md +16 -10
  9. package/deployment/docs/04-N8N-INTEGRATION.md +0 -0
  10. package/deployment/docs/05-TROUBLESHOOTING.md +19 -1
  11. package/deployment/docs/06-NOTEBOOK-LIBRARY.md +9 -9
  12. package/deployment/docs/07-AUTO-DISCOVERY.md +6 -15
  13. package/deployment/docs/08-DOCKER.md +0 -0
  14. package/deployment/docs/08-WSL-USAGE.md +7 -7
  15. package/deployment/docs/09-MULTI-INTERFACE.md +6 -6
  16. package/deployment/docs/10-CONTENT-MANAGEMENT.md +15 -19
  17. package/deployment/docs/11-MULTI-ACCOUNT.md +1 -1
  18. package/deployment/docs/README.md +4 -50
  19. package/deployment/scripts/README.md +0 -0
  20. package/deployment/scripts/install.ps1 +114 -114
  21. package/deployment/scripts/setup-auth.ps1 +217 -217
  22. package/deployment/scripts/start-server.ps1 +72 -72
  23. package/deployment/scripts/stop-server.ps1 +51 -51
  24. package/deployment/scripts/test-api.ps1 +651 -651
  25. package/deployment/scripts/test-auth.ps1 +0 -0
  26. package/deployment/scripts/test-auto-discovery.ps1 +295 -295
  27. package/deployment/scripts/test-cors.ps1 +398 -398
  28. package/deployment/scripts/test-errors.ps1 +581 -581
  29. package/deployment/scripts/test-server.ps1 +140 -140
  30. package/deployment/scripts/test-sessions.ps1 +426 -426
  31. package/deployment/scripts/test-validation.ps1 +299 -299
  32. package/dist/accounts/account-manager.d.ts +0 -0
  33. package/dist/accounts/account-manager.d.ts.map +0 -0
  34. package/dist/accounts/account-manager.js +0 -0
  35. package/dist/accounts/account-manager.js.map +0 -0
  36. package/dist/accounts/auto-login-manager.d.ts +0 -0
  37. package/dist/accounts/auto-login-manager.d.ts.map +0 -0
  38. package/dist/accounts/auto-login-manager.js +0 -0
  39. package/dist/accounts/auto-login-manager.js.map +0 -0
  40. package/dist/accounts/crypto.d.ts +0 -0
  41. package/dist/accounts/crypto.d.ts.map +0 -0
  42. package/dist/accounts/crypto.js +0 -0
  43. package/dist/accounts/crypto.js.map +0 -0
  44. package/dist/accounts/index.d.ts +0 -0
  45. package/dist/accounts/index.d.ts.map +0 -0
  46. package/dist/accounts/index.js +0 -0
  47. package/dist/accounts/index.js.map +0 -0
  48. package/dist/accounts/types.d.ts +0 -0
  49. package/dist/accounts/types.d.ts.map +0 -0
  50. package/dist/accounts/types.js +0 -0
  51. package/dist/accounts/types.js.map +0 -0
  52. package/dist/auth/auth-manager.d.ts +0 -0
  53. package/dist/auth/auth-manager.d.ts.map +0 -0
  54. package/dist/auth/auth-manager.js +0 -0
  55. package/dist/auth/auth-manager.js.map +0 -0
  56. package/dist/auto-discovery/auto-discovery.d.ts +0 -0
  57. package/dist/auto-discovery/auto-discovery.d.ts.map +0 -0
  58. package/dist/auto-discovery/auto-discovery.js +0 -0
  59. package/dist/auto-discovery/auto-discovery.js.map +0 -0
  60. package/dist/cli/accounts.d.ts +0 -0
  61. package/dist/cli/accounts.d.ts.map +0 -0
  62. package/dist/cli/accounts.js +0 -0
  63. package/dist/cli/accounts.js.map +0 -0
  64. package/dist/cli/de-auth.d.ts +0 -0
  65. package/dist/cli/de-auth.d.ts.map +0 -0
  66. package/dist/cli/de-auth.js +0 -0
  67. package/dist/cli/de-auth.js.map +0 -0
  68. package/dist/cli/help.d.ts +0 -0
  69. package/dist/cli/help.d.ts.map +0 -0
  70. package/dist/cli/help.js +5 -0
  71. package/dist/cli/help.js.map +1 -1
  72. package/dist/cli/setup-auth.d.ts +0 -0
  73. package/dist/cli/setup-auth.d.ts.map +0 -0
  74. package/dist/cli/setup-auth.js +0 -0
  75. package/dist/cli/setup-auth.js.map +0 -0
  76. package/dist/config.d.ts +0 -0
  77. package/dist/config.d.ts.map +0 -0
  78. package/dist/config.js +0 -0
  79. package/dist/config.js.map +0 -0
  80. package/dist/content/content-generator.d.ts +0 -0
  81. package/dist/content/content-generator.d.ts.map +0 -0
  82. package/dist/content/content-generator.js +0 -0
  83. package/dist/content/content-generator.js.map +0 -0
  84. package/dist/content/content-manager.d.ts +8 -0
  85. package/dist/content/content-manager.d.ts.map +1 -1
  86. package/dist/content/content-manager.js +411 -67
  87. package/dist/content/content-manager.js.map +1 -1
  88. package/dist/content/content-templates.d.ts +0 -0
  89. package/dist/content/content-templates.d.ts.map +0 -0
  90. package/dist/content/content-templates.js +0 -0
  91. package/dist/content/content-templates.js.map +0 -0
  92. package/dist/content/index.d.ts +0 -0
  93. package/dist/content/index.d.ts.map +0 -0
  94. package/dist/content/index.js +0 -0
  95. package/dist/content/index.js.map +0 -0
  96. package/dist/content/types.d.ts +0 -0
  97. package/dist/content/types.d.ts.map +0 -0
  98. package/dist/content/types.js +0 -0
  99. package/dist/content/types.js.map +0 -0
  100. package/dist/errors.d.ts +0 -0
  101. package/dist/errors.d.ts.map +0 -0
  102. package/dist/errors.js +0 -0
  103. package/dist/errors.js.map +0 -0
  104. package/dist/http-wrapper.d.ts +0 -0
  105. package/dist/http-wrapper.d.ts.map +0 -0
  106. package/dist/http-wrapper.js +0 -0
  107. package/dist/http-wrapper.js.map +0 -0
  108. package/dist/i18n/en.json +0 -0
  109. package/dist/i18n/fr.json +0 -0
  110. package/dist/i18n/index.d.ts +0 -0
  111. package/dist/i18n/index.d.ts.map +0 -0
  112. package/dist/i18n/index.js +0 -0
  113. package/dist/i18n/index.js.map +0 -0
  114. package/dist/index.d.ts +0 -0
  115. package/dist/index.d.ts.map +0 -0
  116. package/dist/index.js +8 -3
  117. package/dist/index.js.map +1 -1
  118. package/dist/library/notebook-library.d.ts +0 -0
  119. package/dist/library/notebook-library.d.ts.map +0 -0
  120. package/dist/library/notebook-library.js +0 -0
  121. package/dist/library/notebook-library.js.map +0 -0
  122. package/dist/library/types.d.ts +0 -0
  123. package/dist/library/types.d.ts.map +0 -0
  124. package/dist/library/types.js +0 -0
  125. package/dist/library/types.js.map +0 -0
  126. package/dist/session/browser-session.d.ts +12 -0
  127. package/dist/session/browser-session.d.ts.map +1 -1
  128. package/dist/session/browser-session.js +156 -32
  129. package/dist/session/browser-session.js.map +1 -1
  130. package/dist/session/session-manager.d.ts +0 -0
  131. package/dist/session/session-manager.d.ts.map +0 -0
  132. package/dist/session/session-manager.js +0 -0
  133. package/dist/session/session-manager.js.map +0 -0
  134. package/dist/session/shared-context-manager.d.ts +0 -0
  135. package/dist/session/shared-context-manager.d.ts.map +0 -0
  136. package/dist/session/shared-context-manager.js +0 -0
  137. package/dist/session/shared-context-manager.js.map +0 -0
  138. package/dist/startup/startup-manager.d.ts +0 -0
  139. package/dist/startup/startup-manager.d.ts.map +0 -0
  140. package/dist/startup/startup-manager.js +0 -0
  141. package/dist/startup/startup-manager.js.map +0 -0
  142. package/dist/stdio-http-proxy.d.ts +0 -0
  143. package/dist/stdio-http-proxy.d.ts.map +0 -0
  144. package/dist/stdio-http-proxy.js +7 -2
  145. package/dist/stdio-http-proxy.js.map +1 -1
  146. package/dist/tools/index.d.ts +0 -0
  147. package/dist/tools/index.d.ts.map +0 -0
  148. package/dist/tools/index.js +0 -0
  149. package/dist/tools/index.js.map +0 -0
  150. package/dist/types.d.ts +0 -0
  151. package/dist/types.d.ts.map +0 -0
  152. package/dist/types.js +0 -0
  153. package/dist/types.js.map +0 -0
  154. package/dist/utils/citation-extractor.d.ts +0 -0
  155. package/dist/utils/citation-extractor.d.ts.map +0 -0
  156. package/dist/utils/citation-extractor.js +67 -67
  157. package/dist/utils/citation-extractor.js.map +0 -0
  158. package/dist/utils/cleanup-manager.d.ts +0 -0
  159. package/dist/utils/cleanup-manager.d.ts.map +0 -0
  160. package/dist/utils/cleanup-manager.js +0 -0
  161. package/dist/utils/cleanup-manager.js.map +0 -0
  162. package/dist/utils/logger.d.ts +0 -0
  163. package/dist/utils/logger.d.ts.map +0 -0
  164. package/dist/utils/logger.js +0 -0
  165. package/dist/utils/logger.js.map +0 -0
  166. package/dist/utils/page-utils.d.ts +5 -0
  167. package/dist/utils/page-utils.d.ts.map +1 -1
  168. package/dist/utils/page-utils.js +73 -15
  169. package/dist/utils/page-utils.js.map +1 -1
  170. package/dist/utils/stealth-utils.d.ts +0 -0
  171. package/dist/utils/stealth-utils.d.ts.map +0 -0
  172. package/dist/utils/stealth-utils.js +0 -0
  173. package/dist/utils/stealth-utils.js.map +0 -0
  174. package/docs/ADDING_A_LANGUAGE.md +0 -0
  175. package/docs/ARCHITECTURE_MIGRATION_STUDY.md +0 -0
  176. package/docs/CHROME_PROFILE_LIMITATION.md +0 -0
  177. package/docs/MULTI_ACCOUNT_SYSTEM.md +0 -0
  178. package/package.json +5 -2
  179. package/scripts/archive/add-and-activate-notebook.ps1 +4 -4
  180. package/scripts/archive/add-new-notebook.ps1 +4 -4
  181. package/scripts/archive/add-rom1pey.ps1 +2 -2
  182. package/scripts/archive/add-rpmonster.ps1 +2 -2
  183. package/scripts/archive/add-source-debug.ps1 +1 -1
  184. package/scripts/archive/add-source-e2e.ps1 +1 -1
  185. package/scripts/archive/add-source-visible.ps1 +1 -1
  186. package/scripts/archive/add-test-notebook.ps1 +1 -1
  187. package/scripts/archive/add-test-source.ps1 +1 -1
  188. package/scripts/archive/capture-screen.ps1 +1 -1
  189. package/scripts/archive/change-language.mjs +4 -3
  190. package/scripts/archive/change-language.ts +5 -3
  191. package/scripts/archive/check-account.ps1 +0 -0
  192. package/scripts/archive/check-notebook-2.ps1 +0 -0
  193. package/scripts/archive/check-test-notebook.ps1 +0 -0
  194. package/scripts/archive/create-notebook-auto.ps1 +0 -0
  195. package/scripts/archive/create-notebook.ps1 +2 -2
  196. package/scripts/archive/create-rom1pey-notebook.ps1 +2 -2
  197. package/scripts/archive/create-rom1pey.ps1 +2 -2
  198. package/scripts/archive/create-test-notebook-fresh.ps1 +0 -0
  199. package/scripts/archive/create-test-notebook.ps1 +0 -0
  200. package/scripts/archive/debug-add-source-auto.ps1 +0 -0
  201. package/scripts/archive/debug-add-source.ps1 +0 -0
  202. package/scripts/archive/debug-add-text-source.ps1 +4 -4
  203. package/scripts/archive/debug-home.ps1 +0 -0
  204. package/scripts/archive/debug-selectors.ps1 +1 -1
  205. package/scripts/archive/debug-sources-panel.ps1 +0 -0
  206. package/scripts/archive/debug-ui.ps1 +0 -0
  207. package/scripts/archive/discover-home.ps1 +2 -2
  208. package/scripts/archive/kill-automation-chrome.ps1 +0 -0
  209. package/scripts/archive/list-my-notebooks.ps1 +0 -0
  210. package/scripts/archive/navigate-home-visible.ps1 +1 -1
  211. package/scripts/archive/navigate-home.ps1 +1 -1
  212. package/scripts/archive/run-e2e-english.ps1 +3 -3
  213. package/scripts/archive/run-e2e-rom1pey-v2.ps1 +4 -4
  214. package/scripts/archive/run-e2e-rom1pey.ps1 +4 -4
  215. package/scripts/archive/setup-english-test.ps1 +6 -6
  216. package/scripts/archive/setup-test-notebook.ps1 +1 -1
  217. package/scripts/archive/simple-add-source.ps1 +1 -1
  218. package/scripts/archive/t10.ps1 +1 -1
  219. package/scripts/archive/t20.ps1 +1 -1
  220. package/scripts/archive/t30.ps1 +1 -1
  221. package/scripts/archive/t31.ps1 +1 -1
  222. package/scripts/archive/t32.ps1 +1 -1
  223. package/scripts/archive/t39.ps1 +0 -0
  224. package/scripts/archive/t40.ps1 +0 -0
  225. package/scripts/archive/t53.ps1 +1 -1
  226. package/scripts/archive/t54.ps1 +0 -0
  227. package/scripts/archive/t55.ps1 +0 -0
  228. package/scripts/archive/t9.ps1 +0 -0
  229. package/scripts/archive/test-access.ps1 +1 -1
  230. package/scripts/archive/test-add-delete-source.ps1 +4 -4
  231. package/scripts/archive/test-add-source-visible.ps1 +1 -1
  232. package/scripts/archive/test-add-source.ps1 +1 -1
  233. package/scripts/archive/test-add-text-debug.ps1 +2 -2
  234. package/scripts/archive/test-add-text-source.ps1 +0 -0
  235. package/scripts/archive/test-add-url-source.ps1 +0 -0
  236. package/scripts/archive/test-ask-ascii.ps1 +0 -0
  237. package/scripts/archive/test-ask-cnv.ps1 +0 -0
  238. package/scripts/archive/test-ask-headed.ps1 +1 -1
  239. package/scripts/archive/test-ask-ifs.ps1 +0 -0
  240. package/scripts/archive/test-ask-now.ps1 +0 -0
  241. package/scripts/archive/test-ask-real.ps1 +0 -0
  242. package/scripts/archive/test-ask-visible.ps1 +0 -0
  243. package/scripts/archive/test-create-notebook.ps1 +0 -0
  244. package/scripts/archive/test-create-then-add.ps1 +0 -0
  245. package/scripts/archive/test-delete-source.ps1 +4 -4
  246. package/scripts/archive/test-e2e-notebook.ps1 +2 -2
  247. package/scripts/archive/test-english-notebook.ps1 +4 -4
  248. package/scripts/archive/test-english.ps1 +1 -1
  249. package/scripts/archive/test-full-custom-instructions.ps1 +1 -1
  250. package/scripts/archive/test-full-infographic.ps1 +1 -1
  251. package/scripts/archive/test-full-language.ps1 +1 -1
  252. package/scripts/archive/test-full-presentation.ps1 +1 -1
  253. package/scripts/archive/test-full-report.ps1 +1 -1
  254. package/scripts/archive/test-full-source-selection.ps1 +1 -1
  255. package/scripts/archive/test-full-video-brief.ps1 +1 -1
  256. package/scripts/archive/test-full-video-explainer.ps1 +1 -1
  257. package/scripts/archive/test-full-video-styles.ps1 +1 -1
  258. package/scripts/archive/test-generate-report.ps1 +0 -0
  259. package/scripts/archive/test-generate-study-guide.ps1 +0 -0
  260. package/scripts/archive/test-headed-ask.ps1 +1 -1
  261. package/scripts/archive/test-headed-now.ps1 +2 -2
  262. package/scripts/archive/test-headed.ps1 +2 -2
  263. package/scripts/archive/test-hello.ps1 +1 -1
  264. package/scripts/archive/test-i18n-studio.ps1 +0 -0
  265. package/scripts/archive/test-i18n.ps1 +0 -0
  266. package/scripts/archive/test-manual-headed.ps1 +1 -1
  267. package/scripts/archive/test-mathieu-quota.ps1 +1 -1
  268. package/scripts/archive/test-notebook-1.ps1 +0 -0
  269. package/scripts/archive/test-notebook-2-sources.ps1 +0 -0
  270. package/scripts/archive/test-notebook1.ps1 +0 -0
  271. package/scripts/archive/test-personal-notebook.ps1 +1 -1
  272. package/scripts/archive/test-rate-limit.ps1 +1 -1
  273. package/scripts/archive/test-real-ask.ps1 +1 -1
  274. package/scripts/archive/test-real-ask2.ps1 +1 -1
  275. package/scripts/archive/test-rom1pey.ps1 +1 -1
  276. package/scripts/archive/test-rotation-complete.ps1 +1 -1
  277. package/scripts/archive/test-rotation.ps1 +2 -2
  278. package/scripts/archive/test-show-browser.ps1 +1 -1
  279. package/scripts/archive/test-update-notebook.ps1 +1 -1
  280. package/scripts/archive/verify-language-slow.ps1 +1 -1
  281. package/scripts/archive/verify-language.ps1 +1 -1
  282. package/scripts/check-server.ps1 +0 -0
  283. package/scripts/docker-entrypoint.sh +25 -25
  284. package/scripts/doctor.mjs +257 -0
  285. package/scripts/mcp-proxy-hidden.ps1 +0 -0
  286. package/scripts/mcp-wsl-helper.sh +146 -146
  287. package/scripts/start-server-hidden.vbs +13 -10
  288. package/scripts/start-server.ps1 +1 -1
  289. package/scripts/start-vnc.sh +0 -0
  290. package/scripts/stop-server.bat +0 -0
  291. package/scripts/stop-server.ps1 +0 -0
  292. package/scripts/switch-account-language.sh +87 -128
  293. package/scripts/test-account.ps1 +0 -0
  294. package/docs/archive/auto-discovery-complet.md +0 -906
  295. package/scripts/add-totp.ts +0 -110
@@ -1,2 +1,2 @@
1
- cd D:\Claude\notebooklm-mcp-http
2
- npm run accounts add "rpmonster@gmail.com" 'w^mXCKl$o7aaJpp!' "e6ty a6dz jckj 5ogf m4yi vabs 4ttg x3tl"
1
+ cd D:\path\to\notebooklm-mcp
2
+ npm run accounts add "agent-secondary@example.com" 'your-password' "your-totp-secret"
@@ -2,7 +2,7 @@ $body = @{
2
2
  source_type = "text"
3
3
  title = "Test Source"
4
4
  text = "Test document for E2E."
5
- notebook_url = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
5
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
6
6
  show_browser = $true
7
7
  } | ConvertTo-Json
8
8
 
@@ -1,5 +1,5 @@
1
1
  # Add source to test notebook with proper cleanup
2
- $testNotebookUrl = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
2
+ $testNotebookUrl = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
3
3
 
4
4
  Write-Host "Adding text source to test notebook..." -ForegroundColor Cyan
5
5
 
@@ -2,7 +2,7 @@ $body = @{
2
2
  source_type = "text"
3
3
  title = "E2E Test Source"
4
4
  text = "# E2E Test`n`nTest document for E2E testing. Contains info about NotebookLM MCP Server.`n`n## Features`n- REST API`n- Browser automation`n- Multi-account"
5
- notebook_url = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
5
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
6
6
  show_browser = $true
7
7
  } | ConvertTo-Json
8
8
 
@@ -1,5 +1,5 @@
1
1
  # Add test notebook to library (no browser needed)
2
- $testNotebookUrl = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
2
+ $testNotebookUrl = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
3
3
 
4
4
  $addBody = @{
5
5
  url = $testNotebookUrl
@@ -1,5 +1,5 @@
1
1
  # Add source to test notebook with proper cleanup
2
- $testNotebookUrl = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
2
+ $testNotebookUrl = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
3
3
 
4
4
  Write-Host "Adding text source to test notebook..." -ForegroundColor Cyan
5
5
 
@@ -5,7 +5,7 @@ Write-Host "Activated"
5
5
 
6
6
  # The server should have taken debug screenshots - check the data folder
7
7
  Write-Host "`nChecking for debug screenshots..."
8
- $debugPath = "C:\Users\romai\AppData\Local\notebooklm-mcp\Data"
8
+ $debugPath = "%LOCALAPPDATA%\notebooklm-mcp\Data"
9
9
  Get-ChildItem $debugPath -Filter "*.png" | Sort-Object LastWriteTime -Descending | Select-Object -First 5 | ForEach-Object {
10
10
  Write-Host " $($_.Name) - $($_.LastWriteTime)"
11
11
  }
@@ -5,12 +5,13 @@ import { chromium } from 'patchright';
5
5
  import path from 'path';
6
6
  import readline from 'readline';
7
7
 
8
- const ACCOUNT_ID = 'account-1767079146601'; // rom1pey@gmail.com
9
- const DATA_DIR = 'C:\\Users\\romai\\AppData\\Local\\notebooklm-mcp\\Data';
8
+ const ACCOUNT_ID = process.env.NOTEBOOKLM_ACCOUNT_ID || 'account-0000000000001';
9
+ const DATA_DIR = process.env.NOTEBOOKLM_DATA_DIR
10
+ || `${process.env.LOCALAPPDATA || `${process.env.HOME || ''}/AppData/Local`}\\notebooklm-mcp\\Data`;
10
11
  const PROFILE_DIR = path.join(DATA_DIR, 'accounts', ACCOUNT_ID, 'profile');
11
12
 
12
13
  async function changeLanguage() {
13
- console.log('🌐 Opening browser with rom1pey profile...');
14
+ console.log(`🌐 Opening browser with account profile ${ACCOUNT_ID}...`);
14
15
  console.log(`📁 Profile: ${PROFILE_DIR}`);
15
16
 
16
17
  const browser = await chromium.launchPersistentContext(PROFILE_DIR, {
@@ -4,12 +4,14 @@
4
4
  import { chromium } from 'patchright';
5
5
  import path from 'path';
6
6
 
7
- const ACCOUNT_ID = 'account-1767079146601'; // rom1pey@gmail.com
8
- const DATA_DIR = 'C:\\Users\\romai\\AppData\\Local\\notebooklm-mcp\\Data';
7
+ const ACCOUNT_ID = process.env.NOTEBOOKLM_ACCOUNT_ID || 'account-0000000000001';
8
+ const DATA_DIR =
9
+ process.env.NOTEBOOKLM_DATA_DIR ||
10
+ `${process.env.LOCALAPPDATA || `${process.env.HOME || ''}/AppData/Local`}\\notebooklm-mcp\\Data`;
9
11
  const PROFILE_DIR = path.join(DATA_DIR, 'accounts', ACCOUNT_ID, 'profile');
10
12
 
11
13
  async function changeLanguage() {
12
- console.log('🌐 Opening browser with rom1pey profile...');
14
+ console.log(`🌐 Opening browser with account profile ${ACCOUNT_ID}...`);
13
15
  console.log(`📁 Profile: ${PROFILE_DIR}`);
14
16
 
15
17
  const browser = await chromium.launchPersistentContext(PROFILE_DIR, {
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  $body = @{
2
- name = "e2e-mathieu-test"
3
- description = "Test notebook for mathieudumont31 English E2E tests"
2
+ name = "e2e-agent-primary-test"
3
+ description = "Test notebook for agent-primary English E2E tests"
4
4
  topics = @("test", "e2e", "english")
5
5
  } | ConvertTo-Json
6
6
 
@@ -1,5 +1,5 @@
1
- # Create a new notebook with the current account (rom1pey)
2
- Write-Host "=== Creating new notebook with rom1pey account ===" -ForegroundColor Cyan
1
+ # Create a new notebook with the current account (agent-tertiary)
2
+ Write-Host "=== Creating new notebook with agent-tertiary account ===" -ForegroundColor Cyan
3
3
 
4
4
  $body = @{
5
5
  name = "E2E-Test-Rom1pey"
@@ -1,6 +1,6 @@
1
1
  $body = @{
2
- name = "e2e-rom1pey-english"
3
- description = "Test notebook for rom1pey English E2E tests"
2
+ name = "e2e-agent-tertiary-english"
3
+ description = "Test notebook for agent-tertiary English E2E tests"
4
4
  topics = @("test", "e2e", "english")
5
5
  } | ConvertTo-Json
6
6
 
File without changes
File without changes
File without changes
File without changes
@@ -2,18 +2,18 @@
2
2
  # This script tests adding a text source step by step
3
3
 
4
4
  Write-Host "=== DEBUG: Add Text Source Step by Step ===" -ForegroundColor Cyan
5
- Write-Host "Notebook: 3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -ForegroundColor Gray
5
+ Write-Host "Notebook: 00000000-0000-0000-0000-000000000109" -ForegroundColor Gray
6
6
 
7
7
  # Step 1: Get initial source count
8
8
  Write-Host "`n--- Step 1: Get initial source count ---" -ForegroundColor Yellow
9
- $initialContent = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -Method GET
9
+ $initialContent = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109" -Method GET
10
10
  $initialCount = $initialContent.data.sources.Count
11
11
  Write-Host "Initial source count: $initialCount" -ForegroundColor White
12
12
 
13
13
  # Step 2: Add a text source with visible browser
14
14
  Write-Host "`n--- Step 2: Adding text source with VISIBLE browser ---" -ForegroundColor Yellow
15
15
  $body = @{
16
- notebook_url = "https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f"
16
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109"
17
17
  source_type = "text"
18
18
  text = "Ceci est un test de debug pour verifier l'ajout de source texte. Contenu de test avec suffisamment de texte pour etre valide."
19
19
  title = "DEBUG-SOURCE-$(Get-Date -Format 'HHmmss')"
@@ -31,7 +31,7 @@ $result | ConvertTo-Json -Depth 5
31
31
  Write-Host "`n--- Step 3: Waiting 10 seconds then checking source count ---" -ForegroundColor Yellow
32
32
  Start-Sleep -Seconds 10
33
33
 
34
- $finalContent = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -Method GET
34
+ $finalContent = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109" -Method GET
35
35
  $finalCount = $finalContent.data.sources.Count
36
36
  Write-Host "Final source count: $finalCount" -ForegroundColor White
37
37
 
File without changes
@@ -2,7 +2,7 @@
2
2
  # Runs with show_browser=true so we can see what's happening
3
3
 
4
4
  $baseUrl = "http://localhost:3000"
5
- $testNotebook = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
5
+ $testNotebook = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
6
6
 
7
7
  Write-Host "=== Debug NotebookLM Selectors ===" -ForegroundColor Cyan
8
8
 
File without changes
File without changes
@@ -5,9 +5,9 @@ Write-Host "=== Creating a fresh test notebook ===" -ForegroundColor Cyan
5
5
  # We'll use POST /notebooks with just a name to create a new one
6
6
 
7
7
  $body = @{
8
- name = "e2e-rom1pey-test"
8
+ name = "e2e-agent-tertiary-test"
9
9
  url = "https://notebooklm.google.com"
10
- description = "E2E test notebook for rom1pey account"
10
+ description = "E2E test notebook for agent-tertiary account"
11
11
  } | ConvertTo-Json
12
12
 
13
13
  Write-Host "`nAdding notebook entry..."
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # Navigate to NotebookLM home page with visible browser
2
- # This will show all notebooks available to the current account (rom1pey)
2
+ # This will show all notebooks available to the current account (agent-tertiary)
3
3
 
4
4
  Write-Host "=== Navigating to NotebookLM home ===" -ForegroundColor Cyan
5
5
  Write-Host "Please look at the browser window to see the notebooks available" -ForegroundColor Yellow
@@ -5,7 +5,7 @@ $body = @{
5
5
  notebook_url = "https://notebooklm.google.com/"
6
6
  } | ConvertTo-Json
7
7
 
8
- Write-Host "Opening NotebookLM homepage with rpmonster..."
8
+ Write-Host "Opening NotebookLM homepage with agent-secondary..."
9
9
  try {
10
10
  $response = Invoke-RestMethod -Uri "http://localhost:3000/ask" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 30
11
11
  $response | ConvertTo-Json -Depth 5
@@ -1,10 +1,10 @@
1
- # E2E Tests with English account (rom1pey)
2
- # Using notebook: rom1pey-english-test
1
+ # E2E Tests with English account (agent-tertiary)
2
+ # Using notebook: agent-tertiary-english-test
3
3
 
4
4
  $ErrorActionPreference = "Continue"
5
5
 
6
6
  Write-Host "========================================" -ForegroundColor Cyan
7
- Write-Host " E2E Tests - English Account (rom1pey)" -ForegroundColor Cyan
7
+ Write-Host " E2E Tests - English Account (agent-tertiary)" -ForegroundColor Cyan
8
8
  Write-Host "========================================" -ForegroundColor Cyan
9
9
  Write-Host ""
10
10
 
@@ -1,5 +1,5 @@
1
1
  # E2E Tests v2 - Better order: add sources first, then ask questions
2
- # Notebook: e2e-rom1pey-test (725d28e1-4284-4f36-99a2-b6693c2ebf13)
2
+ # Notebook: e2e-agent-tertiary-test (00000000-0000-0000-0000-000000000107)
3
3
 
4
4
  $ErrorActionPreference = "Continue"
5
5
 
@@ -9,9 +9,9 @@ Write-Host "========================================" -ForegroundColor Cyan
9
9
  Write-Host ""
10
10
 
11
11
  # Activate the notebook
12
- Write-Host "Activating e2e-rom1pey-test notebook..."
13
- Invoke-RestMethod -Uri "http://localhost:3000/notebooks/e2e-rom1pey-test/activate" -Method PUT -TimeoutSec 30 | Out-Null
14
- Write-Host "Active notebook: e2e-rom1pey-test"
12
+ Write-Host "Activating e2e-agent-tertiary-test notebook..."
13
+ Invoke-RestMethod -Uri "http://localhost:3000/notebooks/e2e-agent-tertiary-test/activate" -Method PUT -TimeoutSec 30 | Out-Null
14
+ Write-Host "Active notebook: e2e-agent-tertiary-test"
15
15
  Write-Host ""
16
16
 
17
17
  $passed = 0
@@ -1,5 +1,5 @@
1
- # E2E Tests with rom1pey account using the notebook we just created
2
- # Notebook: e2e-rom1pey-test (725d28e1-4284-4f36-99a2-b6693c2ebf13)
1
+ # E2E Tests with agent-tertiary account using the notebook we just created
2
+ # Notebook: e2e-agent-tertiary-test (00000000-0000-0000-0000-000000000107)
3
3
 
4
4
  $ErrorActionPreference = "Continue"
5
5
 
@@ -9,8 +9,8 @@ Write-Host "========================================" -ForegroundColor Cyan
9
9
  Write-Host ""
10
10
 
11
11
  # Activate the notebook
12
- Write-Host "Activating e2e-rom1pey-test notebook..."
13
- $activateResponse = Invoke-RestMethod -Uri "http://localhost:3000/notebooks/e2e-rom1pey-test/activate" -Method PUT -TimeoutSec 30
12
+ Write-Host "Activating e2e-agent-tertiary-test notebook..."
13
+ $activateResponse = Invoke-RestMethod -Uri "http://localhost:3000/notebooks/e2e-agent-tertiary-test/activate" -Method PUT -TimeoutSec 30
14
14
  Write-Host "Activated: $($activateResponse.success)"
15
15
 
16
16
  # Verify active notebook
@@ -1,8 +1,8 @@
1
- # Step 1: Add notebook owned by rom1pey to library
2
- Write-Host "Step 1: Adding rom1pey notebook to library..."
1
+ # Step 1: Add notebook owned by agent-tertiary to library
2
+ Write-Host "Step 1: Adding agent-tertiary notebook to library..."
3
3
  $addBody = @{
4
- name = "rom1pey-english-test"
5
- url = "https://notebooklm.google.com/notebook/258f62a1-8658-4f96-8333-a9e16224f602"
4
+ name = "agent-tertiary-english-test"
5
+ url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000110"
6
6
  description = "Test notebook for English UI"
7
7
  topics = @("test", "english")
8
8
  } | ConvertTo-Json
@@ -15,9 +15,9 @@ try {
15
15
  }
16
16
 
17
17
  # Step 2: Activate this notebook
18
- Write-Host "`nStep 2: Activating rom1pey notebook..."
18
+ Write-Host "`nStep 2: Activating agent-tertiary notebook..."
19
19
  try {
20
- Invoke-RestMethod -Uri "http://localhost:3000/notebooks/rom1pey-english-test/activate" -Method PUT -TimeoutSec 10
20
+ Invoke-RestMethod -Uri "http://localhost:3000/notebooks/agent-tertiary-english-test/activate" -Method PUT -TimeoutSec 10
21
21
  Write-Host "Activated!"
22
22
  } catch {
23
23
  Write-Host "Activate failed: $($_.Exception.Message)"
@@ -1,5 +1,5 @@
1
1
  # Setup test notebook with source
2
- $testNotebookUrl = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
2
+ $testNotebookUrl = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
3
3
 
4
4
  Write-Host "=== Setting up Test Notebook ===" -ForegroundColor Cyan
5
5
 
@@ -2,7 +2,7 @@ $body = @{
2
2
  source_type = "text"
3
3
  title = "Test Source"
4
4
  text = "Test document for E2E testing. Contains info about the server."
5
- notebook_url = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
5
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
6
6
  } | ConvertTo-Json
7
7
 
8
8
  Write-Host "Adding source..."
@@ -1,2 +1,2 @@
1
1
  $body = @{ description = "Updated at $(Get-Date)" } | ConvertTo-Json
2
- Invoke-RestMethod -Uri "http://localhost:3000/notebooks/e2e-rom1pey-test" -Method PUT -ContentType "application/json" -Body $body
2
+ Invoke-RestMethod -Uri "http://localhost:3000/notebooks/e2e-agent-tertiary-test" -Method PUT -ContentType "application/json" -Body $body
@@ -1,4 +1,4 @@
1
1
  # Test 20: Reject invalid source type
2
- $body = @{ notebook_url = "https://notebooklm.google.com/notebook/725d28e1-4284-4f36-99a2-b6693c2ebf13"; source_type = "invalid_type" } | ConvertTo-Json
2
+ $body = @{ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000107"; source_type = "invalid_type" } | ConvertTo-Json
3
3
  $response = Invoke-RestMethod -Uri "http://localhost:3000/content/sources" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 10
4
4
  if ($response.success -eq $false) { Write-Host "PASS" } else { Write-Host "FAIL" }
@@ -1,5 +1,5 @@
1
1
  # Test 30: Reject invalid content type
2
- $body = @{ notebook_url = "https://notebooklm.google.com/notebook/725d28e1-4284-4f36-99a2-b6693c2ebf13"; content_type = "invalid_type" } | ConvertTo-Json
2
+ $body = @{ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000107"; content_type = "invalid_type" } | ConvertTo-Json
3
3
  try {
4
4
  $response = Invoke-RestMethod -Uri "http://localhost:3000/content/generate" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 10
5
5
  Write-Host "FAIL: Should have rejected"
@@ -2,7 +2,7 @@
2
2
  $types = @("faq", "study_guide", "briefing_doc", "timeline", "table_of_contents")
3
3
  $allPass = $true
4
4
  foreach ($t in $types) {
5
- $body = @{ notebook_url = "https://notebooklm.google.com/notebook/725d28e1"; content_type = $t } | ConvertTo-Json
5
+ $body = @{ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000107"; content_type = $t } | ConvertTo-Json
6
6
  try {
7
7
  Invoke-RestMethod -Uri "http://localhost:3000/content/generate" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 5 | Out-Null
8
8
  $allPass = $false
@@ -1,5 +1,5 @@
1
1
  # Test 32: Reject video_style for non-video
2
- $body = @{ notebook_url = "https://notebooklm.google.com/notebook/725d28e1"; content_type = "report"; video_style = "classroom" } | ConvertTo-Json
2
+ $body = @{ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000107"; content_type = "report"; video_style = "classroom" } | ConvertTo-Json
3
3
  try {
4
4
  Invoke-RestMethod -Uri "http://localhost:3000/content/generate" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 5 | Out-Null
5
5
  Write-Host "FAIL"
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # Test 53: Missing question - should fail
2
- $body = @{ notebook_id = "e2e-rom1pey-test" } | ConvertTo-Json
2
+ $body = @{ notebook_id = "e2e-agent-tertiary-test" } | ConvertTo-Json
3
3
  try {
4
4
  $response = Invoke-RestMethod -Uri "http://localhost:3000/ask" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 10
5
5
  Write-Host "FAIL: Should have returned error"
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # Test access to e2e-test-notebook (which should have been created by tests)
2
- Write-Host "=== Testing notebook access with rom1pey ===" -ForegroundColor Cyan
2
+ Write-Host "=== Testing notebook access with agent-tertiary ===" -ForegroundColor Cyan
3
3
 
4
4
  # First activate e2e-test-notebook
5
5
  Write-Host "`nActivating e2e-test-notebook..."
@@ -1,12 +1,12 @@
1
1
  # Complete test: Add source, verify, delete, verify
2
2
  Write-Host "=== Complete Add/Delete Source Test ===" -ForegroundColor Cyan
3
- Write-Host "Notebook: 3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -ForegroundColor Gray
3
+ Write-Host "Notebook: 00000000-0000-0000-0000-000000000109" -ForegroundColor Gray
4
4
 
5
5
  # Step 1: Add a text source
6
6
  Write-Host "`n--- Step 1: Adding text source ---" -ForegroundColor Yellow
7
7
  $uniqueId = Get-Date -Format "HHmmss"
8
8
  $body = @{
9
- notebook_url = "https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f"
9
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109"
10
10
  source_type = "text"
11
11
  text = "Test source for add/delete verification. Unique ID: $uniqueId. This is test content."
12
12
  title = "TEST-DELETE-$uniqueId"
@@ -29,7 +29,7 @@ Write-Host "`nSource added with name: $sourceName" -ForegroundColor Green
29
29
  Write-Host "`n--- Step 2: Waiting 5 seconds and verifying source exists ---" -ForegroundColor Yellow
30
30
  Start-Sleep -Seconds 5
31
31
 
32
- $listResult = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -Method GET
32
+ $listResult = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109" -Method GET
33
33
  $sourceCount = $listResult.data.sources.Count
34
34
  Write-Host "Total sources in notebook: $sourceCount" -ForegroundColor Gray
35
35
 
@@ -44,7 +44,7 @@ if ($foundSource) {
44
44
 
45
45
  # Step 3: Delete the source
46
46
  Write-Host "`n--- Step 3: Deleting source by name '$sourceName' ---" -ForegroundColor Yellow
47
- $deleteUrl = "http://localhost:3000/content/sources?source_name=$([System.Web.HttpUtility]::UrlEncode($sourceName))&notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f&show_browser=true"
47
+ $deleteUrl = "http://localhost:3000/content/sources?source_name=$([System.Web.HttpUtility]::UrlEncode($sourceName))&notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109&show_browser=true"
48
48
  Write-Host "DELETE URL: $deleteUrl" -ForegroundColor Gray
49
49
 
50
50
  try {
@@ -1,7 +1,7 @@
1
1
  # Test add source with visible browser
2
2
  Write-Host "=== Testing add source with VISIBLE browser ===" -ForegroundColor Cyan
3
3
  $body = @{
4
- notebook_url = "https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f"
4
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109"
5
5
  source_type = "text"
6
6
  text = "Test content for debugging the text upload issue."
7
7
  title = "DEBUG-TEST-SOURCE"
@@ -3,7 +3,7 @@ $body = @{
3
3
  source_type = "text"
4
4
  text = "Debug test content - testing selectors"
5
5
  title = "Debug Test"
6
- notebook_url = "https://notebooklm.google.com/notebook/abd21688-02a6-4459-953b-30f0612a984e"
6
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000108"
7
7
  show_browser = $true
8
8
  } | ConvertTo-Json
9
9
 
@@ -1,10 +1,10 @@
1
1
  # Test adding a text source with debug logging
2
2
  $uniqueId = (Get-Date).ToString("HHmmss")
3
- $notebookUrl = "https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f"
3
+ $notebookUrl = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109"
4
4
 
5
5
  Write-Host "`n=== Testing add_source (text) with debug ===" -ForegroundColor Cyan
6
6
  Write-Host "Notebook URL: $notebookUrl"
7
- Write-Host "Expected UUID: 3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f`n"
7
+ Write-Host "Expected UUID: 00000000-0000-0000-0000-000000000109`n"
8
8
 
9
9
  $body = @{
10
10
  notebook_url = $notebookUrl
File without changes
File without changes
File without changes
File without changes
@@ -14,7 +14,7 @@ Start-Sleep -Seconds 2
14
14
 
15
15
  # Start server in background with headed mode
16
16
  $env:HEADLESS = "false"
17
- Start-Process -FilePath "cmd.exe" -ArgumentList "/c cd /d D:\Claude\notebooklm-mcp-http && set HEADLESS=false && node dist/http-wrapper.js" -WindowStyle Normal
17
+ Start-Process -FilePath "cmd.exe" -ArgumentList "/c cd /d D:\path\to\notebooklm-mcp && set HEADLESS=false && node dist/http-wrapper.js" -WindowStyle Normal
18
18
 
19
19
  Write-Host "Waiting for server to start..."
20
20
  Start-Sleep -Seconds 5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  # Test 1: Add a text source
2
2
  Write-Host "=== STEP 1: Adding test source ===" -ForegroundColor Cyan
3
3
  $addBody = @{
4
- notebook_url = "https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f"
4
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109"
5
5
  source_type = "text"
6
6
  text = "This is a test source for deletion testing. Created at $(Get-Date)"
7
7
  title = "DELETE-ME-TEST-SOURCE"
@@ -17,21 +17,21 @@ Start-Sleep -Seconds 10
17
17
 
18
18
  # List sources to verify it was added
19
19
  Write-Host "`n=== STEP 3: Listing sources to verify ===" -ForegroundColor Cyan
20
- $listResult = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -Method GET
20
+ $listResult = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109" -Method GET
21
21
  $testSource = $listResult.data.sources | Where-Object { $_.name -like "*DELETE-ME*" }
22
22
  Write-Host "Found test source:" -ForegroundColor Yellow
23
23
  $testSource | ConvertTo-Json -Depth 3
24
24
 
25
25
  # Delete the source
26
26
  Write-Host "`n=== STEP 4: Deleting source by name ===" -ForegroundColor Cyan
27
- $deleteResult = Invoke-RestMethod -Uri "http://localhost:3000/content/sources?source_name=DELETE-ME-TEST-SOURCE&notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -Method DELETE
27
+ $deleteResult = Invoke-RestMethod -Uri "http://localhost:3000/content/sources?source_name=DELETE-ME-TEST-SOURCE&notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109" -Method DELETE
28
28
  Write-Host "Delete result:" -ForegroundColor Yellow
29
29
  $deleteResult | ConvertTo-Json -Depth 5
30
30
 
31
31
  # Verify deletion
32
32
  Write-Host "`n=== STEP 5: Verifying deletion ===" -ForegroundColor Cyan
33
33
  Start-Sleep -Seconds 3
34
- $verifyResult = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f" -Method GET
34
+ $verifyResult = Invoke-RestMethod -Uri "http://localhost:3000/content?notebook_url=https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109" -Method GET
35
35
  $stillExists = $verifyResult.data.sources | Where-Object { $_.name -like "*DELETE-ME*" }
36
36
  if ($stillExists) {
37
37
  Write-Host "FAIL: Source still exists!" -ForegroundColor Red
@@ -1,4 +1,4 @@
1
- # Test access to e2e-test-notebook with rom1pey
1
+ # Test access to e2e-test-notebook with agent-tertiary
2
2
  Write-Host "=== Testing e2e-test-notebook with visible browser ===" -ForegroundColor Cyan
3
3
 
4
4
  # Activate it
@@ -17,5 +17,5 @@ try {
17
17
  Write-Host "SUCCESS! Answer: $($response.data.answer.Substring(0, [Math]::Min(200, $response.data.answer.Length)))..." -ForegroundColor Green
18
18
  } catch {
19
19
  Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
20
- Write-Host "This notebook is probably not accessible to rom1pey" -ForegroundColor Yellow
20
+ Write-Host "This notebook is probably not accessible to agent-tertiary" -ForegroundColor Yellow
21
21
  }
@@ -1,4 +1,4 @@
1
- # Test with the newly created notebook (owned by rom1pey)
1
+ # Test with the newly created notebook (owned by agent-tertiary)
2
2
  $body = @{
3
3
  notebook_id = "english-test"
4
4
  source_type = "url"
@@ -9,12 +9,12 @@ $body = @{
9
9
  # First add the notebook
10
10
  $addBody = @{
11
11
  name = "english-test"
12
- url = "https://notebooklm.google.com/notebook/258f62a1-8658-4f96-8333-a9e16224f602"
12
+ url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000110"
13
13
  } | ConvertTo-Json
14
14
 
15
- Write-Host "Adding notebook owned by rom1pey..."
15
+ Write-Host "Adding notebook owned by agent-tertiary..."
16
16
  Invoke-RestMethod -Uri "http://localhost:3000/notebooks" -Method POST -ContentType "application/json" -Body $addBody -TimeoutSec 60
17
17
 
18
- Write-Host "`nTesting URL source on rom1pey's notebook..."
18
+ Write-Host "`nTesting URL source on agent-tertiary's notebook..."
19
19
  $response = Invoke-RestMethod -Uri "http://localhost:3000/content/sources" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 120
20
20
  $response | ConvertTo-Json -Depth 5
@@ -1,6 +1,6 @@
1
1
  $body = @{
2
2
  question = "Hello, what is this notebook about?"
3
- notebook_url = "https://notebooklm.google.com/notebook/3f4e9685-333d-429e-8b82-45cee95c6748"
3
+ notebook_url = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000111"
4
4
  } | ConvertTo-Json
5
5
 
6
6
  $response = Invoke-RestMethod -Uri "http://localhost:3000/ask" -Method POST -ContentType "application/json" -Body $body -TimeoutSec 120
@@ -1,5 +1,5 @@
1
1
  # Test FULL: Custom Instructions (4 tests)
2
- $notebookUrl = "https://notebooklm.google.com/notebook/3e79b7be-9a72-4ac7-aaf7-ac3f450fa96f"
2
+ $notebookUrl = "https://notebooklm.google.com/notebook/00000000-0000-0000-0000-000000000109"
3
3
  $passed = 0
4
4
  $failed = 0
5
5