pinecall 0.0.7 → 0.0.8
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 +8 -0
- data/lib/pinecall/version.rb +1 -1
- data/lib/pinecall/wire/registry.rb +2 -1
- data/lib/pinecall/wire/shapes_call_events.rb +3 -3
- data/lib/pinecall/wire/shapes_events.rb +11 -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: d385aad2e86c89ef8639d736478845f8eb2299d6eda64fb0dfbfa14ffd6ea15a
|
|
4
|
+
data.tar.gz: 04d630be1150261ec88676d98b120744f0c5b6ae5242145071e94d470b9da580
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f84b1700e9b536be0b573bc7f6a41ae5e63fb8803e5c586adec62c7928958b82e54e154dfaf9a23a6d2f47591782040557f57f9f521d13415d99fae204ab9c8
|
|
7
|
+
data.tar.gz: b9b958f3c8ee08bc72f02c5f9fb1edd04a6e6e20520db20a3d85fa01d69471c0ddfe2589cbfe2aefd0126bb769918a3d512ec15344112cfe838ef5a848899082
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ version number is the human's call.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.0.8] — The wire reads evals.spent, call.started.expects and call.summary.run (2026-10-11)
|
|
10
|
+
|
|
11
|
+
- The wire reads `evals.spent` (what the harness asked a model — a judge tried, personas
|
|
12
|
+
written, a case group diagnosed — its evals counted), `call.started.expects` (what a simulated
|
|
13
|
+
caller expects, replacing `accepts_when`/`declines_when`), a
|
|
14
|
+
`call.summary`'s `run`, and `credits.exhausted` for every quota the runtime refuses for —
|
|
15
|
+
`hosted_apps`, `evals`, `simulations` and `budget_usd` were missing. Needs runtime 0.1.46.
|
|
16
|
+
|
|
9
17
|
## [0.0.7] — Every judge is a model's answer, and the class names the judge's model (2026-10-10)
|
|
10
18
|
|
|
11
19
|
- `judge "<vendor>/<model>", builds:, options:`: the model the agent's calls are judged on, over
|
data/lib/pinecall/version.rb
CHANGED
|
@@ -34,6 +34,7 @@ module Pinecall
|
|
|
34
34
|
"confirm.granted" => "ConfirmGranted",
|
|
35
35
|
"confirm.request" => "ConfirmRequest",
|
|
36
36
|
"credits.exhausted" => "CreditsExhausted",
|
|
37
|
+
"evals.spent" => "EvalsSpent",
|
|
37
38
|
"custom" => "Custom",
|
|
38
39
|
"dev.request" => "DevRequest",
|
|
39
40
|
"docs.sources" => "DocsSources",
|
|
@@ -118,7 +119,7 @@ module Pinecall
|
|
|
118
119
|
}.freeze
|
|
119
120
|
|
|
120
121
|
# Every event this protocol declares, in the schema's own order.
|
|
121
|
-
EVENT_TYPES = %w[agent.configured agent.detached agent.draining agent.registered agent.state agent.transcript attention.answered attention.requested call.attached call.claimed call.dialing call.ended call.line call.ringing call.score call.started call.summary call.transferred callback.requested code.claimed code.issued confirm.declined confirm.granted confirm.request credits.exhausted custom dev.request docs.sources dtmf.received error event.received fleet.full log.caught_up log.gap memory.ops message.taken message.waiting metrics.avatar metrics.eot metrics.eou metrics.interruption metrics.llm metrics.realtime metrics.stt metrics.tts metrics.vad participant.joined participant.left participant.speaking pong prompt.changed room.opened room.sent spend.unusual state.changed supervisor.ended supervisor.released supervisor.said supervisor.took_over supervisor.transferred supervisor.whispered tool.call tool.result tools.changed track.published track.unpublished turn.agent turn.user user.state user.transcript vendor.switched].freeze
|
|
122
|
+
EVENT_TYPES = %w[agent.configured agent.detached agent.draining agent.registered agent.state agent.transcript attention.answered attention.requested call.attached call.claimed call.dialing call.ended call.line call.ringing call.score call.started call.summary call.transferred callback.requested code.claimed code.issued confirm.declined confirm.granted confirm.request credits.exhausted custom dev.request docs.sources dtmf.received error evals.spent event.received fleet.full log.caught_up log.gap memory.ops message.taken message.waiting metrics.avatar metrics.eot metrics.eou metrics.interruption metrics.llm metrics.realtime metrics.stt metrics.tts metrics.vad participant.joined participant.left participant.speaking pong prompt.changed room.opened room.sent spend.unusual state.changed supervisor.ended supervisor.released supervisor.said supervisor.took_over supervisor.transferred supervisor.whispered tool.call tool.result tools.changed track.published track.unpublished turn.agent turn.user user.state user.transcript vendor.switched].freeze
|
|
122
123
|
|
|
123
124
|
# Every command an app may send.
|
|
124
125
|
COMMAND_TYPES = %w[agent.configure agent.drain agent.register agent.reply agent.say call.attention call.callback call.claim call.dial call.dtmf call.event call.hangup call.hold call.log call.mute call.opt_out call.transfer call.unhold call.unmute dev.answer participant.mute participant.remove ping prompt.set room.invite room.send session.configure state.set supervisor.verb tool.result tools.set].freeze
|
|
@@ -93,8 +93,7 @@ module Pinecall
|
|
|
93
93
|
to: { kind: :str, required: true },
|
|
94
94
|
run: { kind: :str, null: true },
|
|
95
95
|
persona: { kind: :str, null: true },
|
|
96
|
-
|
|
97
|
-
declines_when: { kind: :str, null: true },
|
|
96
|
+
expects: { kind: :list, items: { kind: :str }, null: true },
|
|
98
97
|
caller: { kind: :ref, null: true, ref: "Contact", required: true },
|
|
99
98
|
started_at: { kind: :float, required: true },
|
|
100
99
|
env: { kind: :ref, ref: "Env" },
|
|
@@ -111,7 +110,8 @@ module Pinecall
|
|
|
111
110
|
usage: { kind: :list, items: { kind: :ref, ref: "ModelUsage" }, required: true },
|
|
112
111
|
cost: { kind: :ref, ref: "Cost", required: true },
|
|
113
112
|
recording: { kind: :str },
|
|
114
|
-
simulated: { kind: :bool }
|
|
113
|
+
simulated: { kind: :bool },
|
|
114
|
+
run: { kind: :str, null: true }
|
|
115
115
|
}.freeze,
|
|
116
116
|
"CallTransferred" => {
|
|
117
117
|
to: { kind: :str, required: true },
|
|
@@ -213,10 +213,20 @@ module Pinecall
|
|
|
213
213
|
}.freeze,
|
|
214
214
|
"CreditsExhausted" => {
|
|
215
215
|
org: { kind: :str, required: true },
|
|
216
|
-
quota: { kind: :enum, values: %w[minutes messages agents concurrent_calls memory_facts knowledge_chunks numbers seats llm_tokens], required: true },
|
|
216
|
+
quota: { kind: :enum, values: %w[minutes messages agents concurrent_calls memory_facts knowledge_chunks numbers seats llm_tokens hosted_apps evals simulations budget_usd], required: true },
|
|
217
217
|
used: { kind: :float, required: true },
|
|
218
218
|
limit: { kind: :int, required: true }
|
|
219
219
|
}.freeze,
|
|
220
|
+
"EvalsSpent" => {
|
|
221
|
+
kind: { kind: :enum, values: %w[try generate propose], required: true },
|
|
222
|
+
name: { kind: :str, required: true },
|
|
223
|
+
env: { kind: :ref, ref: "Env", required: true },
|
|
224
|
+
calls: { kind: :list, items: { kind: :str }, required: true },
|
|
225
|
+
evals: { kind: :int, required: true },
|
|
226
|
+
judge_calls: { kind: :int, required: true },
|
|
227
|
+
judge_cost_usd: { kind: :float, null: true },
|
|
228
|
+
own_key: { kind: :bool }
|
|
229
|
+
}.freeze,
|
|
220
230
|
"Custom" => {
|
|
221
231
|
name: { kind: :str, required: true },
|
|
222
232
|
data: { kind: :json, required: true }
|