Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(deps): bump tinychannels to 0.1.30

Steven Enamakel320442f845f9
diff --git a/Cargo.lock b/Cargo.lock
index 4670c8a19f..e3f27aa2c5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -152,7 +152,7 @@ version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
dependencies = [
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -163,7 +163,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
dependencies = [
"anstyle",
"once_cell_polyfill",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -836,7 +836,7 @@ dependencies = [
"cap-primitives",
"cap-std",
"io-lifetimes 3.0.1",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -853,7 +853,7 @@ dependencies = [
"maybe-owned",
"rustix 1.1.5",
"rustix-linux-procfs",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
"winx",
]
@@ -1772,7 +1772,7 @@ dependencies = [
"libc",
"option-ext",
"redox_users",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -2009,7 +2009,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -4164,7 +4164,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -5618,7 +5618,7 @@ dependencies = [
"once_cell",
"socket2",
"tracing",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6188,7 +6188,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.12.1",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6257,7 +6257,7 @@ dependencies = [
"security-framework 3.7.0",
"security-framework-sys",
"webpki-root-certs",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -6877,7 +6877,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
dependencies = [
"libc",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -7216,7 +7216,7 @@ dependencies = [
"getrandom 0.4.3",
"once_cell",
"rustix 1.1.5",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -7229,7 +7229,7 @@ dependencies = [
"parking_lot",
"rustix 1.1.5",
"signal-hook",
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
@@ -7639,13 +7639,14 @@ dependencies = [
[[package]]
name = "tinychannels"
-version = "0.1.29"
+version = "0.1.30"
dependencies = [
"anyhow",
"async-imap",
"async-trait",
"axum",
"base64 0.23.1",
+ "bytes",
"chrono",
"directories",
"futures",
@@ -7669,6 +7670,7 @@ dependencies = [
"thiserror 2.0.20",
"tinychannels-bus",
"tinychannels-runtime",
+ "tinystoragedrivers-core",
"tokio",
"tokio-rustls",
"tokio-tungstenite 0.30.0",
@@ -7685,7 +7687,7 @@ dependencies = [
[[package]]
name = "tinychannels-bus"
-version = "0.1.29"
+version = "0.1.30"
dependencies = [
"anyhow",
"async-trait",
@@ -7699,7 +7701,7 @@ dependencies = [
[[package]]
name = "tinychannels-runtime"
-version = "0.1.29"
+version = "0.1.30"
dependencies = [
"anyhow",
"async-trait",
@@ -9680,7 +9682,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.60.2",
+ "windows-sys 0.61.2",
]
[[package]]
diff --git a/crates/openhuman-core/src/channels/runtime/startup/callback.rs b/crates/openhuman-core/src/channels/runtime/startup/callback.rs
index 48e46b5530..ef877ddcd4 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/callback.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/callback.rs
@@ -6,7 +6,8 @@ use crate::config::Config;
use std::sync::{Arc, OnceLock, Weak};
use tinybus::{Error, Result};
use tinychannels_bus::{
- ChannelBackendRequest, ChannelBackendResult, HostEventPublication, HostTranscriptionRequest, HostTranscriptionResult,
+ ChannelBackendRequest, ChannelBackendResult, HostEventPublication, HostTranscriptionRequest,
+ HostTranscriptionResult,
};
use tokio::sync::mpsc;
diff --git a/crates/openhuman-core/src/channels/runtime/startup/delivery_import.rs b/crates/openhuman-core/src/channels/runtime/startup/delivery_import.rs
index f5efca8de2..0161797d63 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/delivery_import.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/delivery_import.rs
@@ -139,7 +139,8 @@ async fn import_into(docs: &Arc<dyn DocumentStore>, workspace: &Path) -> anyhow:
for (collection, id, doc) in records {
match docs.put(collection, &id, doc, Precondition::Absent).await {
Ok(_) => written += 1,
- Err(error) if matches!(error.kind(), ErrorKind::Conflict | ErrorKind::AlreadyExists) => {}
+ Err(error)
+ if matches!(error.kind(), ErrorKind::Conflict | ErrorKind::AlreadyExists) => {}
Err(error) => {
return Err(anyhow::anyhow!(
"write {collection} record: {:?}",
diff --git a/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs
index c1912f3b92..1af0fa9fad 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs
@@ -86,7 +86,9 @@ async fn the_import_runs_once_so_a_finished_delivery_is_not_resurrected() {
let docs = docs();
import_into(&docs, dir.path()).await.unwrap();
- docs.delete(PENDING, "p1", Precondition::None).await.unwrap();
+ docs.delete(PENDING, "p1", Precondition::None)
+ .await
+ .unwrap();
assert_eq!(
import_into(&docs, dir.path()).await.unwrap(),
Outcome::AlreadyDone
diff --git a/crates/openhuman-core/src/modules/storage_grant_tinychannels_tests.rs b/crates/openhuman-core/src/modules/storage_grant_tinychannels_tests.rs
index ae489f5bb0..e0856eb42a 100644
--- a/crates/openhuman-core/src/modules/storage_grant_tinychannels_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_grant_tinychannels_tests.rs
@@ -55,7 +55,12 @@ fn delivery_remote_and_whatsapp_collections_are_all_granted() {
#[test]
fn other_collections_and_the_host_import_marker_are_refused() {
- for other in ["approvals", "mcp_servers", "channels_host_import", "_secrets"] {
+ for other in [
+ "approvals",
+ "mcp_servers",
+ "channels_host_import",
+ "_secrets",
+ ] {
assert_eq!(
authorize(
&grant(),