trytilde 3.1.1__tar.gz → 3.1.2__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 (156) hide show
  1. {trytilde-3.1.1 → trytilde-3.1.2}/.gitignore +1 -0
  2. {trytilde-3.1.1 → trytilde-3.1.2}/PKG-INFO +2 -2
  3. {trytilde-3.1.1 → trytilde-3.1.2}/pyproject.toml +2 -2
  4. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_event_ingress/v1/sidecars_connect.py +37 -9
  5. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/access_connect.py +25 -6
  6. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/agents_connect.py +37 -9
  7. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/connections_connect.py +45 -11
  8. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/deployments_connect.py +49 -12
  9. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/identities_connect.py +37 -9
  10. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/inference_connect.py +21 -5
  11. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/logs_connect.py +13 -3
  12. trytilde-3.1.2/src/tilde/management/v1/memory_connect.py +2380 -0
  13. trytilde-3.1.2/src/tilde/management/v1/memory_pb2.py +217 -0
  14. trytilde-3.1.2/src/tilde/management/v1/memory_pb2.pyi +753 -0
  15. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/prompts_connect.py +13 -3
  16. trytilde-3.1.2/src/tilde/management/v1/routines_connect.py +528 -0
  17. trytilde-3.1.2/src/tilde/management/v1/routines_pb2.py +73 -0
  18. trytilde-3.1.2/src/tilde/management/v1/routines_pb2.pyi +162 -0
  19. trytilde-3.1.2/src/tilde/management/v1/sandboxes_connect.py +1084 -0
  20. trytilde-3.1.2/src/tilde/management/v1/sandboxes_pb2.py +107 -0
  21. trytilde-3.1.2/src/tilde/management/v1/sandboxes_pb2.pyi +273 -0
  22. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/skills_connect.py +97 -24
  23. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tilde_chat_connect.py +13 -3
  24. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tools_connect.py +81 -16
  25. trytilde-3.1.2/src/tilde/management/v1/tools_pb2.py +135 -0
  26. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tools_pb2.pyi +18 -8
  27. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tracing_connect.py +25 -6
  28. trytilde-3.1.2/src/tilde/management/v1/wikis_connect.py +1520 -0
  29. trytilde-3.1.2/src/tilde/management/v1/wikis_pb2.py +141 -0
  30. trytilde-3.1.2/src/tilde/management/v1/wikis_pb2.pyi +393 -0
  31. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/tilde/v1/chat_connect.py +125 -31
  32. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/v1/connections_connect.py +9 -2
  33. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/run/v1/run_connect.py +17 -4
  34. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/agents_connect.py +25 -6
  35. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/chat_connect.py +85 -21
  36. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/controls_connect.py +13 -3
  37. trytilde-3.1.2/src/tilde/runtime/v1/knowledge_connect.py +308 -0
  38. trytilde-3.1.2/src/tilde/runtime/v1/knowledge_pb2.py +47 -0
  39. trytilde-3.1.2/src/tilde/runtime/v1/knowledge_pb2.pyi +34 -0
  40. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/prompts_connect.py +9 -2
  41. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/skills_connect.py +33 -8
  42. trytilde-3.1.2/src/tilde/sandbox/v1/sandbox_connect.py +448 -0
  43. trytilde-3.1.2/src/tilde/sandbox/v1/sandbox_pb2.py +73 -0
  44. trytilde-3.1.2/src/tilde/sandbox/v1/sandbox_pb2.pyi +94 -0
  45. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/connections_connect.py +33 -8
  46. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/identity_verification_connect.py +13 -3
  47. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/tool_host/v1/tool_host_connect.py +13 -3
  48. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/tool_host/v1/tool_host_pb2.py +16 -16
  49. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/tool_host/v1/tool_host_pb2.pyi +4 -2
  50. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/tool_hosts.py +5 -1
  51. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/connections_pb2.py +10 -10
  52. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/connections_pb2.pyi +2 -0
  53. trytilde-3.1.1/src/tilde/management/v1/tools_pb2.py +0 -135
  54. {trytilde-3.1.1 → trytilde-3.1.2}/README.md +0 -0
  55. {trytilde-3.1.1 → trytilde-3.1.2}/hatch_build.py +0 -0
  56. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/__init__.py +0 -0
  57. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/__main__.py +0 -0
  58. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/_cancel.py +0 -0
  59. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/_inference.py +0 -0
  60. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/_invocation.py +0 -0
  61. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/_otlp.py +0 -0
  62. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/_tools.py +0 -0
  63. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/_transport.py +0 -0
  64. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_event_ingress/__init__.py +0 -0
  65. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_event_ingress/v1/__init__.py +0 -0
  66. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_event_ingress/v1/sidecars_pb2.py +0 -0
  67. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_event_ingress/v1/sidecars_pb2.pyi +0 -0
  68. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_host/__init__.py +0 -0
  69. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_host/v1/__init__.py +0 -0
  70. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_host/v1/agent_pb2.py +0 -0
  71. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/agent_host/v1/agent_pb2.pyi +0 -0
  72. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/channels.py +0 -0
  73. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/chat_proxy.py +0 -0
  74. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/clients.py +0 -0
  75. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/context.py +0 -0
  76. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/declarations.py +0 -0
  77. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/discovery.py +0 -0
  78. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/fastapi.py +0 -0
  79. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/host.py +0 -0
  80. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/logging.py +0 -0
  81. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/__init__.py +0 -0
  82. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/__init__.py +0 -0
  83. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/access_pb2.py +0 -0
  84. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/access_pb2.pyi +0 -0
  85. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/agents_pb2.py +0 -0
  86. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/agents_pb2.pyi +0 -0
  87. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/connections_pb2.py +0 -0
  88. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/connections_pb2.pyi +0 -0
  89. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/deployments_pb2.py +0 -0
  90. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/deployments_pb2.pyi +0 -0
  91. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/identities_pb2.py +0 -0
  92. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/identities_pb2.pyi +0 -0
  93. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/inference_pb2.py +0 -0
  94. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/inference_pb2.pyi +0 -0
  95. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/logs_pb2.py +0 -0
  96. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/logs_pb2.pyi +0 -0
  97. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/prompts_pb2.py +0 -0
  98. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/prompts_pb2.pyi +0 -0
  99. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/skills_pb2.py +0 -0
  100. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/skills_pb2.pyi +0 -0
  101. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tilde_chat_pb2.py +0 -0
  102. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tilde_chat_pb2.pyi +0 -0
  103. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tracing_pb2.py +0 -0
  104. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/management/v1/tracing_pb2.pyi +0 -0
  105. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/messages.py +0 -0
  106. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/prompts.py +0 -0
  107. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/__init__.py +0 -0
  108. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/tilde/__init__.py +0 -0
  109. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/tilde/v1/__init__.py +0 -0
  110. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/tilde/v1/chat_pb2.py +0 -0
  111. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/tilde/v1/chat_pb2.pyi +0 -0
  112. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/v1/__init__.py +0 -0
  113. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/v1/connections_pb2.py +0 -0
  114. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/provider/v1/connections_pb2.pyi +0 -0
  115. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/run/__init__.py +0 -0
  116. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/run/v1/__init__.py +0 -0
  117. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/run/v1/run_pb2.py +0 -0
  118. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/run/v1/run_pb2.pyi +0 -0
  119. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/__init__.py +0 -0
  120. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/__init__.py +0 -0
  121. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/agents_pb2.py +0 -0
  122. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/agents_pb2.pyi +0 -0
  123. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/cache_pb2.py +0 -0
  124. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/cache_pb2.pyi +0 -0
  125. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/chat_pb2.py +0 -0
  126. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/chat_pb2.pyi +0 -0
  127. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/controls_pb2.py +0 -0
  128. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/controls_pb2.pyi +0 -0
  129. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/prompts_pb2.py +0 -0
  130. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/prompts_pb2.pyi +0 -0
  131. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/skills_pb2.py +0 -0
  132. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/runtime/v1/skills_pb2.pyi +0 -0
  133. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/__init__.py +0 -0
  134. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/__init__.py +0 -0
  135. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/connections_pb2.py +0 -0
  136. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/connections_pb2.pyi +0 -0
  137. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/identity_verification_pb2.py +0 -0
  138. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/setup/v1/identity_verification_pb2.pyi +0 -0
  139. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/skills.py +0 -0
  140. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/tracing.py +0 -0
  141. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/__init__.py +0 -0
  142. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/__init__.py +0 -0
  143. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/access_pb2.py +0 -0
  144. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/access_pb2.pyi +0 -0
  145. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/agent_pb2.py +0 -0
  146. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/agent_pb2.pyi +0 -0
  147. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/chat_pb2.py +0 -0
  148. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/chat_pb2.pyi +0 -0
  149. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/deployment_pb2.py +0 -0
  150. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/deployment_pb2.pyi +0 -0
  151. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/prompt_pb2.py +0 -0
  152. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/prompt_pb2.pyi +0 -0
  153. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/runtime_event_pb2.py +0 -0
  154. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/runtime_event_pb2.pyi +0 -0
  155. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/skill_pb2.py +0 -0
  156. {trytilde-3.1.1 → trytilde-3.1.2}/src/tilde/types/v1/skill_pb2.pyi +0 -0
