@deepseek-ai/dsh-client-web 0.0.1-rc.1 → 0.0.1-rc.2

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/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/client/web/README.md
5
- README.md: 48355a046910bd5b78249af7b7781dab6a7c3a60
5
+ README.md: 4b44e0e2c2e192363ce32ac2decc218f5ea17bd2
6
6
  README.zh.md: f0b567569849c698e8a1a29323e7088b49996522
package/README.md CHANGED
@@ -6,7 +6,7 @@ Web shell kernel: `new AppWebEntry(el, seams?).run()` mounts the whole client th
6
6
 
7
7
  Shell self-sufficiency (web2 hard rule): the kernel value-imports no plugin package — the boot status store and signals are hand-rolled here (`loader-status.ts`), so the loading page works while (and especially when) plugins fail. The app-shell assembly (`@deepseek-ai/dsh-client-app-shell`, a shell-owned pseudo entry with no npm package behind it) is the only module registered through `registerStatic`; it inject-waits on slots/sessions/layout like any plugin.
8
8
 
9
- `PLATFORM_MODULES` (src/platform.ts) is the single source of truth for the shared module surface: seed-table keys, tsdown client externals, and the vite alias set are its projections.
9
+ `PLATFORM_MODULES` (src/platform.ts) is the single source of truth for shared modules: seed-table keys, tsdown client externals, and the Vite alias set are its projections.
10
10
 
11
11
  The optional override parameter `seams` forwards the module system's `loadBundle` transport override (`BootSeams`) for environments where external `<script>` execution cannot reach the page context; ordinary browser callers omit it.
12
12
 
package/lib/index.js CHANGED
@@ -14,6 +14,7 @@ import { useEffect, useRef, useSyncExternalStore } from "react";
14
14
  import * as ReactDom from "react-dom";
15
15
  import * as UiSlots from "@deepseek-ai/dsh-client-ui-slots";
16
16
  import * as UiPrimitives from "@deepseek-ai/dsh-client-ui-primitives";
17
+ import * as UiAttachment from "@deepseek-ai/dsh-client-ui-attachment";
17
18
  import * as SchemaForm from "@deepseek-ai/dsh-client-schema-form";
18
19
  //#region \0rolldown/runtime.js
19
20
  var __defProp = Object.defineProperty;
@@ -159,7 +160,7 @@ function AppRoot(props) {
159
160
  */
160
161
  /**
161
162
  * Build the static table handed to the module loader at boot.
162
- * @returns module specifier → export-surface entity (one entry per platform word).
163
+ * @returns module specifier → exported entity (one entry per platform word).
163
164
  */
164
165
  function getStaticModules() {
165
166
  return {
@@ -171,6 +172,7 @@ function getStaticModules() {
171
172
  "@deepseek-ai/dsh-client-ui-slots": UiSlots,
172
173
  "@deepseek-ai/dsh-client-web-react": WebReact,
173
174
  "@deepseek-ai/dsh-client-ui-primitives": UiPrimitives,
175
+ "@deepseek-ai/dsh-client-ui-attachment": UiAttachment,
174
176
  "@deepseek-ai/dsh-client-schema-form": SchemaForm
175
177
  };
176
178
  }
@@ -427,6 +429,7 @@ const PLATFORM_MODULES = [
427
429
  "@deepseek-ai/dsh-client-ui-slots",
428
430
  "@deepseek-ai/dsh-client-web-react",
429
431
  "@deepseek-ai/dsh-client-ui-primitives",
432
+ "@deepseek-ai/dsh-client-ui-attachment",
430
433
  "@deepseek-ai/dsh-client-schema-form"
431
434
  ];
432
435
  //#endregion
@@ -4,7 +4,7 @@
4
4
  * @module @deepseek-ai/dsh-client-web/src/platform
5
5
  */
6
6
  /** The module specifiers the shell shares into the frozen module table. */
7
- export declare const PLATFORM_MODULES: readonly ["react", "react/jsx-runtime", "react-dom", "react-dom/client", "@deepseek-ai/cordis", "@deepseek-ai/dsh-client-ui-slots", "@deepseek-ai/dsh-client-web-react", "@deepseek-ai/dsh-client-ui-primitives", "@deepseek-ai/dsh-client-schema-form"];
7
+ export declare const PLATFORM_MODULES: readonly ["react", "react/jsx-runtime", "react-dom", "react-dom/client", "@deepseek-ai/cordis", "@deepseek-ai/dsh-client-ui-slots", "@deepseek-ai/dsh-client-web-react", "@deepseek-ai/dsh-client-ui-primitives", "@deepseek-ai/dsh-client-ui-attachment", "@deepseek-ai/dsh-client-schema-form"];
8
8
  /** One platform module specifier (a seed-table key). */
9
9
  export type PlatformModule = (typeof PLATFORM_MODULES)[number];
10
10
  //# sourceMappingURL=platform.d.ts.map
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Build the static table handed to the module loader at boot.
3
- * @returns module specifier → export-surface entity (one entry per platform word).
3
+ * @returns module specifier → exported entity (one entry per platform word).
4
4
  */
5
5
  export declare function getStaticModules(): Record<string, unknown>;
6
6
  //# sourceMappingURL=seed.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-web",
3
3
  "description": "Web shell kernel: bootWebShell (module system holding + seed table + two-stage boot + AppRoot gate + app-shell assembly entry), consumed by the apps/web vite entry",
4
- "version": "0.0.1-rc.1",
4
+ "version": "0.0.1-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
@@ -29,27 +29,28 @@
29
29
  "dependencies": {
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0",
32
- "@deepseek-ai/dsh-client-modules": "^0.0.1-rc.1",
33
- "@deepseek-ai/dsh-client-schema-form": "^0.0.1-rc.1",
34
- "@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.1",
35
- "@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.1",
36
- "@deepseek-ai/dsh-client-web-react": "^0.0.1-rc.1",
37
- "@deepseek-ai/dsh-client-ui-theme": "^0.0.1-rc.1"
32
+ "@deepseek-ai/dsh-client-modules": "^0.0.1-rc.2",
33
+ "@deepseek-ai/dsh-client-schema-form": "^0.0.1-rc.2",
34
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.2",
35
+ "@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.2",
36
+ "@deepseek-ai/dsh-client-ui-theme": "^0.0.1-rc.2",
37
+ "@deepseek-ai/dsh-client-ui-attachment": "^0.0.1-rc.2",
38
+ "@deepseek-ai/dsh-client-web-react": "^0.0.1-rc.2"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@types/react": "~18.3.1",
41
42
  "@types/react-dom": "~18.3.0",
42
43
  "typescript": "^6.0.3",
43
- "@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.1",
44
- "@deepseek-ai/dsh-client-test-runtime": "^0.0.1-rc.1",
45
44
  "@deepseek-ai/cordis-plugin-loader": "^1.0.1-rc.1",
46
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
47
- "@deepseek-ai/cordis": "^4.0.1-rc.1"
45
+ "@deepseek-ai/dsh-client-test-runtime": "^0.0.1-rc.2",
46
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
47
+ "@deepseek-ai/cordis": "^4.0.1-rc.1",
48
+ "@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.2"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "@deepseek-ai/cordis-plugin-loader": "^1.0.1-rc.1",
51
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
52
- "@deepseek-ai/cordis": "^4.0.1-rc.1"
52
+ "@deepseek-ai/cordis": "^4.0.1-rc.1",
53
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2"
53
54
  },
54
55
  "files": [
55
56
  "lib/index.js",