Skip to content

Commit f428bce

Browse files
committed
feature-233-implement-openrouter: Refactor Supabase integration and enhance file processing logic
- Updated CLI configuration to use environment variables for Supabase URL and key. - Modified file processing methods in FileRepository to support chunk size and added shuffling of chunked files. - Enhanced SupabaseRepository methods for better handling of chunked files, including SHA256 checksum generation. - Improved logging in VectorActionUseCase for clearer progress tracking and error reporting. - Removed obsolete SQL migration file for truncating chunks table.
1 parent ac48c3f commit f428bce

File tree

312 files changed

+309551
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+309551
-74
lines changed

bin/auth.proto

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
syntax = "proto3";
2+
3+
package moby.filesync.v1;
4+
5+
option go_package = "auth";
6+
7+
service Auth{
8+
rpc Credentials(CredentialsRequest) returns (CredentialsResponse);
9+
rpc FetchToken(FetchTokenRequest) returns (FetchTokenResponse);
10+
rpc GetTokenAuthority(GetTokenAuthorityRequest) returns (GetTokenAuthorityResponse);
11+
rpc VerifyTokenAuthority(VerifyTokenAuthorityRequest) returns (VerifyTokenAuthorityResponse);
12+
}
13+
14+
message CredentialsRequest {
15+
string Host = 1;
16+
}
17+
18+
message CredentialsResponse {
19+
string Username = 1;
20+
string Secret = 2;
21+
}
22+
23+
message FetchTokenRequest {
24+
string ClientID = 1;
25+
string Host = 2;
26+
string Realm = 3;
27+
string Service = 4;
28+
repeated string Scopes = 5;
29+
}
30+
31+
message FetchTokenResponse {
32+
string Token = 1;
33+
int64 ExpiresIn = 2; // seconds
34+
int64 IssuedAt = 3; // timestamp
35+
}
36+
37+
message GetTokenAuthorityRequest {
38+
string Host = 1;
39+
bytes Salt = 2;
40+
}
41+
42+
message GetTokenAuthorityResponse {
43+
bytes PublicKey = 1;
44+
}
45+
46+
message VerifyTokenAuthorityRequest {
47+
string Host = 1;
48+
bytes Payload = 2;
49+
bytes Salt = 3;
50+
}
51+
52+
message VerifyTokenAuthorityResponse {
53+
bytes Signed = 1;
54+
}

bin/build/Release/cpufeatures.node

60 KB
Binary file not shown.

0 commit comments

Comments
 (0)