a11-kit 0.2.2__tar.gz → 0.2.5__tar.gz

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 (359) hide show
  1. {a11_kit-0.2.2 → a11_kit-0.2.5}/AGENTS.md +9 -0
  2. {a11_kit-0.2.2 → a11_kit-0.2.5}/PKG-INFO +1 -1
  3. a11_kit-0.2.5/VERSION +1 -0
  4. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/__init__.py +26 -10
  5. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_native.pyi +641 -6
  6. a11_kit-0.2.5/a11/data/serial_tags.py +116 -0
  7. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/serialization.py +54 -6
  8. a11_kit-0.2.5/a11/data/tests/test_serial_tags.py +242 -0
  9. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/tests/test_serialization.py +4 -1
  10. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/http2.py +3 -0
  11. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_native_network.py +36 -0
  12. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/_native_async_node.py +40 -31
  13. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/tests/test_async_node.py +31 -0
  14. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/interact_with_claude.py +30 -7
  15. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/interact_with_claude_schema.py +4 -1
  16. a11_kit-0.2.5/a11/sdk/audio/actions.py +85 -0
  17. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/client.py +74 -0
  18. a11_kit-0.2.5/a11/sdk/audio/tests/test_actions.py +249 -0
  19. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_manager.py +3 -6
  20. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/interact_with_gemini.py +29 -13
  21. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/interact_with_gemini_schema.py +4 -1
  22. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm.py +10 -1
  23. a11_kit-0.2.5/a11/sdk/llm_tools/runner.py +204 -0
  24. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/interact_with_ollama.py +27 -13
  25. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/interact_with_ollama_schema.py +4 -1
  26. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/chunk_store_reader.py +1 -1
  27. a11_kit-0.2.5/a11/stores/sqlite_chunk_store.py +367 -0
  28. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_chunk_store.py +102 -54
  29. a11_kit-0.2.5/a11/stores/tests/test_sqlite_chunk_store.py +269 -0
  30. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/CMakeLists.txt +108 -3
  31. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/CMakeLists.txt +1 -0
  32. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/action.cc +174 -163
  33. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/registry.cc +6 -3
  34. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/schema.cc +14 -30
  35. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/schema.h +6 -5
  36. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/executor.h +4 -2
  37. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/json.cc +128 -167
  38. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/msgpack.cc +42 -57
  39. a11_kit-0.2.5/cpp/a11/data/serial_tags.h +87 -0
  40. a11_kit-0.2.5/cpp/a11/data/serializable.h +234 -0
  41. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/serialization.cc +57 -75
  42. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/serialization.h +10 -15
  43. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/types.cc +253 -455
  44. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/CMakeLists.txt +2 -0
  45. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/channel_wire_stream.cc +66 -60
  46. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http2.cc +484 -999
  47. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http2.h +56 -9
  48. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http_sse_wire_stream.cc +157 -159
  49. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/in_process_wire_stream.cc +35 -36
  50. a11_kit-0.2.5/cpp/a11/net/internal/http1_codec.cc +371 -0
  51. a11_kit-0.2.5/cpp/a11/net/internal/http1_codec.h +142 -0
  52. a11_kit-0.2.5/cpp/a11/net/internal/http1_connection.cc +812 -0
  53. a11_kit-0.2.5/cpp/a11/net/internal/http1_connection.h +168 -0
  54. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/http2_websocket_channel.cc +101 -61
  55. a11_kit-0.2.5/cpp/a11/net/internal/http_connection.h +78 -0
  56. a11_kit-0.2.5/cpp/a11/net/internal/http_streams.h +234 -0
  57. a11_kit-0.2.5/cpp/a11/net/internal/http_transport.h +820 -0
  58. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/multiplexed_binary_channel.cc +80 -42
  59. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/rtc_binary_channel.cc +2 -1
  60. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/signalling.cc +38 -39
  61. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/webrtc_wire_stream.cc +192 -192
  62. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_signalling.cc +54 -27
  63. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_wire_stream.cc +12 -6
  64. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream.cc +2 -3
  65. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream.h +1 -1
  66. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream_with_recv.cc +16 -8
  67. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/async_node.cc +32 -16
  68. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/async_node.h +8 -4
  69. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/node_map.cc +17 -21
  70. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/trace_context.cc +10 -17
  71. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/tracer.cc +0 -6
  72. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/service/session.cc +198 -196
  73. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/status.cc +10 -5
  74. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/CMakeLists.txt +5 -0
  75. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_reader.h +1 -1
  76. a11_kit-0.2.5/cpp/a11/stores/internal/chunk_store_common.h +205 -0
  77. a11_kit-0.2.5/cpp/a11/stores/internal/sqlite_database.cc +885 -0
  78. a11_kit-0.2.5/cpp/a11/stores/internal/sqlite_database.h +358 -0
  79. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/local_chunk_store.cc +19 -55
  80. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/redis_chunk_store.cc +309 -450
  81. a11_kit-0.2.5/cpp/a11/stores/sqlite_chunk_store.cc +1396 -0
  82. a11_kit-0.2.5/cpp/a11/stores/sqlite_chunk_store.h +311 -0
  83. a11_kit-0.2.5/cpp/a11/uuid.cc +29 -0
  84. a11_kit-0.2.5/cpp/a11/uuid.h +31 -0
  85. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/actions_bindings.cc +92 -72
  86. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/audio_bindings.cc +387 -56
  87. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/core_bindings.cc +137 -101
  88. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/data_bindings.cc +204 -174
  89. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/http_bindings.cc +246 -204
  90. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/interop.cc +28 -14
  91. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/interop.h +4 -2
  92. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/net_bindings.cc +39 -28
  93. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/nodes_bindings.cc +21 -16
  94. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/obs_bindings.cc +4 -3
  95. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/redis_bindings.cc +8 -5
  96. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/service_bindings.cc +29 -18
  97. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/stores_bindings.cc +305 -26
  98. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/webrtc_bindings.cc +175 -157
  99. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/client.cc +211 -175
  100. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/reply.cc +11 -8
  101. a11_kit-0.2.5/cpp/sdk/audio/CMakeLists.txt +17 -0
  102. a11_kit-0.2.5/cpp/sdk/audio/actions/audio_actions.cc +733 -0
  103. a11_kit-0.2.5/cpp/sdk/audio/actions/audio_actions.h +91 -0
  104. a11_kit-0.2.5/cpp/sdk/audio/actions/audio_events.cc +114 -0
  105. a11_kit-0.2.5/cpp/sdk/audio/actions/audio_events.h +133 -0
  106. a11_kit-0.2.5/cpp/sdk/audio/actions/audio_serialization.cc +521 -0
  107. a11_kit-0.2.5/cpp/sdk/audio/actions/audio_serialization.h +187 -0
  108. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_input.cc +35 -26
  109. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_input.h +14 -0
  110. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/device.cc +10 -15
  111. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/speech_recognizer.cc +148 -61
  112. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/speech_recognizer.h +49 -1
  113. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/CMakeLists.txt +22 -0
  114. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/action_test.cc +8 -4
  115. a11_kit-0.2.5/cpp/tests/audio_actions_test.cc +224 -0
  116. a11_kit-0.2.5/cpp/tests/audio_serialization_test.cc +254 -0
  117. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/byte_chunking_test.cc +4 -2
  118. a11_kit-0.2.5/cpp/tests/http1_codec_test.cc +170 -0
  119. a11_kit-0.2.5/cpp/tests/http1_connection_test.cc +216 -0
  120. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/http2_test.cc +20 -10
  121. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/in_process_wire_stream_test.cc +2 -1
  122. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_action_span_test.cc +10 -4
  123. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_session_stream_test.cc +29 -24
  124. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/redis_chunk_store_test.cc +28 -14
  125. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/redis_client_test.cc +10 -5
  126. a11_kit-0.2.5/cpp/tests/serial_tags_test.cc +119 -0
  127. a11_kit-0.2.5/cpp/tests/sqlite_chunk_store_test.cc +610 -0
  128. a11_kit-0.2.5/cpp/tests/temp_dir.h +67 -0
  129. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/webrtc_wire_stream_test.cc +2 -1
  130. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/websocket_wire_stream_test.cc +69 -2
  131. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/fiber.cc +2 -1
  132. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/thread_pool.cc +4 -2
  133. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/audit_wheel.py +33 -0
  134. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/bootstrap_wheel_deps.sh +10 -7
  135. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/generate_stubs.py +9 -1
  136. a11_kit-0.2.2/VERSION +0 -1
  137. a11_kit-0.2.2/a11/sdk/llm_tools/runner.py +0 -134
  138. a11_kit-0.2.2/cpp/sdk/audio/CMakeLists.txt +0 -8
  139. {a11_kit-0.2.2 → a11_kit-0.2.5}/.clang-format +0 -0
  140. {a11_kit-0.2.2 → a11_kit-0.2.5}/.clang-tidy +0 -0
  141. {a11_kit-0.2.2 → a11_kit-0.2.5}/CMakeLists.txt +0 -0
  142. {a11_kit-0.2.2 → a11_kit-0.2.5}/README.md +0 -0
  143. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/.gitignore +0 -0
  144. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_asyncio.py +0 -0
  145. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_native_options.py +0 -0
  146. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_native_protocol.py +0 -0
  147. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/__init__.py +0 -0
  148. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/_native_action.py +0 -0
  149. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/action.py +0 -0
  150. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/registry.py +0 -0
  151. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/tests/__init__.py +0 -0
  152. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/tests/test_action.py +0 -0
  153. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/__init__.py +0 -0
  154. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/__main__.py +0 -0
  155. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/app.py +0 -0
  156. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/backends.py +0 -0
  157. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/chat_ui.py +0 -0
  158. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/commands/__init__.py +0 -0
  159. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/commands/chat.py +0 -0
  160. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/tests/__init__.py +0 -0
  161. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/tests/test_chat_shell_tools.py +0 -0
  162. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/tests/test_chat_voice.py +0 -0
  163. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/voice.py +0 -0
  164. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/conftest.py +0 -0
  165. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/README.md +0 -0
  166. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/__init__.py +0 -0
  167. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/msgpack_utils.py +0 -0
  168. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/types.py +0 -0
  169. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/__init__.py +0 -0
  170. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/echo_client_webrtc.py +0 -0
  171. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/echo_server.py +0 -0
  172. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/echo_server_webrtc.py +0 -0
  173. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/__init__.py +0 -0
  174. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/http_sse_wire_stream.py +0 -0
  175. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/in_process_wire_stream.py +0 -0
  176. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/signalling.py +0 -0
  177. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/__init__.py +0 -0
  178. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_in_process_wire_stream.py +0 -0
  179. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_websocket_session_echo.py +0 -0
  180. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_wire_stream_with_recv.py +0 -0
  181. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/webrtc_wire_stream.py +0 -0
  182. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/websocket_wire_stream.py +0 -0
  183. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/wire_stream.py +0 -0
  184. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/__init__.py +0 -0
  185. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/async_node.py +0 -0
  186. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/observability/__init__.py +0 -0
  187. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/observability/tests/__init__.py +0 -0
  188. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/observability/tests/test_observability.py +0 -0
  189. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/py.typed +0 -0
  190. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/redis/__init__.py +0 -0
  191. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/redis/client.py +0 -0
  192. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/redis/tests/test_client.py +0 -0
  193. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/__init__.py +0 -0
  194. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/__init__.py +0 -0
  195. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/client.py +0 -0
  196. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/__init__.py +0 -0
  197. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/tests/__init__.py +0 -0
  198. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/tests/test_audio.py +0 -0
  199. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/__init__.py +0 -0
  200. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/handlers.py +0 -0
  201. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/manager.py +0 -0
  202. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/prompt.py +0 -0
  203. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/schemas.py +0 -0
  204. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/shell.py +0 -0
  205. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/__init__.py +0 -0
  206. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_add_done_callback.py +0 -0
  207. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_prompt.py +0 -0
  208. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_shell_integration.py +0 -0
  209. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_shell_with_llm.py +0 -0
  210. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/__init__.py +0 -0
  211. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/client.py +0 -0
  212. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/interact_with_llm.py +0 -0
  213. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/interact_with_llm_schema.py +0 -0
  214. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/__init__.py +0 -0
  215. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/adapter.py +0 -0
  216. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/jsonschema_utils.py +0 -0
  217. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/tests/__init__.py +0 -0
  218. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/tests/test_autofill_and_allowlist.py +0 -0
  219. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/__init__.py +0 -0
  220. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/client.py +0 -0
  221. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/tests/__init__.py +0 -0
  222. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/tests/test_interact_with_ollama.py +0 -0
  223. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/tests/__init__.py +0 -0
  224. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/tests/test_interact_with_llm.py +0 -0
  225. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/__init__.py +0 -0
  226. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/_native_session.py +0 -0
  227. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/session.py +0 -0
  228. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/tests/__init__.py +0 -0
  229. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/tests/test_session.py +0 -0
  230. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/status.py +0 -0
  231. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/__init__.py +0 -0
  232. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/chunk_store.py +0 -0
  233. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/chunk_store_writer.py +0 -0
  234. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/local_chunk_store.py +0 -0
  235. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/redis_chunk_store.py +0 -0
  236. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/__init__.py +0 -0
  237. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_chunk_store_reader.py +0 -0
  238. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_chunk_store_writer.py +0 -0
  239. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_redis_chunk_store.py +0 -0
  240. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/tests/__init__.py +0 -0
  241. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/tests/test_native_bindings.py +0 -0
  242. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/tests/test_typing_package.py +0 -0
  243. {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/timing.py +0 -0
  244. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/CMakeLists.txt +0 -0
  245. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/action.h +0 -0
  246. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/registry.h +0 -0
  247. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/CMakeLists.txt +0 -0
  248. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/callback_scheduler.cc +0 -0
  249. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/callback_scheduler.h +0 -0
  250. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/executor.cc +0 -0
  251. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/future.h +0 -0
  252. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/CMakeLists.txt +0 -0
  253. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/json.h +0 -0
  254. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/msgpack.h +0 -0
  255. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/types.h +0 -0
  256. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/byte_chunking.cc +0 -0
  257. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/byte_chunking.h +0 -0
  258. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/channel_wire_stream.h +0 -0
  259. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http_sse_wire_stream.h +0 -0
  260. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/in_process_wire_stream.h +0 -0
  261. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/binary_channel.h +0 -0
  262. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/http2_websocket_channel.h +0 -0
  263. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/multiplexed_binary_channel.h +0 -0
  264. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/signalling.h +0 -0
  265. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/webrtc_wire_stream.h +0 -0
  266. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_signalling.h +0 -0
  267. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_wire_stream.h +0 -0
  268. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream_with_recv.h +0 -0
  269. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/CMakeLists.txt +0 -0
  270. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/node_map.h +0 -0
  271. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/CMakeLists.txt +0 -0
  272. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/internal/otel_internal.h +0 -0
  273. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/internal/otlp_http_exporter.cc +0 -0
  274. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/internal/otlp_http_exporter.h +0 -0
  275. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/provider.cc +0 -0
  276. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/provider.h +0 -0
  277. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/span.h +0 -0
  278. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/trace_context.h +0 -0
  279. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/tracer.h +0 -0
  280. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/service/CMakeLists.txt +0 -0
  281. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/service/session.h +0 -0
  282. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/status.h +0 -0
  283. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store.h +0 -0
  284. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_reader.cc +0 -0
  285. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_writer.cc +0 -0
  286. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_writer.h +0 -0
  287. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/local_chunk_store.h +0 -0
  288. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/redis_chunk_store.h +0 -0
  289. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/redis_chunk_store_script.h +0 -0
  290. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/time.cc +0 -0
  291. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/time.h +0 -0
  292. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/cmake/a11Config.cmake.in +0 -0
  293. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/CMakeLists.txt +0 -0
  294. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/bindings.h +0 -0
  295. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/casters.h +0 -0
  296. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/module.cc +0 -0
  297. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/native_types.h +0 -0
  298. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/CMakeLists.txt +0 -0
  299. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/client.h +0 -0
  300. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/reply.h +0 -0
  301. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_buffer.cc +0 -0
  302. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_buffer.h +0 -0
  303. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/device.h +0 -0
  304. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/audio_processing.cc +0 -0
  305. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/audio_processing.h +0 -0
  306. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/portaudio_session.cc +0 -0
  307. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/portaudio_session.h +0 -0
  308. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/sample_ring.h +0 -0
  309. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/async_node_test.cc +0 -0
  310. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/audio_buffer_test.cc +0 -0
  311. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/audio_input_test.cc +0 -0
  312. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/audio_processing_test.cc +0 -0
  313. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/chunk_store_reader_test.cc +0 -0
  314. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/chunk_store_writer_test.cc +0 -0
  315. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/data_json_test.cc +0 -0
  316. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/data_types_test.cc +0 -0
  317. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/future_test.cc +0 -0
  318. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/http_sse_wire_stream_test.cc +0 -0
  319. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/install_smoke/CMakeLists.txt +0 -0
  320. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/install_smoke/smoke.cc +0 -0
  321. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/local_chunk_store_test.cc +0 -0
  322. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_trace_context_test.cc +0 -0
  323. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_tracer_test.cc +0 -0
  324. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/sample_ring_test.cc +0 -0
  325. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/session_test.cc +0 -0
  326. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/signalling_test.cc +0 -0
  327. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/speech_recognizer_test.cc +0 -0
  328. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/testdata/localhost-cert.pem +0 -0
  329. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/testdata/localhost-key.pem +0 -0
  330. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/websocket_signalling_test.cc +0 -0
  331. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/wire_stream_with_recv_test.cc +0 -0
  332. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/CMakeLists.txt +0 -0
  333. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/tests/thread_test.cc +0 -0
  334. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/boost_primitives.cc +0 -0
  335. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/boost_primitives.h +0 -0
  336. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/cases.h +0 -0
  337. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/channel/waiter_state.cc +0 -0
  338. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/channel/waiter_state.h +0 -0
  339. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/channel.h +0 -0
  340. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/concurrency.h +0 -0
  341. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/executor.h +0 -0
  342. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/fiber.h +0 -0
  343. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/select.cc +0 -0
  344. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/select.h +0 -0
  345. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/selectables.cc +0 -0
  346. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/selectables.h +0 -0
  347. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/thread_pool.h +0 -0
  348. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/util.cc +0 -0
  349. {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/util.h +0 -0
  350. {a11_kit-0.2.2 → a11_kit-0.2.5}/pybind11_abseil/__init__.py +0 -0
  351. {a11_kit-0.2.2 → a11_kit-0.2.5}/pyproject.toml +0 -0
  352. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/build_wheels.py +0 -0
  353. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/check_release_version.py +0 -0
  354. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/freeze_hunt.py +0 -0
  355. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/patches/boost-fiber-macos-futex.md +0 -0
  356. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/patches/boost-fiber-macos-futex.patch +0 -0
  357. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/serialization.py +0 -0
  358. {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/smoke_cmake_install.sh +0 -0
  359. {a11_kit-0.2.2 → a11_kit-0.2.5}/uv.lock +0 -0
@@ -20,6 +20,15 @@
20
20
  binary and schema values; they must not introduce a second public data model.
21
21
  Python serializers and deserializers continue to operate on those native
22
22
  values.
23
+ - A serializable type carries the *same* wire tag in every language:
24
+ `a11.<Class>` for the runtime's own types, `a11.sdk.<Class>` for the SDKs,
25
+ subpackages omitted and the name chosen for what the type is. The table lives
26
+ once per language — `a11/data/serial_tags.py` (an `A11_SERIAL_TAG` ClassVar
27
+ per class), `cpp/a11/data/serial_tags.h` (returned by the `A11SerialTag` ADL
28
+ point), `js/src/serial_tags.ts`, `kotlin/.../SerialTags.kt` — and
29
+ `testdata/serial_tags.json` pins all four, with each suite asserting its own
30
+ constants against it. Renaming a tag is a wire change: add the old spelling to
31
+ the legacy alias map so readers keep accepting it, and never emit it again.
23
32
 
24
33
  ## Concurrency architecture
25
34
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: a11-kit
3
- Version: 0.2.2
3
+ Version: 0.2.5
4
4
  Summary: Concurrent action and streaming runtime with a native C++ backend
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: absl-py>=2.5.0
a11_kit-0.2.5/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.5
@@ -28,6 +28,7 @@ from .net.http2 import (
28
28
  Http2ResponseWriter,
29
29
  Http2Server,
30
30
  Http2TlsOptions,
31
+ HttpProtocolPreference,
31
32
  HttpRequest,
32
33
  HttpResponse,
33
34
  HttpResponseHead,
@@ -106,6 +107,13 @@ from .stores.redis_chunk_store import (
106
107
  RedisChunkStoreMetadata,
107
108
  RedisChunkStoreOptions,
108
109
  )
110
+ from .stores.sqlite_chunk_store import (
111
+ SQLiteChunkStore,
112
+ SQLiteChunkStoreFactory,
113
+ SQLiteChunkStoreMetadata,
114
+ SQLiteChunkStoreOptions,
115
+ SQLiteSynchronous,
116
+ )
109
117
  from .timing import (
110
118
  Duration,
111
119
  Time,
@@ -118,6 +126,12 @@ from .timing import (
118
126
 
119
127
 
120
128
  def get_deadline(action: Action) -> Time:
129
+ """Read the ``x-a11-deadline`` header as an absolute :class:`Time`.
130
+
131
+ The value is a base-10 count of **milliseconds** since the Unix epoch, or a
132
+ base-10 count of **nanoseconds** when suffixed with ``ns``. An absent header
133
+ means no deadline (:func:`infinite_future`).
134
+ """
121
135
  deadline_str = action.get_header("x-a11-deadline", decode=True)
122
136
  if deadline_str is None:
123
137
  return infinite_future()
@@ -130,29 +144,31 @@ def get_deadline(action: Action) -> Time:
130
144
  try:
131
145
  deadline = int(deadline_str)
132
146
  except ValueError:
133
- raise Status(
134
- code=StatusCode.INVALID_ARGUMENT,
135
- message=(
136
- "Deadline header must be an integer optionally followed by 'ns'"
137
- ),
138
- ).to_exception()
139
-
147
+ deadline = -1
140
148
  if deadline < 0:
141
149
  raise Status(
142
150
  code=StatusCode.INVALID_ARGUMENT,
143
151
  message=(
144
- "Deadline header must be a non-negative integer optionally"
145
- " followed by 'ns'"
152
+ "The x-a11-deadline header must be a non-negative base-10"
153
+ " integer of milliseconds since the epoch, or nanoseconds with"
154
+ " an 'ns' suffix."
146
155
  ),
147
156
  ).to_exception()
148
157
 
149
- if nanos:
158
+ # Bare values are milliseconds; only the 'ns' form is already nanoseconds.
159
+ if not nanos:
150
160
  deadline *= 1000000
151
161
 
152
162
  return Time.from_nanoseconds_since_epoch(deadline)
153
163
 
154
164
 
155
165
  def set_deadline_header(action: Action, deadline: Time = infinite_future()):
166
+ """Write ``deadline`` to the ``x-a11-deadline`` header as milliseconds.
167
+
168
+ An infinite deadline clears the header. The value is emitted as a bare
169
+ base-10 millisecond count, the representation :func:`get_deadline` reads by
170
+ default.
171
+ """
156
172
  if deadline == infinite_future():
157
173
  try:
158
174
  action.remove_header("x-a11-deadline")