dsh-md-studio 0.0.0-stage → 1.2.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 +67 -0
- package/LICENSE +21 -0
- package/README.en.md +130 -0
- package/README.md +159 -2
- package/THIRD_PARTY_NOTICES.md +370 -0
- package/cordis.patch.yml +4 -0
- package/docs/demo.md +94 -0
- package/docs/images/before-after.png +0 -0
- package/docs/images/demo-dark.png +0 -0
- package/docs/images/demo-light.png +0 -0
- package/docs/images/social-card.png +0 -0
- package/lib/client.js +4023 -0
- package/lib/client.js.LEGAL.txt +56 -0
- package/lib/index.js +3 -0
- package/package.json +49 -4
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Bundled license information:
|
|
2
|
+
|
|
3
|
+
dompurify/dist/purify.es.mjs:
|
|
4
|
+
/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
|
|
5
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
6
|
+
|
|
7
|
+
lodash-es/lodash.js:
|
|
8
|
+
/**
|
|
9
|
+
* @license
|
|
10
|
+
* Lodash (Custom Build) <https://lodash.com/>
|
|
11
|
+
* Build: `lodash modularize exports="es" --repo lodash/lodash#4.18.1 -o ./`
|
|
12
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
13
|
+
* Released under MIT license <https://lodash.com/license>
|
|
14
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
15
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
cytoscape/dist/cytoscape.esm.mjs:
|
|
19
|
+
/*!
|
|
20
|
+
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
|
|
21
|
+
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
|
|
22
|
+
Licensed under The MIT License (http://opensource.org/licenses/MIT)
|
|
23
|
+
*/
|
|
24
|
+
/*!
|
|
25
|
+
Event object based on jQuery events, MIT license
|
|
26
|
+
|
|
27
|
+
https://jquery.org/license/
|
|
28
|
+
https://tldrlegal.com/license/mit-license
|
|
29
|
+
https://github.com/jquery/jquery/blob/master/src/event.js
|
|
30
|
+
*/
|
|
31
|
+
/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */
|
|
32
|
+
/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */
|
|
33
|
+
|
|
34
|
+
@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOHPRMQF.mjs:
|
|
35
|
+
/*! Bundled license information:
|
|
36
|
+
|
|
37
|
+
lodash-es/lodash.js:
|
|
38
|
+
(**
|
|
39
|
+
* @license
|
|
40
|
+
* Lodash (Custom Build) <https://lodash.com/>
|
|
41
|
+
* Build: `lodash modularize exports="es" -o ./`
|
|
42
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
43
|
+
* Released under MIT license <https://lodash.com/license>
|
|
44
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
45
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
46
|
+
*)
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
markdown-it/dist/markdown-it.mjs:
|
|
50
|
+
/*! markdown-it 15.0.2 https://github.com/markdown-it/markdown-it @license MIT */
|
|
51
|
+
|
|
52
|
+
mermaid/dist/mermaid.core.mjs:
|
|
53
|
+
/*! Check if previously processed */
|
|
54
|
+
/*!
|
|
55
|
+
* Wait for document loaded before starting the execution
|
|
56
|
+
*/
|
package/lib/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-md-studio",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Markdown Studio:在 DSH 原生右侧文件预览与对话消息中渲染 Mermaid 图表、KaTeX 公式、GFM 表格、任务列表、脚注及代码高亮。渲染引擎随包内置,完全离线可用。 / Native DSH right-sidebar Markdown preview with Mermaid diagrams, KaTeX math, GFM tables and syntax highlighting — fully offline.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"deepseek-harness",
|
|
7
|
+
"dsh",
|
|
8
|
+
"dsh-plugin",
|
|
9
|
+
"markdown",
|
|
10
|
+
"mermaid",
|
|
11
|
+
"katex",
|
|
12
|
+
"syntax-highlighting",
|
|
13
|
+
"preview"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/BioAIEvolu/dsh-md-studio#readme",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/BioAIEvolu/dsh-md-studio.git"
|
|
19
|
+
},
|
|
20
|
+
"bugs": "https://github.com/BioAIEvolu/dsh-md-studio/issues",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": "BioAIEvolu",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "./lib/index.js",
|
|
25
|
+
"exports": {".": "./lib/index.js", "./client": "./lib/client.js", "./package.json": "./package.json"},
|
|
26
|
+
"files": ["lib", "docs/images", "docs/demo.md", "cordis.patch.yml", "README.md", "README.en.md", "CHANGELOG.md", "THIRD_PARTY_NOTICES.md"],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "node scripts/build.mjs",
|
|
29
|
+
"test": "node test/browser.mjs",
|
|
30
|
+
"screenshots": "node test/screenshots.mjs"
|
|
31
|
+
},
|
|
32
|
+
"dsh": {
|
|
33
|
+
"bundle": {"patch": "./cordis.patch.yml"},
|
|
34
|
+
"client": {"platform": "web", "inject": ["@deepseek-ai/dsh-client-ui-sidebar-documentpreview"], "external": ["react"]}
|
|
35
|
+
},
|
|
36
|
+
"engines": {"node": ">=22.19.0", "dsh": ">=0.2.0-rc.2 <0.3.0-0"},
|
|
37
|
+
"peerDependencies": {"react": "^18.2.0 || ^19"},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"esbuild": "0.28.2",
|
|
40
|
+
"mermaid": "11.17.0",
|
|
41
|
+
"markdown-it": "15.0.2",
|
|
42
|
+
"markdown-it-footnote": "4.0.0",
|
|
43
|
+
"markdown-it-task-lists": "2.1.1",
|
|
44
|
+
"dompurify": "3.4.16",
|
|
45
|
+
"highlight.js": "11.12.0",
|
|
46
|
+
"katex": "0.19.0",
|
|
47
|
+
"react": "18.3.1",
|
|
48
|
+
"react-dom": "18.3.1",
|
|
49
|
+
"playwright-core": "1.64.0"
|
|
50
|
+
}
|
|
51
|
+
}
|