@owloops/browserbird 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -3
  2. package/package.json +1 -1
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: ${"6c46374ad2f83536a49768a46c02b8a043b1304a".substring(0, 7)}`);
126
- buildInfo.push(`built: 2026-03-05T12:20:55+04:00`);
125
+ buildInfo.push(`commit: ${"536f400d5d95ecfb7467a216235dcdd8e7d9573f".substring(0, 7)}`);
126
+ buildInfo.push(`built: 2026-03-05T15:03:39+04:00`);
127
127
  const buildString = buildInfo.length > 0 ? ` (${buildInfo.join(", ")})` : "";
128
128
  const VERSION = `browserbird ${pkg.version}${buildString}`;
129
129
  const BIRD = [
@@ -2106,6 +2106,7 @@ function splitLines(buffer, chunk) {
2106
2106
 
2107
2107
  //#endregion
2108
2108
  //#region src/provider/claude.ts
2109
+ /** @fileoverview Claude Code CLI provider: arg building and stream-json parsing. */
2109
2110
  function buildCommand$1(options) {
2110
2111
  const { message, sessionId, agent, mcpConfigPath } = options;
2111
2112
  const args = [
@@ -2126,10 +2127,12 @@ function buildCommand$1(options) {
2126
2127
  args.push("--dangerously-skip-permissions");
2127
2128
  const oauthToken = process.env["CLAUDE_CODE_OAUTH_TOKEN"];
2128
2129
  const apiKey = process.env["ANTHROPIC_API_KEY"];
2130
+ const env = oauthToken ? { CLAUDE_CODE_OAUTH_TOKEN: oauthToken } : apiKey ? { ANTHROPIC_API_KEY: apiKey } : {};
2131
+ env["CLAUDE_CONFIG_DIR"] = resolve(".browserbird", "claude");
2129
2132
  return {
2130
2133
  binary: "claude",
2131
2134
  args,
2132
- env: oauthToken ? { CLAUDE_CODE_OAUTH_TOKEN: oauthToken } : apiKey ? { ANTHROPIC_API_KEY: apiKey } : {}
2135
+ env
2133
2136
  };
2134
2137
  }
2135
2138
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owloops/browserbird",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Self-hosted AI agent for Slack with a real browser, a scheduler, and a web dashboard",
5
5
  "type": "module",
6
6
  "bin": {