@owloops/browserbird 1.4.16 → 1.4.17
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/README.md +1 -1
- package/dist/index.mjs +7 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,7 +255,7 @@ Authentication is handled via the web UI. On first visit, you create an account.
|
|
|
255
255
|
| `NO_COLOR` | Disable colored output |
|
|
256
256
|
|
|
257
257
|
> [!NOTE]
|
|
258
|
-
> **Agent authentication:** `ANTHROPIC_API_KEY` (pay-per-token) is required for shared or commercial deployments per Anthropic's Consumer ToS. `CLAUDE_CODE_OAUTH_TOKEN` is fine for personal self-hosted use. When both are set, OAuth takes priority.
|
|
258
|
+
> **Agent authentication:** `ANTHROPIC_API_KEY` (pay-per-token) is required for shared or commercial deployments per Anthropic's Consumer ToS. `CLAUDE_CODE_OAUTH_TOKEN` is fine for personal self-hosted use. When both are set, OAuth takes priority. This is also why BrowserBird uses the CLI rather than the [Agent SDK](https://docs.anthropic.com/en/docs/agent-sdk/overview); the SDK requires API key auth per Anthropic's [usage policy](https://docs.anthropic.com/en/docs/claude-code/legal-and-compliance).
|
|
259
259
|
|
|
260
260
|
## CLI
|
|
261
261
|
|
package/dist/index.mjs
CHANGED
|
@@ -122,8 +122,8 @@ function unknownSubcommand(subcommand, command, validCommands) {
|
|
|
122
122
|
/** @fileoverview ASCII banner displayed on daemon startup and in help text. */
|
|
123
123
|
const pkg = createRequire(import.meta.url)("../package.json");
|
|
124
124
|
const buildInfo = [];
|
|
125
|
-
buildInfo.push(`commit: ${"
|
|
126
|
-
buildInfo.push(`built: 2026-03-
|
|
125
|
+
buildInfo.push(`commit: ${"4e976792ac1f38e4ad5ba619163daa52cc482ae1".substring(0, 7)}`);
|
|
126
|
+
buildInfo.push(`built: 2026-03-15T22:25:47+04:00`);
|
|
127
127
|
const buildString = buildInfo.length > 0 ? ` (${buildInfo.join(", ")})` : "";
|
|
128
128
|
const VERSION = `browserbird ${pkg.version}${buildString}`;
|
|
129
129
|
const BIRD = [
|
|
@@ -1544,8 +1544,9 @@ function buildRoutes(getConfig, startedAt, getDeps, options) {
|
|
|
1544
1544
|
pattern: pathToRegex("/api/onboarding/defaults"),
|
|
1545
1545
|
handler(_req, res) {
|
|
1546
1546
|
const doctor = checkDoctor();
|
|
1547
|
-
const
|
|
1548
|
-
const
|
|
1547
|
+
const config = getConfig();
|
|
1548
|
+
const defaultAgent = config.agents[0] ?? DEFAULTS.agents[0];
|
|
1549
|
+
const novncHost = !!process.env["RAILWAY_ENVIRONMENT_NAME"] ? "browserbird-vm.railway.internal" : config.browser.novncHost || DEFAULTS.browser.novncHost;
|
|
1549
1550
|
json(res, {
|
|
1550
1551
|
agent: {
|
|
1551
1552
|
name: defaultAgent.name,
|
|
@@ -1555,9 +1556,9 @@ function buildRoutes(getConfig, startedAt, getDeps, options) {
|
|
|
1555
1556
|
channels: defaultAgent.channels
|
|
1556
1557
|
},
|
|
1557
1558
|
browser: {
|
|
1558
|
-
enabled:
|
|
1559
|
+
enabled: config.browser.enabled,
|
|
1559
1560
|
novncHost,
|
|
1560
|
-
novncPort:
|
|
1561
|
+
novncPort: config.browser.novncPort
|
|
1561
1562
|
},
|
|
1562
1563
|
doctor
|
|
1563
1564
|
});
|