Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
b57eb0f
chore: remove unused generated tool runtime policy and related code
senamakel Sep 30, 2026
43bf43a
fix(tests): correct raw coverage test for erased host extension
senamakel Sep 30, 2026
da7c150
docs(tools): add README files and restructure browser and system modules
senamakel Sep 30, 2026
279a4b6
fix(docs): remove `insert_sql_record` from system utilities table
senamakel Sep 30, 2026
cc1ee6d
feat(media): add image generation module with prompt and view types
senamakel Sep 30, 2026
aa78ee0
docs(media): add README for media module
senamakel Sep 30, 2026
c31ab75
fix(provider): correct schema field name for model parameter
senamakel Sep 30, 2026
2ba75af
chore(deps): update vendor/tinyflows subproject commit
senamakel Sep 30, 2026
498d8f6
fix(json_schema): handle optional fields in composio tool contracts
senamakel Sep 30, 2026
011647a
fix(composio): correct catalog probe to use the new module path
senamakel Sep 30, 2026
1d15750
docs(tinyagents): add abort guard module and update module documentation
senamakel Sep 30, 2026
f098bb0
feat(agent): add stop hooks for runtime session lifecycle
senamakel Sep 30, 2026
11c6a1a
fix(agent): correct stop hook test to verify hook execution order
senamakel Sep 30, 2026
f55aca5
fix(agent): restore delegation journal entry on agent handoff
senamakel Sep 30, 2026
37363b3
chore(deps): update vendor/tinyflows subproject commit
senamakel Sep 30, 2026
94f0e59
feat(agent): add support for multimodal message handling
senamakel Sep 30, 2026
6c9541a
chore(deps): update tinymemory vendor dependency
senamakel Sep 30, 2026
12e9517
docs(observability): add README and restructure observability module
senamakel Sep 30, 2026
23e531c
fix(ops): handle empty row set in run_rows operation
senamakel Sep 30, 2026
5b608a7
chore(core): remove outdated README and relocate rpc_log tests
senamakel Sep 30, 2026
d5da523
fix(rpc_log): correct log level for successful RPC responses
senamakel Sep 30, 2026
5fbe505
fix(registry): handle missing source in graph read RPC
senamakel Sep 30, 2026
d592573
fix(config): correct sandbox config operation path
senamakel Sep 30, 2026
bd7ba72
chore(deps): add tinyflows vendor dependency
senamakel Sep 30, 2026
e280776
chore(deps): update vendor/tinyconnectors subproject commit
senamakel Sep 30, 2026
6751762
chore(deps): update tinyflows dependency to latest version
senamakel Sep 30, 2026
6341452
chore(deps): update tinymemory submodule
senamakel Sep 30, 2026
03de4df
chore(deps): update vendor/tinyconnectors subproject commit
senamakel Sep 30, 2026
7d1c8c8
fix(cron): correct job scheduling to respect floor time constraints
senamakel Sep 30, 2026
e236abb
fix(store): correct cron store to persist schedule on update
senamakel Sep 30, 2026
a3c607c
chore(core): add tinyconnectors as a direct dependency
senamakel Sep 30, 2026
af006a3
chore: files changed crates/openhuman-core/src/flows/tinyflows/caps/m…
senamakel Sep 30, 2026
ee70050
feat(dedup-commit): delegate commit/release logic to tinyflows-schedule
senamakel Sep 30, 2026
85302dd
chore(deps): update tinymemory vendor reference
senamakel Sep 30, 2026
ac0f13c
chore(openhuman-core): add missing Cargo.toml file
senamakel Sep 30, 2026
b8118ac
feat(openhuman-core): add tinyconnectors dependency and update vendor
senamakel Sep 30, 2026
946ba45
refactor: remove unused imports across multiple modules
senamakel Sep 30, 2026
ac0e8e3
fix(guard): correct audit log entry for policy violations
senamakel Sep 30, 2026
5ebc824
refactor(guard): reorganise memory guard module into family‑based sub…
senamakel Sep 30, 2026
d3d7555
chore(composio): remove unused error mapping, argument preparation, a…
senamakel Sep 30, 2026
a82bc57
refactor(composio): replace internal module paths with tinyconnectors…
senamakel Sep 30, 2026
ddff92c
chore(composio): remove deprecated trigger history and argument prepa…
senamakel Sep 30, 2026
9fe23ed
chore(deps): update vendor/tinyflows submodule
senamakel Sep 30, 2026
42f331a
fix(tinyflows): correct test assertion for edge case
senamakel Sep 30, 2026
d7d377f
fix(network): correct gate host resolution to use hostname instead of IP
senamakel Sep 30, 2026
a2b4827
chore: files changed crates/openhuman-core/src/tools/impl/browser/ima…
senamakel Sep 30, 2026
f6af7a5
feat(caps): add new agent and prompt capability modules
senamakel Sep 30, 2026
968224f
fix(ops): correct domain family test for HTTP flow caps
senamakel Sep 30, 2026
7c0dfc2
refactor(triage): replace inline trailing-comma fix with shared utility
senamakel Sep 30, 2026
ed75ded
chore(vendor): update tinyflows dependency
senamakel Sep 30, 2026
d83b56d
refactor(memory): extract in-memory providers to tinymemory-conforman…
senamakel Sep 30, 2026
329f7ce
docs(composio): update README to reflect refactored module locations
senamakel Sep 30, 2026
b31e486
chore(deps): update openhuman-core Cargo.toml
senamakel Sep 30, 2026
afbf7f6
feat(caps): add structured output and tier gate support to agent and …
senamakel Sep 30, 2026
f3f8209
chore(ci): add tinyconnectors to module-pin-exemptions
senamakel Sep 30, 2026
c5a435b
feat(memory): add fallback guard for auto-recall memory operations
senamakel Sep 30, 2026
e5e2ab9
chore(deps): update Cargo.lock with new dependencies
senamakel Sep 30, 2026
3639fa2
chore(host): reformat test assertions and remove unused import
senamakel Sep 30, 2026
e2ffa64
feat(caps): delegate prompt helpers to upstream agent_prompt module
senamakel Sep 30, 2026
8816fae
refactor(flows): remove unused workflow summary and helper functions
senamakel Sep 30, 2026
10935a2
test(tools): remove obsolete config_hint truncation tests
senamakel Sep 30, 2026
51e3a70
fix(memory): add missing import for GuardPolicy
senamakel Sep 30, 2026
d55e6c1
fix(flows): handle missing builder tool persistence gracefully
senamakel Sep 30, 2026
c612132
chore(security): add egress README and bypass allowlist tests
senamakel Sep 30, 2026
068923b
docs(memory): add README for memory module
senamakel Sep 30, 2026
d3e237c
fix(flows): restore missing tool persistence module
senamakel Sep 30, 2026
8a4ad1e
fix(flows): correct dry run diagnostics for draft id tests
senamakel Sep 30, 2026
5250e34
chore(flows): remove outdated README and dry_run module
senamakel Sep 30, 2026
3f1aa42
chore(deps): clean up import formatting and remove trailing whitespace
senamakel Sep 30, 2026
f8ca683
chore(ci): update baseline and layout check after removing two entries
senamakel Sep 30, 2026
cdc0bfb
chore(flows): remove stale comments and reorder import
senamakel Sep 30, 2026
2bb5daf
fix(caps): handle missing tinyflows vendor directory
senamakel Sep 30, 2026
4d9b303
chore(deps): update tinyflows vendor dependency
senamakel Sep 30, 2026
19eae54
chore(deps): update Cargo.lock for new dependencies
senamakel Sep 30, 2026
f08e5fa
chore(deps): update tinyflows vendor dependency
senamakel Sep 30, 2026
628499e
chore: files changed crates/openhuman-core/src/tools/impl/network/hos…
senamakel Sep 30, 2026
ab37ea8
chore(bypass_allowlist): remove stale allowlist entry for ingest_and_…
senamakel Sep 30, 2026
c209177
chore(flows): reorganize test files and remove duplicate test modules
senamakel Sep 30, 2026
e5e51f5
chore(web3): add README files for web3 and x402 modules
senamakel Sep 30, 2026
ae3895c
docs(flows): add README files for flows and tinyflows modules
senamakel Sep 30, 2026
5b1d528
docs(flows): add README documentation for cron and tinyflows modules
senamakel Sep 30, 2026
6f5f541
chore(ci): update tinymemory pin exemption to v1.18.0-17-g2ad4c128
senamakel Sep 30, 2026
7c0d8c2
chore(deps): update tinyagents subproject commit
senamakel Sep 30, 2026
c133b7c
chore(deps): update Cargo.lock for new tinyconnectors dependency and …
senamakel Sep 30, 2026
d30c461
chore(ci): update ignored test baseline count
senamakel Sep 30, 2026
2b60f5b
fix(ci): update legacy line limit for tools/ops.rs
senamakel Sep 30, 2026
5e43961
docs(tools): drop README rows for removed dead modules
senamakel Sep 30, 2026
0ac711e
chore(deps): update tinyflows submodule
senamakel Sep 30, 2026
7102bfd
chore: files changed crates/openhuman-core/src/flows/ops.rs,crates/op…
senamakel Sep 30, 2026
85292f7
chore(ci): remove flows/mod.rs from gated test allowlist
senamakel Sep 30, 2026
e777bbb
chore(deps): add tinymemory-conformance and tinymemory-guard dependen…
senamakel Sep 30, 2026
334ea42
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
d828e0a
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
9dbf004
chore(deps): update vendor subproject commit for tinybox
senamakel Sep 30, 2026
e0d3d83
chore(tinymemory): update subproject commit
senamakel Sep 30, 2026
7b50946
chore(vendor): update tinybox subproject commit
senamakel Sep 30, 2026
8048b7c
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
da6870b
refactor(security): replace vendored shell-parsing with tinybox_core:…
senamakel Sep 30, 2026
b7323ab
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
d12a296
chore(deps): update vendor/tinybox subproject commit
senamakel Sep 30, 2026
ba0f6eb
chore(deps): update vendor dependency tinybus
senamakel Sep 30, 2026
4f97e89
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
380a4a3
feat(core): add PII detection and sanitization module
senamakel Sep 30, 2026
8a820d5
chore(deps): add tinymemory-safety crate to workspace
senamakel Sep 30, 2026
a5b30a0
chore(openhuman-app): add tinyflows-schedule dependency
senamakel Sep 30, 2026
c854ee2
chore: bump version to 0.64.8
senamakel Sep 30, 2026
48d6ea4
chore(deps): update vendor/tinybus subproject commit
senamakel Sep 30, 2026
420b8f5
refactor(modules): move platform candidate logic into tinybus
senamakel Sep 30, 2026
48e2344
refactor(ops): consolidate imports for host_candidates
senamakel Sep 30, 2026
106e59e
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
412b308
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
4d41e21
fix(ops): correct test assertion for registry module
senamakel Sep 30, 2026
a1f27fb
refactor(memory-sources): extract reconcile helpers into tinymemory-s…
senamakel Sep 30, 2026
53bc7a5
fix: add missing module-level doc comment in reconcile.rs
senamakel Sep 30, 2026
11466a2
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
78b4ee9
chore: files changed vendor/tinyjuice
senamakel Sep 30, 2026
aa8302c
refactor(memory): replace local reader adapters with re-exports from …
senamakel Sep 30, 2026
f07535f
fix(tests): update e2e coverage tests to pass workspace_dir instead o…
senamakel Sep 30, 2026
cead89f
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
ab984c3
chore: files changed vendor/tinyjuice
senamakel Sep 30, 2026
6e68506
chore(deps): update vendor/tinyjuice subproject commit
senamakel Sep 30, 2026
43509e5
feat(tokenjuice): add focus and generate modules with tool output ret…
senamakel Sep 30, 2026
8eb2b99
chore(deps): add uuid dependency and update tool references
senamakel Sep 30, 2026
b566ebd
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
36809fc
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
3cdb89d
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
113c517
fix(cron): handle scheduler gate signals correctly
senamakel Sep 30, 2026
f9f87c3
feat(scheduler-gate): delegate battery sampling to tinymemory-gate
senamakel Sep 30, 2026
3696fa8
chore(deps): update tinycomputer subproject commit
senamakel Sep 30, 2026
1f9b991
feat(voice): add text input module for voice pipeline
senamakel Sep 30, 2026
f2b5414
chore(deps): update tinychannels subproject commit
senamakel Sep 30, 2026
5e62d16
fix(scheduler): correct test assertion for gate state
senamakel Sep 30, 2026
141dfe1
chore(deps): update tinymemory submodule
senamakel Sep 30, 2026
fadcfbd
chore(ci): update module-pin-exemptions for tinybox, tinycomputer, ti…
senamakel Sep 30, 2026
2c7c6e7
chore(deps): remove unused arboard and enigo dependencies from root c…
senamakel Sep 30, 2026
f543b62
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
6a26c64
feat(config): extract OpenClaw and Hermes importers into tinymemory-i…
senamakel Sep 30, 2026
69f334d
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
e250fca
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
15ed6f1
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
c7ed88e
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
58edccb
test(memory): add test to dump tool contracts for inspection
senamakel Sep 30, 2026
73411d1
chore(deps): remove unused arboard and enigo dependencies from openhu…
senamakel Sep 30, 2026
a2560e1
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
7331757
chore(deps): update tinymemory vendor dependency
senamakel Sep 30, 2026
1eb46e6
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
2b8d229
chore(deps): update tinymemory vendor dependency
senamakel Sep 30, 2026
c48a94b
chore: files changed crates/openhuman-core/src/memory/tools/tool_memo…
senamakel Sep 30, 2026
1b4e56e
refactor(memory): restructure query and raw store modules
senamakel Sep 30, 2026
05fe6d1
chore: files changed crates/openhuman-core/Cargo.toml,crates/openhuma…
senamakel Sep 30, 2026
5fcf7b1
chore(deps): add tinymemory-tools dependency to Cargo.lock
senamakel Sep 30, 2026
f67ef25
refactor(memory): use default() for tool struct fields
senamakel Sep 30, 2026
d9e0eac
chore: files changed crates/openhuman-core/src/memory/tools/collapsed.rs
senamakel Sep 30, 2026
b343bc0
chore: files changed crates/openhuman-core/src/memory/tools/tool_memo…
senamakel Sep 30, 2026
aaf27e2
docs: add README documentation for migration helpers, scheduler gate,…
senamakel Sep 30, 2026
e97ab6d
docs(memory): add README files for memory module and sources
senamakel Sep 30, 2026
b3046d6
docs(memory): add README files for query and tools modules
senamakel Sep 30, 2026
45638fd
chore(ci): update ignored test baseline counts
senamakel Sep 30, 2026
58702ea
chore(deps): update Cargo.lock for new tinymemory crates
senamakel Sep 30, 2026
0f7b98c
chore(memory): reformat long lines for readability
senamakel Sep 30, 2026
adbd230
chore(deps): update tinymemory subproject commit
senamakel Sep 30, 2026
22dacec
chore: files changed scripts/ci/module-pin-exemptions.json
senamakel Sep 30, 2026
33393cb
chore(vendor): bump tinyagents for the Windows unsafe_code build fix
M3gA-Mind Sep 30, 2026
4992557
Merge pull request #6839 from M3gA-Mind/chore/bump-tinyagents-windows…
senamakel Sep 30, 2026
0c6fd7d
chore(release): v0.64.9 [skip ci]
github-actions[bot] Sep 30, 2026
735b75a
fix(memory): name a refused credential and an unreachable engine
YellowSnnowmann Sep 30, 2026
292b643
fix(memory): let auto-recall reach saved notes on hosted memory
YellowSnnowmann Sep 30, 2026
172d5a4
fix(memory): resolve the sources sink before a connector pages
YellowSnnowmann Sep 30, 2026
01e3373
fix(app): show Brain's sync and vault panels only where the engine se…
YellowSnnowmann Sep 30, 2026
18dfd3f
test(memory): cover the memory surface on the hosted engine
YellowSnnowmann Sep 30, 2026
57c1c07
docs(memory): describe hosted memory's recall, refusals and gating
YellowSnnowmann Sep 30, 2026
eeb9ad6
fix(memory): hold the refusal block to the recall budget and anchor t…
YellowSnnowmann Sep 30, 2026
c0fe1f9
chore(memory): pin tinymemory with the hosted driver hardening
YellowSnnowmann Sep 30, 2026
a1b98aa
fix(memory): let only the outermost error class decide a string's cla…
YellowSnnowmann Sep 30, 2026
667aea2
Merge pull request #6841 from YellowSnnowmann/fix/6718-hosted-memory
YellowSnnowmann Sep 30, 2026
2eb8a33
chore(release): v0.64.10 [skip ci]
github-actions[bot] Sep 30, 2026
7bd8934
chore(release): merge release v0.64.10 back into main
github-actions[bot] Sep 30, 2026
3bee818
fix(cron): handle missing scheduler gate gracefully
senamakel Oct 1, 2026
16b25c5
chore: files changed crates/openhuman-core/src/cron/scheduler_gate/mo…
senamakel Oct 1, 2026
3cd452b
chore: files changed crates/openhuman-core/src/inference/host_runtime…
senamakel Oct 1, 2026
5ee5592
fix(web_chat): bound reaction wait to prevent reply delivery stall
senamakel Oct 1, 2026
14ed870
fix(web_chat): remove unnecessary `pub(super)` visibility from intern…
senamakel Oct 1, 2026
3b951df
test(scheduler-gate): add tests for try_capacity behaviour under paus…
senamakel Oct 1, 2026
5f7d6c5
test(web_chat): add tests for bounded reaction timeout behaviour
senamakel Oct 1, 2026
2435334
refactor(scheduler-gate): remove try_capacity_now and revert reaction…
senamakel Oct 1, 2026
237c929
refactor(web_chat): remove emoji reaction logic from presentation layer
senamakel Oct 1, 2026
dad1bbb
fix(web_chat): remove reaction_emoji from publish_chat_done default
senamakel Oct 1, 2026
d63f6dd
refactor(web_chat): remove unused reaction_emoji field
senamakel Oct 1, 2026
260980a
test: remove redundant test name suffix
senamakel Oct 1, 2026
9b55621
refactor(host_runtime): remove unused emoji reaction module
senamakel Oct 1, 2026
027ae9c
chore(ops_tests): remove obsolete emoji extraction tests
senamakel Oct 1, 2026
7f02c94
chore(inference): remove should_react function and its wiring
senamakel Oct 1, 2026
3fe6a9e
docs(inference): remove outdated references to reactions and should_r…
senamakel Oct 1, 2026
a5ec93b
refactor(host): remove inference-based reaction gate
senamakel Oct 1, 2026
396c9fe
docs(channels): remove outdated adapter reference from host table
senamakel Oct 1, 2026
ba6c6fb
fix(host): remove reaction gate from host capabilities
senamakel Oct 1, 2026
def804b
fix(test): correct reaction gate capability expectation
senamakel Oct 1, 2026
7388514
chore(imports): remove unused `local_ai_should_react` and `AllowlistS…
senamakel Oct 1, 2026
77c6a57
feat(human): remove reaction emoji support from mascot face selection
senamakel Oct 1, 2026
18e2594
fix: correct test import path for useHumanMascot
senamakel Oct 1, 2026
e9fa6d8
docs(coverage): follow renamed single-bubble delivery test
senamakel Oct 1, 2026
e78dc12
Merge branch 'pr-6828' into try-6828
senamakel Oct 1, 2026
9b2cd32
Merge pull request #6844 from senamakel/chat-done-settle
senamakel Oct 1, 2026
6346435
chore(deps): update tinyagents and tinymemory submodules and their de…
senamakel Oct 1, 2026
39f5e61
Merge pull request #6828 from senamakel/vendor-extract-w4-dead
senamakel Oct 1, 2026
03adceb
Merge upstream/main into vendor-extract-w4-tinytools-net; repin vendo…
senamakel Oct 1, 2026
f177c7b
Merge upstream/main into vendor-extract-w4-tinytools-net; repin vendo…
senamakel Oct 1, 2026
c3dd008
Merge pull request #6829 from senamakel/vendor-extract-w4-tinytools-net
senamakel Oct 1, 2026
339d3c8
chore(tools): resolve merge conflict in tool registry docs and browse…
senamakel Oct 1, 2026
c2ad53f
Merge pull request #6845 from senamakel/fix-conflict-markers
senamakel Oct 1, 2026
2a60f43
Merge branch 'pr-6830' into try-6830
senamakel Oct 1, 2026
dcb3dd2
chore(deps): update tinyagents vendor dependency
senamakel Oct 1, 2026
d18f752
fix(memory): use guarded_fixed_recall helper in unscored lane test
senamakel Oct 1, 2026
9376c9b
Merge pull request #6830 from senamakel/vendor-extract-w4-memory-guard
senamakel Oct 1, 2026
a11981c
chore(deps): update vendor submodules tinyagents and tinymemory
senamakel Oct 1, 2026
0ba8f38
chore(deps): update tinymemory subproject commit
senamakel Oct 1, 2026
038d98f
Merge pull request #6846 from senamakel/hotfix-tinyagents-pin
senamakel Oct 1, 2026
6f2f690
Merge branch 'pr-6831' into try-6831
senamakel Oct 1, 2026
38cde7e
chore(deps): update tinyconnectors to 0.11.0 and bump vendor submodules
senamakel Oct 1, 2026
65ee60c
Merge pull request #6831 from senamakel/vendor-extract-w4-connectors
senamakel Oct 1, 2026
9bd9ba6
Merge upstream/main into vendor-extract-w4-flows; repin vendor to mer…
senamakel Oct 1, 2026
239aef2
Merge pull request #6832 from senamakel/vendor-extract-w4-flows
senamakel Oct 1, 2026
1816c80
Merge upstream/main into vendor-extract-w4-misc; repin vendor to merg…
senamakel Oct 1, 2026
23cedf8
Merge upstream/main into vendor-extract-w4-misc; repin vendor to merg…
senamakel Oct 1, 2026
ae982f0
Merge pull request #6834 from senamakel/vendor-extract-w4-misc
senamakel Oct 1, 2026
f4dbd45
Merge upstream/main into vendor-extract-w4-memory-rest; repin vendor …
senamakel Oct 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
267 changes: 204 additions & 63 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exclude = [
]

[workspace.package]
version = "0.64.8"
version = "0.64.10"
edition = "2021"
license = "GPL-3.0-only"
repository = "https://github.com/tinyhumansai/openhuman"
Expand All @@ -42,6 +42,7 @@ openhuman-tinyhumans = { path = "crates/openhuman-tinyhumans", default-features
# Patches are workspace-root settings; Cargo ignores them in member manifests.
[patch."https://github.com/tinyhumansai/tinymemory"]
tinymemory-api = { path = "vendor/tinymemory/crates/tinymemory-api" }
tinymemory-safety = { path = "vendor/tinymemory/crates/tinymemory-safety" }

[patch."https://github.com/tinyhumansai/tinytools"]
# tinymcp's `tools` feature names tinytools by git rev so it can be built on its
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openhuman-app",
"version": "0.64.8",
"version": "0.64.10",
"type": "module",
"engines": {
"node": ">=24.0.0"
Expand Down
4 changes: 3 additions & 1 deletion app/src/components/settings/panels/MemoryDataPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ const MemoryDataPanel = ({ embedded = false }: MemoryDataPanelProps = {}) => {
</div>
</dl>
</SettingsSection>
<VaultHealthChecklist onToast={addToast} title={t('vaultHealth.setupTitle')} />
<MemoryFamilyGate family="tree">
<VaultHealthChecklist onToast={addToast} title={t('vaultHealth.setupTitle')} />
</MemoryFamilyGate>
<MemoryWindowControl onError={handleWindowError} onSaved={handleWindowSaved} />
<MemoryFamilyGate family="tree">
<MemoryWorkspace onToast={addToast} />
Expand Down
15 changes: 15 additions & 0 deletions app/src/components/settings/panels/MemoryEngineErrorAlert.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ describe('MemoryEngineErrorAlert', () => {
expect(screen.getByTestId('memory-engine-sign-in')).toBeInTheDocument();
});

test('a refused credential is its own state, never a sign-in prompt', () => {
renderWithProviders(
<MemoryEngineErrorAlert error="MEMORY_FORBIDDEN: the memory engine refused this credential" />
);
expect(screen.getByTestId('memory-engine-error-memory_forbidden')).toBeInTheDocument();
expect(screen.queryByTestId('memory-engine-sign-in')).toBeNull();
});

test('an unreachable engine shows the unavailable state', () => {
renderWithProviders(
<MemoryEngineErrorAlert error="MEMORY_UNREACHABLE: the memory engine is not available right now" />
);
expect(screen.getByTestId('memory-engine-error-backend_unavailable')).toBeInTheDocument();
});

test('any other error shows the caller fallback text and no action', () => {
renderWithProviders(<MemoryEngineErrorAlert error="boom" fallbackText="Graph failed" />);
expect(screen.getByTestId('memory-engine-error-other')).toHaveTextContent('Graph failed');
Expand Down
8 changes: 5 additions & 3 deletions app/src/components/settings/panels/MemoryEngineErrorAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ export function useMemoryEngineErrorText(): (kind: MemoryEngineErrorKind) => str
? t('memoryEngine.error.insufficientCredits')
: kind === 'session_expired'
? t('memoryEngine.error.sessionExpired')
: kind === 'backend_unavailable'
? t('memoryEngine.error.backendUnavailable')
: t('memoryEngine.error.generic');
: kind === 'memory_forbidden'
? t('memoryEngine.error.forbidden')
: kind === 'backend_unavailable'
? t('memoryEngine.error.backendUnavailable')
: t('memoryEngine.error.generic');
}

interface MemoryEngineErrorAlertProps {
Expand Down
8 changes: 7 additions & 1 deletion app/src/components/settings/panels/memoryEngineUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { MemoryEngineDescriptor } from '../../../utils/tauriCommands/memory
export type MemoryEngineErrorKind =
| 'insufficient_credits'
| 'session_expired'
| 'memory_forbidden'
| 'backend_unavailable'
| 'other';

Expand All @@ -11,7 +12,12 @@ export function classifyMemoryEngineError(err: unknown): MemoryEngineErrorKind {
const message = err instanceof Error ? err.message : String(err ?? '');
if (message.includes('INSUFFICIENT_CREDITS:')) return 'insufficient_credits';
if (message.includes('SESSION_EXPIRED:')) return 'session_expired';
if (message.includes('BACKEND_UNAVAILABLE:')) return 'backend_unavailable';
// A refused credential (an API key without the memory scope): not a lapsed
// session, so it must never read as one and sign the user out.
if (message.includes('MEMORY_FORBIDDEN:')) return 'memory_forbidden';
if (message.includes('BACKEND_UNAVAILABLE:') || message.includes('MEMORY_UNREACHABLE:')) {
return 'backend_unavailable';
}
return 'other';
}

Expand Down
81 changes: 7 additions & 74 deletions app/src/features/human/useHumanMascot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,63 +205,30 @@ describe('pickVisemeCode', () => {
});

describe('pickConversationAckFace', () => {
it('prefers explicit reaction emoji from chat_done', () => {
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '✅' })).toBe('happy');
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '🤔' })).toBe(
'confused'
);
// ⚠️ is now cautious (heads-up), not concerned.
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '⚠️' })).toBe(
'cautious'
);
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '❌' })).toBe(
'concerned'
);
});

it('maps proud and curious reaction emojis', () => {
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '🏆' })).toBe('proud');
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '⭐' })).toBe('proud');
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '🔍' })).toBe(
'curious'
);
expect(pickConversationAckFace({ full_response: 'Done', reaction_emoji: '🧐' })).toBe(
'curious'
);
});

it('falls back to deterministic response text cues', () => {
expect(
pickConversationAckFace({ full_response: 'All set, this is fixed.', reaction_emoji: null })
).toBe('happy');
it('maps deterministic response text cues', () => {
expect(pickConversationAckFace({ full_response: 'All set, this is fixed.' })).toBe('happy');
expect(
pickConversationAckFace({
full_response: 'I need more detail to clarify which workspace you mean.',
reaction_emoji: null,
})
).toBe('confused');
expect(
pickConversationAckFace({
full_response: 'Sorry, the provider failed and I cannot continue.',
reaction_emoji: null,
})
).toBe('concerned');
});

it('maps proud text cues', () => {
expect(
pickConversationAckFace({
full_response: 'Successfully completed all tasks done!',
reaction_emoji: null,
})
pickConversationAckFace({ full_response: 'Successfully completed all tasks done!' })
).toBe('proud');
});

it('maps cautious text cues', () => {
expect(
pickConversationAckFace({
full_response: 'Heads up, this might cause unexpected side effects.',
reaction_emoji: null,
})
).toBe('cautious');
});
Expand All @@ -270,28 +237,22 @@ describe('pickConversationAckFace', () => {
expect(
pickConversationAckFace({
full_response: 'Interesting — let me check what is happening here.',
reaction_emoji: null,
})
).toBe('curious');
});

it('concerned takes priority over cautious when both patterns match', () => {
expect(
pickConversationAckFace({
full_response: 'Sorry, this failed. Make sure you try again.',
reaction_emoji: null,
})
pickConversationAckFace({ full_response: 'Sorry, this failed. Make sure you try again.' })
).toBe('concerned');
});

it('returns null when there is no strong cue', () => {
expect(
pickConversationAckFace({ full_response: 'Here is the summary.', reaction_emoji: null })
).toBeNull();
expect(pickConversationAckFace({ full_response: 'Here is the summary.' })).toBeNull();
});

it('returns null when the response text is missing', () => {
expect(pickConversationAckFace({ reaction_emoji: null })).toBeNull();
expect(pickConversationAckFace({})).toBeNull();
});
});

Expand Down Expand Up @@ -421,33 +382,12 @@ describe('useHumanMascot state machine', () => {
expect(result.current.face).toBe('idle');
});

it('uses reaction emoji for the post-turn acknowledgement face', () => {
const { result } = renderHook(() => useHumanMascot({ speakReplies: false }));
act(() => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'I need more detail before I can choose.',
reaction_emoji: '🤔',
rounds_used: 1,
total_input_tokens: 1,
total_output_tokens: 1,
})
);
});
expect(result.current.face).toBe('confused');
act(() => {
vi.advanceTimersByTime(ACK_FACE_HOLD_MS + 1);
});
expect(result.current.face).toBe('idle');
});

it('uses response text cues when no reaction emoji is present', () => {
it('uses response text cues for the post-turn acknowledgement face', () => {
const { result } = renderHook(() => useHumanMascot({ speakReplies: false }));
act(() => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Sorry, that failed because the provider is unavailable.',
reaction_emoji: null,
rounds_used: 1,
total_input_tokens: 1,
total_output_tokens: 1,
Expand Down Expand Up @@ -526,7 +466,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Here is the result.',
reaction_emoji: null,
rounds_used: 2,
total_input_tokens: 1,
total_output_tokens: 1,
Expand All @@ -547,7 +486,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Here is the result.',
reaction_emoji: null,
rounds_used: 1,
total_input_tokens: 1,
total_output_tokens: 1,
Expand All @@ -573,7 +511,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Research complete.',
reaction_emoji: null,
rounds_used: 1,
total_input_tokens: 1,
total_output_tokens: 1,
Expand Down Expand Up @@ -618,7 +555,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Sorry, the researcher failed.',
reaction_emoji: null,
rounds_used: 2,
total_input_tokens: 1,
total_output_tokens: 1,
Expand All @@ -639,7 +575,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Done.',
reaction_emoji: null,
rounds_used: 2,
total_input_tokens: 1,
total_output_tokens: 1,
Expand All @@ -656,7 +591,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Here you go.',
reaction_emoji: null,
rounds_used: 1,
total_input_tokens: 1,
total_output_tokens: 1,
Expand Down Expand Up @@ -689,7 +623,6 @@ describe('useHumanMascot state machine', () => {
capturedListeners?.onDone?.(
fakeEvent({
full_response: 'Here you go.',
reaction_emoji: null,
rounds_used: 1,
total_input_tokens: 1,
total_output_tokens: 1,
Expand Down
25 changes: 1 addition & 24 deletions app/src/features/human/useHumanMascot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,7 @@ type ConversationAckFace = Extract<
| 'dancing'
| 'waving'
>;
type ConversationAckEvent = { full_response?: string | null; reaction_emoji?: string | null };

const HAPPY_REACTION_EMOJIS = new Set(['✅', '🎉', '🙌', '😊', '😄', '👍', '💪']);
const PROUD_REACTION_EMOJIS = new Set(['⭐', '🌟', '🏆', '🎯', '💯', '🚀', '✨', '🥇']);
const CURIOUS_REACTION_EMOJIS = new Set(['🔍', '💭', '🧐', '🤓', '👀']);
const CONFUSED_REACTION_EMOJIS = new Set(['🤔', '❓', '❔']);
const CAUTIOUS_REACTION_EMOJIS = new Set(['⚠️', '⚠', '💡', '⚡']);
const CONCERNED_REACTION_EMOJIS = new Set(['🚨', '❌', '😕', '😟']);
const CELEBRATING_REACTION_EMOJIS = new Set(['🥳', '🍾', '🎊', '🎈', '🪅']);
const DANCING_REACTION_EMOJIS = new Set(['💃', '🕺', '🎵', '🎶', '🎸']);
const WAVING_REACTION_EMOJIS = new Set(['👋', '🤝', '🫡']);
type ConversationAckEvent = { full_response?: string | null };

const CONCERNED_TEXT_RE =
/\b(sorry|apolog(?:y|ize|ise)|failed|failure|error|cannot|can't|unable|blocked|problem)\b/i;
Expand All @@ -182,19 +172,6 @@ const GREETING_TEXT_RE =
* states; this only decides the post-turn emotional beat.
*/
export function pickConversationAckFace(event: ConversationAckEvent): ConversationAckFace | null {
const reaction = event.reaction_emoji?.trim();
if (reaction) {
if (CELEBRATING_REACTION_EMOJIS.has(reaction)) return 'celebrating';
if (DANCING_REACTION_EMOJIS.has(reaction)) return 'dancing';
if (WAVING_REACTION_EMOJIS.has(reaction)) return 'waving';
if (PROUD_REACTION_EMOJIS.has(reaction)) return 'proud';
if (HAPPY_REACTION_EMOJIS.has(reaction)) return 'happy';
if (CURIOUS_REACTION_EMOJIS.has(reaction)) return 'curious';
if (CONFUSED_REACTION_EMOJIS.has(reaction)) return 'confused';
if (CAUTIOUS_REACTION_EMOJIS.has(reaction)) return 'cautious';
if (CONCERNED_REACTION_EMOJIS.has(reaction)) return 'concerned';
}

const text = event.full_response?.trim() ?? '';
if (!text) return null;
// Priority: concerned > cautious > proud > confused > curious > happy.
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7129,6 +7129,8 @@ const messages: TranslationMap = {
'نفد رصيد OpenHuman لديك. أضف رصيدًا لاستخدام هذا المحرك.',
'memoryEngine.error.sessionExpired': 'انتهت جلستك. سجّل الدخول مرة أخرى للمتابعة.',
'memoryEngine.error.backendUnavailable': 'خدمة الذاكرة غير متاحة حاليًا. حاول مرة أخرى بعد قليل.',
'memoryEngine.error.forbidden':
'رفضت خدمة الذاكرة بيانات اعتماد هذا الحساب. إذا كنت تستخدم مفتاح API، فامنحه نطاق memory.',
'memoryEngine.error.generic': 'تعذّر تغيير محرك الذاكرة. تحقق من الإعدادات وحاول مرة أخرى.',
'memoryEngine.error.openBilling': 'فتح الفوترة',
'memoryEngine.error.signIn': 'تسجيل الدخول',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/bn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7282,6 +7282,8 @@ const messages: TranslationMap = {
'আপনার সেশনের মেয়াদ শেষ হয়েছে। চালিয়ে যেতে আবার সাইন ইন করুন।',
'memoryEngine.error.backendUnavailable':
'মেমোরি পরিষেবা এখন অনুপলব্ধ। একটু পরে আবার চেষ্টা করুন।',
'memoryEngine.error.forbidden':
'মেমরি পরিষেবা এই অ্যাকাউন্টের ক্রেডেনশিয়াল প্রত্যাখ্যান করেছে। আপনি API কী ব্যবহার করলে সেটিকে memory স্কোপ দিন।',
'memoryEngine.error.generic':
'মেমোরি ইঞ্জিন পরিবর্তন করা যায়নি। সেটিংস পরীক্ষা করে আবার চেষ্টা করুন।',
'memoryEngine.error.openBilling': 'বিলিং খুলুন',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7480,6 +7480,8 @@ const messages: TranslationMap = {
'Deine Sitzung ist abgelaufen. Melde dich erneut an, um fortzufahren.',
'memoryEngine.error.backendUnavailable':
'Der Speicherdienst ist derzeit nicht erreichbar. Versuche es gleich noch einmal.',
'memoryEngine.error.forbidden':
'Der Speicher hat die Anmeldedaten dieses Kontos abgelehnt. Wenn du einen API-Schlüssel verwendest, gib ihm den Bereich memory.',
'memoryEngine.error.generic':
'Die Speicher-Engine konnte nicht geändert werden. Prüfe die Einstellungen und versuche es erneut.',
'memoryEngine.error.openBilling': 'Abrechnung öffnen',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7588,6 +7588,8 @@ const en: TranslationMap = {
'memoryEngine.error.sessionExpired': 'Your session expired. Sign in again to continue.',
'memoryEngine.error.backendUnavailable':
'The memory service is unavailable right now. Try again shortly.',
'memoryEngine.error.forbidden':
'Memory refused the credential for this account. If you use an API key, give it the memory scope.',
'memoryEngine.error.generic':
'Could not change the memory engine. Check the settings and try again.',
'memoryEngine.error.openBilling': 'Open billing',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7433,6 +7433,8 @@ const messages: TranslationMap = {
'Tu sesión ha caducado. Inicia sesión de nuevo para continuar.',
'memoryEngine.error.backendUnavailable':
'El servicio de memoria no está disponible en este momento. Inténtalo de nuevo en breve.',
'memoryEngine.error.forbidden':
'La memoria rechazó la credencial de esta cuenta. Si usas una clave de API, dale el alcance memory.',
'memoryEngine.error.generic':
'No se pudo cambiar el motor de memoria. Revisa los ajustes e inténtalo de nuevo.',
'memoryEngine.error.openBilling': 'Abrir facturación',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7462,6 +7462,8 @@ const messages: TranslationMap = {
'memoryEngine.error.sessionExpired': 'Votre session a expiré. Reconnectez-vous pour continuer.',
'memoryEngine.error.backendUnavailable':
'Le service de mémoire est indisponible pour le moment. Réessayez dans un instant.',
'memoryEngine.error.forbidden':
'La mémoire a refusé les identifiants de ce compte. Si vous utilisez une clé API, accordez-lui la portée memory.',
'memoryEngine.error.generic':
'Impossible de changer le moteur de mémoire. Vérifiez les paramètres et réessayez.',
'memoryEngine.error.openBilling': 'Ouvrir la facturation',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/hi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7284,6 +7284,8 @@ const messages: TranslationMap = {
'आपका सत्र समाप्त हो गया है। जारी रखने के लिए फिर से साइन इन करें।',
'memoryEngine.error.backendUnavailable':
'मेमोरी सेवा अभी उपलब्ध नहीं है। थोड़ी देर बाद फिर कोशिश करें।',
'memoryEngine.error.forbidden':
'मेमोरी सेवा ने इस खाते का क्रेडेंशियल अस्वीकार कर दिया। यदि आप API कुंजी का उपयोग करते हैं, तो उसे memory स्कोप दें।',
'memoryEngine.error.generic': 'मेमोरी इंजन बदला नहीं जा सका। सेटिंग जाँचकर फिर कोशिश करें।',
'memoryEngine.error.openBilling': 'बिलिंग खोलें',
'memoryEngine.error.signIn': 'साइन इन करें',
Expand Down
2 changes: 2 additions & 0 deletions app/src/lib/i18n/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7329,6 +7329,8 @@ const messages: TranslationMap = {
'memoryEngine.error.sessionExpired': 'Sesi Anda berakhir. Masuk lagi untuk melanjutkan.',
'memoryEngine.error.backendUnavailable':
'Layanan memori sedang tidak tersedia. Coba lagi sebentar lagi.',
'memoryEngine.error.forbidden':
'Layanan memori menolak kredensial akun ini. Jika Anda memakai kunci API, berikan cakupan memory padanya.',
'memoryEngine.error.generic':
'Tidak dapat mengubah mesin memori. Periksa pengaturan lalu coba lagi.',
'memoryEngine.error.openBilling': 'Buka penagihan',
Expand Down
Loading
Loading