@rubytech/create-realagent 1.0.709 → 1.0.712
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/index.js +38 -3
- package/package.json +2 -2
- package/payload/platform/lib/mcp-spawn-tee/dist/index.d.ts +53 -0
- package/payload/platform/lib/mcp-spawn-tee/dist/index.d.ts.map +1 -0
- package/payload/platform/lib/mcp-spawn-tee/dist/index.js +132 -0
- package/payload/platform/lib/mcp-spawn-tee/dist/index.js.map +1 -0
- package/payload/platform/lib/mcp-spawn-tee/src/index.ts +134 -0
- package/payload/platform/lib/mcp-spawn-tee/tsconfig.json +8 -0
- package/payload/platform/package.json +2 -2
- package/payload/platform/plugins/docs/references/plugins-guide.md +12 -4
- package/payload/platform/plugins/linkedin-import/PLUGIN.md +1 -0
- package/payload/platform/plugins/linkedin-import/skills/linkedin-import/SKILL.md +26 -5
- package/payload/platform/plugins/linkedin-import/skills/linkedin-import/references/connections.md +53 -82
- package/payload/platform/plugins/linkedin-import/skills/linkedin-import/references/profile.md +42 -49
- package/payload/platform/plugins/memory/PLUGIN.md +1 -0
- package/payload/platform/plugins/memory/mcp/dist/index.js +48 -0
- package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-loader.test.js +34 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-loader.test.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.d.ts +10 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.js +22 -3
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-archive-write.d.ts +33 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-archive-write.d.ts.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-archive-write.js +229 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-archive-write.js.map +1 -0
- package/payload/platform/plugins/memory/mcp/package.json +3 -1
- package/payload/platform/plugins/memory/mcp/scripts/boot-smoke.sh +69 -0
- package/payload/platform/plugins/memory/references/graph-primitives.md +22 -0
- package/payload/platform/plugins/memory/references/schema-base.md +1 -1
- package/payload/platform/scripts/redact-install-logs.sh +85 -0
- package/payload/platform/scripts/setup.sh +20 -3
- package/payload/platform/scripts/verify-skill-tool-surface.sh +255 -0
- package/payload/platform/templates/specialists/agents/database-operator.md +6 -2
- package/payload/server/chunk-A5K3CFMI.js +12297 -0
- package/payload/server/chunk-U5JPRUYZ.js +12298 -0
- package/payload/server/maxy-edge.js +1 -1
- package/payload/server/public/assets/{graph-BRD96pKD.js → graph-DJ7IfYHV.js} +12 -12
- package/payload/server/public/graph.html +1 -1
- package/payload/server/server.js +49 -28
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Graph — Maxy</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico">
|
|
8
|
-
<script type="module" crossorigin src="/assets/graph-
|
|
8
|
+
<script type="module" crossorigin src="/assets/graph-DJ7IfYHV.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/chunk-DD-I1_y5.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/jsx-runtime-BUs3sHtV.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/Checkbox-CjbS9JcG.js">
|
package/payload/server/server.js
CHANGED
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
vncLog,
|
|
99
99
|
waitForExit,
|
|
100
100
|
writeChromiumWrapper
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-U5JPRUYZ.js";
|
|
102
102
|
|
|
103
103
|
// ../lib/graph-trash/dist/index.js
|
|
104
104
|
var require_dist = __commonJS({
|
|
@@ -10558,18 +10558,35 @@ var ALL_GRAPH_LABELS = Object.freeze(
|
|
|
10558
10558
|
var HIDDEN_BY_DEFAULT_LABELS = Object.freeze(
|
|
10559
10559
|
/* @__PURE__ */ new Set(["Chunk", "GraphPreference"])
|
|
10560
10560
|
);
|
|
10561
|
-
var
|
|
10561
|
+
var FILTER_TOP_LEVEL_LABELS = Object.freeze(
|
|
10562
10562
|
/* @__PURE__ */ new Set([
|
|
10563
|
-
"
|
|
10564
|
-
"
|
|
10565
|
-
"
|
|
10566
|
-
"
|
|
10567
|
-
"
|
|
10568
|
-
"
|
|
10569
|
-
"
|
|
10570
|
-
"
|
|
10571
|
-
"
|
|
10572
|
-
"
|
|
10563
|
+
"LocalBusiness",
|
|
10564
|
+
"Service",
|
|
10565
|
+
"PriceSpecification",
|
|
10566
|
+
"OpeningHoursSpecification",
|
|
10567
|
+
"Organization",
|
|
10568
|
+
"Person",
|
|
10569
|
+
"UserProfile",
|
|
10570
|
+
"Preference",
|
|
10571
|
+
"AdminUser",
|
|
10572
|
+
"AccessGrant",
|
|
10573
|
+
"KnowledgeDocument",
|
|
10574
|
+
"DigitalDocument",
|
|
10575
|
+
"CreativeWork",
|
|
10576
|
+
"Question",
|
|
10577
|
+
"FAQPage",
|
|
10578
|
+
"DefinedTerm",
|
|
10579
|
+
"Review",
|
|
10580
|
+
"ImageObject",
|
|
10581
|
+
"AdminConversation",
|
|
10582
|
+
"PublicConversation",
|
|
10583
|
+
"Task",
|
|
10584
|
+
"Project",
|
|
10585
|
+
"Event",
|
|
10586
|
+
"Workflow",
|
|
10587
|
+
"OnboardingState",
|
|
10588
|
+
"Email",
|
|
10589
|
+
"EmailAccount"
|
|
10573
10590
|
])
|
|
10574
10591
|
);
|
|
10575
10592
|
var AGENT_ACTION_LABELS = Object.freeze(
|
|
@@ -11063,16 +11080,13 @@ app28.get("/", requireAdminSession, async (c) => {
|
|
|
11063
11080
|
const started = Date.now();
|
|
11064
11081
|
const session = getSession();
|
|
11065
11082
|
try {
|
|
11066
|
-
const
|
|
11067
|
-
...HIDDEN_BY_DEFAULT_LABELS,
|
|
11068
|
-
...FILTER_EXCLUDED_LABELS
|
|
11069
|
-
]);
|
|
11083
|
+
const allowedSet = new Set(FILTER_TOP_LEVEL_LABELS);
|
|
11070
11084
|
if (includeAgentActions) {
|
|
11071
|
-
for (const label of AGENT_ACTION_LABELS)
|
|
11085
|
+
for (const label of AGENT_ACTION_LABELS) allowedSet.add(label);
|
|
11072
11086
|
}
|
|
11073
|
-
const
|
|
11087
|
+
const allowed = [...allowedSet];
|
|
11074
11088
|
const result = await session.executeRead(async (tx) => {
|
|
11075
|
-
return await tx.run(LABELS_IN_GRAPH_CYPHER, { accountId,
|
|
11089
|
+
return await tx.run(LABELS_IN_GRAPH_CYPHER, { accountId, allowed });
|
|
11076
11090
|
});
|
|
11077
11091
|
const labels = result.records.map((r) => ({
|
|
11078
11092
|
label: String(r.get("label")),
|
|
@@ -11113,7 +11127,7 @@ var LABELS_IN_GRAPH_CYPHER = `
|
|
|
11113
11127
|
AND NOT n:Trashed
|
|
11114
11128
|
AND n.deletedAt IS NULL
|
|
11115
11129
|
WITH n,
|
|
11116
|
-
[l IN labels(n) WHERE
|
|
11130
|
+
[l IN labels(n) WHERE l IN $allowed] AS keptLabels,
|
|
11117
11131
|
size([(n)--() | 1]) AS halfEdges
|
|
11118
11132
|
UNWIND keptLabels AS label
|
|
11119
11133
|
WITH label,
|
|
@@ -11180,6 +11194,11 @@ app29.put("/", requireAdminSession, async (c) => {
|
|
|
11180
11194
|
console.error(
|
|
11181
11195
|
`[graph-page] default-view-rejected op=save account=${accountId} reason="${validation.reason}"`
|
|
11182
11196
|
);
|
|
11197
|
+
if (validation.code === "not-eligible-chip") {
|
|
11198
|
+
console.error(
|
|
11199
|
+
`[graph-page] default-view-save-rejected reason=not-eligible-chip label="${validation.label}" account=${accountId}`
|
|
11200
|
+
);
|
|
11201
|
+
}
|
|
11183
11202
|
return c.json({ error: validation.reason }, 400);
|
|
11184
11203
|
}
|
|
11185
11204
|
const { labels, includeTrashed } = validation;
|
|
@@ -11213,21 +11232,23 @@ app29.put("/", requireAdminSession, async (c) => {
|
|
|
11213
11232
|
});
|
|
11214
11233
|
function validateBody2(body) {
|
|
11215
11234
|
if (!Array.isArray(body.labels)) {
|
|
11216
|
-
return { ok: false, reason: "labels must be an array of strings" };
|
|
11235
|
+
return { ok: false, code: "shape", reason: "labels must be an array of strings" };
|
|
11217
11236
|
}
|
|
11218
11237
|
if (typeof body.includeTrashed !== "boolean") {
|
|
11219
|
-
return { ok: false, reason: "includeTrashed must be a boolean" };
|
|
11238
|
+
return { ok: false, code: "shape", reason: "includeTrashed must be a boolean" };
|
|
11220
11239
|
}
|
|
11221
11240
|
const seen = /* @__PURE__ */ new Set();
|
|
11222
11241
|
for (const lbl of body.labels) {
|
|
11223
11242
|
if (typeof lbl !== "string") {
|
|
11224
|
-
return { ok: false, reason: "labels must be an array of strings" };
|
|
11225
|
-
}
|
|
11226
|
-
if (!isKnownLabel(lbl)) {
|
|
11227
|
-
return { ok: false, reason: `unknown label "${lbl}" \u2014 not registered in graph-labels.ts` };
|
|
11243
|
+
return { ok: false, code: "shape", reason: "labels must be an array of strings" };
|
|
11228
11244
|
}
|
|
11229
|
-
if (
|
|
11230
|
-
return {
|
|
11245
|
+
if (!FILTER_TOP_LEVEL_LABELS.has(lbl)) {
|
|
11246
|
+
return {
|
|
11247
|
+
ok: false,
|
|
11248
|
+
code: "not-eligible-chip",
|
|
11249
|
+
label: lbl,
|
|
11250
|
+
reason: `label "${lbl}" is not eligible for default view \u2014 outside the chip allowlist (FILTER_TOP_LEVEL_LABELS, Task 753)`
|
|
11251
|
+
};
|
|
11231
11252
|
}
|
|
11232
11253
|
seen.add(lbl);
|
|
11233
11254
|
}
|