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.
- {a11_kit-0.2.2 → a11_kit-0.2.5}/AGENTS.md +9 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/PKG-INFO +1 -1
- a11_kit-0.2.5/VERSION +1 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/__init__.py +26 -10
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_native.pyi +641 -6
- a11_kit-0.2.5/a11/data/serial_tags.py +116 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/serialization.py +54 -6
- a11_kit-0.2.5/a11/data/tests/test_serial_tags.py +242 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/tests/test_serialization.py +4 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/http2.py +3 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_native_network.py +36 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/_native_async_node.py +40 -31
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/tests/test_async_node.py +31 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/interact_with_claude.py +30 -7
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/interact_with_claude_schema.py +4 -1
- a11_kit-0.2.5/a11/sdk/audio/actions.py +85 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/client.py +74 -0
- a11_kit-0.2.5/a11/sdk/audio/tests/test_actions.py +249 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_manager.py +3 -6
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/interact_with_gemini.py +29 -13
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/interact_with_gemini_schema.py +4 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm.py +10 -1
- a11_kit-0.2.5/a11/sdk/llm_tools/runner.py +204 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/interact_with_ollama.py +27 -13
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/interact_with_ollama_schema.py +4 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/chunk_store_reader.py +1 -1
- a11_kit-0.2.5/a11/stores/sqlite_chunk_store.py +367 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_chunk_store.py +102 -54
- a11_kit-0.2.5/a11/stores/tests/test_sqlite_chunk_store.py +269 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/CMakeLists.txt +108 -3
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/CMakeLists.txt +1 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/action.cc +174 -163
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/registry.cc +6 -3
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/schema.cc +14 -30
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/schema.h +6 -5
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/executor.h +4 -2
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/json.cc +128 -167
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/msgpack.cc +42 -57
- a11_kit-0.2.5/cpp/a11/data/serial_tags.h +87 -0
- a11_kit-0.2.5/cpp/a11/data/serializable.h +234 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/serialization.cc +57 -75
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/serialization.h +10 -15
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/types.cc +253 -455
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/CMakeLists.txt +2 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/channel_wire_stream.cc +66 -60
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http2.cc +484 -999
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http2.h +56 -9
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http_sse_wire_stream.cc +157 -159
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/in_process_wire_stream.cc +35 -36
- a11_kit-0.2.5/cpp/a11/net/internal/http1_codec.cc +371 -0
- a11_kit-0.2.5/cpp/a11/net/internal/http1_codec.h +142 -0
- a11_kit-0.2.5/cpp/a11/net/internal/http1_connection.cc +812 -0
- a11_kit-0.2.5/cpp/a11/net/internal/http1_connection.h +168 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/http2_websocket_channel.cc +101 -61
- a11_kit-0.2.5/cpp/a11/net/internal/http_connection.h +78 -0
- a11_kit-0.2.5/cpp/a11/net/internal/http_streams.h +234 -0
- a11_kit-0.2.5/cpp/a11/net/internal/http_transport.h +820 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/multiplexed_binary_channel.cc +80 -42
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/rtc_binary_channel.cc +2 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/signalling.cc +38 -39
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/webrtc_wire_stream.cc +192 -192
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_signalling.cc +54 -27
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_wire_stream.cc +12 -6
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream.cc +2 -3
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream.h +1 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream_with_recv.cc +16 -8
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/async_node.cc +32 -16
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/async_node.h +8 -4
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/node_map.cc +17 -21
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/trace_context.cc +10 -17
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/tracer.cc +0 -6
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/service/session.cc +198 -196
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/status.cc +10 -5
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/CMakeLists.txt +5 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_reader.h +1 -1
- a11_kit-0.2.5/cpp/a11/stores/internal/chunk_store_common.h +205 -0
- a11_kit-0.2.5/cpp/a11/stores/internal/sqlite_database.cc +885 -0
- a11_kit-0.2.5/cpp/a11/stores/internal/sqlite_database.h +358 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/local_chunk_store.cc +19 -55
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/redis_chunk_store.cc +309 -450
- a11_kit-0.2.5/cpp/a11/stores/sqlite_chunk_store.cc +1396 -0
- a11_kit-0.2.5/cpp/a11/stores/sqlite_chunk_store.h +311 -0
- a11_kit-0.2.5/cpp/a11/uuid.cc +29 -0
- a11_kit-0.2.5/cpp/a11/uuid.h +31 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/actions_bindings.cc +92 -72
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/audio_bindings.cc +387 -56
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/core_bindings.cc +137 -101
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/data_bindings.cc +204 -174
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/http_bindings.cc +246 -204
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/interop.cc +28 -14
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/interop.h +4 -2
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/net_bindings.cc +39 -28
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/nodes_bindings.cc +21 -16
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/obs_bindings.cc +4 -3
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/redis_bindings.cc +8 -5
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/service_bindings.cc +29 -18
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/stores_bindings.cc +305 -26
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/webrtc_bindings.cc +175 -157
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/client.cc +211 -175
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/reply.cc +11 -8
- a11_kit-0.2.5/cpp/sdk/audio/CMakeLists.txt +17 -0
- a11_kit-0.2.5/cpp/sdk/audio/actions/audio_actions.cc +733 -0
- a11_kit-0.2.5/cpp/sdk/audio/actions/audio_actions.h +91 -0
- a11_kit-0.2.5/cpp/sdk/audio/actions/audio_events.cc +114 -0
- a11_kit-0.2.5/cpp/sdk/audio/actions/audio_events.h +133 -0
- a11_kit-0.2.5/cpp/sdk/audio/actions/audio_serialization.cc +521 -0
- a11_kit-0.2.5/cpp/sdk/audio/actions/audio_serialization.h +187 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_input.cc +35 -26
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_input.h +14 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/device.cc +10 -15
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/speech_recognizer.cc +148 -61
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/speech_recognizer.h +49 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/CMakeLists.txt +22 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/action_test.cc +8 -4
- a11_kit-0.2.5/cpp/tests/audio_actions_test.cc +224 -0
- a11_kit-0.2.5/cpp/tests/audio_serialization_test.cc +254 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/byte_chunking_test.cc +4 -2
- a11_kit-0.2.5/cpp/tests/http1_codec_test.cc +170 -0
- a11_kit-0.2.5/cpp/tests/http1_connection_test.cc +216 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/http2_test.cc +20 -10
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/in_process_wire_stream_test.cc +2 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_action_span_test.cc +10 -4
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_session_stream_test.cc +29 -24
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/redis_chunk_store_test.cc +28 -14
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/redis_client_test.cc +10 -5
- a11_kit-0.2.5/cpp/tests/serial_tags_test.cc +119 -0
- a11_kit-0.2.5/cpp/tests/sqlite_chunk_store_test.cc +610 -0
- a11_kit-0.2.5/cpp/tests/temp_dir.h +67 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/webrtc_wire_stream_test.cc +2 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/websocket_wire_stream_test.cc +69 -2
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/fiber.cc +2 -1
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/thread_pool.cc +4 -2
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/audit_wheel.py +33 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/bootstrap_wheel_deps.sh +10 -7
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/generate_stubs.py +9 -1
- a11_kit-0.2.2/VERSION +0 -1
- a11_kit-0.2.2/a11/sdk/llm_tools/runner.py +0 -134
- a11_kit-0.2.2/cpp/sdk/audio/CMakeLists.txt +0 -8
- {a11_kit-0.2.2 → a11_kit-0.2.5}/.clang-format +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/.clang-tidy +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/README.md +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/.gitignore +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_asyncio.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_native_options.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/_native_protocol.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/_native_action.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/action.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/registry.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/actions/tests/test_action.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/__main__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/app.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/backends.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/chat_ui.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/commands/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/commands/chat.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/tests/test_chat_shell_tools.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/tests/test_chat_voice.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/cli/voice.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/conftest.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/README.md +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/msgpack_utils.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/data/types.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/echo_client_webrtc.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/echo_server.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/demos/echo_server_webrtc.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/http_sse_wire_stream.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/in_process_wire_stream.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/signalling.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_in_process_wire_stream.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_websocket_session_echo.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/tests/test_wire_stream_with_recv.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/webrtc_wire_stream.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/websocket_wire_stream.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/net/wire_stream.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/nodes/async_node.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/observability/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/observability/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/observability/tests/test_observability.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/py.typed +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/redis/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/redis/client.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/redis/tests/test_client.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/anthropic/client.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/audio/tests/test_audio.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/handlers.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/manager.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/prompt.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/schemas.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/shell.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_add_done_callback.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_prompt.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_shell_integration.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/bash/tests/test_shell_with_llm.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/gemini/client.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/interact_with_llm.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/interact_with_llm_schema.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/adapter.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/jsonschema_utils.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/llm_tools/tests/test_autofill_and_allowlist.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/client.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/ollama/tests/test_interact_with_ollama.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/sdk/tests/test_interact_with_llm.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/_native_session.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/session.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/service/tests/test_session.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/status.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/chunk_store.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/chunk_store_writer.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/local_chunk_store.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/redis_chunk_store.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_chunk_store_reader.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_chunk_store_writer.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/stores/tests/test_redis_chunk_store.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/tests/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/tests/test_native_bindings.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/tests/test_typing_package.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/a11/timing.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/action.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/actions/registry.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/callback_scheduler.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/callback_scheduler.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/executor.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/concurrency/future.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/json.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/msgpack.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/data/types.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/byte_chunking.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/byte_chunking.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/channel_wire_stream.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/http_sse_wire_stream.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/in_process_wire_stream.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/binary_channel.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/http2_websocket_channel.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/internal/multiplexed_binary_channel.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/signalling.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/webrtc_wire_stream.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_signalling.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/websocket_wire_stream.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/net/wire_stream_with_recv.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/nodes/node_map.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/internal/otel_internal.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/internal/otlp_http_exporter.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/internal/otlp_http_exporter.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/provider.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/provider.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/span.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/trace_context.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/obs/tracer.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/service/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/service/session.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/status.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_reader.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_writer.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/chunk_store_writer.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/local_chunk_store.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/redis_chunk_store.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/stores/redis_chunk_store_script.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/time.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/a11/time.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/cmake/a11Config.cmake.in +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/bindings.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/casters.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/module.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/python/native_types.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/client.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/redis/reply.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_buffer.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/audio_buffer.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/device.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/audio_processing.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/audio_processing.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/portaudio_session.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/portaudio_session.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/sdk/audio/internal/sample_ring.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/async_node_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/audio_buffer_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/audio_input_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/audio_processing_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/chunk_store_reader_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/chunk_store_writer_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/data_json_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/data_types_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/future_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/http_sse_wire_stream_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/install_smoke/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/install_smoke/smoke.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/local_chunk_store_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_trace_context_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/obs_tracer_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/sample_ring_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/session_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/signalling_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/speech_recognizer_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/testdata/localhost-cert.pem +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/testdata/localhost-key.pem +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/websocket_signalling_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/tests/wire_stream_with_recv_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/CMakeLists.txt +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/tests/thread_test.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/boost_primitives.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/boost_primitives.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/cases.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/channel/waiter_state.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/channel/waiter_state.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/channel.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/concurrency.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/executor.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/fiber.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/select.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/select.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/selectables.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/selectables.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/thread_pool.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/util.cc +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/cpp/thread/thread/util.h +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/pybind11_abseil/__init__.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/pyproject.toml +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/build_wheels.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/check_release_version.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/freeze_hunt.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/patches/boost-fiber-macos-futex.md +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/patches/boost-fiber-macos-futex.patch +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/serialization.py +0 -0
- {a11_kit-0.2.2 → a11_kit-0.2.5}/scripts/smoke_cmake_install.sh +0 -0
- {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
|
|
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
|
-
|
|
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
|
-
"
|
|
145
|
-
"
|
|
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
|
-
|
|
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")
|