Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

omp-folio

Latest version: v0.2.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: moesama228
0 Stars
0 Forks
7 Versions
534 Downloads
TypeScript Repo language

Scan summary

omp-folio was last scanned on 28 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 534 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 28 Nov 2026 No rules fired
0.1.5 10 Nov 2026 No rules fired
0.1.4 10 Nov 2026 No rules fired
0.1.3 24 Oct 2026 Not shown
0.1.1 22 Oct 2026 Not shown

No rules fired in 0.2.0

Findings

Findings for v0.2.0. 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.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

omp Folio

▎ 左侧输入 · ⏱ 订阅额度 · $ 余额 · ≡ 原生状态栏

一个 omp Composer Shape 插件:输入区保持 omp 原有行为,额度/余额显示在右侧或顶部账签,下方交还给 omp 原生状态栏。面向 omp 19.2.1 的普通 ANSI 终端。

安装

本地开发在仓库内安装依赖,再链接到 omp:

BUN_BE_BUN=1 omp install --frozen-lockfile
omp plugin install "$PWD"

从 npm 安装:

omp plugin install npm:omp-folio

从 GitHub 安装:

omp plugin install github:moesama228/omp-folio

需要可复现时,请选用标明兼容当前 omp 版本的发布标签。

也可以在项目里临时加载:

omp --extension /path/to/omp_composer/index.ts

安装后在 Appearance → Composer Shape 选择 Folio Gutter、Folio Gauge 或 Folio Capline,或直接写全局配置:

omp config set composer.shape omp-composer-folio-gutter
omp config set composer.shape omp-composer-folio-gauge
omp config set composer.shape omp-composer-folio-capline
  • 全局安装后不要再保留项目里的 .omp/extensions/folio.ts,否则会重复加载。
  • 旧配置 composer.shape: omp-composer-dock 会在首次加载时自动迁移到新 id。
  • GitHub 安装是克隆,不是 link;更新后重装新 tag 或运行 omp plugin upgrade。

布局

  • ▎ 输入:编辑、Vim、历史、补全、粘贴、IME 和滚动全部沿用 omp。
Shape 布局
Folio Gutter 现有右侧额度轨,只显示标签和数值
Folio Gauge 右侧余量刻度,百分比同时显示为最多 10 格方块
Folio Capline 顶部额度账签,输入使用完整宽度;空间不足时按完整额度项换行,单项自身超宽时再按列折行
  • ⏱ / $ 额度栏:无分隔线;图标沿用 session accent,数值加粗并右对齐。订阅显示 ⏱ 7d 60%,余额显示 $ ¥42.00。
  • ≡ 状态栏:使用 omp 原生 preset,不在插件里重写 model、mode、path、git、pr、context、cost、session 等 segment。
  • 宽度:Gutter / Gauge 在 88 列起使用输入末行右侧的 22–26 列展示额度。草稿占满该区域、窗口较窄或启用 tui.imeSafeCursor 时,额度移到输入下方。Capline 始终放在输入上方,不占光标右侧。
  • Provider:◇ <provider> 显示在原生状态栏同一行最右侧,与额度栏共用两列右侧留白,窄于 24 列时隐藏。
  • 留白:三种样式上下各留 1 行空白 rail;Capline 额度置于顶部留白之下,右侧留 2 列内边距,换行后保持一致。
  • 颜色:左侧 rail 跟随 statusLine.sessionAccent;关闭该设置后回到主题 accent。

Provider 与额度样式

切换模型后立即排队读取当前 provider 的额度,复用 omp 的账号和缓存。DeepSeek 读取官方余额端点。

Provider 额度栏显示
anthropic ⏱ 5h 82%、⏱ 7d 64%;只显示报告里的窗口
openai-codex ⏱ 5h 86%、⏱ 7d 78%;不补不存在的窗口
opencode-go ⏱ 5h 100%、⏱ 7d 75%、⏱ 1mo 60%;月度按订阅账期,复用宿主 API-key 用量报告
kimi-code ⏱ 5h 100%、⏱ 7d 61%
cursor ⏱ auto 84%、⏱ api 72%、⏱ plan …;按当前模型选 auto/API pool
xai-oauth / xai ⏱ 7d 60%、⏱ 1mo 80%;不含 on-demand cap
google-antigravity ⏱ 1d …、⏱ 7d …;按当前模型选 counter
devin ⏱ prompt/flow/flex …、⏱ 1d/7d …;credits + daily/weekly quota
deepseek $ ¥42.00;绝对余额,无百分比
其他 / 不支持 有可解析报告:⏱ <窗口> <剩余>%;否则 ⏱ 未知
  • 百分比是剩余份额:100% 满额,0% 用完;≤25% / ≤10% 显示 warning/error。多个账号无法确认时显示 ⏱ 多账号,不会相加。
  • Gauge 只为已知百分比绘制刻度,正常刻度使用 session accent;余额、未知和失败不伪造刻度。Capline 换行和极窄折行不会丢弃额度项。
  • 请求失败显示 ⏱ 获取失败;数据超过 10 分钟追加 ⚠ 过期;缺失数据不会被当成 100%。DeepSeek 账户不可用时追加 ⚠ 不可用。
  • DeepSeek 成功缓存 5 分钟、失败缓存 30 秒;API key 不进入日志或错误信息。其他 provider 读取宿主缓存,不逐帧联网。
  • OpenCode Go 使用 omp 已配置的 API key,无需额外额度配置;多个匿名密钥报告无法确认归属时显示 ⏱ 多账号,不合并。三个窗口与 官方 Go 说明 一致。

验证

开发前先安装依赖:

bun install

然后运行类型检查和测试:

./node_modules/.bin/tsc --noEmit
BUN_BE_BUN=1 omp test ./src/quota.test.ts ./src/quota-panel.test.ts ./src/register.test.ts ./src/provider-status.test.ts

兼容边界

  • 实现与 19.2.1 对齐;升级 omp 后应更新依赖并重跑类型检查和 PTY 验证。
  • 19.2.1 接管样式注册和释放,启动预绘制及退出时可能显示宿主的 box。使用 omp 18.12.6 的用户可选择 Folio 0.1.5。
  • 没有修改 omp 源码或二进制;TSP/Tern 原生 composer 不承诺复现这里的分栏外形。

Releasing

npm version patch
git push --follow-tags

推送 v* tag 后,.github/workflows/publish.yml 会运行类型检查、测试并发布到 npm。

开发约定和设计决定见 AGENTS.md。

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm omp-folio

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229