diff 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
line wrap: on
line diff
--- a/mrjunejune/inference/BUILD	Fri Aug 07 07:34:12 2026 -0700
+++ b/mrjunejune/inference/BUILD	Fri Aug 07 10:50:30 2026 -0700
@@ -1,6 +1,7 @@
 load("@inference_pip//:requirements.bzl", "requirement")
 load("@rules_python//python:pip.bzl", "compile_pip_requirements")
 load("@rules_python//python:py_binary.bzl", "py_binary")
+load("@rules_python//python:py_library.bzl", "py_library")
 load("@rules_python//python:py_test.bzl", "py_test")
 load(":python_zip.bzl", "python_zip_file")
 
@@ -41,8 +42,14 @@
   name = "copilot_sidecar",
   srcs = ["copilot_sidecar.py"],
   args = ["$(rootpath @copilot_cli_linux_x86_64//:copilot)"],
-  data = ["@copilot_cli_linux_x86_64//:copilot"],
-  deps = [requirement("github-copilot-sdk")],
+  data = [
+    "@copilot_cli_linux_x86_64//:copilot",
+    "//mrjunejune/assistant:all_files",
+  ],
+  deps = [
+    requirement("github-copilot-sdk"),
+    ":public_knowledge",
+  ],
   visibility = ["//mrjunejune:__pkg__"],
 )
 
@@ -141,5 +148,28 @@
     "copilot_sidecar_test.py",
   ],
   main = "copilot_sidecar_test.py",
-  deps = [requirement("github-copilot-sdk")],
+  data = ["//mrjunejune/assistant:all_files"],
+  deps = [
+    ":public_knowledge",
+    requirement("github-copilot-sdk"),
+  ],
 )
+
+py_library(
+  name = "public_knowledge",
+  srcs = ["public_knowledge.py"],
+  visibility = [
+    "//mrjunejune:__pkg__",
+    "//mrjunejune/inference:__pkg__",
+  ],
+)
+
+py_test(
+  name = "public_knowledge_test",
+  srcs = [
+    "public_knowledge.py",
+    "public_knowledge_test.py",
+  ],
+  main = "public_knowledge_test.py",
+  data = ["//mrjunejune/assistant:all_files"],
+)