npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

omnimux

v0.1.8

Published

OmniMux execution hub for DeepSeek Harness: product chrome, identity, model routes, and video jobs.

Readme

omnimux

当前产品方向见角色生成与视频复刻。本页保留该组件的技术职责与既有实现记录,不证明全部功能当前可用,也不扩展默认产品范围;模型/渠道信息属于内部执行,普通用户的简化入口仍需对应实现证据。

Execution hub for landing OmniMux on official dsh. Not a gateway: OmniMux cloud owns HTTP; this package exposes seams and tools. Product chrome, identity, model routes, and media seams live here. Verticals send requests in and take results out. Do not split chrome or identity into a sibling plugin. Third-party compatible media endpoints are configured here. Official-only tools stay here because only OmniMux cloud implements them.

I/O and the seam list: repo docs/contracts/hub.md.

ctx.provide('videoGenerate' | 'imageGenerate') then api.execute({ prompt, dest, … }). Default waits until the file is on disk (mode: "live"). wait: false returns { mode: "submitted", taskId }. { dest, taskId } skips submit and only polls then downloads. Tools: omnimux_video_submit, omnimux_image_submit. Default image model is gpt-image-2.5 (OMNIMUX_IMAGE_MODEL). The hub resolves Config.media (provider → protocol → vendor fields). The hub does not keep a task ledger.

