|
1 | 1 | runtime: "container" |
| 2 | + |
| 3 | +startCommand: |
| 4 | + type: "http" |
| 5 | + configSchema: |
| 6 | + type: "object" |
| 7 | + required: ["browserbaseApiKey", "browserbaseProjectId"] |
| 8 | + properties: |
| 9 | + browserbaseApiKey: |
| 10 | + type: "string" |
| 11 | + title: "Browserbase API Key" |
| 12 | + description: "Browserbase API Key to authenticate requests" |
| 13 | + browserbaseProjectId: |
| 14 | + type: "string" |
| 15 | + title: "Browserbase Project ID" |
| 16 | + description: "Browserbase Project ID associated with the API key" |
| 17 | + proxies: |
| 18 | + type: "boolean" |
| 19 | + title: "Use Proxies" |
| 20 | + description: "Whether or not to use Browserbase proxies" |
| 21 | + default: false |
| 22 | + advancedStealth: |
| 23 | + type: "boolean" |
| 24 | + title: "Advanced Stealth Mode" |
| 25 | + description: "Use advanced stealth mode. Only available to Browserbase Scale Plan users." |
| 26 | + default: false |
| 27 | + keepAlive: |
| 28 | + type: "boolean" |
| 29 | + title: "Keep Alive" |
| 30 | + description: "Whether or not to keep the Browserbase session alive" |
| 31 | + default: false |
| 32 | + context: |
| 33 | + type: "object" |
| 34 | + title: "Browserbase Context" |
| 35 | + description: "Potential Browserbase Context to use" |
| 36 | + properties: |
| 37 | + contextId: |
| 38 | + type: "string" |
| 39 | + title: "Context ID" |
| 40 | + description: "The ID of the context to use" |
| 41 | + persist: |
| 42 | + type: "boolean" |
| 43 | + title: "Persist Context" |
| 44 | + description: "Whether or not to persist the context" |
| 45 | + default: true |
| 46 | + viewPort: |
| 47 | + type: "object" |
| 48 | + title: "Viewport" |
| 49 | + description: "The viewport of the browser" |
| 50 | + properties: |
| 51 | + browserWidth: |
| 52 | + type: "integer" |
| 53 | + title: "Browser Width" |
| 54 | + description: "The width of the browser" |
| 55 | + default: 1024 |
| 56 | + browserHeight: |
| 57 | + type: "integer" |
| 58 | + title: "Browser Height" |
| 59 | + description: "The height of the browser" |
| 60 | + default: 768 |
| 61 | + modelName: |
| 62 | + type: "string" |
| 63 | + title: "Model Name" |
| 64 | + description: "The Model that Stagehand uses. Available models: OpenAI, Claude, Gemini, Cerebras, Groq, and other providers" |
| 65 | + default: "gemini-2.0-flash" |
| 66 | + modelApiKey: |
| 67 | + type: "string" |
| 68 | + title: "Model API Key" |
| 69 | + description: "API key for the custom model provider. Required when using a model other than the default gemini-2.0-flash" |
| 70 | + experimental: |
| 71 | + type: "boolean" |
| 72 | + title: "Experimental Features" |
| 73 | + description: "Enable experimental features" |
| 74 | + default: false |
| 75 | + exampleConfig: |
| 76 | + browserbaseApiKey: "bb_xxxxxxxxxxxxx" |
| 77 | + browserbaseProjectId: "prj_xxxxxxxxxxxxx" |
| 78 | + proxies: false |
| 79 | + advancedStealth: false |
| 80 | + keepAlive: false |
| 81 | + viewPort: |
| 82 | + browserWidth: 1024 |
| 83 | + browserHeight: 768 |
| 84 | + modelName: "gemini-2.0-flash" |
| 85 | + |
| 86 | +build: |
| 87 | + dockerfile: "Dockerfile" |
| 88 | + dockerBuildPath: "." |
0 commit comments