@@ -70,6 +70,7 @@ class DeviceAgentConfigRequest(google.protobuf.message.Message):
7070 ID_FIELD_NUMBER : builtins .int
7171 HOST_INFO_FIELD_NUMBER : builtins .int
7272 SUBSYSTEM_VERSIONS_FIELD_NUMBER : builtins .int
73+ VERSION_INFO_FIELD_NUMBER : builtins .int
7374 id : builtins .str
7475 'robot partID'
7576
@@ -79,15 +80,21 @@ class DeviceAgentConfigRequest(google.protobuf.message.Message):
7980
8081 @property
8182 def subsystem_versions (self ) -> google .protobuf .internal .containers .ScalarMap [builtins .str , builtins .str ]:
82- """current subsystems and versions"""
83+ """current subsystems and versions
84+ DEPRECATED in favor of version_info
85+ """
86+
87+ @property
88+ def version_info (self ) -> global___VersionInfo :
89+ """Currently installed versions for agent and viam-server"""
8390
84- def __init__ (self , * , id : builtins .str = ..., host_info : global___HostInfo | None = ..., subsystem_versions : collections .abc .Mapping [builtins .str , builtins .str ] | None = ...) -> None :
91+ def __init__ (self , * , id : builtins .str = ..., host_info : global___HostInfo | None = ..., subsystem_versions : collections .abc .Mapping [builtins .str , builtins .str ] | None = ..., version_info : global___VersionInfo | None = ... ) -> None :
8592 ...
8693
87- def HasField (self , field_name : typing .Literal ['host_info' , b'host_info' ]) -> builtins .bool :
94+ def HasField (self , field_name : typing .Literal ['host_info' , b'host_info' , 'version_info' , b'version_info' ]) -> builtins .bool :
8895 ...
8996
90- def ClearField (self , field_name : typing .Literal ['host_info' , b'host_info' , 'id' , b'id' , 'subsystem_versions' , b'subsystem_versions' ]) -> None :
97+ def ClearField (self , field_name : typing .Literal ['host_info' , b'host_info' , 'id' , b'id' , 'subsystem_versions' , b'subsystem_versions' , 'version_info' , b'version_info' ]) -> None :
9198 ...
9299global___DeviceAgentConfigRequest = DeviceAgentConfigRequest
93100
@@ -116,29 +123,61 @@ class DeviceAgentConfigResponse(google.protobuf.message.Message):
116123 ...
117124 SUBSYSTEM_CONFIGS_FIELD_NUMBER : builtins .int
118125 CHECK_INTERVAL_FIELD_NUMBER : builtins .int
126+ AGENT_UPDATE_INFO_FIELD_NUMBER : builtins .int
127+ VIAM_SERVER_UPDATE_INFO_FIELD_NUMBER : builtins .int
128+ ADVANCED_SETTINGS_FIELD_NUMBER : builtins .int
129+ NETWORK_CONFIGURATION_FIELD_NUMBER : builtins .int
130+ ADDITIONAL_NETWORKS_FIELD_NUMBER : builtins .int
131+ SYSTEM_CONFIGURATION_FIELD_NUMBER : builtins .int
119132
120133 @property
121134 def subsystem_configs (self ) -> google .protobuf .internal .containers .MessageMap [builtins .str , global___DeviceSubsystemConfig ]:
122135 """subsystems to be installed/configured/updated
123136 note: previously installed subsystems will be removed from the system if removed from this list
137+ DEPRECATED in favor of indidivual update_info and settings fields
124138 """
125139
126140 @property
127141 def check_interval (self ) -> google .protobuf .duration_pb2 .Duration :
128142 """how often this request should be repeated"""
129143
130- def __init__ (self , * , subsystem_configs : collections .abc .Mapping [builtins .str , global___DeviceSubsystemConfig ] | None = ..., check_interval : google .protobuf .duration_pb2 .Duration | None = ...) -> None :
144+ @property
145+ def agent_update_info (self ) -> global___UpdateInfo :
146+ """update info for agent and viam-server, parsed/processed in App"""
147+
148+ @property
149+ def viam_server_update_info (self ) -> global___UpdateInfo :
131150 ...
132151
133- def HasField (self , field_name : typing .Literal ['check_interval' , b'check_interval' ]) -> builtins .bool :
152+ @property
153+ def advanced_settings (self ) -> google .protobuf .struct_pb2 .Struct :
154+ """various settings that are passed directly to device Agent"""
155+
156+ @property
157+ def network_configuration (self ) -> google .protobuf .struct_pb2 .Struct :
158+ ...
159+
160+ @property
161+ def additional_networks (self ) -> google .protobuf .struct_pb2 .Struct :
134162 ...
135163
136- def ClearField (self , field_name : typing .Literal ['check_interval' , b'check_interval' , 'subsystem_configs' , b'subsystem_configs' ]) -> None :
164+ @property
165+ def system_configuration (self ) -> google .protobuf .struct_pb2 .Struct :
166+ ...
167+
168+ def __init__ (self , * , subsystem_configs : collections .abc .Mapping [builtins .str , global___DeviceSubsystemConfig ] | None = ..., check_interval : google .protobuf .duration_pb2 .Duration | None = ..., agent_update_info : global___UpdateInfo | None = ..., viam_server_update_info : global___UpdateInfo | None = ..., advanced_settings : google .protobuf .struct_pb2 .Struct | None = ..., network_configuration : google .protobuf .struct_pb2 .Struct | None = ..., additional_networks : google .protobuf .struct_pb2 .Struct | None = ..., system_configuration : google .protobuf .struct_pb2 .Struct | None = ...) -> None :
169+ ...
170+
171+ def HasField (self , field_name : typing .Literal ['additional_networks' , b'additional_networks' , 'advanced_settings' , b'advanced_settings' , 'agent_update_info' , b'agent_update_info' , 'check_interval' , b'check_interval' , 'network_configuration' , b'network_configuration' , 'system_configuration' , b'system_configuration' , 'viam_server_update_info' , b'viam_server_update_info' ]) -> builtins .bool :
172+ ...
173+
174+ def ClearField (self , field_name : typing .Literal ['additional_networks' , b'additional_networks' , 'advanced_settings' , b'advanced_settings' , 'agent_update_info' , b'agent_update_info' , 'check_interval' , b'check_interval' , 'network_configuration' , b'network_configuration' , 'subsystem_configs' , b'subsystem_configs' , 'system_configuration' , b'system_configuration' , 'viam_server_update_info' , b'viam_server_update_info' ]) -> None :
137175 ...
138176global___DeviceAgentConfigResponse = DeviceAgentConfigResponse
139177
140178@typing .final
141179class DeviceSubsystemConfig (google .protobuf .message .Message ):
180+ """DEPRECATED as of January 2025"""
142181 DESCRIPTOR : google .protobuf .descriptor .Descriptor
143182 UPDATE_INFO_FIELD_NUMBER : builtins .int
144183 DISABLE_FIELD_NUMBER : builtins .int
@@ -150,14 +189,14 @@ class DeviceSubsystemConfig(google.protobuf.message.Message):
150189 'force_restart will restart the subsystem, even if no updates are available'
151190
152191 @property
153- def update_info (self ) -> global___SubsystemUpdateInfo :
192+ def update_info (self ) -> global___UpdateInfo :
154193 """data needed to download/validate the subsystem"""
155194
156195 @property
157196 def attributes (self ) -> google .protobuf .struct_pb2 .Struct :
158197 """arbitrary config sections"""
159198
160- def __init__ (self , * , update_info : global___SubsystemUpdateInfo | None = ..., disable : builtins .bool = ..., force_restart : builtins .bool = ..., attributes : google .protobuf .struct_pb2 .Struct | None = ...) -> None :
199+ def __init__ (self , * , update_info : global___UpdateInfo | None = ..., disable : builtins .bool = ..., force_restart : builtins .bool = ..., attributes : google .protobuf .struct_pb2 .Struct | None = ...) -> None :
161200 ...
162201
163202 def HasField (self , field_name : typing .Literal ['attributes' , b'attributes' , 'update_info' , b'update_info' ]) -> builtins .bool :
@@ -167,6 +206,29 @@ class DeviceSubsystemConfig(google.protobuf.message.Message):
167206 ...
168207global___DeviceSubsystemConfig = DeviceSubsystemConfig
169208
209+ @typing .final
210+ class VersionInfo (google .protobuf .message .Message ):
211+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
212+ AGENT_RUNNING_FIELD_NUMBER : builtins .int
213+ AGENT_INSTALLED_FIELD_NUMBER : builtins .int
214+ VIAM_SERVER_RUNNING_FIELD_NUMBER : builtins .int
215+ VIAM_SERVER_INSTALLED_FIELD_NUMBER : builtins .int
216+ agent_running : builtins .str
217+ 'the version of agent currently running and making the request'
218+ agent_installed : builtins .str
219+ 'the version of agent installed (will run after restart if different)'
220+ viam_server_running : builtins .str
221+ 'the version of viam-server currently running'
222+ viam_server_installed : builtins .str
223+ 'the version of viam-server installed (will run after restart if different)'
224+
225+ def __init__ (self , * , agent_running : builtins .str = ..., agent_installed : builtins .str = ..., viam_server_running : builtins .str = ..., viam_server_installed : builtins .str = ...) -> None :
226+ ...
227+
228+ def ClearField (self , field_name : typing .Literal ['agent_installed' , b'agent_installed' , 'agent_running' , b'agent_running' , 'viam_server_installed' , b'viam_server_installed' , 'viam_server_running' , b'viam_server_running' ]) -> None :
229+ ...
230+ global___VersionInfo = VersionInfo
231+
170232@typing .final
171233class HostInfo (google .protobuf .message .Message ):
172234 DESCRIPTOR : google .protobuf .descriptor .Descriptor
@@ -192,7 +254,7 @@ class HostInfo(google.protobuf.message.Message):
192254global___HostInfo = HostInfo
193255
194256@typing .final
195- class SubsystemUpdateInfo (google .protobuf .message .Message ):
257+ class UpdateInfo (google .protobuf .message .Message ):
196258 DESCRIPTOR : google .protobuf .descriptor .Descriptor
197259 FILENAME_FIELD_NUMBER : builtins .int
198260 URL_FIELD_NUMBER : builtins .int
@@ -215,4 +277,4 @@ class SubsystemUpdateInfo(google.protobuf.message.Message):
215277
216278 def ClearField (self , field_name : typing .Literal ['filename' , b'filename' , 'format' , b'format' , 'sha256' , b'sha256' , 'url' , b'url' , 'version' , b'version' ]) -> None :
217279 ...
218- global___SubsystemUpdateInfo = SubsystemUpdateInfo
280+ global___UpdateInfo = UpdateInfo
0 commit comments