brainiac-discord 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f90a4cf177bc62d55f5773e21f3b5e05aaefbdbff94bae975fcbcb21ae3dbb64
|
|
4
|
+
data.tar.gz: a9dc84c5ab058a8173c96a6bda909a5ea8959a36fe61065d316b0b408ab2eb54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7df8598d6a702644e25c18c76c49aa8f406fa3c0806b2ba9a4eccf0859615fffc027e056d66d2ac42b4d737fdb7b7c00f62e2c2b629a4ee4e4e1adfa9844030
|
|
7
|
+
data.tar.gz: f7e4ddc91b9d0b819f82000e276f9490fa4fdc8454fd475ef49d09de5d58b917e988be95df2ec8577a4d55cca4ec186cc4cc1d486022912840e49767a41371ee
|
|
@@ -826,6 +826,13 @@ module Brainiac
|
|
|
826
826
|
debounced_repo_fetch(repo_path)
|
|
827
827
|
worktree_path = create_or_reuse_worktree(repo_path: repo_path, branch: branch)
|
|
828
828
|
|
|
829
|
+
# Register a work item so brainiac-github can route PR comments/reviews back
|
|
830
|
+
# to the agent that actually owns this Discord thread's worktree. Without this,
|
|
831
|
+
# PRs created from a conversational session have no work item and comments
|
|
832
|
+
# fall back to the project's default agent.
|
|
833
|
+
project_key = PROJECTS.find { |_k, v| v == project_config }&.first
|
|
834
|
+
register_work_item(branch: branch, worktree: worktree_path, project: project_key, agent: agent_name)
|
|
835
|
+
|
|
829
836
|
cli, model, effort = detect_thread_overrides(
|
|
830
837
|
project_config, clean_content,
|
|
831
838
|
fallback_cli: existing&.dig("cli_provider"),
|