6765cafd68 
							
						 
					 
					
						
						
							
							change uuid to vm_id and app_id  
						
						
						
						
					 
					
						2025-07-18 04:36:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4753a17fa2 
							
						 
					 
					
						
						
							
							allow VM nodes to offer multiple slot offers  
						
						
						
						
					 
					
						2025-07-06 00:48:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							90192d7231 
							
						 
					 
					
						
						
							
							Merge pull request 'renames memory/disk size fields to use MiB in app proto' ( #7 ) from credits_app into credits-v2  
						
						... 
						
						
						
						Reviewed-on: #7  
						
						
					 
					
						2025-07-01 08:29:14 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							01e93d3a2e 
							
						 
					 
					
						
						
							
							refactor: renames memory/disk size fields to use MiB in app proto  
						
						
						
						
					 
					
						2025-06-26 17:11:43 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6d37792640 
							
						 
					 
					
						
						
							
							switch from LP to credits  
						
						... 
						
						
						
						As part of open sourcing the software product, we should consider that
loyalty points are not the best language. Switching to "credits" makes
sense from a lot of points of view.
At the same time, this change allows an achitectural change towards
slots. Slots allow daemon resources to get booked based on the HW ratio
configured in the daemon config. 
						
						
					 
					
						2025-06-24 22:59:24 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b8db315af9 
							
						 
					 
					
						
						
							
							add apache 2.0 license  
						
						
						
						
					 
					
						2025-06-19 20:47:25 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0b195b4589 
							
						 
					 
					
						
						
							
							minor fix  
						
						... 
						
						
						
						update storage unit from MB to GB on app app node filter and resources 
						
						
					 
					
						2025-06-06 16:25:26 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							005677153b 
							
						 
					 
					
						
						
							
							update register app daemon to get delete app req  
						
						
						
						
					 
					
						2025-06-04 16:44:07 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							694d5811aa 
							
						 
					 
					
						
						
							
							minor refactor in app proto  
						
						... 
						
						
						
						rename disk_mb to disk_size_gb and vcpu to vcpus in AppResource and Resource 
						
						
					 
					
						2025-06-03 04:22:20 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d6ca058d2d 
							
						 
					 
					
						
						
							
							upon reconnecting, node should receive DELETED VMs  
						
						
						
						
					 
					
						2025-05-20 00:31:54 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							7ef7068932 
							
						 
					 
					
						
						
							
							surreal_brain_app ( #3 )  
						
						... 
						
						
						
						add support for apps on the surreal brain
Co-authored-by: Noor <noormohammedb@protonmail.com>
Reviewed-on: #3  
						
						
					 
					
						2025-05-19 21:14:42 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d0d4622c52 
							
						 
					 
					
						
						
							
							enhance proto based on new DB capabilities  
						
						
						
						
					 
					
						2025-04-26 20:41:02 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b5289f1f5b 
							
						 
					 
					
						
						
							
							DTPM: upload files as stream and directory support ( #2 )  
						
						... 
						
						
						
						archive directory to upload
bincode serialize files to seal and save
zstd compression for tar archive
tests with fixtures
Reviewed-on: #2 
Co-authored-by: Noor <noormohammedb@protonmail.com>
Co-committed-by: Noor <noormohammedb@protonmail.com> 
						
						
					 
					
						2025-04-21 14:40:59 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3024c00b8e 
							
						 
					 
					
						
						
							
							Update ListAppContractsReq to include as_operator field and uuid  
						
						
						
						
					 
					
						2025-03-22 03:15:07 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							70e83dd0e9 
							
						 
					 
					
						
						
							
							add hostname to VmUpdateReq  
						
						
						
						
					 
					
						2025-03-21 21:32:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a874749fd5 
							
						 
					 
					
						
						
							
							Add Default trait to EnvironmentEntry and ChildProcess structs  
						
						
						
						
					 
					
						2025-03-19 20:30:44 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5e3d6c2c7c 
							
						 
					 
					
						
						
							
							Refactor dtpm.proto to import common.proto and simplify GetConfig request message  
						
						
						
						
					 
					
						2025-03-19 17:33:27 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							cf0c9a2c0d 
							
						 
					 
					
						
						
							
							Add serde serialization/deserialization attributes to app_proto and general_proto types  
						
						
						
						
					 
					
						2025-03-18 23:51:55 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e434b70a57 
							
						 
					 
					
						
						
							
							Refactor proto packages and add shared common.proto  
						
						... 
						
						
						
						seperated non vm related services into general protofile
shared common proto for types like Empty
rename proto packages
top level crate export for convenient imports 
						
						
					 
					
						2025-03-18 22:58:22 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							be4e41db05 
							
						 
					 
					
						
						
							
							Migrated SNP proto file and its From impls into its snp module and updated build configuration for snp proto  
						
						
						
						
					 
					
						2025-03-17 20:33:01 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							099f0a0488 
							
						 
					 
					
						
						
							
							Add app_name field to AppContract and NewAppReq messages; update AppDeployConfig struct  
						
						
						
						
					 
					
						2025-03-14 09:44:03 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d6ffc0d4cb 
							
						 
					 
					
						
						
							
							Add ListAllAppContracts RPC to BrainAppCli for super admin commands  
						
						
						
						
					 
					
						2025-03-12 20:11:47 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a9dcfbe9fe 
							
						 
					 
					
						
						
							
							Add AppNodeFilters and AppNodeListResp messages; implement ListAppNodes and GetOneAppNode RPCs in BrainAppCli  
						
						
						
						
					 
					
						2025-03-12 20:04:15 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8230e1f831 
							
						 
					 
					
						
						
							
							Rename CreateApp RPC to DeployApp in BrainAppCli and add new fields to AppDeployConfig for hours and private_package  
						
						
						
						
					 
					
						2025-03-12 20:57:26 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a734b392b7 
							
						 
					 
					
						
						
							
							rename price_per_unit to node_unit_price in AppDeployConfig and update conversion implementations  
						
						
						
						
					 
					
						2025-03-11 17:46:26 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dc1e2dd0cd 
							
						 
					 
					
						
						
							
							Minor change  
						
						... 
						
						
						
						new price field in register app node and rename operator_pubkey to operator_wallet 
						
						
					 
					
						2025-03-08 23:54:48 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b8f37dec18 
							
						 
					 
					
						
						
							
							Add hratls_pubkey and public_package_mr_enclave fields to NewAppReq, AppDeployConfig and AppContract  
						
						
						
						
					 
					
						2025-03-06 17:38:36 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							aefd292807 
							
						 
					 
					
						
						
							
							Add public_package field to NewAppReq and AppDeployConfig with default serde handling  
						
						
						
						
					 
					
						2025-03-06 16:32:06 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9ba3bc3186 
							
						 
					 
					
						
						
							
							Add hratls_pubkey to NewAppReq and AppDeployConfig; adjust field indices  
						
						
						
						
					 
					
						2025-03-06 00:59:58 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a6baa4059d 
							
						 
					 
					
						
						
							
							refactor AppNodeResources fields for clarity and consistency  
						
						
						
						
					 
					
						2025-02-21 10:42:14 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2507356cae 
							
						 
					 
					
						
						
							
							minor change  
						
						
						
						
					 
					
						2025-02-20 01:37:01 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							54abe74d42 
							
						 
					 
					
						
						
							
							admin pubkey in DelAppReq for authendicate and serde default for AppDeployConfig fields  
						
						
						
						
					 
					
						2025-02-18 20:56:03 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							99c3c83ed3 
							
						 
					 
					
						
						
							
							Rename owner_wallet to admin_pubkey in AppContract and related structures; add price_per_unit and locked_nano fields  
						
						
						
						
					 
					
						2025-02-18 16:28:00 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e835424049 
							
						 
					 
					
						
						
							
							refactor error handling with thiserror in dtpm module  
						
						
						
						
					 
					
						2025-02-18 13:59:14 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							987bbfd8ec 
							
						 
					 
					
						
						
							
							minor fix  
						
						... 
						
						
						
						default for owner_wallet in AppDeployConfig 
						
						
					 
					
						2025-02-17 12:43:04 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ee592c71d6 
							
						 
					 
					
						
						
							
							Refactor proto file structure to move brain and dtpm modules under sgx for better organization  
						
						
						
						
					 
					
						2025-02-13 17:28:09 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f2bc29149e 
							
						 
					 
					
						
						
							
							Daemon authendication  
						
						... 
						
						
						
						Refactor DaemonMessageApp to use DaemonAuth for authentication and update related RPC method 
						
						
					 
					
						2025-02-11 10:33:46 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							606c0ad395 
							
						 
					 
					
						
						
							
							Rename admin_pubkey to owner_wallet in AppContract and related structures for clarity  
						
						
						
						
					 
					
						2025-02-11 13:20:37 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							65bfa113a4 
							
						 
					 
					
						
						
							
							Rename RegisterNode RPC to RegisterAppNode for consistency in BrainAppDaemon service  
						
						
						
						
					 
					
						2025-02-10 19:03:49 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							fce5788493 
							
						 
					 
					
						
						
							
							Implement From trait for DaemonMessageApp to facilitate conversions from String, NewAppRes, and AppNodeResources  
						
						
						
						
					 
					
						2025-02-07 01:10:12 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							df3a4631dd 
							
						 
					 
					
						
						
							
							Cleanup  
						
						... 
						
						
						
						Remove unused proto files and related references from the project 
						
						
					 
					
						2025-02-06 14:57:50 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							21d4747821 
							
						 
					 
					
						
						
							
							Add methods to DtpmConfig for loading configuration from a path and encoding file contents in base64  
						
						
						
						
					 
					
						2025-02-05 17:34:56 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e9e4f1414a 
							
						 
					 
					
						
						
							
							wip on refactoring dtpm proto and type  
						
						
						
						
					 
					
						2025-02-05 10:13:33 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7f431e7180 
							
						 
					 
					
						
						
							
							minor fix  
						
						... 
						
						
						
						fix typo in daemon message
comment out uuid and node_pubkey fields in list contract 
						
						
					 
					
						2025-02-05 12:02:06 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							42443b8162 
							
						 
					 
					
						
						
							
							Implement From trait for MappedPort to facilitate conversions between tuple and brain::MappedPort  
						
						
						
						
					 
					
						2025-02-04 12:39:46 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6e7a337709 
							
						 
					 
					
						
						
							
							complete refactor of brain proto format  
						
						
						
						
					 
					
						2025-02-04 16:50:52 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7c9f66a739 
							
						 
					 
					
						
						
							
							Update daemon.proto to replace container_id with uuid and modify DeleteContainer response type  
						
						
						
						
					 
					
						2025-02-03 17:30:36 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6e1b185383 
							
						 
					 
					
						
						
							
							Implement From trait for MappedPort to facilitate conversions between tuple and pb_shared::MappedPort  
						
						
						
						
					 
					
						2025-01-30 20:14:33 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a2899ba5a2 
							
						 
					 
					
						
						
							
							Update proto messages and Rust types for brain integration  
						
						... 
						
						
						
						removed uuid type and change it a simple string
improved some grpc response type
fix some typos 
						
						
					 
					
						2025-01-30 18:23:29 +05:30 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3e783b11ba 
							
						 
					 
					
						
						
							
							refactor brain message and daemon message  
						
						... 
						
						
						
						inspiring from snp proto
container contract message
register node message 
						
						
					 
					
						2025-01-29 17:30:02 +05:30