@rubytech/create-maxy 1.0.0 → 1.0.2
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
CHANGED
|
@@ -282,7 +282,6 @@ function buildPlatform() {
|
|
|
282
282
|
// Stop the running service before rebuilding (upgrade path)
|
|
283
283
|
spawnSync("systemctl", ["--user", "stop", "maxy"], { stdio: "pipe" });
|
|
284
284
|
shell("npm", ["install", "--quiet"], { cwd: join(INSTALL_DIR, "platform") });
|
|
285
|
-
shell("npm", ["run", "build"], { cwd: join(INSTALL_DIR, "platform") });
|
|
286
285
|
shell("npm", ["install", "--quiet"], { cwd: join(INSTALL_DIR, "maxy") });
|
|
287
286
|
shell("npm", ["run", "build"], { cwd: join(INSTALL_DIR, "maxy") });
|
|
288
287
|
}
|
package/package.json
CHANGED
|
@@ -23,13 +23,13 @@ if [ "$AGENT_TYPE" = "admin" ]; then
|
|
|
23
23
|
Write|Edit)
|
|
24
24
|
FILE_PATH=$(echo "$INPUT" | grep -o '"file_path":"[^"]*"' | head -1 | cut -d'"' -f4)
|
|
25
25
|
case "$FILE_PATH" in
|
|
26
|
-
# Next.js
|
|
26
|
+
# Next.js app source (ships as TypeScript until task 11)
|
|
27
27
|
*/maxy/app/*|*/maxy/lib/*|*/maxy/*.ts|*/maxy/*.tsx|*/maxy/*.mjs)
|
|
28
|
-
echo "Blocked: Admin agent cannot modify app
|
|
28
|
+
echo "Blocked: Admin agent cannot modify app code at $FILE_PATH" >&2
|
|
29
29
|
exit 2
|
|
30
30
|
;;
|
|
31
|
-
#
|
|
32
|
-
*/platform/plugins/*/mcp/*|*/platform/plugins/*/hooks/*|*/platform/scripts/*)
|
|
31
|
+
# Compiled MCP servers, hooks, and scripts — what actually ships to device
|
|
32
|
+
*/platform/plugins/*/mcp/dist/*|*/platform/plugins/*/hooks/*|*/platform/scripts/*)
|
|
33
33
|
echo "Blocked: Admin agent cannot modify platform code at $FILE_PATH" >&2
|
|
34
34
|
exit 2
|
|
35
35
|
;;
|