The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(toolpacks, theming): add documentation for toolpacks and theming
Steven Enamakel3e634b154cd7
diff --git a/crates/openhuman-core/src/tools/toolpacks/README.md b/crates/openhuman-core/src/tools/toolpacks/README.mdindex e154397aaf..1872de5b6d 100644--- a/crates/openhuman-core/src/tools/toolpacks/README.md+++ b/crates/openhuman-core/src/tools/toolpacks/README.md@@ -91,27 +91,26 @@ to that delegate, not a second skill runtime.## Called by-- `tools/ops.rs` — `all_tools_with_runtime` drops every tool whose group is+- `tools/ops.rs`: `all_tools_with_runtime` drops every tool whose group is`Off`, then appends `use_skill` via `append_pack_tools`.-- `tools/host_extensions.rs` — `pack_registry_handle` reads the handle back off a+- `tools/host_extensions.rs`: `pack_registry_handle` reads the handle back off atool's `host_extension`.-- `core/runtime/builder.rs` and `core/runtime/context.rs` —- `CoreBuilder::tool_groups` and the ambient `ToolGroups` on `CoreContext`.-- `agent/session_host/builder/` — `builder_build.rs` strips packed names+- `core/runtime/builder.rs` and `core/runtime/context.rs`: `CoreBuilder::tool_groups` and the ambient `ToolGroups` on `CoreContext`.+- `agent/session_host/builder/`: `builder_build.rs` strips packed namesfrom the agent's visible set and binds both registries once the tool `Arc`sexist; `mod.rs` calls `scope_use_skill_spec` so the advertised `use_skill`spec lists only packs this session can call something in, and drops thespec entirely when that is none.-- `agent/session_host/turn/tools.rs` — rebinds the synthesized registry+- `agent/session_host/turn/tools.rs`: rebinds the synthesized registryafter every delegation refresh and re-strips packed names;`agent/session_host/runtime/accessors.rs` re-strips aftermaterializing the visible set.-- `agent/tinyagents/middleware/tool_policy.rs` — after+- `agent/tinyagents/middleware/tool_policy.rs`: afterthe permission gates, intercepts the disclosure half of a `use_skill` call(`named_tool` is `None`) and renders it with `render_pack_filtered` againstthe session's allowlist, with `route_sentence` naming the owner delegatewhen nothing in the pack is callable.-- `agent/tinyagents/middleware/packed_tool_route.rs` — `before_tool`+- `agent/tinyagents/middleware/packed_tool_route.rs`: `before_tool`rewrites a call that names a withheld packed tool by its bare name (the namethe listing and sibling descriptions use) into the `use_skill` call thatreaches it, ahead of admission, so the rewritten call passes every gate an@@ -119,9 +118,9 @@ to that delegate, not a second skill runtime.tool-policy session lets that tool run (`blocks_execution()` is false), andnever on a turn without a session (sub-agent, channel/CLI), where anunregistered name was excluded by the registration allowlist.-- `agent/registry/agents/orchestrator/prompt.rs` — `pack_for_tool` to tell+- `agent/registry/agents/orchestrator/prompt.rs`: `pack_for_tool` to tellthe orchestrator which pack a withheld delegate lives in.-- `crates/openhuman-embed/` — re-exports `GroupMode` and `ToolGroups` and+- `crates/openhuman-embed/`: re-exports `GroupMode` and `ToolGroups` andexposes `Harness::builder().tool_groups(..)`.## Testsdiff --git a/gitbooks/developing/theming.md b/gitbooks/developing/theming.mdindex 72110fbd71..3dcc586ee0 100644--- a/gitbooks/developing/theming.md+++ b/gitbooks/developing/theming.md@@ -98,12 +98,12 @@ Worked examples in the tree:| `skills/skillIcons.tsx` `CATEGORY_META` | 9 | `Built-in` (primary), `Productivity` (sage), `Social` (coral), `Tools & Automation` (amber) | `Channels`, `Chat` and `Platform` share the neutral tone of `All` / `Other` || `skills/SkillsExplorerTab.tsx` `SOURCE_COLORS` | 6 | `built-in` (sage), `optional` (primary) | The four remote catalogues print their own name; provenance tier is the distinction that matters || `skills/SkillsExplorerTab.tsx` `FORMAT_MAP` | 5 rows, 3 tones | Hermes family (primary), ClawHub family (sage), `legacy` (amber) | Three tones fit under the ceiling, so nothing is lost |-| `settings/panels/EventLogPanel.tsx` `DOMAIN_BADGE_COLORS` | 11 | `tool` (primary), `agent` (sage), `approval` (amber) | Who acted, and what waits on a human. Coral stays unassigned — no domain means failure |+| `settings/panels/EventLogPanel.tsx` `DOMAIN_BADGE_COLORS` | 11 | `tool` (primary), `agent` (sage), `approval` (amber) | Who acted, and what waits on a human. Coral stays unassigned; no domain means failure || `notifications/NotificationCard.tsx` provider badge | 6 | none | The importance badge in the same row already spends coral/amber/sage on high/medium/low; a coral provider would read as a failed notification |### Brand tints are a separate question-A few plates are a third party's brand colour, not an app hue — Telegram's+A few plates are a third party's brand colour, not an app hue: Telegram's`#249CD8`, Discord's `#5865F2`, iMessage's `#34C759` in`skills/skillIcons.tsx`. Flattening those to `bg-surface-subtle` erases theminto the generic badge beside them, so they are deliberately left as hex.