Scan your whole stack
Are you using pyxis-harness-compaction?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.1.dev1
pyxis-harness-compaction was last scanned on 26 Nov 2026 at version 0.1.1.dev1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.1.dev1 LATEST | 26 Nov 2026 | No rules fired |
| 0.1.0rc3 | 26 Nov 2026 | No rules fired |
| 0.1.0rc2 | 26 Nov 2026 | No rules fired |
| 0.1.0rc1 | 21 Nov 2026 | Not shown |
Findings for v0.1.1.dev1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.1.dev1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
上下文压缩:一条检查点摘要替换较早的历史。
| 项 | 值 |
|---|---|
| 条目 | compaction(base bundle) |
| 服务 | CompactionService,ctx.compaction |
| 注入 | agentLoop、llm |
| 文件 | 内容 |
|---|---|
__init__.py |
导出 |
service.py |
CompactionService 及其中间件:压力下的自动压缩、/compact 命令 |
checkpoint.py |
检查点消息:标记、摘要提示词、上下文测量、切点选择、对话记录渲染 |
prompts.toml |
模型可见的文本 |
| 方式 | 时机 | 原样保留 |
|---|---|---|
| 自动 | 模型调用之前;测得的上下文达到 threshold_ratio × 窗口 |
尾部,量为 retain_ratio × 窗口 |
| 手动 | /compact:一次 compact 类型的运行(POST /sessions/{id}/compact) |
无;整段历史进入摘要 |
| 失败 | 结果 |
|---|---|
| 自动压缩 | 记入日志;该轮继续 |
| 手动压缩 | 运行失败 |
| 情况 | 上下文 token 数 |
|---|---|
| 有 usage | 最近一次模型应答的 usage(输入 + 输出 token)+ 其后消息的估算 |
| 无 usage(最初几步、刚压缩之后) | 全部消息的估算 |
| 窗口 | 来源 |
|---|---|
| 首选 | 模型声明的 context_window(设置 → 模型) |
| 否则 | default_context_window |
| 项 | 契约 |
|---|---|
| 切点 | 不拆开一次工具调用与它的结果 |
| 摘要模型 | 会话的模型;summary_model 覆盖 |
| 摘要提示词 | 结构化的检查点模板 |
| 替换消息 | 用户消息;additional_kwargs["pyharness"] 为 {"kind": "compact-checkpoint", ...} |
| Web UI | 显示为标记 |
| 运行流 | compact 事件 |
| 轮次记录 | compact 条目 |
prompts.toml| 项 | 契约 |
|---|---|
| 表 | 以使用它的模块命名:[checkpoint]、[service] |
| 读取 | pyxis_harness.package_prompts;每个字符串值去掉首尾空白 |
| 占位符 | string.Template 语法(${name}) |
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.