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
5 changes: 0 additions & 5 deletions .cargo/config.toml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ We may squash commits when merging to keep history clean.

## License

By contributing, you agree that your contributions will be licensed under the [MIT License](LICENSE). Copyright (c) 2026 Tiny Humans Intelligence Inc.
By contributing, you agree that your contributions will be licensed under the [GNU General Public License v3.0](LICENSE). Copyright (c) 2026 Tiny Humans Intelligence Inc.

---

Expand Down
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.

23 changes: 8 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# The engine crate is also the workspace root so `api/` is never an orphan
# package: `cargo fmt --all`, `cargo check`, and `cargo test` from this
# directory cover the stable-contract crate too. `vendor/` is excluded so the
# nested TinyAgents submodule (reached through the `[patch.crates-io]` path
# below) is not pulled in as an implicit member.
# vendored dependencies are not pulled in as implicit members.
[workspace]
members = [".", "api"]
# `default-members` would otherwise fall back to the root package alone (this is
Expand All @@ -24,7 +23,7 @@ name = "tinycortex"
publish = false
version = "0.1.1"
edition = "2021"
license = "MIT"
license = "GPL-3.0-only"
repository = "https://github.com/tinyhumansai/tinycortex"
description = "Rust core for the TinyCortex memory system"
readme = "README.md"
Expand Down Expand Up @@ -118,11 +117,11 @@ serde_json = "1"
schemars = "1"
sha2 = "0.10"
thiserror = "2"
# Kept in lockstep with OpenHuman's vendored TinyAgents checkout. Standalone
# development resolves this requirement to `vendor/tinyagents` through
# `.cargo/config.toml`; embedding hosts may supply their own crates.io patch so
# the host and TinyCortex share one `EmbeddingModel` trait identity.
tinyagents = "2.1"
# Provider-neutral inference contracts. Pinned until TinyInference is
# published; embedding hosts may patch this exact git source so the host and
# TinyCortex share one `EmbeddingModel` trait identity without pulling in an
# agent runtime.
tinyinference = { git = "https://github.com/tinyhumansai/tinyinference", rev = "cc8aca484bb995fbab3b7358f0d72ab5056b587c" }
# The stable contract crate (value types, error enum, `Memory` trait). Declared
# as a path dependency, not a registry requirement, so embedding hosts resolve
# it through this checkout without needing their own `[patch.crates-io]` entry.
Expand Down Expand Up @@ -196,12 +195,6 @@ tempfile = "3"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] }
wiremock = "0.6"

# Standalone TinyCortex development still uses the pinned nested submodule.
# Cargo ignores dependency-local patches when TinyCortex is consumed by a host,
# allowing that host's crates.io patch to select its canonical TinyAgents copy.
[patch.crates-io]
tinyagents = { path = "vendor/tinyagents" }

[[test]]
name = "composio_sync_mock"
required-features = ["sync"]
Expand All @@ -221,7 +214,7 @@ required-features = ["persona", "providers-http", "git-diff"]
name = "persona_harness"
required-features = ["persona", "providers-http", "git-diff"]

# Persona decision agent: algorithmic BM25 retrieval + a tinyagents LLM pass
# Persona decision assistant: algorithmic BM25 retrieval + a TinyInference LLM pass
# over the distilled persona memory layer (doc 06 follow-on).
# `OPENROUTER_API_KEY=... cargo run --example persona_agent --features persona -- "<question>"`
[[example]]
Expand Down
Loading