Skip to content

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

chore(docs, scripts): update paths after crate rename from openhuman-core to openhuman-cli

Steven Enamakela64f830e11e7
diff --git a/crates/openhuman-core/src/platform/proc_metrics/README.md b/crates/openhuman-core/src/platform/proc_metrics/README.md
index 5d65814f49..5c17d5146a 100644
--- a/crates/openhuman-core/src/platform/proc_metrics/README.md
+++ b/crates/openhuman-core/src/platform/proc_metrics/README.md
@@ -47,7 +47,7 @@ are skipped with a stderr note rather than aborting the sample.
## Used by
-- `crates/openhuman-core/src/bin/rss_bench.rs` and `bin/library_profile/`
+- `crates/openhuman-cli/src/bin/rss_bench.rs` and `bin/library_profile/`
(feature `rss-bench`) — the RSS/memory benchmark binaries this module was
built for.
- [`docs/library-benchmarking.md`](../../../../../docs/library-benchmarking.md)
diff --git a/docs/README.md b/docs/README.md
index 82b84eceb2..52799f8359 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -32,7 +32,7 @@ Both are referenced from `.github/PULL_REQUEST_TEMPLATE.md`.
Resource-footprint work for the embeddable core. Drivers live in
`scripts/profile/`; the scenario binary is
-`crates/openhuman-core/src/bin/library_profile/main.rs` (`library-profile`,
+`crates/openhuman-cli/src/bin/library_profile/main.rs` (`library-profile`,
behind the `rss-bench` feature).
- `library-benchmarking.md` — the benchmark environment: scenarios, driver
diff --git a/docs/library-benchmarking.md b/docs/library-benchmarking.md
index 4b7ddcf97b..b86cf25d04 100644
--- a/docs/library-benchmarking.md
+++ b/docs/library-benchmarking.md
@@ -371,4 +371,4 @@ attribution + cap before real 1000-agent runs), and p95 latency at N=500 on
- The original profiling session write-up (deep attribution, cold-path CPU, library-design implications, recommended optimization order) was removed from the tree; see git history at `0017c58d86~1`.
- [`scripts/profile/README.md`](../scripts/profile/README.md) — script quick reference.
-- `crates/openhuman-core/src/bin/library_profile/main.rs` — the scenario implementations.
+- `crates/openhuman-cli/src/bin/library_profile/main.rs` — the scenario implementations.
diff --git a/gitbooks/developing/architecture/tauri-shell.md b/gitbooks/developing/architecture/tauri-shell.md
index 76d4322029..b5bfc8bf02 100644
--- a/gitbooks/developing/architecture/tauri-shell.md
+++ b/gitbooks/developing/architecture/tauri-shell.md
@@ -5,7 +5,7 @@ icon: desktop
# Tauri shell (`crates/openhuman-app/`)
-The desktop host for OpenHuman: Tauri v2 + WebView, IPC commands, window management, and bridging to the embedded `openhuman-core` Rust runtime (core JSON-RPC). It does **not** duplicate the full domain stack; that lives in `crates/openhuman-core` (library `openhuman_core`, CLI at `crates/openhuman-core/src/main.rs`).
+The desktop host for OpenHuman: Tauri v2 + WebView, IPC commands, window management, and bridging to the embedded `openhuman-core` Rust runtime (core JSON-RPC). It does **not** duplicate the full domain stack; that lives in `crates/openhuman-core` (library `openhuman_core`; the `openhuman-core` binary is `crates/openhuman-cli/src/main.rs`).
## Responsibilities
diff --git a/scripts/__tests__/coverage-presence.test.mjs b/scripts/__tests__/coverage-presence.test.mjs
index 67c7dd1d05..fce6de86fa 100644
--- a/scripts/__tests__/coverage-presence.test.mjs
+++ b/scripts/__tests__/coverage-presence.test.mjs
@@ -190,7 +190,7 @@ test("skips non-Rust paths, crate roots and src/bin", () => {
{
"src/lib.rs": WITH_FN,
"src/main.rs": WITH_FN,
- "crates/openhuman-core/src/bin/tool.rs": WITH_FN,
+ "crates/openhuman-cli/src/bin/tool.rs": WITH_FN,
"src/a/README.md": "# doc\n",
},
[],
@@ -198,7 +198,7 @@ test("skips non-Rust paths, crate roots and src/bin", () => {
"--files",
"src/lib.rs",
"src/main.rs",
- "crates/openhuman-core/src/bin/tool.rs",
+ "crates/openhuman-cli/src/bin/tool.rs",
"src/a/README.md",
],
);
diff --git a/scripts/ci/assert-coverage-presence.sh b/scripts/ci/assert-coverage-presence.sh
index 471b4ea876..a3fa399f73 100755
--- a/scripts/ci/assert-coverage-presence.sh
+++ b/scripts/ci/assert-coverage-presence.sh
@@ -188,9 +188,9 @@ eligible() {
base="$(basename "${f}")"
case "${f}" in *.rs) ;; *) return 1 ;; esac # non-Rust: assets, .md, fixtures
- case "${f}" in src/* | crates/openhuman-core/src/* | crates/openhuman-embed/src/* | crates/openhuman-tui/src/*) ;; *) return 1 ;; esac
+ case "${f}" in src/* | crates/openhuman-core/src/* | crates/openhuman-embed/src/* | crates/openhuman-tinyhumans/src/* | crates/openhuman-tui/src/*) ;; *) return 1 ;; esac
[ -f "${f}" ] || return 1 # deleted / renamed-away
- case "${f}" in src/lib.rs | src/main.rs | src/bin/* | crates/openhuman-core/src/lib.rs | crates/openhuman-core/src/main.rs | crates/openhuman-core/src/bin/* | crates/openhuman-tui/src/lib.rs | crates/openhuman-tui/src/main.rs) return 1 ;; esac
+ case "${f}" in src/lib.rs | src/main.rs | src/bin/* | crates/openhuman-core/src/lib.rs | crates/openhuman-cli/src/main.rs | crates/openhuman-cli/src/bin/* | crates/openhuman-tinyhumans/src/lib.rs | crates/openhuman-tui/src/lib.rs | crates/openhuman-tui/src/main.rs) return 1 ;; esac
# Test-only sources. We do not demand coverage OF test code, and a test file
# only ever appears in the lcov as a side effect of its own execution.
case "${base}" in *_tests.rs | *_test.rs | tests.rs | test.rs | test_support.rs) return 1 ;; esac
diff --git a/scripts/profile/README.md b/scripts/profile/README.md
index d4e274b1d2..c23dc296fb 100644
--- a/scripts/profile/README.md
+++ b/scripts/profile/README.md
@@ -2,7 +2,7 @@
Reproducible benchmarking scripts for the OpenHuman Rust core as an embedded
library (no RPC server), built around the `library-profile` and `rss-bench`
-binaries (see `crates/openhuman-core/src/bin/library_profile/main.rs`).
+binaries (see `crates/openhuman-cli/src/bin/library_profile/main.rs`).
Five driver scripts: `library-bench.sh` (per-scenario RSS/duration),
`library-cpu.sh` (samply), `library-heap.sh` (dhat), `library-fleet.sh`
diff --git a/scripts/profile/library-bench.sh b/scripts/profile/library-bench.sh
index 24d9681808..bbbdfef2c1 100755
--- a/scripts/profile/library-bench.sh
+++ b/scripts/profile/library-bench.sh
@@ -31,7 +31,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
# The scenarios `library-profile` actually dispatches — keep in sync with
-# `crates/openhuman-core/src/bin/library_profile/scenarios/mod.rs`, which is the source of truth.
+# `crates/openhuman-cli/src/bin/library_profile/scenarios/mod.rs`, which is the source of truth.
#
# This list had drifted before openhuman#6161 touched it: `subagents` and
# `subconscious` are named here and neither has been a scenario for some time
diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.sh
index 1edf95a4bd..ccee6e3143 100755
--- a/scripts/test-rust-with-mock.sh
+++ b/scripts/test-rust-with-mock.sh
@@ -71,7 +71,7 @@ fi
# contributor set. Without them the four `required-features` integration
# targets (json_rpc_e2e, raw_coverage_all, observability_smoke,
# x402_twit_sh_live) are silently SKIPPED and the run still exits 0 — the same
-# trap `--features bin-tools` already guards for the `crates/openhuman-core/src/bin/` targets.
+# trap `--features bin-tools` already guards for the `crates/openhuman-cli/src/bin/` targets.
# Source of truth: scripts/ci/product-features.txt.
PRODUCT_FEATURES="$(bash "$REPO_ROOT/scripts/ci/product-features.sh")"