Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion API_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
272b5220264c1f55a0b42c9dd27b0cff957b633d
d8598f1127132aa4e5b67712d52dfb7703ae8e59
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ homepage = "https://origincloud.eu"
# API_REVISION: the generated commands use its request and response types,
# so the two must come from the same API definitions. scripts/update.sh moves
# both together, and scripts/generate.sh --check fails when they differ.
origincloud-core = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-pvs = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-location = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-compute = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-network = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-resourcemanager = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-iam = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
fake-server = { git = "https://github.com/origincloudhq/sdk-rust", rev = "7a3caae83544a86933ac6bd688e1be315d3a8464" }
origincloud-core = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
origincloud-pvs = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
origincloud-location = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
origincloud-compute = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
origincloud-network = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
origincloud-resourcemanager = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
origincloud-iam = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
fake-server = { git = "https://github.com/origincloudhq/sdk-rust", rev = "c9bcc4d9962c04789743eb10f3589ab0d876c14b" }
# The MCP tools `origin mcp serve` serves, at a commit built on the same SDK
# commit as the lines above: the CLI hands them the SDK's `Client`, so both
# must be the same crate. scripts/update.sh moves the three together, and
# scripts/generate.sh --check fails when they differ.
origincloud-mcp = { git = "https://github.com/origincloudhq/mcp", rev = "917462b9c569dedd88f7f1ed47e94276c628cdc8" }
origincloud-mcp = { git = "https://github.com/origincloudhq/mcp", rev = "8168bca66a5eadebcf05b344a831017fa423de34" }

anyhow = "1"
base64 = "0.22"
Expand Down
9 changes: 6 additions & 3 deletions crates/cli/src/sdk/generated/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub enum Commands {
#[command(
name = "create-key-pair",
about = "Creates a key pair: imports `--public-key`, or, left empty, generates an `ssh-ed25519` key and returns its private half in `privateKey`, in this response only",
long_about = "Creates a key pair: imports `--public-key`, or, left empty, generates an `ssh-ed25519` key and returns its private half in `privateKey`, in this response only. A repeat of a generating request with the same `--request-id` can't return the private key again, and is refused with `FAILED_PRECONDITION`: delete the key pair and create another."
long_about = "Creates a key pair: imports `--public-key`, or, left empty, generates an `ssh-ed25519` key and returns its private half in `privateKey`, in this response only. A repeat of a generating request with the same `--request-id` can't return the private key again, and is refused with `CONFLICT`, its `ErrorInfo` metadata naming the key pair under `keyPair`: delete it and create another."
)]
CreateKeyPair(CreateKeyPairArgs),
#[command(
Expand Down Expand Up @@ -1728,8 +1728,11 @@ pub struct CreateKeyPairArgs {
/// As KEY=VALUE; repeat for more.
#[arg(long = "tag", value_name = "KEY=VALUE")]
pub tag: Vec<TagArg>,
/// A UUID; a repeat with the same id returns the first request's key pair
/// instead of creating a second one. One is generated when not given.
/// A UUID; a repeat with the same id creates no second key pair. A repeat
/// importing a key returns the first request's key pair; a repeat
/// generating one is refused with `CONFLICT`, as the private key went to
/// the first request only, and the error's `ErrorInfo` metadata names the
/// key pair under `keyPair`. One is generated when not given.
#[arg(long = "request-id")]
pub request_id: Option<String>,
}
Expand Down
Loading