@aivin-labs/cli 1.0.51 → 1.0.60

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 (32) hide show
  1. package/bin/cli.mjs +2215 -2211
  2. package/bin/lib/auth.mjs +119 -88
  3. package/bin/lib/context.mjs +58 -5
  4. package/bin/lib/loginHandoff.mjs +87 -0
  5. package/bin/lib/openFile.mjs +29 -4
  6. package/bin/lib/remote/agentContract.mjs +370 -0
  7. package/bin/lib/remote/agentEvidence.mjs +409 -0
  8. package/bin/lib/remote/autoStart.mjs +640 -623
  9. package/bin/lib/remote/client.mjs +55 -17
  10. package/bin/lib/remote/codingAgents.mjs +594 -293
  11. package/bin/lib/remote/constants.mjs +1 -1
  12. package/bin/lib/remote/credentials.mjs +131 -125
  13. package/bin/lib/remote/desktop/castAuth.mjs +44 -19
  14. package/bin/lib/remote/desktop/castConsent.mjs +79 -14
  15. package/bin/lib/remote/desktop/castInput.mjs +3 -0
  16. package/bin/lib/remote/desktop/castTrust.mjs +221 -0
  17. package/bin/lib/remote/desktop/desktopCast.mjs +483 -443
  18. package/bin/lib/remote/desktop/desktopCastCaptureSource.mjs +1 -1
  19. package/bin/lib/remote/desktop/desktopCastSource.mjs +324 -40
  20. package/bin/lib/remote/desktop/desktopWebRtc.mjs +59 -4
  21. package/bin/lib/remote/desktop/strings.mjs +26 -0
  22. package/bin/lib/remote/desktop/traySource.mjs +1512 -1385
  23. package/bin/lib/remote/desktop/webrtcWorker.mjs +4 -0
  24. package/bin/lib/remote/dpapiHelper.mjs +91 -0
  25. package/bin/lib/remote/gui/index.mjs +422 -68
  26. package/bin/lib/remote/gui/windowsHostSource.mjs +2418 -1530
  27. package/bin/lib/remote/humanInput.mjs +7 -0
  28. package/bin/lib/remote/localConfirm.mjs +2 -2
  29. package/bin/lib/remote/tokenStore.mjs +19 -2
  30. package/bin/lib/remote/toolHandlers.mjs +861 -859
  31. package/docs/CLI.md +1606 -1602
  32. package/package.json +1 -1
@@ -48,6 +48,19 @@ export const TRAY_STRINGS = Object.freeze({
48
48
  uninstallPrompt: 'Gỡ AIVIN Bot khỏi máy này?\n\nỨng dụng, lệnh aivin và kết nối của máy với tài khoản sẽ bị xoá.\nCó xoá luôn dữ liệu (ghi nhớ của bot, bản sao tệp để hoàn tác, phiên đăng nhập trình duyệt)? Xoá rồi không lấy lại được.\n\nYes = gỡ và xoá dữ liệu\nNo = gỡ, giữ dữ liệu\nCancel = không gỡ',
49
49
  uninstallFailed: 'Không gỡ tự động được. Mở Terminal và chạy: aivin uninstall',
50
50
  stopCast: 'Ngưng kết nối cast ({device})',
51
+ trustedDevices: 'Thiết bị vào thẳng không cần hỏi',
52
+ trustedAccount: 'Chỉ tài khoản {account} mới vào được',
53
+ trustedLastUsed: 'Dùng lần cuối: {when}',
54
+ trustedPlace: 'Vị trí: {place}',
55
+ trustedIp: 'IP: {ip}',
56
+ trustedSince: 'Cho vào thẳng từ {date}',
57
+ trustedRemove: 'Gỡ thiết bị này',
58
+ trustedRemoveAll: 'Gỡ tất cả',
59
+ trustedHint: 'Thấy thiết bị lạ: gỡ đi và đổi mật khẩu',
60
+ agoNow: 'vừa xong',
61
+ agoMin: '{n} phút trước',
62
+ agoHour: '{n} giờ trước',
63
+ agoDay: '{n} ngày trước',
51
64
  castDisconnected: 'Đã ngưng kết nối từ {device}. Thiết bị này sẽ cần xác nhận nếu muốn kết nối lại.',
52
65
  fileType: 'Tài liệu mở bằng AIVIN Office Suite',
53
66
  },
@@ -99,6 +112,19 @@ export const TRAY_STRINGS = Object.freeze({
99
112
  uninstallPrompt: 'Remove AIVIN Bot from this computer?\n\nThe app, the aivin command and this computer\'s connection to your account will be removed.\nAlso delete your data (the bot\'s memory, file copies kept for undo, browser sign-ins)? This cannot be undone.\n\nYes = remove and delete data\nNo = remove, keep data\nCancel = do not remove',
100
113
  uninstallFailed: 'Could not remove it automatically. Open a terminal and run: aivin uninstall',
101
114
  stopCast: 'Disconnect cast from {device}',
115
+ trustedDevices: 'Devices allowed without asking',
116
+ trustedAccount: 'Only account {account} can connect',
117
+ trustedLastUsed: 'Last used: {when}',
118
+ trustedPlace: 'Location: {place}',
119
+ trustedIp: 'IP: {ip}',
120
+ trustedSince: 'Allowed since {date}',
121
+ trustedRemove: 'Remove this device',
122
+ trustedRemoveAll: 'Remove all',
123
+ trustedHint: "Don't recognize one? Remove it and change your password",
124
+ agoNow: 'just now',
125
+ agoMin: '{n} min ago',
126
+ agoHour: '{n} h ago',
127
+ agoDay: '{n} days ago',
102
128
  castDisconnected: 'Disconnected cast from {device}. Future casts will require confirmation.',
103
129
  fileType: 'Document opened with AIVIN Office Suite',
104
130
  },