@aivin-labs/cli 1.0.5 → 1.0.8
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.md +263 -216
- package/bin/cli.mjs +1780 -1366
- package/bin/lib/browserAutomation.mjs +655 -648
- package/bin/lib/browserTui.mjs +276 -251
- package/bin/lib/cancellation.mjs +61 -0
- package/bin/lib/mcpProxy.mjs +869 -837
- package/bin/lib/missionStream.mjs +696 -691
- package/bin/lib/releaseKeys.mjs +9 -0
- package/bin/lib/remote/activityLog.mjs +68 -0
- package/bin/lib/remote/autoStart.mjs +457 -0
- package/bin/lib/remote/autoUpdate.mjs +129 -0
- package/bin/lib/remote/brand.mjs +60 -0
- package/bin/lib/remote/browserTunnel.mjs +292 -0
- package/bin/lib/remote/callLedger.mjs +134 -0
- package/bin/lib/remote/cdpPolicy.mjs +66 -0
- package/bin/lib/remote/client.mjs +726 -0
- package/bin/lib/remote/constants.mjs +173 -0
- package/bin/lib/remote/credentials.mjs +208 -0
- package/bin/lib/remote/daemonLock.mjs +86 -0
- package/bin/lib/remote/dailyBrowser.mjs +371 -0
- package/bin/lib/remote/deviceMemory.mjs +246 -0
- package/bin/lib/remote/deviceProfile.mjs +142 -0
- package/bin/lib/remote/deviceWatches.mjs +138 -0
- package/bin/lib/remote/docText.mjs +117 -0
- package/bin/lib/remote/fileIndexer.mjs +399 -0
- package/bin/lib/remote/gui/index.mjs +245 -0
- package/bin/lib/remote/gui/officeHostSource.mjs +393 -0
- package/bin/lib/remote/gui/windowsHost.mjs +109 -0
- package/bin/lib/remote/gui/windowsHostSource.mjs +904 -0
- package/bin/lib/remote/httpTransfer.mjs +89 -0
- package/bin/lib/remote/idempotency.mjs +135 -0
- package/bin/lib/remote/keepAwake.mjs +100 -0
- package/bin/lib/remote/localConfirm.mjs +268 -0
- package/bin/lib/remote/localPolicy.mjs +249 -0
- package/bin/lib/remote/mascot/assets.mjs +218 -0
- package/bin/lib/remote/mascot/hostSource.mjs +362 -0
- package/bin/lib/remote/mascot/index.mjs +322 -0
- package/bin/lib/remote/mascot/labels.mjs +83 -0
- package/bin/lib/remote/mascot/strings.mjs +189 -0
- package/bin/lib/remote/memberFsPool.mjs +134 -0
- package/bin/lib/remote/memberFsWorker.mjs +60 -0
- package/bin/lib/remote/mission.mjs +156 -0
- package/bin/lib/remote/missionQuestion.mjs +63 -0
- package/bin/lib/remote/multiUser.mjs +344 -0
- package/bin/lib/remote/netProxy.mjs +145 -0
- package/bin/lib/remote/notify.mjs +58 -0
- package/bin/lib/remote/office/index.mjs +90 -0
- package/bin/lib/remote/policyCommand.mjs +93 -0
- package/bin/lib/remote/processes.mjs +217 -0
- package/bin/lib/remote/sandbox.mjs +221 -0
- package/bin/lib/remote/schedule.mjs +213 -0
- package/bin/lib/remote/scheduler.mjs +124 -0
- package/bin/lib/remote/textIndex.mjs +131 -0
- package/bin/lib/remote/tokenStore.mjs +77 -0
- package/bin/lib/remote/toolHandlers.mjs +726 -0
- package/bin/lib/remote/undoStore.mjs +242 -0
- package/bin/lib/remoteControl.mjs +26 -0
- package/bin/lib/scaffold.mjs +654 -653
- package/bin/lib/selfUpdate.mjs +71 -0
- package/bin/lib/update/binarySwap.mjs +63 -0
- package/bin/lib/update/constants.mjs +56 -0
- package/bin/lib/update/download.mjs +145 -0
- package/bin/lib/update/signature.mjs +42 -0
- package/bin/lib/update/state.mjs +205 -0
- package/bin/lib/update/versions.mjs +60 -0
- package/docs/CLI.md +1353 -1299
- package/package.json +71 -62
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { DeviceErrorCode, REMOTE_CONFIG_DIR } from './constants.mjs';
|
|
4
|
+
import { DeviceToolError, resolveEntryInRoots } from './sandbox.mjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Kho hoàn tác trên máy (28/10/2026): mọi thao tác làm mất dữ liệu của AI đều lấy lại được. Xoá → chuyển vào thùng rác của kho (không xoá
|
|
8
|
+
* thật); ghi đè / sửa → lưu bản cũ; chuyển / tạo → ghi lại để trả về. Nhật ký theo NHÓM (BE gắn `undo_group` = một nhiệm vụ) → "hoàn tác"
|
|
9
|
+
* trả cả nhóm về như trước, theo thứ tự ngược.
|
|
10
|
+
*
|
|
11
|
+
* Kho nằm trong thư mục cấu hình Aivin (`~/.aivin/undo`) — vùng bảo vệ, AI không đọc / sửa / xoá được qua công cụ nào. Tự dọn: nhóm cũ
|
|
12
|
+
* hơn `retentionDays`, tổng dung lượng quá `maxBytes` thì bỏ nhóm cũ nhất. Không người dùng nào phải cấu hình gì.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
const DAY_MS = 86_400_000;
|
|
16
|
+
const GROUP_RE = /[^A-Za-z0-9_-]/g;
|
|
17
|
+
const CLEANUP_EVERY_MS = 6 * 3600_000;
|
|
18
|
+
|
|
19
|
+
export const UndoItem = Object.freeze({
|
|
20
|
+
/** Ghi đè / sửa tệp: bản cũ ở `backup`. */
|
|
21
|
+
RESTORE: 'restore',
|
|
22
|
+
/** Chuyển / đổi tên `from` → `to`. */
|
|
23
|
+
UNMOVE: 'unmove',
|
|
24
|
+
/** Xoá: nằm ở `trashed`. */
|
|
25
|
+
UNTRASH: 'untrash',
|
|
26
|
+
/** Tạo mới `path`. */
|
|
27
|
+
UNCREATE: 'uncreate',
|
|
28
|
+
/** Thư mục AI tạo ra (khi chuyển / ghi vào chỗ chưa có) — hoàn tác thì bỏ nếu còn rỗng. */
|
|
29
|
+
UNCREATE_DIR: 'uncreate_dir',
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
const safeGroup = (g) => String(g || '').replace(GROUP_RE, '').slice(0, 48) || `manual-${new Date().toISOString().slice(0, 10)}`;
|
|
33
|
+
|
|
34
|
+
async function exists(p) {
|
|
35
|
+
return !!(await fs.promises.lstat(p).catch(() => null));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Dung lượng + số tệp của một đường (đệ quy, dừng ở `limit` mục). */
|
|
39
|
+
export async function measurePath(abs, limit = 100_000) {
|
|
40
|
+
const out = { files: 0, dirs: 0, bytes: 0, truncated: false };
|
|
41
|
+
const stack = [abs];
|
|
42
|
+
while (stack.length) {
|
|
43
|
+
if (out.files + out.dirs >= limit) { out.truncated = true; break; }
|
|
44
|
+
const p = stack.pop();
|
|
45
|
+
const st = await fs.promises.lstat(p).catch(() => null);
|
|
46
|
+
if (!st) continue;
|
|
47
|
+
if (st.isDirectory()) {
|
|
48
|
+
out.dirs++;
|
|
49
|
+
const names = await fs.promises.readdir(p).catch(() => []);
|
|
50
|
+
for (const n of names) stack.push(path.join(p, n));
|
|
51
|
+
} else {
|
|
52
|
+
out.files++;
|
|
53
|
+
out.bytes += st.size;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return out;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** Chuyển `src` → `dst`: đổi tên (cùng ổ, tức thì); khác ổ thì chép rồi xoá bản gốc. */
|
|
60
|
+
async function relocate(src, dst) {
|
|
61
|
+
await fs.promises.mkdir(path.dirname(dst), { recursive: true });
|
|
62
|
+
try {
|
|
63
|
+
await fs.promises.rename(src, dst);
|
|
64
|
+
} catch (e) {
|
|
65
|
+
if (e.code !== 'EXDEV') throw e;
|
|
66
|
+
await fs.promises.cp(src, dst, { recursive: true, preserveTimestamps: true, verbatimSymlinks: true });
|
|
67
|
+
await fs.promises.rm(src, { recursive: true, force: true });
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function createUndoStore({
|
|
72
|
+
dir = path.join(REMOTE_CONFIG_DIR, 'undo'), retentionDays = 14, maxBytes = 10 * 1024 ** 3, maxBackupBytes = 512 * 1024 ** 2,
|
|
73
|
+
} = {}) {
|
|
74
|
+
const journal = path.join(dir, 'journal.jsonl');
|
|
75
|
+
/** Kiểu hoàn tác tuỳ chỉnh (lịch chạy…) — module sở hữu đăng ký cách trả về như trước. */
|
|
76
|
+
const handlers = new Map();
|
|
77
|
+
let seq = 0;
|
|
78
|
+
let cleanupTimer = null;
|
|
79
|
+
|
|
80
|
+
const groupDir = (group) => path.join(dir, 'store', safeGroup(group));
|
|
81
|
+
const slot = (group, abs) => path.join(groupDir(group), `${Date.now().toString(36)}-${(seq++).toString(36)}-${path.basename(abs)}`);
|
|
82
|
+
|
|
83
|
+
function append(record) {
|
|
84
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
85
|
+
fs.appendFileSync(journal, `${JSON.stringify(record)}\n`);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function readJournal() {
|
|
89
|
+
try {
|
|
90
|
+
return fs.readFileSync(journal, 'utf8').split('\n').filter(Boolean).map((l) => { try { return JSON.parse(l); } catch { return null; } }).filter(Boolean);
|
|
91
|
+
} catch {
|
|
92
|
+
return [];
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** Ghi lại một thao tác của nhóm. Gọi các hàm lưu TRƯỚC khi đổi tệp; `commit` sau khi đổi xong (lỗi giữa chừng thì phần đã lưu vẫn ghi). */
|
|
97
|
+
function begin(group, op) {
|
|
98
|
+
const items = [];
|
|
99
|
+
const g = safeGroup(group);
|
|
100
|
+
return {
|
|
101
|
+
group: g,
|
|
102
|
+
/** Lưu bản cũ trước khi ghi đè / sửa. Tệp quá lớn → không lưu, trả false (kết quả báo `backup: false`). */
|
|
103
|
+
async backupFile(abs) {
|
|
104
|
+
const st = await fs.promises.stat(abs).catch(() => null);
|
|
105
|
+
if (!st?.isFile()) return false;
|
|
106
|
+
if (st.size > maxBackupBytes) return false;
|
|
107
|
+
const backup = slot(g, abs);
|
|
108
|
+
await fs.promises.mkdir(path.dirname(backup), { recursive: true });
|
|
109
|
+
await fs.promises.copyFile(abs, backup);
|
|
110
|
+
items.push({ t: UndoItem.RESTORE, path: abs, backup });
|
|
111
|
+
return true;
|
|
112
|
+
},
|
|
113
|
+
/** Xoá = chuyển vào thùng rác của kho. */
|
|
114
|
+
async trash(abs) {
|
|
115
|
+
const trashed = slot(g, abs);
|
|
116
|
+
await relocate(abs, trashed);
|
|
117
|
+
items.push({ t: UndoItem.UNTRASH, path: abs, trashed });
|
|
118
|
+
return trashed;
|
|
119
|
+
},
|
|
120
|
+
moved(from, to) { items.push({ t: UndoItem.UNMOVE, from, to }); },
|
|
121
|
+
/** Tạo thư mục `dir` (và các thư mục cha chưa có), ghi lại thư mục nào là do AI tạo — ngoài cùng trước. */
|
|
122
|
+
async ensureDir(dirPath) {
|
|
123
|
+
const missing = [];
|
|
124
|
+
for (let d = dirPath; !(await exists(d)); d = path.dirname(d)) {
|
|
125
|
+
missing.unshift(d);
|
|
126
|
+
if (path.dirname(d) === d) break;
|
|
127
|
+
}
|
|
128
|
+
await fs.promises.mkdir(dirPath, { recursive: true });
|
|
129
|
+
for (const d of missing) items.push({ t: UndoItem.UNCREATE_DIR, path: d });
|
|
130
|
+
},
|
|
131
|
+
created(abs) { items.push({ t: UndoItem.UNCREATE, path: abs }); },
|
|
132
|
+
/** Thay đổi ngoài tệp (lịch chạy…): ghi ngay một mục kiểu `type` — trình xử lý đã đăng ký sẽ hoàn tác. */
|
|
133
|
+
custom(type, payload) { items.push({ t: type, ...payload }); this.commit(); },
|
|
134
|
+
commit() {
|
|
135
|
+
if (items.length) append({ group: g, op, at: Date.now(), items: items.splice(0) });
|
|
136
|
+
scheduleCleanup();
|
|
137
|
+
},
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** Nhóm gần nhất (mới trước): thao tác, số mục, đã hoàn tác chưa. */
|
|
142
|
+
function history(limit = 10) {
|
|
143
|
+
const groups = new Map();
|
|
144
|
+
for (const r of readJournal()) {
|
|
145
|
+
const g = groups.get(r.group) || { group: r.group, ops: {}, items: 0, first_at: r.at, last_at: r.at, undone: false, samples: [] };
|
|
146
|
+
if (r.undone) { g.undone = true; groups.set(r.group, g); continue; }
|
|
147
|
+
g.ops[r.op] = (g.ops[r.op] || 0) + 1;
|
|
148
|
+
g.items += r.items?.length || 0;
|
|
149
|
+
g.last_at = Math.max(g.last_at, r.at);
|
|
150
|
+
for (const it of r.items || []) if (g.samples.length < 5) g.samples.push(`${it.t} ${path.basename(it.path || it.to || '')}`);
|
|
151
|
+
groups.set(r.group, g);
|
|
152
|
+
}
|
|
153
|
+
return [...groups.values()].sort((a, b) => b.last_at - a.last_at).slice(0, limit)
|
|
154
|
+
.map((g) => ({ ...g, first_at: new Date(g.first_at).toISOString(), last_at: new Date(g.last_at).toISOString() }));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Hoàn tác cả nhóm theo thứ tự ngược. Mỗi mục trả về đúng chỗ cũ — chỉ khi chỗ đó còn trong vùng được phép (`roots` hiện tại) và không
|
|
159
|
+
* bị một tệp khác chiếm (không đè thứ người dùng tạo sau). Tệp bị thay bởi bản cũ / tệp AI tạo ra được chuyển vào thùng rác của kho,
|
|
160
|
+
* không xoá — hoàn tác cũng hoàn tác được.
|
|
161
|
+
*/
|
|
162
|
+
async function undo(group, roots) {
|
|
163
|
+
const records = readJournal();
|
|
164
|
+
const target = group ? safeGroup(group) : history(1).find((g) => !g.undone)?.group;
|
|
165
|
+
if (!target) throw new DeviceToolError(DeviceErrorCode.NOT_FOUND, 'Nothing to undo');
|
|
166
|
+
if (records.some((r) => r.group === target && r.undone)) throw new DeviceToolError(DeviceErrorCode.INVALID_ARGS, `Group ${target} was already undone`);
|
|
167
|
+
const items = records.filter((r) => r.group === target && !r.undone).flatMap((r) => r.items || []).reverse();
|
|
168
|
+
if (!items.length) throw new DeviceToolError(DeviceErrorCode.NOT_FOUND, `No changes recorded for group ${target}`);
|
|
169
|
+
const redo = begin(`${target}-undo`, 'undo');
|
|
170
|
+
const done = [];
|
|
171
|
+
const skipped = [];
|
|
172
|
+
const inRoots = (p) => { try { resolveEntryInRoots(roots, p); return true; } catch { return false; } };
|
|
173
|
+
for (const it of items) {
|
|
174
|
+
try {
|
|
175
|
+
if (it.t === UndoItem.RESTORE) {
|
|
176
|
+
if (!inRoots(it.path)) { skipped.push({ path: it.path, reason: 'outside the allowed folders now' }); continue; }
|
|
177
|
+
if (await exists(it.path)) await redo.trash(it.path);
|
|
178
|
+
await relocate(it.backup, it.path);
|
|
179
|
+
done.push({ restored: it.path });
|
|
180
|
+
} else if (it.t === UndoItem.UNTRASH) {
|
|
181
|
+
if (!inRoots(it.path)) { skipped.push({ path: it.path, reason: 'outside the allowed folders now' }); continue; }
|
|
182
|
+
if (await exists(it.path)) { skipped.push({ path: it.path, reason: 'something else is there now' }); continue; }
|
|
183
|
+
await relocate(it.trashed, it.path);
|
|
184
|
+
done.push({ restored: it.path });
|
|
185
|
+
} else if (it.t === UndoItem.UNMOVE) {
|
|
186
|
+
if (!inRoots(it.from) || !inRoots(it.to)) { skipped.push({ path: it.to, reason: 'outside the allowed folders now' }); continue; }
|
|
187
|
+
if (!(await exists(it.to))) { skipped.push({ path: it.to, reason: 'no longer there' }); continue; }
|
|
188
|
+
if (await exists(it.from)) { skipped.push({ path: it.from, reason: 'something else is there now' }); continue; }
|
|
189
|
+
await relocate(it.to, it.from);
|
|
190
|
+
done.push({ moved_back: it.from });
|
|
191
|
+
} else if (it.t === UndoItem.UNCREATE_DIR) {
|
|
192
|
+
// Chỉ bỏ thư mục còn RỖNG — người dùng đã để gì vào thì giữ nguyên.
|
|
193
|
+
if (!inRoots(it.path)) continue;
|
|
194
|
+
const left = await fs.promises.readdir(it.path).catch(() => null);
|
|
195
|
+
if (left && !left.length) { await fs.promises.rmdir(it.path); done.push({ removed_empty_folder: it.path }); }
|
|
196
|
+
} else if (handlers.has(it.t)) {
|
|
197
|
+
done.push(await handlers.get(it.t)(it));
|
|
198
|
+
} else if (it.t === UndoItem.UNCREATE) {
|
|
199
|
+
if (!inRoots(it.path) || !(await exists(it.path))) continue;
|
|
200
|
+
await redo.trash(it.path);
|
|
201
|
+
done.push({ removed: it.path });
|
|
202
|
+
}
|
|
203
|
+
} catch (e) {
|
|
204
|
+
skipped.push({ path: it.path || it.to, reason: e.message });
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
redo.commit();
|
|
208
|
+
append({ group: target, undone: true, at: Date.now() });
|
|
209
|
+
return { group: target, undone: done.length, skipped, changes: done.slice(0, 50) };
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/** Dọn: nhóm quá hạn, rồi nhóm cũ nhất tới khi tổng dung lượng dưới trần. Nhật ký giữ dòng của nhóm còn lại. */
|
|
213
|
+
async function cleanup() {
|
|
214
|
+
const store = path.join(dir, 'store');
|
|
215
|
+
const names = await fs.promises.readdir(store).catch(() => []);
|
|
216
|
+
const last = new Map();
|
|
217
|
+
for (const r of readJournal()) last.set(r.group, Math.max(last.get(r.group) || 0, r.at || 0));
|
|
218
|
+
const groups = await Promise.all(names.map(async (name) => ({ name, at: last.get(name) || 0, size: (await measurePath(path.join(store, name))).bytes })));
|
|
219
|
+
groups.sort((a, b) => a.at - b.at);
|
|
220
|
+
let total = groups.reduce((n, g) => n + g.size, 0);
|
|
221
|
+
const removed = new Set();
|
|
222
|
+
for (const g of groups) {
|
|
223
|
+
if (Date.now() - g.at > retentionDays * DAY_MS || total > maxBytes) {
|
|
224
|
+
await fs.promises.rm(path.join(store, g.name), { recursive: true, force: true }).catch(() => undefined);
|
|
225
|
+
total -= g.size;
|
|
226
|
+
removed.add(g.name);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
const keep = readJournal().filter((r) => !removed.has(r.group) && Date.now() - (r.at || 0) <= retentionDays * DAY_MS);
|
|
230
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
231
|
+
fs.writeFileSync(journal, keep.map((r) => JSON.stringify(r)).join('\n') + (keep.length ? '\n' : ''));
|
|
232
|
+
return { removed: removed.size, bytes: total };
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
function scheduleCleanup() {
|
|
236
|
+
if (cleanupTimer) return;
|
|
237
|
+
cleanupTimer = setTimeout(() => { cleanupTimer = null; void cleanup().catch(() => undefined); }, CLEANUP_EVERY_MS);
|
|
238
|
+
cleanupTimer.unref?.();
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
return { begin, history, undo, cleanup, dir, registerHandler: (type, fn) => handlers.set(type, fn) };
|
|
242
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Điều khiển máy từ xa (Device Agent phía máy) — các mô-đun trong ./remote/:
|
|
3
|
+
* - client.mjs : daemon `aivin remote start` — nối namespace /device bằng token thiết bị, nhận lô lời gọi, trả kết quả/luồng.
|
|
4
|
+
* - credentials.mjs : mã máy, ghép máy (token thiết bị riêng), danh sách / thu hồi máy.
|
|
5
|
+
* - deviceProfile.mjs : tự phát hiện năng lực máy (chương trình trên PATH, dự án) + danh mục công cụ có dấu vân tay.
|
|
6
|
+
* - toolHandlers.mjs : các gói công cụ (fs, shell, system, git, memory).
|
|
7
|
+
* - scheduler.mjs : song song theo nhóm công cụ, khoá theo đường dẫn khi ghi, huỷ / hết giờ.
|
|
8
|
+
* - sandbox.mjs : sàn cứng — thư mục gốc (realpath), lọc biến môi trường, chặn lệnh thảm hoạ, công tắc ngắt.
|
|
9
|
+
* - deviceMemory.mjs : bộ nhớ trên máy (YAML người đọc/sửa được + vector), tìm kết hợp BM25 + cosine.
|
|
10
|
+
* - fileIndexer.mjs : chỉ mục tệp trong RAM, quét tăng dần + theo dõi thay đổi.
|
|
11
|
+
* - mission.mjs : `aivin remote do` — giao thẳng việc cho Device Agent.
|
|
12
|
+
* - activityLog.mjs / autoStart.mjs : nhật ký hoạt động, tự khởi động cùng máy.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
export * from './remote/deviceProfile.mjs';
|
|
16
|
+
export * from './remote/toolHandlers.mjs';
|
|
17
|
+
export * from './remote/deviceMemory.mjs';
|
|
18
|
+
export * from './remote/activityLog.mjs';
|
|
19
|
+
export * from './remote/autoStart.mjs';
|
|
20
|
+
export * from './remote/client.mjs';
|
|
21
|
+
export * from './remote/fileIndexer.mjs';
|
|
22
|
+
export * from './remote/credentials.mjs';
|
|
23
|
+
export * from './remote/scheduler.mjs';
|
|
24
|
+
export * from './remote/sandbox.mjs';
|
|
25
|
+
export * from './remote/mission.mjs';
|
|
26
|
+
export { DEVICE_AGENT_PLUGIN_ID, DeviceEvent, DeviceErrorCode, MemoryKind } from './remote/constants.mjs';
|