@@ -45,6 +45,7 @@ log
45
45
  /sdk/py/packages/tilde/src/tilde/provider/
46
46
  /sdk/py/packages/tilde/src/tilde/run/
47
47
  /sdk/py/packages/tilde/src/tilde/runtime/
48
+ /sdk/py/packages/tilde/src/tilde/sandbox/
48
49
  /sdk/py/packages/tilde/src/tilde/setup/
49
50
  /sdk/py/packages/tilde/src/tilde/tool_host/
50
51
  /sdk/py/packages/tilde/src/tilde/types/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: trytilde
3
- Version: 3.1.1
3
+ Version: 3.1.2
4
4
  Summary: Tilde agent SDK for Python: dial-in agent hosts, invocation context, channel tools, FastAPI integration and the chat proxy
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.11
@@ -12,7 +12,7 @@ Requires-Dist: opentelemetry-sdk>=1.30
12
12
  Requires-Dist: protobuf>=5.29
13
13
  Requires-Dist: pydantic>=2.7
14
14
  Requires-Dist: pyqwest>=0.5
15
- Requires-Dist: trytilde-cli==3.1.1
15
+ Requires-Dist: trytilde-cli==3.1.2
16
16
  Provides-Extra: fastapi
17
17
  Requires-Dist: fastapi>=0.115; extra == 'fastapi'
