smith-agents 0.6.0 → 0.7.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/CHANGELOG.md +47 -1
- data/docs/TOOLS_AND_GUARDRAILS.md +61 -1
- data/lib/smith/agent.rb +23 -1
- data/lib/smith/tool/budget_enforcement.rb +11 -13
- data/lib/smith/tool/call_allowance.rb +61 -0
- data/lib/smith/tool/capture.rb +60 -4
- data/lib/smith/tool/capture_configuration.rb +20 -0
- data/lib/smith/tool/chat_execution_context.rb +105 -0
- data/lib/smith/tool/scoped_context.rb +71 -0
- data/lib/smith/tool.rb +8 -46
- data/lib/smith/tool_capture_failed.rb +106 -0
- data/lib/smith/version.rb +2 -2
- data/lib/smith/workflow/composite/branch_failure.rb +34 -13
- data/lib/smith/workflow/composite/branch_outcome.rb +19 -2
- data/lib/smith/workflow/composite/error.rb +53 -5
- data/lib/smith/workflow/composite/error_evidence.rb +10 -2
- data/lib/smith/workflow/deadline_enforcement.rb +1 -1
- data/lib/smith/workflow/fanout_execution.rb +12 -11
- data/lib/smith/workflow/parallel/cancellation_signal.rb +1 -1
- data/lib/smith/workflow/parallel/root_execution.rb +1 -1
- data/lib/smith/workflow/parallel.rb +6 -1
- data/lib/smith/workflow/prepared_branch_execution.rb +9 -2
- data/lib/smith/workflow/retry_execution.rb +1 -0
- data/lib/smith/workflow/split_step_persistence/composite_branch_execution.rb +13 -4
- data/lib/smith/workflow/split_step_persistence/preparation_claim.rb +8 -0
- data/lib/smith/workflow/thread_context_snapshot.rb +1 -0
- data/lib/smith/workflow/transition.rb +6 -0
- data/lib/smith/workflow.rb +6 -0
- metadata +14 -3
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smith-agents
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Ralak
|
|
@@ -117,16 +117,22 @@ dependencies:
|
|
|
117
117
|
name: ruby_llm
|
|
118
118
|
requirement: !ruby/object:Gem::Requirement
|
|
119
119
|
requirements:
|
|
120
|
-
- - "
|
|
120
|
+
- - ">="
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '1.15'
|
|
123
|
+
- - "<"
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '1.17'
|
|
123
126
|
type: :runtime
|
|
124
127
|
prerelease: false
|
|
125
128
|
version_requirements: !ruby/object:Gem::Requirement
|
|
126
129
|
requirements:
|
|
127
|
-
- - "
|
|
130
|
+
- - ">="
|
|
128
131
|
- !ruby/object:Gem::Version
|
|
129
132
|
version: '1.15'
|
|
133
|
+
- - "<"
|
|
134
|
+
- !ruby/object:Gem::Version
|
|
135
|
+
version: '1.17'
|
|
130
136
|
description: Smith is a workflow-first multi-agent orchestration library built on
|
|
131
137
|
RubyLLM. It provides state machine modeling, typed contracts, budget enforcement,
|
|
132
138
|
guardrails, and observability for agent workflows.
|
|
@@ -237,10 +243,15 @@ files:
|
|
|
237
243
|
- lib/smith/tasks/doctor.rake
|
|
238
244
|
- lib/smith/tool.rb
|
|
239
245
|
- lib/smith/tool/budget_enforcement.rb
|
|
246
|
+
- lib/smith/tool/call_allowance.rb
|
|
240
247
|
- lib/smith/tool/capability_builder.rb
|
|
241
248
|
- lib/smith/tool/capture.rb
|
|
249
|
+
- lib/smith/tool/capture_configuration.rb
|
|
250
|
+
- lib/smith/tool/chat_execution_context.rb
|
|
242
251
|
- lib/smith/tool/compatibility.rb
|
|
243
252
|
- lib/smith/tool/policy.rb
|
|
253
|
+
- lib/smith/tool/scoped_context.rb
|
|
254
|
+
- lib/smith/tool_capture_failed.rb
|
|
244
255
|
- lib/smith/tools.rb
|
|
245
256
|
- lib/smith/tools/think.rb
|
|
246
257
|
- lib/smith/tools/url_fetcher.rb
|