bb-browser 0.4.0 → 0.4.1

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/daemon.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  DAEMON_HOST,
5
5
  DAEMON_PORT,
6
6
  SSE_HEARTBEAT_INTERVAL
7
- } from "./chunk-CWLDHQGR.js";
7
+ } from "./chunk-H7M4J4CW.js";
8
8
 
9
9
  // packages/daemon/src/index.ts
10
10
  import { parseArgs } from "util";
package/dist/mcp.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  __export,
7
7
  __toESM,
8
8
  generateId
9
- } from "./chunk-CWLDHQGR.js";
9
+ } from "./chunk-H7M4J4CW.js";
10
10
 
11
11
  // node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
12
12
  var require_code = __commonJS({
@@ -18262,13 +18262,13 @@ var zodToJsonSchema = (schema, options) => {
18262
18262
  }, true) ?? parseAnyDef(refs)
18263
18263
  }), {}) : void 0;
18264
18264
  const name = typeof options === "string" ? options : options?.nameStrategy === "title" ? void 0 : options?.name;
18265
- const main2 = parseDef(schema._def, name === void 0 ? refs : {
18265
+ const main = parseDef(schema._def, name === void 0 ? refs : {
18266
18266
  ...refs,
18267
18267
  currentPath: [...refs.basePath, refs.definitionPath, name]
18268
18268
  }, false) ?? parseAnyDef(refs);
18269
18269
  const title = typeof options === "object" && options.name !== void 0 && options.nameStrategy === "title" ? options.name : void 0;
18270
18270
  if (title !== void 0) {
18271
- main2.title = title;
18271
+ main.title = title;
18272
18272
  }
18273
18273
  if (refs.flags.hasReferencedOpenAiAnyType) {
18274
18274
  if (!definitions) {
@@ -18289,9 +18289,9 @@ var zodToJsonSchema = (schema, options) => {
18289
18289
  }
18290
18290
  }
18291
18291
  const combined = name === void 0 ? definitions ? {
18292
- ...main2,
18292
+ ...main,
18293
18293
  [refs.definitionPath]: definitions
18294
- } : main2 : {
18294
+ } : main : {
18295
18295
  $ref: [
18296
18296
  ...refs.$refStrategy === "relative" ? [] : refs.basePath,
18297
18297
  refs.definitionPath,
@@ -18299,7 +18299,7 @@ var zodToJsonSchema = (schema, options) => {
18299
18299
  ].join("/"),
18300
18300
  [refs.definitionPath]: {
18301
18301
  ...definitions,
18302
- [name]: main2
18302
+ [name]: main
18303
18303
  }
18304
18304
  };
18305
18305
  if (refs.target === "jsonSchema7") {
@@ -21229,12 +21229,15 @@ server.tool(
21229
21229
  return textResult(resp.data || `Waited ${time3}ms`);
21230
21230
  }
21231
21231
  );
21232
- async function main() {
21232
+ async function startMcpServer() {
21233
21233
  const transport = new StdioServerTransport();
21234
21234
  await server.connect(transport);
21235
21235
  }
21236
- main().catch((error2) => {
21236
+ startMcpServer().catch((error2) => {
21237
21237
  console.error(error2);
21238
21238
  process.exit(1);
21239
21239
  });
21240
+ export {
21241
+ startMcpServer
21242
+ };
21240
21243
  //# sourceMappingURL=mcp.js.map