18
18
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "trytilde"
3
- version = "3.1.1"
3
+ version = "3.1.2"
4
4
  description = "Tilde agent SDK for Python: dial-in agent hosts, invocation context, channel tools, FastAPI integration and the chat proxy"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -16,7 +16,7 @@ dependencies = [
16
16
  "opentelemetry-sdk>=1.30",
17
17
  "opentelemetry-exporter-otlp-proto-common>=1.30",
18
18
  # Installing the SDK brings the matching CLI, so `tilde` works in any agent project.
19
- "trytilde-cli==3.1.1",
19
+ "trytilde-cli==3.1.2",
20
20
  ]
21
21
 
22
22
  [project.scripts]
@@ -1,7 +1,10 @@
1
1
  # Generated from tilde/agent_event_ingress/v1/sidecars.proto. DO NOT EDIT.
2
- # Generated by protoc-gen-connectrpc-py v0.12.1 with parameter "protobuf=google".
2
+ # Generated by protoc-gen-connectrpc-py v0.13.0 with parameter "protobuf=google".
3
3
  # ruff: noqa: PGH004
4
4
  # ruff: noqa
5
+ # pyright: reportDeprecated=false
6
+ # ty: ignore[unused-ignore-comment]
7
+ # ty: ignore[deprecated, unused-ignore-comment]
5
8
  # fmt: off
6
9
 
7
10
  from __future__ import annotations
@@ -13,7 +16,7 @@ from connectrpc.code import Code
13
16
  from connectrpc.compat import google_protobuf_binary_codec, google_protobuf_codecs
14
17
  from connectrpc.compression.gzip import GzipCompression
15
18
  from connectrpc.errors import ConnectError
16
- from connectrpc.method import IdempotencyLevel, MethodInfo
19
+ from connectrpc.method import IdempotencyLevel, MethodInfo, StreamType
17
20
  from connectrpc.protocol import ProtocolType
18
21
  from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, DEFAULT_READ_MAX_BYTES, Endpoint, EndpointSync
19
22
  from pyqwest import Client, SyncClient
@@ -102,6 +105,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
102
105
  input=WatchRequest,
103
106
  output=WatchResponse,
104
107
  idempotency_level=IdempotencyLevel.UNKNOWN,
108
+ stream_type=StreamType.SERVER_STREAM,
105
109
  ),
106
110
  function=svc.watch,
107
111
  ),
@@ -112,6 +116,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
112
116
  input=PublishRequest,
113
117
  output=PublishResponse,
114
118
  idempotency_level=IdempotencyLevel.UNKNOWN,
119
+ stream_type=StreamType.UNARY,
115
120
  ),
116
121
  function=svc.publish,
117
122
  ),
@@ -122,6 +127,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
122
127
  input=HydrateRequest,
123
128
  output=HydrateResponse,
124
129
  idempotency_level=IdempotencyLevel.UNKNOWN,
130
+ stream_type=StreamType.UNARY,
125
131
  ),
