mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 01:06:25 +02:00
- Flip --native to --docker on up/down commands (native is now default) - Add ensure_wasm_plugins() and ensure_brightstaff_binary() to auto-download from GitHub releases - Add _find_config_dir() to support pip-installed usage without repo checkout - Bundle config templates in wheel via pyproject.toml force-include - Add publish-binaries.yml CI workflow for release binary uploads - Update docs to reflect native-first experience
21 lines
837 B
Python
21 lines
837 B
Python
import os
|
|
|
|
# Brand color - Plano purple
|
|
PLANO_COLOR = "#969FF4"
|
|
|
|
SERVICE_NAME_ARCHGW = "plano"
|
|
PLANO_DOCKER_NAME = "plano"
|
|
PLANO_DOCKER_IMAGE = os.getenv("PLANO_DOCKER_IMAGE", "katanemo/plano:0.4.9")
|
|
DEFAULT_OTEL_TRACING_GRPC_ENDPOINT = "http://host.docker.internal:4317"
|
|
|
|
# Native mode constants
|
|
PLANO_HOME = os.path.join(os.path.expanduser("~"), ".plano")
|
|
PLANO_RUN_DIR = os.path.join(PLANO_HOME, "run")
|
|
PLANO_BIN_DIR = os.path.join(PLANO_HOME, "bin")
|
|
PLANO_PLUGINS_DIR = os.path.join(PLANO_HOME, "plugins")
|
|
ENVOY_VERSION = "v1.37.0" # keep in sync with Dockerfile ARG ENVOY_VERSION
|
|
NATIVE_PID_FILE = os.path.join(PLANO_RUN_DIR, "plano.pid")
|
|
DEFAULT_NATIVE_OTEL_TRACING_GRPC_ENDPOINT = "http://localhost:4317"
|
|
|
|
PLANO_GITHUB_REPO = "katanemo/archgw"
|
|
PLANO_RELEASE_BASE_URL = f"https://github.com/{PLANO_GITHUB_REPO}/releases/download"
|