You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve CLI templates: browser cleanup, env files, and rename advanced-sample
- Add kernel.browsers.deleteByID() to all templates to properly close live view on exit
- Switch deploy instructions to use --env-file .env instead of inline --env flags
- Add .env.example files for templates requiring API keys
- Remove 'brew install' from Next steps (user already has CLI installed)
- Rename advanced-sample template to captcha-solver (more descriptive)
- Switch from playwright to playwright-core in TypeScript templates
- Update all dependencies to latest versions
- Fix devDependencies in package.json files
- Add DuckDuckGo as starting URL for CUA templates (less captcha friction)
- Clean up stale advanced-sample directory
InvokeCommand: `kernel invoke python-bu bu-task --payload '{"task": "Compare the price of gpt-4o and DeepSeek-V3"}'`,
184
184
},
185
185
TemplateComputerUse: {
186
186
EntryPoint: "main.py",
187
-
EnvVars: []string{"ANTHROPIC_API_KEY=XXX"},
187
+
NeedsEnvFile: true,
188
188
InvokeCommand: `kernel invoke python-cu cu-task --payload '{"query": "Return the first url of a search result for NYC restaurant reviews Pete Wells"}'`,
189
189
},
190
190
TemplateCUA: {
191
191
EntryPoint: "main.py",
192
-
EnvVars: []string{"OPENAI_API_KEY=XXX"},
192
+
NeedsEnvFile: true,
193
193
InvokeCommand: `kernel invoke python-cua cua-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 5 articles"}'`,
0 commit comments