mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
* Working organization and personal inference, account switching, and usage/credit reporting. * Organization dropdown tweaks (#4710) * organization dropdown tweaks * reverted AuthService * Update Firebase Provider and Auth Service to support re-hydration of the user credentials * Add Github Auth Flow * Fix merge conflicts * Fix some dumb typing * recreate dropdown value when initialized (#4716) * added changeset * Update urls to production and handle some PR concerns * Get user credits when signing in (#4736) * get user balance when signing in instead of when there is no active org * swapped order of getUserCredits, made calls async * async changes continued, moved setIsLoading to finally --------- Co-authored-by: canvrno <46584286+canvrno@users.noreply.github.com> Co-authored-by: pashpashpash <nik@cline.bot>
27 lines
551 B
Protocol Buffer
27 lines
551 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cline;
|
|
import "common.proto";
|
|
option java_package = "bot.cline.proto";
|
|
option java_multiple_files = true;
|
|
|
|
service WebService {
|
|
rpc checkIsImageUrl(StringRequest) returns (IsImageUrl);
|
|
rpc fetchOpenGraphData(StringRequest) returns (OpenGraphData);
|
|
rpc openInBrowser(StringRequest) returns (Empty);
|
|
}
|
|
|
|
message IsImageUrl {
|
|
bool is_image = 1;
|
|
string url = 2;
|
|
}
|
|
|
|
message OpenGraphData {
|
|
string title = 1;
|
|
string description = 2;
|
|
string image = 3;
|
|
string url = 4;
|
|
string site_name = 5;
|
|
string type = 6;
|
|
}
|