@owloops/browserbird 1.8.0 → 1.8.2

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/dist/index.mjs CHANGED
@@ -193,8 +193,8 @@ function unknownSubcommand(subcommand, command, validCommands) {
193
193
  /** @fileoverview ASCII banner displayed on daemon startup and in help text. */
194
194
  const pkg = createRequire(import.meta.url)("../package.json");
195
195
  const buildInfo = [];
196
- buildInfo.push(`commit: ${"2c657bcf3aa7f81dcfc993a561bed0f74cacffcf".substring(0, 7)}`);
197
- buildInfo.push(`built: 2026-03-22T02:02:21+04:00`);
196
+ buildInfo.push(`commit: ${"b40f6b05512cdfaf5e7b8da679e1c11b71c745e8".substring(0, 7)}`);
197
+ buildInfo.push(`built: 2026-03-22T17:00:01+04:00`);
198
198
  const buildString = buildInfo.length > 0 ? ` (${buildInfo.join(", ")})` : "";
199
199
  const VERSION = `browserbird ${pkg.version}${buildString}`;
200
200
  const BIRD = [
@@ -2120,58 +2120,22 @@ function maskSecret(value) {
2120
2120
  };
2121
2121
  }
2122
2122
  const KEY_NAME_RE = /^[A-Z][A-Z0-9_]*$/;
2123
- const BLOCKED_KEY_PREFIXES = [
2124
- "LD_",
2125
- "DYLD_",
2126
- "NODE_",
2127
- "NPM_",
2128
- "GIT_",
2129
- "PYTHON",
2130
- "RUBY",
2131
- "PERL",
2132
- "JAVA_",
2133
- "CLAUDE_",
2134
- "BROWSERBIRD_"
2135
- ];
2136
- const BLOCKED_KEY_NAMES = new Set([
2123
+ const RESERVED_KEY_NAMES = new Set([
2137
2124
  "ANTHROPIC_API_KEY",
2125
+ "CLAUDE_CODE_OAUTH_TOKEN",
2126
+ "CLAUDE_CONFIG_DIR",
2138
2127
  "CLAUDECODE",
2128
+ "CLAUDE_CODE_ENTRYPOINT",
2139
2129
  "SLACK_BOT_TOKEN",
2140
2130
  "SLACK_APP_TOKEN",
2141
- "PATH",
2142
- "HOME",
2143
- "SHELL",
2144
- "USER",
2145
- "LOGNAME",
2146
- "TERM",
2147
- "IFS",
2148
- "CDPATH",
2149
- "CPATH",
2150
- "CPPATH",
2151
- "LIBRARY_PATH",
2152
- "TMPDIR",
2153
- "TZDIR",
2154
- "GCONV_PATH",
2155
- "HOSTALIASES",
2156
- "MALLOC_TRACE",
2157
- "RESOLV_HOST_CONF",
2158
- "HTTP_PROXY",
2159
- "HTTPS_PROXY",
2160
- "ALL_PROXY",
2161
- "NO_PROXY",
2162
- "CURL_CA_BUNDLE",
2163
- "SSL_CERT_FILE",
2164
- "SSL_CERT_DIR",
2165
- "REQUESTS_CA_BUNDLE"
2131
+ "BROWSERBIRD_VAULT_KEY",
2132
+ "BROWSERBIRD_CONFIG",
2133
+ "BROWSERBIRD_DB"
2166
2134
  ]);
2167
- function isDangerousKeyName(name) {
2168
- if (BLOCKED_KEY_NAMES.has(name)) return true;
2169
- return BLOCKED_KEY_PREFIXES.some((p) => name.startsWith(p));
2170
- }
2171
2135
  function validateKeyName(raw) {
2172
2136
  const name = raw.trim().toUpperCase();
2173
2137
  if (!KEY_NAME_RE.test(name)) return { error: "Name must match [A-Z][A-Z0-9_]* (e.g. GITHUB_TOKEN)" };
2174
- if (isDangerousKeyName(name)) return { error: `"${name}" is a reserved or dangerous name` };
2138
+ if (RESERVED_KEY_NAMES.has(name)) return { error: `"${name}" is reserved (managed via config)` };
2175
2139
  return { name };
2176
2140
  }
2177
2141
  const HH_MM_RE = /^\d{2}:\d{2}$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owloops/browserbird",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "AI agent orchestrator with a real browser, a cron scheduler, and a web dashboard",
5
5
  "type": "module",
6
6
  "bin": {