ruby-pi 0.1.2 → 0.1.3

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: 55e144c9f54733981c81f090dad3eb02a4f6cbac0dd4d2a220d972c04133ea97
4
- data.tar.gz: abdbb72cfafd293dc30f4517c42dd02f147a41e501034efb7eee2b8af20f9577
3
+ metadata.gz: e996e18be62d604fb9950b3f1ffa3951be1cf89f9bcc56bdedee790a7fc6c042
4
+ data.tar.gz: 48ecbe8c92e41bfeeaa723d05230ad8d8d58eaf13da2019f87bc19614342de98
5
5
  SHA512:
6
- metadata.gz: 608d20395e47a22f7392150e131e5944bab03aabbcc089525c0fcc43f966e3672f3f2cb66e74d34657acdc108b939cbe80fa6b8ba90b281717fb0e1c43cc7242
7
- data.tar.gz: d5d0c2f2e1a24928a1b9ee998781f43d1f0d1a5d76aebbcd24d3ed42c11ae132c0c1df10996cbe23676fc94c047d12e456eea5279406484676ddcc3ce3b63068
6
+ metadata.gz: 923f10b140fdf2fa78948d515c97ee2f5ed48ba29d7bb7c20cd3cbb6b2b253690972a40a1e2edf3a1ec5aa460c09aabf03ce074a2713a6b841be9000101941c0
7
+ data.tar.gz: 261ab3f511a1f8abef34f438a842be7648c8a327df72540523c7c0538b127743cb03ec7a80992856d26addeef7c1c654b5e649fe0aec818c544cdc1acc6085d4
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.3] - 2026-04-29
9
+
10
+ ### Added
11
+
12
+ - `RubyPi::Agent::Core#initialize` now accepts a `messages:` keyword argument so callers can seed the agent with prior conversation history when starting a run
13
+
8
14
  ## [0.1.2] - 2026-04-29
9
15
 
10
16
  ### Fixed
@@ -50,6 +50,7 @@ module RubyPi
50
50
  # @param system_prompt [String] the system-level instruction prompt
51
51
  # @param model [RubyPi::LLM::BaseProvider] the LLM provider instance
52
52
  # @param tools [RubyPi::Tools::Registry, nil] tool registry
53
+ # @param messages [Array<Hash>] initial conversation history
53
54
  # @param max_iterations [Integer] max think-act-observe cycles (default: 10)
54
55
  # @param transform_context [Proc, nil] context transform hook
55
56
  # @param before_tool_call [Proc, nil] pre-tool-execution hook
@@ -60,6 +61,7 @@ module RubyPi
60
61
  system_prompt:,
61
62
  model:,
62
63
  tools: nil,
64
+ messages: [],
63
65
  max_iterations: 10,
64
66
  transform_context: nil,
65
67
  before_tool_call: nil,
@@ -71,6 +73,7 @@ module RubyPi
71
73
  system_prompt: system_prompt,
72
74
  model: model,
73
75
  tools: tools,
76
+ messages: messages,
74
77
  max_iterations: max_iterations,
75
78
  transform_context: transform_context,
76
79
  before_tool_call: before_tool_call,
@@ -7,5 +7,5 @@
7
7
 
8
8
  module RubyPi
9
9
  # The current version of the RubyPi gem, following Semantic Versioning.
10
- VERSION = "0.1.2"
10
+ VERSION = "0.1.3"
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - RubyPi Contributors