126
132
  function=svc.hydrate,
127
133
  ),
@@ -132,6 +138,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
132
138
  input=ForwardRequest,
133
139
  output=ForwardResponse,
134
140
  idempotency_level=IdempotencyLevel.UNKNOWN,
141
+ stream_type=StreamType.UNARY,
135
142
  ),
136
143
  function=svc.forward,
137
144
  ),
@@ -142,6 +149,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
142
149
  input=UploadAttachmentRequest,
143
150
  output=UploadAttachmentResponse,
144
151
  idempotency_level=IdempotencyLevel.UNKNOWN,
152
+ stream_type=StreamType.UNARY,
145
153
  ),
146
154
  function=svc.upload_attachment,
147
155
  ),
@@ -152,6 +160,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
152
160
  input=DownloadAttachmentRequest,
153
161
  output=DownloadAttachmentResponse,
154
162
  idempotency_level=IdempotencyLevel.UNKNOWN,
163
+ stream_type=StreamType.UNARY,
155
164
  ),
156
165
  function=svc.download_attachment,
157
166
  ),
@@ -162,6 +171,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
162
171
  input=ResolveParticipantRequest,
163
172
  output=ResolveParticipantResponse,
164
173
  idempotency_level=IdempotencyLevel.UNKNOWN,
174
+ stream_type=StreamType.UNARY,
165
175
  ),
166
176
  function=svc.resolve_participant,
167
177
  ),
@@ -172,6 +182,7 @@ class SidecarServiceASGIApplication(ConnectASGIApplication[SidecarService]):
172
182
  input=RelayRequest,
173
183
  output=RelayResponse,
174
184
  idempotency_level=IdempotencyLevel.UNKNOWN,
185
+ stream_type=StreamType.UNARY,
175
186
  ),
176
187
  function=svc.relay,
177
188
  ),
@@ -238,11 +249,11 @@ class SidecarServiceClient(ConnectClient):
238
249
  input=WatchRequest,
239
250
  output=WatchResponse,
240
251
  idempotency_level=IdempotencyLevel.UNKNOWN,
252
+ stream_type=StreamType.SERVER_STREAM,
241
253
  ),
242
254
  headers=headers,
243
255
  timeout_ms=timeout_ms,
244
256
  )
245
-
246
257
  async def publish(
247
258
  self,
248
259
  request: PublishRequest,
@@ -261,11 +272,11 @@ class SidecarServiceClient(ConnectClient):
261
272
  input=PublishRequest,
262
273
  output=PublishResponse,
263
274
  idempotency_level=IdempotencyLevel.UNKNOWN,
275
+ stream_type=StreamType.UNARY,
264
276
  ),
265
277
  headers=headers,
266
278
  timeout_ms=timeout_ms,
267
279
  )
268
-
269
280
  async def hydrate(
270
281
  self,
271
282
  request: HydrateRequest,
@@ -284,11 +295,11 @@ class SidecarServiceClient(ConnectClient):
284
295
  input=HydrateRequest,
285
296
  output=HydrateResponse,
286
297
  idempotency_level=IdempotencyLevel.UNKNOWN,
298
+ stream_type=StreamType.UNARY,
287
299
  ),
288
300
  headers=headers,
289
301
  timeout_ms=timeout_ms,
290
302
  )
291
-
292
303
  async def forward(
293
304
  self,
294
305
  request: ForwardRequest,
@@ -307,11 +318,11 @@ class SidecarServiceClient(ConnectClient):
307
318
  input=ForwardRequest,
308
319
  output=ForwardResponse,
309
320
  idempotency_level=IdempotencyLevel.UNKNOWN,
321
+ stream_type=StreamType.UNARY,
310
322
  ),
311
323
  headers=headers,
312
324
  timeout_ms=timeout_ms,
313
325
  )
314
-
315
326
  async def upload_attachment(
316
327
  self,
317
328
  request: UploadAttachmentRequest,
@@ -327,11 +338,11 @@ class SidecarServiceClient(ConnectClient):
327
338
  input=UploadAttachmentRequest,
328
339
  output=UploadAttachmentResponse,
329
340
  idempotency_level=IdempotencyLevel.UNKNOWN,
341
+ stream_type=StreamType.UNARY,
330
342
  ),
331
343
  headers=headers,
332
344
  timeout_ms=timeout_ms,
333
345
  )
