Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions kontext/agent/v1/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ service AgentService {
// start of `kontext start`.
rpc CreateSession(CreateSessionRequest) returns (CreateSessionResponse);

// BootstrapCli prepares the shared CLI application for credential
// resolution and returns the managed preset providers the CLI should sync
// into the local env file.
rpc BootstrapCli(BootstrapCliRequest) returns (BootstrapCliResponse);

// Heartbeat keeps the session alive. The sidecar sends heartbeats on an
// interval; the backend marks sessions as disconnected if heartbeats stop.
rpc Heartbeat(HeartbeatRequest) returns (HeartbeatResponse);
Expand Down Expand Up @@ -70,6 +75,23 @@ message CreateSessionResponse {
string agent_id = 4;
}

message BootstrapCliRequest {
string agent_id = 1;
}

message BootstrapCliResponse {
string application_id = 1;
repeated ManagedProvider managed_providers = 2;
}

message ManagedProvider {
string preset_key = 1;
string handle = 2;
string env_var = 3;
string placeholder = 4;
bool seed_on_first_run = 5;
}

message HeartbeatRequest {
string session_id = 1;
}
Expand Down
Loading