@aivin-labs/cli 1.0.13 → 1.0.24

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 (73) hide show
  1. package/README.md +325 -304
  2. package/bin/cli.mjs +97 -18
  3. package/bin/lib/localPreview.mjs +437 -0
  4. package/bin/lib/openFile.mjs +235 -0
  5. package/bin/lib/previewCache.mjs +71 -0
  6. package/bin/lib/remote/atomicFile.mjs +32 -0
  7. package/bin/lib/remote/autoStart.mjs +2 -1
  8. package/bin/lib/remote/autoUpdate.mjs +153 -129
  9. package/bin/lib/remote/callLedger.mjs +21 -0
  10. package/bin/lib/remote/cdpPolicy.mjs +14 -2
  11. package/bin/lib/remote/client.mjs +1025 -889
  12. package/bin/lib/remote/codingAgents.mjs +2 -2
  13. package/bin/lib/remote/constants.mjs +263 -251
  14. package/bin/lib/remote/credentials.mjs +81 -4
  15. package/bin/lib/remote/daemonLock.mjs +57 -17
  16. package/bin/lib/remote/desktop/castInput.mjs +98 -0
  17. package/bin/lib/remote/desktop/desktopCast.mjs +337 -198
  18. package/bin/lib/remote/desktop/desktopCastCaptureSource.mjs +598 -0
  19. package/bin/lib/remote/desktop/desktopCastSource.mjs +880 -514
  20. package/bin/lib/remote/desktop/desktopWebRtc.mjs +251 -95
  21. package/bin/lib/remote/desktop/fileAssociation.mjs +108 -0
  22. package/bin/lib/remote/desktop/index.mjs +21 -7
  23. package/bin/lib/remote/desktop/linuxTraySource.mjs +1 -8
  24. package/bin/lib/remote/desktop/macTraySource.mjs +0 -2
  25. package/bin/lib/remote/desktop/strings.mjs +28 -2
  26. package/bin/lib/remote/desktop/traySource.mjs +380 -16
  27. package/bin/lib/remote/desktop/webrtcRuntime.mjs +137 -0
  28. package/bin/lib/remote/desktop/webrtcWorker.mjs +183 -0
  29. package/bin/lib/remote/deviceProfile.mjs +2 -4
  30. package/bin/lib/remote/fileIndexer.mjs +30 -14
  31. package/bin/lib/remote/folderRules.mjs +3 -0
  32. package/bin/lib/remote/gitSafe.mjs +31 -0
  33. package/bin/lib/remote/gui/index.mjs +66 -24
  34. package/bin/lib/remote/gui/officeHostSource.mjs +635 -393
  35. package/bin/lib/remote/gui/windowsHost.mjs +3 -1
  36. package/bin/lib/remote/gui/windowsHostSource.mjs +291 -60
  37. package/bin/lib/remote/httpTransfer.mjs +64 -3
  38. package/bin/lib/remote/localPolicy.mjs +73 -7
  39. package/bin/lib/remote/mascot/ask.mjs +956 -768
  40. package/bin/lib/remote/mascot/askBlocksSource.mjs +286 -0
  41. package/bin/lib/remote/mascot/askHostSource.mjs +658 -530
  42. package/bin/lib/remote/mascot/blocks.mjs +201 -0
  43. package/bin/lib/remote/mascot/bot.mjs +26 -2
  44. package/bin/lib/remote/mascot/chartLayout.mjs +382 -0
  45. package/bin/lib/remote/mascot/diagramRender.mjs +154 -0
  46. package/bin/lib/remote/mascot/emojiSource.mjs +273 -0
  47. package/bin/lib/remote/mascot/fileChips.mjs +62 -0
  48. package/bin/lib/remote/mascot/hostSource.mjs +328 -49
  49. package/bin/lib/remote/mascot/hotkey.mjs +31 -7
  50. package/bin/lib/remote/mascot/images.mjs +111 -0
  51. package/bin/lib/remote/mascot/index.mjs +663 -493
  52. package/bin/lib/remote/mascot/lucideIcons.mjs +32 -0
  53. package/bin/lib/remote/mascot/mermaidBundle.mjs +28 -0
  54. package/bin/lib/remote/mascot/mood.mjs +57 -0
  55. package/bin/lib/remote/mascot/rigSource.mjs +643 -609
  56. package/bin/lib/remote/mascot/safeUrl.mjs +29 -0
  57. package/bin/lib/remote/mascot/strings.mjs +459 -375
  58. package/bin/lib/remote/mascot/ui.mjs +27 -7
  59. package/bin/lib/remote/multiUser.mjs +7 -2
  60. package/bin/lib/remote/notify.mjs +4 -1
  61. package/bin/lib/remote/office/index.mjs +12 -6
  62. package/bin/lib/remote/processes.mjs +5 -2
  63. package/bin/lib/remote/sandbox.mjs +26 -0
  64. package/bin/lib/remote/secretPaths.mjs +21 -0
  65. package/bin/lib/remote/tokenRotation.mjs +28 -0
  66. package/bin/lib/remote/toolHandlers.mjs +79 -15
  67. package/bin/lib/remote/watchBatcher.mjs +56 -0
  68. package/bin/lib/selfUpdate.mjs +12 -2
  69. package/bin/lib/update/binarySwap.mjs +15 -1
  70. package/bin/lib/update/state.mjs +10 -0
  71. package/docs/CLI.md +1545 -1504
  72. package/docs/media/aivin-ecosystem.jpg +0 -0
  73. package/package.json +75 -71
