rnacos 0.8.3

Nacos server re-implemented in Rust.
Documentation
// 用于生成 data_object.rs
// pb-rs data_object.proto

syntax = "proto3";

package data_object;

// 工具规范版本
message ToolSpecVersionDo {
  uint64 version = 1;
  string parameters_json = 2;
  string op_user = 3;
  int64 update_time = 4;
}

// MCP 工具规范
message McpToolSpecDo {
  string namespace = 1;
  string group = 2;
  string tool_name = 3;
  uint64 current_version = 4;
  int64 create_time = 5;
  string create_user = 6;
  repeated ToolSpecVersionDo versions = 7;
}

// MCP 工具
message McpToolDo {
  string tool_name = 2;
  string namespace = 3;
  string group = 4;
  uint64 version = 5;
  string route_rule_json = 6;
}

message McpServerValueDo {
  uint64 id = 1;
  string description = 2;
  repeated McpToolDo tools = 3;
  string op_user = 4;
  int64 update_time = 5;
}

message McpServerDo {
  uint64 id = 1;
  string namespace = 2;
  string name = 3;
  string description = 4;
  repeated string auth_keys = 5;
  int64 create_time = 6;
  string create_user = 7;
  McpServerValueDo current_value = 8;
  McpServerValueDo release_value = 9;
  repeated McpServerValueDo histories = 10;
  string unique_key = 11;
}

// 实例注册参数
message InstanceDo {
  string ip = 1;
  uint32 port = 2;
  float weight = 3;
  bool enabled = 4;
  bool healthy = 5;
  bool ephemeral = 6;
  map<string, string> metadata = 7;
  string namespace_id = 8;
  string group_name = 9;
  string service_name = 10;
  optional string cluster_name = 11;
  optional string app_name = 12;
}

// 缓存项
message DirectCacheItemDo {
  uint32 cache_type = 1;
  string key = 2;
  bytes data = 3;
  int32 timeout = 4;
}