tpmjs/templates/unsandbox-executor/bootstrap.sh
Ajax Davis 32c6e097ed feat(executor): formalize Executor Protocol v1.0 with compliance testing
- Add EXECUTOR_SPECIFICATION.md with formal v1.0 protocol spec
- Add executor-openapi.yaml (OpenAPI 3.0 specification)
- Create @tpmjs/executor-test compliance test package (15 tests)
- Update Railway executor to v1.0 compliance (15/15 tests pass)
- Update Unsandbox executor to v1.0 compliance (15/15 tests pass)
- Update Vercel executor to v1.0 compliance
- Add /info endpoint with capability advertisement to all executors
- Add structured error codes (PACKAGE_NOT_FOUND, TOOL_NOT_FOUND, etc.)
- Add protocolVersion and implementationVersion to /health responses
- Add X-TPMJS-Protocol-Version header support
- Add EXECUTOR_COMPLIANCE.md with test results documentation
2026-02-04 02:09:08 +10:00

16 lines
521 B
Bash

#!/bin/bash
# TPMJS Executor Bootstrap Script for Unsandbox
# This script downloads and runs the TPMJS executor
set -e
echo "=== TPMJS Executor for Unsandbox ==="
echo "Starting deployment..."
# Download the executor script from GitHub
EXECUTOR_URL="https://raw.githubusercontent.com/tpmjs/tpmjs/main/templates/unsandbox-executor/executor.cjs"
echo "Downloading executor from $EXECUTOR_URL..."
curl -fsSL "$EXECUTOR_URL" -o /root/executor.cjs
echo "Starting TPMJS Executor on port 80..."
exec node /root/executor.cjs