{ "scripts": [ { "path": "app/clear_local.sh", "name": "clear_local.sh", "description": "Get the absolute path to the script's directory, regardless of where it's run from", "dependencies": [], "environment_vars": [ "REPLY", "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "action", "all", "and", "app", "bash", "be", "containers", "directories", "dirname", "docker", "down", "local", "not", "path", "read", "regardless", "remove", "removing", "run", "server", "the", "there", "to", "where", "will", "you" ], "functions_defined": [], "idempotent": false, "requires_docker": true, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/reset_local.sh", "name": "reset_local.sh", "description": "Get the absolute path to the script's directory, regardless of where it's run from", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "app", "bash", "dirname", "local", "not", "path", "regardless", "run", "the", "there", "to", "where" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/start_local.sh", "name": "start_local.sh", "description": "Start local development environment with Docker", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [ "Docker compose configuration", "Docker compose configuration" ], "outputs": [ "Running containers", "Running containers" ], "side_effects": [ "Starts Docker containers", "Opens network ports", "Starts Docker containers", "Opens network ports" ], "commands_used": [ "app", "bash", "before", "dirname", "docker", "docker-compose", "git", "install", "not", "path", "pull", "regardless", "run", "server", "the", "there", "this", "to", "up", "where" ], "functions_defined": [], "idempotent": true, "requires_docker": true, "requires_git": true, "python_replacement_suggested": true }, { "path": "app/cli/dev.sh", "name": "dev.sh", "description": "Development environment setup or commands", "dependencies": [], "environment_vars": [ "OUT", "ALIAS", "PLANDEX_DEV_CLI_ALIAS", "NAME", "PLANDEX_DEV_CLI_NAME", "PLANDEX_DEV_CLI_OUT_DIR" ], "inputs": [], "outputs": [], "side_effects": [ "Modifies development environment", "Modifies development environment" ], "commands_used": [ "added", "alias", "and", "bash", "cli", "cp", "go", "ln", "prevent", "quote", "rm" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/cli/install.sh", "name": "install.sh", "description": "Set platform", "dependencies": [], "environment_vars": [ "RELEASES_URL", "PLANDEX_VERSION", "LOC", "BASH_SOURCE", "ARCH", "SCRIPT_DIR", "IS_DOCKER", "UID", "VERSION", "PLATFORM", "ENCODED_TAG", "BIN_DIR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "able", "alias", "and", "arch", "as", "attempt", "attempting", "bash", "be", "before", "binary", "builders", "but", "check_existing_installation", "cleanup", "community", "complete", "create", "created", "curl", "custom", "denied", "directory", "dirname", "does", "download_plandex", "existing", "grep", "in", "installation", "is", "it", "ln", "manually", "may", "mkdir", "move", "mv", "not", "now", "of", "on", "or", "overwrite", "pdx", "pdx1", "plandex", "plandex1", "plandex_install_tmp", "platform", "project", "prompt", "rm", "root", "script", "specific", "starts", "sudo", "supported", "tar", "the", "this", "to", "tr", "trap", "true", "using", "version", "wc", "we", "welcome_plandex", "with", "work", "your" ], "functions_defined": [ "cleanup", "welcome_plandex", "download_plandex", "check_existing_installation" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/scripts/dev.sh", "name": "dev.sh", "description": "Development environment setup or commands", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR", "PATH", "GOPATH", "ZSH_VERSION" ], "inputs": [], "outputs": [], "side_effects": [ "Modifies development environment", "Modifies development environment" ], "commands_used": [ "and", "bash", "cli", "deps", "go", "is", "it", "kill", "not", "of", "pkill", "plandex-server", "process", "reflex", "script", "server", "sh", "shell", "the", "to", "trap", "trigger", "venv", "wait", "zsh" ], "functions_defined": [ "terminate" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/scripts/litellm_deps.sh", "name": "litellm_deps.sh", "description": "", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "VENV_DIR", "SCRIPT_DIR", "REQUIRED_PYTHON", "REQUIRED_PACKAGES" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "already", "and", "at", "bash", "command", "deactivate", "in", "install", "is_installed", "not", "package", "pip", "python", "this", "venv", "virtual" ], "functions_defined": [ "is_installed" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/scripts/wait-for-it.sh", "name": "wait-for-it.sh", "description": "Wait for a service to be available", "dependencies": [], "environment_vars": [ "WAITFORIT_", "WAITFORIT_HOST", "WAITFORIT_TIMEOUT_PATH", "WAITFORIT_ISBUSY", "WAITFORIT_RESULT", "WAITFORIT_PORT", "WAITFORIT_TIMEOUT", "WAITFORIT_PID", "WAITFORIT_QUIET", "WAITFORIT_CLI", "WAITFORIT_STRICT", "WAITFORIT_BUSYTIMEFLAG", "WAITFORIT_CHILD" ], "inputs": [ "Host and port to check", "Host and port to check" ], "outputs": [ "Exit code indicating availability", "Exit code indicating availability" ], "side_effects": [], "commands_used": [ "after", "and", "are", "args", "as", "bash", "break", "cat", "command", "during", "echoerr", "exec", "execute", "finishes", "flag", "given", "grep", "host", "in", "is", "nc", "no", "or", "order", "output", "port", "process", "readlink", "refusing", "seconds", "sleep", "status", "strict", "support", "test", "the", "this", "timeout", "to", "trap", "under", "usage", "versions", "wait", "wait_for", "wait_for_wrapper", "waiting", "without", "you", "zero" ], "functions_defined": [ "echoerr", "usage", "wait_for", "wait_for_wrapper" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/server/syntax/file_map/examples/bash_example.sh", "name": "bash_example.sh", "description": "Global variables", "dependencies": [], "environment_vars": [ "GLOBAL_VAR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "array", "associative", "declaration", "declare", "definition", "in", "is", "local", "main", "print_message", "readonly", "script", "through", "value", "variables", "with", "years" ], "functions_defined": [ "print_message", "get_date", "main" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/_test_apply.sh", "name": "_test_apply.sh", "description": "Check if python3 is available", "dependencies": [], "environment_vars": [ "SERVER_PID" ], "inputs": [ "Test project directory", "Test project directory" ], "outputs": [ "Test results", "Test results" ], "side_effects": [ "Creates/modifies test artifacts", "Creates/modifies test artifacts" ], "commands_used": [ "application", "browser", "command", "install", "is", "kill", "moment", "pipefail", "plandex-dev", "port", "python", "python3", "server", "simple", "sleep", "start", "the", "to", "wait" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/plan_deletion_test.sh", "name": "plan_deletion_test.sh", "description": "Plandex hasn't been able to get this working yet", "dependencies": [], "environment_vars": [], "inputs": [ "Test project directory", "Test project directory" ], "outputs": [ "Test results", "Test results" ], "side_effects": [ "Creates/modifies test artifacts", "Creates/modifies test artifacts" ], "commands_used": [ "all", "been", "but", "check", "check_plan_exists", "complete", "count", "created", "creation", "debug", "delete", "deletion", "ensure", "existing", "grep", "head", "in", "initial", "list", "local", "more", "only", "pdxd", "plan", "plans", "range", "remaining", "sed", "should", "skip", "sleep", "starting", "tail", "test", "tests", "text", "this", "to", "true", "up", "updated", "was", "wc", "were", "wildcard", "with", "worked", "yet" ], "functions_defined": [ "check_plan_exists", "count_plans" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/smoke_test.sh", "name": "smoke_test.sh", "description": "Plandex Smoke Test Script", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR", "PROMPT_ADD_FEATURE", "PROMPT_CHAT_QUESTION", "PROMPT_CREATE_FUNCTION", "REWIND_STEPS", "PROMPT_ADD_TEST" ], "inputs": [ "Test project directory", "Test project directory" ], "outputs": [ "Test results", "Test results" ], "side_effects": [ "Creates/modifies test artifacts", "Creates/modifies test artifacts" ], "commands_used": [ "all", "and", "another", "archived", "as", "at", "auto-continue", "back", "between", "branch", "branches", "cat", "changes", "cheap", "check_file", "cleanup", "cmd", "code", "command", "common", "context", "conversation", "core", "current", "diff", "directory", "does", "feature", "feature-branch", "file", "goodbye", "has", "have", "hello", "in", "info", "intentional", "interact", "is", "it", "linear", "log", "main", "mimicking", "mkdir", "model", "models", "named", "new", "of", "on", "or", "outdated", "outside", "pack", "pending", "plan", "plans", "project", "rewind", "run_plandex_cmd", "second-plan", "setting", "setup", "setup_test_dir", "signed", "simple", "single", "skip-changes-menu", "smoke", "so", "specific", "tell", "test", "that", "the", "to", "trap", "updated", "usage", "variables", "with", "without", "world" ], "functions_defined": [ "setup", "main" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/test_custom_models.sh", "name": "test_custom_models.sh", "description": "custom-models-test.sh - Plandex custom models functionality test", "dependencies": [], "environment_vars": [ "PREV_KEY", "OPENROUTER_API_KEY", "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [ "Test project directory", "Test project directory" ], "outputs": [ "Test results", "Test results" ], "side_effects": [ "Creates/modifies test artifacts", "Creates/modifies test artifacts" ], "commands_used": [ "at", "available", "cat", "cleanup", "common", "create_custom_models_json", "current", "custom", "expect_plandex_failure", "fail", "file", "functionality", "hello", "issue", "key", "log", "main", "matching", "model", "models", "on", "program", "required", "restore", "run_plandex_cmd", "setup", "setup_test_dir", "simple", "test", "the", "to", "trap", "unset", "with" ], "functions_defined": [ "setup", "create_custom_models_json", "main" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/test_utils.sh", "name": "test_utils.sh", "description": "test-utils.sh - Common utilities for Plandex test scripts", "dependencies": [], "environment_vars": [ "NC", "YELLOW", "TEST_DIR", "PLANDEX_CMD", "GREEN", "RED" ], "inputs": [ "Test project directory", "Test project directory" ], "outputs": [ "Test results", "Test results" ], "side_effects": [ "Creates/modifies test artifacts", "Creates/modifies test artifacts" ], "commands_used": [ "and", "as", "both", "capture", "check", "code", "command", "contains", "disable", "environment", "error", "exists", "expect_failure", "expected", "failed", "fails", "find", "functions", "grep", "info", "local", "log", "mkdir", "on", "plandex", "rm", "run_cmd", "should", "succeeded", "success", "test", "the", "to", "up", "utilities", "with" ], "functions_defined": [ "log", "success", "error", "info", "run_cmd", "run_plandex_cmd", "check_plandex_contains", "expect_failure", "expect_plandex_failure", "check_file", "setup_test_dir", "cleanup_test_dir" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/pong/install_dependencies.sh", "name": "install_dependencies.sh", "description": "Check for Homebrew and install if not found", "dependencies": [], "environment_vars": [], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "and", "brew", "command", "found", "freeglut", "installed", "necessary", "not" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "scripts/merge_from_reflog.sh", "name": "merge_from_reflog.sh", "description": "Check if the correct number of arguments are provided", "dependencies": [], "environment_vars": [], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "added", "all", "am", "and", "applied", "applying", "are", "arguments", "branch", "cat", "changes", "commit", "conflicts", "correct", "create", "exists", "file", "files", "find", "following", "from", "git", "hash", "ls-files", "merge", "new", "not", "of", "option", "original", "out", "patch", "patches", "process", "reflog", "rejected", "resolve", "resolving", "rm", "run", "specified", "staged", "the", "three-way", "to", "touch", "up", "wc", "with" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": true, "python_replacement_suggested": false }, { "path": "app/clear_local.sh", "name": "clear_local.sh", "description": "Get the absolute path to the script's directory, regardless of where it's run from", "dependencies": [], "environment_vars": [ "REPLY", "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "action", "all", "and", "app", "bash", "be", "containers", "directories", "dirname", "docker", "down", "local", "not", "path", "read", "regardless", "remove", "removing", "run", "server", "the", "there", "to", "where", "will", "you" ], "functions_defined": [], "idempotent": false, "requires_docker": true, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/reset_local.sh", "name": "reset_local.sh", "description": "Get the absolute path to the script's directory, regardless of where it's run from", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "app", "bash", "dirname", "local", "not", "path", "regardless", "run", "the", "there", "to", "where" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/start_local.sh", "name": "start_local.sh", "description": "Start local development environment with Docker", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [ "Docker compose configuration" ], "outputs": [ "Running containers" ], "side_effects": [ "Starts Docker containers", "Opens network ports" ], "commands_used": [ "app", "bash", "before", "dirname", "docker", "docker-compose", "git", "install", "not", "path", "pull", "regardless", "run", "server", "the", "there", "this", "to", "up", "where" ], "functions_defined": [], "idempotent": true, "requires_docker": true, "requires_git": true, "python_replacement_suggested": true }, { "path": "app/cli/dev.sh", "name": "dev.sh", "description": "Development environment setup or commands", "dependencies": [], "environment_vars": [ "OUT", "ALIAS", "PLANDEX_DEV_CLI_ALIAS", "NAME", "PLANDEX_DEV_CLI_NAME", "PLANDEX_DEV_CLI_OUT_DIR" ], "inputs": [], "outputs": [], "side_effects": [ "Modifies development environment" ], "commands_used": [ "added", "alias", "and", "bash", "cli", "cp", "go", "ln", "prevent", "quote", "rm" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/cli/install.sh", "name": "install.sh", "description": "Set platform", "dependencies": [], "environment_vars": [ "RELEASES_URL", "PLANDEX_VERSION", "LOC", "BASH_SOURCE", "ARCH", "SCRIPT_DIR", "IS_DOCKER", "UID", "VERSION", "PLATFORM", "ENCODED_TAG", "BIN_DIR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "able", "alias", "and", "arch", "as", "attempt", "attempting", "bash", "be", "before", "binary", "builders", "but", "check_existing_installation", "cleanup", "community", "complete", "create", "created", "curl", "custom", "denied", "directory", "dirname", "does", "download_plandex", "existing", "grep", "in", "installation", "is", "it", "ln", "manually", "may", "mkdir", "move", "mv", "not", "now", "of", "on", "or", "overwrite", "pdx", "pdx1", "plandex", "plandex1", "plandex_install_tmp", "platform", "project", "prompt", "rm", "root", "script", "specific", "starts", "sudo", "supported", "tar", "the", "this", "to", "tr", "trap", "true", "using", "version", "wc", "we", "welcome_plandex", "with", "work", "your" ], "functions_defined": [ "cleanup", "welcome_plandex", "download_plandex", "check_existing_installation" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/scripts/dev.sh", "name": "dev.sh", "description": "Development environment setup or commands", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR", "PATH", "GOPATH", "ZSH_VERSION" ], "inputs": [], "outputs": [], "side_effects": [ "Modifies development environment" ], "commands_used": [ "and", "bash", "cli", "deps", "go", "is", "it", "kill", "not", "of", "pkill", "plandex-server", "process", "reflex", "script", "server", "sh", "shell", "the", "to", "trap", "trigger", "venv", "wait", "zsh" ], "functions_defined": [ "terminate" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/scripts/litellm_deps.sh", "name": "litellm_deps.sh", "description": "", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "VENV_DIR", "SCRIPT_DIR", "REQUIRED_PYTHON", "REQUIRED_PACKAGES" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "already", "and", "at", "bash", "command", "deactivate", "in", "install", "is_installed", "not", "package", "pip", "python", "this", "venv", "virtual" ], "functions_defined": [ "is_installed" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/scripts/wait-for-it.sh", "name": "wait-for-it.sh", "description": "Wait for a service to be available", "dependencies": [], "environment_vars": [ "WAITFORIT_", "WAITFORIT_HOST", "WAITFORIT_TIMEOUT_PATH", "WAITFORIT_ISBUSY", "WAITFORIT_RESULT", "WAITFORIT_PORT", "WAITFORIT_TIMEOUT", "WAITFORIT_PID", "WAITFORIT_QUIET", "WAITFORIT_CLI", "WAITFORIT_STRICT", "WAITFORIT_BUSYTIMEFLAG", "WAITFORIT_CHILD" ], "inputs": [ "Host and port to check" ], "outputs": [ "Exit code indicating availability" ], "side_effects": [], "commands_used": [ "after", "and", "are", "args", "as", "bash", "break", "cat", "command", "during", "echoerr", "exec", "execute", "finishes", "flag", "given", "grep", "host", "in", "is", "nc", "no", "or", "order", "output", "port", "process", "readlink", "refusing", "seconds", "sleep", "status", "strict", "support", "test", "the", "this", "timeout", "to", "trap", "under", "usage", "versions", "wait", "wait_for", "wait_for_wrapper", "waiting", "without", "you", "zero" ], "functions_defined": [ "echoerr", "usage", "wait_for", "wait_for_wrapper" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "app/server/syntax/file_map/examples/bash_example.sh", "name": "bash_example.sh", "description": "Global variables", "dependencies": [], "environment_vars": [ "GLOBAL_VAR" ], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "array", "associative", "declaration", "declare", "definition", "in", "is", "local", "main", "print_message", "readonly", "script", "through", "value", "variables", "with", "years" ], "functions_defined": [ "print_message", "get_date", "main" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/_test_apply.sh", "name": "_test_apply.sh", "description": "Check if python3 is available", "dependencies": [], "environment_vars": [ "SERVER_PID" ], "inputs": [ "Test project directory" ], "outputs": [ "Test results" ], "side_effects": [ "Creates/modifies test artifacts" ], "commands_used": [ "application", "browser", "command", "install", "is", "kill", "moment", "pipefail", "plandex-dev", "port", "python", "python3", "server", "simple", "sleep", "start", "the", "to", "wait" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/plan_deletion_test.sh", "name": "plan_deletion_test.sh", "description": "Plandex hasn't been able to get this working yet", "dependencies": [], "environment_vars": [], "inputs": [ "Test project directory" ], "outputs": [ "Test results" ], "side_effects": [ "Creates/modifies test artifacts" ], "commands_used": [ "all", "been", "but", "check", "check_plan_exists", "complete", "count", "created", "creation", "debug", "delete", "deletion", "ensure", "existing", "grep", "head", "in", "initial", "list", "local", "more", "only", "pdxd", "plan", "plans", "range", "remaining", "sed", "should", "skip", "sleep", "starting", "tail", "test", "tests", "text", "this", "to", "true", "up", "updated", "was", "wc", "were", "wildcard", "with", "worked", "yet" ], "functions_defined": [ "check_plan_exists", "count_plans" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/smoke_test.sh", "name": "smoke_test.sh", "description": "Plandex Smoke Test Script", "dependencies": [], "environment_vars": [ "BASH_SOURCE", "SCRIPT_DIR", "PROMPT_ADD_FEATURE", "PROMPT_CHAT_QUESTION", "PROMPT_CREATE_FUNCTION", "REWIND_STEPS", "PROMPT_ADD_TEST" ], "inputs": [ "Test project directory" ], "outputs": [ "Test results" ], "side_effects": [ "Creates/modifies test artifacts" ], "commands_used": [ "all", "and", "another", "archived", "as", "at", "auto-continue", "back", "between", "branch", "branches", "cat", "changes", "cheap", "check_file", "cleanup", "cmd", "code", "command", "common", "context", "conversation", "core", "current", "diff", "directory", "does", "feature", "feature-branch", "file", "goodbye", "has", "have", "hello", "in", "info", "intentional", "interact", "is", "it", "linear", "log", "main", "mimicking", "mkdir", "model", "models", "named", "new", "of", "on", "or", "outdated", "outside", "pack", "pending", "plan", "plans", "project", "rewind", "run_plandex_cmd", "second-plan", "setting", "setup", "setup_test_dir", "signed", "simple", "single", "skip-changes-menu", "smoke", "so", "specific", "tell", "test", "that", "the", "to", "trap", "updated", "usage", "variables", "with", "without", "world" ], "functions_defined": [ "setup", "main" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/test_custom_models.sh", "name": "test_custom_models.sh", "description": "custom-models-test.sh - Plandex custom models functionality test", "dependencies": [], "environment_vars": [ "PREV_KEY", "OPENROUTER_API_KEY", "BASH_SOURCE", "SCRIPT_DIR" ], "inputs": [ "Test project directory" ], "outputs": [ "Test results" ], "side_effects": [ "Creates/modifies test artifacts" ], "commands_used": [ "at", "available", "cat", "cleanup", "common", "create_custom_models_json", "current", "custom", "expect_plandex_failure", "fail", "file", "functionality", "hello", "issue", "key", "log", "main", "matching", "model", "models", "on", "program", "required", "restore", "run_plandex_cmd", "setup", "setup_test_dir", "simple", "test", "the", "to", "trap", "unset", "with" ], "functions_defined": [ "setup", "create_custom_models_json", "main" ], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/test_utils.sh", "name": "test_utils.sh", "description": "test-utils.sh - Common utilities for Plandex test scripts", "dependencies": [], "environment_vars": [ "NC", "YELLOW", "TEST_DIR", "PLANDEX_CMD", "GREEN", "RED" ], "inputs": [ "Test project directory" ], "outputs": [ "Test results" ], "side_effects": [ "Creates/modifies test artifacts" ], "commands_used": [ "and", "as", "both", "capture", "check", "code", "command", "contains", "disable", "environment", "error", "exists", "expect_failure", "expected", "failed", "fails", "find", "functions", "grep", "info", "local", "log", "mkdir", "on", "plandex", "rm", "run_cmd", "should", "succeeded", "success", "test", "the", "to", "up", "utilities", "with" ], "functions_defined": [ "log", "success", "error", "info", "run_cmd", "run_plandex_cmd", "check_plandex_contains", "expect_failure", "expect_plandex_failure", "check_file", "setup_test_dir", "cleanup_test_dir" ], "idempotent": true, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "test/pong/install_dependencies.sh", "name": "install_dependencies.sh", "description": "Check for Homebrew and install if not found", "dependencies": [], "environment_vars": [], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "and", "brew", "command", "found", "freeglut", "installed", "necessary", "not" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": false, "python_replacement_suggested": false }, { "path": "scripts/merge_from_reflog.sh", "name": "merge_from_reflog.sh", "description": "Check if the correct number of arguments are provided", "dependencies": [], "environment_vars": [], "inputs": [], "outputs": [], "side_effects": [], "commands_used": [ "added", "all", "am", "and", "applied", "applying", "are", "arguments", "branch", "cat", "changes", "commit", "conflicts", "correct", "create", "exists", "file", "files", "find", "following", "from", "git", "hash", "ls-files", "merge", "new", "not", "of", "option", "original", "out", "patch", "patches", "process", "reflog", "rejected", "resolve", "resolving", "rm", "run", "specified", "staged", "the", "three-way", "to", "touch", "up", "wc", "with" ], "functions_defined": [], "idempotent": false, "requires_docker": false, "requires_git": true, "python_replacement_suggested": false } ], "environment_map": { "REPLY": [ "app/clear_local.sh", "app/clear_local.sh", "app/clear_local.sh" ], "BASH_SOURCE": [ "app/clear_local.sh", "app/reset_local.sh", "app/start_local.sh", "app/cli/install.sh", "app/scripts/dev.sh", "app/scripts/litellm_deps.sh", "test/smoke_test.sh", "test/test_custom_models.sh", "app/clear_local.sh", "app/reset_local.sh", "app/start_local.sh", "app/cli/install.sh", "app/scripts/dev.sh", "app/scripts/litellm_deps.sh", "test/smoke_test.sh", "test/test_custom_models.sh", "app/clear_local.sh", "app/reset_local.sh", "app/start_local.sh", "app/cli/install.sh", "app/scripts/dev.sh", "app/scripts/litellm_deps.sh", "test/smoke_test.sh", "test/test_custom_models.sh" ], "SCRIPT_DIR": [ "app/clear_local.sh", "app/reset_local.sh", "app/start_local.sh", "app/cli/install.sh", "app/scripts/dev.sh", "app/scripts/litellm_deps.sh", "test/smoke_test.sh", "test/test_custom_models.sh", "app/clear_local.sh", "app/reset_local.sh", "app/start_local.sh", "app/cli/install.sh", "app/scripts/dev.sh", "app/scripts/litellm_deps.sh", "test/smoke_test.sh", "test/test_custom_models.sh", "app/clear_local.sh", "app/reset_local.sh", "app/start_local.sh", "app/cli/install.sh", "app/scripts/dev.sh", "app/scripts/litellm_deps.sh", "test/smoke_test.sh", "test/test_custom_models.sh" ], "OUT": [ "app/cli/dev.sh", "app/cli/dev.sh", "app/cli/dev.sh" ], "ALIAS": [ "app/cli/dev.sh", "app/cli/dev.sh", "app/cli/dev.sh" ], "PLANDEX_DEV_CLI_ALIAS": [ "app/cli/dev.sh", "app/cli/dev.sh", "app/cli/dev.sh" ], "NAME": [ "app/cli/dev.sh", "app/cli/dev.sh", "app/cli/dev.sh" ], "PLANDEX_DEV_CLI_NAME": [ "app/cli/dev.sh", "app/cli/dev.sh", "app/cli/dev.sh" ], "PLANDEX_DEV_CLI_OUT_DIR": [ "app/cli/dev.sh", "app/cli/dev.sh", "app/cli/dev.sh" ], "RELEASES_URL": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "PLANDEX_VERSION": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "LOC": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "ARCH": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "IS_DOCKER": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "UID": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "VERSION": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "PLATFORM": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "ENCODED_TAG": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "BIN_DIR": [ "app/cli/install.sh", "app/cli/install.sh", "app/cli/install.sh" ], "PATH": [ "app/scripts/dev.sh", "app/scripts/dev.sh", "app/scripts/dev.sh" ], "GOPATH": [ "app/scripts/dev.sh", "app/scripts/dev.sh", "app/scripts/dev.sh" ], "ZSH_VERSION": [ "app/scripts/dev.sh", "app/scripts/dev.sh", "app/scripts/dev.sh" ], "VENV_DIR": [ "app/scripts/litellm_deps.sh", "app/scripts/litellm_deps.sh", "app/scripts/litellm_deps.sh" ], "REQUIRED_PYTHON": [ "app/scripts/litellm_deps.sh", "app/scripts/litellm_deps.sh", "app/scripts/litellm_deps.sh" ], "REQUIRED_PACKAGES": [ "app/scripts/litellm_deps.sh", "app/scripts/litellm_deps.sh", "app/scripts/litellm_deps.sh" ], "WAITFORIT_": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_HOST": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_TIMEOUT_PATH": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_ISBUSY": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_RESULT": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_PORT": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_TIMEOUT": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_PID": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_QUIET": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_CLI": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_STRICT": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_BUSYTIMEFLAG": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "WAITFORIT_CHILD": [ "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh", "app/scripts/wait-for-it.sh" ], "GLOBAL_VAR": [ "app/server/syntax/file_map/examples/bash_example.sh", "app/server/syntax/file_map/examples/bash_example.sh", "app/server/syntax/file_map/examples/bash_example.sh" ], "SERVER_PID": [ "test/_test_apply.sh", "test/_test_apply.sh", "test/_test_apply.sh" ], "PROMPT_ADD_FEATURE": [ "test/smoke_test.sh", "test/smoke_test.sh", "test/smoke_test.sh" ], "PROMPT_CHAT_QUESTION": [ "test/smoke_test.sh", "test/smoke_test.sh", "test/smoke_test.sh" ], "PROMPT_CREATE_FUNCTION": [ "test/smoke_test.sh", "test/smoke_test.sh", "test/smoke_test.sh" ], "REWIND_STEPS": [ "test/smoke_test.sh", "test/smoke_test.sh", "test/smoke_test.sh" ], "PROMPT_ADD_TEST": [ "test/smoke_test.sh", "test/smoke_test.sh", "test/smoke_test.sh" ], "PREV_KEY": [ "test/test_custom_models.sh", "test/test_custom_models.sh", "test/test_custom_models.sh" ], "OPENROUTER_API_KEY": [ "test/test_custom_models.sh", "test/test_custom_models.sh", "test/test_custom_models.sh" ], "NC": [ "test/test_utils.sh", "test/test_utils.sh", "test/test_utils.sh" ], "YELLOW": [ "test/test_utils.sh", "test/test_utils.sh", "test/test_utils.sh" ], "TEST_DIR": [ "test/test_utils.sh", "test/test_utils.sh", "test/test_utils.sh" ], "PLANDEX_CMD": [ "test/test_utils.sh", "test/test_utils.sh", "test/test_utils.sh" ], "GREEN": [ "test/test_utils.sh", "test/test_utils.sh", "test/test_utils.sh" ], "RED": [ "test/test_utils.sh", "test/test_utils.sh", "test/test_utils.sh" ] }, "statistics": { "total_scripts": 32, "docker_required": 4, "git_required": 4, "idempotent": 12, "python_replacement": 2 } }