334
-
335
346
  async def download_attachment(
336
347
  self,
337
348
  request: DownloadAttachmentRequest,
@@ -347,11 +358,11 @@ class SidecarServiceClient(ConnectClient):
347
358
  input=DownloadAttachmentRequest,
348
359
  output=DownloadAttachmentResponse,
349
360
  idempotency_level=IdempotencyLevel.UNKNOWN,
361
+ stream_type=StreamType.UNARY,
350
362
  ),
351
363
  headers=headers,
352
364
  timeout_ms=timeout_ms,
353
365
  )
354
-
355
366
  async def resolve_participant(
356
367
  self,
357
368
  request: ResolveParticipantRequest,
@@ -367,11 +378,11 @@ class SidecarServiceClient(ConnectClient):
367
378
  input=ResolveParticipantRequest,
368
379
  output=ResolveParticipantResponse,
369
380
  idempotency_level=IdempotencyLevel.UNKNOWN,
381
+ stream_type=StreamType.UNARY,
370
382
  ),
371
383
  headers=headers,
372
384
  timeout_ms=timeout_ms,
373
385
  )
374
-
375
386
  async def relay(
376
387
  self,
377
388
  request: RelayRequest,
@@ -390,6 +401,7 @@ class SidecarServiceClient(ConnectClient):
390
401
  input=RelayRequest,
391
402
  output=RelayResponse,
392
403
  idempotency_level=IdempotencyLevel.UNKNOWN,
404
+ stream_type=StreamType.UNARY,
393
405
  ),
394
406
  headers=headers,
395
407
  timeout_ms=timeout_ms,
@@ -461,6 +473,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
461
473
  input=WatchRequest,
462
474
  output=WatchResponse,
463
475
  idempotency_level=IdempotencyLevel.UNKNOWN,
476
+ stream_type=StreamType.SERVER_STREAM,
464
477
  ),
465
478
  function=service.watch,
466
479
  ),
@@ -471,6 +484,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
471
484
  input=PublishRequest,
472
485
  output=PublishResponse,
473
486
  idempotency_level=IdempotencyLevel.UNKNOWN,
487
+ stream_type=StreamType.UNARY,
474
488
  ),
475
489
  function=service.publish,
476
490
  ),
@@ -481,6 +495,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
481
495
  input=HydrateRequest,
482
496
  output=HydrateResponse,
483
497
  idempotency_level=IdempotencyLevel.UNKNOWN,
498
+ stream_type=StreamType.UNARY,
484
499
  ),
485
500
  function=service.hydrate,
486
501
  ),
@@ -491,6 +506,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
491
506
  input=ForwardRequest,
492
507
  output=ForwardResponse,
493
508
  idempotency_level=IdempotencyLevel.UNKNOWN,
509
+ stream_type=StreamType.UNARY,
494
510
  ),
495
511
  function=service.forward,
496
512
  ),
@@ -501,6 +517,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
501
517
  input=UploadAttachmentRequest,
502
518
  output=UploadAttachmentResponse,
503
519
  idempotency_level=IdempotencyLevel.UNKNOWN,
520
+ stream_type=StreamType.UNARY,
504
521
  ),
505
522
  function=service.upload_attachment,
506
523
  ),
@@ -511,6 +528,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
511
528
  input=DownloadAttachmentRequest,
512
529
  output=DownloadAttachmentResponse,
513
530
  idempotency_level=IdempotencyLevel.UNKNOWN,
531
+ stream_type=StreamType.UNARY,
514
532
  ),
515
533
  function=service.download_attachment,
516
534
  ),
@@ -521,6 +539,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
521
539
  input=ResolveParticipantRequest,
522
540
  output=ResolveParticipantResponse,
523
541
  idempotency_level=IdempotencyLevel.UNKNOWN,
542
+ stream_type=StreamType.UNARY,
524
543
  ),
525
544
  function=service.resolve_participant,
526
545
  ),
@@ -531,6 +550,7 @@ class SidecarServiceWSGIApplication(ConnectWSGIApplication):
531
550
  input=RelayRequest,
532
551
  output=RelayResponse,
533
552
  idempotency_level=IdempotencyLevel.UNKNOWN,
553
+ stream_type=StreamType.UNARY,
534
554
  ),
535
555
  function=service.relay,
536
556
  ),
@@ -597,6 +617,7 @@ class SidecarServiceClientSync(ConnectClientSync):
597
617
  input=WatchRequest,
598
618
  output=WatchResponse,
599
619
  idempotency_level=IdempotencyLevel.UNKNOWN,
620
+ stream_type=StreamType.SERVER_STREAM,
600
621
  ),
601
622
  headers=headers,
602
623
  timeout_ms=timeout_ms,
