usebeeline 0.0.106 → 0.0.107

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.
@@ -8158,8 +8158,7 @@ async function syncAgentModelCatalog(input) {
8158
8158
 
8159
8159
  // apps/body/dist/connector-squire.js
8160
8160
  import { execFile, spawn as spawn2 } from "node:child_process";
8161
- var REMOTE_LOGIN_BINARIES = ["xvfb-run", "Xvfb", "x11vnc", "websockify", "cloudflared"];
8162
- var SQUIRE_CONNECT_PACKAGE = "@trusty-squire/mcp";
8161
+ var SQUIRE_CONNECT_PACKAGE = "@trusty-squire/mcp@next";
8163
8162
  var defaultShellRunner = (command, args) => new Promise((resolve31) => {
8164
8163
  execFile(command, [...args], { timeout: 12e4, maxBuffer: 4 * 1024 * 1024, encoding: "utf8" }, (error, stdout6, stderr) => {
8165
8164
  const code = error?.code;
@@ -8227,21 +8226,6 @@ var step = (label, status, reason) => ({
8227
8226
  status,
8228
8227
  ...reason ? { reason } : {}
8229
8228
  });
8230
- function binaryExists(binary) {
8231
- return new Promise((resolve31) => {
8232
- execFile("sh", ["-c", `command -v ${JSON.stringify(binary)}`], (error, stdout6) => {
8233
- const path = String(stdout6 ?? "").trim();
8234
- resolve31({ binary, found: !error && path.length > 0, ...path ? { path } : {} });
8235
- });
8236
- });
8237
- }
8238
- async function checkRemoteLoginPrerequisites(probe = binaryExists) {
8239
- return Promise.all(REMOTE_LOGIN_BINARIES.map(probe));
8240
- }
8241
- function missingPrerequisiteStep(checks) {
8242
- const missing = checks.filter((check) => !check.found).map((check) => check.binary);
8243
- return step("remote sign-in prerequisites", "failed", `missing on this helper: ${missing.join(", ")}`);
8244
- }
8245
8229
  function parseConnectOutput(output) {
8246
8230
  const url = output.match(/https:\/\/[^\s"'<>]+/)?.[0];
8247
8231
  if (!url)
@@ -8277,20 +8261,13 @@ async function installSquire(options) {
8277
8261
  return { status: "error", steps, errorMessage: reason };
8278
8262
  };
8279
8263
  emit();
8280
- const checks = await checkRemoteLoginPrerequisites(options.probeBinary);
8281
- if (checks.some((check) => !check.found)) {
8282
- push(missingPrerequisiteStep(checks));
8283
- return fail("this helper cannot host the remote sign-in surface");
8284
- }
8285
- push(step("remote sign-in prerequisites", "done"));
8286
- const install = await streamRun("xvfb-run", [
8287
- "-a",
8288
- "npx",
8264
+ const install = await streamRun("npx", [
8289
8265
  "-y",
8290
8266
  SQUIRE_CONNECT_PACKAGE,
8291
8267
  "connect",
8292
8268
  "--force-relogin=google",
8293
- "--target=codex"
8269
+ "--target=codex",
8270
+ "--skip-browser"
8294
8271
  ]);
8295
8272
  if (!install.signIn) {
8296
8273
  const stderr = install.stderr.trim();
@@ -8454,7 +8431,9 @@ var StdioSquireMcpClient = class {
8454
8431
  }
8455
8432
  initialize() {
8456
8433
  const child = (this.options.spawn ?? spawn3)(this.options.command ?? "npx", [
8457
- ...this.options.args ?? ["-y", "@trusty-squire/mcp"]
8434
+ // `@next` RC: only the RC coordinates with a running Trusty Squire broker
8435
+ // for concurrent sessions; stable `latest` cannot share its browser.
8436
+ ...this.options.args ?? ["-y", "@trusty-squire/mcp@next"]
8458
8437
  ]);
8459
8438
  this.child = child;
8460
8439
  this.buffer = "";
@@ -19039,7 +19018,7 @@ Then take exactly one action:
19039
19018
  }
19040
19019
 
19041
19020
  // apps/body/dist/external-mcp-capabilities.js
19042
- var SQUIRE_MCP_VERSION = "1.1.12";
19021
+ var SQUIRE_MCP_VERSION = "next";
19043
19022
  var SQUIRE_MCP_PACKAGE = `@trusty-squire/mcp@${SQUIRE_MCP_VERSION}`;
19044
19023
  function isTrustySquireMcpLaunch(command, args = []) {
19045
19024
  return [command, ...args].some((value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usebeeline",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "description": "Connect an AI coding agent to Beeline with one command.",
5
5
  "homepage": "https://usebeeline.app",
6
6
  "bugs": {