Mercurial
comparison mrjunejune/inference/BUILD @ 265:056790c4fb0d
add role-aware Epi assistant prompts
Add verified June knowledge, guest/member/admin Copilot profiles, profile-isolated session recovery, animated Epi greetings, and a single authoritative runtime config workflow for inference.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 10:50:30 -0700 |
| parents | b401627fc49e |
| children |
comparison
equal
deleted
inserted
replaced
| 264:04fee26ecce0 | 265:056790c4fb0d |
|---|---|
| 1 load("@inference_pip//:requirements.bzl", "requirement") | 1 load("@inference_pip//:requirements.bzl", "requirement") |
| 2 load("@rules_python//python:pip.bzl", "compile_pip_requirements") | 2 load("@rules_python//python:pip.bzl", "compile_pip_requirements") |
| 3 load("@rules_python//python:py_binary.bzl", "py_binary") | 3 load("@rules_python//python:py_binary.bzl", "py_binary") |
| 4 load("@rules_python//python:py_library.bzl", "py_library") | |
| 4 load("@rules_python//python:py_test.bzl", "py_test") | 5 load("@rules_python//python:py_test.bzl", "py_test") |
| 5 load(":python_zip.bzl", "python_zip_file") | 6 load(":python_zip.bzl", "python_zip_file") |
| 6 | 7 |
| 7 compile_pip_requirements( | 8 compile_pip_requirements( |
| 8 name = "requirements", | 9 name = "requirements", |
| 39 | 40 |
| 40 py_binary( | 41 py_binary( |
| 41 name = "copilot_sidecar", | 42 name = "copilot_sidecar", |
| 42 srcs = ["copilot_sidecar.py"], | 43 srcs = ["copilot_sidecar.py"], |
| 43 args = ["$(rootpath @copilot_cli_linux_x86_64//:copilot)"], | 44 args = ["$(rootpath @copilot_cli_linux_x86_64//:copilot)"], |
| 44 data = ["@copilot_cli_linux_x86_64//:copilot"], | 45 data = [ |
| 45 deps = [requirement("github-copilot-sdk")], | 46 "@copilot_cli_linux_x86_64//:copilot", |
| 47 "//mrjunejune/assistant:all_files", | |
| 48 ], | |
| 49 deps = [ | |
| 50 requirement("github-copilot-sdk"), | |
| 51 ":public_knowledge", | |
| 52 ], | |
| 46 visibility = ["//mrjunejune:__pkg__"], | 53 visibility = ["//mrjunejune:__pkg__"], |
| 47 ) | 54 ) |
| 48 | 55 |
| 49 py_binary( | 56 py_binary( |
| 50 name = "mock_sidecar", | 57 name = "mock_sidecar", |
| 139 srcs = [ | 146 srcs = [ |
| 140 "copilot_sidecar.py", | 147 "copilot_sidecar.py", |
| 141 "copilot_sidecar_test.py", | 148 "copilot_sidecar_test.py", |
| 142 ], | 149 ], |
| 143 main = "copilot_sidecar_test.py", | 150 main = "copilot_sidecar_test.py", |
| 144 deps = [requirement("github-copilot-sdk")], | 151 data = ["//mrjunejune/assistant:all_files"], |
| 152 deps = [ | |
| 153 ":public_knowledge", | |
| 154 requirement("github-copilot-sdk"), | |
| 155 ], | |
| 145 ) | 156 ) |
| 157 | |
| 158 py_library( | |
| 159 name = "public_knowledge", | |
| 160 srcs = ["public_knowledge.py"], | |
| 161 visibility = [ | |
| 162 "//mrjunejune:__pkg__", | |
| 163 "//mrjunejune/inference:__pkg__", | |
| 164 ], | |
| 165 ) | |
| 166 | |
| 167 py_test( | |
| 168 name = "public_knowledge_test", | |
| 169 srcs = [ | |
| 170 "public_knowledge.py", | |
| 171 "public_knowledge_test.py", | |
| 172 ], | |
| 173 main = "public_knowledge_test.py", | |
| 174 data = ["//mrjunejune/assistant:all_files"], | |
| 175 ) |