kojee-mcp 0.7.3 → 0.7.4
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/{chunk-HI42GBQ3.js → chunk-CUOJHP2S.js} +3 -2
- package/dist/{chunk-ABECLEYE.js → chunk-ZSHCHOPL.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{event-stream-WPN3EN7C.js → event-stream-ATKYXDBV.js} +4 -2
- package/dist/index.js +1 -1
- package/dist/lib.js +1 -1
- package/dist/{registry-2QS42EQF.js → registry-XJ67EO22.js} +3 -3
- package/dist/{tail-stream-N43D53RC.js → tail-stream-G4WGTXDS.js} +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-MIEI4PLB.js";
|
|
7
7
|
|
|
8
8
|
// src/tandem/event-stream.ts
|
|
9
|
-
import { Agent } from "undici";
|
|
9
|
+
import { Agent, fetch as undiciFetch } from "undici";
|
|
10
10
|
var STALE_FLOOR_MS = 9e4;
|
|
11
11
|
var STALE_INTERVAL_MULTIPLIER = 3;
|
|
12
12
|
var STALE_CHECK_INTERVAL_MS = 5e3;
|
|
@@ -194,7 +194,7 @@ async function openStream(opts, controller, sinceValue, dispatcher) {
|
|
|
194
194
|
void 0,
|
|
195
195
|
opts.token
|
|
196
196
|
);
|
|
197
|
-
return
|
|
197
|
+
return undiciFetch(url, {
|
|
198
198
|
method: "GET",
|
|
199
199
|
headers: {
|
|
200
200
|
Authorization: `DPoP ${opts.token}`,
|
|
@@ -446,6 +446,7 @@ function normalizeBackendEvent(raw, sseEventType) {
|
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
export {
|
|
449
|
+
undiciFetch,
|
|
449
450
|
UNARMED_FALLBACK_MS,
|
|
450
451
|
UNDICI_DEFAULT_BODY_TIMEOUT_MS,
|
|
451
452
|
createAdaptiveWatchdog,
|
|
@@ -295,7 +295,7 @@ async function startProxy(config) {
|
|
|
295
295
|
}
|
|
296
296
|
console.error(`[kojee-mcp] Tandem memberships: ${tandemMembershipCount === -1 ? "unknown" : tandemMembershipCount}`);
|
|
297
297
|
let server;
|
|
298
|
-
const { selectDelivery } = await import("./registry-
|
|
298
|
+
const { selectDelivery } = await import("./registry-XJ67EO22.js");
|
|
299
299
|
const delivery = selectDelivery(adapter.runtime, {
|
|
300
300
|
supportsChannels: adapter.supportsChannels,
|
|
301
301
|
// Per-window delivered mirror for the tandem_pending tool (codex only —
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-EIAUW6KO.js";
|
|
5
5
|
import {
|
|
6
6
|
startProxy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZSHCHOPL.js";
|
|
8
8
|
import "./chunk-TCWIXG5C.js";
|
|
9
9
|
import {
|
|
10
10
|
pairedConfigPath
|
|
@@ -115,7 +115,7 @@ program.command("send <tandem_id>").description(
|
|
|
115
115
|
process.exit(exitCode);
|
|
116
116
|
});
|
|
117
117
|
program.command("tail <path>").description("Stream a file's contents and follow appends (portable replacement for `tail -F`)").action(async (filePath) => {
|
|
118
|
-
const { runTail } = await import("./tail-stream-
|
|
118
|
+
const { runTail } = await import("./tail-stream-G4WGTXDS.js");
|
|
119
119
|
try {
|
|
120
120
|
await runTail(filePath);
|
|
121
121
|
} catch (err) {
|
|
@@ -8,14 +8,16 @@ import {
|
|
|
8
8
|
sanitizeDisplayname,
|
|
9
9
|
serializeCursorMap,
|
|
10
10
|
startEventStream,
|
|
11
|
-
statusReason
|
|
12
|
-
|
|
11
|
+
statusReason,
|
|
12
|
+
undiciFetch
|
|
13
|
+
} from "./chunk-CUOJHP2S.js";
|
|
13
14
|
import "./chunk-Z5LPNJQ6.js";
|
|
14
15
|
import "./chunk-MIEI4PLB.js";
|
|
15
16
|
export {
|
|
16
17
|
LOG_HEARTBEAT_INTERVAL_MS,
|
|
17
18
|
UNARMED_FALLBACK_MS,
|
|
18
19
|
UNDICI_DEFAULT_BODY_TIMEOUT_MS,
|
|
20
|
+
undiciFetch as _sseStreamFetch,
|
|
19
21
|
createAdaptiveWatchdog,
|
|
20
22
|
createBackoffController,
|
|
21
23
|
normalizeBackendEvent,
|
package/dist/index.js
CHANGED
package/dist/lib.js
CHANGED
|
@@ -126,7 +126,7 @@ function createClaudeCodeDelivery() {
|
|
|
126
126
|
const { resubscribeMemberships } = await import("./resubscribe-G5OGDZJD.js");
|
|
127
127
|
const { resolveWebhookConfig } = await import("./webhook-config-O4WMQ532.js");
|
|
128
128
|
const { createWebhookSink } = await import("./webhook-sink-N6AUTFL3.js");
|
|
129
|
-
const { startEventStream } = await import("./event-stream-
|
|
129
|
+
const { startEventStream } = await import("./event-stream-ATKYXDBV.js");
|
|
130
130
|
const { createMcpServer } = await import("./server-DU3LFS32.js");
|
|
131
131
|
const { deriveDiscoveryKey } = await import("./ancestry-A2F5KQ6A.js");
|
|
132
132
|
const { resolveSharedSessionId } = await import("./cc-session-id-RURNIHHC.js");
|
|
@@ -323,7 +323,7 @@ function createWebhookDelivery(name, pendingLedger) {
|
|
|
323
323
|
const { resolveWebhookConfig } = await import("./webhook-config-O4WMQ532.js");
|
|
324
324
|
const { createWebhookSink } = await import("./webhook-sink-N6AUTFL3.js");
|
|
325
325
|
const { resubscribeMemberships } = await import("./resubscribe-G5OGDZJD.js");
|
|
326
|
-
const { startEventStream } = await import("./event-stream-
|
|
326
|
+
const { startEventStream } = await import("./event-stream-ATKYXDBV.js");
|
|
327
327
|
const { createMcpServer } = await import("./server-DU3LFS32.js");
|
|
328
328
|
sweepStaleEventLogs();
|
|
329
329
|
eventLog = startEventLog({
|
|
@@ -517,7 +517,7 @@ function createOpenclawDelivery(deps = {}) {
|
|
|
517
517
|
async start(ctx) {
|
|
518
518
|
const { startEventLog, sweepStaleEventLogs } = await import("./event-log-2NBJEIEP.js");
|
|
519
519
|
const { resubscribeMemberships } = await import("./resubscribe-G5OGDZJD.js");
|
|
520
|
-
const { startEventStream } = await import("./event-stream-
|
|
520
|
+
const { startEventStream } = await import("./event-stream-ATKYXDBV.js");
|
|
521
521
|
const { createMcpServer } = await import("./server-DU3LFS32.js");
|
|
522
522
|
sweepStaleEventLogs();
|
|
523
523
|
eventLog = startEventLog({
|