@rubytech/create-maxy 1.0.736 → 1.0.738
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/package.json +1 -1
- package/payload/platform/lib/oauth-llm/dist/index.d.ts +11 -1
- package/payload/platform/lib/oauth-llm/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/oauth-llm/dist/index.js.map +1 -1
- package/payload/platform/lib/oauth-llm/src/index.ts +11 -1
- package/payload/platform/plugins/admin/mcp/dist/index.js +1 -1
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/docs/references/memory-guide.md +2 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/llm-classifier.test.d.ts +2 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/llm-classifier.test.d.ts.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/llm-classifier.test.js +59 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/llm-classifier.test.js.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/llm-classifier.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/llm-classifier.js +9 -2
- package/payload/platform/plugins/memory/mcp/dist/lib/llm-classifier.js.map +1 -1
- package/payload/platform/plugins/memory/skills/document-ingest/SKILL.md +11 -0
- package/payload/platform/scripts/admin-conversation-recover.mjs +386 -0
- package/payload/server/chunk-VOD2IZ6J.js +2934 -0
- package/payload/server/chunk-VS7CRH4M.js +9439 -0
- package/payload/server/client-pool-67NUIL7H.js +28 -0
- package/payload/server/maxy-edge.js +2 -2
- package/payload/server/server.js +13 -10
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
_evictAllForTest,
|
|
3
|
+
_poolSnapshotForTest,
|
|
4
|
+
acquireClient,
|
|
5
|
+
evictClient,
|
|
6
|
+
getActiveClient,
|
|
7
|
+
interruptClient,
|
|
8
|
+
pushUserMessage,
|
|
9
|
+
recordCachedTokens,
|
|
10
|
+
recordCrash,
|
|
11
|
+
setInflight,
|
|
12
|
+
startIdleEvictTick,
|
|
13
|
+
stopIdleEvictTick
|
|
14
|
+
} from "./chunk-VOD2IZ6J.js";
|
|
15
|
+
export {
|
|
16
|
+
_evictAllForTest,
|
|
17
|
+
_poolSnapshotForTest,
|
|
18
|
+
acquireClient,
|
|
19
|
+
evictClient,
|
|
20
|
+
getActiveClient,
|
|
21
|
+
interruptClient,
|
|
22
|
+
pushUserMessage,
|
|
23
|
+
recordCachedTokens,
|
|
24
|
+
recordCrash,
|
|
25
|
+
setInflight,
|
|
26
|
+
startIdleEvictTick,
|
|
27
|
+
stopIdleEvictTick
|
|
28
|
+
};
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
sanitizeClientCorrId,
|
|
17
17
|
streamActionEvents,
|
|
18
18
|
vncLog
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-VS7CRH4M.js";
|
|
20
|
+
import "./chunk-VOD2IZ6J.js";
|
|
21
21
|
|
|
22
22
|
// server/edge.ts
|
|
23
23
|
import { createServer, request as httpRequest } from "http";
|
package/payload/server/server.js
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
vncLog,
|
|
47
47
|
waitForExit,
|
|
48
48
|
writeChromiumWrapper
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VS7CRH4M.js";
|
|
50
50
|
import {
|
|
51
51
|
GREETING_DIRECTIVE,
|
|
52
52
|
HAIKU_MODEL,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
validateSession,
|
|
103
103
|
verifyAndGetConversationUpdatedAt,
|
|
104
104
|
verifyConversationOwnership
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VOD2IZ6J.js";
|
|
106
106
|
|
|
107
107
|
// ../lib/graph-trash/dist/index.js
|
|
108
108
|
var require_dist = __commonJS({
|
|
@@ -8114,7 +8114,7 @@ var app11 = new Hono();
|
|
|
8114
8114
|
app11.post("/cancel", requireAdminSession, async (c) => {
|
|
8115
8115
|
const session_key = c.var.sessionKey;
|
|
8116
8116
|
try {
|
|
8117
|
-
const { interruptClient: interruptClient2 } = await import("./client-pool-
|
|
8117
|
+
const { interruptClient: interruptClient2 } = await import("./client-pool-67NUIL7H.js");
|
|
8118
8118
|
await interruptClient2(session_key);
|
|
8119
8119
|
return c.json({ ok: true });
|
|
8120
8120
|
} catch (err) {
|
|
@@ -8271,10 +8271,13 @@ app11.post("/", requireAdminSession, async (c) => {
|
|
|
8271
8271
|
const sseConvId = getConversationIdForSession(session_key);
|
|
8272
8272
|
const sseLogStream = sseConvId ? agentLogStream("sse-events", account.accountDir, sseConvId) : preConversationLogStream("sse-events", account.accountDir);
|
|
8273
8273
|
const sk = sseConvId?.slice(0, 8) ?? session_key.slice(0, 8);
|
|
8274
|
-
|
|
8275
|
-
|
|
8274
|
+
function resolveTeeStreamLogPath() {
|
|
8275
|
+
const liveConvId = getConversationIdForSession(session_key);
|
|
8276
|
+
const key = liveConvId ?? preflushStreamLogKey(session_key);
|
|
8277
|
+
return resolve12(account.accountDir, "logs", `claude-agent-stream-${key}.log`);
|
|
8278
|
+
}
|
|
8276
8279
|
try {
|
|
8277
|
-
appendFileSync4(
|
|
8280
|
+
appendFileSync4(resolveTeeStreamLogPath(), `[${(/* @__PURE__ */ new Date()).toISOString()}] [chat-route-version=task606-tee-path-resolve] sessionKey=${session_key.slice(0, 12)}\u2026
|
|
8278
8281
|
`);
|
|
8279
8282
|
} catch {
|
|
8280
8283
|
}
|
|
@@ -8283,7 +8286,7 @@ app11.post("/", requireAdminSession, async (c) => {
|
|
|
8283
8286
|
incoming.on("close", () => {
|
|
8284
8287
|
const tsClose = (/* @__PURE__ */ new Date()).toISOString();
|
|
8285
8288
|
try {
|
|
8286
|
-
appendFileSync4(
|
|
8289
|
+
appendFileSync4(resolveTeeStreamLogPath(), `[${tsClose}] [incoming-close] sessionKey=${session_key.slice(0, 12)}\u2026 complete=${incoming.complete}
|
|
8287
8290
|
`);
|
|
8288
8291
|
} catch {
|
|
8289
8292
|
}
|
|
@@ -8291,7 +8294,7 @@ app11.post("/", requireAdminSession, async (c) => {
|
|
|
8291
8294
|
console.error(`[${tsClose}] [incoming-close] DISCONNECT sessionKey=${session_key.slice(0, 12)}\u2026`);
|
|
8292
8295
|
interruptClient(session_key).catch((err) => {
|
|
8293
8296
|
try {
|
|
8294
|
-
appendFileSync4(
|
|
8297
|
+
appendFileSync4(resolveTeeStreamLogPath(), `[${(/* @__PURE__ */ new Date()).toISOString()}] [incoming-close] interrupt-failed: ${err instanceof Error ? err.message : String(err)}
|
|
8295
8298
|
`);
|
|
8296
8299
|
} catch {
|
|
8297
8300
|
}
|
|
@@ -8300,7 +8303,7 @@ app11.post("/", requireAdminSession, async (c) => {
|
|
|
8300
8303
|
});
|
|
8301
8304
|
} else {
|
|
8302
8305
|
try {
|
|
8303
|
-
appendFileSync4(
|
|
8306
|
+
appendFileSync4(resolveTeeStreamLogPath(), `[${(/* @__PURE__ */ new Date()).toISOString()}] [incoming-close] UNAVAILABLE \u2014 c.env.incoming is not an EventEmitter
|
|
8304
8307
|
`);
|
|
8305
8308
|
} catch {
|
|
8306
8309
|
}
|
|
@@ -8312,7 +8315,7 @@ app11.post("/", requireAdminSession, async (c) => {
|
|
|
8312
8315
|
} catch {
|
|
8313
8316
|
}
|
|
8314
8317
|
try {
|
|
8315
|
-
appendFileSync4(
|
|
8318
|
+
appendFileSync4(resolveTeeStreamLogPath(), line);
|
|
8316
8319
|
} catch {
|
|
8317
8320
|
}
|
|
8318
8321
|
return true;
|