mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-04 02:52:55 +08:00
- Added initial server setup with Cargo.toml defining dependencies and project structure. - Created build.rs for generating protobuf bindings and validating wire contracts. - Established database schema with initial migration files for conversations, messages, and runs. - Introduced tools and prompts for Cursor functionality, enhancing user interaction capabilities.
14 lines
272 B
Rust
14 lines
272 B
Rust
//! Defines commands accepted by a Conversation runtime.
|
|
|
|
use crate::cursor::protocol::proto::agent::v1 as pb;
|
|
|
|
#[derive(Debug)]
|
|
pub enum TransportCommand {
|
|
Append {
|
|
seqno: i64,
|
|
message: Box<pb::AgentClientMessage>,
|
|
},
|
|
Disconnect,
|
|
Close,
|
|
}
|