@@ -619,6 +640,7 @@ class SidecarServiceClientSync(ConnectClientSync):
619
640
  input=PublishRequest,
620
641
  output=PublishResponse,
621
642
  idempotency_level=IdempotencyLevel.UNKNOWN,
643
+ stream_type=StreamType.UNARY,
622
644
  ),
623
645
  headers=headers,
624
646
  timeout_ms=timeout_ms,
@@ -641,6 +663,7 @@ class SidecarServiceClientSync(ConnectClientSync):
641
663
  input=HydrateRequest,
642
664
  output=HydrateResponse,
643
665
  idempotency_level=IdempotencyLevel.UNKNOWN,
666
+ stream_type=StreamType.UNARY,
644
667
  ),
645
668
  headers=headers,
646
669
  timeout_ms=timeout_ms,
@@ -663,6 +686,7 @@ class SidecarServiceClientSync(ConnectClientSync):
663
686
  input=ForwardRequest,
664
687
  output=ForwardResponse,
665
688
  idempotency_level=IdempotencyLevel.UNKNOWN,
689
+ stream_type=StreamType.UNARY,
666
690
  ),
667
691
  headers=headers,
668
692
  timeout_ms=timeout_ms,
@@ -682,6 +706,7 @@ class SidecarServiceClientSync(ConnectClientSync):
682
706
  input=UploadAttachmentRequest,
683
707
  output=UploadAttachmentResponse,
684
708
  idempotency_level=IdempotencyLevel.UNKNOWN,
709
+ stream_type=StreamType.UNARY,
685
710
  ),
686
711
  headers=headers,
687
712
  timeout_ms=timeout_ms,
@@ -701,6 +726,7 @@ class SidecarServiceClientSync(ConnectClientSync):
701
726
  input=DownloadAttachmentRequest,
702
727
  output=DownloadAttachmentResponse,
703
728
  idempotency_level=IdempotencyLevel.UNKNOWN,
729
+ stream_type=StreamType.UNARY,
704
730
  ),
705
731
  headers=headers,
706
732
  timeout_ms=timeout_ms,
@@ -720,6 +746,7 @@ class SidecarServiceClientSync(ConnectClientSync):
720
746
  input=ResolveParticipantRequest,
721
747
  output=ResolveParticipantResponse,
722
748
  idempotency_level=IdempotencyLevel.UNKNOWN,
749
+ stream_type=StreamType.UNARY,
723
750
  ),
724
751
  headers=headers,
725
752
  timeout_ms=timeout_ms,
@@ -742,6 +769,7 @@ class SidecarServiceClientSync(ConnectClientSync):
742
769
  input=RelayRequest,
743
770
  output=RelayResponse,
744
771
  idempotency_level=IdempotencyLevel.UNKNOWN,
772
+ stream_type=StreamType.UNARY,
745
773
  ),
746
774
  headers=headers,
747
775
  timeout_ms=timeout_ms,
@@ -1,7 +1,10 @@
1
1
  # Generated from tilde/management/v1/access.proto. DO NOT EDIT.
2
- # Generated by protoc-gen-connectrpc-py v0.12.1 with parameter "protobuf=google".
2
+ # Generated by protoc-gen-connectrpc-py v0.13.0 with parameter "protobuf=google".
3
3
  # ruff: noqa: PGH004
4
4
  # ruff: noqa
5
+ # pyright: reportDeprecated=false
6
+ # ty: ignore[unused-ignore-comment]
7
+ # ty: ignore[deprecated, unused-ignore-comment]
5
8
  # fmt: off
6
9
 
7
10
  from __future__ import annotations
@@ -13,7 +16,7 @@ from connectrpc.code import Code
13
16
  from connectrpc.compat import google_protobuf_binary_codec, google_protobuf_codecs
14
17
  from connectrpc.compression.gzip import GzipCompression
15
18
  from connectrpc.errors import ConnectError
16
- from connectrpc.method import IdempotencyLevel, MethodInfo
19
+ from connectrpc.method import IdempotencyLevel, MethodInfo, StreamType
17
20
  from connectrpc.protocol import ProtocolType
18
21
  from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, DEFAULT_READ_MAX_BYTES, Endpoint, EndpointSync
19
22
  from pyqwest import Client, SyncClient
@@ -71,6 +74,7 @@ class AgentAccessServiceASGIApplication(ConnectASGIApplication[AgentAccessServic
71
74
  input=ListChannelAccessRequest,
72
75
  output=ListChannelAccessResponse,
73
76
  idempotency_level=IdempotencyLevel.UNKNOWN,
77
+ stream_type=StreamType.UNARY,
74
78
  ),
75
79
  function=svc.list_channel_access,
76
80
  ),
