pinecall 0.11.42 → 0.11.44

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: 9b1025ceaa0442172b7af337bcf3c086021e8dfaa5f5b06bca952429b1fb9dc7
4
- data.tar.gz: 0f015ac1ab3a6710bc64b6d5e855b78f9040ff6e8763e55e40c806077a1e8e24
3
+ metadata.gz: f721f4f5d997cb727f855557083a3d1ea5e068d4d6bebd3b1ed1543a79f22332
4
+ data.tar.gz: 3155a58eb21842756c0743fe1fcbc9bcc7876770a03713cea62536b9cde35c9a
5
5
  SHA512:
6
- metadata.gz: 62099805b849a42e84f341b770757e0980b0a8c7604dd73fbb6d6c3937661c9c843c0f95872e608cd57f26acb335004870d7ecfdd25cc5c0df3498c606ca2702
7
- data.tar.gz: 2d4134553dcf5360b911b714747bd334775d1e39529cd0a253d32838111b93963461b7fd6dd63cbcec4b997bd19f27b47cc93f2cd1303ec78aa01dec8e6cae42
6
+ metadata.gz: 7b0982bc5ae1ffafeb2ce34112c60a799100817e1226768aa5d3fb6407703549fbcc46c6b1f1ce14b51e6b74945f1ffb6fcf70b93ac20851132980f78582b2e7
7
+ data.tar.gz: 9941b448d88a1794ce15191c27d7084b5e83f89d84ad60d57e9e5fb704b75cb629e8bc8cbaf53d356629237ced0c2516d1c477d1a89710853a3d1eb2b796f079
data/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ 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.44] — a WhatsApp number of your own Meta app is heard and says where each reply stands, a simulated caller rings by phone, and a restarted process keeps its line (2026-11-18)
8
+
9
+ - **`message.status` says where a WhatsApp reply stands.** A reply the agent wrote is sent, then delivered to
10
+ the contact's phone, then read, or it failed with Meta's reason: each is an event on the conversation's call,
11
+ `{message_id, status, to, error}`, for ``on "message.status"``. An older package reports the event as one it
12
+ does not know and goes on.
13
+
14
+ ## [0.11.43] — a Mac's own Ollama keeps its models, a Studio agent with no tool answers, and a failed release is said first (2026-11-17)
15
+
16
+ - Released with the runtime: nothing of this package changed.
17
+
7
18
  ## [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
19
 
9
20
  - **A rule's judge reads what the call carried.** `app.rule "…"` adds a judge to every agent of the app; it read the
@@ -13,7 +13,7 @@ module Pinecall
13
13
  AS_WRITTEN = %i[phone whatsapp web channel_rules].freeze
14
14
 
15
15
  # The settings a class may declare. Must match the TypeScript package's `ENVIRONMENT`.
16
- ENVIRONMENT = %i[language timezone voice llm realtime stt judge greeting hangup turn says hears knowledge docs memory record voice_isolation smart_interruptions judges
16
+ ENVIRONMENT = %i[language timezone voice llm realtime stt judge greeting hangup turn says hears knowledge docs memory record smart_interruptions judges
17
17
  personas widget idle voicemail stt_fallbacks tts_fallbacks bases monitors].freeze
18
18
 
19
19
  # The ones written as the wire's own fields, keyword by keyword: `docs base: "…"`, `judges on: [...]`.
@@ -143,7 +143,7 @@ module Pinecall
143
143
  end
144
144
 
145
145
  # `language "es"`, `says [{ word: "GSA", spoken: "ge ese a" }]`, `record false`, `bases [{ base: "faq" }, { base: "prices" }]`.
146
- %i[language timezone says record voice_isolation smart_interruptions bases monitors].each do |field|
146
+ %i[language timezone says record smart_interruptions bases monitors].each do |field|
147
147
  define_method(field) do |value = NOTHING|
148
148
  return environment[field] if value.equal?(NOTHING)
149
149
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Pinecall
4
4
  # Set by the maintainer at release time.
5
- VERSION = "0.11.42"
5
+ VERSION = "0.11.44"
6
6
  end
@@ -48,6 +48,7 @@ module Pinecall
48
48
  "log.caught_up" => "LogCaughtUp",
49
49
  "log.gap" => "LogGap",
50
50
  "memory.ops" => "MemoryOps",
51
+ "message.status" => "MessageStatus",
51
52
  "message.taken" => "MessageTaken",
52
53
  "message.waiting" => "MessageWaiting",
53
54
  "metrics.avatar" => "AvatarMetrics",
@@ -132,7 +133,7 @@ module Pinecall
132
133
  }.freeze
133
134
 
134
135
  # Every event this protocol declares, in the schema's own order.
135
- EVENT_TYPES = %w[agent.configured agent.detached agent.draining agent.registered agent.state agent.transcript agent.waiting app.failed 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 judge.broke 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 org.quiet participant.joined participant.left participant.speaking pong prompt.changed release.changed room.opened room.sent run.changed spend.unusual stage.changed state.changed supervisor.ended supervisor.released supervisor.said supervisor.took_over supervisor.transferred supervisor.whispered tool.call tool.failed tool.ran tool.result tools.changed track.published track.unpublished turn.agent turn.detection turn.user user.state user.transcript vendor.failed vendor.switched worker.changed].freeze
136
+ EVENT_TYPES = %w[agent.configured agent.detached agent.draining agent.registered agent.state agent.transcript agent.waiting app.failed 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 judge.broke log.caught_up log.gap memory.ops message.status message.taken message.waiting metrics.avatar metrics.eot metrics.eou metrics.interruption metrics.llm metrics.realtime metrics.stt metrics.tts metrics.vad org.quiet participant.joined participant.left participant.speaking pong prompt.changed release.changed room.opened room.sent run.changed spend.unusual stage.changed state.changed supervisor.ended supervisor.released supervisor.said supervisor.took_over supervisor.transferred supervisor.whispered tool.call tool.failed tool.ran tool.result tools.changed track.published track.unpublished turn.agent turn.detection turn.user user.state user.transcript vendor.failed vendor.switched worker.changed].freeze
136
137
 
137
138
  # Every command an app may send.
138
139
  COMMAND_TYPES = %w[agent.configure agent.drain agent.register agent.reply agent.say call.attention call.callback call.claim call.dial call.done 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
@@ -39,7 +39,6 @@ module Pinecall
39
39
  memory: { kind: :ref, ref: "MemoryConfig" },
40
40
  hangup: { kind: :ref, ref: "HangupConfig" },
41
41
  record: { kind: :bool, default: true },
42
- voice_isolation: { kind: :bool },
43
42
  smart_interruptions: { kind: :bool },
44
43
  max_duration_s: { kind: :int },
45
44
  llm_timeout_s: { kind: :float },
@@ -309,6 +309,12 @@ module Pinecall
309
309
  ops: { kind: :list, items: { kind: :ref, ref: "MemoryOp" }, required: true },
310
310
  speech_id: { kind: :str }
311
311
  }.freeze,
312
+ "MessageStatus" => {
313
+ message_id: { kind: :str, required: true },
314
+ status: { kind: :str, required: true },
315
+ to: { kind: :str, required: true },
316
+ error: { kind: :str, null: true, required: true }
317
+ }.freeze,
312
318
  "MessageTaken" => {
313
319
  message_id: { kind: :str, required: true },
314
320
  call: { kind: :str, null: true, required: true }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinecall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.42
4
+ version: 0.11.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pinecall