<commit_before>package veil.protocol.remote_file_management;

message RemoteFileMangement {
    required string message_type = 1;
    required bytes input = 2;
}

message CreateFile {
    required string file_id = 1;
}

message DeleteFileAtStorage {
    required string file_id = 1;    
}

message TruncateFile {
    required string file_id = 1;
    required int32 length = 2;  
}

message ReadFile {
    required string file_id = 1;
    required int32 size = 2;
    optional int32 offset = 3 [default = 0];
}

message FileData {
    required string answer_status = 1;
    optional string operation_guid = 2;
    optional string new_data_source = 3;
    optional bytes data = 4;
}

message WriteFile {
    required string file_id = 1;
    optional int32 size = 2;
    optional bytes data = 3;
    optional int32 offset = 4 [default = 0];
}

message WriteInfo {
    required string answer_status = 1;
    optional int32 bytes_written = 2 [default = 0];<commit_msg>another changes in size type from int32 to int64<commit_after>package veil.protocol.remote_file_management;

message RemoteFileMangement {
    required string message_type = 1;
    required bytes input = 2;
}

message CreateFile {
    required string file_id = 1;
}

message DeleteFileAtStorage {
    required string file_id = 1;    
}

message TruncateFile {
    required string file_id = 1;
    required int64 length = 2;
}

message ReadFile {
    required string file_id = 1;
    required int64 size = 2;
    optional int64 offset = 3 [default = 0];
}

message FileData {
    required string answer_status = 1;
    optional string operation_guid = 2;
    optional string new_data_source = 3;
    optional bytes data = 4;
}

message WriteFile {
    required string file_id = 1;
    optional int64 size = 2;
    optional bytes data = 3;
    optional int64 offset = 4 [default = 0];
}

message WriteInfo {
    required string answer_status = 1;
    optional int64 bytes_written = 2 [default = 0];
{'fraction_non_alphanumeric': 0.0694231750893313, 'fraction_numerical': 0.036753445635528334, 'mean_word_length': 3.2332613390928726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7371975', 'n_tokens_mistral': 639, 'n_tokens_neox': 577, 'n_words': 207}