luminarycloud 0.15.4__py3-none-any.whl → 0.15.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. luminarycloud/_helpers/_create_geometry.py +36 -17
  2. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +1 -2
  3. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +27 -105
  4. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +24 -173
  5. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +17 -113
  6. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +16 -44
  7. luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2.py +4 -2
  8. luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2_grpc.py +37 -0
  9. luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2_grpc.pyi +20 -0
  10. luminarycloud/_proto/assistant/assistant_pb2.py +9 -29
  11. luminarycloud/_proto/assistant/assistant_pb2.pyi +0 -37
  12. luminarycloud/_proto/assistant/assistant_pb2_grpc.py +0 -34
  13. luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +0 -12
  14. luminarycloud/_proto/geometry/geometry_pb2.py +63 -64
  15. luminarycloud/_proto/upload/upload_pb2.py +27 -7
  16. luminarycloud/_proto/upload/upload_pb2.pyi +31 -0
  17. luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation_.py +1 -1
  18. luminarycloud/params/simulation/physics/fluid/turbulence_.py +1 -1
  19. luminarycloud/params/simulation/physics/fluid_.py +1 -1
  20. luminarycloud/params/simulation/physics/heat/solution_controls/heat_relaxation_method/heat_implicit_relaxation_.py +1 -1
  21. luminarycloud/params/simulation/physics/heat/solution_controls_heat_.py +1 -1
  22. luminarycloud/vis/filters.py +18 -3
  23. {luminarycloud-0.15.4.dist-info → luminarycloud-0.15.5.dist-info}/METADATA +1 -1
  24. {luminarycloud-0.15.4.dist-info → luminarycloud-0.15.5.dist-info}/RECORD +25 -25
  25. {luminarycloud-0.15.4.dist-info → luminarycloud-0.15.5.dist-info}/WHEEL +0 -0
@@ -6,7 +6,9 @@ from luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape imp
6
6
 
7
7
 
8
8
  class OnshapeServiceStub(object):
9
- """Missing associated documentation comment in .proto file."""
9
+ """Public API service for Onshape third-party integration functionality.
10
+ Exposes authentication status checking and variable fetching capabilities.
11
+ """
10
12
 
11
13
  def __init__(self, channel):
12
14
  """Constructor.
@@ -14,66 +16,32 @@ class OnshapeServiceStub(object):
14
16
  Args:
15
17
  channel: A grpc.Channel.
16
18
  """
17
- self.SetAuthentication = channel.unary_unary(
18
- '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/SetAuthentication',
19
- request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetAuthenticationRequest.SerializeToString,
20
- response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetAuthenticationReply.FromString,
21
- )
22
19
  self.GetAuthenticationStatus = channel.unary_unary(
23
20
  '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/GetAuthenticationStatus',
24
- request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationRequest.SerializeToString,
25
- response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationReply.FromString,
26
- )
27
- self.ImportGeometry = channel.unary_unary(
28
- '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/ImportGeometry',
29
- request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ImportGeometryRequest.SerializeToString,
30
- response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ImportGeometryReply.FromString,
21
+ request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationStatusRequest.SerializeToString,
22
+ response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationStatusReply.FromString,
31
23
  )
32
24
  self.FetchVariables = channel.unary_unary(
33
25
  '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/FetchVariables',
34
26
  request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.FetchVariablesRequest.SerializeToString,
35
27
  response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.FetchVariablesReply.FromString,
36
28
  )
37
- self.SetVariables = channel.unary_unary(
38
- '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/SetVariables',
39
- request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetVariablesRequest.SerializeToString,
40
- response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetVariablesReply.FromString,
41
- )
42
29
 
43
30
 
44
31
  class OnshapeServiceServicer(object):
45
- """Missing associated documentation comment in .proto file."""
46
-
47
- def SetAuthentication(self, request, context):
48
- """Sets Onshape authentication and ties it to Luminary authentication.
49
- """
50
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
51
- context.set_details('Method not implemented!')
52
- raise NotImplementedError('Method not implemented!')
32
+ """Public API service for Onshape third-party integration functionality.
33
+ Exposes authentication status checking and variable fetching capabilities.
34
+ """
53
35
 
54
36
  def GetAuthenticationStatus(self, request, context):
