dsh-crate 0.0.0-stage → 0.5.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.
Files changed (132) hide show
  1. package/LICENSE +27 -0
  2. package/README.md +288 -2
  3. package/README.zh.md +263 -0
  4. package/UPDATE-API-V1.md +207 -0
  5. package/assets/logo.svg +37 -0
  6. package/client/client.js +18964 -0
  7. package/cordis.patch.yml +4 -0
  8. package/lib/accelerate.js +194 -0
  9. package/lib/agents.js +67 -0
  10. package/lib/backup.js +688 -0
  11. package/lib/body-progress.js +173 -0
  12. package/lib/catalog-local-match.js +160 -0
  13. package/lib/catalog-npm.js +180 -0
  14. package/lib/changelog.js +462 -0
  15. package/lib/channels.js +64 -0
  16. package/lib/check.js +1557 -0
  17. package/lib/compatibility.js +243 -0
  18. package/lib/crate-catalog.js +179 -0
  19. package/lib/diagnostics.js +49 -0
  20. package/lib/discovery-compatibility.js +447 -0
  21. package/lib/drain-journal.js +164 -0
  22. package/lib/drain.js +1043 -0
  23. package/lib/dsh-cli.js +1373 -0
  24. package/lib/dsh-install.js +259 -0
  25. package/lib/entry-identity.js +85 -0
  26. package/lib/gist.js +369 -0
  27. package/lib/groups.js +108 -0
  28. package/lib/home-paths.js +29 -0
  29. package/lib/host-recovery.js +187 -0
  30. package/lib/hot.js +871 -0
  31. package/lib/http.js +252 -0
  32. package/lib/index.js +394 -0
  33. package/lib/install.js +1147 -0
  34. package/lib/lifecycle.js +37 -0
  35. package/lib/log-redaction.js +24 -0
  36. package/lib/log.js +204 -0
  37. package/lib/ndjson.js +154 -0
  38. package/lib/net.js +174 -0
  39. package/lib/official-desktop.js +619 -0
  40. package/lib/order.js +284 -0
  41. package/lib/patch.js +943 -0
  42. package/lib/pending-rows.js +142 -0
  43. package/lib/pending-updates.js +346 -0
  44. package/lib/pnpm-compat.js +972 -0
  45. package/lib/presets.js +282 -0
  46. package/lib/probe-context.js +20 -0
  47. package/lib/proc-text.js +69 -0
  48. package/lib/profile.js +1978 -0
  49. package/lib/recovery.js +1059 -0
  50. package/lib/region-probe.js +93 -0
  51. package/lib/regions.js +283 -0
  52. package/lib/registry.js +308 -0
  53. package/lib/release-candidates.js +115 -0
  54. package/lib/release-updates.js +70 -0
  55. package/lib/restart.js +688 -0
  56. package/lib/routes.js +7960 -0
  57. package/lib/settings.js +164 -0
  58. package/lib/shelfry-catalog.js +179 -0
  59. package/lib/snapshot.js +506 -0
  60. package/lib/source-migration.js +164 -0
  61. package/lib/sources.js +1005 -0
  62. package/lib/state.js +38 -0
  63. package/lib/store.js +163 -0
  64. package/lib/themes.js +350 -0
  65. package/lib/trial.js +125 -0
  66. package/lib/types/accelerate.d.ts +85 -0
  67. package/lib/types/agents.d.ts +52 -0
  68. package/lib/types/backup.d.ts +171 -0
  69. package/lib/types/body-progress.d.ts +94 -0
  70. package/lib/types/catalog-local-match.d.ts +39 -0
  71. package/lib/types/catalog-npm.d.ts +77 -0
  72. package/lib/types/changelog.d.ts +131 -0
  73. package/lib/types/channels.d.ts +56 -0
  74. package/lib/types/check.d.ts +353 -0
  75. package/lib/types/compatibility.d.ts +83 -0
  76. package/lib/types/crate-catalog.d.ts +48 -0
  77. package/lib/types/diagnostics.d.ts +29 -0
  78. package/lib/types/discovery-compatibility.d.ts +145 -0
  79. package/lib/types/drain-journal.d.ts +25 -0
  80. package/lib/types/drain.d.ts +306 -0
  81. package/lib/types/dsh-cli.d.ts +481 -0
  82. package/lib/types/dsh-install.d.ts +106 -0
  83. package/lib/types/entry-identity.d.ts +68 -0
  84. package/lib/types/gist.d.ts +79 -0
  85. package/lib/types/groups.d.ts +34 -0
  86. package/lib/types/home-paths.d.ts +13 -0
  87. package/lib/types/host-recovery.d.ts +95 -0
  88. package/lib/types/hot.d.ts +405 -0
  89. package/lib/types/http.d.ts +114 -0
  90. package/lib/types/index.d.ts +52 -0
  91. package/lib/types/install.d.ts +463 -0
  92. package/lib/types/lifecycle.d.ts +14 -0
  93. package/lib/types/log-redaction.d.ts +2 -0
  94. package/lib/types/log.d.ts +43 -0
  95. package/lib/types/ndjson.d.ts +52 -0
  96. package/lib/types/net.d.ts +94 -0
  97. package/lib/types/official-desktop.d.ts +59 -0
  98. package/lib/types/order.d.ts +100 -0
  99. package/lib/types/patch.d.ts +218 -0
  100. package/lib/types/pending-rows.d.ts +81 -0
  101. package/lib/types/pending-updates.d.ts +161 -0
  102. package/lib/types/pnpm-compat.d.ts +102 -0
  103. package/lib/types/presets.d.ts +94 -0
  104. package/lib/types/probe-context.d.ts +14 -0
  105. package/lib/types/proc-text.d.ts +29 -0
  106. package/lib/types/profile.d.ts +551 -0
  107. package/lib/types/recovery.d.ts +342 -0
  108. package/lib/types/region-probe.d.ts +50 -0
  109. package/lib/types/regions.d.ts +134 -0
  110. package/lib/types/registry.d.ts +160 -0
  111. package/lib/types/release-candidates.d.ts +42 -0
  112. package/lib/types/release-updates.d.ts +15 -0
  113. package/lib/types/restart.d.ts +279 -0
  114. package/lib/types/routes.d.ts +130 -0
  115. package/lib/types/settings.d.ts +112 -0
  116. package/lib/types/shelfry-catalog.d.ts +48 -0
  117. package/lib/types/snapshot.d.ts +93 -0
  118. package/lib/types/source-migration.d.ts +100 -0
  119. package/lib/types/sources.d.ts +391 -0
  120. package/lib/types/state.d.ts +20 -0
  121. package/lib/types/store.d.ts +47 -0
  122. package/lib/types/themes.d.ts +46 -0
  123. package/lib/types/trial.d.ts +61 -0
  124. package/lib/types/update-api-v1.d.ts +83 -0
  125. package/lib/types/updates.d.ts +273 -0
  126. package/lib/types/verify.d.ts +277 -0
  127. package/lib/update-api-v1.js +273 -0
  128. package/lib/updates.js +981 -0
  129. package/lib/verify.js +904 -0
  130. package/locale/en.json +5 -0
  131. package/locale/zh.json +6 -0
  132. package/package.json +113 -4
