dsh-tidy-display 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +270 -0
- package/DESIGN.md +72 -0
- package/LICENSE +24 -0
- package/README.en.md +118 -0
- package/README.md +118 -0
- package/THIRD_PARTY_NOTICES.md +65 -0
- package/compat/harness-rc2.json +99 -0
- package/cordis.patch.yml +5 -0
- package/cordis.yml +4 -0
- package/docs/official-rendering-bridge.md +65 -0
- package/docs/plans/2026-09-28-merge/checklist.md +21 -0
- package/docs/plans/2026-09-28-merge/findings.md +24 -0
- package/docs/plans/2026-09-28-merge/spec.md +61 -0
- package/docs/plans/2026-09-28-merge/tasks.md +34 -0
- package/dshx.yml +5 -0
- package/lib/client.js +50207 -0
- package/lib/client.js.map +1 -0
- package/lib/dsh-tidy-display.js +254 -0
- package/lib/types/client/Blocks.d.ts +49 -0
- package/lib/types/client/Blocks.d.ts.map +1 -0
- package/lib/types/client/Blocks.js +143 -0
- package/lib/types/client/Blocks.js.map +1 -0
- package/lib/types/client/ChoreographedFlow.d.ts +22 -0
- package/lib/types/client/ChoreographedFlow.d.ts.map +1 -0
- package/lib/types/client/ChoreographedFlow.js +218 -0
- package/lib/types/client/ChoreographedFlow.js.map +1 -0
- package/lib/types/client/ClosedProcessSummary.d.ts +9 -0
- package/lib/types/client/ClosedProcessSummary.d.ts.map +1 -0
- package/lib/types/client/ClosedProcessSummary.js +16 -0
- package/lib/types/client/ClosedProcessSummary.js.map +1 -0
- package/lib/types/client/DiffPanel.d.ts +13 -0
- package/lib/types/client/DiffPanel.d.ts.map +1 -0
- package/lib/types/client/DiffPanel.js +115 -0
- package/lib/types/client/DiffPanel.js.map +1 -0
- package/lib/types/client/LiveFold.d.ts +10 -0
- package/lib/types/client/LiveFold.d.ts.map +1 -0
- package/lib/types/client/LiveFold.js +39 -0
- package/lib/types/client/LiveFold.js.map +1 -0
- package/lib/types/client/McpAppFrame.d.ts +32 -0
- package/lib/types/client/McpAppFrame.d.ts.map +1 -0
- package/lib/types/client/McpAppFrame.js +193 -0
- package/lib/types/client/McpAppFrame.js.map +1 -0
- package/lib/types/client/OfficialContent.d.ts +25 -0
- package/lib/types/client/OfficialContent.d.ts.map +1 -0
- package/lib/types/client/OfficialContent.js +53 -0
- package/lib/types/client/OfficialContent.js.map +1 -0
- package/lib/types/client/Reader.d.ts +3 -0
- package/lib/types/client/Reader.d.ts.map +1 -0
- package/lib/types/client/Reader.js +508 -0
- package/lib/types/client/Reader.js.map +1 -0
- package/lib/types/client/ReasoningCard.d.ts +11 -0
- package/lib/types/client/ReasoningCard.d.ts.map +1 -0
- package/lib/types/client/ReasoningCard.js +322 -0
- package/lib/types/client/ReasoningCard.js.map +1 -0
- package/lib/types/client/SettingsSection.d.ts +59 -0
- package/lib/types/client/SettingsSection.d.ts.map +1 -0
- package/lib/types/client/SettingsSection.js +93 -0
- package/lib/types/client/SettingsSection.js.map +1 -0
- package/lib/types/client/StickyLane.d.ts +8 -0
- package/lib/types/client/StickyLane.d.ts.map +1 -0
- package/lib/types/client/StickyLane.js +39 -0
- package/lib/types/client/StickyLane.js.map +1 -0
- package/lib/types/client/TimelineRail.d.ts +10 -0
- package/lib/types/client/TimelineRail.d.ts.map +1 -0
- package/lib/types/client/TimelineRail.js +168 -0
- package/lib/types/client/TimelineRail.js.map +1 -0
- package/lib/types/client/ToolActivity.d.ts +17 -0
- package/lib/types/client/ToolActivity.d.ts.map +1 -0
- package/lib/types/client/ToolActivity.js +244 -0
- package/lib/types/client/ToolActivity.js.map +1 -0
- package/lib/types/client/TurnMetrics.d.ts +11 -0
- package/lib/types/client/TurnMetrics.d.ts.map +1 -0
- package/lib/types/client/TurnMetrics.js +44 -0
- package/lib/types/client/TurnMetrics.js.map +1 -0
- package/lib/types/client/WaitClock.d.ts +16 -0
- package/lib/types/client/WaitClock.d.ts.map +1 -0
- package/lib/types/client/WaitClock.js +29 -0
- package/lib/types/client/WaitClock.js.map +1 -0
- package/lib/types/client/WaitingClock.d.ts +15 -0
- package/lib/types/client/WaitingClock.d.ts.map +1 -0
- package/lib/types/client/WaitingClock.js +30 -0
- package/lib/types/client/WaitingClock.js.map +1 -0
- package/lib/types/client/WaitingStatus.d.ts +6 -0
- package/lib/types/client/WaitingStatus.d.ts.map +1 -0
- package/lib/types/client/WaitingStatus.js +9 -0
- package/lib/types/client/WaitingStatus.js.map +1 -0
- package/lib/types/client/conversation-scroll.d.ts +19 -0
- package/lib/types/client/conversation-scroll.d.ts.map +1 -0
- package/lib/types/client/conversation-scroll.js +25 -0
- package/lib/types/client/conversation-scroll.js.map +1 -0
- package/lib/types/client/deliverables.d.ts +24 -0
- package/lib/types/client/deliverables.d.ts.map +1 -0
- package/lib/types/client/deliverables.js +104 -0
- package/lib/types/client/deliverables.js.map +1 -0
- package/lib/types/client/entry-policy.d.ts +10 -0
- package/lib/types/client/entry-policy.d.ts.map +1 -0
- package/lib/types/client/entry-policy.js +24 -0
- package/lib/types/client/entry-policy.js.map +1 -0
- package/lib/types/client/entry.d.ts +4 -0
- package/lib/types/client/entry.d.ts.map +1 -0
- package/lib/types/client/entry.js +34 -0
- package/lib/types/client/entry.js.map +1 -0
- package/lib/types/client/fold-choreography.d.ts +40 -0
- package/lib/types/client/fold-choreography.d.ts.map +1 -0
- package/lib/types/client/fold-choreography.js +48 -0
- package/lib/types/client/fold-choreography.js.map +1 -0
- package/lib/types/client/fold-intensity.d.ts +11 -0
- package/lib/types/client/fold-intensity.d.ts.map +1 -0
- package/lib/types/client/fold-intensity.js +32 -0
- package/lib/types/client/fold-intensity.js.map +1 -0
- package/lib/types/client/index.d.ts +7 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/index.js +234 -0
- package/lib/types/client/index.js.map +1 -0
- package/lib/types/client/live-turn.d.ts +58 -0
- package/lib/types/client/live-turn.d.ts.map +1 -0
- package/lib/types/client/live-turn.js +144 -0
- package/lib/types/client/live-turn.js.map +1 -0
- package/lib/types/client/markdown/MarkdownText.d.ts +41 -0
- package/lib/types/client/markdown/MarkdownText.d.ts.map +1 -0
- package/lib/types/client/markdown/MarkdownText.js +178 -0
- package/lib/types/client/markdown/MarkdownText.js.map +1 -0
- package/lib/types/client/markdown/cjkFriendlyStrong.d.ts +9 -0
- package/lib/types/client/markdown/cjkFriendlyStrong.d.ts.map +1 -0
- package/lib/types/client/markdown/cjkFriendlyStrong.js +73 -0
- package/lib/types/client/markdown/cjkFriendlyStrong.js.map +1 -0
- package/lib/types/client/markdown/incremental.d.ts +69 -0
- package/lib/types/client/markdown/incremental.d.ts.map +1 -0
- package/lib/types/client/markdown/incremental.js +108 -0
- package/lib/types/client/markdown/incremental.js.map +1 -0
- package/lib/types/client/markdown/katex.d.ts +27 -0
- package/lib/types/client/markdown/katex.d.ts.map +1 -0
- package/lib/types/client/markdown/katex.js +88 -0
- package/lib/types/client/markdown/katex.js.map +1 -0
- package/lib/types/client/markdown/mathCompatibility.d.ts +11 -0
- package/lib/types/client/markdown/mathCompatibility.d.ts.map +1 -0
- package/lib/types/client/markdown/mathCompatibility.js +295 -0
- package/lib/types/client/markdown/mathCompatibility.js.map +1 -0
- package/lib/types/client/markdown/parse.d.ts +25 -0
- package/lib/types/client/markdown/parse.d.ts.map +1 -0
- package/lib/types/client/markdown/parse.js +42 -0
- package/lib/types/client/markdown/parse.js.map +1 -0
- package/lib/types/client/markdown/render.d.ts +121 -0
- package/lib/types/client/markdown/render.d.ts.map +1 -0
- package/lib/types/client/markdown/render.js +452 -0
- package/lib/types/client/markdown/render.js.map +1 -0
- package/lib/types/client/mcp-app.d.ts +50 -0
- package/lib/types/client/mcp-app.d.ts.map +1 -0
- package/lib/types/client/mcp-app.js +328 -0
- package/lib/types/client/mcp-app.js.map +1 -0
- package/lib/types/client/message-chrome.d.ts +19 -0
- package/lib/types/client/message-chrome.d.ts.map +1 -0
- package/lib/types/client/message-chrome.js +42 -0
- package/lib/types/client/message-chrome.js.map +1 -0
- package/lib/types/client/motion.d.ts +38 -0
- package/lib/types/client/motion.d.ts.map +1 -0
- package/lib/types/client/motion.js +453 -0
- package/lib/types/client/motion.js.map +1 -0
- package/lib/types/client/native/ContextBody.d.ts +130 -0
- package/lib/types/client/native/ContextBody.d.ts.map +1 -0
- package/lib/types/client/native/ContextBody.js +398 -0
- package/lib/types/client/native/ContextBody.js.map +1 -0
- package/lib/types/client/native/ContextInjectionRow.d.ts +35 -0
- package/lib/types/client/native/ContextInjectionRow.d.ts.map +1 -0
- package/lib/types/client/native/ContextInjectionRow.js +42 -0
- package/lib/types/client/native/ContextInjectionRow.js.map +1 -0
- package/lib/types/client/native/ReferenceIcon.d.ts +16 -0
- package/lib/types/client/native/ReferenceIcon.d.ts.map +1 -0
- package/lib/types/client/native/ReferenceIcon.js +16 -0
- package/lib/types/client/native/ReferenceIcon.js.map +1 -0
- package/lib/types/client/native/tool-call-model.d.ts +58 -0
- package/lib/types/client/native/tool-call-model.d.ts.map +1 -0
- package/lib/types/client/native/tool-call-model.js +219 -0
- package/lib/types/client/native/tool-call-model.js.map +1 -0
- package/lib/types/client/native/tool-update.d.ts +23 -0
- package/lib/types/client/native/tool-update.d.ts.map +1 -0
- package/lib/types/client/native/tool-update.js +22 -0
- package/lib/types/client/native/tool-update.js.map +1 -0
- package/lib/types/client/official-slots.d.ts +71 -0
- package/lib/types/client/official-slots.d.ts.map +1 -0
- package/lib/types/client/official-slots.js +183 -0
- package/lib/types/client/official-slots.js.map +1 -0
- package/lib/types/client/open-file.d.ts +29 -0
- package/lib/types/client/open-file.d.ts.map +1 -0
- package/lib/types/client/open-file.js +71 -0
- package/lib/types/client/open-file.js.map +1 -0
- package/lib/types/client/pending-submission.d.ts +28 -0
- package/lib/types/client/pending-submission.d.ts.map +1 -0
- package/lib/types/client/pending-submission.js +28 -0
- package/lib/types/client/pending-submission.js.map +1 -0
- package/lib/types/client/platform-media.d.ts +6 -0
- package/lib/types/client/platform-media.d.ts.map +1 -0
- package/lib/types/client/platform-media.js +18 -0
- package/lib/types/client/platform-media.js.map +1 -0
- package/lib/types/client/primitive-labels.d.ts +10 -0
- package/lib/types/client/primitive-labels.d.ts.map +1 -0
- package/lib/types/client/primitive-labels.js +38 -0
- package/lib/types/client/primitive-labels.js.map +1 -0
- package/lib/types/client/projection.d.ts +41 -0
- package/lib/types/client/projection.d.ts.map +1 -0
- package/lib/types/client/projection.js +112 -0
- package/lib/types/client/projection.js.map +1 -0
- package/lib/types/client/rail/RailView.d.ts +24 -0
- package/lib/types/client/rail/RailView.d.ts.map +1 -0
- package/lib/types/client/rail/RailView.js +540 -0
- package/lib/types/client/rail/RailView.js.map +1 -0
- package/lib/types/client/rail/colors.d.ts +43 -0
- package/lib/types/client/rail/colors.d.ts.map +1 -0
- package/lib/types/client/rail/colors.js +223 -0
- package/lib/types/client/rail/colors.js.map +1 -0
- package/lib/types/client/reasoning-follow.d.ts +10 -0
- package/lib/types/client/reasoning-follow.d.ts.map +1 -0
- package/lib/types/client/reasoning-follow.js +21 -0
- package/lib/types/client/reasoning-follow.js.map +1 -0
- package/lib/types/client/resource-address.d.ts +3 -0
- package/lib/types/client/resource-address.d.ts.map +1 -0
- package/lib/types/client/resource-address.js +33 -0
- package/lib/types/client/resource-address.js.map +1 -0
- package/lib/types/client/settings-copy.d.ts +7 -0
- package/lib/types/client/settings-copy.d.ts.map +1 -0
- package/lib/types/client/settings-copy.js +85 -0
- package/lib/types/client/settings-copy.js.map +1 -0
- package/lib/types/client/settings-slots.d.ts +34 -0
- package/lib/types/client/settings-slots.d.ts.map +1 -0
- package/lib/types/client/settings-slots.js +2 -0
- package/lib/types/client/settings-slots.js.map +1 -0
- package/lib/types/client/settings.d.ts +4 -0
- package/lib/types/client/settings.d.ts.map +1 -0
- package/lib/types/client/settings.js +60 -0
- package/lib/types/client/settings.js.map +1 -0
- package/lib/types/client/skill-status.d.ts +25 -0
- package/lib/types/client/skill-status.d.ts.map +1 -0
- package/lib/types/client/skill-status.js +44 -0
- package/lib/types/client/skill-status.js.map +1 -0
- package/lib/types/client/store.d.ts +66 -0
- package/lib/types/client/store.d.ts.map +1 -0
- package/lib/types/client/store.js +61 -0
- package/lib/types/client/store.js.map +1 -0
- package/lib/types/client/stream-buffer.d.ts +37 -0
- package/lib/types/client/stream-buffer.d.ts.map +1 -0
- package/lib/types/client/stream-buffer.js +150 -0
- package/lib/types/client/stream-buffer.js.map +1 -0
- package/lib/types/client/streaming.d.ts +18 -0
- package/lib/types/client/streaming.d.ts.map +1 -0
- package/lib/types/client/streaming.js +84 -0
- package/lib/types/client/streaming.js.map +1 -0
- package/lib/types/client/timeline.d.ts +26 -0
- package/lib/types/client/timeline.d.ts.map +1 -0
- package/lib/types/client/timeline.js +48 -0
- package/lib/types/client/timeline.js.map +1 -0
- package/lib/types/client/tool-activity.d.ts +98 -0
- package/lib/types/client/tool-activity.d.ts.map +1 -0
- package/lib/types/client/tool-activity.js +301 -0
- package/lib/types/client/tool-activity.js.map +1 -0
- package/lib/types/client/types.d.ts +91 -0
- package/lib/types/client/types.d.ts.map +1 -0
- package/lib/types/client/types.js +2 -0
- package/lib/types/client/types.js.map +1 -0
- package/lib/types/client/waiting-clock.d.ts +49 -0
- package/lib/types/client/waiting-clock.d.ts.map +1 -0
- package/lib/types/client/waiting-clock.js +80 -0
- package/lib/types/client/waiting-clock.js.map +1 -0
- package/lib/types/client/word-motion.d.ts +16 -0
- package/lib/types/client/word-motion.d.ts.map +1 -0
- package/lib/types/client/word-motion.js +90 -0
- package/lib/types/client/word-motion.js.map +1 -0
- package/lib/types/client/word-timeline.d.ts +32 -0
- package/lib/types/client/word-timeline.d.ts.map +1 -0
- package/lib/types/client/word-timeline.js +119 -0
- package/lib/types/client/word-timeline.js.map +1 -0
- package/lib/types/dsh-tidy-display.d.ts +17 -0
- package/lib/types/dsh-tidy-display.d.ts.map +1 -0
- package/lib/types/dsh-tidy-display.js +97 -0
- package/lib/types/dsh-tidy-display.js.map +1 -0
- package/lib/types/skill-roots.d.ts +22 -0
- package/lib/types/skill-roots.d.ts.map +1 -0
- package/lib/types/skill-roots.js +126 -0
- package/lib/types/skill-roots.js.map +1 -0
- package/lib/types/skill-status.d.ts +36 -0
- package/lib/types/skill-status.d.ts.map +1 -0
- package/lib/types/skill-status.js +51 -0
- package/lib/types/skill-status.js.map +1 -0
- package/package.json +141 -0
- package/scripts/build-motion-fixture.mjs +26 -0
- package/scripts/check-harness-compat.mjs +75 -0
- package/scripts/link-harness-dependencies.mjs +54 -0
- package/scripts/verify-auto-fold.mjs +114 -0
- package/scripts/verify-official-bridge.mjs +121 -0
- package/scripts/verify-tool-shimmer.mjs +62 -0
- package/skills/generative-mcpapps/SKILL.md +47 -0
- package/skills/generative-mcpapps/examples/interactive_quiz.html +153 -0
- package/skills/generative-mcpapps/references/html_boilerplate.md +122 -0
- package/skills/generative-mcpapps/references/sep1865_protocol.md +54 -0
- package/src/client/Blocks.tsx +213 -0
- package/src/client/ChoreographedFlow.tsx +232 -0
- package/src/client/ClosedProcessSummary.tsx +23 -0
- package/src/client/DiffPanel.tsx +124 -0
- package/src/client/LiveFold.tsx +43 -0
- package/src/client/McpAppFrame.module.css +210 -0
- package/src/client/McpAppFrame.tsx +317 -0
- package/src/client/OfficialContent.tsx +69 -0
- package/src/client/Reader.module.css +714 -0
- package/src/client/Reader.tsx +783 -0
- package/src/client/ReasoningCard.tsx +306 -0
- package/src/client/SettingsSection.module.css +184 -0
- package/src/client/SettingsSection.tsx +391 -0
- package/src/client/StickyLane.tsx +34 -0
- package/src/client/ToolActivity.tsx +274 -0
- package/src/client/TurnMetrics.module.css +139 -0
- package/src/client/TurnMetrics.tsx +160 -0
- package/src/client/WaitClock.tsx +33 -0
- package/src/client/WaitingStatus.tsx +13 -0
- package/src/client/conversation-scroll.ts +28 -0
- package/src/client/deliverables.ts +122 -0
- package/src/client/entry-policy.ts +20 -0
- package/src/client/entry.tsx +40 -0
- package/src/client/fold-choreography.ts +55 -0
- package/src/client/fold-intensity.ts +36 -0
- package/src/client/index.tsx +268 -0
- package/src/client/live-turn.ts +155 -0
- package/src/client/markdown/MarkdownText.module.css +304 -0
- package/src/client/markdown/MarkdownText.tsx +195 -0
- package/src/client/markdown/cjkFriendlyStrong.ts +84 -0
- package/src/client/markdown/incremental.ts +131 -0
- package/src/client/markdown/katex.tsx +91 -0
- package/src/client/markdown/mathCompatibility.ts +352 -0
- package/src/client/markdown/parse.ts +45 -0
- package/src/client/markdown/render.tsx +647 -0
- package/src/client/markdown/upstream.json +14 -0
- package/src/client/mcp-app.ts +323 -0
- package/src/client/message-chrome.ts +47 -0
- package/src/client/motion.tsx +410 -0
- package/src/client/native/ContextBody.module.css +161 -0
- package/src/client/native/ContextBody.tsx +591 -0
- package/src/client/native/ContextInjectionRow.module.css +66 -0
- package/src/client/native/ContextInjectionRow.tsx +106 -0
- package/src/client/native/ReferenceIcon.tsx +35 -0
- package/src/client/native/tool-call-model.ts +248 -0
- package/src/client/native/tool-update.ts +32 -0
- package/src/client/native/upstream.json +41 -0
- package/src/client/official-slots.tsx +211 -0
- package/src/client/open-file.ts +94 -0
- package/src/client/pending-submission.ts +49 -0
- package/src/client/platform-media.ts +17 -0
- package/src/client/primitive-labels.ts +54 -0
- package/src/client/projection.ts +118 -0
- package/src/client/rail/RailView.tsx +508 -0
- package/src/client/rail/colors.ts +212 -0
- package/src/client/reasoning-follow.ts +28 -0
- package/src/client/settings-copy.ts +128 -0
- package/src/client/settings-slots.ts +27 -0
- package/src/client/settings.tsx +73 -0
- package/src/client/skill-status.ts +78 -0
- package/src/client/store.ts +130 -0
- package/src/client/stream-buffer.ts +136 -0
- package/src/client/streaming.tsx +70 -0
- package/src/client/style.d.ts +4 -0
- package/src/client/timeline.ts +75 -0
- package/src/client/tool-activity.ts +298 -0
- package/src/client/types.ts +89 -0
- package/src/client/waiting-clock.ts +83 -0
- package/src/client/word-motion.tsx +92 -0
- package/src/client/word-timeline.ts +113 -0
- package/src/dsh-tidy-display.ts +112 -0
- package/src/skill-roots.ts +138 -0
- package/src/skill-status.ts +81 -0
- package/tests/browser-auto-fold.tsx +64 -0
- package/tests/browser-closed-gap.tsx +20 -0
- package/tests/browser-motion.tsx +65 -0
- package/tests/browser-official-bridge.tsx +152 -0
- package/tests/browser-sticky-lanes.tsx +22 -0
- package/tests/browser-waiting-clock.tsx +14 -0
- package/tests/chat-flow-hook.test.ts +66 -0
- package/tests/cloud-gate.test.ts +34 -0
- package/tests/context-tool-update.test.ts +33 -0
- package/tests/conversation-scroll.test.ts +47 -0
- package/tests/deliverables.test.ts +128 -0
- package/tests/entry.test.ts +42 -0
- package/tests/fixtures/maid-composer-hide.html +31 -0
- package/tests/fold-choreography.test.ts +54 -0
- package/tests/fold-intensity.test.ts +93 -0
- package/tests/footer-precedence.test.ts +129 -0
- package/tests/history-word-regression.test.ts +16 -0
- package/tests/live-turn.test.ts +218 -0
- package/tests/mcp-apps.test.ts +157 -0
- package/tests/message-chrome.test.ts +29 -0
- package/tests/official-slots.test.ts +112 -0
- package/tests/open-file.test.ts +114 -0
- package/tests/pending-submission.test.ts +45 -0
- package/tests/platform-media.test.ts +23 -0
- package/tests/projection.test.ts +184 -0
- package/tests/reasoning-follow.test.ts +34 -0
- package/tests/settings-copy.test.ts +63 -0
- package/tests/skill-status.test.ts +140 -0
- package/tests/stock-install.test.ts +58 -0
- package/tests/stream-buffer.test.ts +102 -0
- package/tests/timeline.test.ts +59 -0
- package/tests/tool-diff.test.ts +57 -0
- package/tests/waiting-clock.test.ts +83 -0
- package/tests/word-timeline.test.ts +146 -0
- package/tsconfig.json +11 -0
- package/tsdown.config.ts +51 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Package renamed to the unscoped **`dsh-tidy-display`** and republished: `package.json` name, `src/dsh-tidy-display.ts` module id, tsdown bundle id, and the `cordis.patch.yml` insert row all move together (the module-id-equals-package-name invariant is unchanged, just re-pinned to the new name). The earlier scoped publish `@drscrewdriver/dsh-tidy-display@0.1.0` remains on npm but is superseded — install by the bare name (`dsh plugin --profile web add dsh-tidy-display`). dist-tags: `dsh-0.1.7` and `latest`, both → 0.1.0.
|
|
6
|
+
|
|
7
|
+
- Documented the mutual exclusion with `dsh-better-display` / `@bananasoldier01/dsh-tidychat` (README install sections): all three register a `reader` view (same id, same priority 0) in the `conversation.view` list slot, and the host's slot registry rejects the duplicate at activation — the client reports `1 entry did not activate: failed` and the page sticks on the plugin-load failure screen. Diagnosed live on a web profile where better-display was still enabled alongside the tidy-display npm install; nothing is wrong with the package itself. Disable or uninstall better-display / tidychat before enabling this plugin.
|
|
8
|
+
|
|
9
|
+
- `check-harness-compat` gate: pass `--path-separator=/` to ripgrep. Windows ripgrep 15 prints backslash paths, so the `/src/client/` path filter skipped every file, silently emptied the official-registration scan, and failed the baseline comparison with a wall of phantom `removedRegistrations` — on the very checkout the baseline was recorded against.
|
|
10
|
+
|
|
11
|
+
- Legacy backport shipped: three compat branches carry the message-rail subset to pre-0.1.7 hosts — `compat/0.1.5` (0.1.5-alpha.1~0.1.6, tag `v0.1.0-dsh0.1.5`), `compat/0.1.2` (0.1.2-alpha.2~0.1.4.x, tag `v0.1.0-dsh0.1.2`), `compat/0.1.1` (0.1.0-rc.7~0.1.2-alpha.1, tag `v0.1.0-dsh0.1.1`). The host compatibility matrix above now links the tags.
|
|
12
|
+
|
|
13
|
+
- Module id pinned in source (fork-local build correction): `src/dsh-tidy-display.ts` now exports `name = '@drscrewdriver/dsh-tidy-display'` (with the package name and tsdown entry aligned to the scoped id). The upstream tree carries the unscoped `dsh-tidy-display`; building it unmodified and deploying under the scoped profile entry makes the host unable to mount the client bundle, and the whole plugin silently fails to activate (no 阅读 tab, native view only) — the same failure fork.4 fixed in the published artifact, now pinned at the source level for fork builds.
|
|
14
|
+
- Reader rows restore the host ChatView anchor contract: user / steering / assistant answer / turn-error / unknown rows now carry `data-chat-anchor-key={node.key}` and `data-chat-flow-kind={node.kind}` alongside the reader attributes, matching what `OfficialNode` already did for fallback nodes. Ecosystem plugins that read the native anchors as their DOM source of truth (e.g. dsh-tidychat's message rail) stopped finding any rows under the reader and silently rendered nothing; the native contract is stable across 0.1.0-rc.7 → 0.1.7-rc.2 and is passed through verbatim.
|
|
15
|
+
- Reasoning transcript gets the answer bubble's translucent plate (same `--dsw-alias-bg-layer-1` token, 16px radius, frosted blur in glass mode) under the same 消息气泡 / Message bubbles switch, in every state — the card's base style was the opaque module-platform layer and its flat state ([data-overflow=false][data-expanded=false]) dropped the plate entirely, both of which put the transcript straight onto skinned wallpapers. Flat-state paddings are restored on the plate via higher-specificity rules; bubbles off keeps the previous flat/opaque behavior.
|
|
16
|
+
- Message bubbles: each final answer renders in a rounded bubble separating it from the page background, so text no longer sits directly on skinned hosts' wallpapers. Glass mode mixes the same tokens translucently, mirroring the user bubble's frosted treatment. A new 消息气泡 / Message bubbles switch in settings restores the flat layout when off (persisted as `bubbles` on `dsh.reader.v1`, default on).
|
|
17
|
+
|
|
18
|
+
## 0.3.3 — 2026-09-24
|
|
19
|
+
|
|
20
|
+
- Accept Harness `0.1.7-rc.2` (`dsh-v0.1.7-rc.2`, `477b4f420553e8a52c2fbccc464d7561b239c443`). Peer range stays `>=0.1.7-rc.1 <0.1.8`.
|
|
21
|
+
- `conversation.chat.turnTail` stays a list slot. The new `schedule-created` tail entry and `schedule_update` tool view are additional official registrations, mirrored through the existing seats.
|
|
22
|
+
- Developer tool-change context (`tool-addition` / `tool-removal`) uses the official title and count copy instead of a generic injection row.
|
|
23
|
+
- Local Markdown images accept the Desktop file route `dsh-app://app/api/file`.
|
|
24
|
+
|
|
25
|
+
## 0.3.2 — 2026-09-24
|
|
26
|
+
|
|
27
|
+
- 补齐 0.1.7-rc.1 官方桥接的运行时契约:工具视图传入 `phase`/`useDisclosure`/`hookContext{callId}`,聊天节点改用 `{turnData, disclosureReset}` 快照 store;修复真实宿主里官方工具视图静默落到 fallback 的问题。
|
|
28
|
+
- 折叠区吸顶车道的绘制缝隙:车道只给自己的框刷实心底色,`.turn` 14px gap、前一 cell 16px padding、status 车道右侧 `--reader-control-width` 保留区三条缝滚动时透出内容;改用同色 `box-shadow` 向上/向右补漆连成连续色带。
|
|
29
|
+
|
|
30
|
+
## 0.3.1 — 2026-09-24
|
|
31
|
+
|
|
32
|
+
- Accept Harness `0.1.7-rc.1`. Peer range is `>=0.1.7-rc.1 <0.1.8`.
|
|
33
|
+
- `conversation.chat.turnTail` is a list slot. The old chain expectation threw during client boot and left the page on “Failed to load plugins”.
|
|
34
|
+
- Icon imports use the rc.1 weight names (`IconBrowseOutlineRegular` and the rest). Size stays a prop.
|
|
35
|
+
- Pending confirmation now reads `useSessionStatus` (`pendingInteraction`). The removed `useSessionPendingInteraction` hook threw as soon as the reader painted.
|
|
36
|
+
- Code and terminal labels include the rc.1 toolbar fields (`codeLabel`, wrap, and `noExitCode`).
|
|
37
|
+
|
|
38
|
+
## 0.3.0 — 2026-09-21
|
|
39
|
+
|
|
40
|
+
- 修复关闭自动折叠、查看过程详情后,再开启仍无法折叠的问题;重新开启会恢复自动折叠规则,仍保留文本选择保护和之后的手动展开。
|
|
41
|
+
- 在现有阅读布局中接入官方反馈、工具详情、显式产物卡片、命令和未知节点渲染;官方渲染器负责注入、翻译、store 和子插槽。
|
|
42
|
+
- 移除直接调用工具组件及模拟点击展开的逻辑,保留现有摘要、折叠、动效和文件快捷操作。
|
|
43
|
+
- 接入官方文件链接服务,传递工具文件行号,补齐 RC2 本地 Markdown 图片及加载失败降级。
|
|
44
|
+
- 修复滚动跟随拉回底部的问题,统一阅读列轨道和吸顶区域的位置。
|
|
45
|
+
- 代码解释器结果按终端输出展示,上下文行兼容 `provenance` 和 `producer`。
|
|
46
|
+
- 增加可重放的官方组件集成测试、自动折叠交互回归和 Harness 升级兼容检查,依赖对齐 Harness `0.1.5-rc.2`。
|
|
47
|
+
- 设计范围、接口边界和待收敛模块见 `docs/official-rendering-bridge.md`。
|
|
48
|
+
|
|
49
|
+
## 0.2.1 — 2026-09-20
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Pinned reader lanes no longer paint over the composer. The live status row
|
|
54
|
+
(`执行过程` / `正在使用工具`) pinned at the scrollport top with `z-index: 8`,
|
|
55
|
+
while the host's sticky composer seat owns `z-index: 7` and nothing between
|
|
56
|
+
the reader and `<body>` creates a stacking context. A scrolling reader clamps
|
|
57
|
+
every turn-level sticky lane down into the footer band — the lane stops at its
|
|
58
|
+
containing block's bottom, which passes behind the input card — so the reader
|
|
59
|
+
painted its own opaque plate over the composer.
|
|
60
|
+
- The live status lane now owns the measured lane under the toolbar, exactly
|
|
61
|
+
like the closed summary rows, instead of sharing the toolbar's lane.
|
|
62
|
+
- Lanes a scroll can clamp into the footer band stay below the composer seat
|
|
63
|
+
(`z-index` 6); only the top toolbar lane keeps 7, which also keeps it above
|
|
64
|
+
the host's code-block banners.
|
|
65
|
+
- Skin mode no longer carries a second lane ladder of its own.
|
|
66
|
+
- `tests/footer-precedence.test.ts` guards the ladder in the source sheet and
|
|
67
|
+
in the committed bundle.
|
|
68
|
+
|
|
69
|
+
## 0.2.0 — 2026-09-18
|
|
70
|
+
|
|
71
|
+
### Diff review and tool presentation
|
|
72
|
+
|
|
73
|
+
- Re-engineered diff review panel: line addition/deletion statistics (`+A -R`) are pushed
|
|
74
|
+
flush to the right margin, perfectly aligned on the same 32px baseline as the summary text.
|
|
75
|
+
- Diff overlay expands cleanly within the reading column (0px horizontal overflow) with
|
|
76
|
+
independent vertical scrolling (`max-height: 420px; overscroll-behavior: contain`),
|
|
77
|
+
preventing mouse-wheel events from leaking into the conversation stream.
|
|
78
|
+
- Multi-file tabs scroll horizontally with adaptive content height on file switches.
|
|
79
|
+
- PR #12 custom tool cards: delegate tool view rendering to `tool.call.toolview` slot with
|
|
80
|
+
error boundary isolation and auto-expand capabilities.
|
|
81
|
+
|
|
82
|
+
### Translucent frosted glass and skin mode
|
|
83
|
+
|
|
84
|
+
- Translucent frosted glass mode is an opt-in toggle in Settings.
|
|
85
|
+
- When enabled, all card backgrounds, tool detail frames, and code blocks become translucent
|
|
86
|
+
with backdrop blur, eliminating opaque white patches and seamlessly adapting to third-party
|
|
87
|
+
wallpaper and window skins.
|
|
88
|
+
|
|
89
|
+
### Refined folding and liveness
|
|
90
|
+
|
|
91
|
+
- Reverted to a single, intuitive auto-fold toggle (**自动折叠开 / 关**) on the reading toolbar
|
|
92
|
+
and in Settings, removing complex multi-level rules while keeping reasoning and tools
|
|
93
|
+
completely unfolded when turned off.
|
|
94
|
+
- Fixed line-wrapping bug so digest rows stay strictly single-line when space permits.
|
|
95
|
+
- Real-time wait clocks (`WaitClock`), execution time tracking, and token throughput
|
|
96
|
+
metrics (`TurnMetrics`) fully preserved and active.
|
|
97
|
+
- Animated disclosures include fallback timeouts to prevent rendering stalls.
|
|
98
|
+
|
|
99
|
+
### Tidy Display settings
|
|
100
|
+
|
|
101
|
+
- Glass, auto-fold, and deliverable open-mode share the root `dsh.reader.v1` store so
|
|
102
|
+
Settings and the reading view stay in sync across refresh.
|
|
103
|
+
- Deliverable open-mode: default system app, optional Sidebar. Folder/reveal stay OS.
|
|
104
|
+
- Generative-mcpapps skill installation detection and status reporting.
|
|
105
|
+
|
|
106
|
+
### Compatibility and liveness
|
|
107
|
+
|
|
108
|
+
- A wait now restarts when a tool returns. The handover set named kinds from the
|
|
109
|
+
conversation contract (`tool-result`) while the reader matches against the chat
|
|
110
|
+
layer's kinds, where a returned tool is the `tool-call` row whose `data.root`
|
|
111
|
+
carries a result. No node ever had the old name, so the branch was dead and a
|
|
112
|
+
returned tool never restarted the clock. The set and every kind it reasons about
|
|
113
|
+
are now typed against the host's own kind union, so a wrong name fails `tsc`
|
|
114
|
+
instead of failing silently at runtime, and a tool that is still running is
|
|
115
|
+
explicitly not a wait.
|
|
116
|
+
- The fold choreography can no longer stall. Each phase advances on animation
|
|
117
|
+
promises and rendered frames, and a cancelled animation rejects while a hidden
|
|
118
|
+
tab delivers no frames — either one used to leave the machine in a non-idle
|
|
119
|
+
phase forever, which holds the frame source at the shown snapshot and pauses the
|
|
120
|
+
text reveal, so the turn looked stuck until the view remounted. Every phase now
|
|
121
|
+
also has a wall-clock deadline that forces the next phase.
|
|
122
|
+
- While the choreography holds the reveal, the stream buffer keeps absorbing the
|
|
123
|
+
source instead of returning early, so text never resumes from a stale target
|
|
124
|
+
once the fold settles.
|
|
125
|
+
- Status shows how many sub-agents the turn dispatched, read from the host's own
|
|
126
|
+
turn-process row instead of being counted again here.
|
|
127
|
+
- Drop the `command-input` render branch: that string is not a chat node kind in
|
|
128
|
+
any released host, so it only made the file look like it handled a case that
|
|
129
|
+
cannot occur.
|
|
130
|
+
- Give every animated disclosure a wall-clock deadline as well. `fill: 'both'`
|
|
131
|
+
pins the opening keyframe, so a Web Animation that never reaches `onfinish`
|
|
132
|
+
(cancelled, unmounted, or skipped by the compositor) left the row in the DOM at
|
|
133
|
+
zero height and zero opacity — clicking it looked like nothing happened.
|
|
134
|
+
- Add a Tidy Display settings section: deliverables still open in the system app
|
|
135
|
+
by default, with an optional right-Sidebar preview, plus generative-mcpapps
|
|
136
|
+
skill-root detection and install guidance.
|
|
137
|
+
- Guard pending-submission image echoes so a text-only send cannot crash
|
|
138
|
+
`conversation.view` (`images` / `attachments` may be missing).
|
|
139
|
+
- Install guidance names only conventional relative roots (`.dsh/skills`,
|
|
140
|
+
`.agents/skills`) and never prints host home or plugin pack absolutes.
|
|
141
|
+
|
|
142
|
+
### Reading and folding
|
|
143
|
+
|
|
144
|
+
- A later reasoning step folds only the finished process run it follows. The run
|
|
145
|
+
that is still streaming stays fully expanded, so a long turn reads as
|
|
146
|
+
alternating digests and prose instead of collapsing mid-thought.
|
|
147
|
+
- Fold intensity 2 (`过程摘要`) is PR #14's process-only mode: prose is never
|
|
148
|
+
folded; each finished run of reasoning / tool / record steps collapses into
|
|
149
|
+
one digest that names what the tools actually did (`读取 Reader.tsx`,
|
|
150
|
+
`运行 pnpm test`), read from the same tool identity the tool cards use. It is
|
|
151
|
+
not the default — standard fold (level 1) keeps current-main choreography.
|
|
152
|
+
- A finished process-only turn folds its trailing run too, and skips the
|
|
153
|
+
duplicate closed-turn counter row it no longer needs.
|
|
154
|
+
|
|
155
|
+
### Reading surface
|
|
156
|
+
|
|
157
|
+
- When frosted glass is on, sticky lanes use the same liquid glass as the
|
|
158
|
+
dsh-auto-memory pane: translucent `bg-layer-2` wash, `blur(28px)`, hairline
|
|
159
|
+
border, 16px radius and a soft lift. Detail chips stay transparent until
|
|
160
|
+
hovered or focused. When the toggle is off, chrome matches current main.
|
|
161
|
+
- The toolbar reserves the width of its whole control group. Measuring only the
|
|
162
|
+
first button let the status lane paint over every later control.
|
|
163
|
+
- A compaction divider now arrives instead of simply appearing: the rule sweeps
|
|
164
|
+
out from its centre, the pill settles in, and the dial turns once. Gated by
|
|
165
|
+
`data-motion=off` and `prefers-reduced-motion` like every other transition.
|
|
166
|
+
|
|
167
|
+
### Diff review
|
|
168
|
+
|
|
169
|
+
- Read the changed line counts from the tool result the host already attaches
|
|
170
|
+
(`meta.diffs`, `{ path, oldText, newText }`), and fall back to the call's own
|
|
171
|
+
arguments for `write` / `edit` / `str_replace_editor` when a host build does
|
|
172
|
+
not send them. The name whitelist matters: several unrelated tools take a
|
|
173
|
+
field called `content`, and counting those invented additions for calls that
|
|
174
|
+
changed no file.
|
|
175
|
+
- Fold a parent call's child calls into its own counts. A `run_code` that writes
|
|
176
|
+
files reports what its children changed rather than what its own arguments
|
|
177
|
+
contain, so a run whose edits live one level down no longer loses its counts.
|
|
178
|
+
Each child contributes through its own arguments, read from either the landed
|
|
179
|
+
result or the pending call.
|
|
180
|
+
- `+N -M` sits at the end of the row in green/red and opens a panel listing one
|
|
181
|
+
entry per changed file — the file tabs, the removed lines on a red wash and
|
|
182
|
+
the added lines on a green one, using the same `DiffBlock` primitive the
|
|
183
|
+
official tool row renders. The panel is in flow, never a floating popup, so
|
|
184
|
+
the flow cell's `overflow: clip` cannot cut it off.
|
|
185
|
+
- Opening and closing the panel animate real height in the plugin's own motion
|
|
186
|
+
language, and the card is brought back into view when it opens below the
|
|
187
|
+
fold; an open panel keeps its caret lit.
|
|
188
|
+
|
|
189
|
+
### Waiting and timing
|
|
190
|
+
|
|
191
|
+
- Show how long the model has been given the turn, next to 「深度求索中」and the
|
|
192
|
+
in-flow wait indicator. The clock is anchored to the last event that handed
|
|
193
|
+
control to the model — a returned tool, an injected context, a run command,
|
|
194
|
+
the user's own message — never to the start of the turn, so a wait that has
|
|
195
|
+
just begun does not inherit the minutes the tools already spent.
|
|
196
|
+
- Past ten seconds the readout adds a「暂未响应」badge, and the moment the model
|
|
197
|
+
produces its first block the whole indicator is withdrawn. A tool that is
|
|
198
|
+
still running is not a wait: the tool is the one working.
|
|
199
|
+
- A command that ran long keeps its duration after it returns (warning colour
|
|
200
|
+
past ten seconds); a fast one shows nothing once it is done. Running steps
|
|
201
|
+
show a live seconds readout and a shimmering summary while they work.
|
|
202
|
+
|
|
203
|
+
### Scroll
|
|
204
|
+
|
|
205
|
+
- Tail-follow only detaches on a real upward move by the reader. Content growth
|
|
206
|
+
and the follow easing itself also move `scrollTop`, and reading that as "the
|
|
207
|
+
user left the bottom" froze following mid-turn.
|
|
208
|
+
- Disable browser scroll anchoring on the conversation scroller while the reader
|
|
209
|
+
is mounted: it moved the viewport on its own as the transcript grew.
|
|
210
|
+
- Only a focused text field suspends following, and only inside the reader.
|
|
211
|
+
Focusing the composer used to stop the transcript from advancing.
|
|
212
|
+
- Stream at the source's own rate: add a feed-forward term estimated from the
|
|
213
|
+
arrival rate on top of the proportional controller. A purely proportional
|
|
214
|
+
reveal settles at a constant `catchUpMs` of lag regardless of model speed,
|
|
215
|
+
which read as 「慢」 while the backlog grew with faster models; the feed-forward
|
|
216
|
+
term drains the backlog and the proportional term absorbs transport jitter.
|
|
217
|
+
- Reveal a batch of words on one clock instead of one word per fixed gap.
|
|
218
|
+
Per-word spacing pinned the rate near 16 words/second, so a fast model still
|
|
219
|
+
arrived one word at a time; a batch now lands inside one short window while a
|
|
220
|
+
lone new word keeps the original typing cadence.
|
|
221
|
+
- The reasoning pane's own follow steps with the backlog rather than at a fixed
|
|
222
|
+
step-and-hold: it used to advance two lines every ~1.3 seconds no matter how
|
|
223
|
+
fast the text arrived, which is what made the pane look like it was lagging
|
|
224
|
+
behind a fast model.
|
|
225
|
+
### Host DOM hooks
|
|
226
|
+
|
|
227
|
+
- Keep ChatView's `data-chat-flow=""` hook on the Reader column so skins that hide `[data-composer-seat]` when the scrollport has no chat-flow (maid-atelier, phoebe-atelier, and others) still show the composer in reading view.
|
|
228
|
+
|
|
229
|
+
## 0.1.1 — 2026-09-16
|
|
230
|
+
|
|
231
|
+
The accepted reading-view integration, including the work consolidated from PRs #2, #5 and #8. Earlier `0.2.0` / `0.2.1` headings were unpublished development notes; those changes ship in this release, not as separate published versions.
|
|
232
|
+
|
|
233
|
+
### Reading and folding
|
|
234
|
+
|
|
235
|
+
- A later reasoning step can fold earlier steps in its chain into a compact count summary. Body/tool updates alone do not trigger folding; user/steering input resets the chain. The auto-fold control can disable this presentation.
|
|
236
|
+
- Stable keyed rows shrink before counters update, pause briefly, then reveal buffered output. Preserve source order, selected text, reduced-motion behavior, and the visible final answer.
|
|
237
|
+
- Keep process statistics after turn completion. Empty hidden steps no longer accumulate 16px gaps in long completed turns.
|
|
238
|
+
- Give the auto-fold control a full-width, seamless lane without divider lines or replacement shadows. Statistics remain in normal flow until reaching the top, then stick below the measured status lane, whether expanded or collapsed.
|
|
239
|
+
- Short status labels remain readable instead of truncating. Waiting time resets to the latest user/steering submission rather than inheriting the turn's original start time.
|
|
240
|
+
|
|
241
|
+
### Navigation and native parity
|
|
242
|
+
|
|
243
|
+
- Keep the newer TimelineRail, including incremental history loading, per-turn metrics, fork support, and composer-safe landing. Scroll the conversation container rather than unrelated ancestor boxes.
|
|
244
|
+
- Skip host-synthetic `turn-process` JSON cards; render `/goal` command input as labeled text; give system-prompt details their own scrollport.
|
|
245
|
+
- Use the compact back-to-bottom chevron at the native near-bottom threshold and coalesce scroll-anchor capture.
|
|
246
|
+
- Show user-message time/copy controls and turn-end duration; defer produced-file rows until the turn closes.
|
|
247
|
+
|
|
248
|
+
### Interactive content
|
|
249
|
+
|
|
250
|
+
- Render generative MCP Apps from supported code fences, custom blocks, and tool results through an isolated iframe (`sandbox="allow-scripts allow-forms"`, no `allow-same-origin`).
|
|
251
|
+
- Support SEP-1865 JSON-RPC initialization, sizing, context updates, and prompt feedback into the composer, with light/dark synchronization and bounded auto-height.
|
|
252
|
+
- Include the generative-mcpapps skill pack, examples, and bilingual documentation.
|
|
253
|
+
|
|
254
|
+
### Distribution and verification
|
|
255
|
+
|
|
256
|
+
- Target DeepSeek Harness 0.1.5-rc.2 through public plugin/client extension points. No Agent, SDK, provider, credential, or Harness-core changes.
|
|
257
|
+
- Ship the stock-install bundle patch and rebuilt committed `lib/`, including declarations; git/tarball installation does not require `prepare`.
|
|
258
|
+
- Add fold-order/timing and steering-clock unit regressions, plus real-component browser fixtures for motion, 500 hidden rows, sticky/wrapped statistics, and waiting-clock resets.
|
|
259
|
+
|
|
260
|
+
## 0.1.0
|
|
261
|
+
|
|
262
|
+
First public release of the accepted reading-view plugin, published as `dsh-tidy-display`.
|
|
263
|
+
|
|
264
|
+
- Native context and tool details with source-ordered, unmodified reasoning.
|
|
265
|
+
- Bounded long-reasoning cards with two-line following, expanded follow and manual pause/resume.
|
|
266
|
+
- Successful-turn process folding with a separate final answer.
|
|
267
|
+
- Source-ordered text reveal and quiet busy-state shimmer.
|
|
268
|
+
- Stable status typography and compact disclosure spacing.
|
|
269
|
+
- Native content fallbacks and a trusted-plugin block extension slot.
|
|
270
|
+
- 42 regression tests; no changes to DSH Agent, SDK, providers or core.
|
package/DESIGN.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Display contract
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Keep native DeepSeek Harness process information readable while separating the final answer after a successful turn. The reading view is a presentation of the public session projection, never a second Agent pipeline.
|
|
6
|
+
|
|
7
|
+
## Content fidelity
|
|
8
|
+
|
|
9
|
+
- Preserve literal reasoning text, whitespace, source order and block identity.
|
|
10
|
+
- Do not infer reasoning from wording, parse private provider logs, rewrite prompts or alter model settings.
|
|
11
|
+
- Preserve native context sources, tool types, summaries, filenames, details and results.
|
|
12
|
+
- Preserve the native conversation, input, model selector and approval system.
|
|
13
|
+
- Leave nontext and unknown content available through native renderers or a safe fallback.
|
|
14
|
+
|
|
15
|
+
## Lifecycle
|
|
16
|
+
|
|
17
|
+
During a turn, show its real process in chronological order. Starting body output, preparing tool input, finishing one tool, or entering another step is not whole-turn completion.
|
|
18
|
+
|
|
19
|
+
Only a successful public turn-close boundary folds process and intermediate commentary, leaving the final answer in place. Failures, interruptions, unknown terminal states and approval requests remain visible. A live text selection defers folding until the selection is released. A historical turn can always be reopened.
|
|
20
|
+
|
|
21
|
+
While a turn is still open, a later reasoning step may collapse earlier steps of the same chain into one disclosure (`思考×N`). Body or tool alone never triggers that live fold. A mid-turn user insert or steering message resets the chain. This is presentation-only and does not change the successful-turn final-answer fold.
|
|
22
|
+
|
|
23
|
+
## Long reasoning
|
|
24
|
+
|
|
25
|
+
A neutral card bounds the transcript without replacing it. The viewport mask is 28px. Follow advances by two actual line heights every 840ms, with a 500ms transform using `cubic-bezier(.22,1,.36,1)`; clamp only at the current real end. Never accelerate through a burst, clone the transcript or loop old text.
|
|
26
|
+
|
|
27
|
+
Expanding changes viewport size and preserves position and follow state. Wheel, touch, viewport focus or selection pause following. The explicit follow control resumes only when no text is selected. Completed history stays static. The full source text remains available.
|
|
28
|
+
|
|
29
|
+
## Text and status motion
|
|
30
|
+
|
|
31
|
+
Assign reveal times from source positions before rendering Markdown. Only newly appended text receives opacity/blur motion; existing paragraphs, page surfaces and text color do not animate. Unicode graphemes and punctuation keep their source order. Media and custom blocks do not enter the text queue.
|
|
32
|
+
|
|
33
|
+
Busy labels use a 2-second glyph-only shimmer and a short state swap. Initial, busy and elapsed labels all use the native font at 14px/24px, weight 400. The disclosure arrow sits 6px from the current label; no longest-state spacer. Elapsed time and attention states do not shimmer.
|
|
34
|
+
|
|
35
|
+
## Sticky reading lanes (2026-09-16)
|
|
36
|
+
|
|
37
|
+
Keep the existing in-flow positions. The auto-fold control receives a full-column, 40px-minimum lane from initial render, native page background and seamless spacing, without divider lines or replacement shadows (user preference). The status retains its source position and shares the top lane's left side only when it reaches the scrollport top. The original summary row (never a duplicate) sticks below the greater measured toolbar/status height. Expanded and collapsed live summaries remain discoverable; completed summaries obey the same sticky offset. Scope is the current flow/turn, so subsequent turns replace earlier statistics rather than displaying unrelated counts forever.
|
|
38
|
+
|
|
39
|
+
Taste checkpoint: native reading chrome, not floating badges; one column, no new card family, no shadows or rounded background tiles; existing typography. Active responsive-interaction binding: real ResizeObserver lane geometry → StickyLane + CSS offsets → verify desktop/320px, wrapped statistics, no overlap, and return to original position on reverse scroll. Preserve prior measured fold choreography and zero-height empty wrappers.
|
|
40
|
+
|
|
41
|
+
## Reading and accessibility
|
|
42
|
+
|
|
43
|
+
Manual reading, selection and keyboard access take precedence over automatic following. Reduced-motion preferences, disabled motion and background views settle to the received content. Errors stay local to their block. Do not turn user interaction into a permanent lock that prevents successful-turn folding.
|
|
44
|
+
|
|
45
|
+
## Extensions and safety
|
|
46
|
+
|
|
47
|
+
Trusted plugins may register `dsh-tidy-display.block`. Native content remains the fallback. Generative MCP Apps (SEP-1865 / `io.modelcontextprotocol/ui`) are supported via an isolated, sandboxed iframe (`sandbox="allow-scripts allow-forms"`, strictly without `allow-same-origin`) communicating via bidirectional JSON-RPC `postMessage` (`ui/initialize`, `ui/resize`, `ui/update-model-context`, `ui/submit`).
|
|
48
|
+
|
|
49
|
+
## Host DOM hooks
|
|
50
|
+
|
|
51
|
+
Reader replaces ChatView's message list, not the native conversation chrome. The enclosing `[data-conversation-scroll]` and sticky `[data-composer-seat]` stay host-owned. ChatView marks its column with `data-chat-flow=""`. Third-party skins (maid-atelier, phoebe-atelier, and others) treat a scrollport without that hook as inspect-only and hide the composer. Reader keeps the same empty `data-chat-flow` attribute on its column so those skins still see an interactive conversation. Turns stay on `[data-reader-turn]`; Reader does not emit native `[data-chat-flow-kind]` rows.
|
|
52
|
+
|
|
53
|
+
## Fold choreography contract (2026-09-16)
|
|
54
|
+
|
|
55
|
+
Single-agent implementation; preserve existing type, colors, source order and one-column reading layout. The memory cue is causality, not ornament: shrink → count → pause → continue. No bouncing capsule, scale-squashed text or parallel entrance spectacle.
|
|
56
|
+
|
|
57
|
+
| Active reference | Decision | Target | Verification |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| motion-language | One attention owner; bounded coalescing instead of replaying every arrival | ChoreographedFlow | fast/slow/burst frame samples |
|
|
60
|
+
| motion-contract | Preserve step parents/keys until shrink completes; freeze a materialized public snapshot | fold-choreography + ChoreographedFlow | DOM identity, intermediate heights, ordered phases |
|
|
61
|
+
| responsive-interaction | Controls stay usable; labels receive available width, not an arbitrary narrow box | Reader.module.css | wide/narrow/200% text checks |
|
|
62
|
+
| typography-system | Keep native 14/24 status type; full short labels; wrap exceptional long labels | StatusText CSS | actual range vs container bounds |
|
|
63
|
+
|
|
64
|
+
Motion id: `fold-choreography`. Trigger: newly received reasoning folds a previously visible chain. Historical mount is static. Native WAAPI animates measured layout height for 320ms (deliberate layout exception needed for real flow continuity), then counters roll for 160ms, then 80ms stillness, then 180ms content reveal. New data coalesces into one latest frame; it never restarts the active shrink. Newly released text uses the existing grapheme-safe bounded catch-up buffer. Counter values belong to committed presentation frames, not the transport clock.
|
|
65
|
+
|
|
66
|
+
A selected passage, new user message, approval, error, stop, reduced motion or hidden page bypasses the waiting queue. Manual fold controls remain interruptible. Only the reader scroll coordinator writes the outer scroll position; during measured size animation it tracks geometry rather than layering another scroll easing. Authoritative session data is never rewritten.
|
|
67
|
+
|
|
68
|
+
Rollback baseline: `.delivery/before-choreography-20260916.tgz` plus original commit `56a87bb2531e5ccb9db5d4c8a347c2f91d7e449a`; existing uncommitted fixes are included in the archive. Changed surface: existing client only, no Host restart or core edits.
|
|
69
|
+
|
|
70
|
+
## Verification
|
|
71
|
+
|
|
72
|
+
Use unit coverage for projection, lifecycle, source-ordered streaming, graphemes, Markdown and two-line stepping. Verify live Host manifest, served bundle, native process details, literal reasoning, motion, successful folding, reopening, narrow layouts and reduced motion separately. Keep private session evidence outside this repository.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dsh-better-display contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
Third-party material retains its original license and terms as identified in
|
|
24
|
+
THIRD_PARTY_NOTICES.md. This license does not relicense that material.
|
package/README.en.md
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# dsh-tidy-display
|
|
2
|
+
|
|
3
|
+
[中文](./README.md)
|
|
4
|
+
|
|
5
|
+
**Tidy Display** — a community plugin for DeepSeek Harness (DSH) **0.1.7** that merges the reading view and the message rail into one plugin: long sessions become scannable, navigable, and resumable.
|
|
6
|
+
|
|
7
|
+
> This project merges two popular DSH plugins:
|
|
8
|
+
> [dsh-better-display](https://github.com/aa2246740/dsh-better-display) (reading view, maintained via a fork) ×
|
|
9
|
+
> [dsh-tidychat](https://github.com/BananaSoldier01/dsh-tidychat) (message rail / smart history loading).
|
|
10
|
+
> The merge removes the DOM-contract conflict between them; credit and thanks to both.
|
|
11
|
+
|
|
12
|
+
## Provenance & credits (stated as-is)
|
|
13
|
+
|
|
14
|
+
**The live reading view** comes from [dsh-better-display](https://github.com/aa2246740/dsh-better-display): upstream aa2246740's streaming render, process folding choreography, and official bridging, enhanced by the drscrewdriver fork. This project did not rewrite its rendering or motion pipeline.
|
|
15
|
+
|
|
16
|
+
**The message rail** comes from [dsh-tidychat](https://github.com/BananaSoldier01/dsh-tidychat): the canvas rail, fish-eye hover, color chain, and smart history loading are ports, enhanced by the drscrewdriver compat line (white sheen, steering parity, DOM single source of truth).
|
|
17
|
+
|
|
18
|
+
### Original better-display shortcomings, fixed by this project / the fork
|
|
19
|
+
|
|
20
|
+
1. **No plate behind messages or thinking** — final answers and reasoning text sit directly on the page background; readability suffers under skins, wallpapers, and dark themes. → The fork added the official `--dsw-alias-bg-layer-1` translucent bubble plate for answers and the same plate for the reasoning card (commits `fa3a795`, `94d59c7`).
|
|
21
|
+
2. **The reading view drops the host per-row anchors** — `data-chat-anchor-key` / `data-chat-flow-kind` are not emitted on message rows, so third-party plugins that rely on them as their DOM source of truth (e.g. the tidychat rail) resolve zero rows and **fail silently** under the reader. → Fix submitted upstream as [aa2246740/dsh-better-display#41](https://github.com/aa2246740/dsh-better-display/pull/41); the merged project carries the same fix.
|
|
22
|
+
3. Its TimelineRail is a single official-outline rail — no fish-eye summaries, no click-to-jump, no colors.
|
|
23
|
+
|
|
24
|
+
### Original dsh-tidychat shortcomings, and why the merge happened
|
|
25
|
+
|
|
26
|
+
1. Fold / divider are DOM surgery overlapping the host's native folding (0.1.2+), forcing a manual either/or.
|
|
27
|
+
2. v0.2.10 and earlier misread the snapshot on DSH 0.1.2 hosts — the rail resolved zero turns and **never actually rendered** (fixed in v0.3.0; see its repo's `docs/RAIL-ROOT-CAUSE-ANALYSIS.md`).
|
|
28
|
+
3. It conflicted with the better-display reading view **in both directions**: tidychat's surgery could not reach the reader's rows, and the reader's dropped anchors in turn crippled the rail — the direct motivation for this merge.
|
|
29
|
+
|
|
30
|
+
Thanks to both upstreams and their authors (aa2246740, BananaSoldier01) — this project stands on their shoulders. Upstream improvements that do not conflict will be tracked over time.
|
|
31
|
+
|
|
32
|
+
## Host compatibility
|
|
33
|
+
|
|
34
|
+
| DSH host | Reading view | Message rail | Settings |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| 0.1.7-rc.1+ (this line) | ✅ | ✅ (both views) | 起子插件设置 → 整洁显示 |
|
|
37
|
+
| 0.1.5-alpha.1 ~ 0.1.6 (incl. 0.1.5) | ❌ | ✅ (`compat/0.1.5` line, tag `v0.1.0-dsh0.1.5`) | plugin config card |
|
|
38
|
+
| 0.1.2-alpha.2 ~ 0.1.4.x | ❌ | ✅ (`compat/0.1.2` line, tag `v0.1.0-dsh0.1.2`) | plugin config card |
|
|
39
|
+
| 0.1.0-rc.7 ~ 0.1.2-alpha.1 (incl. 0.1.1) | ❌ | ✅ (`compat/0.1.1` line, tag `v0.1.0-dsh0.1.1`) | plugin config card |
|
|
40
|
+
|
|
41
|
+
- The reading view is bound to the 0.1.7 slot contract (the host itself had breaking changes between 0.1.7-rc.1 and rc.2); it will not be backported.
|
|
42
|
+
- The legacy backport of the rail subset (rail + sheen + colors + smart loading) **has shipped**: it lives on three compat branches, install one-liner e.g. `dsh plugin --profile web add github:drscrewdriver/dsh-tidy-display#v0.1.0-dsh0.1.5`; npm dist-tags `dsh-0.1.5` / `dsh-0.1.2` / `dsh-0.1.1` follow the publish. The 0.1.5-line official-rail takeover is to-be-verified; 0.1.3/0.1.4 ride the `compat/0.1.2` line untested.
|
|
43
|
+
- 0.1.0-rc.6 and earlier are out of scope (use dsh-tidychat 0.1.0).
|
|
44
|
+
- Matrix as of 2026-09-28 (tidy-display v0.1.0 / better-display 0.3.3-fork.5 / tidychat 0.3.4 line).
|
|
45
|
+
|
|
46
|
+
## Features
|
|
47
|
+
|
|
48
|
+
### Reading view (from better-display)
|
|
49
|
+
- Running steps collapse into expandable summaries; final answers render as **message bubbles** (translucent plate + optional frosted glass that lets skinned wallpapers through)
|
|
50
|
+
- The reasoning card shares the same translucent plate; streaming thinking can auto-follow, pause, and expand
|
|
51
|
+
- Official bridge: tool views, feedback, deliverable cards, turnTail via official slots
|
|
52
|
+
- `` ```mcp-app `` fences mount as sandboxed interactive cards (`<iframe sandbox="allow-scripts allow-forms">`); skill pack in [`skills/generative-mcpapps/`](skills/generative-mcpapps/)
|
|
53
|
+
- Deliverables row, waiting clock, pending echo; native Chat / Trajectory, composer, model picker, tools, and approvals stay
|
|
54
|
+
|
|
55
|
+
### Message rail (from dsh-tidychat)
|
|
56
|
+
- Canvas navigation rail at the conversation edge: fish-eye hover with summaries, click-to-jump, current-turn highlight on scroll
|
|
57
|
+
- Styles **lines / dots**, position **left / right (mirrored)**
|
|
58
|
+
- **White sheen ring**: a soft sheen beneath the current and hovered marks keeps them readable over busy wallpapers
|
|
59
|
+
- **Colors**: mark color and accent color each offer Auto (theme-following with a 3:1 corrective fallback) / Custom (color picker + HEX/RGB text + alpha slider)
|
|
60
|
+
- **Take over the official rail**: hides the official right-edge TurnNavigator (hidden, not unmounted)
|
|
61
|
+
- Works in **both** the native Chat view and the reading view
|
|
62
|
+
|
|
63
|
+
### Settings
|
|
64
|
+
Everything lives under **Settings → 起子插件设置 → 整洁显示 (Tidy Display)**: rail (toggle / position / style / sheen / takeover / colors) + message bubbles / frosted glass / auto-fold / deliverable open mode. Persisted on `dsh.reader.v1`.
|
|
65
|
+
|
|
66
|
+
## Install
|
|
67
|
+
|
|
68
|
+
> ⚠️ **Mutually exclusive with `dsh-better-display` and `@bananasoldier01/dsh-tidychat`**: all three register a `reader` view (same id, same priority) in the `conversation.view` list slot. Running them together fails activation on a duplicate registration (client reports `entry did not activate` and the page sticks on the plugin-load failure screen). Uninstall or disable them before enabling this plugin.
|
|
69
|
+
|
|
70
|
+
### DSH Studio desktop app (recommended)
|
|
71
|
+
|
|
72
|
+
Open **Settings → Plugins → Add plugin** and enter the package name:
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
dsh-tidy-display
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Web CLI
|
|
79
|
+
|
|
80
|
+
Published on npm — install by the bare name:
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
dsh plugin --profile web add dsh-tidy-display
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
The GitHub address works too (pre-0.1.7 compat lines install by tag, see the matrix above):
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
dsh plugin --profile web add github:drscrewdriver/dsh-tidy-display
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Local directory / tarball (development / local testing):
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
dsh plugin --profile web add ./dsh-tidy-display
|
|
96
|
+
dsh plugin --profile web add ./dsh-tidy-display-0.1.0.tgz
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
`dsh.bundle` is captured at boot: do **not** hand-write the same insert row into the profile's `cordis.patch.yml` (double mount). Remove an installed copy with `dsh plugin --profile web remove dsh-tidy-display`. For an already-running Web Host, reopen the Host once and reload.
|
|
100
|
+
|
|
101
|
+
## Development
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
pnpm install
|
|
105
|
+
npm run typecheck
|
|
106
|
+
npm run build # emits lib/ (committed; the check-harness-compat gate needs a Harness checkout)
|
|
107
|
+
npm test
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Targets DeepSeek Harness **0.1.7-rc.1+** (peer `>=0.1.7-rc.1 <0.1.8`). Display only — it does not change Agent execution, the SDK, or credentials. Node.js `^22.19.0 || >=24`. New sessions default to reading.
|
|
111
|
+
|
|
112
|
+
## Relationship to the originals
|
|
113
|
+
|
|
114
|
+
See "[Provenance & credits](#provenance--credits-stated-as-is)" at the top — upstream improvements that do not conflict will be tracked over time.
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
Display and Markdown portions come from DeepSeek Harness (MIT). Motion references [Transitions.dev](https://transitions.dev/). This repository's code is [MIT](LICENSE).
|
package/README.md
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# dsh-tidy-display
|
|
2
|
+
|
|
3
|
+
[English](./README.en.md)
|
|
4
|
+
|
|
5
|
+
**整洁显示** —— DeepSeek Harness(DSH)**0.1.7** 的一个社区插件:把「阅读视图」与「消息轨」缝合成一个插件,长会话可扫读、可定位、可续聊。
|
|
6
|
+
|
|
7
|
+
> 本项目由两个广受欢迎的 DSH 插件合并而来:
|
|
8
|
+
> [dsh-better-display](https://github.com/aa2246740/dsh-better-display)(阅读视图,经 fork 维护)×
|
|
9
|
+
> [dsh-tidychat](https://github.com/BananaSoldier01/dsh-tidychat)(消息轨 / 智能加载)。
|
|
10
|
+
> 合并消除了两者因 DOM 契约产生的冲突,并向两者致敬。
|
|
11
|
+
|
|
12
|
+
## 来源与致谢(如实说明)
|
|
13
|
+
|
|
14
|
+
**实时显示(流式阅读)** 来自 [dsh-better-display](https://github.com/aa2246740/dsh-better-display) 阅读视图:上游 aa2246740 的流式渲染、过程折叠编排、官方桥接,经 drscrewdriver fork 增强。本项目未重写其渲染与动效链路。
|
|
15
|
+
|
|
16
|
+
**消息轨** 来自 [dsh-tidychat](https://github.com/BananaSoldier01/dsh-tidychat):canvas 轨、鱼眼悬停、配色链、智能加载均为移植,经 drscrewdriver compat 线增强(白色柔光、steering 同视、DOM 单一事实源)。
|
|
17
|
+
|
|
18
|
+
### 原版 better-display 的不足,与本项目 / fork 的修复
|
|
19
|
+
|
|
20
|
+
1. **消息与思考没有底框**——最终回答与思考文字直接铺在页面背景上,换肤、壁纸、深色主题下可读性差。→ fork 为回答加上了官方 `--dsw-alias-bg-layer-1` 半透明气泡底,思考卡加同款衬底(fork 提交 `fa3a795`、`94d59c7`)。
|
|
21
|
+
2. **阅读视图丢弃宿主行级锚点**——`data-chat-anchor-key` / `data-chat-flow-kind` 不随消息行输出,以该契约为事实源的第三方插件(如 tidychat 消息轨)在阅读视图下解析出 0 行、**静默失效**。→ 已向上游提交修复 PR [aa2246740/dsh-better-display#41](https://github.com/aa2246740/dsh-better-display/pull/41);合并项目内同样自带该修复。
|
|
22
|
+
3. 自带 TimelineRail 只有官方大纲一轨——无鱼眼摘要、无点击跳转、无配色能力。
|
|
23
|
+
|
|
24
|
+
### 原版 dsh-tidychat 的不足,与合并的动机
|
|
25
|
+
|
|
26
|
+
1. 折叠 / 分隔线是 DOM 手术,与宿主 0.1.2+ 的原生折叠功能重叠,需要用户手动二选一。
|
|
27
|
+
2. v0.2.10 及更早版本在 DSH 0.1.2 宿主上消息轨取数路径读错快照——解析出 0 轮、**实际从未渲染**(v0.3.0 修复,见其仓库 `docs/RAIL-ROOT-CAUSE-ANALYSIS.md`)。
|
|
28
|
+
3. 与 better-display 阅读视图**双向冲突**:tidychat 的手术作用不到阅读视图的行;阅读视图丢锚点又反过来废掉消息轨——这正是本项目合并的直接动机。
|
|
29
|
+
|
|
30
|
+
对两个上游与作者(aa2246740、BananaSoldier01)致谢——本项目站在它们肩上;上游后续改进若与本项目不冲突,会择机跟进。
|
|
31
|
+
|
|
32
|
+
## 宿主兼容性
|
|
33
|
+
|
|
34
|
+
| DSH 宿主 | 阅读视图 | 消息轨 | 设置入口 |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| 0.1.7-rc.1+(本线) | ✅ | ✅(双视图) | 起子插件设置 → 整洁显示 |
|
|
37
|
+
| 0.1.5-alpha.1 ~ 0.1.6(含 0.1.5) | ❌ | ✅(`compat/0.1.5` 线,tag `v0.1.0-dsh0.1.5`) | 插件配置卡片 |
|
|
38
|
+
| 0.1.2-alpha.2 ~ 0.1.4.x | ❌ | ✅(`compat/0.1.2` 线,tag `v0.1.0-dsh0.1.2`) | 插件配置卡片 |
|
|
39
|
+
| 0.1.0-rc.7 ~ 0.1.2-alpha.1(含 0.1.1) | ❌ | ✅(`compat/0.1.1` 线,tag `v0.1.0-dsh0.1.1`) | 插件配置卡片 |
|
|
40
|
+
|
|
41
|
+
- 阅读视图绑定 0.1.7 槽位契约(官方 0.1.7-rc.1 → rc.2 之间都有破坏性变更),不下放旧宿主。
|
|
42
|
+
- 旧宿主反向适配**已实施**:消息轨子集(轨 + 柔光 + 配色 + 智能加载)在三条兼容分支上发布,安装一行式形如 `dsh plugin --profile web add github:drscrewdriver/dsh-tidy-display#v0.1.0-dsh0.1.5`;npm 发布后补 dist-tag `dsh-0.1.5` / `dsh-0.1.2` / `dsh-0.1.1`。0.1.5 线的官方轨接管为待实测项;0.1.3 / 0.1.4 随 `compat/0.1.2` 线理论可用、未实测。
|
|
43
|
+
- 0.1.0-rc.6 及更早不在支持范围(请使用 dsh-tidychat 0.1.0)。
|
|
44
|
+
- 矩阵截至 2026-09-28(tidy-display v0.1.0 / better-display 0.3.3-fork.5 / tidychat 0.3.4 线)。
|
|
45
|
+
|
|
46
|
+
## 功能
|
|
47
|
+
|
|
48
|
+
### 阅读视图(来自 better-display)
|
|
49
|
+
- 执行过程收拢为可展开的摘要,最终回答以**消息气泡**呈现(半透明底 + 可选毛玻璃,透出皮肤壁纸)
|
|
50
|
+
- 思考卡同款半透明衬底;流式思考可跟随滚动、可暂停、可展开全文
|
|
51
|
+
- 官方桥接:工具视图、反馈、产物卡片、turnTail 等经官方槽位渲染
|
|
52
|
+
- mcp-app 代码块渲染为沙箱交互卡片(`<iframe sandbox="allow-scripts allow-forms">`);技能包见 [`skills/generative-mcpapps/`](skills/generative-mcpapps/)
|
|
53
|
+
- 交付物行、等待时钟、pending 回显;原版「对话 / 轨迹」、输入框、模型选择、工具和审批都还在
|
|
54
|
+
|
|
55
|
+
### 消息轨(来自 dsh-tidychat)
|
|
56
|
+
- 会话区边缘的 canvas 导航轨:鱼眼悬停 + 摘要卡、点击跳转、滚动时当前轮高亮
|
|
57
|
+
- 样式**横线 / 圆点**,位置**左缘 / 右缘(镜像)**
|
|
58
|
+
- **白色柔光外圈**:当前轮与悬停轮标记底下垫一层柔光,复杂壁纸上也清晰
|
|
59
|
+
- **配色**:标记色 / 强调色各自「自动(跟随主题,对比不足自动纠偏)/ 自定义(取色器 + HEX/RGB 文本 + 透明度滑杆)」
|
|
60
|
+
- **接管官方消息轨**:隐藏官方右缘 TurnNavigator(隐藏而非卸载),只保留本轨
|
|
61
|
+
- 原生「对话」视图与「阅读」视图**双视图都可用**
|
|
62
|
+
|
|
63
|
+
### 设置
|
|
64
|
+
所有设置集中在 **设置 → 起子插件设置 → 整洁显示**:消息轨(开关 / 位置 / 样式 / 外圈柔光 / 接管 / 配色)+ 消息气泡 / 半透明毛玻璃 / 自动折叠 / 产物打开方式。配置持久化在 `dsh.reader.v1`。
|
|
65
|
+
|
|
66
|
+
## 安装
|
|
67
|
+
|
|
68
|
+
> ⚠️ **与 `dsh-better-display`、`@bananasoldier01/dsh-tidychat` 互斥**:三者都会在 `conversation.view` 列表槽位注册 `reader` 视图(同 id 同优先级),同时启用会在激活期因重复注册直接失败(client 侧报 `entry did not activate`,页面卡在「插件加载失败」)。启用本插件前先卸载或禁用它们。
|
|
69
|
+
|
|
70
|
+
### DSH Studio 桌面 App(推荐)
|
|
71
|
+
|
|
72
|
+
打开 **设置 → 插件 → 添加插件**,输入包名:
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
dsh-tidy-display
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Web CLI
|
|
79
|
+
|
|
80
|
+
npm 已发布,直接用包名:
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
dsh plugin --profile web add dsh-tidy-display
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
GitHub 地址同样可用(旧宿主 compat 线按 tag 装,见上方兼容矩阵):
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
dsh plugin --profile web add github:drscrewdriver/dsh-tidy-display
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
本地目录 / tarball(开发 / 本地测试):
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
dsh plugin --profile web add ./dsh-tidy-display
|
|
96
|
+
dsh plugin --profile web add ./dsh-tidy-display-0.1.0.tgz
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
`dsh.bundle` 是开机捕获的:**不要**再往 profile 的 `cordis.patch.yml` 手写同一条 insert(会重复挂载);已装过的卸载用 `dsh plugin --profile web remove dsh-tidy-display`。对已经运行的 Web Host,安装后重开一次 Host 再刷新网页。
|
|
100
|
+
|
|
101
|
+
## 开发
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
pnpm install
|
|
105
|
+
npm run typecheck
|
|
106
|
+
npm run build # 产物 lib/(入库;check-harness-compat 门需要 Harness 源码检出)
|
|
107
|
+
npm test
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
面向 DeepSeek Harness **0.1.7-rc.1+**(peer `>=0.1.7-rc.1 <0.1.8`)。只改展示,不改 Agent 执行、SDK 或模型凭据。Node.js `^22.19.0 || >=24`。新会话默认进阅读。
|
|
111
|
+
|
|
112
|
+
## 与原项目的关系
|
|
113
|
+
|
|
114
|
+
详见顶部「[来源与致谢](#来源与致谢如实说明)」——上游后续改进若与本项目不冲突会择机跟进。
|
|
115
|
+
|
|
116
|
+
## 许可
|
|
117
|
+
|
|
118
|
+
展示与 Markdown 部分来自 DeepSeek Harness(MIT)。动效参考 [Transitions.dev](https://transitions.dev/)。本仓库代码 [MIT](LICENSE)。
|