@threadbase-sh/streamer 1.55.1 → 1.55.2
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.cjs +14 -4
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -149929,10 +149929,7 @@ function createLiveSessionOptions(deps) {
|
|
|
149929
149929
|
},
|
|
149930
149930
|
onLiveQuestionGone: (sessionId) => {
|
|
149931
149931
|
deps.pendingQuestionKey.delete(sessionId);
|
|
149932
|
-
|
|
149933
|
-
if (pq?.toolUseId.startsWith("screen:")) {
|
|
149934
|
-
deps.cancelPendingQuestion(sessionId);
|
|
149935
|
-
}
|
|
149932
|
+
deps.cancelPendingQuestion(sessionId);
|
|
149936
149933
|
},
|
|
149937
149934
|
onReady: (session) => {
|
|
149938
149935
|
const resp = deps.sessionStore.get(session.id, deps.ptyAttachedIds());
|
|
@@ -153926,6 +153923,19 @@ var StreamerServer = class {
|
|
|
153926
153923
|
ciphertext: sealed.ciphertext,
|
|
153927
153924
|
nonce: sealed.nonce,
|
|
153928
153925
|
ephemeralPublicKey: sealed.ephemeralPublicKey,
|
|
153926
|
+
// Advertises, does not dictate. This is what the server believes its
|
|
153927
|
+
// public address to be; the address the client talks to is the one its
|
|
153928
|
+
// user typed or scanned. Do not build anything on the assumption that a
|
|
153929
|
+
// client adopts this.
|
|
153930
|
+
//
|
|
153931
|
+
// Mobile used to resolve its server address as `publicUrl ?? typedUrl`,
|
|
153932
|
+
// so this field silently replaced what the user entered — and since the
|
|
153933
|
+
// reply is unauthenticated before E2EE, one response could relocate a
|
|
153934
|
+
// device permanently (TB-S-13). Fixed client-side in threadbase-mobile#720;
|
|
153935
|
+
// still sent, now recorded rather than applied.
|
|
153936
|
+
//
|
|
153937
|
+
// Released builds that predate that fix DO still adopt it, so changing
|
|
153938
|
+
// this value moves where old devices talk. It is not a free field.
|
|
153929
153939
|
publicUrl: this.publicUrl,
|
|
153930
153940
|
machineName: (0, import_os17.hostname)(),
|
|
153931
153941
|
...device && {
|