@rubytech/create-maxy 1.0.881 → 1.0.884
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/graph-mcp/dist/index.js +45 -0
- package/payload/platform/lib/graph-mcp/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-mcp/src/index.ts +47 -0
- package/payload/platform/lib/graph-write/dist/__tests__/action-provenance-gate.test.js +57 -9
- package/payload/platform/lib/graph-write/dist/__tests__/action-provenance-gate.test.js.map +1 -1
- package/payload/platform/lib/graph-write/dist/conversation-provenance.d.ts +26 -0
- package/payload/platform/lib/graph-write/dist/conversation-provenance.d.ts.map +1 -0
- package/payload/platform/lib/graph-write/dist/conversation-provenance.js +81 -0
- package/payload/platform/lib/graph-write/dist/conversation-provenance.js.map +1 -0
- package/payload/platform/lib/graph-write/dist/index.d.ts +38 -16
- package/payload/platform/lib/graph-write/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/graph-write/dist/index.js +75 -35
- package/payload/platform/lib/graph-write/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-write/src/__tests__/action-provenance-gate.test.ts +59 -9
- package/payload/platform/lib/graph-write/src/conversation-provenance.ts +140 -0
- package/payload/platform/lib/graph-write/src/index.ts +76 -35
- package/payload/platform/lib/mcp-eager/dist/index.d.ts +61 -0
- package/payload/platform/lib/mcp-eager/dist/index.d.ts.map +1 -0
- package/payload/platform/lib/mcp-eager/dist/index.js +49 -0
- package/payload/platform/lib/mcp-eager/dist/index.js.map +1 -0
- package/payload/platform/lib/mcp-eager/src/index.ts +78 -0
- package/payload/platform/lib/mcp-eager/tsconfig.json +8 -0
- package/payload/platform/package.json +2 -2
- package/payload/platform/plugins/admin/mcp/dist/__tests__/plugin-read-skill-resolution.test.js +26 -2
- package/payload/platform/plugins/admin/mcp/dist/__tests__/plugin-read-skill-resolution.test.js.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/index.js +36 -33
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.d.ts +5 -1
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.d.ts.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.js +24 -8
- package/payload/platform/plugins/admin/mcp/dist/skill-resolution.js.map +1 -1
- package/payload/platform/plugins/contacts/PLUGIN.md +8 -0
- package/payload/platform/plugins/contacts/mcp/dist/index.js +10 -9
- package/payload/platform/plugins/contacts/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-create.d.ts.map +1 -1
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-create.js +17 -2
- package/payload/platform/plugins/contacts/mcp/dist/tools/contact-create.js.map +1 -1
- package/payload/platform/plugins/docs/references/internals.md +15 -2
- package/payload/platform/plugins/docs/references/plugins-guide.md +2 -0
- package/payload/platform/plugins/email/mcp/dist/index.js +10 -9
- package/payload/platform/plugins/email/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/PLUGIN.md +5 -3
- package/payload/platform/plugins/memory/mcp/dist/index.js +10 -9
- package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js +18 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js.map +1 -1
- package/payload/platform/plugins/scheduling/mcp/dist/index.js +9 -8
- package/payload/platform/plugins/scheduling/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/tasks/mcp/dist/index.js +15 -14
- package/payload/platform/plugins/tasks/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/telegram/mcp/dist/index.js +4 -3
- package/payload/platform/plugins/telegram/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/workflows/mcp/dist/index.js +9 -8
- package/payload/platform/plugins/workflows/mcp/dist/index.js.map +1 -1
- package/payload/platform/scripts/__tests__/logs-read-prefix.sh +341 -0
- package/payload/platform/scripts/logs-read.sh +108 -41
- package/payload/platform/scripts/logs-read.test.sh +6 -2
- package/payload/platform/templates/agents/admin/IDENTITY.md +1 -1
- package/payload/premium-plugins/real-agency/BUNDLE.md +1 -1
- package/payload/server/chunk-5PQU2HW2.js +11672 -0
- package/payload/server/chunk-ECAQVMRA.js +759 -0
- package/payload/server/chunk-K7S5T4VG.js +11534 -0
- package/payload/server/cloudflare-task-tracker-JNZXLW32.js +22 -0
- package/payload/server/maxy-edge.js +2 -2
- package/payload/server/server.js +38 -6
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CLOUDFLARE_TASK_DIAGNOSTICS,
|
|
3
|
+
appendCloudflareSteps,
|
|
4
|
+
completeCloudflareTask,
|
|
5
|
+
findMostRecentTerminalCloudflareTask,
|
|
6
|
+
openCloudflareTask,
|
|
7
|
+
readTunnelState,
|
|
8
|
+
recoverRunningCloudflareTasks,
|
|
9
|
+
resolveUnitGoneVerdict
|
|
10
|
+
} from "./chunk-ECAQVMRA.js";
|
|
11
|
+
import "./chunk-DOIAYD3J.js";
|
|
12
|
+
import "./chunk-JSBRDJBE.js";
|
|
13
|
+
export {
|
|
14
|
+
CLOUDFLARE_TASK_DIAGNOSTICS,
|
|
15
|
+
appendCloudflareSteps,
|
|
16
|
+
completeCloudflareTask,
|
|
17
|
+
findMostRecentTerminalCloudflareTask,
|
|
18
|
+
openCloudflareTask,
|
|
19
|
+
readTunnelState,
|
|
20
|
+
recoverRunningCloudflareTasks,
|
|
21
|
+
resolveUnitGoneVerdict
|
|
22
|
+
};
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
streamActionEvents,
|
|
17
17
|
vncLog,
|
|
18
18
|
websockifyLog
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5PQU2HW2.js";
|
|
20
20
|
import {
|
|
21
21
|
LOG_DIR,
|
|
22
22
|
WEBSOCKIFY_PORT
|
|
23
23
|
} from "./chunk-2INJCOYG.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ECAQVMRA.js";
|
|
25
25
|
import "./chunk-DOIAYD3J.js";
|
|
26
26
|
import "./chunk-JSBRDJBE.js";
|
|
27
27
|
|
package/payload/server/server.js
CHANGED
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
vncLog,
|
|
77
77
|
waitForExit,
|
|
78
78
|
writeChromiumWrapper
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5PQU2HW2.js";
|
|
80
80
|
import {
|
|
81
81
|
CDP_PORT,
|
|
82
82
|
COMMERCIAL_MODE,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
openCloudflareTask,
|
|
125
125
|
readTunnelState,
|
|
126
126
|
resolveUnitGoneVerdict
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-ECAQVMRA.js";
|
|
128
128
|
import {
|
|
129
129
|
GREETING_DIRECTIVE,
|
|
130
130
|
HAIKU_MODEL,
|
|
@@ -12881,7 +12881,7 @@ function startGraphHealthTimer() {
|
|
|
12881
12881
|
}
|
|
12882
12882
|
|
|
12883
12883
|
// server/index.ts
|
|
12884
|
-
import { existsSync as existsSyncBoot } from "fs";
|
|
12884
|
+
import { existsSync as existsSyncBoot, readFileSync as readFileSyncBoot } from "fs";
|
|
12885
12885
|
import { resolve as resolveBoot } from "path";
|
|
12886
12886
|
function requestIsTlsTerminated(c) {
|
|
12887
12887
|
const remote = c.env?.incoming?.socket?.remoteAddress ?? "";
|
|
@@ -13695,11 +13695,15 @@ var bootEntitlement = bootAccountConfig ? resolveEntitlement(
|
|
|
13695
13695
|
purchasedPlugins: Array.isArray(bootAccountConfig.purchasedPlugins) ? bootAccountConfig.purchasedPlugins : void 0
|
|
13696
13696
|
}
|
|
13697
13697
|
) : null;
|
|
13698
|
-
autoDeliverPremiumPlugins(
|
|
13698
|
+
autoDeliverPremiumPlugins(
|
|
13699
|
+
bootEntitlement?.purchasedPlugins ?? void 0,
|
|
13700
|
+
bootAccount?.accountDir,
|
|
13701
|
+
bootAccount?.config
|
|
13702
|
+
);
|
|
13699
13703
|
(async () => {
|
|
13700
13704
|
if (!bootAccount) return;
|
|
13701
13705
|
try {
|
|
13702
|
-
const { recoverRunningCloudflareTasks } = await import("./cloudflare-task-tracker-
|
|
13706
|
+
const { recoverRunningCloudflareTasks } = await import("./cloudflare-task-tracker-JNZXLW32.js");
|
|
13703
13707
|
const result = await recoverRunningCloudflareTasks(
|
|
13704
13708
|
bootAccount.accountId,
|
|
13705
13709
|
configDirForWhatsApp,
|
|
@@ -13740,7 +13744,35 @@ for (const dir of bootEnabled) {
|
|
|
13740
13744
|
}
|
|
13741
13745
|
bootDelivered.push(dir);
|
|
13742
13746
|
}
|
|
13743
|
-
|
|
13747
|
+
var bootEnabledNotDelivered = [];
|
|
13748
|
+
if (bootEntitlement?.purchasedPlugins?.length) {
|
|
13749
|
+
const enabledSet = new Set(bootEnabled);
|
|
13750
|
+
for (const purchased of bootEntitlement.purchasedPlugins) {
|
|
13751
|
+
const bundlePath = resolveBoot(PLATFORM_ROOT, "..", "premium-plugins", purchased, "BUNDLE.md");
|
|
13752
|
+
if (!existsSyncBoot(bundlePath)) continue;
|
|
13753
|
+
try {
|
|
13754
|
+
const raw = readFileSyncBoot(bundlePath, "utf-8");
|
|
13755
|
+
const fm = raw.match(/^---\n([\s\S]*?)\n---/);
|
|
13756
|
+
if (!fm) continue;
|
|
13757
|
+
let inPlugins = false;
|
|
13758
|
+
for (const line of fm[1].split("\n")) {
|
|
13759
|
+
if (/^plugins:/.test(line)) {
|
|
13760
|
+
inPlugins = true;
|
|
13761
|
+
continue;
|
|
13762
|
+
}
|
|
13763
|
+
if (inPlugins) {
|
|
13764
|
+
const m = line.match(/^\s+- (.+)/);
|
|
13765
|
+
if (!m) break;
|
|
13766
|
+
const sub = m[1].trim();
|
|
13767
|
+
if (!enabledSet.has(sub)) bootEnabledNotDelivered.push(sub);
|
|
13768
|
+
}
|
|
13769
|
+
}
|
|
13770
|
+
} catch {
|
|
13771
|
+
}
|
|
13772
|
+
}
|
|
13773
|
+
}
|
|
13774
|
+
var bootEnabledNotDeliveredField = bootEnabledNotDelivered.length > 0 ? ` enabled-not-delivered=[${bootEnabledNotDelivered.join(",")}]` : "";
|
|
13775
|
+
console.error(`[plugins] readiness enabled=${bootEnabled.length} delivered=${bootDelivered.length} dist-missing=[${bootDistMissing.join(",")}] missing=[${bootMissing.join(",")}]${bootEnabledNotDeliveredField}`);
|
|
13744
13776
|
if (bootAccountConfig?.whatsapp) {
|
|
13745
13777
|
console.error(`[whatsapp:boot] loading whatsapp config from account.json publicAgent=${bootPublicAgent ?? "none"}`);
|
|
13746
13778
|
} else {
|