dsh-tool-web-enhanced-ui 0.0.0-stage → 0.1.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Yurzi
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 CHANGED
@@ -1,3 +1,30 @@
1
- # Temporary Holding Version
1
+ # dsh-tool-web-enhanced-ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Shared composer connection menu of [dsh-tool-web-enhanced-profile](../profile/README.md).
4
+ **Install the profile, not this package**: the profile mounts it as row
5
+ `tool-web-enhanced-ui`.
6
+
7
+ | | |
8
+ | --- | --- |
9
+ | Row id | `tool-web-enhanced-ui` |
10
+ | Host face | empty — a row is what makes DSH load the browser face |
11
+ | Browser face | `webConnections` service, one composer button, activation prompt, bundle overview |
12
+ | Depends on the plugin rows | no — they register sections into it through optional injection |
13
+
14
+ Provides the shared connection menu, activation prompt and profile overview
15
+ without depending on either provider row:
16
+
17
+ - **Composer button and menu**: one tab per running search or fetch plugin,
18
+ to pick a connection or Off for the conversation. The button collapses to
19
+ its globe together with DSH's model selector when the composer row is
20
+ short of room.
21
+ - **Activation prompt**: shown once when the profile is enabled.
22
+ - **Bundle overview** on the profile's Plugins page: whether the `web` row
23
+ routes each capability to this profile, whether a plugin row is disabled,
24
+ and an upgrade check for 0.1.x leftovers.
25
+
26
+ The row stays healthy with either plugin row, both, or neither enabled; the
27
+ plugins' `/setup-*` commands and settings pages never depend on it.
28
+ Interaction behavior is specified in
29
+ [Session selection](../../docs/design.md#会话选择). Architecture:
30
+ [docs/architecture.md](../../docs/architecture.md#浏览器面).
package/icon.svg ADDED
@@ -0,0 +1,17 @@
1
+ <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="5" y="7" width="26" height="22" rx="5" stroke="url(#wtu-frame)" stroke-width="2.2"/>
3
+ <circle cx="12" cy="14" r="2.4" fill="url(#wtu-frame)"/>
4
+ <path d="M17 14h9" stroke="url(#wtu-frame)" stroke-width="2.2" stroke-linecap="round"/>
5
+ <circle cx="12" cy="22" r="2.4" fill="url(#wtu-dot)"/>
6
+ <path d="M17 22h9" stroke="url(#wtu-dot)" stroke-width="2.2" stroke-linecap="round"/>
7
+ <defs>
8
+ <linearGradient id="wtu-frame" x1="5" y1="7" x2="31" y2="29" gradientUnits="userSpaceOnUse">
9
+ <stop stop-color="#67C7FE"/>
10
+ <stop offset="1" stop-color="#3F77D8"/>
11
+ </linearGradient>
12
+ <linearGradient id="wtu-dot" x1="12" y1="19" x2="26" y2="25" gradientUnits="userSpaceOnUse">
13
+ <stop stop-color="#45E7A4"/>
14
+ <stop offset="1" stop-color="#05909D"/>
15
+ </linearGradient>
16
+ </defs>
17
+ </svg>