@xiaopuai/dsh-media 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.
- package/LICENSE +21 -0
- package/README.md +19 -2
- package/client.js +5657 -0
- package/cordis.patch.yml +9 -0
- package/icon.svg +6 -0
- package/lib/index.js +45860 -0
- package/lib/schemas-B63HZw_j.js +12935 -0
- package/lib/typert.host.js +6913 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +74 -4
- package/ui.js +177 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# 自媒体:安装后左侧栏出现「自媒体」。两行都在这个包里:
|
|
2
|
+
# media-suite —— 后台:账号、抓数据、定时监控、AI 选题和诊断、登录用的小浏览器(lib/index.js)
|
|
3
|
+
# media-ui —— 替页面接住小浏览器画面的转接、给右边的 AI 助手建工作区(ui.js,默认 ~/Documents/自媒体);页面本身是 client.js
|
|
4
|
+
# 想改后台配置(例如数据放哪、Chrome 在哪),在 DSH profile 自己的 cordis.patch.yml 里按 id: media-suite 覆盖。
|
|
5
|
+
- insert:
|
|
6
|
+
- id: media-suite
|
|
7
|
+
name: "@xiaopuai/dsh-media"
|
|
8
|
+
- id: media-ui
|
|
9
|
+
name: "@xiaopuai/dsh-media/ui"
|
package/icon.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" fill="none">
|
|
2
|
+
<rect x="6" y="6" width="52" height="52" rx="14" fill="#1f2328"/>
|
|
3
|
+
<path d="M16 42a16 16 0 0 1 32 0" stroke="#ffffff" stroke-width="5" stroke-linecap="round"/>
|
|
4
|
+
<path d="M32 42 41 27" stroke="#ffffff" stroke-width="5" stroke-linecap="round" opacity=".7"/>
|
|
5
|
+
<circle cx="32" cy="42" r="4" fill="#ffffff"/>
|
|
6
|
+
</svg>
|