OpenCnid/deepseek-rlm--packages-rlm2

@deepseek-rlm/dsh-rlm

Cordis Service Definition for persistent RLM kernels

AI Analysis

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

Package
@deepseek-rlm/dsh-rlm
Version
0.1.0-preview.0
License
MIT
Last updated
Aug 22, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.