DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Coldwings /

Coldwings/dsh-quire

Verified

Interactive result pages for DeepSeek Harness sessions.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@84f25c18

Quire

Interactive results for agent sessions.

Quire is a DeepSeek Harness plugin that turns a session's result into an interactive, LLM-generated page instead of a read-only Markdown message.

You start a request from one panel, the agent works in a normal DSH session, and the result appears as a page you can operate: filter it, select a data point, open a detail, or ask a follow-up. The page can send the current selection back as context for the next turn.

Project status

  • Working name: Quire (dsh-quire); Chinese subtitle: 页集.
  • Version: 0.1.0, published on npm as dsh-quire.
  • License: MIT (see LICENSE).
  • Repository: public at Coldwings/dsh-quire; not yet listed in the Plugin Market.
  • Compatibility: built against DeepSeek Harness 0.2.3-alpha.3; engines.dsh currently allows the 0.2.x line.

Vision

Quire aims to be the LLM GUI for DeepSeek Harness: a session does the work, and the result is a purpose-built interface the user can operate, not a transcript. Start a request in a workspace, receive the page, make a choice, and continue in the same session. The panel is the workspace-level entry to that loop.

Why

Current agent UIs are mostly conversational CLIs or TUIs: the user types, the model answers with Markdown, and the result is read-only. Quire treats the result as the primary object and the session as its execution substrate.

  • The output is a page, not a message.
  • The input is direct manipulation plus a contextual follow-up, not only a composer.
  • The panel is an independent entry, not a conversation sidebar.
  • The agent chooses the presentation; the host provides the runtime, theme, and safety boundary.

What it does

  • Global panel. A Quire entry in the left sidebar opens a full main-column panel.
  • Workspace-aware requests. The request composer requires a workspace, so a result always lands in the right directory.
  • present_result tool. An agent publishes a self-contained HTML page as the result of a session.
  • Interactive results. Pages can call host.select(label, data), host.ask(question, data), and host.action(id, payload).
  • Contextual follow-up. A selection or action becomes structured context for the next prompt to the same session.
  • Result index. Each workspace keeps its results under .quire/; the panel aggregates them across registered workspaces.
  • Constrained executors. A task session created from the panel is restricted to the present_result tool; it cannot edit the workspace or run commands.
  • Mobile list/detail. Below 760px the panel switches between a full-height result list and a full-height result detail, with a back control; inputs use a 16px font to avoid iOS zoom, the panel tracks visualViewport so the follow-up stays above the keyboard, and the follow-up sends on the keyboard's Enter key when not composing.

Screenshots

Desktop result panel Mobile result detail
Quire desktop result panel Quire mobile result detail

The screenshots use a demo workspace label and demo data.

Marketplace

Quire is being prepared for the community Plugin Market (dshmarket). The market reads the curated awesome-dsh-plugin catalog, not the npm registry directly. The submission entry, 180px raster icon, screenshots, and checklist are ready in this repository:

  • marketplace/Coldwings__dsh-quire.yml
  • docs/marketplace.md

The repository is public, carries the dsh-plugin topic, and dsh-quire@0.1.0 is published on npm, but it is not listed in the Plugin Market yet. The remaining steps are the one-day repository age and the catalog pull request; see docs/marketplace.md.

Documentation

  • DESIGN.md — product principles, interaction model, and architecture.
  • docs/result-contract.md — present_result, page shell, host bridge, .quire storage, and /quire RPC.
  • docs/security-model.md — sandbox, trust boundaries, RPC authentication, and executor restriction.
  • docs/marketplace.md — community-market submission material and checklist.
  • docs/adr/README.md — Architecture Decision Records and the T1–T5 trigger list.
  • CONTRIBUTING.md, AGENTS.md, and GOVERNANCE.md — contribution, agent, and decision rules.
  • SECURITY.md — private vulnerability reporting.

Install

Quire is a local DSH bundle. From the DSH Web UI:

  1. Open Plugins in the left sidebar.
  2. Choose Add plugin and enter the absolute path to this directory (or a link: / file: spec for the checkout).
  3. Enable the Quire bundle if it is not enabled automatically.
  4. Open Quire in the left sidebar.

The package is published on npm, so it can also be installed without a checkout:

dsh plugin --profile web add dsh-quire

For development, the Host and Client halves are plain JavaScript:

node --check index.js
node --check client.js
node scripts/check-docs.mjs
npm pack --dry-run

There is no build step and no npm install.

Use

  1. Pick a workspace in the Quire panel.
  2. Describe the result you want: a report, a dashboard, a comparison, a review surface.
  3. Quire creates a session in that workspace and sends the request.
  4. When the agent calls present_result, the page appears in Results.
  5. Interact with the page, then send a follow-up. The current selection and action travel with the prompt.
  6. Open session jumps to the underlying DSH session when you need the execution trace.

Result contract

The Host injects a small bridge into every result page:

host.select(label, data)      // user selected something on the page
host.ask(question, data)      // prefill a follow-up, do not send it
host.action(id, payload)      // request a host action, do not execute it

The page runs in a sandboxed iframe:

  • sandbox="allow-scripts", no allow-same-origin
  • CSP: no network, no parent access, no storage, no forms, no nested frames
  • no direct tool calls; actions become context for a user-confirmed follow-up

Architecture

Quire panel (browser)
  ├─ request composer + workspace picker
  ├─ result list (workspace-scoped)
  └─ result detail
       ├─ sandboxed HTML page + host bridge
       └─ selection/action context + follow-up

Host half
  ├─ present_result tool
  ├─ .quire/index.json + .quire/results/<session>/<id>.html
  └─ authenticated loopback channel /quire

Quire uses DSH's existing session controller, workspace registry, tool registry, and web server. It does not replace the app shell or add a second scheduler.

Security

  • Result pages are untrusted model output. They run in an opaque-origin iframe with a restrictive CSP.
  • The bridge only reports selection, questions, and action requests. It cannot execute tools or mutate the session.
  • A follow-up is a normal user prompt; the user confirms it before it is sent.
  • The Host channel is authenticated by DSH's connection rejection policy.

The full trust model, including the page sandbox and the panel-task restriction, is in docs/security-model.md. The rationale is in ADR-0002 and ADR-0005.

Roadmap

  1. Make the interactive result loop reliable: selection, follow-up, new version.
  2. Add a result projection or stream instead of polling.
  3. Add Markdown and file result kinds.
  4. Add result history and version navigation.
  5. Add a dedicated Quire executor preset with a lighter prompt and a headless approval policy.
  6. Add task scheduling only if real use shows it is needed.

中文简介

页集(Quire)是一个 DeepSeek Harness 插件:它把会话的结果变成可交互的、由 LLM 生成的页面,而不是一条只读的 Markdown。

在页集面板里发起请求,agent 在对应工作区的会话中执行,结果以你可以直接操作的页面出现;页面上的选择、追问和动作会作为上下文回到会话,形成下一轮结果。

页集(Quire)的愿景是成为 DSH 上的 LLM GUI:会话负责执行,结果不是一段聊天记录,而是模型为这次任务生成的、可以直接操作的界面。你从工作区发起请求,拿到页面,在页面上做选择,再带着上下文回到同一个会话继续;面板就是这条循环的入口。

技术契约在 docs/result-contract.md,安全模型在 docs/security-model.md,架构决策记录在 docs/adr/。

License

MIT. See LICENSE.

—/ 5

No ratings yet

Verified DSH bundle

Commit 84f25c18fa8d

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout