@morlay/dsh-client-ui-conversation 0.0.2-alpha.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 +20 -0
- package/dist/client.cjs +18043 -0
- package/dist/client.d.cts +7847 -0
- package/dist/client.d.mts +7847 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +13 -0
- package/dist/submission-settings-BpcyEbde.mjs +15 -0
- package/dist/submission-settings-DWNYzsqo.d.mts +19 -0
- package/dist/submission-settings-oeopbUPo.d.cts +19 -0
- package/package.json +105 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 morlay
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @morlay/dsh-client-ui-conversation
|
|
2
|
+
|
|
3
|
+
上游 `@deepseek-ai/dsh-client-ui-conversation` 的**薄壳 fork**(host 半 + client 半),一对一替换官方
|
|
4
|
+
`ui-conversation` 行:官方该行在装配里被禁用,槽声明、locale 与设置命名空间与我们保持同形;装配由
|
|
5
|
+
`@morlay/better-session` 的 bundle patch 完成。
|
|
6
|
+
|
|
7
|
+
**薄壳**:只保留我们**有意改过**的文件,其余上游文件不复制——保留文件里指向它们的 import 走相对路径指向
|
|
8
|
+
`vendor/deepseek-harness/packages/client/ui-conversation/src/...`,构建时由 tsdown 内联进 `dist/client.cjs`
|
|
9
|
+
(发布物自包含,`files: ["dist"]`),开发态由 `dsh-desktopify` 的 `dev-client-bundles` 现场打包(上游组件的
|
|
10
|
+
`.module.css` 一并内联)。
|
|
11
|
+
|
|
12
|
+
## 文档
|
|
13
|
+
|
|
14
|
+
- 接管的原因、保留文件清单、决策点与回退条件:
|
|
15
|
+
[债务 20260917-临时接管上游对话UI的client半](./.agents/debts/20260917-临时接管上游对话UI的client半.md)
|
|
16
|
+
- 写法约束(根 `tsconfig.json` 保持 `composite: false`、合并接口只能一份实例):
|
|
17
|
+
[本包规范 how-to-write](./.agents/standards/how-to-write.md)
|
|
18
|
+
- 本包的接缝、测试落点与未覆盖:[本包规范 how-to-verify](./.agents/standards/how-to-verify.md)
|
|
19
|
+
|
|
20
|
+
同步上游时按债务里的「保留文件」表处理冲突,其余文件直接跟随上游。
|