pikuri-memory 0.0.6 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 250ae9700ae0aaa1c6bb72e109ee7b821eaa1814af67e565156406d0818b80de
4
- data.tar.gz: 55fe5f22bf60d830d6feae9f1cbd71abe0309f3125ce7232fc5ff435dace5223
3
+ metadata.gz: 8e49f8dfb34713a839e3bfc46430d9fd9c112bc3297605b87e9ec35362a273e5
4
+ data.tar.gz: 3eaa571aa0352f5a2eb8310888910ec9cd53837869a97ac5365cd6259f33215b
5
5
  SHA512:
6
- metadata.gz: 868cccc453a01bce88f4ade73a3dcde1ff05536ad2e704983a5d306ae7bff8f9318672cc836c5e72a2f740b0d5db714bd699ad556bda5d24859d9b70f6f67499
7
- data.tar.gz: 949a88e68d0e94a2d7ad0f219f9d6ed6bc6aa9501e250a0d0998898c3cb228f1dbf6f63eeaa59c3ee905472953029770d41943a85eb32915f1a9ea60ccff7a2b
6
+ metadata.gz: 9b05915a221d2c84eaeba95db3919854ac7d86af4540579b28bc8b70b0b2019ec520d9d3edec5ca27368b08c643254454ff1e55d42035453debd51d5b6adb1ed
7
+ data.tar.gz: 66407ee6185f1cbff0b4ef260442dd8d89eb7969e92133eaa1abb7f191287d0dedd09382adefacbc4943c5132e7e81f799cbfd20839df89073cec889628bd2f9
@@ -149,14 +149,15 @@ module Pikuri
149
149
  end
150
150
 
151
151
  # Start the capture worker and arm its bounded flush on agent
152
- # close. Keyed to this specific agent via {Agent#on_close} (not
152
+ # close. Keyed to this specific agent via
153
+ # {Pikuri::Agent::ExtensionContext#on_close} (not
153
154
  # {Configurator#on_close}) so the lifetime tracks the live agent.
154
155
  #
155
- # @param agent [Pikuri::Agent]
156
+ # @param ctx [Pikuri::Agent::ExtensionContext]
156
157
  # @return [void]
157
- def bind(agent)
158
+ def bind(ctx)
158
159
  @recorder.start
159
- agent.on_close { @recorder.close }
160
+ ctx.on_close { @recorder.close }
160
161
  nil
161
162
  end
162
163
 
@@ -165,11 +166,12 @@ module Pikuri
165
166
  # inject nothing this turn). Capture happens regardless of whether
166
167
  # prefetch finds anything.
167
168
  #
168
- # @param agent [Pikuri::Agent] unused (the namespace is fixed at
169
- # construction); part of the protocol signature.
169
+ # @param ctx [Pikuri::Agent::ExtensionContext] unused (the
170
+ # namespace is fixed at construction); part of the protocol
171
+ # signature.
170
172
  # @param content [String] the incoming user message.
171
173
  # @return [String, nil] a +<memory-context>+ block, or +nil+.
172
- def on_user_message(_agent, content)
174
+ def on_user_message(_ctx, content)
173
175
  @recorder.enqueue(content)
174
176
  prefetch(content)
175
177
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pikuri-memory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Vysny
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-06-04 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: pikuri-core
@@ -16,14 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - '='
18
17
  - !ruby/object:Gem::Version
19
- version: 0.0.6
18
+ version: 0.0.7
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - '='
25
24
  - !ruby/object:Gem::Version
26
- version: 0.0.6
25
+ version: 0.0.7
27
26
  description: |
28
27
  pikuri-memory gives a pikuri-core agent durable, long-lived
29
28
  memory: facts about the user and their work that persist across
@@ -73,7 +72,6 @@ metadata:
73
72
  changelog_uri: https://codeberg.org/mvysny/pikuri/src/branch/master/CHANGELOG.md
74
73
  bug_tracker_uri: https://codeberg.org/mvysny/pikuri/issues
75
74
  rubygems_mfa_required: 'true'
76
- post_install_message:
77
75
  rdoc_options: []
78
76
  require_paths:
79
77
  - lib
@@ -88,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
86
  - !ruby/object:Gem::Version
89
87
  version: '0'
90
88
  requirements: []
91
- rubygems_version: 3.5.22
92
- signing_key:
89
+ rubygems_version: 3.6.7
93
90
  specification_version: 4
94
91
  summary: Durable cross-conversation memory for pikuri, backed by mem0.
95
92
  test_files: []