background picture of the home page

Hi,Friend

Hi!

IronClaw-沙箱

一. 相关结构 1. ContainerJobManager /// Manages the lifecycle of Docker containers for sandboxed job execution. pub struct ContainerJobManager { config

thumbnail of the cover of the post

IronClaw-CostGuard

一. 相关结构 /// Tracks costs and action rates, enforcing configurable limits. /// /// Thread-safe; designed to be shared via `Arc<CostGuard>`. pub struct

thumbnail of the cover of the post

IronClaw-ContextManager

一. 相关结构 1. ContextManager 负责管理多个并发 Job(任务)上下文的核心组件 /// Manages contexts for multiple concurrent jobs. pub struct ContextManager { /// Active job c

thumbnail of the cover of the post

IronClaw-Skill

一. 相关类型 1. SkillRegistry /// Registry of available skills. pub struct SkillRegistry { /// All loaded skills. skills: Vec<LoadedSkill> 已加载的全部

thumbnail of the cover of the post

LRUCacheWithExpireTime

一. 题目 带过期时间的LRU. 二. 思路 维护双向链表,用于最近最久未使用。 单独node维护k、v、l、r、expireTime。 注意:很多题解,直接put完然后检查是否超限,若超则清除尾巴。但是,双链中可能有已经过期的,且尾巴没过期,其实应该先清理过期,再判断是否超限。 三. 代码 imp

thumbnail of the cover of the post

IronClaw-MCP

一. 相关结构 1. MCPSessionManager(管理client和server之间的会话) /// Manages MCP sessions across multiple `(user, server)` pairs. /// /// Server names are typed via

thumbnail of the cover of the post

IronClaw-短期记忆

一. 相关结构 1. SessionManager (会话管理session-thread-turn) pub struct SessionManager { sessions: RwLock<HashMap<String, Arc<Mutex<Session>>>>, thread

thumbnail of the cover of the post

IronClaw-hook

一. 类别和注册时机 具体来说,向这个 Arc<HookRegistry> 注册 hook 的路径有 4 条,每条的发生时机不同: ┌─────┬────────────────────────────────────┬─────────────────────────────────────

thumbnail of the cover of the post

Ironclaw-SafetyLayer

一. 介绍 SafetyLayer 提供六大能力:长度截断、凭据扫描/替换、策略执行(Block/Sanitize)、prompt-injection 清洗、入站凭据预检、工具输出/外部内容的 XML 包裹与解包,并通过四个 getter 暴露底层组件以便做精细控制。 二. 类型 1. Safety

thumbnail of the cover of the post