Compile and type-check an East function
Compiles and type-checks East functions to validate syntax and catch errors.
/plugin marketplace add elaraai/east-plugin/plugin install east@elaraaifile-or-expressionCompile and type-check an East function or file.
The user invoked this command with: $ARGUMENTS
If a file path is provided in $ARGUMENTS, use that file
If no arguments provided, look for TypeScript files with East code in the current directory
Run the compile script:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/compile.sh <file>
If the script is not available or fails, fall back to:
docker run --rm -v $(pwd):/workspace ghcr.io/elaraai/east-node npx tsc --noEmit <file>npx tsc --noEmit <file>Analyze any errors and provide:
If the code is valid, confirm it compiles successfully
/compile src/pipeline.ts
/compile