dsh-multi-chat 0.6.8 → 1.0.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.
Files changed (66) hide show
  1. package/README.md +88 -30
  2. package/README.zh.md +54 -30
  3. package/bin/dsh-multi-chat.mjs +5 -9
  4. package/lib/client.js +778 -0
  5. package/lib/client.js.map +1 -0
  6. package/{plugin/dsh-client-ui-multi-wall/lib → lib}/index.js +58 -70
  7. package/lib/tsconfig.tsbuildinfo +1 -0
  8. package/lib/types/client/WallToggle.d.ts.map +1 -0
  9. package/lib/types/client/WallToggle.js +36 -0
  10. package/lib/types/client/WallToggle.js.map +1 -0
  11. package/lib/types/client/WallView.d.ts.map +1 -0
  12. package/lib/types/client/WallView.js +218 -0
  13. package/lib/types/client/WallView.js.map +1 -0
  14. package/lib/types/client/index.d.ts.map +1 -0
  15. package/lib/types/client/index.js +59 -0
  16. package/lib/types/client/index.js.map +1 -0
  17. package/lib/types/client/locales.d.ts.map +1 -0
  18. package/lib/types/client/locales.js +96 -0
  19. package/lib/types/client/locales.js.map +1 -0
  20. package/lib/types/client/store.d.ts.map +1 -0
  21. package/lib/types/client/store.js +27 -0
  22. package/lib/types/client/store.js.map +1 -0
  23. package/lib/types/client/wall-injected.d.ts.map +1 -0
  24. package/lib/types/client/wall-injected.js +76 -0
  25. package/lib/types/client/wall-injected.js.map +1 -0
  26. package/lib/types/gateway.d.ts +57 -0
  27. package/lib/types/gateway.d.ts.map +1 -0
  28. package/lib/types/gateway.js +566 -0
  29. package/lib/types/gateway.js.map +1 -0
  30. package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/index.d.ts +80 -80
  31. package/lib/types/index.d.ts.map +1 -0
  32. package/lib/types/index.js +550 -0
  33. package/lib/types/index.js.map +1 -0
  34. package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/invariant.d.ts +3 -4
  35. package/lib/types/invariant.d.ts.map +1 -0
  36. package/lib/types/invariant.js +25 -0
  37. package/lib/types/invariant.js.map +1 -0
  38. package/package.json +49 -17
  39. package/patches/multi-wall.yml +1 -1
  40. package/scripts/install-plugin.ps1 +6 -9
  41. package/scripts/start-multi.ps1 +1 -1
  42. package/scripts/sync-vitest-paths.mjs +63 -0
  43. package/src/client/WallToggle.module.css +26 -0
  44. package/src/client/WallToggle.tsx +52 -0
  45. package/src/client/WallView.module.css +190 -0
  46. package/src/client/WallView.tsx +406 -0
  47. package/src/client/index.ts +103 -0
  48. package/src/client/locales.ts +100 -0
  49. package/src/client/store.ts +40 -0
  50. package/src/client/wall-injected.ts +123 -0
  51. package/src/css-modules.d.ts +5 -0
  52. package/src/gateway.ts +627 -0
  53. package/src/index.ts +618 -0
  54. package/src/invariant.ts +33 -0
  55. package/plugin/dsh-client-ui-multi-wall/README.md +0 -26
  56. package/plugin/dsh-client-ui-multi-wall/README.zh.md +0 -26
  57. package/plugin/dsh-client-ui-multi-wall/cordis.patch.yml +0 -7
  58. package/plugin/dsh-client-ui-multi-wall/lib/client.js +0 -781
  59. package/plugin/dsh-client-ui-multi-wall/lib/invariant.js +0 -27
  60. package/plugin/dsh-client-ui-multi-wall/package.json +0 -88
  61. /package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/client/WallToggle.d.ts +0 -0
  62. /package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/client/WallView.d.ts +0 -0
  63. /package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/client/index.d.ts +0 -0
  64. /package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/client/locales.d.ts +0 -0
  65. /package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/client/store.d.ts +0 -0
  66. /package/{plugin/dsh-client-ui-multi-wall/lib → lib}/types/client/wall-injected.d.ts +0 -0
