create-bubblelab-app 0.1.2 → 0.1.5

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/bin/cli.js CHANGED
@@ -28,15 +28,17 @@ async function main() {
28
28
  name: 'template',
29
29
  message: 'Select a template:',
30
30
  choices: [
31
- {
32
- title: 'Weather Agent (Recommended)',
33
- value: 'basic',
34
- description: 'AI agent that researches weather using web search',
35
- },
36
31
  {
37
32
  title: 'Reddit News Scraper',
38
33
  value: 'reddit-scraper',
39
- description: 'AI agent that scrapes Reddit and summarizes news',
34
+ description:
35
+ 'AI agent that scrapes Reddit and summarizes news (uses Google API key)',
36
+ },
37
+ {
38
+ title: 'Weather Agent (Recommended)',
39
+ value: 'basic',
40
+ description:
41
+ 'AI agent that researches weather using web search (uses Google API key and Firecrawl API key)',
40
42
  },
41
43
  ],
42
44
  initial: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bubblelab-app",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Create BubbleLab AI agent applications with one command",
@@ -52,7 +52,7 @@ async function main() {
52
52
  }
53
53
  // Inject the credentials
54
54
  runner.injector.injectCredentials(bubbles, [], {
55
- [CredentialType.GOOGLE_GEMINI_CRED]: process.env.GOOGLE_GEMINI_CRED,
55
+ [CredentialType.GOOGLE_GEMINI_CRED]: process.env.GOOGLE_API_KEY,
56
56
  [CredentialType.FIRECRAWL_API_KEY]: process.env.FIRECRAWL_API_KEY,
57
57
  });
58
58
 
@@ -4,6 +4,9 @@ import { readFileSync } from 'fs';
4
4
  import { fileURLToPath } from 'url';
5
5
  import { dirname, join } from 'path';
6
6
  import { CredentialType } from '@bubblelab/shared-schemas';
7
+ import { config } from 'dotenv';
8
+ // Load environment variables from .env file
9
+ config();
7
10
 
8
11
  const __dirname = dirname(fileURLToPath(import.meta.url));
9
12