@artenx/dshb 0.1.46 → 0.1.48

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 (40) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +22 -0
  3. package/lib/auth/reset-cli.js +0 -0
  4. package/lib/core/index.js +1 -1
  5. package/lib/core/routes.d.ts +1 -1
  6. package/lib/core/sync/coordinator.d.ts +5 -5
  7. package/lib/core/sync/coordinator.js +59 -10
  8. package/lib/core/sync/coordinator.js.map +1 -1
  9. package/lib/core/sync/host-key.d.ts +1 -1
  10. package/lib/core/sync/internal-routes.d.ts +3 -3
  11. package/lib/core/sync/internal-routes.js +1 -1
  12. package/lib/core/sync/model.d.ts +1 -1
  13. package/lib/core/sync/model.js.map +1 -1
  14. package/lib/core/sync/node-sync.d.ts +1 -1
  15. package/lib/core/sync/offline-archive.d.ts +4 -4
  16. package/lib/core/sync/offline-archive.js +1 -1
  17. package/lib/core/sync/offline-routes.js +1 -1
  18. package/lib/core/sync/peer-manager.d.ts +2 -2
  19. package/lib/core/sync/routes.d.ts +1 -1
  20. package/lib/core/sync/session-journal.d.ts +1 -1
  21. package/lib/core/sync/session-routes.d.ts +1 -1
  22. package/lib/core/sync/session-routes.js +1 -1
  23. package/lib/core/sync/session-sync.d.ts +2 -2
  24. package/lib/core/sync/session-sync.js +2 -2
  25. package/lib/core/sync/ssh-transport.d.ts +1 -1
  26. package/lib/core/sync/stores.d.ts +1 -1
  27. package/lib/core/sync/stores.js +4 -2
  28. package/lib/core/sync/stores.js.map +1 -1
  29. package/lib/core/workspaces.d.ts +1 -1
  30. package/lib/{host-key-ahUa0x1Z.d.ts → host-key-hIj6EY1x.d.ts} +2 -2
  31. package/lib/{model-CYwA2ha_.d.ts → model-ByASrkzO.d.ts} +3 -1
  32. package/lib/{node-sync-DwB1OJyx.d.ts → node-sync-Cv1Amudy.d.ts} +3 -3
  33. package/lib/{session-journal-D5Z-Fpy0.d.ts → session-journal-BnpGWLo2.d.ts} +2 -2
  34. package/lib/{session-sync-DL25qi0e.d.ts → session-sync-Bn5ZXU8H.d.ts} +9 -6
  35. package/lib/{session-sync-BV1CSYic.js → session-sync-Dwz4dp4U.js} +2 -2
  36. package/lib/session-sync-Dwz4dp4U.js.map +1 -0
  37. package/lib/{ssh-transport-D5X4YKg7.d.ts → ssh-transport-CcGpOVy5.d.ts} +5 -5
  38. package/lib/{stores-Cxjt9l2a.d.ts → stores-BfruQqD-.d.ts} +2 -2
  39. package/package.json +24 -24
  40. package/lib/session-sync-BV1CSYic.js.map +0 -1
@@ -1,9 +1,9 @@
1
- import { t as SyncCatalog, u as SyncPeer } from "./model-CYwA2ha_.js";
2
- import { i as SyncNodeManifest, t as SyncNodeApplyResult } from "./node-sync-DwB1OJyx.js";
1
+ import { t as SyncCatalog, u as SyncPeer } from "./model-ByASrkzO.js";
2
+ import { i as SyncNodeManifest, t as SyncNodeApplyResult } from "./node-sync-Cv1Amudy.js";
3
3
  import { SyncPeerManager, SyncPeerSecrets } from "./core/sync/peer-manager.js";
