Skip to content

pcode v0.2.0 - Python & JavaScript Execution

Latest
Compare
Choose a tag to compare
@noahgift noahgift released this 25 Jun 16:19
· 6 commits to main since this release

pcode v0.2.0

Production-grade AI code agent with extreme performance and security.

πŸŽ‰ Major Features

  • 13 Built-in Tools including sandboxed Python and JavaScript execution
  • 83 Passing Tests with 80.9% coverage
  • 5.2MB Binary Size (well under 12MB target)
  • No Admin Privileges Required for any functionality

πŸ“¦ Installation

Quick Install (Linux/macOS)

curl -sSL https://raw.githubusercontent.com/paiml/pcode/main/install.sh | bash

Manual Installation

Download the appropriate binary for your platform:

Linux (x86_64) - Available Now βœ…

curl -L https://github.com/paiml/pcode/releases/download/v0.2.0/pcode-linux-amd64 -o pcode
chmod +x pcode
sudo mv pcode /usr/local/bin/

macOS & Windows - Coming Soon 🚧

macOS and Windows binaries will be available shortly. For now, you can:

  • Build from source: cargo install --git https://github.com/paiml/pcode
  • Use the Linux binary in WSL (Windows)

✨ What's New

Added

  • Sandboxed Python execution tool with security isolation
  • Sandboxed JavaScript/TypeScript execution (Node.js/Deno support)
  • Real code coverage integration with cargo-tarpaulin
  • AI-powered automatic refactoring tool
  • Code fixing capabilities (format, lint, test fixes)
  • One-liner installation script

Improved

  • Fixed admin privilege requirements in tests
  • Updated documentation to reflect all features
  • Improved test coverage to 80.9%

πŸš€ Getting Started

# Check version
pcode --version

# Start interactive mode
pcode

# Run a single command
pcode -c "/python print('Hello from Python\!')"
pcode -c "/javascript console.log('Hello from JS\!')"

# Get help
pcode --help

πŸ“Š Tools Available (13)

  • file_read, file_write - File operations
  • process, bash - Command execution
  • python, javascript - Code execution
  • llm, token_estimate - AI features
  • pmat, coverage, refactor - Code analysis
  • fix, dev_cli - Development tools

See README for full documentation.