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.
@@ -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 fetch(url, {
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-2QS42EQF.js");
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-ABECLEYE.js";
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-N43D53RC.js");
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
- } from "./chunk-HI42GBQ3.js";
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listTandemIds,
3
3
  startProxy
4
- } from "./chunk-ABECLEYE.js";
4
+ } from "./chunk-ZSHCHOPL.js";
5
5
  import "./chunk-TCWIXG5C.js";
6
6
  import "./chunk-247WFMCJ.js";
7
7
  import "./chunk-Z5LPNJQ6.js";
package/dist/lib.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  normalizeBackendEvent,
3
3
  sanitizeDisplayname,
4
4
  startEventStream
5
- } from "./chunk-HI42GBQ3.js";
5
+ } from "./chunk-CUOJHP2S.js";
6
6
  import {
7
7
  resubscribeMemberships
8
8
  } from "./chunk-OT2GILXC.js";
@@ -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-WPN3EN7C.js");
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-WPN3EN7C.js");
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-WPN3EN7C.js");
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({
@@ -9,7 +9,7 @@ import {
9
9
  LOG_HEARTBEAT_INTERVAL_MS,
10
10
  UNARMED_FALLBACK_MS,
11
11
  createAdaptiveWatchdog
12
- } from "./chunk-HI42GBQ3.js";
12
+ } from "./chunk-CUOJHP2S.js";
13
13
  import "./chunk-Z5LPNJQ6.js";
14
14
  import "./chunk-MIEI4PLB.js";
15
15
  import "./chunk-U5HHHRXA.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kojee-mcp",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {