DeepSeek Harness Plugin

Ephemeral-AI-Lab/mayfly#mayfly

Stars ★ 24 Downloads (30d) 1,828 Category UI Enhancements Added 2026-10-13 npm @ephemeral-ai/mayfly

Interactive terminal UI for DeepSeek Harness: tables, Mermaid and chart rendering, side conversations, and the same Cordis plugin model as dsh Web.

Install

# from npm (prebuilt)

dsh plugin --profile web add @ephemeral-ai/mayfly

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Ephemeral-AI-Lab/mayfly#path:/packages/mayfly

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

English | 中文

The independent Mayfly TUI. It attaches to a native DeepSeek Harness Host carrying @ephemeral-ai/mayfly-host through the official HTTP/WebSocket Client and detaches on exit; Host Sessions and running work stay owned by Harness. The global @ephemeral-ai/mayfly-cli launcher starts it. The package has no installable dsh bundle, Host plugin entry, composition patch, or preset payload.

Its public surface is the root (the application and runRemoteFrontend), ./client (the official Client layer), and ./bin (the mayfly entry).

For this development branch, use the checkout's verified build:

DSH_BIN=/path/to/dsh PROFILE=mayfly-split-accept script/install-dev.sh
/path/to/dsh --profile mayfly-split-accept
# In another terminal, copy the authenticated URL printed by the Host:
MAYFLY_DSH_STARTUP_URL='<Host URL>' script/mayfly-tui.sh

The Host needs official Harness 0.2.2-rc.1. Install model credentials on the Host. Rebuild the checkout after source changes.

TUI plugins contribute renderer-neutral nodes through mayflyPanes, mayflyStatus, mayflyOverlays, and mayflyEditorExtensions in the TUI's own Cordis tree. A source composition adds them to the ordinary startup:

import { run } from '@ephemeral-ai/mayfly/bin'
import * as myPlugin from './my-plugin.ts'

await run(process.argv.slice(2), { plugins: [myPlugin] })

Host plugins use native dsh services in the Host process. TUI plugins accept readonly facts and structured actions; they never retain a native Agent or Session.

The published 0.1.4-rc.2 package is the immutable UI reference for this implementation. Passing a smoke test does not establish visual parity; see split validation.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.