pinecall 0.11.41 → 0.11.42
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 +6 -0
- data/lib/pinecall/version.rb +1 -1
- data/lib/pinecall/voice_app.rb +4 -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: 9b1025ceaa0442172b7af337bcf3c086021e8dfaa5f5b06bca952429b1fb9dc7
|
|
4
|
+
data.tar.gz: 0f015ac1ab3a6710bc64b6d5e855b78f9040ff6e8763e55e40c806077a1e8e24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62099805b849a42e84f341b770757e0980b0a8c7604dd73fbb6d6c3937661c9c843c0f95872e608cd57f26acb335004870d7ecfdd25cc5c0df3498c606ca2702
|
|
7
|
+
data.tar.gz: 2d4134553dcf5360b911b714747bd334775d1e39529cd0a253d32838111b93963461b7fd6dd63cbcec4b997bd19f27b47cc93f2cd1303ec78aa01dec8e6cae42
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ 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.42] — a machine of your own sets up from nothing, a refused call says why, and the night's retention runs again (2026-11-17)
|
|
8
|
+
|
|
9
|
+
- **A rule's judge reads what the call carried.** `app.rule "…"` adds a judge to every agent of the app; it read the
|
|
10
|
+
call's words alone, so an amount the agent read out of a document broke a rule about where amounts come from. The
|
|
11
|
+
judge now reads the call's evidence too (`reads: ["evidence"]`: the documents searched, the tools' answers, the state).
|
|
12
|
+
|
|
7
13
|
## [0.11.41] — the CLI answers in colour, an assistant connects by an address, and a dead worker's call goes on (2026-11-16)
|
|
8
14
|
|
|
9
15
|
- Released with the runtime: nothing of this package changed.
|
data/lib/pinecall/version.rb
CHANGED
data/lib/pinecall/voice_app.rb
CHANGED
|
@@ -188,10 +188,13 @@ module Pinecall
|
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
# The class's own judges stay, and each rule adds one: a declared list is the agent's whole list.
|
|
191
|
+
# A rule's judge reads the call's evidence too (the documents searched, the tools' answers, the state):
|
|
192
|
+
# a rule is about what the agent may say from what it was given.
|
|
191
193
|
def judging(klass)
|
|
192
194
|
own = klass.environment[:judges] || {}
|
|
193
195
|
asked = @rules.each_with_index.map do |rule, at|
|
|
194
|
-
Pinecall.own_judge(name: "app-rule-#{at + 1}", asks: "Did the agent keep this rule through the whole call: \"#{rule}\"?"
|
|
196
|
+
Pinecall.own_judge(name: "app-rule-#{at + 1}", asks: "Did the agent keep this rule through the whole call: \"#{rule}\"?",
|
|
197
|
+
reads: ["evidence"])
|
|
195
198
|
end
|
|
196
199
|
{ on: own[:on] || [], own: [*own[:own], *asked] }
|
|
197
200
|
end
|