@rubytech/create-maxy-code 0.1.228 → 0.1.229
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/mcp/dist/index.js +9 -20
- package/payload/platform/plugins/admin/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +33 -1
- package/payload/platform/plugins/admin/skills/qr-code/SKILL.md +6 -5
- package/payload/platform/plugins/admin/skills/qr-code/references/data-formats.md +2 -2
- package/payload/platform/plugins/admin/skills/unzip-attachment/SKILL.md +1 -1
- package/payload/platform/plugins/cloudflare/references/dashboard-guide.md +28 -0
- package/payload/platform/plugins/cloudflare/references/serving-published-sites.md +73 -0
- package/payload/platform/plugins/cloudflare/skills/setup-tunnel/SKILL.md +1 -1
- package/payload/platform/plugins/docs/references/troubleshooting.md +32 -0
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js +5 -2
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js.map +1 -1
- package/payload/server/public/assets/AdminShell-1-LbiDAw.js +1 -0
- package/payload/server/public/assets/{admin-CE1Dy8-O.js → admin-BrCMyi1e.js} +1 -1
- package/payload/server/public/assets/data-V17bGzzl.js +1 -0
- package/payload/server/public/assets/graph-CYsyxGM1.js +51 -0
- package/payload/server/public/data.html +2 -2
- package/payload/server/public/graph.html +2 -2
- package/payload/server/public/index.html +2 -2
- package/payload/server/public/assets/AdminShell-BHSiRGiE.js +0 -1
- package/payload/server/public/assets/data-CKk52rib.js +0 -1
- package/payload/server/public/assets/graph-TuzretIr.js +0 -51
package/package.json
CHANGED
|
@@ -2033,40 +2033,29 @@ server.tool("remote-auth-set-password", "Set the remote access password. Hashes
|
|
|
2033
2033
|
// ===================================================================
|
|
2034
2034
|
// Utility tools
|
|
2035
2035
|
// ===================================================================
|
|
2036
|
-
eagerTool(server, "qr-generate", "Generate a QR code from text or a URL.
|
|
2036
|
+
eagerTool(server, "qr-generate", "Generate a QR code PNG from text or a URL. Writes the PNG under accounts/<accountId>/output/qr/ and returns the file path. Pass outputPath to write to a specific location instead (used by the brochure pipeline for qr-listing.png / qr-video.png).", {
|
|
2037
2037
|
data: z.string().describe("The text or URL to encode in the QR code"),
|
|
2038
2038
|
outputPath: z
|
|
2039
2039
|
.string()
|
|
2040
2040
|
.optional()
|
|
2041
|
-
.describe("
|
|
2041
|
+
.describe("Absolute file path to save the PNG. Defaults to <accountDir>/output/qr/qr-<timestamp>.png."),
|
|
2042
2042
|
width: z.number().optional().describe("Width in pixels (default 300)"),
|
|
2043
2043
|
}, async ({ data, outputPath, width }) => {
|
|
2044
2044
|
if (!ACCOUNT_ID)
|
|
2045
2045
|
return refuseNoAccount("qr-generate");
|
|
2046
2046
|
try {
|
|
2047
2047
|
const options = { width: width ?? 300, margin: 2 };
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
text: `QR code saved to ${outputPath}`,
|
|
2055
|
-
},
|
|
2056
|
-
],
|
|
2057
|
-
};
|
|
2058
|
-
}
|
|
2059
|
-
const dataUri = await QRCode.toDataURL(data, options);
|
|
2048
|
+
const dest = outputPath ?? (() => {
|
|
2049
|
+
const qrDir = join(getAccountDir(), "output", "qr");
|
|
2050
|
+
mkdirSync(qrDir, { recursive: true });
|
|
2051
|
+
return join(qrDir, `qr-${Date.now()}.png`);
|
|
2052
|
+
})();
|
|
2053
|
+
await QRCode.toFile(dest, data, options);
|
|
2060
2054
|
return {
|
|
2061
2055
|
content: [
|
|
2062
2056
|
{
|
|
2063
2057
|
type: "text",
|
|
2064
|
-
text: `QR code
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
type: "image",
|
|
2068
|
-
data: dataUri.replace(/^data:image\/png;base64,/, ""),
|
|
2069
|
-
mimeType: "image/png",
|
|
2058
|
+
text: `QR code saved to ${dest}`,
|
|
2070
2059
|
},
|
|
2071
2060
|
],
|
|
2072
2061
|
};
|