@sideboard-ai/core 0.1.288 → 0.1.290
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/{agents-GZLTMGSH.js → agents-4BBCKITL.js} +4 -4
- package/dist/{agents-UQMHFZSM.js → agents-XAKSP653.js} +4 -4
- package/dist/{chunk-HNB2HTCV.js → chunk-2IXKTAIT.js} +1 -1
- package/dist/{chunk-442O6OXM.js → chunk-4VXWLY3L.js} +13 -12
- package/dist/{chunk-3W5SL5EW.js → chunk-5HPMKLJ7.js} +1 -1
- package/dist/{chunk-4NM72HJZ.js → chunk-G74TSBJ3.js} +4 -4
- package/dist/{chunk-WQSIUZEB.js → chunk-GBAACE3C.js} +4 -4
- package/dist/{chunk-2N77CLRQ.js → chunk-LUQ7MIVD.js} +3 -3
- package/dist/{chunk-IA4MPG7F.js → chunk-O4324MXE.js} +2 -2
- package/dist/{chunk-WW5XGEMY.js → chunk-QOUTSISS.js} +14 -13
- package/dist/{chunk-DBOFDEQ7.js → chunk-V3BSO2O6.js} +2 -2
- package/dist/{chunk-6NVQNTJO.js → chunk-VNCPRMIK.js} +3 -3
- package/dist/{conductor-MCU63Z5U.js → conductor-5MNGC25D.js} +4 -4
- package/dist/{conductor-ZLYZVIAV.js → conductor-UFJXJPTF.js} +4 -4
- package/dist/{coordinator-prompt-KHCXXDRO.js → coordinator-prompt-5Q66Y5KW.js} +3 -3
- package/dist/{coordinator-prompt-UV6THLMD.js → coordinator-prompt-BYPEW6DE.js} +3 -3
- package/dist/{global-workspace-GDHZSFP6.js → global-workspace-BTH2YGDZ.js} +3 -3
- package/dist/{global-workspace-AXTSYVAE.js → global-workspace-YKOYXSB2.js} +3 -3
- package/dist/index.cjs +695 -145
- package/dist/index.d.cts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +641 -102
- package/dist/mcp/run-stdio.cjs +2 -1
- package/dist/mcp/run-stdio.js +6 -6
- package/dist/{orchestrator-5ZBHR6BJ.js → orchestrator-EQSK2RMI.js} +6 -6
- package/dist/{orchestrator-SDH6W6ZL.js → orchestrator-GSOW3RPA.js} +6 -6
- package/dist/{thread-store-7XBOUQ5K.js → thread-store-DPKESDFR.js} +1 -1
- package/dist/{thread-store-ZQZDREVH.js → thread-store-X6S2GIR5.js} +1 -1
- package/dist/{workspaces-Q2R2XGO3.js → workspaces-ELO2YVTU.js} +3 -3
- package/dist/{workspaces-L2UR4KC2.js → workspaces-RFD6I4FM.js} +3 -3
- package/dist/{worktree-2GOK4VYT.js → worktree-ADVQ6X6C.js} +2 -2
- package/dist/{worktree-YEUTJ7MZ.js → worktree-TN7DZDJZ.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-N5UGX3JL.js → chunk-QB5MDOHL.js} +0 -0
- /package/dist/{chunk-JPH7PYSK.js → chunk-YRXV3E7J.js} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -7891,12 +7891,24 @@ type RemoteHostAuthorizer = (input: {
|
|
|
7891
7891
|
ok: false;
|
|
7892
7892
|
message: string;
|
|
7893
7893
|
};
|
|
7894
|
+
type RemotePhoneSession = {
|
|
7895
|
+
deviceId: string;
|
|
7896
|
+
deviceLabel: string;
|
|
7897
|
+
};
|
|
7898
|
+
/**
|
|
7899
|
+
* Phone pairings on disk. `save` runs when a pairing is created.
|
|
7900
|
+
* `find` runs only when that token is not already in memory.
|
|
7901
|
+
*/
|
|
7902
|
+
type RemotePhoneSessions = {
|
|
7903
|
+
find(sessionToken: string): RemotePhoneSession | null;
|
|
7904
|
+
save(deviceId: string, sessionToken: string): void;
|
|
7905
|
+
};
|
|
7894
7906
|
/**
|
|
7895
7907
|
* In-memory phone ↔ Mac registry. One active phone socket per Mac.
|
|
7896
7908
|
* A phone may hold session tokens for several Macs and attaches to one at a time.
|
|
7897
7909
|
* Host secrets and session tokens survive that Mac reconnecting in this process.
|
|
7898
|
-
* A
|
|
7899
|
-
*
|
|
7910
|
+
* A new pairing is written to the store. A relay restart drops memory; the next
|
|
7911
|
+
* resume reads that store, then keeps the session in memory.
|
|
7900
7912
|
*/
|
|
7901
7913
|
declare class RemoteHub {
|
|
7902
7914
|
private readonly opts;
|
|
@@ -7907,6 +7919,7 @@ declare class RemoteHub {
|
|
|
7907
7919
|
private readonly phonesByToken;
|
|
7908
7920
|
constructor(opts?: {
|
|
7909
7921
|
authorizeHost?: RemoteHostAuthorizer;
|
|
7922
|
+
phoneSessions?: RemotePhoneSessions;
|
|
7910
7923
|
onAuthorized?: (socket: RemoteSocket) => void;
|
|
7911
7924
|
});
|
|
7912
7925
|
handleClientMessage(socket: RemoteSocket, raw: string): void;
|
|
@@ -7915,6 +7928,9 @@ declare class RemoteHub {
|
|
|
7915
7928
|
private registerHost;
|
|
7916
7929
|
private issueCode;
|
|
7917
7930
|
private pairPhone;
|
|
7931
|
+
/** In-memory session, with the live Mac's label when that socket is up. */
|
|
7932
|
+
private memorySession;
|
|
7933
|
+
private knownSession;
|
|
7918
7934
|
private resumePhone;
|
|
7919
7935
|
private listHosts;
|
|
7920
7936
|
private releasePhoneSocket;
|
package/dist/index.d.ts
CHANGED
|
@@ -7891,12 +7891,24 @@ type RemoteHostAuthorizer = (input: {
|
|
|
7891
7891
|
ok: false;
|
|
7892
7892
|
message: string;
|
|
7893
7893
|
};
|
|
7894
|
+
type RemotePhoneSession = {
|
|
7895
|
+
deviceId: string;
|
|
7896
|
+
deviceLabel: string;
|
|
7897
|
+
};
|
|
7898
|
+
/**
|
|
7899
|
+
* Phone pairings on disk. `save` runs when a pairing is created.
|
|
7900
|
+
* `find` runs only when that token is not already in memory.
|
|
7901
|
+
*/
|
|
7902
|
+
type RemotePhoneSessions = {
|
|
7903
|
+
find(sessionToken: string): RemotePhoneSession | null;
|
|
7904
|
+
save(deviceId: string, sessionToken: string): void;
|
|
7905
|
+
};
|
|
7894
7906
|
/**
|
|
7895
7907
|
* In-memory phone ↔ Mac registry. One active phone socket per Mac.
|
|
7896
7908
|
* A phone may hold session tokens for several Macs and attaches to one at a time.
|
|
7897
7909
|
* Host secrets and session tokens survive that Mac reconnecting in this process.
|
|
7898
|
-
* A
|
|
7899
|
-
*
|
|
7910
|
+
* A new pairing is written to the store. A relay restart drops memory; the next
|
|
7911
|
+
* resume reads that store, then keeps the session in memory.
|
|
7900
7912
|
*/
|
|
7901
7913
|
declare class RemoteHub {
|
|
7902
7914
|
private readonly opts;
|
|
@@ -7907,6 +7919,7 @@ declare class RemoteHub {
|
|
|
7907
7919
|
private readonly phonesByToken;
|
|
7908
7920
|
constructor(opts?: {
|
|
7909
7921
|
authorizeHost?: RemoteHostAuthorizer;
|
|
7922
|
+
phoneSessions?: RemotePhoneSessions;
|
|
7910
7923
|
onAuthorized?: (socket: RemoteSocket) => void;
|
|
7911
7924
|
});
|
|
7912
7925
|
handleClientMessage(socket: RemoteSocket, raw: string): void;
|
|
@@ -7915,6 +7928,9 @@ declare class RemoteHub {
|
|
|
7915
7928
|
private registerHost;
|
|
7916
7929
|
private issueCode;
|
|
7917
7930
|
private pairPhone;
|
|
7931
|
+
/** In-memory session, with the live Mac's label when that socket is up. */
|
|
7932
|
+
private memorySession;
|
|
7933
|
+
private knownSession;
|
|
7918
7934
|
private resumePhone;
|
|
7919
7935
|
private listHosts;
|
|
7920
7936
|
private releasePhoneSocket;
|