Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 18 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,46 +1,32 @@
.PHONY: run-python run-node run-python-debug run-node-debug run-trace-generator run-trace-generator-debug run-screenshot-demo run-screenshot-demo-debug python-install python-install-reset python-install-local test-python-weather ingest-trace demo-data demo-data-quick demo-data-tools demo-data-negative
.PHONY: examples examples-list examples-all examples-parallel examples-install run-trace-generator run-trace-generator-debug demo-data demo-data-quick demo-data-tools demo-data-negative

run-python:
@cd python && ./run.sh
## Run the interactive example picker (sources .env, discovers examples from sibling SDK repos)
examples:
@./run-examples.sh

run-node:
@cd node && ./run.sh
## List all available examples
examples-list:
@./run-examples.sh --list

run-python-debug:
@cd python && DEBUG=1 ./run.sh
## Run all examples sequentially
examples-all:
@./run-examples.sh --all

run-node-debug:
@cd node && DEBUG=1 ./run.sh
## Run all examples in parallel via mprocs (or filtered: make examples-parallel F=anthropic)
examples-parallel:
@./run-examples.sh --parallel $(F)

## Install dependencies for all examples
examples-install:
@./run-examples.sh --install

## Run the trace generator (mock trace data, no LLM calls)
run-trace-generator:
@cd python/trace-generator && ./run.sh

run-trace-generator-debug:
@cd python/trace-generator && DEBUG=1 ./run.sh

run-screenshot-demo:
@cd python/screenshot-demo && ./run.sh

run-screenshot-demo-debug:
@cd python/screenshot-demo && DEBUG=1 ./run.sh

## Install Python deps only (don’t run app). Respects POSTHOG_PYTHON_PATH or POSTHOG_PYTHON_VERSION
python-install:
@cd python && INSTALL_ONLY=1 ./run.sh

## Install Python deps after removing existing posthog from venv (helpful when switching sources)
python-install-reset:
@cd python && RESET_POSTHOG=1 INSTALL_ONLY=1 ./run.sh

## Convenience: install using local posthog-python checkout
# Usage: make python-install-local POSTHOG_PYTHON_PATH=/absolute/path/to/posthog-python
python-install-local:
@cd python && INSTALL_ONLY=1 POSTHOG_PYTHON_PATH="$(POSTHOG_PYTHON_PATH)" ./run.sh

## Test Python weather tool functionality
test-python-weather:
@cd python && ./scripts/run_test.sh

## Generate demo data (5 conversations, random providers, 5 turns each)
demo-data:
@cd python && source venv/bin/activate && python scripts/generate_demo_data.py --conversations 5 --max-turns 5 --parallel 3
Expand Down
26 changes: 0 additions & 26 deletions node/scripts/run_test.sh

This file was deleted.

279 changes: 0 additions & 279 deletions node/scripts/test_weather_tool.ts

This file was deleted.

Loading
Loading