Files
cursor-byok/server/src/cursor/conversation/command.rs
T
leookun 44e2d8057a feat: initialize server structure and database schema
- 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.
2026-08-30 01:33:39 +08:00

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,
}