Binary file
package/package.json CHANGED
@@ -1,71 +1,75 @@
1
- {
2
- "name": "@aivin-labs/cli",
3
- "version": "1.0.13",
4
- "description": "aivin CLI - scaffold, run, and deploy Aivin plugins built on @aivin-labs/sdk",
5
- "type": "module",
6
- "bin": {
7
- "aivin": "bin/cli.mjs"
8
- },
9
- "scripts": {
10
- "lint": "eslint .",
11
- "format": "prettier --write .",
12
- "test": "node --test test/*.test.mjs",
13
- "build:binary": "bun scripts/build-binary.mjs",
14
- "release:fetch": "node scripts/release-fetch.mjs",
15
- "sign:release": "node scripts/sign-release.mjs",
16
- "get:publish": "node scripts/publish-get.mjs",
17
- "get:rollout": "node scripts/rollout-get.mjs",
18
- "get:up": "docker compose -f deploy/get/docker-compose.yml up -d"
19
- },
20
- "keywords": [
21
- "aivin",
22
- "plugin",
23
- "cli",
24
- "sdk",
25
- "scaffold"
26
- ],
27
- "author": "Aivin Team",
28
- "license": "MIT",
29
- "dependencies": {
30
- "@aivin-labs/sdk": "^1.1.2",
31
- "axios": "^1.18.1",
32
- "chalk": "^5.6.2",
33
- "commander": "^15.0.0",
34
- "dotenv": "^17.4.2",
35
- "https-proxy-agent": "^7.0.6",
36
- "ink": "^7.1.1",
37
- "ink-text-input": "^6.0.0",
38
- "inquirer": "^14.0.2",
39
- "react": "^19.2.8",
40
- "socket.io-client": "^4.8.3",
41
- "ws": "^8.18.0",
42
- "yaml": "^2.8.1"
43
- },
44
- "devDependencies": {
45
- "@eslint/js": "^10.0.1",
46
- "bun": "^1.4.4",
47
- "eslint": "^10.8.0",
48
- "eslint-config-prettier": "^10.1.8",
49
- "globals": "^17.7.0",
50
- "prettier": "^3.9.6"
51
- },
52
- "files": [
53
- "bin/**/*",
54
- "docs/**/*",
55
- "README.md"
56
- ],
57
- "publishConfig": {
58
- "access": "public"
59
- },
60
- "engines": {
61
- "node": ">=22.13.0"
62
- },
63
- "repository": {
64
- "type": "git",
65
- "url": "git+https://github.com/aivin-labs/cli.git"
66
- },
67
- "bugs": {
68
- "url": "https://github.com/aivin-labs/cli/issues"
69
- },
70
- "homepage": "https://github.com/aivin-labs/cli#readme"
71
- }
1
+ {
2
+ "name": "@aivin-labs/cli",
3
+ "version": "1.0.24",
4
+ "description": "aivin CLI - scaffold, run, and deploy Aivin plugins built on @aivin-labs/sdk",
5
+ "type": "module",
6
+ "bin": {
7
+ "aivin": "bin/cli.mjs"
8
+ },
9
+ "scripts": {
10
+ "lint": "eslint .",
11
+ "format": "prettier --write .",
12
+ "test": "node --test test/*.test.mjs",
13
+ "build:binary": "bun scripts/build-binary.mjs",
14
+ "release:fetch": "node scripts/release-fetch.mjs",
15
+ "sign:release": "node scripts/sign-release.mjs",
16
+ "get:publish": "node scripts/publish-get.mjs",
17
+ "get:rollout": "node scripts/rollout-get.mjs",
18
+ "get:up": "docker compose -f deploy/get/docker-compose.yml up -d",
19
+ "publish:all": "node scripts/sign-release.mjs && node scripts/publish-get.mjs && npm publish"
20
+ },
21
+ "keywords": [
22
+ "aivin",
23
+ "plugin",
24
+ "cli",
25
+ "sdk",
26
+ "scaffold"
27
+ ],
28
+ "author": "Aivin Team",
29
+ "license": "MIT",
30
+ "dependencies": {
31
+ "@aivin-labs/sdk": "^1.1.2",
32
+ "axios": "^1.18.1",
33
+ "chalk": "^5.6.2",
34
+ "commander": "^15.0.0",
35
+ "dotenv": "^17.4.2",
36
+ "https-proxy-agent": "^7.0.6",
37
+ "ink": "^7.1.1",
38
+ "ink-text-input": "^6.0.0",
39
+ "inquirer": "^14.0.2",
40
+ "react": "^19.2.8",
41
+ "socket.io-client": "^4.8.3",
42
+ "ws": "^8.18.0",
43
+ "yaml": "^2.8.1"
44
+ },
45
+ "devDependencies": {
46
+ "@eslint/js": "^10.0.1",
47
+ "bun": "^1.4.4",
48
+ "eslint": "^10.8.0",
49
+ "eslint-config-prettier": "^10.1.8",
50
+ "globals": "^17.7.0",
51
+ "prettier": "^3.9.6"
52
+ },
53
+ "files": [
54
+ "bin/**/*",
55
+ "docs/**/*",
56
+ "README.md"
57
+ ],
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "engines": {
62
+ "node": ">=22.13.0"
63
+ },
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "git+https://github.com/aivin-labs/cli.git"
67
+ },
68
+ "bugs": {
69
+ "url": "https://github.com/aivin-labs/cli/issues"
70
+ },
71
+ "homepage": "https://github.com/aivin-labs/cli#readme",
72
+ "optionalDependencies": {
73
+ "@roamhq/wrtc": "^0.10.0"
74
+ }
75
+ }