@aivin-labs/cli 1.0.11 → 1.0.21
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 +325 -288
- package/bin/cli.mjs +163 -17
- package/bin/lib/localPreview.mjs +437 -0
- package/bin/lib/openFile.mjs +235 -0
- package/bin/lib/previewCache.mjs +71 -0
- package/bin/lib/remote/atomicFile.mjs +32 -0
- package/bin/lib/remote/autoStart.mjs +2 -1
- package/bin/lib/remote/autoUpdate.mjs +12 -0
- package/bin/lib/remote/browserTunnel.mjs +47 -8
- package/bin/lib/remote/callLedger.mjs +94 -14
- package/bin/lib/remote/cdpPolicy.mjs +14 -2
- package/bin/lib/remote/client.mjs +1024 -808
- package/bin/lib/remote/cloudFiles.mjs +53 -0
- package/bin/lib/remote/codingAgents.mjs +2 -2
- package/bin/lib/remote/constants.mjs +261 -234
- package/bin/lib/remote/credentials.mjs +81 -4
- package/bin/lib/remote/daemonLock.mjs +57 -17
- package/bin/lib/remote/dailyBrowser.mjs +8 -2
- package/bin/lib/remote/desktop/castInput.mjs +98 -0
- package/bin/lib/remote/desktop/desktopCast.mjs +334 -0
- package/bin/lib/remote/desktop/desktopCastCaptureSource.mjs +598 -0
- package/bin/lib/remote/desktop/desktopCastSource.mjs +798 -0
- package/bin/lib/remote/desktop/desktopWebRtc.mjs +242 -0
- package/bin/lib/remote/desktop/fileAssociation.mjs +108 -0
- package/bin/lib/remote/desktop/index.mjs +58 -7
- package/bin/lib/remote/desktop/linux.mjs +1 -1
- package/bin/lib/remote/desktop/linuxTraySource.mjs +427 -427
- package/bin/lib/remote/desktop/mac.mjs +2 -2
- package/bin/lib/remote/desktop/macTraySource.mjs +293 -292
- package/bin/lib/remote/desktop/strings.mjs +28 -2
- package/bin/lib/remote/desktop/traySource.mjs +905 -527
- package/bin/lib/remote/desktop/webrtcRuntime.mjs +137 -0
- package/bin/lib/remote/desktop/webrtcWorker.mjs +181 -0
- package/bin/lib/remote/deviceProfile.mjs +1 -0
- package/bin/lib/remote/docText.mjs +85 -0
- package/bin/lib/remote/fileIndexer.mjs +773 -399
- package/bin/lib/remote/folderRules.mjs +143 -0
- package/bin/lib/remote/gitSafe.mjs +31 -0
- package/bin/lib/remote/gui/index.mjs +170 -19
- package/bin/lib/remote/gui/officeHostSource.mjs +635 -393
- package/bin/lib/remote/gui/windowsHost.mjs +12 -3
- package/bin/lib/remote/gui/windowsHostSource.mjs +461 -87
- package/bin/lib/remote/httpTransfer.mjs +64 -3
- package/bin/lib/remote/idempotency.mjs +49 -20
- package/bin/lib/remote/localPolicy.mjs +81 -9
- package/bin/lib/remote/mascot/ask.mjs +207 -42
- package/bin/lib/remote/mascot/askBlocksSource.mjs +286 -0
- package/bin/lib/remote/mascot/askHostSource.mjs +658 -512
- package/bin/lib/remote/mascot/blocks.mjs +201 -0
- package/bin/lib/remote/mascot/bot.mjs +54 -5
- package/bin/lib/remote/mascot/chartLayout.mjs +382 -0
- package/bin/lib/remote/mascot/diagramRender.mjs +154 -0
- package/bin/lib/remote/mascot/emojiSource.mjs +273 -0
- package/bin/lib/remote/mascot/fileChips.mjs +62 -0
- package/bin/lib/remote/mascot/hostSource.mjs +331 -52
- package/bin/lib/remote/mascot/hotkey.mjs +31 -7
- package/bin/lib/remote/mascot/images.mjs +111 -0
- package/bin/lib/remote/mascot/index.mjs +663 -493
- package/bin/lib/remote/mascot/lucideIcons.mjs +32 -0
- package/bin/lib/remote/mascot/mermaidBundle.mjs +28 -0
- package/bin/lib/remote/mascot/mood.mjs +57 -0
- package/bin/lib/remote/mascot/rigSource.mjs +648 -609
- package/bin/lib/remote/mascot/safeUrl.mjs +29 -0
- package/bin/lib/remote/mascot/strings.mjs +456 -375
- package/bin/lib/remote/mascot/ui.mjs +27 -7
- package/bin/lib/remote/multiUser.mjs +7 -2
- package/bin/lib/remote/notify.mjs +4 -1
- package/bin/lib/remote/office/index.mjs +12 -6
- package/bin/lib/remote/osSearch.mjs +107 -0
- package/bin/lib/remote/processes.mjs +5 -2
- package/bin/lib/remote/sandbox.mjs +26 -0
- package/bin/lib/remote/secretPaths.mjs +21 -0
- package/bin/lib/remote/sqliteDb.mjs +51 -0
- package/bin/lib/remote/tokenRotation.mjs +28 -0
- package/bin/lib/remote/toolHandlers.mjs +852 -741
- package/bin/lib/remote/watchBatcher.mjs +56 -0
- package/bin/lib/remoteControl.mjs +26 -26
- package/bin/lib/selfUpdate.mjs +12 -2
- package/bin/lib/update/binarySwap.mjs +15 -1
- package/bin/lib/update/state.mjs +10 -0
- package/docs/AIVIN_MASCOT.md +14 -0
- package/docs/CLI.md +1545 -1484
- package/docs/media/aivin-ecosystem.jpg +0 -0
- package/docs/media/aivin-mascot-live.gif +0 -0
- package/docs/media/aivin-mascot-live.png +0 -0
- package/docs/media/aivin-remote-architecture.svg +102 -0
- package/package.json +75 -71
- package/docs/media/aivin-mascot-states.mp4 +0 -0
|
@@ -7,11 +7,22 @@ export const TRAY_STRINGS = Object.freeze({
|
|
|
7
7
|
notPaired: 'Chưa kết nối với Aivin',
|
|
8
8
|
connecting: 'Đang kết nối…',
|
|
9
9
|
open: 'Mở Aivin',
|
|
10
|
+
quickChat: 'Quick chat',
|
|
11
|
+
quickVoice: 'Quick voice',
|
|
12
|
+
terminal: 'Mở Terminal',
|
|
10
13
|
connect: 'Kết nối máy này…',
|
|
11
14
|
pause: 'Tạm dừng nhận việc',
|
|
12
15
|
resume: 'Tiếp tục nhận việc',
|
|
13
16
|
startup: 'Khởi động cùng Windows',
|
|
14
|
-
|
|
17
|
+
mascot: 'Linh vật trên màn hình',
|
|
18
|
+
mascotShow: 'Hiện linh vật',
|
|
19
|
+
mascotHide: 'Ẩn linh vật',
|
|
20
|
+
version: 'Phiên bản: {version}',
|
|
21
|
+
updateUpToDate: 'Đã là bản mới nhất',
|
|
22
|
+
updateAvailable: 'Có bản mới ({version}) — Bấm cập nhật',
|
|
23
|
+
updateChecking: 'Đang kiểm tra cập nhật...',
|
|
24
|
+
updateCheckNow: 'Kiểm tra cập nhật',
|
|
25
|
+
updateUpdating: 'Đang tải bản cập nhật...',
|
|
15
26
|
quit: 'Thoát Aivin',
|
|
16
27
|
firstRun: 'Aivin đang chạy ở khay hệ thống — bấm biểu tượng để mở.',
|
|
17
28
|
connectHint: 'Aivin đã ở khay hệ thống — bấm biểu tượng rồi nhập mã từ Aivin để kết nối máy này.',
|
|
@@ -21,6 +32,8 @@ export const TRAY_STRINGS = Object.freeze({
|
|
|
21
32
|
pairOk: 'Kết nối',
|
|
22
33
|
pairCancel: 'Huỷ',
|
|
23
34
|
shortcut: 'Aivin — cho các agent Aivin làm việc trên máy tính này',
|
|
35
|
+
openWith: 'Mở bằng AIVIN Bot',
|
|
36
|
+
fileType: 'Tài liệu mở bằng AIVIN Bot',
|
|
24
37
|
},
|
|
25
38
|
en: {
|
|
26
39
|
running: 'Running — ready for work',
|
|
@@ -29,11 +42,22 @@ export const TRAY_STRINGS = Object.freeze({
|
|
|
29
42
|
notPaired: 'Not connected to Aivin',
|
|
30
43
|
connecting: 'Connecting…',
|
|
31
44
|
open: 'Open Aivin',
|
|
45
|
+
quickChat: 'Quick chat',
|
|
46
|
+
quickVoice: 'Quick voice',
|
|
47
|
+
terminal: 'Open Terminal',
|
|
32
48
|
connect: 'Connect this computer…',
|
|
33
49
|
pause: 'Pause work',
|
|
34
50
|
resume: 'Resume work',
|
|
35
51
|
startup: 'Start with Windows',
|
|
36
|
-
|
|
52
|
+
mascot: 'Desktop mascot',
|
|
53
|
+
mascotShow: 'Show mascot',
|
|
54
|
+
mascotHide: 'Hide mascot',
|
|
55
|
+
version: 'Version: {version}',
|
|
56
|
+
updateUpToDate: 'Up to date',
|
|
57
|
+
updateAvailable: 'New version available ({version}) — Click to update',
|
|
58
|
+
updateChecking: 'Checking for updates...',
|
|
59
|
+
updateCheckNow: 'Check for updates',
|
|
60
|
+
updateUpdating: 'Downloading update...',
|
|
37
61
|
quit: 'Quit Aivin',
|
|
38
62
|
firstRun: 'Aivin is running in the system tray — click the icon to open it.',
|
|
39
63
|
connectHint: 'Aivin is in the system tray — click the icon and enter the code from Aivin to connect this computer.',
|
|
@@ -43,6 +67,8 @@ export const TRAY_STRINGS = Object.freeze({
|
|
|
43
67
|
pairOk: 'Connect',
|
|
44
68
|
pairCancel: 'Cancel',
|
|
45
69
|
shortcut: 'Aivin — lets your Aivin agents work on this computer',
|
|
70
|
+
openWith: 'Open with AIVIN Bot',
|
|
71
|
+
fileType: 'Document opened with AIVIN Bot',
|
|
46
72
|
},
|
|
47
73
|
});
|
|
48
74
|
|