@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/index.js
CHANGED
|
@@ -12071,10 +12071,7 @@ function createLiveSessionOptions(deps) {
|
|
|
12071
12071
|
},
|
|
12072
12072
|
onLiveQuestionGone: (sessionId) => {
|
|
12073
12073
|
deps.pendingQuestionKey.delete(sessionId);
|
|
12074
|
-
|
|
12075
|
-
if (pq?.toolUseId.startsWith("screen:")) {
|
|
12076
|
-
deps.cancelPendingQuestion(sessionId);
|
|
12077
|
-
}
|
|
12074
|
+
deps.cancelPendingQuestion(sessionId);
|
|
12078
12075
|
},
|
|
12079
12076
|
onReady: (session) => {
|
|
12080
12077
|
const resp = deps.sessionStore.get(session.id, deps.ptyAttachedIds());
|
|
@@ -16024,6 +16021,19 @@ var StreamerServer = class {
|
|
|
16024
16021
|
ciphertext: sealed.ciphertext,
|
|
16025
16022
|
nonce: sealed.nonce,
|
|
16026
16023
|
ephemeralPublicKey: sealed.ephemeralPublicKey,
|
|
16024
|
+
// Advertises, does not dictate. This is what the server believes its
|
|
16025
|
+
// public address to be; the address the client talks to is the one its
|
|
16026
|
+
// user typed or scanned. Do not build anything on the assumption that a
|
|
16027
|
+
// client adopts this.
|
|
16028
|
+
//
|
|
16029
|
+
// Mobile used to resolve its server address as `publicUrl ?? typedUrl`,
|
|
16030
|
+
// so this field silently replaced what the user entered — and since the
|
|
16031
|
+
// reply is unauthenticated before E2EE, one response could relocate a
|
|
16032
|
+
// device permanently (TB-S-13). Fixed client-side in threadbase-mobile#720;
|
|
16033
|
+
// still sent, now recorded rather than applied.
|
|
16034
|
+
//
|
|
16035
|
+
// Released builds that predate that fix DO still adopt it, so changing
|
|
16036
|
+
// this value moves where old devices talk. It is not a free field.
|
|
16027
16037
|
publicUrl: this.publicUrl,
|
|
16028
16038
|
machineName: hostname3(),
|
|
16029
16039
|
...device && {
|