package/locale/en.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "meta": {
3
+ "description": "Browse, search, and install DeepSeek Harness community plugins — details, one-click install, favorites, and updates in one place."
4
+ }
5
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "插件箱子",
4
+ "description": "逛一逛,点一下,装好。浏览和搜索 DeepSeek Harness 社区插件,看详情、一键安装,收藏和更新都在一处。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,115 @@
1
1
  {
2
2
  "name": "dsh-crate",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "description": "逛一逛,点一下,装好。浏览和搜索 DeepSeek Harness 社区插件,看详情、一键安装,收藏和更新都在一处。",
4
+ "version": "0.5.0",
5
+ "icon": "assets/logo.svg",
6
+ "type": "module",
7
+ "main": "lib/index.js",
8
+ "types": "lib/types/index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/dshcrate/dsh-crate.git"
13
+ },
14
+ "homepage": "https://dshcrate.com",
15
+ "keywords": [
16
+ "deepseek",
17
+ "harness",
18
+ "dsh",
19
+ "dsh-plugin",
20
+ "marketplace",
21
+ "market",
22
+ "plugin-manager"
23
+ ],
24
+ "scripts": {
25
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit && tsc -p tsconfig.tests.json --noEmit",
26
+ "build": "tsc -p tsconfig.json && npm run build:client",
27
+ "build:client": "tsdown && node scripts/normalize-client-banner.mjs",
28
+ "check": "npm run typecheck && npm run build && node scripts/restart-smoke.mjs",
29
+ "test": "vitest run",
30
+ "test:compat": "vitest run --config vitest.compat.config.ts",
31
+ "prepack": "npm run build && node scripts/preflight.mjs",
32
+ "check:web-auth-capture": "node scripts/check-web-auth-capture.mjs",
33
+ "sync:upstream": "node scripts/sync-upstream.mjs",
34
+ "test:web": "node scripts/check-web-auth-capture.mjs && vitest run --config vitest.web.config.ts"
35
+ },
36
+ "dependencies": {
37
+ "js-yaml": "^4.3.2",
38
+ "undici": "^7.29.1"
39
+ },
40
+ "peerDependencies": {
41
+ "@deepseek-ai/cordis": "^4.0.1",
42
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.2 || ^0.2.0-rc.1 || ^0.2.1-alpha.3 || ^0.2.1-rc.1",
43
+ "@deepseek-ai/schemastery": "^3.18.1"
44
+ },
45
+ "dsh": {
46
+ "bundle": {
47
+ "patch": "./cordis.patch.yml"
48
+ },
49
+ "client": {
50
+ "inject": [
51
+ "@deepseek-ai/dsh-client-locale",
52
+ "@deepseek-ai/dsh-client-ui-settings",
53
+ "@deepseek-ai/dsh-client-ui-theme"
54
+ ],
55
+ "platform": "web"
56
+ }
57
+ },
58
+ "exports": {
59
+ ".": {
60
+ "types": "./lib/types/index.d.ts",
61
+ "default": "./lib/index.js"
62
+ },
63
+ "./update-api-v1": {
64
+ "types": "./lib/types/update-api-v1.d.ts",
65
+ "default": "./lib/update-api-v1.js"
66
+ },
67
+ "./client": "./client/client.js",
68
+ "./cordis.patch.yml": "./cordis.patch.yml",
69
+ "./package.json": "./package.json",
70
+ "./locale/*.json": "./locale/*.json"
71
+ },
72
+ "files": [
73
+ "assets/logo.svg",
74
+ "locale",
75
+ "lib",
76
+ "client",
77
+ "UPDATE-API-V1.md",
78
+ "cordis.patch.yml",
79
+ "LICENSE"
80
+ ],
81
+ "devDependencies": {
82
+ "@deepseek-ai/cordis": "^4.0.1",
83
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.7",
84
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
85
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.0-rc.7",
86
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
87
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.7",
88
+ "@deepseek-ai/schemastery": "^3.18.1",
89
+ "@testing-library/react": "^16.3.2",
90
+ "@types/js-yaml": "^4.0.9",
91
+ "@types/node": "^26.2.0",
92
+ "@types/react": "~18.3.1",
93
+ "@types/react-dom": "~18.3.1",
94
+ "jsdom": "^29.1.1",
95
+ "lightningcss": "^1.33.0",
96
+ "marked": "^18.0.10",
97
+ "playwright": "^1.62.1",
98
+ "react": "^18.3.1",
99
+ "react-dom": "~18.3.1",
100
+ "tsdown": "^0.22.14",
101
+ "typescript": "^7.0.2",
102
+ "vitest": "^4.1.10"
103
+ },
104
+ "publishConfig": {
105
+ "registry": "https://registry.npmjs.org/"
106
+ },
107
+ "peerDependenciesMeta": {
108
+ "@deepseek-ai/dsh-settings": {
109
+ "optional": true
110
+ },
111
+ "@deepseek-ai/schemastery": {
112
+ "optional": true
113
+ }
114
+ }
115
+ }