@ddtcorex/dsh-maestro-core 0.10.0
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/LICENSE +21 -0
- package/README.md +209 -0
- package/cordis.patch.yml +43 -0
- package/lib/bin.d.ts +2 -0
- package/lib/bin.js +3 -0
- package/lib/boot-guard.d.ts +33 -0
- package/lib/boot-guard.js +68 -0
- package/lib/boot-lock.d.ts +56 -0
- package/lib/boot-lock.js +155 -0
- package/lib/cli.d.ts +31 -0
- package/lib/cli.js +336 -0
- package/lib/client.js +2901 -0
- package/lib/config/index.d.ts +34 -0
- package/lib/config/index.js +62 -0
- package/lib/config/service.d.ts +18 -0
- package/lib/config/service.js +28 -0
- package/lib/config.d.ts +1 -0
- package/lib/config.js +19 -0
- package/lib/daemon-freshness.d.ts +48 -0
- package/lib/daemon-freshness.js +122 -0
- package/lib/debug-agent.d.ts +17 -0
- package/lib/debug-agent.js +144 -0
- package/lib/dsh-session.d.ts +26 -0
- package/lib/dsh-session.js +45 -0
- package/lib/guard/config.d.ts +82 -0
- package/lib/guard/config.js +211 -0
- package/lib/guard/decide.d.ts +30 -0
- package/lib/guard/decide.js +38 -0
- package/lib/guard/full-scan-tool.d.ts +6 -0
- package/lib/guard/full-scan-tool.js +65 -0
- package/lib/guard/index.d.ts +85 -0
- package/lib/guard/index.js +254 -0
- package/lib/guard/journal.d.ts +146 -0
- package/lib/guard/journal.js +398 -0
- package/lib/guard/migrate.d.ts +15 -0
- package/lib/guard/migrate.js +42 -0
- package/lib/guard/parse.d.ts +193 -0
- package/lib/guard/parse.js +1103 -0
- package/lib/guard/paths.d.ts +104 -0
- package/lib/guard/paths.js +254 -0
- package/lib/guard/permission-policy.d.ts +10 -0
- package/lib/guard/permission-policy.js +21 -0
- package/lib/guard/redact.d.ts +25 -0
- package/lib/guard/redact.js +52 -0
- package/lib/guard/rules.d.ts +65 -0
- package/lib/guard/rules.js +832 -0
- package/lib/guard/status-tool.d.ts +54 -0
- package/lib/guard/status-tool.js +195 -0
- package/lib/guard/tiers.d.ts +2 -0
- package/lib/guard/tiers.js +1 -0
- package/lib/guard/validators.d.ts +4 -0
- package/lib/guard/validators.js +45 -0
- package/lib/health-poller.d.ts +90 -0
- package/lib/health-poller.js +430 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +7 -0
- package/lib/intents.d.ts +32 -0
- package/lib/intents.js +49 -0
- package/lib/notifier.d.ts +12 -0
- package/lib/notifier.js +62 -0
- package/lib/paths.d.ts +13 -0
- package/lib/paths.js +70 -0
- package/lib/plugin.d.ts +250 -0
- package/lib/plugin.js +1126 -0
- package/lib/preset.d.ts +73 -0
- package/lib/preset.js +158 -0
- package/lib/report.d.ts +11 -0
- package/lib/report.js +58 -0
- package/lib/restart-exec.d.ts +35 -0
- package/lib/restart-exec.js +60 -0
- package/lib/restart-guards.d.ts +39 -0
- package/lib/restart-guards.js +150 -0
- package/lib/restart-tool.d.ts +124 -0
- package/lib/restart-tool.js +539 -0
- package/lib/restart-web.d.ts +26 -0
- package/lib/restart-web.js +58 -0
- package/lib/resume-log.d.ts +24 -0
- package/lib/resume-log.js +18 -0
- package/lib/resume-tools.d.ts +131 -0
- package/lib/resume-tools.js +337 -0
- package/lib/resume.d.ts +33 -0
- package/lib/resume.js +221 -0
- package/lib/scan.d.ts +20 -0
- package/lib/scan.js +71 -0
- package/lib/self-kill-guard.d.ts +81 -0
- package/lib/self-kill-guard.js +208 -0
- package/lib/session-health.d.ts +89 -0
- package/lib/session-health.js +274 -0
- package/lib/session-log-file.d.ts +22 -0
- package/lib/session-log-file.js +74 -0
- package/lib/skill-provider.d.ts +6 -0
- package/lib/skill-provider.js +73 -0
- package/lib/snapshot.d.ts +59 -0
- package/lib/snapshot.js +358 -0
- package/lib/source.d.ts +19 -0
- package/lib/source.js +19 -0
- package/lib/store/index.d.ts +42 -0
- package/lib/store/index.js +340 -0
- package/lib/store/legacy.d.ts +17 -0
- package/lib/store/legacy.js +85 -0
- package/lib/supervisor.d.ts +119 -0
- package/lib/supervisor.js +741 -0
- package/lib/sync/backup-config.d.ts +55 -0
- package/lib/sync/backup-config.js +119 -0
- package/lib/sync/backup-service.d.ts +110 -0
- package/lib/sync/backup-service.js +440 -0
- package/lib/sync/bidirectional.d.ts +39 -0
- package/lib/sync/bidirectional.js +25 -0
- package/lib/sync/cli.d.ts +38 -0
- package/lib/sync/cli.js +536 -0
- package/lib/sync/config.d.ts +77 -0
- package/lib/sync/config.js +90 -0
- package/lib/sync/fingerprint.d.ts +29 -0
- package/lib/sync/fingerprint.js +65 -0
- package/lib/sync/hashing.d.ts +9 -0
- package/lib/sync/hashing.js +47 -0
- package/lib/sync/index.d.ts +6 -0
- package/lib/sync/index.js +634 -0
- package/lib/sync/machine-id.d.ts +29 -0
- package/lib/sync/machine-id.js +66 -0
- package/lib/sync/merge.d.ts +33 -0
- package/lib/sync/merge.js +88 -0
- package/lib/sync/peer-host.d.ts +22 -0
- package/lib/sync/peer-host.js +62 -0
- package/lib/sync/process-runner.d.ts +31 -0
- package/lib/sync/process-runner.js +161 -0
- package/lib/sync/remote-agent.d.ts +42 -0
- package/lib/sync/remote-agent.js +217 -0
- package/lib/sync/remote-cache.d.ts +18 -0
- package/lib/sync/remote-cache.js +60 -0
- package/lib/sync/remote-manifest.d.ts +8 -0
- package/lib/sync/remote-manifest.js +64 -0
- package/lib/sync/s3-object-store.d.ts +38 -0
- package/lib/sync/s3-object-store.js +126 -0
- package/lib/sync/session-merge.d.ts +18 -0
- package/lib/sync/session-merge.js +191 -0
- package/lib/sync/session-plan.d.ts +29 -0
- package/lib/sync/session-plan.js +213 -0
- package/lib/sync/sigv4.d.ts +20 -0
- package/lib/sync/sigv4.js +57 -0
- package/lib/sync/snapshot.d.ts +21 -0
- package/lib/sync/snapshot.js +176 -0
- package/lib/sync/ssh-mux.d.ts +12 -0
- package/lib/sync/ssh-mux.js +48 -0
- package/lib/sync/sync-plan.d.ts +24 -0
- package/lib/sync/sync-plan.js +366 -0
- package/lib/sync/sync-service.d.ts +177 -0
- package/lib/sync/sync-service.js +819 -0
- package/lib/sync/sync-types.d.ts +87 -0
- package/lib/sync/sync-types.js +1 -0
- package/lib/sync/transport.d.ts +75 -0
- package/lib/sync/transport.js +200 -0
- package/lib/sync/tunnel-restore.d.ts +77 -0
- package/lib/sync/tunnel-restore.js +142 -0
- package/lib/sync/validation.d.ts +10 -0
- package/lib/sync/validation.js +83 -0
- package/lib/tool-view.d.ts +62 -0
- package/lib/tool-view.js +70 -0
- package/lib/types/client/auto-reload.d.ts +8 -0
- package/lib/types/client/auto-reload.d.ts.map +1 -0
- package/lib/types/client/config/MaestroSettings.d.ts +25 -0
- package/lib/types/client/config/MaestroSettings.d.ts.map +1 -0
- package/lib/types/client/config/components/BrandMark.d.ts +50 -0
- package/lib/types/client/config/components/BrandMark.d.ts.map +1 -0
- package/lib/types/client/config/guard-view.d.ts +83 -0
- package/lib/types/client/config/guard-view.d.ts.map +1 -0
- package/lib/types/client/config/index.d.ts +20 -0
- package/lib/types/client/config/index.d.ts.map +1 -0
- package/lib/types/client/config/maestro-mark.d.ts +29 -0
- package/lib/types/client/config/maestro-mark.d.ts.map +1 -0
- package/lib/types/client/config/settings-nav-icon.d.ts +21 -0
- package/lib/types/client/config/settings-nav-icon.d.ts.map +1 -0
- package/lib/types/client/index.d.ts +16 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/sync/R2SyncPanel.d.ts +6 -0
- package/lib/types/client/sync/R2SyncPanel.d.ts.map +1 -0
- package/lib/types/client/sync/SyncPanel.d.ts +12 -0
- package/lib/types/client/sync/SyncPanel.d.ts.map +1 -0
- package/lib/types/client/sync/confirm-dialog.d.ts +43 -0
- package/lib/types/client/sync/confirm-dialog.d.ts.map +1 -0
- package/lib/types/client/sync/index.d.ts +10 -0
- package/lib/types/client/sync/index.d.ts.map +1 -0
- package/lib/types/client/sync/ui.d.ts +79 -0
- package/lib/types/client/sync/ui.d.ts.map +1 -0
- package/lib/types/client/sync/use-backup.d.ts +50 -0
- package/lib/types/client/sync/use-backup.d.ts.map +1 -0
- package/lib/types/client/sync/use-sync.d.ts +88 -0
- package/lib/types/client/sync/use-sync.d.ts.map +1 -0
- package/package.json +89 -0
- package/skills/dsh-safe-restart/SKILL.md +206 -0
- package/skills/dsh-safe-restart/scripts/restart-dsh-web.sh +468 -0
- package/src/client/auto-reload.ts +104 -0
- package/src/client/config/MaestroSettings.tsx +892 -0
- package/src/client/config/components/BrandMark.tsx +94 -0
- package/src/client/config/guard-view.ts +187 -0
- package/src/client/config/index.tsx +109 -0
- package/src/client/config/maestro-mark.ts +37 -0
- package/src/client/config/settings-nav-icon.ts +68 -0
- package/src/client/index.tsx +33 -0
- package/src/client/sync/R2SyncPanel.tsx +260 -0
- package/src/client/sync/SyncPanel.tsx +422 -0
- package/src/client/sync/confirm-dialog.tsx +202 -0
- package/src/client/sync/index.tsx +336 -0
- package/src/client/sync/ui.tsx +313 -0
- package/src/client/sync/use-backup.ts +207 -0
- package/src/client/sync/use-sync.ts +502 -0
- package/src/host/bin.ts +3 -0
- package/src/host/boot-guard.ts +76 -0
- package/src/host/boot-lock.ts +155 -0
- package/src/host/cli.ts +288 -0
- package/src/host/config/index.ts +78 -0
- package/src/host/config/service.ts +40 -0
- package/src/host/config.ts +18 -0
- package/src/host/daemon-freshness.ts +143 -0
- package/src/host/debug-agent.ts +145 -0
- package/src/host/dsh-session.ts +56 -0
- package/src/host/dsh-skill.d.ts +44 -0
- package/src/host/guard/augment.d.ts +33 -0
- package/src/host/guard/config.ts +244 -0
- package/src/host/guard/decide.ts +40 -0
- package/src/host/guard/full-scan-tool.ts +61 -0
- package/src/host/guard/index.ts +281 -0
- package/src/host/guard/journal.ts +440 -0
- package/src/host/guard/migrate.ts +41 -0
- package/src/host/guard/parse.ts +1150 -0
- package/src/host/guard/paths.ts +239 -0
- package/src/host/guard/permission-policy.ts +15 -0
- package/src/host/guard/redact.ts +64 -0
- package/src/host/guard/rules.ts +891 -0
- package/src/host/guard/status-tool.ts +229 -0
- package/src/host/guard/tiers.ts +2 -0
- package/src/host/guard/validators.ts +29 -0
- package/src/host/health-poller.ts +446 -0
- package/src/host/index.ts +7 -0
- package/src/host/intents.ts +67 -0
- package/src/host/notifier.ts +71 -0
- package/src/host/paths.ts +70 -0
- package/src/host/plugin.ts +1097 -0
- package/src/host/preset.ts +170 -0
- package/src/host/report.ts +71 -0
- package/src/host/restart-exec.ts +81 -0
- package/src/host/restart-guards.ts +150 -0
- package/src/host/restart-tool.ts +483 -0
- package/src/host/restart-web.ts +72 -0
- package/src/host/resume-log.ts +39 -0
- package/src/host/resume-tools.ts +385 -0
- package/src/host/resume.ts +204 -0
- package/src/host/scan.ts +61 -0
- package/src/host/self-kill-guard.ts +216 -0
- package/src/host/session-health.ts +236 -0
- package/src/host/session-log-file.ts +77 -0
- package/src/host/skill-provider.ts +69 -0
- package/src/host/snapshot.ts +337 -0
- package/src/host/source.ts +19 -0
- package/src/host/store/index.ts +348 -0
- package/src/host/store/legacy.ts +96 -0
- package/src/host/supervisor.ts +720 -0
- package/src/host/sync/backup-config.ts +159 -0
- package/src/host/sync/backup-service.ts +453 -0
- package/src/host/sync/bidirectional.ts +66 -0
- package/src/host/sync/cli.ts +539 -0
- package/src/host/sync/config.ts +119 -0
- package/src/host/sync/fingerprint.ts +83 -0
- package/src/host/sync/hashing.ts +58 -0
- package/src/host/sync/index.ts +737 -0
- package/src/host/sync/machine-id.ts +81 -0
- package/src/host/sync/merge.ts +102 -0
- package/src/host/sync/peer-host.ts +65 -0
- package/src/host/sync/process-runner.ts +177 -0
- package/src/host/sync/remote-agent.ts +213 -0
- package/src/host/sync/remote-cache.ts +68 -0
- package/src/host/sync/remote-manifest.ts +70 -0
- package/src/host/sync/s3-object-store.ts +144 -0
- package/src/host/sync/session-merge.ts +220 -0
- package/src/host/sync/session-plan.ts +237 -0
- package/src/host/sync/sigv4.ts +81 -0
- package/src/host/sync/snapshot.ts +162 -0
- package/src/host/sync/ssh-mux.ts +56 -0
- package/src/host/sync/sync-plan.ts +366 -0
- package/src/host/sync/sync-service.ts +855 -0
- package/src/host/sync/sync-types.ts +102 -0
- package/src/host/sync/transport.ts +261 -0
- package/src/host/sync/tunnel-restore.ts +160 -0
- package/src/host/sync/validation.ts +91 -0
- package/src/host/tool-view.ts +98 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { RemoteTarget, SyncDirection, SyncPreview, SyncSummary, SyncFailure, SyncProgress, SyncScope } from './sync-types.js';
|
|
2
|
+
import { type ProcessRunner } from './process-runner.js';
|
|
3
|
+
import { type SyncTransport } from './transport.js';
|
|
4
|
+
export interface PreviewRequest {
|
|
5
|
+
direction: SyncDirection;
|
|
6
|
+
scope?: SyncScope;
|
|
7
|
+
}
|
|
8
|
+
export interface ApplyRequest {
|
|
9
|
+
previewId: string;
|
|
10
|
+
direction: SyncDirection;
|
|
11
|
+
confirm: true;
|
|
12
|
+
scope?: SyncScope;
|
|
13
|
+
}
|
|
14
|
+
export interface ApplyResult {
|
|
15
|
+
ok: boolean;
|
|
16
|
+
revision: string;
|
|
17
|
+
summary: SyncSummary;
|
|
18
|
+
committed: string[];
|
|
19
|
+
failures: SyncFailure[];
|
|
20
|
+
}
|
|
21
|
+
export interface ConnectionStatus {
|
|
22
|
+
ok: boolean;
|
|
23
|
+
host: string;
|
|
24
|
+
latencyMs?: number;
|
|
25
|
+
error?: string;
|
|
26
|
+
}
|
|
27
|
+
/** Legacy status shape — counts never imply same path means same content. */
|
|
28
|
+
export interface StatusResult {
|
|
29
|
+
localOnly: number;
|
|
30
|
+
remoteOnly: number;
|
|
31
|
+
both: number;
|
|
32
|
+
localOnlyFiles: string[];
|
|
33
|
+
remoteOnlyFiles: string[];
|
|
34
|
+
bothFiles: string[];
|
|
35
|
+
connection: ConnectionStatus;
|
|
36
|
+
remoteHost: string;
|
|
37
|
+
}
|
|
38
|
+
/** Cursor-paged status page for bounded RPC payloads (< 64 KiB). */
|
|
39
|
+
export interface StatusPage {
|
|
40
|
+
total: number;
|
|
41
|
+
offset: number;
|
|
42
|
+
limit: number;
|
|
43
|
+
files: string[];
|
|
44
|
+
nextCursor: number | null;
|
|
45
|
+
connection: ConnectionStatus;
|
|
46
|
+
remoteHost: string;
|
|
47
|
+
}
|
|
48
|
+
export interface PullResult {
|
|
49
|
+
copied: number;
|
|
50
|
+
merged: number;
|
|
51
|
+
added: number;
|
|
52
|
+
conflicts: number;
|
|
53
|
+
}
|
|
54
|
+
export interface PushResult {
|
|
55
|
+
copied: number;
|
|
56
|
+
merged: number;
|
|
57
|
+
added: number;
|
|
58
|
+
conflicts: number;
|
|
59
|
+
}
|
|
60
|
+
export interface PreviewResult extends SyncPreview {
|
|
61
|
+
connection: ConnectionStatus;
|
|
62
|
+
remoteHost: string;
|
|
63
|
+
}
|
|
64
|
+
export interface SyncServiceOpts {
|
|
65
|
+
localDsh?: string;
|
|
66
|
+
remote?: string;
|
|
67
|
+
remoteDsh?: string;
|
|
68
|
+
previewDir?: string;
|
|
69
|
+
cacheDir?: string;
|
|
70
|
+
fs?: any;
|
|
71
|
+
runner?: ProcessRunner;
|
|
72
|
+
transport?: SyncTransport;
|
|
73
|
+
}
|
|
74
|
+
export declare class SyncService {
|
|
75
|
+
localDsh: string;
|
|
76
|
+
remote: string;
|
|
77
|
+
remoteDsh: string;
|
|
78
|
+
previewDir: string;
|
|
79
|
+
cacheDir: string;
|
|
80
|
+
fs: any;
|
|
81
|
+
runner: ProcessRunner;
|
|
82
|
+
transport: SyncTransport;
|
|
83
|
+
constructor(opts?: SyncServiceOpts);
|
|
84
|
+
/**
|
|
85
|
+
* Resolve + validate the remote target. A `~/.dsh` placeholder is resolved by
|
|
86
|
+
* the transport preflight (remote $HOME bytes) — never by local shell ~ expansion.
|
|
87
|
+
*/
|
|
88
|
+
resolveTarget(): Promise<RemoteTarget>;
|
|
89
|
+
private requireTarget;
|
|
90
|
+
checkConnection(): Promise<ConnectionStatus>;
|
|
91
|
+
private requireConnection;
|
|
92
|
+
/**
|
|
93
|
+
* Local eligible files (dsh-maestro-memory/*.md, dsh-maestro-memory/SUGGESTIONS.jsonl,
|
|
94
|
+
* sessions/<cwd-hash>/<id>/session.jsonl.zstd) as relative paths, sorted.
|
|
95
|
+
* Only content that matches the eligible contract is ever read or hashed.
|
|
96
|
+
*/
|
|
97
|
+
listLocalFiles(): string[];
|
|
98
|
+
/**
|
|
99
|
+
* Snapshot both sides with the manifest-first pipeline:
|
|
100
|
+
* - remote: ONE `transport.manifest` pass (path/sha256/size; NUL-framed,
|
|
101
|
+
* validated). No `list`+`rsync -rcn`+`hashes`, and identical sessions are
|
|
102
|
+
* counted from the manifest without byte transfer.
|
|
103
|
+
* - local: the fingerprint cache (dev+ino+size+mtimeNs+ctimeNs) supplies
|
|
104
|
+
* known SHA-256 values without re-reading files; only cache misses are
|
|
105
|
+
* stream-hashed. Content is loaded lazily for exactly the files a plan or
|
|
106
|
+
* merge needs — identical files are never read into memory.
|
|
107
|
+
* The cache is a pure speed hint: every file apply will WRITE is re-read and
|
|
108
|
+
* re-hashed at write time (see apply), so a stale cache can never publish a
|
|
109
|
+
* wrong mutation target.
|
|
110
|
+
*/
|
|
111
|
+
private snapshotBoth;
|
|
112
|
+
/**
|
|
113
|
+
* Read-only preview: exact plan with copy/merge/skip/conflict and real added
|
|
114
|
+
* counts — except sessions under `sessionsCountOnly`, which are counted by
|
|
115
|
+
* path+checksum (added/updated/deleted/identical) without staging content.
|
|
116
|
+
* `onProgress` receives per-phase ticks (hashing emits one per session file).
|
|
117
|
+
* No preview path may copy, backup, restore or publish.
|
|
118
|
+
*/
|
|
119
|
+
/**
|
|
120
|
+
* Wrap a multi-spawn operation in one SSH ControlMaster link (Task 6 + follow-up).
|
|
121
|
+
* Fail-open: if the master cannot start (MUX_FAILED) or the transport does not
|
|
122
|
+
* support mux (fakes, rehearsal), run unmuxed — a link optimization, never a
|
|
123
|
+
* correctness requirement. Preview stays read-only; the mux teardown runs in
|
|
124
|
+
* finally.
|
|
125
|
+
*/
|
|
126
|
+
private withMux;
|
|
127
|
+
preview(opts: {
|
|
128
|
+
direction: SyncDirection;
|
|
129
|
+
scope?: SyncScope;
|
|
130
|
+
sessionsCountOnly?: boolean;
|
|
131
|
+
onProgress?: (p: SyncProgress) => void;
|
|
132
|
+
shouldStop?: () => boolean;
|
|
133
|
+
}): Promise<PreviewResult>;
|
|
134
|
+
private previewInner;
|
|
135
|
+
private assertApplyRequest;
|
|
136
|
+
/** Merge dispatcher — bytes stay bytes for zstd; md/jsonl use deterministic unions. */
|
|
137
|
+
private mergeBuffer;
|
|
138
|
+
private atomicWriteWithBackup;
|
|
139
|
+
/**
|
|
140
|
+
* Apply a previously generated preview (the only mutation route).
|
|
141
|
+
* Re-inventories both sides and applies the FRESHEST plan — DSH homes change
|
|
142
|
+
* continuously (session logs are appended every turn), so a byte-for-byte
|
|
143
|
+
* inventory comparison would reject nearly every live apply (STALE_PREVIEW).
|
|
144
|
+
* Safety stays fail-closed without it: each file publish carries the
|
|
145
|
+
* expected target sha (CAS) and a preview is single-use, so a concurrent
|
|
146
|
+
* modification during the write is still rejected and nothing is overwritten
|
|
147
|
+
* silently. Pull publishes atomically per local file; push materializes,
|
|
148
|
+
* uploads and commits through the remote CAS helper.
|
|
149
|
+
*/
|
|
150
|
+
apply(req: ApplyRequest): Promise<ApplyResult>;
|
|
151
|
+
private applyInner;
|
|
152
|
+
/** Deprecated: preview-only alias. `dryRun` is ignored; nothing is ever applied here. */
|
|
153
|
+
pull(_opts?: {
|
|
154
|
+
dryRun?: boolean;
|
|
155
|
+
}): Promise<PullResult>;
|
|
156
|
+
/** Deprecated: preview-only alias. `dryRun` is ignored; nothing is ever applied here. */
|
|
157
|
+
push(_opts?: {
|
|
158
|
+
dryRun?: boolean;
|
|
159
|
+
}): Promise<PushResult>;
|
|
160
|
+
private manifestMemo;
|
|
161
|
+
private statusManifest;
|
|
162
|
+
/** Local eligible paths with their sha256 (fingerprint cache fast-path; stale files stream-hashed). */
|
|
163
|
+
private localSnapshotsWithHashes;
|
|
164
|
+
status(): Promise<StatusResult>;
|
|
165
|
+
/**
|
|
166
|
+
* Cursor-paged status page — bounded output.
|
|
167
|
+
* Buckets are ACTION-based (like preview): `remoteOnly` lists every file a
|
|
168
|
+
* pull would bring in (remote-only paths + both-side content differences),
|
|
169
|
+
* `localOnly` lists what a push would send (local-only paths + content
|
|
170
|
+
* differences). One manifest + one local stat/hash pass; no rsync compare.
|
|
171
|
+
*/
|
|
172
|
+
statusPage(opts?: {
|
|
173
|
+
bucket?: string;
|
|
174
|
+
cursor?: number;
|
|
175
|
+
limit?: number;
|
|
176
|
+
}): Promise<StatusPage>;
|
|
177
|
+
}
|