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
117 changes: 69 additions & 48 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ exclude = ["worktrees", "vendor/tinybus"]

# Pin unpublished module APIs to a source available in non-recursive clones and archives.
[patch.crates-io]
tinybus = { git = "https://github.com/tinyhumansai/tinybus", rev = "0de2d283f35cbbff08efad6fbe05537ffb74611b" }
tinybus-module = { git = "https://github.com/tinyhumansai/tinybus", rev = "0de2d283f35cbbff08efad6fbe05537ffb74611b" }
tinybus = { git = "https://github.com/tinyhumansai/tinybus", rev = "6ce06bc674e4f4d718aa51e643ef62c1f372e270" }
tinybus-module = { git = "https://github.com/tinyhumansai/tinybus", rev = "6ce06bc674e4f4d718aa51e643ef62c1f372e270" }

[workspace.package]
edition = "2024"
Expand Down
10 changes: 5 additions & 5 deletions crates/tinyflows-adaptive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ thiserror = "2"
# revision so a host that vendors tinystoragedrivers once can `[patch]` it; chrono
# turns the RFC 3339 instants of the records into the stored `*_ms`; tokio's
# `OnceCell` for one-time collection setup.
tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.0", rev = "05eaada962decbab33bafa4763d2bd1a67f6b456", optional = true }
tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.0", rev = "05eaada962decbab33bafa4763d2bd1a67f6b456", optional = true }
tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.1", rev = "bf1f0a97fbe6165a6edd9521659c7f6859700761", optional = true }
tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.1", rev = "bf1f0a97fbe6165a6edd9521659c7f6859700761", optional = true }
tinyflows-storage = { path = "../tinyflows-storage", optional = true }
chrono = { version = "0.4", default-features = false, features = ["std"], optional = true }
tracing = { version = "0.1", default-features = false, features = ["std"], optional = true }
Expand All @@ -41,9 +41,9 @@ tinyflows = { path = "../tinyflows", features = ["store", "mock"] }
# The engine's `WorkflowStore` on an in-memory storage backend, for tests and
# the eval example.
tinyflows-drivers = { path = "../tinyflows-drivers", default-features = false, features = ["store"] }
tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.0", rev = "05eaada962decbab33bafa4763d2bd1a67f6b456" }
tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.0", rev = "05eaada962decbab33bafa4763d2bd1a67f6b456" }
tinystoragedrivers-testkit = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.0", rev = "05eaada962decbab33bafa4763d2bd1a67f6b456" }
tinystoragedrivers-api = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.1", rev = "bf1f0a97fbe6165a6edd9521659c7f6859700761" }
tinystoragedrivers-types = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.1", rev = "bf1f0a97fbe6165a6edd9521659c7f6859700761" }
tinystoragedrivers-testkit = { git = "https://github.com/tinyhumansai/tinystoragedrivers", version = "2.1.1", rev = "bf1f0a97fbe6165a6edd9521659c7f6859700761" }
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] }

[lints.rust]
Expand Down
6 changes: 3 additions & 3 deletions crates/tinyflows-adaptive/src/evals/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
//! six" is compatible with the ledger being decorative. What answers it is a
//! **family** of related tasks, run twice in the same order, where the only
//! difference between the runs is whether anything survives between episodes —
//! and the number to read is the [`Series::slope`]: attempts-to-success
//! and the number to read is the `Series::slope`: attempts-to-success
//! falling as the family progresses.
//!
//! Two pieces, because that experiment needs two things this crate did not
//! have:
//!
//! * [`slope`] — the measurement. `Episode`, two arms, the slope, and a
//! * `slope` — the measurement. `Episode`, two arms, the slope, and a
//! comparison that refuses to call a bend a win unless the arm also
//! converges.
//! * [`arms`] — the control. A loop with learning off is not a loop with its
//! * `arms` — the control. A loop with learning off is not a loop with its
//! ledger removed; [`Forgetful`] blanks the cross-episode reads and leaves
//! the within-episode ones, which is the difference under test.
//!
Expand Down
6 changes: 3 additions & 3 deletions crates/tinyflows-bus/src/node_kinds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
//! schema.
//!
//! A node's `config` is free-form
//! [`serde_json::Value`](serde_json::Value): each executor reads the keys it
//! [`serde_json::Value`]: each executor reads the keys it
//! needs at run time, so the per-kind config *shape* was, until now, documented
//! only in prose in downstream hosts. This module makes that shape a typed,
//! host-agnostic **source of truth** — one [`NodeKindContract`] per node kind — so a host (or an agent authoring a
//! host-agnostic **source of truth** — one `NodeKindContract` per node kind — so a host (or an agent authoring a
//! graph) can enumerate the kinds and fetch one kind's config fields, ports, an
//! example node, and the authoring gotchas without reading a prompt.
//!
Expand Down Expand Up @@ -107,7 +107,7 @@ impl ConfigField {
}

/// The input/output ports a node exposes. Routing is keyed exclusively on the
/// source node's `from_port` (see [`crate::validate`]'s condition-routing
/// source node's `from_port` (see `crate::validate`'s condition-routing
/// check), so the output-port list is what an author wires branch edges onto.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct PortSpec {
Expand Down
Loading
Loading