55
- """Checks whether Luminary user currently has valid Auth for Onshape.
56
- """
57
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58
- context.set_details('Method not implemented!')
59
- raise NotImplementedError('Method not implemented!')
60
-
61
- def ImportGeometry(self, request, context):
62
- """Imports geometry from Onshape into a Luminary Project.
37
+ """Checks whether the current user has valid authentication with Onshape.
63
38
  """
64
39
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
65
40
  context.set_details('Method not implemented!')
66
41
  raise NotImplementedError('Method not implemented!')
67
42
 
68
43
  def FetchVariables(self, request, context):
69
- """Get the current list of variables used in an Onshape project.
70
- """
71
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
72
- context.set_details('Method not implemented!')
73
- raise NotImplementedError('Method not implemented!')
74
-
75
- def SetVariables(self, request, context):
76
- """Resets variables in an Onshape project.
44
+ """Fetches the list of variable names available in the specified Onshape element.
77
45
  """
78
46
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
79
47
  context.set_details('Method not implemented!')
@@ -82,31 +50,16 @@ class OnshapeServiceServicer(object):
82
50
 
83
51
  def add_OnshapeServiceServicer_to_server(servicer, server):
84
52
  rpc_method_handlers = {
85
- 'SetAuthentication': grpc.unary_unary_rpc_method_handler(
86
- servicer.SetAuthentication,
87
- request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetAuthenticationRequest.FromString,
88
- response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetAuthenticationReply.SerializeToString,
89
- ),
90
53
  'GetAuthenticationStatus': grpc.unary_unary_rpc_method_handler(
91
54
  servicer.GetAuthenticationStatus,
92
- request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationRequest.FromString,
93
- response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationReply.SerializeToString,
94
- ),
95
- 'ImportGeometry': grpc.unary_unary_rpc_method_handler(
96
- servicer.ImportGeometry,
97
- request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ImportGeometryRequest.FromString,
98
- response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ImportGeometryReply.SerializeToString,
55
+ request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationStatusRequest.FromString,
56
+ response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationStatusReply.SerializeToString,
99
57
  ),
100
58
  'FetchVariables': grpc.unary_unary_rpc_method_handler(
101
59
  servicer.FetchVariables,
102
60
  request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.FetchVariablesRequest.FromString,
103
61
  response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.FetchVariablesReply.SerializeToString,
104
62
  ),
105
- 'SetVariables': grpc.unary_unary_rpc_method_handler(
106
- servicer.SetVariables,
107
- request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetVariablesRequest.FromString,
108
- response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetVariablesReply.SerializeToString,
109
- ),
110
63
  }
111
64
  generic_handler = grpc.method_handlers_generic_handler(
112
65
  'luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService', rpc_method_handlers)
@@ -115,24 +68,9 @@ def add_OnshapeServiceServicer_to_server(servicer, server):
115
68
 
116
69
  # This class is part of an EXPERIMENTAL API.
117
70
  class OnshapeService(object):
118
- """Missing associated documentation comment in .proto file."""
119
-
120
- @staticmethod
121
- def SetAuthentication(request,
122
- target,
123
- options=(),
124
- channel_credentials=None,
125
- call_credentials=None,
126
- insecure=False,
127
- compression=None,
128
- wait_for_ready=None,
129
- timeout=None,
130
- metadata=None):
131
- return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/SetAuthentication',
132
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetAuthenticationRequest.SerializeToString,
133
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetAuthenticationReply.FromString,
134
- options, channel_credentials,
135
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
71
+ """Public API service for Onshape third-party integration functionality.
72
+ Exposes authentication status checking and variable fetching capabilities.
73
+ """
136
74
 
137
75
  @staticmethod
138
76
  def GetAuthenticationStatus(request,
@@ -146,25 +84,8 @@ class OnshapeService(object):
146
84
  timeout=None,
147
85
  metadata=None):
148
86
  return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/GetAuthenticationStatus',
149
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationRequest.SerializeToString,
150
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationReply.FromString,
151
- options, channel_credentials,
152
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
153
-
154
- @staticmethod
155
- def ImportGeometry(request,
156
- target,
157
- options=(),
158
- channel_credentials=None,
159
- call_credentials=None,
160
- insecure=False,
161
- compression=None,
162
- wait_for_ready=None,
163
- timeout=None,
164
- metadata=None):
165
- return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/ImportGeometry',
166
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ImportGeometryRequest.SerializeToString,
167
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ImportGeometryReply.FromString,
87
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationStatusRequest.SerializeToString,
88
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetAuthenticationStatusReply.FromString,
168
89
  options, channel_credentials,
