Scan your whole stack
From OX Research Newsroom
Are you using @jocax/theme-cycler?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.1
@jocax/theme-cycler was last scanned on 29 Nov 2026 at version 0.2.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.1 LATEST | 29 Nov 2026 | No rules fired |
Findings for v0.2.1. 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.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Keyboard-driven theme cycling with a color swatch widget and per-extension theme defaults for pi.
Three things in one package:
/theme command with a select dialogQuickly explore and switch themes without leaving the keyboard. Assign default themes per extension for consistent visual context — every extension can pick its own color vibe.
Install the package from npm:
{
"source": "npm:@jocax/theme-cycler"
}
# Try it from a local checkout without installing
pi -e ./src/index.ts
| Shortcut | Action |
|---|---|
Ctrl+Q |
Cycle theme forward (next) |
Shift+Ctrl+Q |
Cycle theme backward (previous) |
Each cycle shows a notification with the theme name and position (e.g., "nord (3/12)") and flashes a color swatch widget for 3 seconds.
| Command | Action |
|---|---|
/theme |
Open select dialog with all available themes |
/theme <name> |
Switch directly to the named theme |
The extension adds 🎨 <theme-name> to the pi status bar, updating after every switch.
Use the THEME_MAP export to assign default themes per extension:
import { THEME_MAP, applyExtensionDefaults } from "@jocax/theme-cycler/themeMap";
// Add custom theme mappings before calling applyExtensionDefaults
THEME_MAP["my-extension"] = "dracula";
export default function (pi: ExtensionAPI) {
pi.on("session_start", async (_event, ctx) => {
applyExtensionDefaults(import.meta.url, ctx);
// ... your extension logic
});
}
applyExtensionDefaults() does two things:
synthwave if no mapping)π - <extension-name>When multiple extensions are stacked (e.g., pi -e ext-a.ts -e ext-b.ts), only the first extension's theme is applied. Secondary extensions skip theme assignment.
| Extension | Theme |
|---|---|
footer-toolkit |
synthwave |
theme-cycler |
synthwave |
Edit THEME_MAP to change these or add your own.
The package discovers themes from .pi/themes/ and pi's built-ins. The following themes ship with ae-pi:
ae-adws-dark · catppuccin-mocha · cyberpunk · dracula · everforest gruvbox · midnight-ocean · nord · ocean-breeze · rose-pine · synthwave · tokyo-night
# Standalone theme cycler
pi -e software/packages/theme-cycler/examples/basic.ts
# Stacked with minimal footer
pi -e software/packages/theme-cycler/examples/with-minimal.ts
Both examples run independently — no install required.
just demo theme-cycler
A herdr workspace opens with pi, this extension and a disposable copy of the
small-app sandbox. The agent starts reading files; while it works:
| Step | Do this | Watch |
|---|---|---|
| 1 | Press Ctrl+Q |
The theme switches, a notification shows <name> (n/2), the status line shows 🎨 <name>, and the swatch flashes below the editor for 3 seconds |
| 2 | Press Ctrl+Q again |
The theme switches back |
| 3 | Press Shift+Ctrl+Q |
The theme cycles backward |
| 4 | Type /theme |
A select dialog lists every theme, the active one marked (active) |
| 5 | Type /theme light |
Switches by name; an unknown name reports an error instead |
The swatch shows the five color roles in order — success, accent, warning,
dim, muted — so a theme's palette is visible at a glance.
pi reserves Ctrl+X for copying the last agent message, so this package uses Ctrl+Q and reverses it with Shift, the way pi's own model-cycle pair works.
A demo session sees only pi's built-in dark and light themes, which is why
the counter reads 2. The kit starts pi with --no-approve, so a .pi/themes/
inside the sandbox stays untrusted, and the session's pi agent directory is
empty. For the same reason the per-extension default (synthwave) does not
apply in a demo.
Needs herdr 0.9.3 or newer and one reachable model provider — see demo-kit.
| Export | Type | Description |
|---|---|---|
THEME_MAP |
Record<string, string> |
Extension name → theme name mapping. Mutable. |
applyExtensionDefaults(fileUrl, ctx) |
(string, ExtensionContext) => void |
Apply mapped theme + set terminal title |
applyExtensionTheme(fileUrl, ctx) |
(string, ExtensionContext) => boolean |
Apply mapped theme only |
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.