pinecall 0.11.10 → 0.11.12
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 +9 -0
- data/lib/pinecall/bridge.rb +3 -1
- data/lib/pinecall/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a3637ed2cc697bf1961e195dae6a6da83a219a2a2cbfb8e7cb338c913301d51
|
|
4
|
+
data.tar.gz: 3b97803962a2724736b857ffd7cb9656c22a42527e309d7aeef6195d2dfbb136
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46a8d4a2f7d3ece0c2d9a7216c1e30a6d2d1c0c029b2634fcb158b8c62041efd6e4586329b5ac8f238d791f360ce8bc1c74fd658ddcb504c92aa522970599dcc
|
|
7
|
+
data.tar.gz: 8a0d6ee7c6da811500ba9954200e98a68c465fb31986eb8cf9c5d98445e853f35836433523e7b85d2b0fdda2df23327f9d1bbe9db764c87f40aa8cf948f27621
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ Every change a person using this gem would notice. The format is
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version numbers and tags are the
|
|
5
5
|
maintainer's call.
|
|
6
6
|
|
|
7
|
+
## [0.11.12] — `on_memory` runs (2026-10-23)
|
|
8
|
+
|
|
9
|
+
- **`on_memory` runs.** Declared, never called: `memory.ops` now reaches it with the wire's ops,
|
|
10
|
+
after the view re-rendered with what was recalled.
|
|
11
|
+
|
|
12
|
+
## [0.11.11] — released with every other package (2026-10-23)
|
|
13
|
+
|
|
14
|
+
- Nothing of the gem changed: published at 0.11.11 with every other package.
|
|
15
|
+
|
|
7
16
|
## [0.11.10] — released with every other package (2026-10-22)
|
|
8
17
|
|
|
9
18
|
- Nothing of the gem changed: published at 0.11.10 with every other package.
|
data/lib/pinecall/bridge.rb
CHANGED
|
@@ -161,13 +161,15 @@ module Pinecall
|
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
# The view answers the turn being taken, not the one before it; a claim lets the caller see the
|
|
164
|
-
# page; recall is not state, so nothing else would render what it brought.
|
|
164
|
+
# page; recall is not state, so nothing else would render what it brought. What memory did then
|
|
165
|
+
# reaches `on_memory`, after the view already says it.
|
|
165
166
|
def rerendered(serving, call, event)
|
|
166
167
|
case event.type
|
|
167
168
|
when "turn.user", "call.claimed" then sync(serving, call)
|
|
168
169
|
when "memory.ops"
|
|
169
170
|
serving.remembered = words_recalled(event.data)
|
|
170
171
|
sync(serving, call)
|
|
172
|
+
serving.later { serving.agent.run_hook(:on_memory, event.data[:ops] || [], serving.world) }
|
|
171
173
|
end
|
|
172
174
|
end
|
|
173
175
|
|
data/lib/pinecall/version.rb
CHANGED