@artenx/dshb 0.1.43 → 0.1.45

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.
@@ -1,4 +1,4 @@
1
- import { u as SyncPeer } from "./model-qtM3rcyA.js";
1
+ import { u as SyncPeer } from "./model-CYwA2ha_.js";
2
2
  //#region src/core/sync/host-key.d.ts
3
3
  type SyncHostKeyDecision = 'trusted' | 'untrusted' | 'changed';
4
4
  declare class SyncHostKeyChallengeError extends Error {
@@ -27,4 +27,4 @@ declare class SyncHostKeyChallenges {
27
27
  }
28
28
  //#endregion
29
29
  export { inspectSyncHostKey as a, SyncHostKeyDecision as i, SyncHostKeyChallengeExpiredError as n, isOpenSshFingerprint as o, SyncHostKeyChallenges as r, opensshFingerprintFromSha256Hex as s, SyncHostKeyChallengeError as t };
30
- //# sourceMappingURL=host-key-DeHqgO7s.d.ts.map
30
+ //# sourceMappingURL=host-key-ahUa0x1Z.d.ts.map
@@ -20,10 +20,12 @@ interface SyncPeer {
20
20
  remoteDshHome?: string;
21
21
  remoteProfile?: string;
22
22
  remoteWebPort?: number;
23
+ /** 已取消的方向逻辑;读取旧数据时恒为 'bidirectional'。 */
23
24
  direction: SyncDirection;
25
+ /** 已取消的时机逻辑;读取旧数据时恒为 'manual'(同步仅由「立即同步」触发)。 */
24
26
  schedule: SyncSchedule;
25
27
  mode: SyncMode;
26
- /** 同步工作节点配置;仅元数据同步可关闭(全量会话同步依赖节点配置)。缺省 true。 */
28
+ /** 已废弃:工作节点配置恒同步;字段仅为兼容旧持久化数据保留。 */
27
29
  syncNodes?: boolean;
28
30
  syncSessions: boolean;
29
31
  selection?: SyncSelection;
@@ -167,4 +169,4 @@ declare function isRecord(value: unknown): value is Record<string, unknown>;
167
169
  declare function isNonNegativeSafeInteger(value: unknown): value is number;
168
170
  //#endregion
169
171
  export { parseSyncPeer as C, syncWorkspaceKey as D, syncRecordKey as E, isRecord as S, parseSyncSelection as T, SyncSessionArchive as _, SyncDirection as a, SyncWorkspaceOrigin as b, SyncMode as c, SyncPeerDraft as d, SyncPeerProgress as f, SyncSelection as g, SyncSchedule as h, SyncCatalogWorkspace as i, SyncOrigin as l, SyncRecordMetadata as m, SyncCatalogNode as n, SyncEntityKind as o, SyncProvenance as p, SyncCatalogSession as r, SyncImportMethod as s, SyncCatalog as t, SyncPeer as u, SyncState as v, parseSyncPeerDraft as w, isNonNegativeSafeInteger as x, SyncWorkspaceMapping as y };
170
- //# sourceMappingURL=model-qtM3rcyA.d.ts.map
172
+ //# sourceMappingURL=model-CYwA2ha_.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { c as NodeSsh, o as NodeRegistry, r as NodeDocker, s as NodeSecrets } from "./node-registry-BTnnM5-k.js";
2
2
  import { r as WorkspaceBindingsStore } from "./workspace-bindings-CsB0TIJB.js";
3
- import { m as SyncRecordMetadata, s as SyncImportMethod } from "./model-qtM3rcyA.js";
4
- import { n as SyncStateStore } from "./stores-NzEbaGQ3.js";
3
+ import { m as SyncRecordMetadata, s as SyncImportMethod } from "./model-CYwA2ha_.js";
4
+ import { n as SyncStateStore } from "./stores-Cxjt9l2a.js";
5
5
  //#region src/core/sync/node-sync.d.ts
6
6
  interface SyncNodeProfile {
7
7
  name: string;
@@ -86,4 +86,4 @@ declare class SyncNodeService {
86
86
  }
87
87
  //#endregion
88
88
  export { SyncNodeManifestError as a, SyncNodeView as c, SyncNodeManifest as i, SyncNodeEntry as n, SyncNodeProfile as o, SyncNodeInUseError as r, SyncNodeService as s, SyncNodeApplyResult as t };
89
- //# sourceMappingURL=node-sync-CJZl2FCE.d.ts.map
89
+ //# sourceMappingURL=node-sync-DwB1OJyx.d.ts.map
@@ -1,4 +1,4 @@
1
- import { s as SyncImportMethod } from "./model-qtM3rcyA.js";
1
+ import { s as SyncImportMethod } from "./model-CYwA2ha_.js";
2
2
  //#region src/core/sync/session-journal.d.ts
3
3
  declare class SyncSessionJournalStore {
4
4
  private readonly home;
@@ -45,4 +45,4 @@ declare class SyncSessionJournalStore {
45
45
  }
46
46
  //#endregion
47
47
  export { SyncSessionJournalStore as t };
48
- //# sourceMappingURL=session-journal-BwrCnkk4.d.ts.map
48
+ //# sourceMappingURL=session-journal-D5Z-Fpy0.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { o as NodeRegistry } from "./node-registry-BTnnM5-k.js";
2
2
  import { r as WorkspaceBindingsStore } from "./workspace-bindings-CsB0TIJB.js";
3
3
  import { r as SyncRevision } from "./revision-C9sOlDZ6.js";
4
- import { _ as SyncSessionArchive, i as SyncCatalogWorkspace, l as SyncOrigin, m as SyncRecordMetadata, r as SyncCatalogSession, s as SyncImportMethod } from "./model-qtM3rcyA.js";
5
- import { n as SyncStateStore } from "./stores-NzEbaGQ3.js";
6
- import { s as SyncNodeService } from "./node-sync-CJZl2FCE.js";
4
+ import { _ as SyncSessionArchive, i as SyncCatalogWorkspace, l as SyncOrigin, m as SyncRecordMetadata, r as SyncCatalogSession, s as SyncImportMethod } from "./model-CYwA2ha_.js";
5
+ import { n as SyncStateStore } from "./stores-Cxjt9l2a.js";
6
+ import { s as SyncNodeService } from "./node-sync-DwB1OJyx.js";
7
7
  import { S as BrandedNumber, _ as FileAttachmentRef, a as SystemPromptUpdate, b as TypertResource, c as ToolSchema, d as Message, f as SystemMessage, g as ToolCallId, i as LlmFailure, l as AssistantMessage, m as UserMessage, n as LlmCallConfig, o as TokenUsage, p as ToolResultMessage, r as LlmCallConfigAdapterDefaults, s as ToolHistory, t as AssistantStreamRecord, u as DeveloperMessage, v as ImageAttachmentRef, x as Branded, y as TypertLookup } from "./index-VF8bcBeX.js";
8
8
  import { a as SessionInstructionSnapshotStore, s as WorkspaceInstructionStore } from "./workspace-instructions-C_ViytzA.js";
9
- import { t as SyncSessionJournalStore } from "./session-journal-BwrCnkk4.js";
9
+ import { t as SyncSessionJournalStore } from "./session-journal-D5Z-Fpy0.js";
10
10
  import { Context, Service } from "@deepseek-ai/cordis";
11
11
  //#region ../../node_modules/@deepseek-ai/dsh-scope/lib/types/index.d.ts
12
12
  declare const ScopedBrand: unique symbol;
@@ -1377,4 +1377,4 @@ declare class SyncSessionService {
1377
1377
  }
1378
1378
  //#endregion
1379
1379
  export { sessionEventListDigest as C, validateSyncSessionManifest as D, validateSyncSessionBundle as E, planSessionTransfers as S, validateObjectPayload as T, SyncSessionWorkspace as _, SyncSessionBundle as a, makeSyncSessionBundle as b, SyncSessionEventDelta as c, SyncSessionManifest as d, SyncSessionManifestEntry as f, SyncSessionTransferPlan as g, SyncSessionService as h, SyncSessionApplyResult as i, SyncSessionEventPrefix as l, SyncSessionObjectInbox as m, SyncObjectInboxWriter as n, SyncSessionEntry as o, SyncSessionObject as p, SyncSessionApplyOptions as r, SyncSessionError as s, ExportObjectCache as t, SyncSessionInstructionSnapshot as u, WorkspaceRegistryLike as v, syncSessionEntryKey as w, makeSyncSessionManifest as x, estimateJsonBytes as y };
1380
- //# sourceMappingURL=session-sync-Celc4x_B.d.ts.map
1380
+ //# sourceMappingURL=session-sync-DL25qi0e.d.ts.map
@@ -1,9 +1,9 @@
1
- import { t as SyncCatalog, u as SyncPeer } from "./model-qtM3rcyA.js";
2
- import { i as SyncNodeManifest, t as SyncNodeApplyResult } from "./node-sync-CJZl2FCE.js";
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";
3
3
  import { SyncPeerManager, SyncPeerSecrets } from "./core/sync/peer-manager.js";
4
- import { r as SyncHostKeyChallenges, t as SyncHostKeyChallengeError } from "./host-key-DeHqgO7s.js";
4
+ import { r as SyncHostKeyChallenges, t as SyncHostKeyChallengeError } from "./host-key-ahUa0x1Z.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-Celc4x_B.js";
6
+ import { a as SyncSessionBundle, d as SyncSessionManifest, i as SyncSessionApplyResult, l as SyncSessionEventPrefix, p as SyncSessionObject } from "./session-sync-DL25qi0e.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-DLXkPpxT.d.ts.map
141
+ //# sourceMappingURL=ssh-transport-D5X4YKg7.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-qtM3rcyA.js";
2
+ import { d as SyncPeerDraft, u as SyncPeer, v as SyncState } from "./model-CYwA2ha_.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-NzEbaGQ3.d.ts.map
31
+ //# sourceMappingURL=stores-Cxjt9l2a.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artenx/dshb",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "让 DSH 变成随时可用的多设备 Agent 工作台,支持将远程节点添加到本地 DSH,并像操作本地内容一样访问远程节点,包括会话环境、文件目录、终端等。支持在安装了本插件的多个 DSH 实例间同步数据。若部署在云服务器,Web 端访问支持登录认证。真正实现远程节点本地化操作。最新版本已支持 DSH 桌面端。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",