pinecall 0.11.31 → 0.11.33

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: 7d670e8b7b865aefb2e7e835287b4ed462ef4d8c5a85ac0d4d675e850cd0396b
4
- data.tar.gz: '0926ad65b8330fcbe70384777a40cc85197190b1758f58df2ac8133ae29071ce'
3
+ metadata.gz: cebe8b0c76186db2dbbcaa93fcb42928e4742f04ae0777113ea7ef5937c69820
4
+ data.tar.gz: d43cd12e11f855936644e369df1786498206f982a4e8cc66502e8064e4fe2337
5
5
  SHA512:
6
- metadata.gz: 0e402ec5e711bfb60eef9a7a595b8edcb099ed7c8796db1a64d6e341dee363276c5fa3b0784ff94179c3e9e25e9cddb5d37c3a9d5fcdab4471b0520abac6570a
7
- data.tar.gz: '0853a682529eb0b0405dbbd3f00bc2f7b877c3a51b123c899c6224574057f4b627b2dd0553374c408b5c8b67abd1796159b2ea25b0eac764557f732b7205fdb2'
6
+ metadata.gz: cf315346782ac81756f96cdb6c85cecdf1fdd5f583341dbe59e97f93f511e46f965a86e84448affd2e2b20db71de4a35ed2adc5b020797d5702fb09bb3838f2d
7
+ data.tar.gz: e14fbe304e0d9c2e79dbfc9ba915cf0605cefcf0955a614c098c0641e00424458cd737b8f67071f70b82eb2d05db8697c40267894bb9a1d745d60e8720c68b21
data/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ 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.33] — a tool's answer follows what its app said, and the overflow speaks the agent's language (2026-11-13)
8
+
9
+ - **A file at the project's root that is no voice app says the way out.** `app.rb` there is read as the
10
+ project's voice app; one that is something else (a Sinatra app) is refused by a sentence that says so, and
11
+ that another name frees it.
12
+
13
+ ## [0.11.32] — a passed call is answered at once, and the doctor reads a cluster (2026-11-12)
14
+
15
+ - **A call passed to a teammate is answered by the teammate, at once**, as in TypeScript: what the transfer
16
+ tool answers says the call is the teammate's, that nobody is left to connect the caller to, and to reply to
17
+ what they last said. Under the words before, a small model said "one moment while I connect you" and waited.
18
+
7
19
  ## [0.11.31] — a voice app, and @agent says what an agent is (2026-11-12)
8
20
 
9
21
  - **A voice app, as in TypeScript and Python:** `app.rb` makes `Pinecall.voice_app(…)`: lines with a
@@ -57,7 +57,16 @@ module Pinecall
57
57
  call.set_state(state_of(serving))
58
58
  sync(serving, call)
59
59
  listen(serving, call)
60
- "The call is #{slug}'s now: go on as #{slug}, without saying it was passed."
60
+ passed_to(slug)
61
+ end
62
+
63
+ # What the model reads once the call is the teammate's. It called a tool named for a transfer, and a
64
+ # small model goes on as whoever transfers ("one moment while I connect you") and then waits: so the
65
+ # words say there is nobody left to connect the caller to, and to answer them now.
66
+ def passed_to(slug)
67
+ "Done: you are #{slug} now, and the caller is already talking to you. There is nobody left to connect " \
68
+ 'them to, so never say "one moment" or that you are connecting or transferring them. ' \
69
+ "Reply to their last message now, as #{slug}."
61
70
  end
62
71
 
63
72
  # The line chooses while the caller hears its greeting; a choice it could not make is said on the log.
@@ -24,7 +24,10 @@ module Pinecall
24
24
  raise CannotServe, "#{path} did not load: #{e.message}"
25
25
  end
26
26
  made = VoiceApp.made - before
27
- raise CannotServe, "#{path} makes one voice app: APP = Pinecall.voice_app(\"…\")" unless made.length == 1
27
+ unless made.length == 1
28
+ raise CannotServe, "#{path} is read as the project's voice app, and makes #{made.empty? ? 'none' : made.length}: " \
29
+ 'APP = Pinecall.voice_app("…") there, once, or give a file that is something else another name'
30
+ end
28
31
 
29
32
  made.first
30
33
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Pinecall
4
4
  # Set by the maintainer at release time.
5
- VERSION = "0.11.31"
5
+ VERSION = "0.11.33"
6
6
  end
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.31
4
+ version: 0.11.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pinecall