dsh-mosaic 0.2.1

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/LICENSE +21 -0
  3. package/README.md +151 -0
  4. package/SKILL.md +153 -0
  5. package/THIRD_PARTY_NOTICES.md +79 -0
  6. package/assets/icon-180.png +0 -0
  7. package/assets/icon.svg +13 -0
  8. package/assets/screenshots/preview.jpg +0 -0
  9. package/cordis.patch.yml +10 -0
  10. package/docs/catalog-entry.example.yml +9 -0
  11. package/docs/publishing.md +29 -0
  12. package/lib/assets/licenses/braintree-sanitize-url.LICENSE +21 -0
  13. package/lib/assets/licenses/chevrotain.LICENSE +202 -0
  14. package/lib/assets/licenses/cytoscape-cose-bilkent.LICENSE +21 -0
  15. package/lib/assets/licenses/cytoscape-fcose.LICENSE +19 -0
  16. package/lib/assets/licenses/cytoscape.LICENSE +19 -0
  17. package/lib/assets/licenses/d3-sankey.LICENSE +27 -0
  18. package/lib/assets/licenses/d3.LICENSE +13 -0
  19. package/lib/assets/licenses/dagre-d3-es.LICENSE +23 -0
  20. package/lib/assets/licenses/dayjs.LICENSE +21 -0
  21. package/lib/assets/licenses/dompurify.LICENSE +202 -0
  22. package/lib/assets/licenses/elkjs.LICENSE +263 -0
  23. package/lib/assets/licenses/es-toolkit.LICENSE +21 -0
  24. package/lib/assets/licenses/iconify-utils.LICENSE +21 -0
  25. package/lib/assets/licenses/katex.LICENSE +21 -0
  26. package/lib/assets/licenses/khroma.LICENSE +21 -0
  27. package/lib/assets/licenses/marked.LICENSE +44 -0
  28. package/lib/assets/licenses/mermaid-js-parser.LICENSE +21 -0
  29. package/lib/assets/licenses/mermaid.LICENSE +21 -0
  30. package/lib/assets/licenses/roughjs.LICENSE +21 -0
  31. package/lib/assets/licenses/stylis.LICENSE +21 -0
  32. package/lib/assets/licenses/ts-dedent.LICENSE +21 -0
  33. package/lib/assets/licenses/types-d3.LICENSE +21 -0
  34. package/lib/assets/licenses/upsetjs-venn.js.LICENSE +22 -0
  35. package/lib/assets/licenses/uuid.LICENSE +9 -0
  36. package/lib/assets/mermaid.min.js +4330 -0
  37. package/lib/client.js +3191 -0
  38. package/lib/index.js +365 -0
  39. package/lib/log.js +212 -0
  40. package/lib/prompt-store.js +354 -0
  41. package/lib/render-tool.js +162 -0
  42. package/lib/validate-tool.js +160 -0
  43. package/lib/validate.js +1070 -0
  44. package/locale/en.json +6 -0
  45. package/locale/zh.json +6 -0
  46. package/package.json +66 -0
  47. package/screenshots.json +3 -0
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Mosaic",
4
+ "description": "Compact visual answers with dsh-view components, local interactions, and a sandboxed HTML/JS widget escape hatch."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Mosaic",
4
+ "description": "紧凑的可视化回答:dsh-view 组件、本地交互,以及可选的沙箱 HTML/JS 小组件。"
5
+ }
6
+ }
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "dsh-mosaic",
3
+ "version": "0.2.1",
4
+ "type": "module",
5
+ "description": "Lightweight visual answers for DeepSeek Harness: one compact visual style, an editable model prompt, dsh-view components, Mermaid diagrams, a sandboxed HTML/JS escape hatch, local-first interactions, and link-only media cards.",
6
+ "author": "imwhatiam",
7
+ "homepage": "https://github.com/imwhatiam/dsh-mosaic#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/imwhatiam/dsh-mosaic.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/imwhatiam/dsh-mosaic/issues"
14
+ },
15
+ "keywords": [
16
+ "deepseek-harness",
17
+ "dsh",
18
+ "dsh-plugin",
19
+ "plugin",
20
+ "visualization",
21
+ "mermaid",
22
+ "diagram"
23
+ ],
24
+ "icon": "./assets/icon.svg",
25
+ "exports": {
26
+ ".": "./lib/index.js",
27
+ "./client": "./lib/client.js",
28
+ "./locale/*.json": "./locale/*.json",
29
+ "./icon": "./assets/icon.svg",
30
+ "./skill": "./SKILL.md",
31
+ "./package.json": "./package.json",
32
+ "./assets/*": "./assets/*"
33
+ },
34
+ "files": [
35
+ "lib",
36
+ "assets",
37
+ "docs",
38
+ "locale",
39
+ "SKILL.md",
40
+ "README.md",
41
+ "CHANGELOG.md",
42
+ "THIRD_PARTY_NOTICES.md",
43
+ "LICENSE",
44
+ "screenshots.json",
45
+ "cordis.patch.yml",
46
+ "package.json"
47
+ ],
48
+ "dsh": {
49
+ "manifestVersion": 1,
50
+ "bundle": {
51
+ "patch": "./cordis.patch.yml"
52
+ },
53
+ "client": {
54
+ "platform": "web",
55
+ "inject": []
56
+ }
57
+ },
58
+ "scripts": {
59
+ "test": "node --test test/*.test.mjs"
60
+ },
61
+ "engines": {
62
+ "node": ">=24",
63
+ "dsh": ">=0.2.1-rc.1 <0.3.0-0"
64
+ },
65
+ "license": "MIT"
66
+ }
@@ -0,0 +1,3 @@
1
+ [
2
+ "assets/screenshots/preview.jpg"
3
+ ]