Metadata-Version: 2.5
Name: pyxis-harness-checkpoint-memory
Version: 0.1.1.dev8
Summary: PyxisHarness plugin: in-memory checkpointer and store for temporary sessions
Project-URL: Homepage, https://github.com/Onenightcarnival/pyharness
Project-URL: Repository, https://github.com/Onenightcarnival/pyharness
Project-URL: Issues, https://github.com/Onenightcarnival/pyharness/issues
Project-URL: Documentation, https://github.com/Onenightcarnival/pyharness/tree/main/packages/checkpoint-memory
Author: Onenightcarnival
License-Expression: MIT
Keywords: agent,deepagents,harness,langgraph,llm,plugin
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Python: >=3.12
Requires-Dist: langgraph-checkpoint==4.3.1
Requires-Dist: pyxis-harness-core==0.1.1.dev8
Description-Content-Type: text/markdown

# pyxis-harness-checkpoint-memory

进程内存中的持久化提供者，供临时会话使用：`ctx.temporary`。

| 项 | 值 |
|---|---|
| 条目 | `checkpoint-temporary`（`base` bundle） |
| 插件 | `apply`（函数插件） |
| 注入 | 无 |

## 文件

| 文件 | 内容 |
|---|---|
| `__init__.py` | 导出 |
| `plugin.py` | `Config`、`Temporary`、`apply` |

## 服务

| 服务 | 实现 |
|---|---|
| `ctx.temporary.checkpointer` | `InMemorySaver` |
| `ctx.temporary.store` | `InMemoryStore` |

## 契约

| 项 | 契约 |
|---|---|
| `ctx.temporary` | 一对 `checkpointer` 与 `store`，与 `ctx.checkpointer`、`ctx.store` 同形 |
| 使用者 | `ctx.agents`、`ctx.agentLoop`：临时会话的 thread 与记录 |
| 落盘 | 无 |
| 进程结束、重启换代 | 内容清空 |
| 多副本 | 不适用：各进程各有一份 |
| 替换 | 另一个提供者经 patch 替换本条目，提供同一个服务 |
