dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ynnmuraii/dsh-plugin-chat-annotations
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Annotate any text in the DeepSeek Harness chat: select a fragment, attach a comment (or not), and the annotation travels to the agent with your next message — as a structured content part, not as a field decoration.
Version note. Built and verified against DeepSeek Harness
0.1.1-rc.2. The UI it hooks into is a moving target; on newer Harness versions re-verify and update the plugin if something shifted.
◫ 2 annotations); hover it to list every annotation with its excerpt and
comment.session.prompt as
an extra text content part, so the agent sees them as part of the message.
Press Enter with annotations and an empty composer: the plugin sends the
annotation block alone — no typed text required.# build the bundle (from this repo)
pnpm install --config.strictDepBuilds=false --config.minimumReleaseAge=0
pnpm build
pnpm pack # produces dsh-lab-dsh-plugin-chat-annotations-0.0.0.tgz
# install into your profile (run from anywhere; profile path is $DSH_HOME/profiles/<name>)
dsh plugin --profile web add file:/absolute/path/to/dsh-lab-dsh-plugin-chat-annotations-0.0.0.tgz --config.strictDepBuilds=false
Then restart your dsh web server (or just refresh the browser tab — client
bundles are re-read on page load).
dsh plugin --profile web add github:ynnmuraii/dsh-plugin-chat-annotations
Open the web UI. The annotation pill (◫ 0 annotations) appears above the
composer once a session is open. If it does not, check the boot page
(HARNESS / Failed to load plugins) and the server logs.
The plugin intercepts session.prompt traffic and appends an extra text content
part to the message:
content: [
{ type: "text", text: "your message..." },
{ type: "text", text: "[User annotations]\n1. Selected text: «excerpt» — Comment: ..." }
]
Entering text is never required: with pending annotations and an empty
composer, Enter sends the annotation block as the sole content.
pnpm install --config.strictDepBuilds=false --config.minimumReleaseAge=0
pnpm typecheck
pnpm test # vitest + jsdom (6 tests: lifecycle, selection, renumbering, clip)
pnpm build # tsc ESM host + CJS client wrapped for __ModuleLoader__.load
src/index.ts — host half (Cordis plugin entry, greet tool).src/client.ts — browser half: toolbar, markers, pill, popup, wire
interception.tests/index.spec.ts — jsdom behavior tests.src/
index.ts host entry (name / inject / apply)
client.ts browser half (registered via __ModuleLoader__.load)
tests/ vitest + jsdom
scripts/
build-client.mjs wraps the CJS client emit into the module-loader contract
pack-smoke.mjs installs the tarball and executes the built entry
Targets: next (@deepseek-ai/dsh 0.1.1-rc.2, cordis 4.0.1).
Verified via pnpm lab verify chat-annotations --target next (inspect, install,
typecheck, test, build, pack, pack-smoke, composed profile).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。