@plosson/agentio 0.1.15 → 0.1.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plosson/agentio",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "CLI for LLM agents to interact with communication and tracking services",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,7 +1,6 @@
1
1
  import { Command } from 'commander';
2
2
  import { basename, join } from 'path';
3
3
  import { google } from 'googleapis';
4
- import { chromium } from 'playwright-core';
5
4
  import { getValidTokens, createGoogleAuth } from '../auth/token-manager';
6
5
  import { setCredentials, removeCredentials, getCredentials } from '../auth/token-store';
7
6
  import { setProfile, removeProfile, listProfiles } from '../config/config-manager';
@@ -324,6 +323,9 @@ ${emailHeader}
324
323
  </html>`;
325
324
  }
326
325
 
326
+ // Lazy load playwright-core to avoid bundling issues
327
+ const { chromium } = await import('playwright-core');
328
+
327
329
  // Launch browser and generate PDF
328
330
  console.error('Launching browser...');
329
331
  const browser = await chromium.launch({