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

opencode-session-dates

Latest version: v0.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: bricika
0 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

opencode-session-dates was last scanned on 29 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

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

README

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

opencode-session-dates

给 OpenCode Desktop 的 Home 会话列表加上"最后更新时间",方便在几十条会话里快速判断哪条是新的。

A small GUI plugin for OpenCode Desktop that shows the last-updated date on each Home session row.

功能

  • 每行右侧显示日期:
    • 今天:今天 18:06
    • 昨天:昨天 09:12
    • 今年:11-18 18:06
    • 更早:2025-11-18
  • 鼠标悬停显示完整时间
  • 每分钟刷新相对日期,每 5 分钟重新读取一次会话时间
  • 中英文界面自动切换(今天/昨天 或 Today/Yesterday)
  • 纯 GUI 插件,不修改 app.asar,不联网,不上传任何数据

安装

在全局或项目的 opencode.jsonc 里加入插件:

{
  "plugins": ["opencode-session-dates"]
}

本地开发时也可以直接写目录:

{
  "plugins": ["C:/Users/you/Documents/opencode-session-dates"]
}

要求:

  • OpenCode Desktop 2.4.x
  • GUI 插件 API 目前是实验性接口,升级 OpenCode 后可能需要适配

卸载

从 plugins 数组里删掉这一项,或在 Settings → Extensions → Plugins 里关闭插件。不会留下任何应用文件改动。

工作原理

  1. 插件 setup 里用 ctx.client.session.list() 分页读取根会话的 time.updated;
  2. 用 MutationObserver 监听 Home 列表的会话行;
  3. 在每行的 [data-slot="home-session-labels"] 末尾追加一个日期 span;
  4. 用 ctx.add(Style, css) 注入样式。

所有数据来自本机 OpenCode 服务,不发起外部请求。

限制

  • 只装饰 Home 列表;搜索弹窗、侧边栏标签页不加日期
  • 通过 DOM 注入实现,不是官方行渲染 API;OpenCode 改版导致选择器变化时会失效(删掉插件即可恢复原样)
  • 日期按系统本地时区显示

开发

# 语法检查
npm test

# 本地加载:在 opencode.jsonc 的 plugins 里写本目录路径

插件入口是 gui-experimental.cjs,CommonJS,默认导出 Plugin.define({ setup })。修改后 OpenCode Desktop 会热加载插件。

License

MIT

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 opencode-session-dates

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

Copy of Template Design OX Blog (2)
Research

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229