Skip to content

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

chore(deps): update tinyagents to 2.1.3 and tinydocs to 0.1.21

Steven Enamakel9bf388ac81ab
diff --git a/.sdd-progress.md b/.sdd-progress.md
index abcf01b720..f7d20b3c5c 100644
--- a/.sdd-progress.md
+++ b/.sdd-progress.md
@@ -44,3 +44,7 @@ Logs: `target/debug-logs/issue-6964/` (ignored). Root changed-line coverage has
## Publication condition
The pinned TinyDocs 0.1.20 native artifact lacks the new extraction/render members. The host preserves artifact admission and explicitly reports unavailable Office/scanned-PDF fallback capabilities while keeping originals accessible; legacy PDF text extraction and native provider PDFs remain usable. The root PR must remain a dependency-blocked draft until a published TinyDocs artifact exposes the new methods and its published checksums are pinned. No replacement release pins are fabricated from local builds.
+
+## Authorized merge and release follow-up
+
+User explicitly authorized Luna babysitting, child PR merges, dependency releases/publishing, and pointer updates. Luna agents own TinyInference #61, TinyAgents #302, and TinyDocs #25. TinyAgents final merge waits for the merged TinyInference pointer. TinyDocs new native release must publish trusted checksums before root pins are updated. Root integrated upstream/main in merge d9dbaff3a4; layout passes. Fresh review recovery uses TinySweeper Manual full review workflow. Do not squash history or fabricate release pins.
diff --git a/Cargo.lock b/Cargo.lock
index 8a2f49ab11..3816dc9c97 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6427,7 +6427,7 @@ dependencies = [
[[package]]
name = "tinyagents-definition"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"async-trait",
"serde",
@@ -6435,7 +6435,7 @@ dependencies = [
[[package]]
name = "tinyagents-graph"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -6452,7 +6452,7 @@ dependencies = [
[[package]]
name = "tinyagents-harness"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -6490,7 +6490,7 @@ dependencies = [
[[package]]
name = "tinyagents-orchestration"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -6511,7 +6511,7 @@ dependencies = [
[[package]]
name = "tinyagents-registry"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"chrono",
@@ -6525,7 +6525,7 @@ dependencies = [
[[package]]
name = "tinyagents-runtime"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"async-trait",
"chrono",
@@ -6543,7 +6543,7 @@ dependencies = [
[[package]]
name = "tinyagents-session"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -6768,7 +6768,7 @@ dependencies = [
[[package]]
name = "tinydocs-bus"
-version = "0.1.20"
+version = "0.1.21"
dependencies = [
"serde",
"thiserror 2.0.20",
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 8f853ed85c..857b051133 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -7113,7 +7113,7 @@ dependencies = [
[[package]]
name = "tinyagents-definition"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"async-trait",
"serde",
@@ -7121,7 +7121,7 @@ dependencies = [
[[package]]
name = "tinyagents-graph"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -7138,7 +7138,7 @@ dependencies = [
[[package]]
name = "tinyagents-harness"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -7176,7 +7176,7 @@ dependencies = [
[[package]]
name = "tinyagents-orchestration"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -7197,7 +7197,7 @@ dependencies = [
[[package]]
name = "tinyagents-registry"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"chrono",
@@ -7211,7 +7211,7 @@ dependencies = [
[[package]]
name = "tinyagents-runtime"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"async-trait",
"chrono",
@@ -7229,7 +7229,7 @@ dependencies = [
[[package]]
name = "tinyagents-session"
-version = "2.1.2"
+version = "2.1.3"
dependencies = [
"anyhow",
"async-trait",
@@ -7468,7 +7468,7 @@ dependencies = [
[[package]]
name = "tinydocs-bus"
-version = "0.1.20"
+version = "0.1.21"
dependencies = [
"serde",
"thiserror 2.0.20",
diff --git a/crates/openhuman-core/src/agent/attachments/README.md b/crates/openhuman-core/src/agent/attachments/README.md
index 71fbbd4dba..bfb2a0ea69 100644
--- a/crates/openhuman-core/src/agent/attachments/README.md
+++ b/crates/openhuman-core/src/agent/attachments/README.md
@@ -92,12 +92,11 @@ retain the source references so later requests can reevaluate routing.
## Published document capability
-The currently pinned TinyDocs `0.1.20` artifact predates `ExtractDocument` and
-`RenderPdf`. The host gates these calls until a published module and its verified
-registry checksums expose the new methods. The published legacy PDF text-layer
-reader remains usable. Office extraction and scanned-page rendering report
-unavailability and keep the original path; compiling the new contract alone
-does not make these operations available at runtime.
+The pinned TinyDocs `0.1.21` release exposes `ExtractDocument` and `RenderPdf`.
+Its source tag and all 11 platform archive digests match the published release
+manifest. Office extraction, PDF text extraction, and bounded scanned-page
+rendering use this native module through the shared bus contract. A disabled or
+unavailable module leaves the original workspace path available to tools.
TinyDocs is an in-process native module. Input, section, text, page, pixel, and
output bounds constrain the work exposed by the intake contract, but do not
diff --git a/crates/openhuman-core/src/modules/documents_tests.rs b/crates/openhuman-core/src/modules/documents_tests.rs
index 3d47a76c03..885b148076 100644
--- a/crates/openhuman-core/src/modules/documents_tests.rs
+++ b/crates/openhuman-core/src/modules/documents_tests.rs
@@ -126,6 +126,21 @@ async fn a_disabled_host_reports_unavailable_without_starting_a_broker() {
super::extract_text(&config, b"%PDF-1.4\n").await,
Err(DocumentCallError::Unavailable(_))
));
+ let extraction = tinydocs_bus::ExtractDocumentSpec::new(tinydocs_bus::DocumentFormat::Pdf);
+ assert!(matches!(
+ super::extract_document(&config, b"%PDF-1.4\n", &extraction).await,
+ Err(DocumentCallError::Unavailable(_))
+ ));
+ let rendering = tinydocs_bus::RenderPdfSpec {
+ pages: vec![1],
+ max_dimension: 256,
+ max_total_pixels: 65_536,
+ max_output_bytes: 1_048_576,
+ };
+ assert!(matches!(
+ super::render_pdf(&config, b"%PDF-1.4\n", &rendering).await,
+ Err(DocumentCallError::Unavailable(_))
+ ));
}
#[test]
@@ -166,9 +181,7 @@ fn every_member_this_client_calls_is_one_the_contract_declares() {
}
#[test]
-fn pinned_release_reports_intake_unavailable_without_loading() {
- assert_eq!(registry::find(MODULE_ID).unwrap().version, "0.1.20");
- assert!(
- matches!(intake_available(),Err(DocumentCallError::Unavailable(message)) if message.contains("pinned TinyDocs release"))
- );
+fn pinned_release_exposes_intake_without_loading() {
+ assert_eq!(registry::find(MODULE_ID).unwrap().version, "0.1.21");
+ assert!(intake_available().is_ok());
}
diff --git a/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs b/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs
index b2d32bc70c..61c4d5f39a 100644
--- a/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs
+++ b/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs
@@ -2,72 +2,72 @@
use crate::modules::types::{LoadPolicy, ModuleRecord, PlatformAsset};
-/// The `tinydocs` module: `.docx` / `.pptx` synthesis and `.pdf` extraction.
+/// The `tinydocs` module: document synthesis, bounded extraction, and PDF rendering.
///
/// Lazy, because a user who never asks for a document should not pay a download,
/// a `dlopen`, and the resident cost of a library that is never unloaded.
pub(crate) const TINYDOCS: ModuleRecord = ModuleRecord {
id: "tinydocs",
- description: "Document synthesis (.docx, .pptx) and PDF text extraction",
+ description: "Document synthesis, Office/PDF extraction, and PDF rendering",
bus_name: "ai.tinyhumans.tinydocs.Documents",
object_path: "/ai/tinyhumans/tinydocs/Documents",
- version: "0.1.20",
- release_url: "https://github.com/tinyhumansai/tinydocs/releases/tag/v0.1.20",
+ version: "0.1.21",
+ release_url: "https://github.com/tinyhumansai/tinydocs/releases/tag/v0.1.21",
assets: &[
PlatformAsset {
host_key: "ubuntu-24.04-x86_64",
- archive: "tinydocs-module-0.1.20-ubuntu-24.04-x86_64.tar.gz",
- sha256: "685885800efa9d378032dd868243adcd08110fa1040b3855393d68bb0d7a8474",
+ archive: "tinydocs-module-0.1.21-ubuntu-24.04-x86_64.tar.gz",
+ sha256: "2c8fef199f0eeaf127036f6f5612fe170792e6817f9ba2ef3d61d80488ae05b8",
},
PlatformAsset {
host_key: "ubuntu-24.04-arm64",
- archive: "tinydocs-module-0.1.20-ubuntu-24.04-arm64.tar.gz",
- sha256: "af589669ea697585f7e815c59188c7c382173ffad9a37c4f7adf8641d3e13760",
+ archive: "tinydocs-module-0.1.21-ubuntu-24.04-arm64.tar.gz",
+ sha256: "0870f6cf81c86799a388c2426d7fdd2c4ec96139c970eae0d20a05eb3b9bd811",
},
PlatformAsset {
host_key: "ubuntu-22.04-x86_64",
- archive: "tinydocs-module-0.1.20-ubuntu-22.04-x86_64.tar.gz",
- sha256: "86d358b2c497e92082e46a012bef6d09e9420a37347023bcfbe94bb25b6c4a45",
+ archive: "tinydocs-module-0.1.21-ubuntu-22.04-x86_64.tar.gz",
+ sha256: "ed7676ca4d4493fe859008a8de2a11e7eca6be53e5c62e733754bea301fef948",
},
PlatformAsset {
host_key: "ubuntu-22.04-arm64",
- archive: "tinydocs-module-0.1.20-ubuntu-22.04-arm64.tar.gz",
- sha256: "1afe105f4c11992c0a2c2c1be314a7409964a319301a9ba9074bf5b14ae5bc72",
+ archive: "tinydocs-module-0.1.21-ubuntu-22.04-arm64.tar.gz",
+ sha256: "96978386c0493227056e17a14c6df4b140a7198ad5b3b7bed036c3a420eb3473",
},
PlatformAsset {
host_key: "macos-26-arm64",
- archive: "tinydocs-module-0.1.20-macos-26-arm64.tar.gz",
- sha256: "c3984b10ccdfc2bd08a898da85c9a97a22dbaa70a7ead07ed69bea9322d9546d",
+ archive: "tinydocs-module-0.1.21-macos-26-arm64.tar.gz",
+ sha256: "39aecf4e47692c8174fcd84aeff5c722a39ca895152f7434609585d47a65ae39",
},
PlatformAsset {
host_key: "macos-26-x86_64",
- archive: "tinydocs-module-0.1.20-macos-26-x86_64.tar.gz",
- sha256: "e5540064198d081d1b318cc77f4879dd082ac9aabcf5cf68513b782e2a9c6b4a",
+ archive: "tinydocs-module-0.1.21-macos-26-x86_64.tar.gz",
+ sha256: "6f31f6788c1935bf1c5119967c2e0fd1162069ea68b91408ec0eafd7c6443ecc",
},
PlatformAsset {
host_key: "macos-15-arm64",
- archive: "tinydocs-module-0.1.20-macos-15-arm64.tar.gz",
- sha256: "dd919b6cfd5dc791807fef558cae2f10faa26f463d6f151b8a5c7578b6375a7b",
+ archive: "tinydocs-module-0.1.21-macos-15-arm64.tar.gz",
+ sha256: "1aa05dd7b93c48a44a0639fca5c37dfdce9eae7fe8e6258f0fb065aa3b487b88",
},
PlatformAsset {
host_key: "macos-15-x86_64",
- archive: "tinydocs-module-0.1.20-macos-15-x86_64.tar.gz",
- sha256: "eeccb271aac7549c1b18ee8cfec8a3f78cdb5bd4363814d45f42d6a333db10f5",
+ archive: "tinydocs-module-0.1.21-macos-15-x86_64.tar.gz",
+ sha256: "6dc9c7c957333f32ccac0915b5c8a3858c09200cc86c38a43553f5d0568374d0",
},
PlatformAsset {
host_key: "windows-2025-x86_64",
- archive: "tinydocs-module-0.1.20-windows-2025-x86_64.zip",
- sha256: "aaab0cb81ad847faa400091de586e007b3cd06b854c4d4059310f489383b5be1",
+ archive: "tinydocs-module-0.1.21-windows-2025-x86_64.zip",
+ sha256: "2bc315852500b9c29ffdb3be5165237efc88b3e72b5837c3a9461be482ed9b93",
},
PlatformAsset {
host_key: "windows-2022-x86_64",
- archive: "tinydocs-module-0.1.20-windows-2022-x86_64.zip",
- sha256: "3b40bac38727ecddaee661914e23560ea04513ce4eec8d2aa95b595de35c51f7",
+ archive: "tinydocs-module-0.1.21-windows-2022-x86_64.zip",
+ sha256: "cdb8508bad98e4d4d9ea5679d23d2f7338074e8d43721f46d823703a0b563ea5",
},
PlatformAsset {
host_key: "windows-11-arm64",
- archive: "tinydocs-module-0.1.20-windows-11-arm64.zip",
- sha256: "2829d11cdfbc790f9b45f6f5c7fd817a613080c3dca21aee27160afef455ddfb",
+ archive: "tinydocs-module-0.1.21-windows-11-arm64.zip",
+ sha256: "9f50540ff448715ece3592b203c4925319d9a8eed2c72aed9eb6797c0b89441b",
},
],
load: LoadPolicy::Lazy,
diff --git a/vendor/tinyagents b/vendor/tinyagents
index d0a9a457bc..efea56c31d 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit d0a9a457bcc0bfdbb9f4b75378a57fc3d0a7bea7
+Subproject commit efea56c31de684c2b408e7395e0655f9e4935b44
diff --git a/vendor/tinydocs b/vendor/tinydocs
index 6b73144732..7bec4165d9 160000
--- a/vendor/tinydocs
+++ b/vendor/tinydocs
@@ -1 +1 @@
-Subproject commit 6b73144732db63146718658d00ce4006cec9fbc3
+Subproject commit 7bec4165d9838550b7c21ded7943f7aff7d53817