169
90
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
170
91
 
@@ -184,20 +105,3 @@ class OnshapeService(object):
184
105
  proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.FetchVariablesReply.FromString,
185
106
  options, channel_credentials,
186
107
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
187
-
188
- @staticmethod
189
- def SetVariables(request,
190
- target,
191
- options=(),
192
- channel_credentials=None,
193
- call_credentials=None,
194
- insecure=False,
195
- compression=None,
196
- wait_for_ready=None,
197
- timeout=None,
198
- metadata=None):
199
- return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/SetVariables',
200
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetVariablesRequest.SerializeToString,
201
- proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.SetVariablesReply.FromString,
202
- options, channel_credentials,
203
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -7,68 +7,40 @@ import grpc
7
7
  import luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2
8
8
 
9
9
  class OnshapeServiceStub:
10
+ """Public API service for Onshape third-party integration functionality.
11
+ Exposes authentication status checking and variable fetching capabilities.
12
+ """
13
+
10
14
  def __init__(self, channel: grpc.Channel) -> None: ...
11
- SetAuthentication: grpc.UnaryUnaryMultiCallable[
12
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetAuthenticationRequest,
13
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetAuthenticationReply,
14
- ]
15
- """Sets Onshape authentication and ties it to Luminary authentication."""
16
15
  GetAuthenticationStatus: grpc.UnaryUnaryMultiCallable[
17
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationRequest,
18
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationReply,
16
+ luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationStatusRequest,
17
+ luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationStatusReply,
19
18
  ]
20
- """Checks whether Luminary user currently has valid Auth for Onshape."""
21
- ImportGeometry: grpc.UnaryUnaryMultiCallable[
22
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ImportGeometryRequest,
23
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ImportGeometryReply,
24
- ]
25
- """Imports geometry from Onshape into a Luminary Project."""
19
+ """Checks whether the current user has valid authentication with Onshape."""
26
20
  FetchVariables: grpc.UnaryUnaryMultiCallable[
27
21
  luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.FetchVariablesRequest,
28
22
  luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.FetchVariablesReply,
29
23
  ]
30
- """Get the current list of variables used in an Onshape project."""
31
- SetVariables: grpc.UnaryUnaryMultiCallable[
32
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetVariablesRequest,
33
- luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetVariablesReply,
34
- ]
35
- """Resets variables in an Onshape project."""
24
+ """Fetches the list of variable names available in the specified Onshape element."""
36
25
 
37
26
  class OnshapeServiceServicer(metaclass=abc.ABCMeta):