4
- import { r as SyncHostKeyChallenges, t as SyncHostKeyChallengeError } from "./host-key-ahUa0x1Z.js";
4
+ import { r as SyncHostKeyChallenges, t as SyncHostKeyChallengeError } from "./host-key-hIj6EY1x.js";
5
5
  import { f as SyncFrame } from "./protocol-DyPDIJWa.js";
6
- import { a as SyncSessionBundle, d as SyncSessionManifest, i as SyncSessionApplyResult, l as SyncSessionEventPrefix, p as SyncSessionObject } from "./session-sync-DL25qi0e.js";
6
+ import { a as SyncSessionBundle, d as SyncSessionManifest, i as SyncSessionApplyResult, l as SyncSessionEventPrefix, p as SyncSessionObject } from "./session-sync-Bn5ZXU8H.js";
7
7
  import { Client, ClientChannel, ConnectConfig } from "ssh2";
8
8
  //#region src/core/sync/ssh-transport.d.ts
9
9
  type SyncSshErrorCategory = 'auth' | 'network' | 'hostkey' | 'timeout' | 'helper' | 'protocol';
@@ -138,4 +138,4 @@ declare class SyncRemoteProbe {
138
138
  }
139
139
  //#endregion
140
140
  export { parseRemoteProbeOutput as _, SyncRemoteProbe as a, SyncRemoteProbeProfile as c, SyncSshErrorCategory as d, SyncSshProbeError as f, buildSyncSshConnectConfig as g, buildRemoteProbeScript as h, SyncRemoteNodeManifest as i, SyncRemoteProbeResult as l, SyncSshTransport as m, REMOTE_PROBE_END_MARKER as n, SyncRemoteProbeDraft as o, SyncSshSession as p, SyncRemoteHandshake as r, SyncRemoteProbeHandshake as s, REMOTE_PROBE_BEGIN_MARKER as t, SyncSessionDeltaPrefixError as u };
141
- //# sourceMappingURL=ssh-transport-D5X4YKg7.d.ts.map
141
+ //# sourceMappingURL=ssh-transport-CcGpOVy5.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { r as SyncRevision } from "./revision-C9sOlDZ6.js";
2
- import { d as SyncPeerDraft, u as SyncPeer, v as SyncState } from "./model-CYwA2ha_.js";
2
+ import { d as SyncPeerDraft, u as SyncPeer, v as SyncState } from "./model-ByASrkzO.js";
3
3
  //#region src/core/sync/stores.d.ts
4
4
  declare function getOrCreateSyncInstanceId(home?: string): string;
5
5
  declare class SyncPeerStore {
@@ -28,4 +28,4 @@ declare class SyncStateStore {
28
28
  }
29
29
  //#endregion
30
30
  export { SyncStateStore as n, getOrCreateSyncInstanceId as r, SyncPeerStore as t };
31
- //# sourceMappingURL=stores-Cxjt9l2a.d.ts.map
31
+ //# sourceMappingURL=stores-BfruQqD-.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artenx/dshb",
3
- "version": "0.1.46",
3
+ "version": "0.1.48",
4
4
  "description": "让 DSH 变成随时可用的多设备 Agent 工作台,支持将远程节点添加到本地 DSH,并像操作本地内容一样访问远程节点,包括会话环境、文件目录、终端等。支持在安装了本插件的多个 DSH 实例间同步数据。若部署在云服务器,Web 端访问支持登录认证。真正实现远程节点本地化操作。最新版本已支持 DSH 桌面端。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -101,36 +101,32 @@
101
101
  ]
102
102
  },
103
103
  "compatibility": {
104
- "dshReleases": ">=0.1.7-rc.1 <0.2.2-rc.1",
104
+ "dshReleases": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
105
105
  "nodeVersions": ">=22.13"
106
106
  }
107
107
  },
108
- "scripts": {
109
- "build": "tsdown",
110
- "typecheck": "tsc --noEmit"
111
- },
112
108
  "dependencies": {
113
109
  "commander": "^15.0.0",
114
110
  "ssh2": "^1.16.0"
115
111
  },