@@ -81,6 +85,7 @@ class AgentAccessServiceASGIApplication(ConnectASGIApplication[AgentAccessServic
81
85
  input=SetChannelAccessRequest,
82
86
  output=SetChannelAccessResponse,
83
87
  idempotency_level=IdempotencyLevel.UNKNOWN,
88
+ stream_type=StreamType.UNARY,
84
89
  ),
85
90
  function=svc.set_channel_access,
86
91
  ),
@@ -91,6 +96,7 @@ class AgentAccessServiceASGIApplication(ConnectASGIApplication[AgentAccessServic
91
96
  input=ListChannelIdentitiesRequest,
92
97
  output=ListChannelIdentitiesResponse,
93
98
  idempotency_level=IdempotencyLevel.UNKNOWN,
99
+ stream_type=StreamType.UNARY,
94
100
  ),
95
101
  function=svc.list_channel_identities,
96
102
  ),
@@ -101,6 +107,7 @@ class AgentAccessServiceASGIApplication(ConnectASGIApplication[AgentAccessServic
101
107
  input=SetIdentityAccessRequest,
102
108
  output=SetIdentityAccessResponse,
103
109
  idempotency_level=IdempotencyLevel.UNKNOWN,
110
+ stream_type=StreamType.UNARY,
104
111
  ),
105
112
  function=svc.set_identity_access,
106
113
  ),
@@ -111,6 +118,7 @@ class AgentAccessServiceASGIApplication(ConnectASGIApplication[AgentAccessServic
111
118
  input=RequestIdentityVerificationRequest,
112
119
  output=RequestIdentityVerificationResponse,
113
120
  idempotency_level=IdempotencyLevel.UNKNOWN,
121
+ stream_type=StreamType.UNARY,
114
122
  ),
115
123
  function=svc.request_identity_verification,
116
124
  ),
@@ -167,11 +175,11 @@ class AgentAccessServiceClient(ConnectClient):
167
175
  input=ListChannelAccessRequest,
168
176
  output=ListChannelAccessResponse,
169
177
  idempotency_level=IdempotencyLevel.UNKNOWN,
178
+ stream_type=StreamType.UNARY,
170
179
  ),
171
180
  headers=headers,
172
181
  timeout_ms=timeout_ms,
173
182
  )
174
-
175
183
  async def set_channel_access(
176
184
  self,
177
185
  request: SetChannelAccessRequest,
@@ -187,11 +195,11 @@ class AgentAccessServiceClient(ConnectClient):
187
195
  input=SetChannelAccessRequest,
188
196
  output=SetChannelAccessResponse,
189
197
  idempotency_level=IdempotencyLevel.UNKNOWN,
198
+ stream_type=StreamType.UNARY,
190
199
  ),
191
200
  headers=headers,
192
201
  timeout_ms=timeout_ms,
193
202
  )
194
-
195
203
  async def list_channel_identities(
196
204
  self,
197
205
  request: ListChannelIdentitiesRequest,
@@ -207,11 +215,11 @@ class AgentAccessServiceClient(ConnectClient):
207
215
  input=ListChannelIdentitiesRequest,
208
216
  output=ListChannelIdentitiesResponse,
209
217
  idempotency_level=IdempotencyLevel.UNKNOWN,
218
+ stream_type=StreamType.UNARY,
210
219
  ),
211
220
  headers=headers,
212
221
  timeout_ms=timeout_ms,
213
222
  )
214
-
215
223
  async def set_identity_access(
216
224
  self,
217
225
  request: SetIdentityAccessRequest,
@@ -227,11 +235,11 @@ class AgentAccessServiceClient(ConnectClient):
227
235
  input=SetIdentityAccessRequest,
228
236
  output=SetIdentityAccessResponse,
229
237
  idempotency_level=IdempotencyLevel.UNKNOWN,
238
+ stream_type=StreamType.UNARY,
230
239
  ),
231
240
  headers=headers,
232
241
  timeout_ms=timeout_ms,
233
242
  )
234
-
235
243
  async def request_identity_verification(
236
244
  self,
237
245
  request: RequestIdentityVerificationRequest,
@@ -247,6 +255,7 @@ class AgentAccessServiceClient(ConnectClient):
247
255
  input=RequestIdentityVerificationRequest,
248
256
  output=RequestIdentityVerificationResponse,
249
257
  idempotency_level=IdempotencyLevel.UNKNOWN,
258
+ stream_type=StreamType.UNARY,
250
259
  ),
