@rubytech/create-maxy-code 0.1.499 → 0.1.500
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/plugins/admin/PLUGIN.md +1 -1
- package/payload/platform/plugins/admin/hooks/__tests__/admin-authoring-observer.test.sh +135 -0
- package/payload/platform/plugins/admin/hooks/__tests__/prompt-optimiser-directive.test.sh +11 -2
- package/payload/platform/plugins/admin/hooks/prompt-optimiser-directive.sh +6 -3
- package/payload/platform/plugins/admin/mcp/dist/index.js +52 -107
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.d.ts +8 -4
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.d.ts.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.js +67 -50
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.js.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/store-skill-core.d.ts +33 -0
- package/payload/platform/plugins/admin/mcp/dist/store-skill-core.d.ts.map +1 -0
- package/payload/platform/plugins/admin/mcp/dist/store-skill-core.js +122 -0
- package/payload/platform/plugins/admin/mcp/dist/store-skill-core.js.map +1 -0
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +9 -3
- package/payload/platform/plugins/contacts/.claude-plugin/plugin.json +1 -1
- package/payload/platform/plugins/contacts/PLUGIN.md +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/index.js +3 -12
- package/payload/platform/plugins/contacts/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/__tests__/contact-lookup.test.js +105 -2
- package/payload/platform/plugins/contacts/mcp/dist/tools/__tests__/contact-lookup.test.js.map +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-lookup.d.ts +11 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-lookup.d.ts.map +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-lookup.js +56 -4
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-lookup.js.map +1 -1
- package/payload/platform/plugins/docs/references/contacts-guide.md +2 -0
- package/payload/platform/plugins/docs/references/outlook-guide.md +4 -0
- package/payload/platform/plugins/docs/references/plugins-guide.md +2 -2
- package/payload/platform/plugins/email/skills/email-composition/SKILL.md +9 -1
- package/payload/platform/plugins/outlook/skills/outlook/SKILL.md +6 -0
- package/payload/platform/plugins/prompt-optimiser/skills/prompt-optimiser/SKILL.md +1 -1
- package/payload/platform/plugins/prompt-optimiser/skills/prompt-optimiser/__tests__/restatement-ladder.test.sh +2 -1
- package/payload/platform/services/claude-session-manager/dist/index.js +26 -1
- package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/skill-registration-drift.d.ts +15 -0
- package/payload/platform/services/claude-session-manager/dist/skill-registration-drift.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/skill-registration-drift.js +61 -0
- package/payload/platform/services/claude-session-manager/dist/skill-registration-drift.js.map +1 -1
- package/payload/platform/templates/agents/admin/IDENTITY.md +1 -1
- package/payload/server/public/assets/{AdminLoginScreens-Ce5aBBWF.js → AdminLoginScreens-CKg_Dlpv.js} +1 -1
- package/payload/server/public/assets/{admin-BWb8me-E.js → admin-wtSUU5N0.js} +1 -1
- package/payload/server/public/assets/chat-DRuIxGtE.js +1 -0
- package/payload/server/public/assets/data-BdZCvyvN.js +1 -0
- package/payload/server/public/assets/{operator-DCNWUKP_.js → operator-DglDYmdV.js} +1 -1
- package/payload/server/public/assets/{page-C4TrTU6r.js → page-C-5sTAE-.js} +2 -2
- package/payload/server/public/assets/{page-DUgrGrJp.js → page-C8G5p4jr.js} +1 -1
- package/payload/server/public/assets/{public-DXJXQPwe.js → public-DqJjXR4p.js} +1 -1
- package/payload/server/public/assets/{useVoiceRecorder-Cu6zvuFx.js → useVoiceRecorder-Cj-VZDKO.js} +1 -1
- package/payload/server/public/chat.html +3 -3
- package/payload/server/public/data.html +3 -3
- package/payload/server/public/index.html +4 -4
- package/payload/server/public/operator.html +4 -4
- package/payload/server/public/public.html +3 -3
- package/payload/server/server.js +42 -6
- package/payload/server/public/assets/chat-MvnxPJZ5.js +0 -1
- package/payload/server/public/assets/data-BjqC4hyM.js +0 -1
package/payload/server/server.js
CHANGED
|
@@ -11623,6 +11623,7 @@ function unwrapChannel(text) {
|
|
|
11623
11623
|
return source ? { text: inner, source } : { text: inner };
|
|
11624
11624
|
}
|
|
11625
11625
|
var COMPOSED_ADMIN_FRAME = /^(?:## Scheduled automation \(platform-verified\)\n[\s\S]*?\n\n)?(?:## Standing rules\n[\s\S]*?\n\n)?## Context\n([\s\S]*)\n\n## Instruction\n[\s\S]*$/;
|
|
11626
|
+
var SCHEDULED_MARKER_PREFIX = "## Scheduled automation (platform-verified)\n";
|
|
11626
11627
|
var UPLOAD_ANNOTATION = /(?:\n\n)?\[The operator uploaded \d+ file\(s\): [\s\S]*\]$/;
|
|
11627
11628
|
function rawFromComposedAdminFrame(text) {
|
|
11628
11629
|
const context = text.match(COMPOSED_ADMIN_FRAME)?.[1];
|
|
@@ -11638,6 +11639,7 @@ function uploadCountOf(text) {
|
|
|
11638
11639
|
function operatorInboundTurn(u, ts) {
|
|
11639
11640
|
const rawBody = rawFromComposedAdminFrame(u.text);
|
|
11640
11641
|
const uploadCount = uploadCountOf(u.text);
|
|
11642
|
+
const scheduled = rawBody !== void 0 && u.text.startsWith(SCHEDULED_MARKER_PREFIX);
|
|
11641
11643
|
const text = rawBody === void 0 ? u.text.replace(PUBLIC_UPLOAD_ANNOTATION, "") : u.text;
|
|
11642
11644
|
return {
|
|
11643
11645
|
kind: "operator-inbound",
|
|
@@ -11645,7 +11647,8 @@ function operatorInboundTurn(u, ts) {
|
|
|
11645
11647
|
ts,
|
|
11646
11648
|
...u.source ? { source: u.source } : {},
|
|
11647
11649
|
...rawBody !== void 0 ? { rawBody } : {},
|
|
11648
|
-
...uploadCount !== void 0 ? { uploadCount } : {}
|
|
11650
|
+
...uploadCount !== void 0 ? { uploadCount } : {},
|
|
11651
|
+
...scheduled ? { scheduled: true } : {}
|
|
11649
11652
|
};
|
|
11650
11653
|
}
|
|
11651
11654
|
function asString(content) {
|
|
@@ -16821,7 +16824,7 @@ function parseSkillPathsFromFrontmatter(fm) {
|
|
|
16821
16824
|
}
|
|
16822
16825
|
return out;
|
|
16823
16826
|
}
|
|
16824
|
-
function listPluginDirs() {
|
|
16827
|
+
function listPluginDirs(accountPluginsDir) {
|
|
16825
16828
|
const out = /* @__PURE__ */ new Map();
|
|
16826
16829
|
const platformPlugins = resolve22(PLATFORM_ROOT, "plugins");
|
|
16827
16830
|
if (existsSync30(platformPlugins)) {
|
|
@@ -16850,8 +16853,38 @@ function listPluginDirs() {
|
|
|
16850
16853
|
}
|
|
16851
16854
|
}
|
|
16852
16855
|
}
|
|
16856
|
+
if (accountPluginsDir && existsSync30(accountPluginsDir)) {
|
|
16857
|
+
try {
|
|
16858
|
+
for (const name of readdirSync22(accountPluginsDir)) {
|
|
16859
|
+
if (out.has(name)) continue;
|
|
16860
|
+
const dir = join33(accountPluginsDir, name);
|
|
16861
|
+
try {
|
|
16862
|
+
if (statSync13(dir).isDirectory()) out.set(name, dir);
|
|
16863
|
+
} catch {
|
|
16864
|
+
}
|
|
16865
|
+
}
|
|
16866
|
+
} catch {
|
|
16867
|
+
}
|
|
16868
|
+
}
|
|
16853
16869
|
return out;
|
|
16854
16870
|
}
|
|
16871
|
+
function accountPluginsDirFor(accountId) {
|
|
16872
|
+
return resolve22(PLATFORM_ROOT, "..", "data/accounts", accountId, "plugins");
|
|
16873
|
+
}
|
|
16874
|
+
function listAccountPluginNames(accountPluginsDir) {
|
|
16875
|
+
if (!existsSync30(accountPluginsDir)) return [];
|
|
16876
|
+
try {
|
|
16877
|
+
return readdirSync22(accountPluginsDir).filter((name) => {
|
|
16878
|
+
try {
|
|
16879
|
+
return statSync13(join33(accountPluginsDir, name)).isDirectory();
|
|
16880
|
+
} catch {
|
|
16881
|
+
return false;
|
|
16882
|
+
}
|
|
16883
|
+
});
|
|
16884
|
+
} catch {
|
|
16885
|
+
return [];
|
|
16886
|
+
}
|
|
16887
|
+
}
|
|
16855
16888
|
function readEnabledPlugins(accountId) {
|
|
16856
16889
|
const accountFile = resolve22(PLATFORM_ROOT, "..", "data/accounts", accountId, "account.json");
|
|
16857
16890
|
if (!existsSync30(accountFile)) return /* @__PURE__ */ new Set();
|
|
@@ -16877,10 +16910,13 @@ function readFrontmatter(path3) {
|
|
|
16877
16910
|
}
|
|
16878
16911
|
function computeActivePlugins(accountId) {
|
|
16879
16912
|
const enabled = readEnabledPlugins(accountId);
|
|
16880
|
-
|
|
16881
|
-
const
|
|
16913
|
+
const accountPluginsDir = accountPluginsDirFor(accountId);
|
|
16914
|
+
const accountPluginNames = listAccountPluginNames(accountPluginsDir);
|
|
16915
|
+
const emitNames = Array.from(/* @__PURE__ */ new Set([...enabled, ...accountPluginNames])).sort();
|
|
16916
|
+
if (emitNames.length === 0) return [];
|
|
16917
|
+
const pluginDirs = listPluginDirs(accountPluginsDir);
|
|
16882
16918
|
const out = [];
|
|
16883
|
-
for (const name of
|
|
16919
|
+
for (const name of emitNames) {
|
|
16884
16920
|
const dir = pluginDirs.get(name);
|
|
16885
16921
|
if (!dir) continue;
|
|
16886
16922
|
const fm = readFrontmatter(join33(dir, "PLUGIN.md"));
|
|
@@ -16934,7 +16970,7 @@ function computeSpecialistDomains(accountId) {
|
|
|
16934
16970
|
} catch {
|
|
16935
16971
|
return [];
|
|
16936
16972
|
}
|
|
16937
|
-
const pluginDirs = listPluginDirs();
|
|
16973
|
+
const pluginDirs = listPluginDirs(accountPluginsDirFor(accountId));
|
|
16938
16974
|
const descByPlugin = /* @__PURE__ */ new Map();
|
|
16939
16975
|
const resolveDesc = (qualified) => {
|
|
16940
16976
|
if (!qualified.startsWith("mcp__")) return void 0;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e,U as t}from"./useSubAccountSwitcher-Bc7XHr0L.js";import"./useVoiceRecorder-Cu6zvuFx.js";import"./AdminShell-BFVVkWFC.js";import{n}from"./page-C4TrTU6r.js";import"./useCopyFeedback-DHCtz8qX.js";var r=t(),i=e();(0,r.createRoot)(document.getElementById(`root`)).render((0,i.jsx)(n,{}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e,U as t}from"./useSubAccountSwitcher-Bc7XHr0L.js";import"./useVoiceRecorder-Cu6zvuFx.js";import{t as n}from"./page-DUgrGrJp.js";import"./graph-labels-DykmXYHA.js";var r=t(),i=e();(0,r.createRoot)(document.getElementById(`root`)).render((0,i.jsx)(n,{}));
|