@heixui/dsh-session-suite 0.3.3 → 0.3.4

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 (2) hide show
  1. package/client.js +17 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -14,8 +14,24 @@
14
14
  * tokens and interaction patterns.
15
15
  */
16
16
 
17
+ /**
18
+ * The module id must be the package name.
19
+ *
20
+ * `dsh-client-modules` builds each manifest entry's id from the package it
21
+ * resolved, and the browser-side loader de-duplicates registrations by that same
22
+ * id. When this file registered itself as `dsh-session-suite` while the package
23
+ * resolved as `@heixui/dsh-session-suite`, those were two different ids for one
24
+ * bundle: the combo script registered the factory once, the graph row imported
25
+ * it again, and the second registration threw
26
+ *
27
+ * client-modules: duplicate factory registration for "dsh-session-suite"
28
+ *
29
+ * which aborted the whole web boot (the app refused to start). The shipped
30
+ * plugins that work all register under their package name — dsh-connect-trae
31
+ * uses "dsh-connect-trae", whale-pet uses "<package>#<submodule>".
32
+ */
17
33
  window.__ModuleLoader__.load({
18
- id: 'dsh-session-suite',
34
+ id: '@heixui/dsh-session-suite',
19
35
  factory(require) {
20
36
  const React = require('react')
21
37
  const h = React.createElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heixui/dsh-session-suite",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Session checkpoints for DSH: rewind a conversation with its files and memory, permanent session deletion, and shareable exports",
5
5
  "type": "module",
6
6
  "main": "./index.js",