Mercurial
diff MODULE.bazel @ 260:1f9877b637e9
Add Copilot-powered cyberpunk JRPG chat
Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 09:19:41 -0700 |
| parents | c5129452493e |
| children |
line wrap: on
line diff
--- a/MODULE.bazel Wed Aug 05 09:19:41 2026 -0700 +++ b/MODULE.bazel Wed Aug 05 09:19:41 2026 -0700 @@ -29,6 +29,18 @@ """, ) +http_archive( + name = "copilot_cli_linux_x86_64", + urls = ["https://github.com/github/copilot-cli/releases/download/v1.0.73/copilot-linux-x64.tar.gz"], + sha256 = "8f9bb5f7e364c267265d1e24ac2aea69ed559ddb956719c6db12a353de6c5970", + build_file_content = """ +exports_files( + ["copilot"], + visibility = ["//visibility:public"], +) +""", +) + http_file( name = "mercurial_cp311_wheel", url = "https://files.pythonhosted.org/packages/ea/21/053406cf91b23bef2ac27a7023632efaf0d3c126134b322e2bb753626102/mercurial-7.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", @@ -106,12 +118,15 @@ # Bring in Python support bazel_dep(name = "rules_python", version = "1.7.0") -# Bring in pip support -# use_extension("@rules_python//python/extensions:pip.bzl", "pip") -# pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +python = use_extension("@rules_python//python/extensions:python.bzl", "python") +python.defaults(python_version = "3.11") +python.toolchain(python_version = "3.11") +use_repo(python, "python_3_11") -# Point to your requirements file -# pip.install(requirements = "//:requirements.txt") - -# Register the pip repo so you can depend on it -# use_repo(pip, "pip_deps") +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +pip.parse( + hub_name = "inference_pip", + python_version = "3.11", + requirements_lock = "//mrjunejune/inference:requirements_lock.txt", +) +use_repo(pip, "inference_pip")