Skip to content

v1.2.0

Choose a tag to compare

@Arul- Arul- released this 11 Nov 04:22
· 2770 commits to main since this release

Features

  • Unified info command - photon info now shows both installed AND available photons from marketplaces

    • photon info - Lists all installed photons with marketplace availability in tree structure
    • photon info <name> - Shows details for photon (installed or available)
    • Tree format clearly shows which marketplace offers what photons
    • Install status marked with ✓ for easy identification
  • Smart global detection - Automatically detects and uses global photon installation

    • Uses photon command if installed globally (cross-platform)
    • Falls back to npx @portel/photon if not installed globally
    • No manual configuration needed
  • Smart --dev guidance - Contextual recommendations based on photon origin

    • Marketplace photons: Run without --dev, suggests copying to customize
    • Modified marketplace photons: Run with --dev, warns about upgrade conflicts
    • Local/custom photons: Run with --dev for hot reload

Bug Fixes

  • Static analysis - Use PhotonDocExtractor for `info` command to avoid instantiation errors

    • No longer requires constructor parameters to view photon details
    • Works for any photon regardless of configuration requirements
  • Cross-platform compatibility - Use `photon` command instead of full path

    • Generated MCP configs now use `"command": "photon"` instead of platform-specific paths
    • Works consistently across macOS, Linux, and Windows

Changed

  • Command renamed - `photon get` → `photon info` for clarity
    • More intuitive naming (info shows information, add downloads)
    • Removed duplicate marketplace `info` command (now unified)
    • All documentation updated to reflect new command

Tests

  • Updated all test suites to use `info` command
  • All tests passing (schema, marketplace, loader, server, integration, README validation)