@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.
- package/README.md +325 -304
- package/bin/cli.mjs +97 -18
- 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 +153 -129
- package/bin/lib/remote/callLedger.mjs +21 -0
- package/bin/lib/remote/cdpPolicy.mjs +14 -2
- package/bin/lib/remote/client.mjs +1025 -889
- package/bin/lib/remote/codingAgents.mjs +2 -2
- package/bin/lib/remote/constants.mjs +263 -251
- package/bin/lib/remote/credentials.mjs +81 -4
- package/bin/lib/remote/daemonLock.mjs +57 -17
- package/bin/lib/remote/desktop/castInput.mjs +98 -0
- package/bin/lib/remote/desktop/desktopCast.mjs +337 -198
- package/bin/lib/remote/desktop/desktopCastCaptureSource.mjs +598 -0
- package/bin/lib/remote/desktop/desktopCastSource.mjs +880 -514
- package/bin/lib/remote/desktop/desktopWebRtc.mjs +251 -95
- package/bin/lib/remote/desktop/fileAssociation.mjs +108 -0
- package/bin/lib/remote/desktop/index.mjs +21 -7
- package/bin/lib/remote/desktop/linuxTraySource.mjs +1 -8
- package/bin/lib/remote/desktop/macTraySource.mjs +0 -2
- package/bin/lib/remote/desktop/strings.mjs +28 -2
- package/bin/lib/remote/desktop/traySource.mjs +380 -16
- package/bin/lib/remote/desktop/webrtcRuntime.mjs +137 -0
- package/bin/lib/remote/desktop/webrtcWorker.mjs +183 -0
- package/bin/lib/remote/deviceProfile.mjs +2 -4
- package/bin/lib/remote/fileIndexer.mjs +30 -14
- package/bin/lib/remote/folderRules.mjs +3 -0
- package/bin/lib/remote/gitSafe.mjs +31 -0
- package/bin/lib/remote/gui/index.mjs +66 -24
- package/bin/lib/remote/gui/officeHostSource.mjs +635 -393
- package/bin/lib/remote/gui/windowsHost.mjs +3 -1
- package/bin/lib/remote/gui/windowsHostSource.mjs +291 -60
- package/bin/lib/remote/httpTransfer.mjs +64 -3
- package/bin/lib/remote/localPolicy.mjs +73 -7
- package/bin/lib/remote/mascot/ask.mjs +956 -768
- package/bin/lib/remote/mascot/askBlocksSource.mjs +286 -0
- package/bin/lib/remote/mascot/askHostSource.mjs +658 -530
- package/bin/lib/remote/mascot/blocks.mjs +201 -0
- package/bin/lib/remote/mascot/bot.mjs +26 -2
- 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 +328 -49
- 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 +643 -609
- package/bin/lib/remote/mascot/safeUrl.mjs +29 -0
- package/bin/lib/remote/mascot/strings.mjs +459 -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/processes.mjs +5 -2
- package/bin/lib/remote/sandbox.mjs +26 -0
- package/bin/lib/remote/secretPaths.mjs +21 -0
- package/bin/lib/remote/tokenRotation.mjs +28 -0
- package/bin/lib/remote/toolHandlers.mjs +79 -15
- package/bin/lib/remote/watchBatcher.mjs +56 -0
- 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/CLI.md +1545 -1504
- package/docs/media/aivin-ecosystem.jpg +0 -0
- 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.
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"ink
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"eslint
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
+
}
|