251
260
  headers=headers,
252
261
  timeout_ms=timeout_ms,
@@ -287,6 +296,7 @@ class AgentAccessServiceWSGIApplication(ConnectWSGIApplication):
287
296
  input=ListChannelAccessRequest,
288
297
  output=ListChannelAccessResponse,
289
298
  idempotency_level=IdempotencyLevel.UNKNOWN,
299
+ stream_type=StreamType.UNARY,
290
300
  ),
291
301
  function=service.list_channel_access,
292
302
  ),
@@ -297,6 +307,7 @@ class AgentAccessServiceWSGIApplication(ConnectWSGIApplication):
297
307
  input=SetChannelAccessRequest,
298
308
  output=SetChannelAccessResponse,
299
309
  idempotency_level=IdempotencyLevel.UNKNOWN,
310
+ stream_type=StreamType.UNARY,
300
311
  ),
301
312
  function=service.set_channel_access,
302
313
  ),
@@ -307,6 +318,7 @@ class AgentAccessServiceWSGIApplication(ConnectWSGIApplication):
307
318
  input=ListChannelIdentitiesRequest,
308
319
  output=ListChannelIdentitiesResponse,
309
320
  idempotency_level=IdempotencyLevel.UNKNOWN,
321
+ stream_type=StreamType.UNARY,
310
322
  ),
311
323
  function=service.list_channel_identities,
312
324
  ),
@@ -317,6 +329,7 @@ class AgentAccessServiceWSGIApplication(ConnectWSGIApplication):
317
329
  input=SetIdentityAccessRequest,
318
330
  output=SetIdentityAccessResponse,
319
331
  idempotency_level=IdempotencyLevel.UNKNOWN,
332
+ stream_type=StreamType.UNARY,
320
333
  ),
321
334
  function=service.set_identity_access,
322
335
  ),
@@ -327,6 +340,7 @@ class AgentAccessServiceWSGIApplication(ConnectWSGIApplication):
327
340
  input=RequestIdentityVerificationRequest,
328
341
  output=RequestIdentityVerificationResponse,
329
342
  idempotency_level=IdempotencyLevel.UNKNOWN,
343
+ stream_type=StreamType.UNARY,
330
344
  ),
331
345
  function=service.request_identity_verification,
332
346
  ),
@@ -383,6 +397,7 @@ class AgentAccessServiceClientSync(ConnectClientSync):
383
397
  input=ListChannelAccessRequest,
384
398
  output=ListChannelAccessResponse,
385
399
  idempotency_level=IdempotencyLevel.UNKNOWN,
400
+ stream_type=StreamType.UNARY,
386
401
  ),
387
402
  headers=headers,
388
403
  timeout_ms=timeout_ms,
@@ -402,6 +417,7 @@ class AgentAccessServiceClientSync(ConnectClientSync):
402
417
  input=SetChannelAccessRequest,
403
418
  output=SetChannelAccessResponse,
404
419
  idempotency_level=IdempotencyLevel.UNKNOWN,
420
+ stream_type=StreamType.UNARY,
405
421
  ),
406
422
  headers=headers,
407
423
  timeout_ms=timeout_ms,
@@ -421,6 +437,7 @@ class AgentAccessServiceClientSync(ConnectClientSync):
421
437
  input=ListChannelIdentitiesRequest,
422
438
  output=ListChannelIdentitiesResponse,
423
439
  idempotency_level=IdempotencyLevel.UNKNOWN,
440
+ stream_type=StreamType.UNARY,
424
441
  ),
425
442
  headers=headers,
426
443
  timeout_ms=timeout_ms,
@@ -440,6 +457,7 @@ class AgentAccessServiceClientSync(ConnectClientSync):
440
457
  input=SetIdentityAccessRequest,
441
458
  output=SetIdentityAccessResponse,
442
459
  idempotency_level=IdempotencyLevel.UNKNOWN,
460
+ stream_type=StreamType.UNARY,
443
461
  ),
444
462
  headers=headers,
445
463
  timeout_ms=timeout_ms,
@@ -459,6 +477,7 @@ class AgentAccessServiceClientSync(ConnectClientSync):
459
477
  input=RequestIdentityVerificationRequest,
460
478
  output=RequestIdentityVerificationResponse,
461
479
  idempotency_level=IdempotencyLevel.UNKNOWN,
480
+ stream_type=StreamType.UNARY,
462
481
  ),
463
482
  headers=headers,
464
483
  timeout_ms=timeout_ms,