Polling is bounded (Issue #1382): one media task polls for 20 minutes — { taskId, submittedAt } anchors that window at the original submit time, so finishing a task from a previous process does not restart the clock; passing a submittedAt already past the window fails immediately with omnimux-task-timeout and issues no request. Speech keeps its historical 10 minutes. One poll GET has a 10-second timeout that really reaches fetch, transient failures (connection jitter, a request timeout, 429/408/409, retryable 5xx) are retried with backoff inside a 7-second budget, and a task the upstream does not know fails as omnimux-invalid-request — the answer a caller reads as "nothing to reconcile, submit again". Quota, authentication, an unavailable channel, upstream terminal failures and caller cancellation are never retried. A synchronous call (metadata.wait, i.e. no wait: false) is bounded by a 21-minute outer budget — strictly above the poll window, so the task-level omnimux-task-timeout is the error a caller sees for that one call (one task) rather than an opaque provider-runtime abort. Both comparisons in this paragraph are per-task, not per-run: nothing here bounds a whole workflow execution. Override per request with deadlineMs / pollIntervalMs / requestTimeoutMs; there is no environment variable. The single source is src/media/task-deadline.js.

The task window and the workflow's 30-minute whole-run timeout (Issue #1386) are budgets at different granularities — one task versus one execution — and the comparison between them is weaker than it looks. DEFAULT_TASK_DEADLINE_MS < 30min guarantees the task-level omnimux-task-timeout surfaces first only for a single-node run. On a multi-node graph the 30 minutes are shared, so they can elapse while an individual task is still inside its own 20-minute window: the run then ends first, the task-level code never appears, upstream work may keep running and billing, and its artifact is discarded rather than collected. Nothing in the constants prevents that; the workflow's run budget is shared by design.

ctx.provide('textComplete') then api.execute({ prompt, model?, image?, … }) runs one ctx.llm.stream call on an enabled Config.text.models row. Tool: omnimux_text_complete. Not a second chat: no parent messages, no tools, image stays on that request. A text-only call must name model. An image call may omit it and uses grok-4.6 (OMNIMUX_VISION_MODEL). The eleven chat-directory models start enabled.

Official-only page fetch: omnimux_page_fetch({ url }) POSTs /v1/reader with locked model jina-reader-v1 (OMNIMUX_API_KEY). Success is text/plain markdown parsed to { mode, model, url, title, pageContent }. Do not reuse the JSON withSk client. Verticals must not open this HTTP themselves.

Identity (settings)

The Web client registers 个人资料 as a Settings page (settings.section) and DSH 插件 as a tab under official 设置 → 插件 (settings.plugins.tab). 应用 sits in the left sidebar. DSH 插件 is mounted only when the OmniMux desktop injects OMNIMUX_DSH_CLI; it installs npm packages into the omnimux profile through packaged dsh plugin. Clicking Apps fills the conversation column (shell.overlay over [data-slot="conversation"]); it is not a sidebar menu. The button is injected under 新会话 (same DOM seat as 任务看板), immediately above that family block. Host talks to OmniMux device-login HTTP itself (POST /api/user/device/code and /token on the site origin). The OmniMux CLI is not required. Plugin UI seats: repo docs/contracts/settings-ui.md.

The agent's web_search (official web-search-deepseek provider) needs a DeepSeek API key under the DEEPSEEK_API_KEY credential reference. The canonical configuration surface is the official Settings → 插件 → Web Search card (settings.plugin.item; DSH 0.2.x lists official plugin pages under plugins.item), which writes the key through the credentials domain — the same store this plugin's login token uses. No product settings page is registered for it.

Host plugins read ctx.get('identity'): status({ verify }) returns the public profile; require() throws needs-omnimux when unsigned. The browser still only calls /omnimux/auth/*.

The signed-in 个人资料 page shows a deterministic blobatar from the username. Hover the face and click 编辑 for the avatar dialog: 换一个 re-rolls, the colour row pins a hue, 上传图片 accepts a PNG/JPEG/WebP/GIF under 200KB, and 恢复默认 clears everything. Host GET/PATCH /omnimux/avatar reads and writes per-profile overrides ($DSH_HOME/omnimux/avatar.json). A first login with no stored row is the default; any change persists a snapshot URI so a later library upgrade never moves a customized face.

Two keys, two URLs:

| Key / URL | Purpose | |---|---| | OMNIMUX_ACCESS_TOKEN in $DSH_HOME/.credentials.yaml (or $DSH_HOME/omnimux/access-token) | Who you are. Issued by device login. Never sent to the browser. | | OMNIMUX_API_KEY / OMNIMUX_TOKEN | Metered video/API calls. Unchanged. | | DEEPSEEK_API_KEY in $DSH_HOME/.credentials.yaml | Agent web_search (official web-search-deepseek provider). Configured from the official Settings → 插件 → Web Search card; never sent to the browser. | | OMNIMUX_SITE_URL or config siteBaseUrl (default https://omnimux.ai) | Login and /api/user/self | | OMNIMUX_BASE_URL (default https://api.omnimux.ai/v1) | Video API |

Startup only describes the stored access token. Settings 个人资料 can start device login (client_name: omnimux). 应用 lists official catalog rows from GET /omnimux/apps without a login gate.

Official Apps rows come from apps/catalog.json (floor) plus an optional Host GET of {siteBaseUrl}/apps/catalog.json when Config.apps.remote is true. The cache is $DSH_HOME/omnimux/apps/. The browser never fetches the site file. Install uses the catalog's pinned install_spec through /omnimux/plugins. The first official row is accounts ([email protected]). Connected accounts are listed on Host GET /omnimux/accounts. Contract: repo docs/contracts/apps-catalog.md.

Product chrome

The host half embeds overlay config in the Web index (window.__OMNIMUX_BRAND__). The browser half covers official whale / wordmark / tab title / favicon without detaching React nodes. Empty-session hero mark prefers the official conversation.hero.brand.mark slot (priority: -10); coverHeroFish remains the DOM fallback. Config fields (all optional): productName, logoSvg, wordmarkText, replaceHeroMark, hidePreviewBadge, rewriteWelcome, heroHeadline, heroHeadlineFit, heroHeadlineMaxPx, heroHeadlineMinPx. Brand defaults are existing configuration, not the current public positioning; read the Config source rather than restoring an old social-team tagline from this document.

Do not export a sk- as OMNIMUX_ACCESS_TOKEN. Do not split chrome into a sibling plugin.