@rubytech/create-maxy 1.0.727 → 1.0.728

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.
@@ -16,7 +16,7 @@ import {
16
16
  sanitizeClientCorrId,
17
17
  streamActionEvents,
18
18
  vncLog
19
- } from "./chunk-K7GQ5RMN.js";
19
+ } from "./chunk-HPU24BXP.js";
20
20
 
21
21
  // server/edge.ts
22
22
  import { createServer, request as httpRequest } from "http";
@@ -63,6 +63,7 @@ import {
63
63
  loadOnboardingStep,
64
64
  logPath,
65
65
  preConversationLogStream,
66
+ preflushStreamLogKey,
66
67
  recordFailedAttempt,
67
68
  registerGrantSession,
68
69
  registerResumedSession,
@@ -99,7 +100,7 @@ import {
99
100
  vncLog,
100
101
  waitForExit,
101
102
  writeChromiumWrapper
102
- } from "./chunk-K7GQ5RMN.js";
103
+ } from "./chunk-HPU24BXP.js";
103
104
 
104
105
  // ../lib/graph-trash/dist/index.js
105
106
  var require_dist = __commonJS({
@@ -8266,10 +8267,12 @@ app11.post("/", requireAdminSession, async (c) => {
8266
8267
  const reqSignal = c.req.raw?.signal;
8267
8268
  if (reqSignal) {
8268
8269
  reqSignal.addEventListener("abort", () => {
8270
+ const abortLogKey = sseConvId ?? preflushStreamLogKey(session_key);
8271
+ const abortStreamLog = agentLogStream("claude-agent-stream", account.accountDir, abortLogKey);
8269
8272
  const ts = (/* @__PURE__ */ new Date()).toISOString().slice(11, 23);
8270
8273
  sseLog.write(`[${ts}] [${sk}] admin: ABORT [operator-cancel] interrupting pool client
8271
8274
  `);
8272
- interruptClient(session_key, sseLog).catch((err) => {
8275
+ interruptClient(session_key, abortStreamLog).catch((err) => {
8273
8276
  sseLog.write(`[${ts}] [${sk}] admin: ABORT [interrupt-failed] ${err instanceof Error ? err.message : String(err)}
8274
8277
  `);
8275
8278
  });