Merge C18 offline bundles and the Helm chart

Conflicts: server.go imports (both kept); agent.pb.go regenerated with buf
from the merged proto.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-05 00:15:47 +02:00
commit 6f85c17fc5
51 files changed
+4177 -63

No files matched your search

+48 -18
View File
@@ -2758,7 +2758,16 @@ type EngineWant struct {
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // "b10991"
// variant is the build to install, when one is chosen for the node rather
// than left to its hardware: "cu13", "cu129". Empty is the agent's choice.
Variant string `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
Variant string `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
// offline_base, on a cluster with no way to the internet, is where this
// engine version's files are on its mirror:
// http://mirror:8081/_llmgw/engines/llamacpp/b10991. Set, the node never
// asks the engine's publisher.
OfflineBase string `protobuf:"bytes,4,opt,name=offline_base,json=offlineBase,proto3" json:"offline_base,omitempty"`
// offline_sha256 is each of those files' checksum by name, from the
// bundle the control plane trusts — not from the mirror, which serves
// every node over plain HTTP.
OfflineSha256 map[string]string `protobuf:"bytes,5,rep,name=offline_sha256,json=offlineSha256,proto3" json:"offline_sha256,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -2814,6 +2823,20 @@ func (x *EngineWant) GetVariant() string {
return ""
}
func (x *EngineWant) GetOfflineBase() string {
if x != nil {
return x.OfflineBase
}
return ""
}
func (x *EngineWant) GetOfflineSha256() map[string]string {
if x != nil {
return x.OfflineSha256
}
return nil
}
// ProvisionStatus is where one engine's installation stands on a node.
type ProvisionStatus struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -4505,12 +4528,17 @@ const file_llmgw_v1_agent_proto_rawDesc = "" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\";\n" +
"\tProvision\x12.\n" +
"\aengines\x18\x01 \x03(\v2\x14.llmgw.v1.EngineWantR\aengines\"X\n" +
"\aengines\x18\x01 \x03(\v2\x14.llmgw.v1.EngineWantR\aengines\"\x8d\x02\n" +
"\n" +
"EngineWant\x12\x16\n" +
"\x06engine\x18\x01 \x01(\tR\x06engine\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x18\n" +
"\avariant\x18\x03 \x01(\tR\avariant\"\x8b\x01\n" +
"\avariant\x18\x03 \x01(\tR\avariant\x12!\n" +
"\foffline_base\x18\x04 \x01(\tR\vofflineBase\x12N\n" +
"\x0eoffline_sha256\x18\x05 \x03(\v2'.llmgw.v1.EngineWant.OfflineSha256EntryR\rofflineSha256\x1a@\n" +
"\x12OfflineSha256Entry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8b\x01\n" +
"\x0fProvisionStatus\x12\x16\n" +
"\x06engine\x18\x01 \x01(\tR\x06engine\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x18\n" +
@@ -4668,7 +4696,7 @@ func file_llmgw_v1_agent_proto_rawDescGZIP() []byte {
}
var file_llmgw_v1_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_llmgw_v1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 46)
var file_llmgw_v1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
var file_llmgw_v1_agent_proto_goTypes = []any{
(ShardStatus_State)(0), // 0: llmgw.v1.ShardStatus.State
(*AgentMessage)(nil), // 1: llmgw.v1.AgentMessage
@@ -4716,7 +4744,8 @@ var file_llmgw_v1_agent_proto_goTypes = []any{
nil, // 43: llmgw.v1.GPU.NicPathsEntry
nil, // 44: llmgw.v1.IBPort.CountersEntry
nil, // 45: llmgw.v1.Heartbeat.EngineVersionsEntry
nil, // 46: llmgw.v1.EngineProfile.EnvEntry
nil, // 46: llmgw.v1.EngineWant.OfflineSha256Entry
nil, // 47: llmgw.v1.EngineProfile.EnvEntry
}
var file_llmgw_v1_agent_proto_depIdxs = []int32{
4, // 0: llmgw.v1.AgentMessage.register:type_name -> llmgw.v1.Register
@@ -4764,18 +4793,19 @@ var file_llmgw_v1_agent_proto_depIdxs = []int32{
18, // 42: llmgw.v1.Heartbeat.gpu_fabric:type_name -> llmgw.v1.GPUFabricState
17, // 43: llmgw.v1.Heartbeat.imex:type_name -> llmgw.v1.IMEX
21, // 44: llmgw.v1.Provision.engines:type_name -> llmgw.v1.EngineWant
0, // 45: llmgw.v1.ShardStatus.state:type_name -> llmgw.v1.ShardStatus.State
24, // 46: llmgw.v1.ShardStatus.fetch:type_name -> llmgw.v1.FetchProgress
26, // 47: llmgw.v1.StartShard.profile:type_name -> llmgw.v1.EngineProfile
46, // 48: llmgw.v1.EngineProfile.env:type_name -> llmgw.v1.EngineProfile.EnvEntry
39, // 49: llmgw.v1.EngineProfile.adapters:type_name -> llmgw.v1.LoraAdapter
1, // 50: llmgw.v1.AgentService.Connect:input_type -> llmgw.v1.AgentMessage
2, // 51: llmgw.v1.AgentService.Connect:output_type -> llmgw.v1.ControlMessage
51, // [51:52] is the sub-list for method output_type
50, // [50:51] is the sub-list for method input_type
50, // [50:50] is the sub-list for extension type_name
50, // [50:50] is the sub-list for extension extendee
0, // [0:50] is the sub-list for field type_name
46, // 45: llmgw.v1.EngineWant.offline_sha256:type_name -> llmgw.v1.EngineWant.OfflineSha256Entry
0, // 46: llmgw.v1.ShardStatus.state:type_name -> llmgw.v1.ShardStatus.State
24, // 47: llmgw.v1.ShardStatus.fetch:type_name -> llmgw.v1.FetchProgress
26, // 48: llmgw.v1.StartShard.profile:type_name -> llmgw.v1.EngineProfile
47, // 49: llmgw.v1.EngineProfile.env:type_name -> llmgw.v1.EngineProfile.EnvEntry
39, // 50: llmgw.v1.EngineProfile.adapters:type_name -> llmgw.v1.LoraAdapter
1, // 51: llmgw.v1.AgentService.Connect:input_type -> llmgw.v1.AgentMessage
2, // 52: llmgw.v1.AgentService.Connect:output_type -> llmgw.v1.ControlMessage
52, // [52:53] is the sub-list for method output_type
51, // [51:52] is the sub-list for method input_type
51, // [51:51] is the sub-list for extension type_name
51, // [51:51] is the sub-list for extension extendee
0, // [0:51] is the sub-list for field type_name
}
func init() { file_llmgw_v1_agent_proto_init() }
@@ -4811,7 +4841,7 @@ func file_llmgw_v1_agent_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_llmgw_v1_agent_proto_rawDesc), len(file_llmgw_v1_agent_proto_rawDesc)),
NumEnums: 1,
NumMessages: 46,
NumMessages: 47,
NumExtensions: 0,
NumServices: 1,
},
+9
View File
@@ -540,6 +540,15 @@ message EngineWant {
// variant is the build to install, when one is chosen for the node rather
// than left to its hardware: "cu13", "cu129". Empty is the agent's choice.
string variant = 3;
// offline_base, on a cluster with no way to the internet, is where this
// engine version's files are on its mirror:
// http://mirror:8081/_llmgw/engines/llamacpp/b10991. Set, the node never
// asks the engine's publisher.
string offline_base = 4;
// offline_sha256 is each of those files' checksum by name, from the
// bundle the control plane trusts — not from the mirror, which serves
// every node over plain HTTP.
map<string, string> offline_sha256 = 5;
}
// ProvisionStatus is where one engine's installation stands on a node.