plano/config
Adil Hafeez 425acecccc
restructure cli
- move /arch/tools => /cli
- rename /arch -> /config
- update all refs in tests to use /config
- update planoai code with new references
2025-12-25 00:46:13 -08:00
..
arch_config_schema.yaml restructure cli 2025-12-25 00:46:13 -08:00
docker-compose.dev.yaml restructure cli 2025-12-25 00:46:13 -08:00
env.list restructure cli 2025-12-25 00:46:13 -08:00
envoy.template.yaml restructure cli 2025-12-25 00:46:13 -08:00
README.md restructure cli 2025-12-25 00:46:13 -08:00
requirements.txt restructure cli 2025-12-25 00:46:13 -08:00
supervisord.conf restructure cli 2025-12-25 00:46:13 -08:00
validate_plano_config.sh restructure cli 2025-12-25 00:46:13 -08:00

Envoy filter code for gateway

Add toolchain

$ rustup target add wasm32-wasip1

Building

$ cargo build --target wasm32-wasip1 --release

Testing

$ cargo test

Local development

  • Build docker image for arch gateway. Note this needs to be built once.

    $ sh build_filter_image.sh
    
  • Build filter binary,

    $ cargo build --target wasm32-wasip1 --release
    
  • Start envoy with arch_config.yaml and test,

    $ docker compose -f docker-compose.dev.yaml up archgw
    
  • dev version of docker-compose file uses following files that are mounted inside the container. That means no docker rebuild is needed if any of these files change. Just restart the container and chagne will be picked up,

    • envoy.template.yaml
    • intelligent_prompt_gateway.wasm