@@ -1,27 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for
4
- * `@deepseek-ai/dsh-client-ui-multi-wall`.
5
- * @module @deepseek-ai/dsh-client-ui-multi-wall/invariant
6
- */
7
- const PACKAGE_NAME = "@deepseek-ai/dsh-client-ui-multi-wall";
8
- /** Cordis companion plugin name. */
9
- const name = "client-ui-multi-wall-invariant";
10
- /** Service required before the companion can reserve package ownership. */
11
- const inject = ["invariants"];
12
- /**
13
- * No runtime invariant: the wall contributes the conversation view-ring entry
14
- * (the wall surface) and the sidebar footer shortcut, whose disposal is
15
- * proven by the HMR-safety spec — the plugin owns one store handle used by
16
- * the view entry, emits no cordis events, and holds no cross-plugin mutable
17
- * state.
18
- */
19
- const install = () => {};
20
- /**
21
- * Register this package's invariant companion.
22
- * @param ctx - Cordis context carrying the invariant service.
23
- * @returns the installed registration's disposer after setup succeeds.
24
- */
25
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
26
- //#endregion
27
- export { apply, inject, name };
@@ -1,88 +0,0 @@
1
- {
2
- "name": "@deepseek-ai/dsh-client-ui-multi-wall",
3
- "description": "Multi-window wall surface: a sidebar footer action that opens a full-screen wall of every running DSH instance (one pane per port), inside the official web GUI. Additive slots only — no existing row or interaction logic is changed.",
4
- "version": "0.2.1",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
11
- "directory": "packages/client/ui-multi-wall"
12
- },
13
- "type": "module",
14
- "main": "lib/index.js",
15
- "types": "lib/types/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "types": "./lib/types/index.d.ts",
19
- "default": "./lib/index.js"
20
- },
21
- "./invariant": {
22
- "types": "./lib/types/invariant.d.ts",
23
- "default": "./lib/invariant.js"
24
- },
25
- "./client": {
26
- "types": "./lib/types/client/index.d.ts",
27
- "default": "./lib/client.js"
28
- },
29
- "./src/*": "./src/*",
30
- "./package.json": "./package.json"
31
- },
32
- "dsh": {
33
- "bundle": {
34
- "patch": "./cordis.patch.yml"
35
- },
36
- "client": {
37
- "inject": [
38
- "@deepseek-ai/dsh-client-runtime",
39
- "@deepseek-ai/dsh-client-locale",
40
- "@deepseek-ai/dsh-client-ui-layout",
41
- "@deepseek-ai/dsh-client-ui-sidebar",
42
- "@deepseek-ai/dsh-client-ui-primitives"
43
- ],
44
- "platform": "web"
45
- }
46
- },
47
- "scripts": {
48
- "bundle": "tsdown",
49
- "watch": "tsdown --watch"
50
- },
51
- "license": "MIT",
52
- "peerDependencies": {
53
- "@deepseek-ai/dsh-client-locale": "workspace:^",
54
- "@deepseek-ai/dsh-client-runtime": "workspace:^",
55
- "@deepseek-ai/dsh-client-ui-layout": "workspace:^",
56
- "@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
57
- "@deepseek-ai/dsh-client-ui-sidebar": "workspace:^",
58
- "@deepseek-ai/dsh-client-ui-slots": "workspace:^",
59
- "@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
60
- "@deepseek-ai/dsh-invariants": "workspace:^",
61
- "@deepseek-ai/cordis": "workspace:^",
62
- "@deepseek-ai/schemastery": "workspace:^",
63
- "react": "^18.2.0"
64
- },
65
- "devDependencies": {
66
- "@deepseek-ai/dsh-client-locale": "workspace:^",
67
- "@deepseek-ai/dsh-client-runtime": "workspace:^",
68
- "@deepseek-ai/dsh-client-test-runtime": "workspace:^",
69
- "@deepseek-ai/dsh-client-ui-layout": "workspace:^",
70
- "@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
71
- "@deepseek-ai/dsh-client-ui-sidebar": "workspace:^",
72
- "@deepseek-ai/dsh-client-ui-slots": "workspace:^",
73
- "@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
74
- "@deepseek-ai/dsh-invariants": "workspace:^",
75
- "@testing-library/react": "^16.1.0",
76
- "@types/react": "~18.3.1",
77
- "@deepseek-ai/cordis": "workspace:^",
78
- "react": "^18.2.0",
79
- "react-dom": "^18.2.0"
80
- },
81
- "files": [
82
- "lib/index.js",
83
- "lib/invariant.js",
84
- "lib/client.js",
85
- "lib/types/**/*.d.ts",
86
- "cordis.patch.yml"
87
- ]
88
- }