@blue-soda/dsh-remote 0.4.29 → 0.4.30
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/client-runtime.d.ts +137 -1
- package/dist/client-runtime.d.ts.map +1 -1
- package/dist/client-runtime.js +399 -22
- package/dist/client-runtime.js.map +1 -1
- package/dist/client-secure-transport.d.ts.map +1 -1
- package/dist/client-secure-transport.js +2 -1
- package/dist/client-secure-transport.js.map +1 -1
- package/dist/client-target-store.d.ts +40 -0
- package/dist/client-target-store.d.ts.map +1 -0
- package/dist/client-target-store.js +79 -0
- package/dist/client-target-store.js.map +1 -0
- package/dist/client.github.js +63 -15
- package/dist/client.js +63 -15
- package/dist/codex/domain.d.ts +9 -0
- package/dist/codex/domain.d.ts.map +1 -1
- package/dist/codex/domain.js +48 -7
- package/dist/codex/domain.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +662 -162
- package/dist/index.js.map +4 -4
- package/dist/remote-typert-gateway.d.ts.map +1 -1
- package/dist/remote-typert-gateway.js +5 -3
- package/dist/remote-typert-gateway.js.map +1 -1
- package/dist/rpc-binary-attachments.d.ts +17 -0
- package/dist/rpc-binary-attachments.d.ts.map +1 -0
- package/dist/rpc-binary-attachments.js +89 -0
- package/dist/rpc-binary-attachments.js.map +1 -0
- package/dist/service.d.ts +10 -0
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +17 -1
- package/dist/service.js.map +1 -1
- package/dist/tui-command.js +7 -5
- package/dist/tui-command.js.map +1 -1
- package/dist/typert-gateway-switch.d.ts.map +1 -1
- package/dist/typert-gateway-switch.js +56 -4
- package/dist/typert-gateway-switch.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dsh-plugin.json +1 -1
- package/package.json +1 -1
package/dist/client-runtime.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type { CodexAppFrameData, CodexAppStreamClosedData } from '@dsh-remote/pr
|
|
|
3
3
|
import { RemoteClientCore } from '@dsh-remote/client-core';
|
|
4
4
|
import { type RtcPeerConnectionFactory } from '@dsh-remote/webrtc';
|
|
5
5
|
import { type HarnessMode } from './api-proxy-switch.js';
|
|
6
|
+
import { ClientTargetStore } from './client-target-store.js';
|
|
6
7
|
import type { ResolvedConfig } from './config.js';
|
|
7
8
|
import { type HostWebServerLike } from './control-route.js';
|
|
8
9
|
import type { IdentityStore } from './identity-store.js';
|
|
@@ -101,6 +102,19 @@ export interface HostAuthorizationControl {
|
|
|
101
102
|
codexOpenStream?(input: unknown, publish: (event: 'codex.app.frame' | 'codex.app.stream.closed', data: CodexAppFrameData | CodexAppStreamClosedData) => Promise<void>, signal?: AbortSignal): Promise<unknown>;
|
|
102
103
|
codexCloseStream?(input: unknown): Promise<unknown>;
|
|
103
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Whether a proof of life failed to reach the peer.
|
|
107
|
+
*
|
|
108
|
+
* The check asks for an answer, not for success, so the two outcomes are told apart by where the
|
|
109
|
+
* error came from. An answer arrives as an error carrying the peer's own code (METHOD_NOT_FOUND,
|
|
110
|
+
* FEATURE_NOT_SUPPORTED, ...). A local failure is either one of the core's own codes above or a raw
|
|
111
|
+
* transport error with no code at all - a send that failed on a socket this process has not noticed
|
|
112
|
+
* is closed. Counting that second kind as liveness would make the whole check useless exactly when
|
|
113
|
+
* it matters.
|
|
114
|
+
* @param error - the error the check rejected with.
|
|
115
|
+
* @returns true when no answer arrived, so the transport must be treated as lost.
|
|
116
|
+
*/
|
|
117
|
+
export declare function livenessProbeLost(error: unknown): boolean;
|
|
104
118
|
export declare class ClientModeRuntime {
|
|
105
119
|
private readonly config;
|
|
106
120
|
private readonly identities;
|
|
@@ -108,6 +122,7 @@ export declare class ClientModeRuntime {
|
|
|
108
122
|
private readonly logger;
|
|
109
123
|
private readonly host?;
|
|
110
124
|
private readonly rtcFactoryProvider;
|
|
125
|
+
private readonly targetStore?;
|
|
111
126
|
private preview?;
|
|
112
127
|
private identity?;
|
|
113
128
|
private connected?;
|
|
@@ -128,14 +143,58 @@ export declare class ClientModeRuntime {
|
|
|
128
143
|
*/
|
|
129
144
|
private remoteReconnectRun;
|
|
130
145
|
private pendingWorkspaceSelection?;
|
|
146
|
+
/**
|
|
147
|
+
* Transport a running fast reconnect is replacing.
|
|
148
|
+
*
|
|
149
|
+
* The rebuild opens its own control connection and the Server closes the older one for the same
|
|
150
|
+
* device, so that close belongs to our own replacement. Reading it as a lost peer is what made the
|
|
151
|
+
* fast level escalate itself into the fallback before it could ever succeed.
|
|
152
|
+
*/
|
|
153
|
+
private supersededClient?;
|
|
154
|
+
/**
|
|
155
|
+
* True while a fast reconnect is rebuilding the link.
|
|
156
|
+
*
|
|
157
|
+
* The probe must not judge the link in the middle of its own replacement: the Server closes the
|
|
158
|
+
* older connection for the device, so a check that ran then would read our replacement's side effect
|
|
159
|
+
* as a second miss and escalate the level that is busy recovering. The rebuild's own outcome decides
|
|
160
|
+
* first; only once it has settled does the cadence resume judging.
|
|
161
|
+
*/
|
|
162
|
+
private fastRebuildInFlight;
|
|
163
|
+
/**
|
|
164
|
+
* The last workspace the user opened for a Host.
|
|
165
|
+
*
|
|
166
|
+
* Kept so a reconnect can republish it: re-selecting the workspace is what makes the native UI
|
|
167
|
+
* re-read its session list, and without it a list poisoned by the outage stays wrong even after
|
|
168
|
+
* the link is back.
|
|
169
|
+
*/
|
|
170
|
+
private lastWorkspaceSelection?;
|
|
131
171
|
private codexVirtual?;
|
|
132
172
|
private readonly proxySwitch?;
|
|
133
173
|
private readonly gatewaySwitch;
|
|
134
174
|
private readonly codexStreams;
|
|
135
175
|
private connectionProgress?;
|
|
136
176
|
private connectionProgressRun;
|
|
177
|
+
/**
|
|
178
|
+
* Host a boot is trying to restore, reported to the UI while the retry loop runs.
|
|
179
|
+
*
|
|
180
|
+
* Nothing is connected yet, so without this the window would show the local shell while the
|
|
181
|
+
* user is still looking at the remote workspace they left.
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* Recovery in progress, and which kind.
|
|
185
|
+
*
|
|
186
|
+
* `restore` is a start that is reconnecting to the recorded target, `fast` keeps the session on
|
|
187
|
+
* screen while its link is rebuilt, and `fallback` is the last resort that returns the user to
|
|
188
|
+
* the local shell. The UI shows all three, so a reconnect is never invisible, and the retry loop
|
|
189
|
+
* stops as soon as the user asks for local.
|
|
190
|
+
*/
|
|
191
|
+
private reconnecting?;
|
|
192
|
+
/** Periodic proof of life for the live remote session; absent while nothing is connected. */
|
|
193
|
+
private livenessTimer?;
|
|
194
|
+
private livenessInFlight;
|
|
195
|
+
private livenessFailures;
|
|
137
196
|
private closed;
|
|
138
|
-
constructor(config: ResolvedConfig, identities: IdentityStore, server: ClientServerApi, apiProxy: ApiProxy | undefined, typertGateway: TypertGatewayLike, logger: SafeLogger, host?: HostAuthorizationControl | undefined, rtcFactoryProvider?: (options?: WeriftFactoryOptions) => Promise<RtcPeerConnectionFactory | undefined
|
|
197
|
+
constructor(config: ResolvedConfig, identities: IdentityStore, server: ClientServerApi, apiProxy: ApiProxy | undefined, typertGateway: TypertGatewayLike, logger: SafeLogger, host?: HostAuthorizationControl | undefined, rtcFactoryProvider?: (options?: WeriftFactoryOptions) => Promise<RtcPeerConnectionFactory | undefined>, targetStore?: ClientTargetStore | undefined);
|
|
139
198
|
start(): Promise<void>;
|
|
140
199
|
/**
|
|
141
200
|
* Whether this installation already holds stored Server credentials for its
|
|
@@ -182,6 +241,64 @@ export declare class ClientModeRuntime {
|
|
|
182
241
|
clearClientAuthorization(): Promise<void>;
|
|
183
242
|
setHostAuthorization(enabled: boolean): Promise<unknown>;
|
|
184
243
|
setMode(mode: HarnessMode, targetDeviceId?: string, signal?: AbortSignal): Promise<Record<string, unknown>>;
|
|
244
|
+
/**
|
|
245
|
+
* Prove the live remote link still answers, and act on the result.
|
|
246
|
+
*
|
|
247
|
+
* Only a missing answer counts as loss: the peer's own error (a refusal, an unknown method) came
|
|
248
|
+
* back over the same link and therefore proves it is there.
|
|
249
|
+
*
|
|
250
|
+
* The two recovery levels differ in what the user keeps. The first miss rebuilds the link in
|
|
251
|
+
* place, so the session, its workspace selection and the remote carriers all stay; the second
|
|
252
|
+
* gives up and returns to the local shell.
|
|
253
|
+
*/
|
|
254
|
+
private verifyRemoteLiveness;
|
|
255
|
+
/**
|
|
256
|
+
* Rebuild the link while the session stays on screen.
|
|
257
|
+
*
|
|
258
|
+
* This is what separates the two recovery levels: nothing is handed back to the local shell, so a
|
|
259
|
+
* link that recovers does not cost the user the view they were working in.
|
|
260
|
+
* @param targetDeviceId - the Host to rebuild the link to.
|
|
261
|
+
*/
|
|
262
|
+
private enterFastReconnect;
|
|
263
|
+
/**
|
|
264
|
+
* Build a new transport for the session already on screen.
|
|
265
|
+
*
|
|
266
|
+
* The carriers hold the previous client, so they are rebound to the new one before the old client
|
|
267
|
+
* is closed; leaving it open would keep pointing remote calls at a dead transport.
|
|
268
|
+
* @param targetDeviceId - the Host to reconnect to.
|
|
269
|
+
* @returns true when a new session is in place.
|
|
270
|
+
*/
|
|
271
|
+
private reestablish;
|
|
272
|
+
private rememberWorkspaceSelection;
|
|
273
|
+
/**
|
|
274
|
+
* Republish the workspace selection so the native UI re-reads its remote session list.
|
|
275
|
+
*
|
|
276
|
+
* The client half consumes status.workspaceSelection and reconnects that workspace; that refresh is
|
|
277
|
+
* what replaces a list the outage had filled with local answers.
|
|
278
|
+
* @param targetDeviceId - the Host the reconnect finished against.
|
|
279
|
+
*/
|
|
280
|
+
private restoreWorkspaceSelection;
|
|
281
|
+
private finishReconnect;
|
|
282
|
+
/**
|
|
283
|
+
* Check the live session now, outside the cadence.
|
|
284
|
+
*
|
|
285
|
+
* Used when the page becomes visible again, which is when a suspended client is most likely to be
|
|
286
|
+
* holding a link that already ended.
|
|
287
|
+
* @returns the status after the check.
|
|
288
|
+
*/
|
|
289
|
+
verifyRemoteConnection(): Promise<Record<string, unknown>>;
|
|
290
|
+
private armLivenessWatch;
|
|
291
|
+
private stopLivenessWatch;
|
|
292
|
+
/**
|
|
293
|
+
* Shared cleanup for a session whose transport is gone.
|
|
294
|
+
*
|
|
295
|
+
* A close event and an exhausted liveness check must leave exactly the same state behind, so both
|
|
296
|
+
* paths run this. The session is gone for good here, which is why the phase becomes 'fallback' and
|
|
297
|
+
* the retry loop keeps the UI saying that it is reconnecting.
|
|
298
|
+
* @param client - the client that was connected.
|
|
299
|
+
* @param targetDeviceId - the Host it was bound to.
|
|
300
|
+
*/
|
|
301
|
+
private handleRemoteTransportLost;
|
|
185
302
|
/**
|
|
186
303
|
* Re-establish a remote session whose transport closed.
|
|
187
304
|
*
|
|
@@ -193,6 +310,25 @@ export declare class ClientModeRuntime {
|
|
|
193
310
|
* @param targetDeviceId - the Host the dropped session was bound to.
|
|
194
311
|
*/
|
|
195
312
|
private reconnectRemoteSession;
|
|
313
|
+
/**
|
|
314
|
+
* Persist the target a later boot may have to restore.
|
|
315
|
+
*
|
|
316
|
+
* A failure here must not fail a connect: the only cost is that a killed process comes back to
|
|
317
|
+
* the local shell, which is where it would have been without this record.
|
|
318
|
+
* @param target - the target to record.
|
|
319
|
+
*/
|
|
320
|
+
private rememberTarget;
|
|
321
|
+
/**
|
|
322
|
+
* Reconnect to the target this device was last using, with the usual backoff.
|
|
323
|
+
*
|
|
324
|
+
* A resumed app can miss the transport close entirely - Android may reclaim the process - so
|
|
325
|
+
* nothing would start the retry loop and the user would face a local shell behind a remote
|
|
326
|
+
* workspace view. Restoring the recorded target gives that case the same loop a dropped
|
|
327
|
+
* transport gets. A target recorded for another Server is left alone: it is not reachable
|
|
328
|
+
* through the configured one.
|
|
329
|
+
* @returns true when a retry loop was started.
|
|
330
|
+
*/
|
|
331
|
+
restoreLastTarget(): Promise<boolean>;
|
|
196
332
|
listRemoteDirectory(targetDeviceId: string, path?: string, signal?: AbortSignal): Promise<RemoteDirectoryListing>;
|
|
197
333
|
listRemoteWorkspaces(targetDeviceId: string, signal?: AbortSignal): Promise<RemoteWorkspaceView[]>;
|
|
198
334
|
openRemoteWorkspace(targetDeviceId: string, path: string, signal?: AbortSignal): Promise<Record<string, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-runtime.d.ts","sourceRoot":"","sources":["../src/client-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AACvF,OAAO,EAAqB,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC7E,OAAO,EAKL,KAAK,wBAAwB,EAC9B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAwB,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACjF,OAAO,KAAK,EAAgB,aAAa,EAAe,MAAM,qBAAqB,CAAA;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAI9C,OAAO,EAIL,KAAK,yBAAyB,EAC/B,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,eAAe,EAGf,KAAK,aAAa,EAEnB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EAAsB,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAa/E,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,CAAC,CAAA;IACjB,KAAK,EAAE,OAAO,CAAA;CACf;AAgCD,MAAM,WAAW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