dshbase

插件目录 / Developer / dsh-artifactloop

dsh-artifactloop

已验证 · 实测可装 sluminositys

✓ 持续维护 基于 15 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-19最近推送
跨平台平台

功能简介

A DeepSeek Harness review layer for polished, commentable Markdown artifacts and precise conversational feedback.

✅
我们的评价
可用 — 实测通过,早期项目

A DeepSeek Harness review layer for polished, commentable Markdown artifacts and precise conversational feedback. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

ArtifactLoop

Turn agent-delivered Markdown into a polished, reviewable reading view — and carry precise feedback back into the conversation.

License: MIT
Status: In development

ArtifactLoop is a plugin for DeepSeek Harness. When an agent delivers a Markdown file through a file-editing tool, ArtifactLoop registers it as an artifact, renders it on demand with a deterministic reading-view engine, and shows it in a unified artifact library. Readers can annotate exact text selections, collect comments across multiple passages, and append a structured feedback packet to the current conversation draft — the agent then revises the Markdown, and the loop starts again.

How it works

agent delivers Markdown through a file tool
      │  source file is read-only to ArtifactLoop; the original stays in place
      ▼
turn-tail card in chat ──► open reading view
      │
      ▼
deterministic renderer ──► disposable HTML projection (LRU cache)
      │
      ▼
selection-anchored comments ──► review tray ──► feedback packet ──► conversation draft

Markdown remains the only source of truth. ArtifactLoop never creates, overwrites, moves, renames, or deletes source files; all derived data (projections, annotations, review state) lives in the plugin's own data directory and DSH storage. Rendering never calls a model and never consumes model tokens — token usage begins only when the user actually sends the drafted feedback.

Status

In development — no stable release yet. The v1 specification is at 0.1.0-draft.4. The current development build supports a real single-file path from Host-side registration through deterministic rendering to a sandboxed reading frame on unmodified DeepSeek Harness 0.1.0-rc.7 and 0.1.1-rc.2. Automatic tool-result recognition, annotations, and feedback insertion are still being implemented slice by slice.

Features (v1 scope)

  • Trustworthy recognition — only Markdown delivered by successful agent file-tool operations becomes an artifact. No workspace scanning, no guessing about shell output.
  • Chat-flow entry — each turn that delivers Markdown gets a card at its tail with an "open reading view" action.
  • Deterministic rendering — polished typography, native MathML, and static syntax highlighting, produced by a pinned Python rendering core. Identical input bytes always produce identical HTML.
  • On-demand projection cache — HTML is rendered when a document is opened and kept in an LRU cache; evicted projections are rebuilt from the source at any time.
  • Precise annotations — comments anchor to exact text selections with strict, deterministic re-anchoring after the document changes. No fuzzy matching, no model guessing.
  • User-controlled feedback — selected annotations become a structured JSON packet appended to the conversation draft through the public composer API. ArtifactLoop never auto-submits.
  • Hardened preview — script-free sandboxed iframe, strict Content Security Policy, capability-token URLs, and workspace path containment.

Requirements

Component Requirement
DeepSeek Harness exactly 0.1.0-rc.7 or 0.1.1-rc.2 (Web profile)
Node.js ^22.19.0 || >=24.0.0
Python 3.10+ on the host machine (pure-Python renderer dependencies ship inside the package)

Installation

ArtifactLoop has not been published to npm yet. Once released, installation will be:

dsh plugin --profile web add dsh-artifactloop

For development, clone this repository, build with pnpm build, and install the packed tarball into an isolated DSH profile. See CONTRIBUTING.md.

Data and privacy

  • Source Markdown is opened read-only; an integration test suite verifies byte-for-byte workspace immutability across every plugin operation, including uninstall.
  • All derived data lives under $DSH_HOME/artifactloop/v1 and the DSH storage domain artifactloop. Deleting them never affects your files.
  • No telemetry, no crash upload, no network requests at runtime; remote images are blocked in previews.

Known limitations (v1)

  • Markdown (.md) only; other formats are out of scope.
  • Files written by shell commands are not collected — attribution never guesses.
  • Reading view and chat alternate through view switching; a side-by-side layout is a candidate for a later version.
  • No revision-history browsing: annotations on changed text are shown with their saved quotes and clearly marked as stale.

Contributing

The specification is open for review. Please read CONTRIBUTING.md before proposing changes, and report security-sensitive findings following SECURITY.md.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-artifactloop」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:sluminositys/dsh-artifactloop

Headless(CLI)profile:

dsh plugin --profile headless add github:sluminositys/dsh-artifactloop

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →