diff --git a/.fern/replay.lock b/.fern/replay.lock new file mode 100644 index 0000000..1a48c88 --- /dev/null +++ b/.fern/replay.lock @@ -0,0 +1,16 @@ +# DO NOT EDIT MANUALLY - Managed by Fern Replay +version: "1.0" +generations: + - commit_sha: 4acf1c426a821e70a68099160e4ca56929097c94 + tree_hash: c3ce8272ce9626841d4d2b8234fc4f3ae7aca4b1 + timestamp: 2026-11-04T13:58:23.872Z + cli_version: unknown + generator_versions: {} + - commit_sha: efcea6986a307daff87726ea608832bee726a1cc + tree_hash: bc4a556a3b5a359d1b24321dde6964299da200e2 + timestamp: 2026-11-04T13:58:27.476Z + cli_version: unknown + generator_versions: + fernapi/fern-cli-generator: 0.57.2 +current_generation: efcea6986a307daff87726ea608832bee726a1cc +patches: [] diff --git a/.fernignore b/.fernignore index b7a7eb9..545c324 100644 --- a/.fernignore +++ b/.fernignore @@ -2,3 +2,7 @@ cli/livingbrain/custom.rs README.md tests/auth_headers.rs +.fern/replay.lock +.fern/replay.yml +.gitattributes +changelog.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..74928d6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.fern/replay.lock linguist-generated=true diff --git a/Cargo.lock b/Cargo.lock index 2587ecb..3a80f2d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -495,6 +495,56 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" +[[package]] +name = "livingbrain-cli" +version = "0.2.3" +dependencies = [ + "anyhow", + "base64", + "bytes", + "chrono", + "clap_complete", + "clap_mangen", + "clap", + "dotenvy", + "form_urlencoded", + "futures-util", + "hmac", + "httpdate", + "jmespath", + "keyring", + "libc", + "livingbrain_sdk", + "num-bigint", + "ordered-float", + "percent-encoding", + "pin-project", + "rand 0.8.6", + "reqwest-sse", + "reqwest", + "secrecy", + "security-framework 3.7.0", + "serde_json_path", + "serde_json", + "serde_qs", + "serde_yaml", + "serde", + "serial_test", + "sha2", + "tempfile", + "thiserror 2.0.18", + "tokio-tungstenite", + "tokio-util", + "tokio", + "toml_edit", + "tracing-appender", + "tracing-subscriber", + "tracing", + "unicode-normalization", + "webbrowser", + "wiremock", +] + [[package]] name = "find-msvc-tools" version = "0.1.9" @@ -1140,83 +1190,6 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" -[[package]] -name = "livingbrain-cli" -version = "0.2.2" -dependencies = [ - "anyhow", - "base64", - "bytes", - "chrono", - "clap", - "clap_complete", - "clap_mangen", - "dotenvy", - "form_urlencoded", - "futures-util", - "hmac", - "httpdate", - "jmespath", - "keyring", - "libc", - "livingbrain_sdk", - "num-bigint", - "ordered-float", - "percent-encoding", - "pin-project", - "rand 0.8.6", - "reqwest", - "reqwest-sse", - "secrecy", - "security-framework 3.7.0", - "serde", - "serde_json", - "serde_json_path", - "serde_qs", - "serde_yaml", - "serial_test", - "sha2", - "tempfile", - "thiserror 2.0.18", - "tokio", - "tokio-tungstenite", - "tokio-util", - "toml_edit", - "tracing", - "tracing-appender", - "tracing-subscriber", - "unicode-normalization", - "webbrowser", - "wiremock", -] - -[[package]] -name = "livingbrain_sdk" -version = "0.2.2" -dependencies = [ - "bytes", - "chrono", - "futures", - "livingbrain_types", - "reqwest", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", -] - -[[package]] -name = "livingbrain_types" -version = "0.2.2" -dependencies = [ - "base64", - "chrono", - "num-bigint", - "ordered-float", - "serde", - "serde_json", -] - [[package]] name = "lock_api" version = "0.4.14" @@ -3344,3 +3317,30 @@ name = "zmij" version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" + +[[package]] +name = "livingbrain_types" +version = "0.2.3" +dependencies = [ + "base64", + "chrono", + "num-bigint", + "ordered-float", + "serde", + "serde_json", +] + +[[package]] +name = "livingbrain_sdk" +version = "0.2.3" +dependencies = [ + "bytes", + "chrono", + "futures", + "livingbrain_types", + "reqwest", + "serde", + "serde_json", + "thiserror 1.0.69", + "tokio", +] diff --git a/Cargo.toml b/Cargo.toml index 940a883..990592e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "livingbrain-cli" -version = "0.2.2" +version = "0.2.3" edition = "2021" description = "Command-line interface for the Living Brain API" license = "Apache-2.0" -repository = "https://github.com/fern-demo/livingbrain-cli" +repository = "https://github.com/ChatAndBuild/livingbrain-cli" homepage = "https://docs.livingbrain.com" authors = ["Fern "] keywords = ["cli", "openapi", "graphql", "fern", "codegen"] diff --git a/README.md b/README.md index b3b5a69..29b30f5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Living Brain Service CLI -[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-CLI%20generated%20by%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Ffern-demo%2Flivingbrain-cli) +[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-CLI%20generated%20by%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FChatAndBuild%2Flivingbrain-cli) Command-line interface for the Living Brain Service API. @@ -23,13 +23,13 @@ Command-line interface for the Living Brain Service API. ### Shell (macOS / Linux) ```bash -curl --proto '=https' --tlsv1.2 -LsSf https://github.com/fern-demo/livingbrain-cli/releases/latest/download/livingbrain-cli-installer.sh | sh +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ChatAndBuild/livingbrain-cli/releases/latest/download/livingbrain-cli-installer.sh | sh ``` ### PowerShell (Windows) ```powershell -powershell -ExecutionPolicy ByPass -c "irm https://github.com/fern-demo/livingbrain-cli/releases/latest/download/livingbrain-cli-installer.ps1 | iex" +powershell -ExecutionPolicy ByPass -c "irm https://github.com/ChatAndBuild/livingbrain-cli/releases/latest/download/livingbrain-cli-installer.ps1 | iex" ``` ### Build from source diff --git a/changelog.md b/changelog.md index 67e7f57..4ff96a3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## [0.2.3] - 2026-11-04 + +- Updated repository metadata and installer links after the CLI moved to `ChatAndBuild`. +- Prepared the public multi-platform GitHub release. + ## [0.2.1] - 2026-10-16 - Fixed: authenticated commands now send `x-api-key`. The spec declared auth as `apiKey AND subject`, but `x-subject-id` is a global header rather than an auth scheme, so per-endpoint auth routing found no `subject` provider and attached no API key (only `x-subject-id` went out and every call returned 401). The auth requirement is now the API key alone. diff --git a/livingbrain-sdk/Cargo.toml b/livingbrain-sdk/Cargo.toml index 90409f8..9f71fd5 100644 --- a/livingbrain-sdk/Cargo.toml +++ b/livingbrain-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livingbrain_sdk" -version = "0.2.2" +version = "0.2.3" edition = "2021" description = "Rust SDK for livingbrain_sdk generated by Fern" license = "MIT" diff --git a/livingbrain-sdk/src/config.rs b/livingbrain-sdk/src/config.rs index c666863..da07aea 100644 --- a/livingbrain-sdk/src/config.rs +++ b/livingbrain-sdk/src/config.rs @@ -40,7 +40,7 @@ impl Default for ClientConfig { custom_headers: HashMap::from([ ("X-Fern-Language".to_string(), "Rust".to_string()), ("X-Fern-SDK-Name".to_string(), "livingbrain_sdk".to_string()), - ("X-Fern-SDK-Version".to_string(), "0.2.2".to_string()), + ("X-Fern-SDK-Version".to_string(), "0.2.3".to_string()), ]), user_agent: "Api Rust SDK".to_string(), reqwest_client: None, diff --git a/livingbrain-types/Cargo.toml b/livingbrain-types/Cargo.toml index 4ec8f19..afa4a8c 100644 --- a/livingbrain-types/Cargo.toml +++ b/livingbrain-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livingbrain_types" -version = "0.2.2" +version = "0.2.3" edition = "2021" [lib]