116
112
  "peerDependencies": {
117
113
  "@deepseek-ai/cordis": "^4.0.2",
118
- "@deepseek-ai/dsh-client-ui-settings": ">=0.1.7-rc.1 <0.2.1-rc.2",
119
- "@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-rc.1 <0.2.1-rc.2",
120
- "@deepseek-ai/dsh-client-ui-conversation": ">=0.1.7-rc.1 <0.2.1-rc.2",
121
- "@deepseek-ai/dsh-client-ui-layout": ">=0.1.7-rc.1 <0.2.1-rc.2",
122
- "@deepseek-ai/dsh-client-ui-workspace": ">=0.1.7-rc.1 <0.2.1-rc.2",
123
- "@deepseek-ai/dsh-cmdline": ">=0.1.7-rc.1 <0.2.1-rc.2",
124
- "@deepseek-ai/dsh-credentials": ">=0.1.7-rc.1 <0.2.1-rc.2",
125
- "@deepseek-ai/dsh-fs": ">=0.1.7-rc.1 <0.2.1-rc.2",
126
- "@deepseek-ai/dsh-fs-sandbox": ">=0.1.7-rc.1 <0.2.1-rc.2",
127
- "@deepseek-ai/dsh-host-directory-picker": ">=0.1.7-rc.1 <0.2.1-rc.2",
128
- "@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1 <0.2.1-rc.2",
129
- "@deepseek-ai/dsh-sandbox": ">=0.1.7-rc.1 <0.2.1-rc.2",
130
- "@deepseek-ai/dsh-shell": ">=0.1.7-rc.1 <0.2.1-rc.2",
131
- "@deepseek-ai/dsh-bash-sandbox": ">=0.1.7-rc.1 <0.2.1-rc.2",
132
- "@deepseek-ai/dsh-subprocess": ">=0.1.7-rc.1 <0.2.1-rc.2",
133
- "@deepseek-ai/dsh-subprocess-local": ">=0.1.7-rc.1 <0.2.1-rc.2",
114
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
115
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
116
+ "@deepseek-ai/dsh-client-ui-conversation": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
117
+ "@deepseek-ai/dsh-client-ui-layout": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
118
+ "@deepseek-ai/dsh-client-ui-workspace": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
119
+ "@deepseek-ai/dsh-cmdline": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
120
+ "@deepseek-ai/dsh-credentials": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
121
+ "@deepseek-ai/dsh-fs": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
122
+ "@deepseek-ai/dsh-fs-sandbox": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
123
+ "@deepseek-ai/dsh-host-directory-picker": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
124
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
125
+ "@deepseek-ai/dsh-sandbox": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
126
+ "@deepseek-ai/dsh-shell": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
127
+ "@deepseek-ai/dsh-bash-sandbox": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
128
+ "@deepseek-ai/dsh-subprocess": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
129
+ "@deepseek-ai/dsh-subprocess-local": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3",
134
130
  "react": "^19.0.0"
135
131
  },
136
132
  "devDependencies": {
@@ -159,7 +155,7 @@
159
155
  },
160
156
  "engines": {
161
157
  "node": ">=22.13",
162
- "dsh": ">=0.1.7-rc.1 <0.2.2-rc.1"
158
+ "dsh": ">=0.1.7-rc.1 <0.2.1-rc.2 || >=0.2.1-rc.2 <0.2.2-rc.0 || >=0.2.2-rc.1 <0.2.3"
163
159
  },
164
160
  "sideEffects": false,
165
161
  "keywords": [
@@ -184,5 +180,9 @@
184
180
  },
185
181
  "bin": {
186
182
  "dshb-auth-reset": "./lib/auth/reset-cli.js"
183
+ },
184
+ "scripts": {
185
+ "build": "tsdown",
186
+ "typecheck": "tsc --noEmit"
187
187
  }
188
- }
188
+ }