asyx 0.0.1 → 0.0.2
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 +26 -5
- package/package.json +18 -12
package/README.md
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
# Asyx CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Minimal command-line tool to start the Asyx browser pairing flow.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
- Website: https://www.asyx.ai
|
|
6
|
+
- License: Apache-2.0
|
|
7
|
+
|
|
8
|
+
## Requirements
|
|
9
|
+
- Node.js 18+
|
|
10
|
+
|
|
11
|
+
## Install
|
|
7
12
|
|
|
8
|
-
## Usage
|
|
9
13
|
```bash
|
|
10
14
|
npm install -g asyx
|
|
11
|
-
|
|
15
|
+
|
|
16
|
+
Usage
|
|
17
|
+
|
|
18
|
+
asyx --version # print version
|
|
19
|
+
asyx --help # usage
|
|
20
|
+
asyx login # open browser to complete pairing
|
|
21
|
+
|
|
22
|
+
When asyx login runs, it generates a device code and client ID, then opens your browser to complete pairing. Your client ID is stored locally for reuse.
|
|
23
|
+
|
|
24
|
+
Troubleshooting
|
|
25
|
+
• If the browser doesn’t open, copy the printed URL into your browser.
|
|
26
|
+
• To regenerate a client ID, delete ~/.asyx/device.json and run asyx login again.
|
|
27
|
+
|
|
28
|
+
License
|
|
29
|
+
|
|
30
|
+
Apache-2.0 © Asyx
|
|
31
|
+
|
|
32
|
+
|
package/package.json
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asyx",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Asyx CLI
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Official Asyx CLI (Developer Preview). Opens your browser to pair a device and prepares your account for tunnel setup. Invite-only; not production software.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
"bin": { "asyx": "index.js" },
|
|
7
|
+
"preferGlobal": true,
|
|
8
|
+
"keywords": [
|
|
9
|
+
"asyx",
|
|
10
|
+
"cli",
|
|
11
|
+
"tunnel",
|
|
12
|
+
"pairing",
|
|
13
|
+
"browser-login",
|
|
14
|
+
"developer-preview"
|
|
15
|
+
],
|
|
16
|
+
"author": "Asyx, Inc. <hello@asyx.ai>",
|
|
11
17
|
"homepage": "https://www.asyx.ai",
|
|
12
18
|
"repository": {
|
|
13
19
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "git+https://github.com/asyxai/asyx.git"
|
|
15
21
|
},
|
|
16
22
|
"bugs": {
|
|
17
|
-
"url": "https://github.com/
|
|
23
|
+
"url": "https://github.com/asyxai/asyx/issues"
|
|
18
24
|
},
|
|
19
|
-
"engines": {
|
|
20
|
-
|
|
21
|
-
}
|
|
25
|
+
"engines": { "node": ">=18" },
|
|
26
|
+
"files": ["index.js", "README.md", "LICENSE"],
|
|
27
|
+
"publishConfig": { "access": "public" }
|
|
22
28
|
}
|