@yugoo-design/dsh-design-system-dsh 0.0.0-stage → 0.1.0-beta.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.

Potentially problematic release.


This version of @yugoo-design/dsh-design-system-dsh might be problematic. Click here for more details.

package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,18 @@
1
+ Yugoo-design
2
+ Copyright 2026 YugooDesign Team
3
+
4
+ Yugoo Design was initiated by Jianfeng Yang, who independently completed
5
+ its initial design and development. The project is maintained by
6
+ YugooDesign Team.
7
+
8
+ Except where otherwise identified, the original code and documentation in this
9
+ repository are licensed under the Apache License, Version 2.0. See LICENSE.
10
+
11
+ Third-party code, dependencies, vendored runtimes, and attributed materials
12
+ retain their own licenses and copyright notices. This notice does not relicense
13
+ those materials. See THIRD_PARTY_NOTICES.md and applicable component notices.
14
+
15
+ DSH distribution materials for this package: licenses/dsh-distribution.json.
16
+ It lists actual output hashes, selected original texts in this package, and external npm dependencies separately.
17
+ Existing third-party materials retain their individual terms.
18
+ Historical Companion/source observations are not claims of complete coverage for this DSH archive.
package/README.md CHANGED
@@ -1,3 +1,362 @@
1
- # Temporary Holding Version
1
+ # Yugoo Design for DeepSeek Harness
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
+ New Design Projects default to the system user's Documents directory under
4
+ `YuGoo/Projects`, using the same Core registry as Companion. Windows Documents
5
+ redirection and Linux XDG user directories are honored; WSL uses Linux storage.
6
+ An explicit Core `projectsRoot` still wins. Existing projects, registry, native
7
+ conversation bindings and runtime state stay at their original paths; this
8
+ changes new-project placement, not DSH authentication or host integration.
9
+
10
+ The single external DeepSeek Harness installation bundle for Yugoo Design. Official DSH is a read-only Host compatibility target: this package uses public Cordis, command, tool, Agent, interaction, subagent, Remote, and client-module extension points and requires no DSH patch, fork, or Design-specific release. Installing it adds direct Loader rows for generic Core, Panel, Studio, Design Knowledge, the official Web App provider, and the official Web App content Kit. DeepSeek Harness discovers each package's browser plugin through its own `dsh.client` declaration; this distribution does not compile or hide a combined client. The Settings launcher opens the full-page `/design-studio/` workspace, which uses the same Typert Remote and storage-domain-backed Studio service without creating a Session or Agent.
11
+
12
+ `dsh-design-skills-web-app` contains one Mindset plus self-contained Bundle
13
+ files, including optional ordinary Agent-facing scripts. Generic Core confines
14
+ their execution and gives them no Design Files or Git authority.
15
+ The official Web App Kit's 14 Bundles now declare their presentations in
16
+ `panel.yaml`, using shared components supplied by `dsh-design-panel`.
17
+ `dsh-design-provider-web-app` remains in this distribution for explicitly selected
18
+ native presentations and comparison; it is not the default presentation contract
19
+ of those declarative Bundles. Neither presentation layer owns generation,
20
+ validation, repair, or publication logic. Generic Core, Panel, and Studio do not
21
+ depend on the Web App Kit or its native provider. A Kit can revise its validated
22
+ panel definition or locale content without rebuilding the Host; introducing a
23
+ new shared runtime component or native UI surface requires a runtime release.
24
+ Installed-package native-equivalence acceptance remains separate from this
25
+ source declaration and is not established by the presence of 14 definitions.
26
+
27
+ ## Daily entry and compatibility
28
+
29
+ Use `/yugoo` in the existing DSH conversation to open the project command help,
30
+ or `/yugoo new <name>`, `/yugoo open <id|name|path>` and `/yugoo status` to manage
31
+ Design Projects. These commands share the existing project service and native
32
+ conversation binding; they do not start a second host or change authentication.
33
+
34
+ `/design` remains a compatibility alias to the same handler when that name is
35
+ available. If another plugin already owns `/design`, Yugoo Design leaves it
36
+ untouched and warns that the alias is unavailable. A conflict on the primary
37
+ `/yugoo` entry fails registration explicitly. Panel actions use `/yugoo` so they
38
+ cannot accidentally invoke a different plugin's `/design` command.
39
+
40
+ ## Installation target and current package composition
41
+
42
+ The product name is **yugoo-design**. Source package and Loader identifiers remain
43
+ `dsh-design-*`; public npm exports use the `@yugoo-design` scope. The brand does
44
+ not rename imports or Loader identities.
45
+ Official DSH is an external, separately installed host and is not one of the
46
+ plugin's system packages. Its agents supply model execution, questions,
47
+ subagents and search; installing this plugin must preserve the user's existing
48
+ model/search configuration and must not ask for a plugin-specific search key.
49
+
50
+ The current official DSH distribution comprises these ten system packages.
51
+ The directory column identifies the existing source package, not an end-user
52
+ checkout or build requirement.
53
+
54
+ | Package identifier | Source directory | Role |
55
+ | --- | --- | --- |
56
+ | `dsh-design-system-dsh` | `packages/dsh` | DSH installation bundle and Loader registration |
57
+ | `dsh-design-core` | `packages/core` | Design state, Bundle execution and validation |
58
+ | `dsh-design-panel` | `packages/panel` | Shared Panel runtime and components |
59
+ | `dsh-design-knowledge-ladybug` | `packages/knowledge-ladybug` | Design Knowledge provider |
60
+ | `dsh-design-provider-web-app` | `packages/provider-web-app` | Retained, explicitly selected native Web App presentations |
61
+ | `dsh-design-skills-web-app` | `packages/skills-web-app` | Official Web App Kit content |
62
+ | `dsh-design-skills-decision-modeling` | `packages/skills-decision-modeling` | Decision Modeling Kit content |
63
+ | `dsh-design-studio` | `packages/studio` | Host-neutral Studio service |
64
+ | `dsh-design-studio-ui` | `packages/studio-ui` | Shared Studio interface |
65
+ | `dsh-design-studio-dsh` | `packages/studio-dsh` | DSH Studio integration |
66
+
67
+ The Knowledge provider selects the official `@ladybugdb/wasm-core` at exact
68
+ version **`0.21.1`**. This is a third-party runtime dependency, not an eleventh
69
+ system package or a replacement DSH application. Do not substitute the earlier
70
+ WAL fork, an unpublished fixture alias, or `latest`.
71
+
72
+ ### Agent-led installation and local release files
73
+
74
+ After publication, copy the [DSH-specific installation prompt](../companion/HOSTS.md#install-or-update-deepseek-harness)
75
+ into the existing host conversation. The Agent acquires the exact product installer
76
+ from npm and uses its `release-hosts.json` to install the aggregate and internal
77
+ modules through the official host. Users do not acquire all ten modules manually.
78
+ Use the accepted public installation guide and exact release manifest; the host Agent should:
79
+
80
+ 1. Identify the installed official DSH version and check the selected release's
81
+ required host peers, including Core's Cordis minimum `^4.0.2`.
82
+ 2. Resolve the exact ten-package release and Ladybug `0.21.1`, then install the
83
+ DSH bundle through the official host's package/bundle interface. Preserve
84
+ existing user profiles, models and search settings.
85
+ 3. Confirm the Loader registrations and open a Design Project with its pinned
86
+ Kit. Run a nonempty Bundle, edit and save its Panel, reopen it, and confirm
87
+ the canonical data and checkpoint. Verify KAG and GRA through actual host
88
+ execution, reporting any capability or credential limitation explicitly.
89
+
90
+ The npm scope is `@yugoo-design` and the first beta target is `0.1.0-beta.1`,
91
+ with dist-tag `beta`; `latest` stays unchanged. Companion and all ten owned DSH
92
+ packages use that same exact npm version. Native suite and Kit/Bundle content
93
+ versions do not change with the npm prerelease. The packages are being prepared
94
+ and are not yet published; the registry-based route still needs acceptance.
95
+ The supplied local files below are for pre-publication preflight, rather than
96
+ the main public installation tutorial. A package-manager exit code, Loader mount or
97
+ MCP listing alone does not prove that Bundle generation, Panel saving, GRA and
98
+ KAG work. The developer launcher and clone/build steps are not the user install
99
+ path; Companion hosts use their own adapters rather than this DSH bundle.
100
+
101
+ ### Current Windows host admission
102
+
103
+ Official Windows DSH **`0.2.0-rc.2`** is the current release target. The affected
104
+ host peer declarations append that exact prerelease to their existing supported
105
+ ranges; they do not admit unknown RCs, `0.2.0` stable, or React 19. The earlier
106
+ `0.1.2-rc.1` development pins and historical local results below stay unchanged.
107
+ Loader compatibility uses its own prerelease policy and is not a substitute for
108
+ the package manager's strict peer resolution.
109
+
110
+ On the current host, advisory settings use the owning plugin's live `Config`
111
+ fields and the public `SettingsForms` projection. The host owns profile entry
112
+ identity, persistence and change delivery; the plugin creates no second settings
113
+ store. The Studio launcher consumes Slots and Locale only, retaining its
114
+ `settings.section` registration without requiring the removed, unused
115
+ `settingsScope` service. Pending question cancellation reads the current
116
+ session-status projection while preserving the exact session and question id.
117
+ Only an actual cancellation channel is invoked: the current host's hide-only
118
+ tool-call card dismissal is not reported as cancellation.
119
+ Existing section-provider and legacy-host adapters remain supported; unknown
120
+ interfaces fail explicitly rather than being replaced by empty or fake services.
121
+
122
+ Public API checks and isolated lifecycle fixtures establish only their tested
123
+ boundaries. The fixed beta archives still require actual strict installation,
124
+ native activation, browser interaction and functional regression as separate
125
+ acceptance steps; this declaration does not claim those outcomes.
126
+
127
+ ### Unpublished release: official local workspace route
128
+
129
+ This route verifies a received fixed local candidate before registry publication.
130
+ Its historical installation results remain tied to those archives; they do not
131
+ establish beta registry acquisition, update or native-host acceptance.
132
+
133
+ The local delivery includes ten compiled `.tgz` packages, `PORTABLE-INPUTS.json`
134
+ (archive filenames, package identities and SHA-256), `PORTABLE-PROVIDERS.json`
135
+ (exact public dependency versions), `portable-install.mjs`, and
136
+ `PORTABLE-RECIPE.md`. Keep these files together. No source checkout, source build,
137
+ host patch, package-manifest rewrite or developer dependency tree is required.
138
+ This is the local-file route for the same product, not an additional Companion
139
+ installation inside DSH.
140
+
141
+ The checked host is official DSH **0.1.2-rc.1**. Its actual `plugin` command
142
+ forwards **pnpm 9.15.4**; verify that command rather than a separately installed
143
+ pnpm executable. React and ReactDOM remain **18.3.1**.
144
+
145
+ Have your host agent perform these steps using recipient-owned absolute paths:
146
+
147
+ 1. Initialize a new `yugoo-local` profile through the official DSH CLI with an
148
+ explicitly owned `DSH_HOME`, separate from your existing home and profiles:
149
+
150
+ ```sh
151
+ DSH_HOME=/recipient/owned-dsh-home node /recipient/official-dsh/lib/bin.js \
152
+ plugin --profile yugoo-local --version
153
+ ```
154
+
155
+ This normal first use initializes the profile and probes the forwarded pnpm
156
+ version; there is no separate `init` subcommand in this recipe. Preserve your
157
+ existing model, search and credential configuration.
158
+ 2. Verify every archive against `PORTABLE-INPUTS.json`. Safely extract its
159
+ compiled `package/` contents into the profile's `packages/<package-name>`
160
+ directory, using the unscoped name (for example,
161
+ `profiles/yugoo-local/packages/dsh-design-core`). Reject absolute/traversing
162
+ paths, links and special archive members;
163
+ verify the unchanged extracted package name and version. Do not rewrite them.
164
+ 3. Retain the profile workspace root (`.`), add `packages/*`, and preserve the
165
+ official `nodeLinker: hoisted` and `autoInstallPeers: false` defaults. Use a
166
+ separate empty npm userconfig for this isolated installation.
167
+ 4. Run the supplied helper without `--execute` to validate inputs and print the
168
+ exact official command. It compares every original regular archive member
169
+ against staged bytes and executable modes, rejecting missing or changed
170
+ files, unsafe archive paths and symlinked staged paths/profile directories.
171
+ Matching package names and versions alone are insufficient. Replace all
172
+ example paths with your own:
173
+
174
+ ```sh
175
+ node portable-install.mjs \
176
+ --dsh-bin /recipient/official-dsh/lib/bin.js \
177
+ --dsh-home /recipient/owned-dsh-home \
178
+ --archives-dir /recipient/release-files \
179
+ --npm-userconfig /recipient/empty.npmrc
180
+ ```
181
+
182
+ 5. Review the printed command, then explicitly add `--execute` to install. It
183
+ uses the ten original workspace packages and exact public providers through
184
+ the official CLI, with strict peer checking and explicit hoisted/no-auto-peer
185
+ settings. The helper does not initialize profiles, extract packages, start
186
+ DSH or configure models. Do not add `--no-frozen-lockfile` to `pnpm add`.
187
+ 6. Check ten Loader identities, the aggregate registration, exact root providers,
188
+ Core-local host dependencies, all declared peer ranges and all runtime entry
189
+ resolutions. Then start the official host and perform the project/Kit and
190
+ save/reopen checks described above; dependency installation alone is not
191
+ functional acceptance.
192
+
193
+ The actual isolated official installation completed with strict checking:
194
+ ten Loader identities, eleven runtime entries and 52 declared peer checks passed.
195
+ The corrected helper's final ten-archive dry-run verified 1,198 original members;
196
+ eleven negative controls, including real older staging paired with final
197
+ archives, were rejected. Its `--execute` path subsequently installed those final
198
+ ten archives successfully; post-install checks retained all 1,198 original
199
+ members and matched 57 pinned providers. These results establish installation/load composition only,
200
+ not Cordis activation, all Panel interactions or another-machine acceptance.
201
+ Keep installation receipts and the owned profile for inspection and recovery;
202
+ no automatic rollback is promised.
203
+
204
+ ### Host activation and content watching
205
+
206
+ For the checked official DSH 0.1.2-rc.1 composition, select the profile's public
207
+ `patchReload: startup` mode. Include the official `@deepseek-ai/dsh-web-app`
208
+ 0.1.2-rc.1 carrier when opening Studio; its `webServer` service is required by
209
+ the Studio page. Keep the server on loopback and use the host's normal
210
+ authentication. An unauthenticated HTTP 401 confirms neither a usable page nor
211
+ Panel acceptance.
212
+
213
+ Install the official base and Web App carrier into that same owned profile,
214
+ after the local design packages and their pinned peers have been installed:
215
+
216
+ ```sh
217
+ DSH_HOME=/recipient/owned-dsh-home node /recipient/official-dsh/lib/bin.js \
218
+ plugin --profile yugoo-local add --workspace-root --save-exact \
219
+ @deepseek-ai/dsh-base@0.1.2-rc.1 @deepseek-ai/dsh-web-app@0.1.2-rc.1 \
220
+ --strict-peer-dependencies --config.node-linker=hoisted \
221
+ --config.auto-install-peers=false --registry=https://registry.npmjs.org
222
+ ```
223
+
224
+ Do not mix profile-local Agent plugins with fallback base modules from a different
225
+ installation. Matching version strings alone are insufficient: Agent loop,
226
+ presets and session controller must resolve the same physical `dsh-scope` module.
227
+ Separate module instances have different scope symbols and can reject session
228
+ creation before any model request. The checked normal profile installation
229
+ resolved all three consumers to one module; it did not patch the official host.
230
+
231
+ The setting lives in the owned profile's `package.json` at
232
+ `dsh.profile.patchReload`, not in a separate `profile.json`. Preserve the existing
233
+ bundle list when setting it. The official launcher accepts repeatable `--patch`
234
+ overlays; a recipient command has this form:
235
+
236
+ ```sh
237
+ DSH_HOME=/recipient/owned-dsh-home node --expose-internals \
238
+ /recipient/official-dsh/lib/bin.js --profile yugoo-local \
239
+ --patch /recipient/official-dsh-web-app/cordis.patch.yml \
240
+ --patch /recipient/owned-runtime.patch.yml \
241
+ --host 127.0.0.1 --port 0 --no-open
242
+ ```
243
+
244
+ Use your installed carrier's actual path and an owned runtime overlay for Core
245
+ project/state roots and any explicit Kit watcher settings. Do not copy test
246
+ directories or overwrite existing model/search settings. The verification below
247
+ called the launcher's installed `runProfile` implementation; it did not execute
248
+ this example as a separate CLI process.
249
+
250
+ This mode requires restarting DSH after changing host Cordis patch configuration.
251
+ It does not disable the Design Kit content watcher. To watch a package-backed
252
+ Kit, explicitly set `watch: true` on its existing Kit Loader configuration,
253
+ retaining its `packageName` and discovery settings. The checked installed
254
+ `runProfile` implementation started successfully, exposed both bundled Kits and
255
+ read an existing Design Project. With that watcher enabled, an isolated same-version
256
+ Web App mindset edit became visible through the actual Kit catalog; the original
257
+ content was restored and the project's thirteen Design Files remained unchanged.
258
+ These checks used the earlier validated installation, not a replay of every
259
+ final release archive, and did not create an Agent or invoke a model.
260
+
261
+ Do not select `patchReload: live` as a workaround: the checked official
262
+ composition calls `hmr.registerConfig`, which its installed HMR 1.0.19 does not
263
+ provide. This host patch-reload limitation remains unresolved; no host patch,
264
+ fake HMR service or automatic dependency upgrade is part of this delivery.
265
+ Successful startup/content watching does not establish authenticated UI,
266
+ generation, save/reopen, KAG or GRA acceptance.
267
+
268
+ For content authors, see the existing [Creator and Panel declaration guide](../../docs/wiki/extending.md#panel-选择).
269
+ Reuse the actual generic component catalog and preserve schema bindings, stable
270
+ IDs and locale resources. Validated Kit content reload/version updates apply
271
+ Panel and locale declaration changes without recompiling the runtime; source
272
+ edits do not automatically update installed packages or switch project pins.
273
+ New runtime components or executable Provider changes require their own build
274
+ and release.
275
+
276
+ ### Candidate npm installer: DSH route and recovery limits
277
+
278
+ The generated Companion npm candidate also exposes an `install --host dsh`
279
+ route. This is an installer adapter for the separately installed official DSH
280
+ host, not a bundled DSH application or a desktop Companion runtime inside DSH.
281
+ Yugoo design has one product installation entry. For DSH, that entry installs
282
+ the exact mapped aggregate and its internal modules automatically; users do
283
+ not install the internal packages individually. DSH itself remains an external
284
+ host. The Companion payload is not registered as a DSH bundle.
285
+
286
+ This route requires an existing isolated or user-selected DSH profile, an
287
+ absolute `--dsh-config` JSON file pinning the official Node/CLI/Loader inputs,
288
+ `--profile`, and an external `--receipt-dir`. A bound product
289
+ `release-hosts.json` supplies the exact aggregate version and HTTPS registry.
290
+ Optional `--aggregate-selector` and `--registry` overrides must match it.
291
+ For the beta set, the product mapping must select
292
+ `@yugoo-design/dsh-design-system-dsh@0.1.0-beta.1` and
293
+ `https://registry.npmjs.org`, matching all ten owned packages' exact beta pins.
294
+ This identifies the intended release;
295
+ it does not establish registry availability or authorize publication. Older or unbound candidates
296
+ retain the explicit selector and registry compatibility route. Use `--dry-run`
297
+ first and keep its saved plan; `--apply` consumes that exact plan. Do not pass the CLI's display
298
+ object in place of the saved plan. Output plans and result receipts are written
299
+ outside the package, host home and pinned input directories, without replacing
300
+ existing files. Codex-specific runtime and receipt flags do not apply here.
301
+
302
+ An official package operation can fail after changing host state. The adapter
303
+ reports `failed-partial-state-retained`, keeps its result receipt and exits
304
+ unsuccessfully; it does not promise automatic DSH rollback, recovery or
305
+ uninstallation. Inspect the retained state before taking another action.
306
+ Loader/configuration readback does not establish runtime or model execution.
307
+ This registry adapter has source-level contract coverage; it does not accept
308
+ local tarball selectors. Before registry publication, only the supplied local
309
+ workspace route above is available for candidate preflight. Do not substitute
310
+ fixture selectors, `latest`, or a clone/build workflow. After publication, the
311
+ host Agent uses registry acquisition and this mapped product adapter; the prior
312
+ local-install result does not establish that installation or update path.
313
+
314
+ ## Automatic Kit discovery
315
+
316
+ The distribution explicitly loads the bundled Web App and Decision Modeling
317
+ content packages through standard Kit Loader rows, then discovers additional
318
+ content Kits under `$DSH_HOME/design-system/kits` (default
319
+ `~/.dsh/design-system/kits`). Each direct child is a Kit directory containing
320
+ `mindset.md` and `skills/`. Missing roots are optional and are not created by
321
+ the loader. Additional absolute `discoveryRoots` extend this search; they do
322
+ not replace the default root. The source-checkout `./start.sh` also configures
323
+ the repository `packages/` root for development-only content discovery.
324
+ Additional user Kits placed in the default root need no per-Kit registration
325
+ or Host source changes. Bundled Kits instead have explicit distribution dependencies
326
+ and package-authority Loader rows; neither installation path requires start.sh.
327
+
328
+ Discovery validates and registers content without executing its scripts.
329
+ The installed catalog is shared by `/yugoo mindset <name>`, natural-language
330
+ selection, and Studio (`followInstalledSources: true`). Native renderer/runtime
331
+ drivers still require their own installed provider; discovery does not invent
332
+ missing capabilities. Explicit sources load first and retain their authority;
333
+ duplicate physical roots are skipped, and conflicting names are diagnosed
334
+ without replacing an installed Kit. Directory ordering is deterministic.
335
+
336
+ New Kits and valid edits are watched by default. Invalid edits or deleted
337
+ sources retain process-level last-good content, including the selection
338
+ catalog, with a diagnostic; scripts/source inspection may be unavailable after
339
+ deletion. Existing version pins remain resolvable until shutdown. Restarting
340
+ loads current files only: it does not restore a removed Kit from hidden storage.
341
+ Changing a Kit's identity in-place requires a restart. `watch: false` disables
342
+ watching and the bounded configured-root existence checks.
343
+
344
+ The Portable Kernel owns Design Projects, Kit and Bundle versions, validation, execution, DesignJournal, Design Knowledge, advisories, and the shared UI. The DSH Provider maps Host identity, model-context delivery, subagents, commands, tools, and panel transport to DSH public capabilities. It exposes `ctx.userQuestions` for an in-turn blocking question when Bundle policy or the Agent requires native ask-user. Persistent asynchronous continuation appears in the plugin continuation UI, and acceptance enters as an ordinary logged user turn; advisory dispositions remain plugin-owned review decisions. Its plugin-owned binding store maps an opaque DSH Session id to the selected Design Project. No Design Project, Kit, Design File, or clarity-specific DSH Session events or projections are required; the standard `designAdvisoryInbox` projection is only a refresh/read-model mechanism and is not Design authority.
345
+
346
+ Every successful `run_design_skill` completion remains attached while Core synchronously evaluates U/S/T against that exact published Git commit. The assessment is promoted to the shared project clarity authority and returned with the completed result. A bounded evaluator failure never rolls back the Bundle commit; it marks clarity failed so the main Agent cannot derive a next recommendation from stale scores. `report_design_clarity` remains the explicit main-Agent path for meaningful checkpoints outside that completion hook.
347
+
348
+ Every Design Project records the exact knowledge provider in `project.json`. This DSH composition creates new projects with `ladybug-wasm` and opens that project's embedded database below its external runtime-state root, never inside the Git repository. Project switching opens and materializes the target before replacing the binding-store selection, then releases the previous handle. Provider or materialization failures leave the prior selection active and fail visibly.
349
+
350
+ Grounding, reflection, and alignment are Kit-neutral built-in profiles. Successful Design publication automatically admits bounded KAG maintenance. GRA follows a separate project policy: auto combines Agent judgement with a configurable quiet merge window (default 30 seconds); continuous rechecks the latest published version every configurable N minutes (default 10), even unchanged; off disables autonomous GRA while explicit human rechecks remain available. Continuous scheduling runs online only, skips busy rounds without catch-up, and does not cancel an active reviewer. Legacy every-publication queues remain readable but are not offered in the new UI.
351
+
352
+ The lightbulb Design advisories entry opens its settings even with zero suggestions. Settings persist outside Design Files; Clarity and KAG are independent. Reviewers consume bounded persisted suggestion dispositions: pending/deferred issues should not be repeated, rejection is not a permanent ban, and new evidence must explain why reconsideration is warranted. The journal suppresses exact evidence/action duplicates, not fuzzy semantic matches. No suggestion is automatically accepted or rejected.
353
+
354
+ Pending targets survive restart; attempted evaluations are not automatically replayed as the same attempt. Historical results cannot update current advice, Clarity, or a newer KAG. Foreground Producer work does not block review of earlier completed designs: a running `run_design_skill` call explains editing scope, while the immutable commit boundary excludes unpublished content. The loops inherit the primary Agent's model route and credentials, never block the foreground conversation, isolate profile failures, and expose aggregate operational state through `/design status`. Grounding checks deterministic cross-file consistency, Reflection recommends Research for external-knowledge uncertainty, and Alignment routes user-only decisions through the semantic Question capability. Every loop investigates committed Design Files with read-only Git commands, may use checkpoint-matched KAG as an optional discovery aid, performs its own stale checks, and publishes without waiting for siblings. There is no atomic G/R/A set or cross-profile input flow. Selecting or closing a Design Project cancels old analysis; the binding store and DesignJournal then expose only the selected project's evidence and clarity.
355
+
356
+ Design Kits are content packages managed by the Design System. They do not install or remove system capabilities. Deployment overlays may configure model providers, credentials, budgets, and other tunables, but must not reproduce this package's plugin roster.
357
+
358
+ The official DSH composition enables optional native delegation through the execution plugin's `delegation` configuration. Each candidate child receives up to four structured submissions so validation feedback can repair a complex artifact within one isolated worker context. Deployments may tune the provider and resource bounds there; disabling the group leaves the Producer serial without changing completion semantics, and a rejected candidate never settles merely because its submission budget is exhausted.
359
+
360
+ `pnpm run test:release:physical-distribution` at the repository root proves the isolated physical package closure: it packs this distribution and its internal packages, installs them in a consumer outside the source workspace, and rejects entry points that resolve back through the workspace. It does not install or boot an official DSH Host. The linked-profile composition gate against the pinned official DSH submodule is the official-Host compatibility check. Both gates are required before release because neither package closure nor Host compatibility implies the other.
361
+
362
+ Planned Codex and Claude Code Host Providers will reuse the same Portable Kernel, projects, Kits, execution rules, and shared UI. Their first implementations discriminate the capabilities published by the installed CLI version and do not assume native programmatic questions, subagents, or panel APIs. When a CLI cannot embed the UI, its provider opens a session-bound browser companion and keeps the originating CLI as the primary Agent surface. Those providers are not implemented by this DSH package.
@@ -0,0 +1,35 @@
1
+ # Third-party licensing inventory
2
+
3
+ Original Yugoo-design code and documentation are licensed under Apache-2.0,
4
+ except where otherwise identified. Third-party material retains its original
5
+ license. This inventory is a preparation record, not a complete release SBOM
6
+ or a substitute for license texts, source provision, or other obligations.
7
+
8
+ ## Known components requiring release checks
9
+
10
+ | Component | License / location | Release requirement to verify |
11
+ | --- | --- | --- |
12
+ | Official Ladybug WASM dependency `@ladybugdb/wasm-core@0.21.1` | Package declares MIT; original text and public source locator in `third-party/native/ladybug-wasm-core-0.21.1/` | Current `packages/knowledge-ladybug` dependency route. Preserve Kùzu Inc./Ladybug Memory Inc. notices and verify actual release inclusion. The installed package has no separate third-party inventory or precise build-provenance file; embedded components and source/build correspondence remain unresolved. Package MIT is not a blanket license for the complete WASM. |
13
+ | Historical vendored Ladybug WASM runtime | MIT; `vendor/ladybug/runtime/LICENSE` | Separate legacy route: preserve its own copyright/license, provenance and patch if distributed. Do not use its patch/source evidence as the build provenance of the official npm dependency. Compiled-in component checks remain separate. |
14
+ | DSH code and reused utilities | MIT; `deepseek-harness/LICENSE` | Retain original notices; distinguish external host from copied/bundled utilities. |
15
+ | Pinned DSH JSON value utility (Core) | MIT; repository `packages/core/third-party/dsh-json/LICENSE`, Core package `third-party/dsh-json/LICENSE` | Preserve the original license and provenance README with the Core tarball; verify actual packed files. |
16
+ | ELK / elkjs | EPL-2.0 | Include license and corresponding source availability information; verify actual bundled version and modifications. |
17
+ | sharp | Apache-2.0 | Preserve applicable license and upstream notices. |
18
+ | Prebuilt sharp/libvips dependency bundle | Local `@img/sharp-libvips-*` package declares LGPL-3.0-or-later; contains multiple licenses | Inventory all bundled libraries per platform; provide required corresponding source/build materials and verify replacement/relinking conditions. libvips upstream alone is LGPL-2.1-or-later; do not confuse that with the distributed bundle's terms. |
19
+ | bpmn-js | bpmn.io License | Include original license/copyright; keep the required watermark visible and unchanged. |
20
+ | Design-style reference material and icon assets | Apache-2.0, MIT, ISC | Preserve the detailed notices in `packages/skills-web-app/skills/design_style/THIRD_PARTY_NOTICES.md`; verify required full license texts are distributed. |
21
+
22
+ ## Scope exclusions
23
+
24
+ - `deepseek-harness/` and `vendor/ladybug/` are not relicensed by the root LICENSE.
25
+ - External packages keep their own licenses even when bundled into an output.
26
+ - Separately licensed Kit content and assets keep their explicit licenses.
27
+ - Downloaded model weights require their own version-specific license review;
28
+ the inference engine's license does not license the weights.
29
+
30
+ ## Release work still pending
31
+
32
+ Generate a versioned inventory from actual tarballs and CLI plugin outputs,
33
+ include every required license/NOTICE, arrange corresponding source access for
34
+ applicable components, and verify Linux/Windows/macOS packaging separately.
35
+ See TODO.md. Do not label a release compliant based only on this inventory.
@@ -0,0 +1,60 @@
1
+ - insert:
2
+ - id: dsh-design-core
3
+ name: "@yugoo-design/dsh-design-core"
4
+ - id: dsh-design-knowledge
5
+ name: "@yugoo-design/dsh-design-knowledge-ladybug/dsh"
6
+ config:
7
+ writerAttempts: 16
8
+ writerRetryMs: 5
9
+ projectLockRetries: 8
10
+ projectLockMinTimeoutMs: 25
11
+ projectLockStaleMs: 10000
12
+ maxQueryLimit: 1000
13
+ maxFilterValues: 64
14
+ maxTextBytes: 16384
15
+ maxImpactDepth: 8
16
+ maxImpactSeeds: 128
17
+ maxArchiveRecords: 100000
18
+ - id: dsh-design-provider-web-app
19
+ name: "@yugoo-design/dsh-design-provider-web-app"
20
+ - id: dsh-design-kit-decision-modeling
21
+ name: "@yugoo-design/dsh-design-core/kit-loader"
22
+ config:
23
+ packageName: "@yugoo-design/dsh-design-skills-decision-modeling"
24
+ - id: dsh-design-kit-web-app
25
+ name: "@yugoo-design/dsh-design-core/kit-loader"
26
+ config:
27
+ packageName: "@yugoo-design/dsh-design-skills-web-app"
28
+ discoveryRoots: []
29
+ - id: dsh-design-advisory-scheduler
30
+ name: "@yugoo-design/dsh-design-core/advisory-scheduler"
31
+ config:
32
+ provider: spawn
33
+ debounceMs: 30000
34
+ maxSuggestions: 5
35
+ - id: dsh-design-execution
36
+ name: "@yugoo-design/dsh-design-core/execution"
37
+ config:
38
+ producerMaxTokens: 16384
39
+ producerMaxDepth: 4
40
+ delegation:
41
+ provider: dsh-design-file-worker
42
+ maxDepth: 4
43
+ maxTokens: 32768
44
+ maxConcurrency: 4
45
+ maxArtifactInputFiles: 64
46
+ maxArtifactInputPathBytes: 512
47
+ maxArtifactInputFileBytes: 262144
48
+ maxArtifactInputTotalBytes: 2097152
49
+ - id: dsh-design-panel-remote
50
+ name: "@yugoo-design/dsh-design-core/panel-remote"
51
+ config:
52
+ maxBinaryArtifactBytes: 26214400
53
+ - id: dsh-design-panel
54
+ name: "@yugoo-design/dsh-design-panel"
55
+ - id: dsh-design-studio
56
+ name: "@yugoo-design/dsh-design-studio-dsh"
57
+ config:
58
+ followInstalledSources: true
59
+ - id: dsh-design-studio-page
60
+ name: "@yugoo-design/dsh-design-studio-dsh/studio-page"
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ /** Package marker for the single-install Design System configuration bundle. */
2
+ export function apply() {}
@@ -0,0 +1,25 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@yugoo-design/dsh-design-system-dsh",
4
+ "scope": "observed-current-dsh-output-and-selected-original-materials",
5
+ "sourceArchiveObserved": null,
6
+ "outputSha256": {
7
+ "index.js": "6ec94e30318c4c9bf77fbdfe4d8b768007cd189a3fde40fa0a5b8dbad55fa283"
8
+ },
9
+ "normalBuildMaps": [],
10
+ "components": [],
11
+ "fonts": [],
12
+ "embeddedBpmnFonts": [],
13
+ "unresolvedEmbeddedFonts": [],
14
+ "externalDependencies": {},
15
+ "externalPeers": {},
16
+ "copiedMaterials": {},
17
+ "limitations": [
18
+ "This component list is scoped to retained maps whose output was compared to actual adapted archive bytes, and emitted source-region IDs; no complete coverage claim for generated/unmapped code.",
19
+ "External npm dependencies and peer host services are separate artifacts, even where other modules from that package are embedded.",
20
+ "Shared Radix/upstream attribution records keep their original historical-source limitations.",
21
+ "Existing embedded/font/native source obligations and rendering checks remain distinct from delivery of original license text."
22
+ ],
23
+ "completeBundledInventoryVerified": false,
24
+ "releaseLicenseAcceptance": false
25
+ }
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@yugoo-design/dsh-design-system-dsh",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0-beta.1",
4
+ "license": "Apache-2.0",
5
+ "type": "module",
6
+ "description": "Yugoo Design (yugoo-design) installation plugin for DeepSeek Harness.",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./package.json": "./package.json"
10
+ },
11
+ "dsh": {
12
+ "bundle": {
13
+ "patch": "./cordis.patch.yml"
14
+ }
15
+ },
16
+ "files": [
17
+ "index.js",
18
+ "cordis.patch.yml",
19
+ "README.md",
20
+ "LICENSE",
21
+ "NOTICE",
22
+ "THIRD_PARTY_NOTICES.md",
23
+ "licenses"
24
+ ],
25
+ "dependencies": {
26
+ "@yugoo-design/dsh-design-core": "0.1.0-beta.1",
27
+ "@yugoo-design/dsh-design-knowledge-ladybug": "0.1.0-beta.1",
28
+ "@yugoo-design/dsh-design-panel": "0.1.0-beta.1",
29
+ "@yugoo-design/dsh-design-provider-web-app": "0.1.0-beta.1",
30
+ "@yugoo-design/dsh-design-studio-dsh": "0.1.0-beta.1",
31
+ "@yugoo-design/dsh-design-skills-web-app": "0.1.0-beta.1",
32
+ "@yugoo-design/dsh-design-skills-decision-modeling": "0.1.0-beta.1",
33
+ "@yugoo-design/dsh-design-studio": "0.1.0-beta.1",
34
+ "@yugoo-design/dsh-design-studio-ui": "0.1.0-beta.1"
35
+ },
36
+ "publishConfig": {
37
+ "access": "public"
38
+ }
39
+ }