@buoy-gg/mcp 7.0.35 → 7.0.38

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/cli.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SyncClient,
4
4
  createMcpServer,
5
5
  runInit
6
- } from "./chunk-QL2DJGPP.mjs";
6
+ } from "./chunk-PQOVQPCW.mjs";
7
7
 
8
8
  // src/cli.ts
9
9
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/dist/index.d.mts CHANGED
@@ -25,13 +25,14 @@ interface DeviceInfo {
25
25
  /** Whether the connected app reported an active Buoy Pro license. */
26
26
  isPro: boolean;
27
27
  /**
28
- * The app's access tier. Apps older than the tier split report only `isPro`,
29
- * which maps exactly — a key could only ever grant Pro back then.
28
+ * The app's tier once the broker has admitted its account, or "locked"
29
+ * until then. Apps older than the tier split report only `isPro`, which
30
+ * maps exactly — a key could only ever grant Pro back then.
30
31
  *
31
32
  * Surfaced so `list_devices` can say WHY the MCP is blocked: "signed in on
32
- * the free tier" and "no account at all" are different problems.
33
+ * the free tier" and "no admitted account" are different problems.
33
34
  */
34
- tier: "anonymous" | "free" | "pro";
35
+ tier: "locked" | "free" | "pro";
35
36
  /**
36
37
  * More than one app is registered under this id right now (a pinned
37
38
  * `externalSync.deviceId` copied onto two devices). Actions sent to it
@@ -51,6 +52,9 @@ type BrokerMode = "connected" | "spawned";
51
52
  */
52
53
  declare class SyncClient {
53
54
  private socket;
55
+ private admitted;
56
+ private lockedDevices;
57
+ private hostAccount;
54
58
  private broker;
55
59
  private readonly url;
56
60
  private readonly port;
@@ -96,6 +100,10 @@ declare class SyncClient {
96
100
  * with every simulator erase and fresh dev client, and each one can hold
97
101
  * multi-MB snapshots, so a long-lived server has to forget eventually.
98
102
  */
103
+ private requireAdmission;
104
+ private setAdmission;
105
+ private requireDeviceAccount;
106
+ private lockDevice;
99
107
  private pruneStaleDevices;
100
108
  /** Disconnect and tear down a spawned broker, if any. */
101
109
  stop(): Promise<void>;
package/dist/index.d.ts CHANGED
@@ -25,13 +25,14 @@ interface DeviceInfo {
25
25
  /** Whether the connected app reported an active Buoy Pro license. */
26
26
  isPro: boolean;
27
27
  /**
28
- * The app's access tier. Apps older than the tier split report only `isPro`,
29
- * which maps exactly — a key could only ever grant Pro back then.
28
+ * The app's tier once the broker has admitted its account, or "locked"
29
+ * until then. Apps older than the tier split report only `isPro`, which
30
+ * maps exactly — a key could only ever grant Pro back then.
30
31
  *
31
32
  * Surfaced so `list_devices` can say WHY the MCP is blocked: "signed in on
32
- * the free tier" and "no account at all" are different problems.
33
+ * the free tier" and "no admitted account" are different problems.
33
34
  */
34
- tier: "anonymous" | "free" | "pro";
35
+ tier: "locked" | "free" | "pro";
35
36
  /**
36
37
  * More than one app is registered under this id right now (a pinned
37
38
  * `externalSync.deviceId` copied onto two devices). Actions sent to it
@@ -51,6 +52,9 @@ type BrokerMode = "connected" | "spawned";
51
52
  */
52
53
  declare class SyncClient {
53
54
  private socket;
55
+ private admitted;
56
+ private lockedDevices;
57
+ private hostAccount;
54
58
  private broker;
55
59
  private readonly url;
56
60
  private readonly port;
@@ -96,6 +100,10 @@ declare class SyncClient {
96
100
  * with every simulator erase and fresh dev client, and each one can hold
97
101
  * multi-MB snapshots, so a long-lived server has to forget eventually.
98
102
  */
103
+ private requireAdmission;
104
+ private setAdmission;
105
+ private requireDeviceAccount;
106
+ private lockDevice;
99
107
  private pruneStaleDevices;
100
108
  /** Disconnect and tear down a spawned broker, if any. */
101
109
  stop(): Promise<void>;