mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00

* deleteTasksWithIDs protobus migration * Moved deleteTasksWithIds to dedicated message type * Created common StringArrayRequest * Delete webview-ui/.vite-port
26 lines
689 B
Protocol Buffer
26 lines
689 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cline;
|
|
option java_package = "bot.cline.proto";
|
|
option java_multiple_files = true;
|
|
|
|
import "common.proto";
|
|
|
|
service TaskService {
|
|
// Cancels the currently running task
|
|
rpc cancelTask(EmptyRequest) returns (Empty);
|
|
// Clears the current task
|
|
rpc clearTask(EmptyRequest) returns (Empty);
|
|
// Deletes multiple tasks with the given IDs
|
|
rpc deleteTasksWithIds(StringArrayRequest) returns (Empty);
|
|
// Creates a new task with the given text and optional images
|
|
rpc newTask(NewTaskRequest) returns (Empty);
|
|
}
|
|
|
|
// Request message for creating a new task
|
|
message NewTaskRequest {
|
|
Metadata metadata = 1;
|
|
string text = 2;
|
|
repeated string images = 3;
|
|
}
|