kojee-mcp 0.7.5-staging.18 → 0.7.5-staging.19
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.
|
@@ -154,6 +154,16 @@ var GatewayClient = class {
|
|
|
154
154
|
);
|
|
155
155
|
return {
|
|
156
156
|
"Content-Type": "application/json",
|
|
157
|
+
// Request an UNCOMPRESSED response. The gateway (nginx) gzips responses
|
|
158
|
+
// over its size floor; the in-session client was JSON-parsing those gzip
|
|
159
|
+
// bytes without decompressing (proven via strace: a `1f 8b 08…` gzip header
|
|
160
|
+
// reaching JSON.parse → the "Unexpected token '�'" blob that wedged
|
|
161
|
+
// every in-session read). Asking for `identity` makes the gateway send
|
|
162
|
+
// plain JSON, so no read path depends on transparent gzip decompression
|
|
163
|
+
// (which behaves inconsistently across the two undici versions in play:
|
|
164
|
+
// Node-builtin here vs the npm undici used by the SSE stream). Restoring
|
|
165
|
+
// gzip + proper decompression is a separate follow-up.
|
|
166
|
+
"Accept-Encoding": "identity",
|
|
157
167
|
Authorization: `DPoP ${this.token}`,
|
|
158
168
|
DPoP: proof,
|
|
159
169
|
"Mcp-Session-Id": getSessionId()
|
package/dist/cli.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-EIAUW6KO.js";
|
|
5
5
|
import {
|
|
6
6
|
startProxy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UQMJBB6E.js";
|
|
8
8
|
import "./chunk-CCVRXJJ2.js";
|
|
9
9
|
import {
|
|
10
10
|
pairedConfigPath
|
|
11
11
|
} from "./chunk-5SZHXYPK.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-SJJSRV5N.js";
|
|
13
13
|
import "./chunk-Z5LPNJQ6.js";
|
|
14
14
|
import "./chunk-I67C2HYA.js";
|
|
15
15
|
import "./chunk-MIEI4PLB.js";
|
|
@@ -117,7 +117,7 @@ Restart Claude Code for hooks to take effect.`
|
|
|
117
117
|
program.command("send <tandem_id>").description(
|
|
118
118
|
"Send a Tandem message using this machine's paired credentials (~/.kojee). Prints one JSON envelope to stdout: {ok, message_id, cursor, text} on success, {ok:false, error:<typed code>, message} on failure (exit 1)."
|
|
119
119
|
).requiredOption("--body <text>", "Message body (required)").option("--reply-to <message_id>", "Message id this send replies to").option("--kind <kind>", "Message kind: message | status (default: backend default)").action(async (tandemId, opts) => {
|
|
120
|
-
const { runSendCli } = await import("./send-cli-
|
|
120
|
+
const { runSendCli } = await import("./send-cli-SSMZDZDN.js");
|
|
121
121
|
const { exitCode, envelope } = await runSendCli({
|
|
122
122
|
tandemId,
|
|
123
123
|
body: opts.body,
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listTandemIds,
|
|
3
3
|
startProxy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UQMJBB6E.js";
|
|
5
5
|
import "./chunk-CCVRXJJ2.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-SJJSRV5N.js";
|
|
7
7
|
import "./chunk-Z5LPNJQ6.js";
|
|
8
8
|
import "./chunk-I67C2HYA.js";
|
|
9
9
|
import "./chunk-MIEI4PLB.js";
|
package/dist/lib.js
CHANGED