@rubytech/create-maxy 1.0.740 → 1.0.741
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/brand-templating/dist/index.d.ts +18 -0
- package/payload/platform/lib/brand-templating/dist/index.d.ts.map +1 -0
- package/payload/platform/lib/brand-templating/dist/index.js +69 -0
- package/payload/platform/lib/brand-templating/dist/index.js.map +1 -0
- package/payload/platform/lib/brand-templating/src/index.ts +76 -0
- package/payload/platform/lib/brand-templating/tsconfig.json +8 -0
- package/payload/platform/lib/graph-write/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/graph-write/dist/index.js +23 -1
- package/payload/platform/lib/graph-write/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-write/src/index.ts +27 -4
- package/payload/platform/neo4j/schema.cypher +5 -2
- package/payload/platform/package.json +2 -2
- package/payload/platform/plugins/admin/mcp/dist/index.js +6 -1
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/admin/skills/onboarding/SKILL.md +7 -7
- package/payload/platform/plugins/admin/skills/plugin-management/SKILL.md +1 -1
- package/payload/platform/plugins/anthropic/skills/get-api-key/SKILL.md +2 -2
- package/payload/platform/plugins/cloudflare/skills/setup-tunnel/SKILL.md +1 -1
- package/payload/platform/plugins/docs/references/access-control.md +10 -10
- package/payload/platform/plugins/docs/references/contacts-guide.md +11 -11
- package/payload/platform/plugins/docs/references/deployment.md +13 -13
- package/payload/platform/plugins/docs/references/getting-started.md +19 -19
- package/payload/platform/plugins/docs/references/internals.md +4 -4
- package/payload/platform/plugins/docs/references/memory-guide.md +21 -21
- package/payload/platform/plugins/docs/references/migration-guide.md +5 -5
- package/payload/platform/plugins/docs/references/platform.md +9 -9
- package/payload/platform/plugins/docs/references/plugins-guide.md +20 -12
- package/payload/platform/plugins/docs/references/projects-guide.md +10 -10
- package/payload/platform/plugins/docs/references/settings.md +13 -13
- package/payload/platform/plugins/docs/references/telegram-guide.md +14 -14
- package/payload/platform/plugins/docs/references/troubleshooting.md +23 -23
- package/payload/platform/plugins/linkedin-import/skills/linkedin-import/SKILL.md +6 -6
- package/payload/platform/plugins/linkedin-import/skills/linkedin-import/references/profile.md +2 -2
- package/payload/platform/plugins/whatsapp/skills/connect-whatsapp/SKILL.md +2 -2
- package/payload/platform/plugins/workflows/mcp/test-workflows.sh +5 -1
- package/payload/platform/scripts/dedupe-userprofile-ghosts.sh +388 -0
- package/payload/platform/scripts/embed-backfill.sh +8 -1
- package/payload/platform/scripts/migrate-import.sh +42 -1
- package/payload/platform/scripts/seed-neo4j.sh +1 -0
- package/payload/server/chunk-PQ6LDXZ4.js +2997 -0
- package/payload/server/chunk-W6ZUNLLS.js +9446 -0
- package/payload/server/client-pool-DQBHSKAF.js +28 -0
- package/payload/server/maxy-edge.js +2 -2
- package/payload/server/server.js +41 -3
|
@@ -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-PQ6LDXZ4.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-W6ZUNLLS.js";
|
|
20
|
+
import "./chunk-PQ6LDXZ4.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-W6ZUNLLS.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-PQ6LDXZ4.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-DQBHSKAF.js");
|
|
8118
8118
|
await interruptClient2(session_key);
|
|
8119
8119
|
return c.json({ ok: true });
|
|
8120
8120
|
} catch (err) {
|
|
@@ -11601,6 +11601,20 @@ async function runGraphHealthTick() {
|
|
|
11601
11601
|
return `${labels}:${c}`;
|
|
11602
11602
|
}).join(",");
|
|
11603
11603
|
console.error(`[graph-health] orphans total=${total} top=${topStr || "none"}`);
|
|
11604
|
+
const upResult = await session.run(
|
|
11605
|
+
`MATCH (p:UserProfile)
|
|
11606
|
+
WITH p.accountId AS a, count(*) AS n
|
|
11607
|
+
WHERE n > 1
|
|
11608
|
+
WITH a, n
|
|
11609
|
+
ORDER BY n DESC
|
|
11610
|
+
LIMIT 5
|
|
11611
|
+
RETURN count(a) AS accounts, collect(substring(a, 0, 8) + ':' + n) AS top`
|
|
11612
|
+
);
|
|
11613
|
+
const upAccounts = upResult.records[0]?.get("accounts")?.toNumber?.() ?? 0;
|
|
11614
|
+
const upTop = upResult.records[0]?.get("top") ?? [];
|
|
11615
|
+
console.error(
|
|
11616
|
+
`[graph-health] userprofile-multi accounts=${upAccounts} top=${upTop.length > 0 ? upTop.join(",") : "none"}`
|
|
11617
|
+
);
|
|
11604
11618
|
} catch (err) {
|
|
11605
11619
|
console.error(
|
|
11606
11620
|
`[graph-health] query failed: ${err instanceof Error ? err.message : String(err)}`
|
|
@@ -11609,8 +11623,32 @@ async function runGraphHealthTick() {
|
|
|
11609
11623
|
await session.close();
|
|
11610
11624
|
}
|
|
11611
11625
|
}
|
|
11626
|
+
async function verifyUserProfileConstraint() {
|
|
11627
|
+
const session = getSession();
|
|
11628
|
+
try {
|
|
11629
|
+
const result = await session.run(
|
|
11630
|
+
`SHOW CONSTRAINTS YIELD name WHERE name = 'user_profile_unique_per_user' RETURN count(*) AS n`
|
|
11631
|
+
);
|
|
11632
|
+
const n = result.records[0]?.get("n")?.toNumber?.() ?? 0;
|
|
11633
|
+
if (n > 0) {
|
|
11634
|
+
console.error(`[neo4j-schema] constraint-applied user_profile_unique_per_user`);
|
|
11635
|
+
} else {
|
|
11636
|
+
console.error(
|
|
11637
|
+
`[neo4j-schema] missing user_profile_unique_per_user \u2014 re-run seed-neo4j.sh`
|
|
11638
|
+
);
|
|
11639
|
+
}
|
|
11640
|
+
} catch (err) {
|
|
11641
|
+
console.error(
|
|
11642
|
+
`[neo4j-schema] verify failed: ${err instanceof Error ? err.message : String(err)}`
|
|
11643
|
+
);
|
|
11644
|
+
} finally {
|
|
11645
|
+
await session.close();
|
|
11646
|
+
}
|
|
11647
|
+
}
|
|
11612
11648
|
function startGraphHealthTimer() {
|
|
11613
11649
|
if (timer) return;
|
|
11650
|
+
verifyUserProfileConstraint().catch(() => {
|
|
11651
|
+
});
|
|
11614
11652
|
runGraphHealthTick().catch(() => {
|
|
11615
11653
|
});
|
|
11616
11654
|
timer = setInterval(() => {
|