legion-llm 0.7.6 → 0.7.7
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/docs/superpowers/plans/2026-04-15-sticky-runners-tool-history.md +1866 -0
- data/docs/superpowers/specs/2026-04-15-sticky-runners-tool-history-design.md +713 -0
- data/lib/legion/llm/conversation_store.rb +25 -1
- data/lib/legion/llm/pipeline/enrichment_injector.rb +6 -0
- data/lib/legion/llm/pipeline/executor.rb +41 -9
- data/lib/legion/llm/pipeline/profile.rb +10 -7
- data/lib/legion/llm/pipeline/steps/sticky_helpers.rb +37 -0
- data/lib/legion/llm/pipeline/steps/sticky_persist.rb +125 -0
- data/lib/legion/llm/pipeline/steps/sticky_runners.rb +63 -0
- data/lib/legion/llm/pipeline/steps/tool_calls.rb +15 -0
- data/lib/legion/llm/pipeline/steps/tool_history.rb +75 -0
- data/lib/legion/llm/pipeline/steps/trigger_match.rb +7 -7
- data/lib/legion/llm/pipeline/steps.rb +4 -0
- data/lib/legion/llm/tools/adapter.rb +7 -0
- data/lib/legion/llm/version.rb +1 -1
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f705099bfc2774572c4e0b12fbee7d017d1f536994b90d31bfd032999f65605
|
|
4
|
+
data.tar.gz: 1161c2c308f15c07cc15a2e15c2eae58e85a324da5c22fcb0c48176433590106
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc5b89701e7dadcc0183c86eb8779c820473cf6c4d7bf84af7fc0d2356d91e7d6f10ad34769771e1fd99363c091dbcca9de1994f0de71370957e6b1cd8f0bd09
|
|
7
|
+
data.tar.gz: b36c275f9aeffde1922a2471bfcbff7903b8be908d4b3ab3ec98710abcba4634457b853089649e5d5f22b92ec796d61bb9d20b9ded39cd9a0173b88c678b60d2
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.7.7] - 2026-04-15
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Sticky runner tool injection: deferred tool runners stay injected for N human turns (trigger tier) or N deferred tool executions (execution tier) after activity, preventing the LLM from falling back to `legion_do` on follow-up messages
|
|
9
|
+
- Tool call history: every tool call is appended to a per-conversation enrichment block so the LLM can reference prior results (e.g. "the issue I created was #142")
|
|
10
|
+
- `Steps::StickyRunners`, `Steps::ToolHistory`, `Steps::StickyPersist` pipeline steps
|
|
11
|
+
- `ConversationStore#read_sticky_state` / `#write_sticky_state` for in-memory per-conversation state
|
|
12
|
+
- `Steps::StickyHelpers` shared settings helpers
|
|
13
|
+
|
|
5
14
|
## [0.7.6] - 2026-04-14
|
|
6
15
|
|
|
7
16
|
### Added
|