voicey 0.0.0.dev0__py3-none-any.whl

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.
Files changed (244) hide show
  1. voicey/__init__.py +33 -0
  2. voicey/_frontend/assets/LiveKitSession-D_ltM0yH.js +39 -0
  3. voicey/_frontend/assets/PipecatSession-CDRfVl3x.js +413 -0
  4. voicey/_frontend/assets/fragment-mono-latin-400-normal-BYwT3kSJ.woff +0 -0
  5. voicey/_frontend/assets/fragment-mono-latin-400-normal-yxdJ5AmL.woff2 +0 -0
  6. voicey/_frontend/assets/fragment-mono-latin-ext-400-normal-BbKYyvR9.woff2 +0 -0
  7. voicey/_frontend/assets/fragment-mono-latin-ext-400-normal-CT4YFKeK.woff +0 -0
  8. voicey/_frontend/assets/index-B0pZS9vH.css +1 -0
  9. voicey/_frontend/assets/index-D1MsCcB3.js +9 -0
  10. voicey/_frontend/assets/index.module-CfAoeLOb.js +1 -0
  11. voicey/_frontend/assets/instrument-sans-latin-400-normal-D1W7dsQl.woff +0 -0
  12. voicey/_frontend/assets/instrument-sans-latin-400-normal-DRC__1Mx.woff2 +0 -0
  13. voicey/_frontend/assets/instrument-sans-latin-500-normal-Dk9ku72i.woff2 +0 -0
  14. voicey/_frontend/assets/instrument-sans-latin-500-normal-Z6ESRlEs.woff +0 -0
  15. voicey/_frontend/assets/instrument-sans-latin-600-normal-B7fBEWYG.woff2 +0 -0
  16. voicey/_frontend/assets/instrument-sans-latin-600-normal-B9e8oLYv.woff +0 -0
  17. voicey/_frontend/assets/instrument-sans-latin-ext-400-normal-Q_nF8v4l.woff2 +0 -0
  18. voicey/_frontend/assets/instrument-sans-latin-ext-400-normal-r32jotim.woff +0 -0
  19. voicey/_frontend/assets/instrument-sans-latin-ext-500-normal-CAxz3nsc.woff +0 -0
  20. voicey/_frontend/assets/instrument-sans-latin-ext-500-normal-CTEe1bJa.woff2 +0 -0
  21. voicey/_frontend/assets/instrument-sans-latin-ext-600-normal-BsaQcF38.woff2 +0 -0
  22. voicey/_frontend/assets/instrument-sans-latin-ext-600-normal-DMks36a2.woff +0 -0
  23. voicey/_frontend/assets/voice-ui-kit-9_azXb1F.js +1 -0
  24. voicey/_frontend/assets/voice-ui-kit-BL6APnpe.js +1 -0
  25. voicey/_frontend/assets/voice-ui-kit-C-Dv3PZZ.js +1 -0
  26. voicey/_frontend/index.html +15 -0
  27. voicey/_p0/__init__.py +1 -0
  28. voicey/_p0/common.py +99 -0
  29. voicey/_p0/livekit_probe.py +85 -0
  30. voicey/_p0/pipecat_probe.py +151 -0
  31. voicey/_version.py +3 -0
  32. voicey/capabilities.py +198 -0
  33. voicey/cli/__init__.py +1 -0
  34. voicey/cli/app.py +2285 -0
  35. voicey/cli/checkpoint.py +87 -0
  36. voicey/cli/context.py +153 -0
  37. voicey/cli/dev.py +861 -0
  38. voicey/cli/doctor.py +847 -0
  39. voicey/cli/drafting.py +253 -0
  40. voicey/cli/environment.py +195 -0
  41. voicey/cli/keys.py +362 -0
  42. voicey/cli/prompts.py +160 -0
  43. voicey/cli/scaffold.py +404 -0
  44. voicey/cli/wizard.py +715 -0
  45. voicey/compatibility.py +146 -0
  46. voicey/config/__init__.py +57 -0
  47. voicey/config/catalog.py +319 -0
  48. voicey/config/manifest.py +130 -0
  49. voicey/config/models.py +581 -0
  50. voicey/config/validation.py +228 -0
  51. voicey/deploy/__init__.py +91 -0
  52. voicey/deploy/cloud.py +1849 -0
  53. voicey/deploy/cloud_runtime.py +635 -0
  54. voicey/deploy/cloud_smoke.py +577 -0
  55. voicey/deploy/docker.py +450 -0
  56. voicey/deploy/fly.py +1005 -0
  57. voicey/deploy/managed.py +189 -0
  58. voicey/deploy/managed_secrets.py +195 -0
  59. voicey/deploy/persistence.py +248 -0
  60. voicey/deploy/railway.py +1716 -0
  61. voicey/deploy/results_service.py +732 -0
  62. voicey/deploy/runtime.py +668 -0
  63. voicey/errors.py +556 -0
  64. voicey/obs/__init__.py +32 -0
  65. voicey/obs/latency.py +133 -0
  66. voicey/obs/logging.py +167 -0
  67. voicey/obs/records.py +940 -0
  68. voicey/obs/telemetry.py +535 -0
  69. voicey/playground/__init__.py +25 -0
  70. voicey/playground/assets.py +24 -0
  71. voicey/playground/reload.py +177 -0
  72. voicey/playground/security.py +497 -0
  73. voicey/playground/service.py +493 -0
  74. voicey/py.typed +1 -0
  75. voicey/recipe_data/appointment-booking/README.md +117 -0
  76. voicey/recipe_data/appointment-booking/livekit/flow.py +217 -0
  77. voicey/recipe_data/appointment-booking/livekit/tests/test_recipe.py +37 -0
  78. voicey/recipe_data/appointment-booking/pipecat/eval_bot.py +37 -0
  79. voicey/recipe_data/appointment-booking/pipecat/evals/audio/barge-in-audio.yaml +14 -0
  80. voicey/recipe_data/appointment-booking/pipecat/evals/audio/book-audio.yaml +17 -0
  81. voicey/recipe_data/appointment-booking/pipecat/evals/audio/change-mind-audio.yaml +15 -0
  82. voicey/recipe_data/appointment-booking/pipecat/evals/audio/latency-reference.yaml +66 -0
  83. voicey/recipe_data/appointment-booking/pipecat/evals/audio-suite.yaml +13 -0
  84. voicey/recipe_data/appointment-booking/pipecat/evals/judge-audio-local.yaml +8 -0
  85. voicey/recipe_data/appointment-booking/pipecat/evals/judge-cloud.example.yaml +6 -0
  86. voicey/recipe_data/appointment-booking/pipecat/evals/judge-local.yaml +4 -0
  87. voicey/recipe_data/appointment-booking/pipecat/evals/latency-suite.yaml +11 -0
  88. voicey/recipe_data/appointment-booking/pipecat/evals/text/barge-in.yaml +15 -0
  89. voicey/recipe_data/appointment-booking/pipecat/evals/text/book.yaml +29 -0
  90. voicey/recipe_data/appointment-booking/pipecat/evals/text/calendar-failure.yaml +13 -0
  91. voicey/recipe_data/appointment-booking/pipecat/evals/text/cancel.yaml +20 -0
  92. voicey/recipe_data/appointment-booking/pipecat/evals/text/change-mind.yaml +24 -0
  93. voicey/recipe_data/appointment-booking/pipecat/evals/text/human-transfer.yaml +12 -0
  94. voicey/recipe_data/appointment-booking/pipecat/evals/text/voicemail.yaml +10 -0
  95. voicey/recipe_data/appointment-booking/pipecat/evals/text-suite.yaml +17 -0
  96. voicey/recipe_data/appointment-booking/pipecat/evals/user-audio.yaml +5 -0
  97. voicey/recipe_data/appointment-booking/pipecat/flow.py +34 -0
  98. voicey/recipe_data/appointment-booking/pipecat/tests/test_recipe.py +13 -0
  99. voicey/recipe_data/appointment-booking/prompts/failure.md +12 -0
  100. voicey/recipe_data/appointment-booking/prompts/greeting.md +1 -0
  101. voicey/recipe_data/appointment-booking/prompts/system.md +59 -0
  102. voicey/recipe_data/appointment-booking/prompts/voicemail.md +11 -0
  103. voicey/recipe_data/appointment-booking/recipe.jsonc +13 -0
  104. voicey/recipe_data/appointment-booking/tests/scenarios.py +335 -0
  105. voicey/recipe_data/appointment-booking/tools.py +185 -0
  106. voicey/recipe_data/front-desk/README.md +14 -0
  107. voicey/recipe_data/front-desk/livekit/flow.py +61 -0
  108. voicey/recipe_data/front-desk/pipecat/eval_bot.py +32 -0
  109. voicey/recipe_data/front-desk/pipecat/flow.py +29 -0
  110. voicey/recipe_data/front-desk/prompts/failure.md +5 -0
  111. voicey/recipe_data/front-desk/prompts/greeting.md +1 -0
  112. voicey/recipe_data/front-desk/prompts/system.md +18 -0
  113. voicey/recipe_data/front-desk/prompts/voicemail.md +11 -0
  114. voicey/recipe_data/front-desk/recipe.jsonc +13 -0
  115. voicey/recipe_data/front-desk/tests/scenarios.py +157 -0
  116. voicey/recipe_data/front-desk/tools.py +100 -0
  117. voicey/recipe_data/lead-intake/README.md +13 -0
  118. voicey/recipe_data/lead-intake/livekit/flow.py +96 -0
  119. voicey/recipe_data/lead-intake/pipecat/eval_bot.py +30 -0
  120. voicey/recipe_data/lead-intake/pipecat/flow.py +29 -0
  121. voicey/recipe_data/lead-intake/prompts/failure.md +5 -0
  122. voicey/recipe_data/lead-intake/prompts/greeting.md +1 -0
  123. voicey/recipe_data/lead-intake/prompts/system.md +17 -0
  124. voicey/recipe_data/lead-intake/prompts/voicemail.md +12 -0
  125. voicey/recipe_data/lead-intake/recipe.jsonc +13 -0
  126. voicey/recipe_data/lead-intake/tests/scenarios.py +166 -0
  127. voicey/recipe_data/lead-intake/tools.py +205 -0
  128. voicey/recipe_data/restaurant-reservations/README.md +13 -0
  129. voicey/recipe_data/restaurant-reservations/livekit/flow.py +67 -0
  130. voicey/recipe_data/restaurant-reservations/pipecat/eval_bot.py +30 -0
  131. voicey/recipe_data/restaurant-reservations/pipecat/flow.py +29 -0
  132. voicey/recipe_data/restaurant-reservations/prompts/failure.md +5 -0
  133. voicey/recipe_data/restaurant-reservations/prompts/greeting.md +1 -0
  134. voicey/recipe_data/restaurant-reservations/prompts/system.md +15 -0
  135. voicey/recipe_data/restaurant-reservations/prompts/voicemail.md +12 -0
  136. voicey/recipe_data/restaurant-reservations/recipe.jsonc +13 -0
  137. voicey/recipe_data/restaurant-reservations/tests/scenarios.py +153 -0
  138. voicey/recipe_data/restaurant-reservations/tools.py +219 -0
  139. voicey/recipes/__init__.py +29 -0
  140. voicey/recipes/drift.py +298 -0
  141. voicey/recipes/registry.py +108 -0
  142. voicey/recipes/source.py +291 -0
  143. voicey/relay/__init__.py +15 -0
  144. voicey/relay/auth.py +252 -0
  145. voicey/relay/client.py +471 -0
  146. voicey/relay/cloud_answer.py +160 -0
  147. voicey/relay/companion.py +273 -0
  148. voicey/relay/journal.py +436 -0
  149. voicey/relay/models.py +130 -0
  150. voicey/relay/postgres.py +324 -0
  151. voicey/relay/recording.py +186 -0
  152. voicey/relay/service.py +527 -0
  153. voicey/release/__init__.py +15 -0
  154. voicey/release/docs.py +280 -0
  155. voicey/release/policy.py +97 -0
  156. voicey/release/snapshots.py +139 -0
  157. voicey/results/__init__.py +40 -0
  158. voicey/results/delivery.py +113 -0
  159. voicey/results/events.py +134 -0
  160. voicey/results/recorder.py +61 -0
  161. voicey/results/recording.py +228 -0
  162. voicey/results/recovery.py +179 -0
  163. voicey/results/schema.py +72 -0
  164. voicey/results/signing.py +131 -0
  165. voicey/runtimes/__init__.py +1 -0
  166. voicey/runtimes/livekit/__init__.py +79 -0
  167. voicey/runtimes/livekit/flow.py +81 -0
  168. voicey/runtimes/livekit/generic_sip.py +428 -0
  169. voicey/runtimes/livekit/host.py +687 -0
  170. voicey/runtimes/livekit/lifecycle.py +37 -0
  171. voicey/runtimes/livekit/mapping.py +201 -0
  172. voicey/runtimes/livekit/observability.py +199 -0
  173. voicey/runtimes/livekit/plivo.py +844 -0
  174. voicey/runtimes/livekit/providers.py +303 -0
  175. voicey/runtimes/livekit/session.py +471 -0
  176. voicey/runtimes/livekit/sip.py +1162 -0
  177. voicey/runtimes/livekit/telnyx.py +892 -0
  178. voicey/runtimes/livekit/token.py +102 -0
  179. voicey/runtimes/livekit/tools.py +81 -0
  180. voicey/runtimes/livekit/vobiz.py +914 -0
  181. voicey/runtimes/pipecat/__init__.py +57 -0
  182. voicey/runtimes/pipecat/admission.py +73 -0
  183. voicey/runtimes/pipecat/evals.py +189 -0
  184. voicey/runtimes/pipecat/flows.py +251 -0
  185. voicey/runtimes/pipecat/host.py +2101 -0
  186. voicey/runtimes/pipecat/lifecycle.py +366 -0
  187. voicey/runtimes/pipecat/mapping.py +164 -0
  188. voicey/runtimes/pipecat/observability.py +162 -0
  189. voicey/runtimes/pipecat/providers.py +302 -0
  190. voicey/runtimes/pipecat/recording.py +5 -0
  191. voicey/runtimes/pipecat/session.py +542 -0
  192. voicey/security/__init__.py +5 -0
  193. voicey/security/files.py +42 -0
  194. voicey/storage/__init__.py +41 -0
  195. voicey/storage/artifacts.py +131 -0
  196. voicey/storage/migrations/postgres/0001_initial.sql +183 -0
  197. voicey/storage/models.py +199 -0
  198. voicey/storage/postgres.py +1664 -0
  199. voicey/storage/repository.py +147 -0
  200. voicey/storage/s3.py +250 -0
  201. voicey/storage/sqlite.py +1192 -0
  202. voicey/telephony/__init__.py +30 -0
  203. voicey/telephony/ledger.py +943 -0
  204. voicey/telephony/models.py +219 -0
  205. voicey/telephony/plivo/__init__.py +5 -0
  206. voicey/telephony/plivo/adapter.py +993 -0
  207. voicey/telephony/protocol.py +59 -0
  208. voicey/telephony/registry.py +54 -0
  209. voicey/telephony/telnyx/__init__.py +5 -0
  210. voicey/telephony/telnyx/adapter.py +1076 -0
  211. voicey/telephony/twilio/__init__.py +39 -0
  212. voicey/telephony/twilio/adapter.py +1367 -0
  213. voicey/telephony/twilio/media.py +351 -0
  214. voicey/telephony/vobiz/__init__.py +5 -0
  215. voicey/telephony/vobiz/adapter.py +1124 -0
  216. voicey/testing/__init__.py +51 -0
  217. voicey/testing/discovery.py +121 -0
  218. voicey/testing/live.py +345 -0
  219. voicey/testing/live_livekit.py +255 -0
  220. voicey/testing/live_pipecat.py +559 -0
  221. voicey/testing/livekit.py +126 -0
  222. voicey/testing/livekit_audio.py +254 -0
  223. voicey/testing/models.py +270 -0
  224. voicey/testing/pipecat.py +325 -0
  225. voicey/testing/pipecat_judge.py +40 -0
  226. voicey/testing/reporting.py +127 -0
  227. voicey/testing/runner.py +714 -0
  228. voicey/testing/sim_caller.py +365 -0
  229. voicey/testing/soak.py +357 -0
  230. voicey/tools/__init__.py +29 -0
  231. voicey/tools/core.py +203 -0
  232. voicey/tools/discovery.py +61 -0
  233. voicey/tools/execution.py +273 -0
  234. voicey/tools/http.py +215 -0
  235. voicey/tunnel/__init__.py +17 -0
  236. voicey/tunnel/manager.py +485 -0
  237. voicey/tunnel/probe.py +134 -0
  238. voicey/upgrade.py +428 -0
  239. voicey/versioning.py +142 -0
  240. voicey-0.0.0.dev0.dist-info/METADATA +97 -0
  241. voicey-0.0.0.dev0.dist-info/RECORD +244 -0
  242. voicey-0.0.0.dev0.dist-info/WHEEL +4 -0
  243. voicey-0.0.0.dev0.dist-info/entry_points.txt +8 -0
  244. voicey-0.0.0.dev0.dist-info/licenses/LICENSE +201 -0
voicey/__init__.py ADDED
@@ -0,0 +1,33 @@
1
+ """Public package surface for voicey."""
2
+
3
+ from voicey import results
4
+ from voicey._version import __version__
5
+ from voicey.config import (
6
+ Agent,
7
+ Behavior,
8
+ Limits,
9
+ Models,
10
+ Observability,
11
+ Phone,
12
+ Results,
13
+ Voice,
14
+ Web,
15
+ )
16
+ from voicey.results.signing import verify_webhook
17
+ from voicey.tools import tool
18
+
19
+ __all__ = [
20
+ "Agent",
21
+ "Behavior",
22
+ "Limits",
23
+ "Models",
24
+ "Observability",
25
+ "Phone",
26
+ "Results",
27
+ "Voice",
28
+ "Web",
29
+ "__version__",
30
+ "results",
31
+ "tool",
32
+ "verify_webhook",
33
+ ]