amai 0.0.21 → 0.0.22
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 +10 -15
- package/dist/cli.cjs +265 -2337
- package/dist/cli.js +243 -2298
- package/dist/lib/code-server.cjs +1 -1
- package/dist/lib/code-server.js +1 -1
- package/dist/lib/daemon-entry.cjs +229 -2302
- package/dist/lib/daemon-entry.js +210 -2266
- package/dist/server.cjs +201 -2274
- package/dist/server.js +182 -2238
- package/package.json +10 -6
package/README.md
CHANGED
|
@@ -13,17 +13,14 @@ npm install -g amai
|
|
|
13
13
|
### Option 2: Install Globally from Source
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
# From the
|
|
17
|
-
cd packages/
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
# From the cli package directory
|
|
17
|
+
cd packages/cli
|
|
18
|
+
npm install
|
|
19
|
+
npm run build
|
|
20
20
|
|
|
21
21
|
# Link globally using npm
|
|
22
22
|
npm link
|
|
23
23
|
|
|
24
|
-
# Or use bun link
|
|
25
|
-
bun link
|
|
26
|
-
|
|
27
24
|
# Or use the install script
|
|
28
25
|
./install-global.sh
|
|
29
26
|
```
|
|
@@ -32,9 +29,7 @@ bun link
|
|
|
32
29
|
|
|
33
30
|
```bash
|
|
34
31
|
# In your other project directory
|
|
35
|
-
npm link /path/to/ama/packages/
|
|
36
|
-
# or with bun
|
|
37
|
-
bun link /path/to/ama/packages/ama-agent
|
|
32
|
+
npm link /path/to/ama/packages/cli
|
|
38
33
|
```
|
|
39
34
|
|
|
40
35
|
### Option 4: Install from Local Path
|
|
@@ -43,11 +38,11 @@ In your project's `package.json`:
|
|
|
43
38
|
```json
|
|
44
39
|
{
|
|
45
40
|
"dependencies": {
|
|
46
|
-
"amai": "file:../path/to/ama/packages/
|
|
41
|
+
"amai": "file:../path/to/ama/packages/cli"
|
|
47
42
|
}
|
|
48
43
|
}
|
|
49
44
|
```
|
|
50
|
-
Then run `npm install
|
|
45
|
+
Then run `npm install`.
|
|
51
46
|
|
|
52
47
|
## Usage
|
|
53
48
|
|
|
@@ -112,9 +107,9 @@ amai --help
|
|
|
112
107
|
To build the CLI:
|
|
113
108
|
|
|
114
109
|
```bash
|
|
115
|
-
cd packages/
|
|
116
|
-
|
|
117
|
-
|
|
110
|
+
cd packages/cli
|
|
111
|
+
npm install
|
|
112
|
+
npm run build
|
|
118
113
|
```
|
|
119
114
|
|
|
120
115
|
The built files will be in the `dist/` directory.
|