@rubytech/create-maxy 1.0.0 → 1.0.1
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
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
|
;;
|