brute 3.2.1 → 4.0.0
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/lib/brute/hooks.rb +77 -0
- data/lib/brute/message_transport/open_router.rb +77 -3
- data/lib/brute/middleware/025_skills.rb +91 -0
- data/lib/brute/middleware/070_tool_pipeline.rb +110 -13
- data/lib/brute/middleware/open_router.rb +79 -4
- data/lib/brute/prompt_template.rb +125 -0
- data/lib/brute/prompts/base.rb +105 -0
- data/lib/brute/prompts/skills.rb +51 -13
- data/lib/brute/prompts/text/skills/default.erb +14 -0
- data/lib/brute/skill.rb +211 -80
- data/lib/brute/turn/agent_pipeline.rb +27 -1
- data/lib/brute/turn/pipeline.rb +15 -0
- data/lib/brute/version.rb +1 -1
- data/lib/brute/version.rb.erb +5 -0
- metadata +6 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brute
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 4.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brute Contributors
|
|
@@ -173,6 +173,7 @@ files:
|
|
|
173
173
|
- lib/brute/events/handler.rb
|
|
174
174
|
- lib/brute/events/prefixed_terminal_output.rb
|
|
175
175
|
- lib/brute/events/terminal_output_handler.rb
|
|
176
|
+
- lib/brute/hooks.rb
|
|
176
177
|
- lib/brute/message_transport.rb
|
|
177
178
|
- lib/brute/message_transport/anthropic.rb
|
|
178
179
|
- lib/brute/message_transport/llm.rb
|
|
@@ -190,6 +191,7 @@ files:
|
|
|
190
191
|
- lib/brute/middleware/010_max_iterations.rb
|
|
191
192
|
- lib/brute/middleware/015_otel_token_usage.rb
|
|
192
193
|
- lib/brute/middleware/020_system_prompt.rb
|
|
194
|
+
- lib/brute/middleware/025_skills.rb
|
|
193
195
|
- lib/brute/middleware/040_compaction_check.rb
|
|
194
196
|
- lib/brute/middleware/060_questions.rb
|
|
195
197
|
- lib/brute/middleware/070_tool_pipeline.rb
|
|
@@ -198,6 +200,7 @@ files:
|
|
|
198
200
|
- lib/brute/middleware/event_handler.rb
|
|
199
201
|
- lib/brute/middleware/open_router.rb
|
|
200
202
|
- lib/brute/middleware/user_queue.rb
|
|
203
|
+
- lib/brute/prompt_template.rb
|
|
201
204
|
- lib/brute/prompts.rb
|
|
202
205
|
- lib/brute/prompts/autonomy.rb
|
|
203
206
|
- lib/brute/prompts/base.rb
|
|
@@ -231,6 +234,7 @@ files:
|
|
|
231
234
|
- lib/brute/prompts/text/identity/default.txt
|
|
232
235
|
- lib/brute/prompts/text/identity/google.txt
|
|
233
236
|
- lib/brute/prompts/text/identity/openai.txt
|
|
237
|
+
- lib/brute/prompts/text/skills/default.erb
|
|
234
238
|
- lib/brute/prompts/text/tone_and_style/anthropic.txt
|
|
235
239
|
- lib/brute/prompts/text/tone_and_style/default.txt
|
|
236
240
|
- lib/brute/prompts/text/tone_and_style/google.txt
|
|
@@ -268,6 +272,7 @@ files:
|
|
|
268
272
|
- lib/brute/turn/tool_pipeline.rb
|
|
269
273
|
- lib/brute/utils/diff.rb
|
|
270
274
|
- lib/brute/version.rb
|
|
275
|
+
- lib/brute/version.rb.erb
|
|
271
276
|
- lib/brute_cli/providers/shell.rb
|
|
272
277
|
- lib/brute_cli/providers/shell_response.rb
|
|
273
278
|
homepage: https://github.com/general-intelligence-systems/brute
|