38
- @abc.abstractmethod
39
- def SetAuthentication(
40
- self,
41
- request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetAuthenticationRequest,
42
- context: grpc.ServicerContext,
43
- ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetAuthenticationReply:
44
- """Sets Onshape authentication and ties it to Luminary authentication."""
27
+ """Public API service for Onshape third-party integration functionality.
28
+ Exposes authentication status checking and variable fetching capabilities.
29
+ """
30
+
45
31
  @abc.abstractmethod
46
32
  def GetAuthenticationStatus(
47
33
  self,
48
- request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationRequest,
49
- context: grpc.ServicerContext,
50
- ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationReply:
51
- """Checks whether Luminary user currently has valid Auth for Onshape."""
52
- @abc.abstractmethod
53
- def ImportGeometry(
54
- self,
55
- request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ImportGeometryRequest,
34
+ request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationStatusRequest,
56
35
  context: grpc.ServicerContext,
57
- ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ImportGeometryReply:
58
- """Imports geometry from Onshape into a Luminary Project."""
36
+ ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetAuthenticationStatusReply:
37
+ """Checks whether the current user has valid authentication with Onshape."""
59
38
  @abc.abstractmethod
60
39
  def FetchVariables(
61
40
  self,
62
41
  request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.FetchVariablesRequest,
63
42
  context: grpc.ServicerContext,
64
43
  ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.FetchVariablesReply:
65
- """Get the current list of variables used in an Onshape project."""
66
- @abc.abstractmethod
67
- def SetVariables(
68
- self,
69
- request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetVariablesRequest,
70
- context: grpc.ServicerContext,
71
- ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.SetVariablesReply:
72
- """Resets variables in an Onshape project."""
44
+ """Fetches the list of variable names available in the specified Onshape element."""
73
45
 
74
46
  def add_OnshapeServiceServicer_to_server(servicer: OnshapeServiceServicer, server: grpc.Server) -> None: ...
@@ -16,7 +16,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
16
16
  from luminarycloud._proto.upload import upload_pb2 as proto_dot_upload_dot_upload__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.proto/api/v0/luminarycloud/upload/upload.proto\x12*luminary.proto.api.v0.luminarycloud.upload\x1a\x1cgoogle/api/annotations.proto\x1a\x19proto/upload/upload.proto2\xd0\x04\n\rUploadService\x12\x92\x01\n\x0c\x43reateUpload\x12*.luminary.proto.upload.CreateUploadRequest\x1a(.luminary.proto.upload.CreateUploadReply\",\x82\xd3\xe4\x93\x02&\"!/v0/projects/{project_id}/uploads:\x01*\x12\x8b\x01\n\x0bStartUpload\x12).luminary.proto.upload.StartUploadRequest\x1a\'.luminary.proto.upload.StartUploadReply\"(\x82\xd3\xe4\x93\x02\"\"\x1d/v0/uploads/{upload_id}:start:\x01*\x12\x89\x01\n\nUploadData\x12(.luminary.proto.upload.UploadDataRequest\x1a&.luminary.proto.upload.UploadDataReply\")\x82\xd3\xe4\x93\x02#\"\x1e/v0/uploads/{upload_id}:upload:\x01*\x12\x8f\x01\n\x0c\x46inishUpload\x12*.luminary.proto.upload.FinishUploadRequest\x1a(.luminary.proto.upload.FinishUploadReply\")\x82\xd3\xe4\x93\x02#\"\x1e/v0/uploads/{upload_id}:finish:\x01*B:Z8luminarycloud.com/core/proto/api/v0/luminarycloud/uploadb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.proto/api/v0/luminarycloud/upload/upload.proto\x12*luminary.proto.api.v0.luminarycloud.upload\x1a\x1cgoogle/api/annotations.proto\x1a\x19proto/upload/upload.proto2\x81\x06\n\rUploadService\x12\x92\x01\n\x0c\x43reateUpload\x12*.luminary.proto.upload.CreateUploadRequest\x1a(.luminary.proto.upload.CreateUploadReply\",\x82\xd3\xe4\x93\x02&\"!/v0/projects/{project_id}/uploads:\x01*\x12\x8b\x01\n\x0bStartUpload\x12).luminary.proto.upload.StartUploadRequest\x1a\'.luminary.proto.upload.StartUploadReply\"(\x82\xd3\xe4\x93\x02\"\"\x1d/v0/uploads/{upload_id}:start:\x01*\x12\x89\x01\n\nUploadData\x12(.luminary.proto.upload.UploadDataRequest\x1a&.luminary.proto.upload.UploadDataReply\")\x82\xd3\xe4\x93\x02#\"\x1e/v0/uploads/{upload_id}:upload:\x01*\x12\x8f\x01\n\x0c\x46inishUpload\x12*.luminary.proto.upload.FinishUploadRequest\x1a(.luminary.proto.upload.FinishUploadReply\")\x82\xd3\xe4\x93\x02#\"\x1e/v0/uploads/{upload_id}:finish:\x01*\x12\xae\x01\n\x11UploadWebGeometry\x12/.luminary.proto.upload.UploadWebGeometryRequest\x1a-.luminary.proto.upload.UploadWebGeometryReply\"9\x82\xd3\xe4\x93\x02\x33\"./v0/projects/{project_id}/uploads:web_geometry:\x01*B:Z8luminarycloud.com/core/proto/api/v0/luminarycloud/uploadb\x06proto3')
20
20
 
21
21
 
22
22
 
@@ -33,6 +33,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
33
33
  _UPLOADSERVICE.methods_by_name['UploadData']._serialized_options = b'\202\323\344\223\002#\"\036/v0/uploads/{upload_id}:upload:\001*'
34
34
  _UPLOADSERVICE.methods_by_name['FinishUpload']._options = None
35
35
  _UPLOADSERVICE.methods_by_name['FinishUpload']._serialized_options = b'\202\323\344\223\002#\"\036/v0/uploads/{upload_id}:finish:\001*'
36
+ _UPLOADSERVICE.methods_by_name['UploadWebGeometry']._options = None
37
+ _UPLOADSERVICE.methods_by_name['UploadWebGeometry']._serialized_options = b'\202\323\344\223\0023\"./v0/projects/{project_id}/uploads:web_geometry:\001*'
36
38
  _UPLOADSERVICE._serialized_start=152
37
- _UPLOADSERVICE._serialized_end=744
39
+ _UPLOADSERVICE._serialized_end=921
38
40
  # @@protoc_insertion_point(module_scope)
@@ -35,6 +35,11 @@ class UploadServiceStub(object):
35
35
  request_serializer=proto_dot_upload_dot_upload__pb2.FinishUploadRequest.SerializeToString,
36
36
  response_deserializer=proto_dot_upload_dot_upload__pb2.FinishUploadReply.FromString,
37
37
  )
38
+ self.UploadWebGeometry = channel.unary_unary(
39
+ '/luminary.proto.api.v0.luminarycloud.upload.UploadService/UploadWebGeometry',
40
+ request_serializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryRequest.SerializeToString,
41
+ response_deserializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryReply.FromString,
42
+ )
38
43
 
39
44
 
40
45
  class UploadServiceServicer(object):
@@ -86,6 +91,16 @@ class UploadServiceServicer(object):
86
91
  context.set_details('Method not implemented!')
87
92
  raise NotImplementedError('Method not implemented!')
88
93
 
94
+ def UploadWebGeometry(self, request, context):
95
+ """Upload a URL referencing an asset on from an online geometry provider
96
+ (e.g., Onshape). We store the reference and and perform no actual file
97
+ transfer until use of the Onshape asset. It is merely for tracking references
98
+ to the object.
99
+ """
100
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
101
+ context.set_details('Method not implemented!')
102
+ raise NotImplementedError('Method not implemented!')
103
+
89
104
 
90
105
  def add_UploadServiceServicer_to_server(servicer, server):
91
106
  rpc_method_handlers = {
@@ -109,6 +124,11 @@ def add_UploadServiceServicer_to_server(servicer, server):
109
124
  request_deserializer=proto_dot_upload_dot_upload__pb2.FinishUploadRequest.FromString,
110
125
  response_serializer=proto_dot_upload_dot_upload__pb2.FinishUploadReply.SerializeToString,
111
126
  ),
127
+ 'UploadWebGeometry': grpc.unary_unary_rpc_method_handler(
128
+ servicer.UploadWebGeometry,
129
+ request_deserializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryRequest.FromString,
130
+ response_serializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryReply.SerializeToString,
131
+ ),
112
132
  }
113
133
  generic_handler = grpc.method_handlers_generic_handler(
114
134
  'luminary.proto.api.v0.luminarycloud.upload.UploadService', rpc_method_handlers)
@@ -187,3 +207,20 @@ class UploadService(object):
187
207
  proto_dot_upload_dot_upload__pb2.FinishUploadReply.FromString,
188
208
  options, channel_credentials,
189
209
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
210
+
211
+ @staticmethod
212
+ def UploadWebGeometry(request,
213
+ target,
214
+ options=(),
215
+ channel_credentials=None,
216
+ call_credentials=None,
217
+ insecure=False,
218
+ compression=None,
219
+ wait_for_ready=None,
220
+ timeout=None,
221
+ metadata=None):
222
+ return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.upload.UploadService/UploadWebGeometry',
223
+ proto_dot_upload_dot_upload__pb2.UploadWebGeometryRequest.SerializeToString,
224
+ proto_dot_upload_dot_upload__pb2.UploadWebGeometryReply.FromString,
225
+ options, channel_credentials,
226
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -49,6 +49,15 @@ class UploadServiceStub:
49
49
  """Complete an ongoing upload. Must be called after all file data has been
50
50
  successfully uploaded.
51
51
  """
52
+ UploadWebGeometry: grpc.UnaryUnaryMultiCallable[
53
+ luminarycloud._proto.upload.upload_pb2.UploadWebGeometryRequest,
54
+ luminarycloud._proto.upload.upload_pb2.UploadWebGeometryReply,
55
+ ]
56
+ """Upload a URL referencing an asset on from an online geometry provider
57
+ (e.g., Onshape). We store the reference and and perform no actual file
58
+ transfer until use of the Onshape asset. It is merely for tracking references
59
+ to the object.
60
+ """
52
61
 
53
62
  class UploadServiceServicer(metaclass=abc.ABCMeta):
54
63
  """Provides APIs for managing uploads."""
@@ -100,5 +109,16 @@ class UploadServiceServicer(metaclass=abc.ABCMeta):
100
109
  """Complete an ongoing upload. Must be called after all file data has been
101
110
  successfully uploaded.
102
111
  """
112
+ @abc.abstractmethod
113
+ def UploadWebGeometry(
114
+ self,
115
+ request: luminarycloud._proto.upload.upload_pb2.UploadWebGeometryRequest,
116
+ context: grpc.ServicerContext,
117
+ ) -> luminarycloud._proto.upload.upload_pb2.UploadWebGeometryReply:
118
+ """Upload a URL referencing an asset on from an online geometry provider
119
+ (e.g., Onshape). We store the reference and and perform no actual file
120
+ transfer until use of the Onshape asset. It is merely for tracking references
121
+ to the object.
122
+ """
103
123
 
104
124
  def add_UploadServiceServicer_to_server(servicer: UploadServiceServicer, server: grpc.Server) -> None: ...
@@ -18,7 +18,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
18
18
  from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
19
19
 
20
20
 
21
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"g\n\x1aSimulationToSdkCodeRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x15\n\rsimulation_id\x18\x04 \x01(\t\"/\n\x1bSimulationToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t\"`\n\x0eMCPToolRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12*\n\ttool_args\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"(\n\x0fMCPToolResponse\x12\x15\n\rtool_response\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\xfd\x05\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x84\x01\n\x13SimulationToSdkCode\x12\x34.luminary.proto.assistant.SimulationToSdkCodeRequest\x1a\x35.luminary.proto.assistant.SimulationToSdkCodeResponse\"\x00\x12`\n\x07MCPTool\x12(.luminary.proto.assistant.MCPToolRequest\x1a).luminary.proto.assistant.MCPToolResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"g\n\x1aSimulationToSdkCodeRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x15\n\rsimulation_id\x18\x04 \x01(\t\"/\n\x1bSimulationToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\x9b\x05\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x84\x01\n\x13SimulationToSdkCode\x12\x34.luminary.proto.assistant.SimulationToSdkCodeRequest\x1a\x35.luminary.proto.assistant.SimulationToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
22
22
 
23
23
  _ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
24
24
  AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
@@ -61,8 +61,6 @@ _CHATHISTORYENTRY = DESCRIPTOR.message_types_by_name['ChatHistoryEntry']
61
61
  _GETCHATHISTORYRESPONSE = DESCRIPTOR.message_types_by_name['GetChatHistoryResponse']
62
62
  _SIMULATIONTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeRequest']
63
63
  _SIMULATIONTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeResponse']
64
- _MCPTOOLREQUEST = DESCRIPTOR.message_types_by_name['MCPToolRequest']
65
- _MCPTOOLRESPONSE = DESCRIPTOR.message_types_by_name['MCPToolResponse']
66
64
  GetChatSessionsRequest = _reflection.GeneratedProtocolMessageType('GetChatSessionsRequest', (_message.Message,), {
67
65
  'DESCRIPTOR' : _GETCHATSESSIONSREQUEST,
68
66
  '__module__' : 'proto.assistant.assistant_pb2'
@@ -247,20 +245,6 @@ SimulationToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('Simulati
247
245
  })
248
246
  _sym_db.RegisterMessage(SimulationToSdkCodeResponse)
249
247
 
250
- MCPToolRequest = _reflection.GeneratedProtocolMessageType('MCPToolRequest', (_message.Message,), {
251
- 'DESCRIPTOR' : _MCPTOOLREQUEST,
252
- '__module__' : 'proto.assistant.assistant_pb2'
253
- # @@protoc_insertion_point(class_scope:luminary.proto.assistant.MCPToolRequest)
254
- })
255
- _sym_db.RegisterMessage(MCPToolRequest)
256
-
257
- MCPToolResponse = _reflection.GeneratedProtocolMessageType('MCPToolResponse', (_message.Message,), {
258
- 'DESCRIPTOR' : _MCPTOOLRESPONSE,
259
- '__module__' : 'proto.assistant.assistant_pb2'
260
- # @@protoc_insertion_point(class_scope:luminary.proto.assistant.MCPToolResponse)
261
- })
262
- _sym_db.RegisterMessage(MCPToolResponse)
263
-
264
248
  _ASSISTANT = DESCRIPTOR.services_by_name['Assistant']
265
249
  if _descriptor._USE_C_DESCRIPTORS == False:
266
250
 
@@ -270,12 +254,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
270
254
  _EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
271
255
  _DISPLAYDATA_DATAENTRY._options = None
272
256
  _DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
273
- _ASSISTREQUESTSOURCE._serialized_start=2795
274
- _ASSISTREQUESTSOURCE._serialized_end=2848
275
- _CELLTYPE._serialized_start=2850
276
- _CELLTYPE._serialized_end=2893
277
- _STREAMOUTPUTTYPE._serialized_start=2895
278
- _STREAMOUTPUTTYPE._serialized_end=2937
257
+ _ASSISTREQUESTSOURCE._serialized_start=2655
258
+ _ASSISTREQUESTSOURCE._serialized_end=2708
259
+ _CELLTYPE._serialized_start=2710
260
+ _CELLTYPE._serialized_end=2753
261
+ _STREAMOUTPUTTYPE._serialized_start=2755
262
+ _STREAMOUTPUTTYPE._serialized_end=2797
279
263
  _GETCHATSESSIONSREQUEST._serialized_start=151
280
264
  _GETCHATSESSIONSREQUEST._serialized_end=208
281
265
  _GETCHATSESSIONSRESPONSE._serialized_start=210
@@ -328,10 +312,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
328
312
  _SIMULATIONTOSDKCODEREQUEST._serialized_end=2604
329
313
  _SIMULATIONTOSDKCODERESPONSE._serialized_start=2606
330
314
  _SIMULATIONTOSDKCODERESPONSE._serialized_end=2653
331
- _MCPTOOLREQUEST._serialized_start=2655
332
- _MCPTOOLREQUEST._serialized_end=2751
333
- _MCPTOOLRESPONSE._serialized_start=2753
334
- _MCPTOOLRESPONSE._serialized_end=2793
335
- _ASSISTANT._serialized_start=2940
336
- _ASSISTANT._serialized_end=3705
315
+ _ASSISTANT._serialized_start=2800
316
+ _ASSISTANT._serialized_end=3467
337
317
  # @@protoc_insertion_point(module_scope)
@@ -8,7 +8,6 @@ import google.protobuf.descriptor
8
8
  import google.protobuf.internal.containers
9
9
  import google.protobuf.internal.enum_type_wrapper
10
10
  import google.protobuf.message
11
- import google.protobuf.struct_pb2
12
11
  import sys
13
12
  import typing
14
13
 
@@ -660,39 +659,3 @@ class SimulationToSdkCodeResponse(google.protobuf.message.Message):
660
659
  def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
661
660
 
662
661
  global___SimulationToSdkCodeResponse = SimulationToSdkCodeResponse
663
-
664
- class MCPToolRequest(google.protobuf.message.Message):
665
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
666
-
667
- SESSION_FIELD_NUMBER: builtins.int
668
- TOOL_NAME_FIELD_NUMBER: builtins.int
669
- TOOL_ARGS_FIELD_NUMBER: builtins.int
670
- session: builtins.str
671
- tool_name: builtins.str
672
- @property
673
- def tool_args(self) -> google.protobuf.struct_pb2.Struct: ...
674
- def __init__(
675
- self,
676
- *,
677
- session: builtins.str = ...,
678
- tool_name: builtins.str = ...,
679
- tool_args: google.protobuf.struct_pb2.Struct | None = ...,
680
- ) -> None: ...
681
- def HasField(self, field_name: typing_extensions.Literal["tool_args", b"tool_args"]) -> builtins.bool: ...
682
- def ClearField(self, field_name: typing_extensions.Literal["session", b"session", "tool_args", b"tool_args", "tool_name", b"tool_name"]) -> None: ...
683
-
684
- global___MCPToolRequest = MCPToolRequest
685
-
686
- class MCPToolResponse(google.protobuf.message.Message):
687
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
688
-
689
- TOOL_RESPONSE_FIELD_NUMBER: builtins.int
690
- tool_response: builtins.str
691
- def __init__(
692
- self,
693
- *,
694
- tool_response: builtins.str = ...,
695
- ) -> None: ...
696
- def ClearField(self, field_name: typing_extensions.Literal["tool_response", b"tool_response"]) -> None: ...
697
-
698
- global___MCPToolResponse = MCPToolResponse
@@ -46,11 +46,6 @@ class AssistantStub(object):
46
46
  request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
47
47
  response_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
48
48
  )
49
- self.MCPTool = channel.unary_unary(
50
- '/luminary.proto.assistant.Assistant/MCPTool',
51
- request_serializer=proto_dot_assistant_dot_assistant__pb2.MCPToolRequest.SerializeToString,
52
- response_deserializer=proto_dot_assistant_dot_assistant__pb2.MCPToolResponse.FromString,
53
- )
54
49
 
55
50
 
56
51
  class AssistantServicer(object):
@@ -94,13 +89,6 @@ class AssistantServicer(object):
94
89
  context.set_details('Method not implemented!')
95
90
  raise NotImplementedError('Method not implemented!')
96
91
 
97
- def MCPTool(self, request, context):
98
- """MCP tools and prompts to be accessed by the MCP server
99
- """
100
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
101
- context.set_details('Method not implemented!')
102
- raise NotImplementedError('Method not implemented!')
103
-
104
92
 
105
93
  def add_AssistantServicer_to_server(servicer, server):
106
94
  rpc_method_handlers = {
@@ -134,11 +122,6 @@ def add_AssistantServicer_to_server(servicer, server):
134
122
  request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.FromString,
135
123
  response_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.SerializeToString,
136
124
  ),
137
- 'MCPTool': grpc.unary_unary_rpc_method_handler(
138
- servicer.MCPTool,
139
- request_deserializer=proto_dot_assistant_dot_assistant__pb2.MCPToolRequest.FromString,
140
- response_serializer=proto_dot_assistant_dot_assistant__pb2.MCPToolResponse.SerializeToString,
141
- ),
142
125
  }
143
126
  generic_handler = grpc.method_handlers_generic_handler(
144
127
  'luminary.proto.assistant.Assistant', rpc_method_handlers)
@@ -251,20 +234,3 @@ class Assistant(object):
251
234
  proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
252
235
  options, channel_credentials,
253
236
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
254
-
255
- @staticmethod
256
- def MCPTool(request,
257
- target,
258
- options=(),
259
- channel_credentials=None,
260
- call_credentials=None,
261
- insecure=False,
262
- compression=None,
263
- wait_for_ready=None,
264
- timeout=None,
265
- metadata=None):
266
- return grpc.experimental.unary_unary(request, target, '/luminary.proto.assistant.Assistant/MCPTool',
267
- proto_dot_assistant_dot_assistant__pb2.MCPToolRequest.SerializeToString,
268
- proto_dot_assistant_dot_assistant__pb2.MCPToolResponse.FromString,
269
- options, channel_credentials,
270
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -37,11 +37,6 @@ class AssistantStub:
37
37
  luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse,
38
38
  ]
39
39
  """Converts a given SimulationParam proto into the equivalent SDK code."""
40
- MCPTool: grpc.UnaryUnaryMultiCallable[
41
- luminarycloud._proto.assistant.assistant_pb2.MCPToolRequest,
42
- luminarycloud._proto.assistant.assistant_pb2.MCPToolResponse,
43
- ]
44
- """MCP tools and prompts to be accessed by the MCP server"""
45
40
 
46
41
  class AssistantServicer(metaclass=abc.ABCMeta):
47
42
  """the assistant service implemented by backend"""
@@ -83,12 +78,5 @@ class AssistantServicer(metaclass=abc.ABCMeta):
83
78
  context: grpc.ServicerContext,
84
79
  ) -> luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse:
85
80
  """Converts a given SimulationParam proto into the equivalent SDK code."""
86
- @abc.abstractmethod
87
- def MCPTool(
88
- self,
89
- request: luminarycloud._proto.assistant.assistant_pb2.MCPToolRequest,
90
- context: grpc.ServicerContext,
91
- ) -> luminarycloud._proto.assistant.assistant_pb2.MCPToolResponse:
92
- """MCP tools and prompts to be accessed by the MCP server"""
93
81
 
94
82
  def add_AssistantServicer_to_server(servicer: AssistantServicer, server: grpc.Server) -> None: ...