foobara-agent-backed-command 0.0.7 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc71a16e925bc371058a8fa67197ffbb4628fc5b9a7201a41a19e9bb86b661b6
4
- data.tar.gz: 1274e53472b00432601ad7ca1c9db89716e82d804816c2b6b35383d9f1dbffb4
3
+ metadata.gz: 679ffa5a393f1477a9b0f796e2e3340f7560084f9590532395bcdddd1e3a45f4
4
+ data.tar.gz: d19c49bea2d88c91055edd0f82651eb6dc879325d4be4ee1a4038ab0271690a8
5
5
  SHA512:
6
- metadata.gz: 74a9526f5b9e09496b5a0c0e162181af418d8a2aa9efecdaffe5bb9c6e0e2f04222dbcba84ceded5d7c14d3a0a2b24fefb3b54c8986d23832aa95ed6f3ec5686
7
- data.tar.gz: 6c442453cec558c796c836ab9a24b74d0106307dda2cb51689611df1b86e28201adc158e8f3c18cede0b10c3ed662606152074fc2b70c6e2afc491d2460f2d3e
6
+ metadata.gz: ed1cccc71dc2f749fbf5d3505455a2b233bf97f41b5d279d7d32ff6110858918b836f9275d1365497b647acfbd5abbc0ef0f3c5e7153fa674821be50700ab8d0
7
+ data.tar.gz: f8f0f30044bc95229f37d53fb5a723c750ba831478f428abf153dcfceaf7a554c44d9fd6d39418e8db62eb485a6e6336b3c570373178005e6e062982f32110ac
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.1.0] - 2025-08-22
2
+
3
+ - Handle Foobara 0.1.0 type declarations
4
+
5
+ ## [0.0.8] - 2025-07-23
6
+
7
+ - Attempt to fix some regressions by reverting some construct goal changes
8
+
1
9
  ## [0.0.7] - 2025-07-23
2
10
 
3
11
  - Do not let ABCs use the #agent_options input of other ABCs
@@ -168,7 +168,7 @@ module Foobara
168
168
  if klass.is_a?(::Symbol)
169
169
  real_class = Namespace.global.foobara_lookup_command(
170
170
  klass,
171
- mode: Namespace::LookupMode::ABSOLUTE
171
+ mode: Namespace::LookupMode::ABSOLUTE_SINGLE_NAMESPACE
172
172
  )
173
173
 
174
174
  if real_class
@@ -204,9 +204,10 @@ module Foobara
204
204
  goal = Util.underscore(goal)
205
205
  goal = Util.humanize(goal)
206
206
 
207
+ goal = "You are an agent backed command named #{self.class.scoped_short_name}. Your goal is: #{goal}."
208
+
207
209
  if self.class.description
208
- goal += "\n\nYour behavior has been described to the person or agent that chose to run you as: "
209
- goal += self.class.description
210
+ goal += " The command description is: #{self.class.description}."
210
211
  end
211
212
 
212
213
  inputs_type = self.class.inputs_type
@@ -228,7 +229,7 @@ module Foobara
228
229
  inputs_type,
229
230
  association_depth:
230
231
  )
231
- goal += "\n\nYour inputs to this command have the following type:\n\n#{json_inputs_type}\n\n"
232
+ goal += "\n\nThe inputs to this command have the following type:\n\n#{json_inputs_type}\n\n"
232
233
 
233
234
  serializer = if pass_aggregates_to_llm?
234
235
  CommandConnectors::Serializers::AggregateSerializer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-agent-backed-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
@@ -10,12 +10,12 @@ cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
- name: foobara-agent
13
+ name: foobara
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.0.1
18
+ version: 0.1.1
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 2.0.0
@@ -25,7 +25,21 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 0.0.1
28
+ version: 0.1.1
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: 2.0.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: foobara-agent
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "<"
37
+ - !ruby/object:Gem::Version
38
+ version: 2.0.0
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
29
43
  - - "<"
30
44
  - !ruby/object:Gem::Version
31
45
  version: 2.0.0