OpenCnid/deepseek-rlm--packages-rlm2

@deepseek-rlm/dsh-rlm

用于持久化 RLM 内核的 Cordis 服务定义。

AI 分析

核心用途是定义 RLM 内核的生命周期、执行和事件服务。适合需要扩展或自定义 DSH 持久化执行内核的开发者。

套件
@deepseek-rlm/dsh-rlm
版本
0.1.0-preview.0
授權
MIT
最近更新
2026年8月22日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

@deepseek-rlm/dsh-rlm

This package is the provider-neutral Service Definition for ctx.rlm. It defines cell execution, kernel inspection, snapshots, restart, disposal, lifecycle events, and log-only RLM session events. It owns no Python process, model choice, tool policy, or child-agent lifecycle.

Runtime failures from Python resolve as RlmExecutionResult; invalid caller input and kernel substrate failures reject. A provider maps one exact DSH Agent/SessionId to one live kernel and must preserve the exact Agent as the authority for every bridged host operation.

Compatibility requirement

DeepSeek Harness rc.7 cannot mark out-of-tree informational events with its existing ignorable: true envelope contract. This package exposes appendRlmSessionEvent(), which requires the public method supplied by 0003-public-ignorable-session-events.patch and fails with UNSUPPORTED_IGNORABLE_SESSION_EVENTS when it is absent. It never falls back to a live event that would poison cold restore.