stably 4.0.2 → 4.0.3
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 +30 -71
- package/logo/logo-white-with-bg.png +0 -0
- package/package.json +34 -4
package/README.md
CHANGED
|
@@ -1,78 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Or from this directory:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pnpm build
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### Run Locally (without global link)
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
# Using tsx (dev mode, no build required)
|
|
28
|
-
pnpm dev
|
|
29
|
-
|
|
30
|
-
# Using built dist
|
|
31
|
-
pnpm start
|
|
32
|
-
# or
|
|
33
|
-
node dist/index.js
|
|
34
|
-
```
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://stably.ai">
|
|
3
|
+
<img src="./logo/logo-white-with-bg.png" height="96">
|
|
4
|
+
<h3 align="center">Stably</h3>
|
|
5
|
+
</a>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
Code. Ship. <s>Test.</s>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://docs.stably.ai/"><strong>Documentation</strong></a> ·
|
|
14
|
+
<a href="https://stably.ai/"><strong>Homepage</strong></a>
|
|
15
|
+
</p>
|
|
16
|
+
<br/>
|
|
35
17
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
To test the CLI as if it were installed globally:
|
|
39
|
-
|
|
40
|
-
**1. Build the CLI:**
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
cd /path/to/noqa
|
|
44
|
-
pnpm --filter stably build
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
**2. Link globally:**
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
cd packages/cli
|
|
51
|
-
PNPM_HOME="$HOME/Library/pnpm" PATH="$PNPM_HOME:$PATH" pnpm link --global
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
**3. Run from anywhere:**
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
PNPM_HOME="$HOME/Library/pnpm" PATH="$PNPM_HOME:$PATH" stably --help
|
|
58
|
-
```
|
|
18
|
+
# Stably CLI
|
|
59
19
|
|
|
60
|
-
|
|
20
|
+
This package extends Playwright to add new AI functionality.
|
|
21
|
+
To get started quickly, please see [AI-assisted setup guide](https://docs.stably.ai/getting-started/sdk-setup-guide). Otherwise continue to read below.
|
|
61
22
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
23
|
+
## Installation
|
|
24
|
+
```shell
|
|
25
|
+
npm i -g stably
|
|
65
26
|
```
|
|
66
27
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
rm -f "$HOME/Library/pnpm/stably"
|
|
73
|
-
```
|
|
28
|
+
> 🎭 **Note**
|
|
29
|
+
> We let you bring your own Playwright version.
|
|
30
|
+
> This does mean that Playwright must first be setup (our CLI can help you do that)
|
|
74
31
|
|
|
75
|
-
|
|
32
|
+
## Usage
|
|
33
|
+
Below is a short list of common commands. For a complete list, please use `stably --help`
|
|
76
34
|
|
|
77
|
-
|
|
78
|
-
|
|
35
|
+
* `npx stably`: This starts our REPL which will help with test creation or modifications
|
|
36
|
+
* `npx stably test`: Use this to run tests locally or in the CI
|
|
37
|
+
* `npx stably --help`: Will print full list of commands
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stably",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"packageManager": "pnpm@10.24.0",
|
|
5
|
-
"description": "Stably
|
|
5
|
+
"description": "AI-powered E2E Playwright testing CLI. Stably can understand your codebase, edit/run tests, and handle complex test scenarios for you.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
|
-
"dist"
|
|
9
|
+
"dist",
|
|
10
|
+
"logo/logo-white-with-bg.png"
|
|
10
11
|
],
|
|
11
12
|
"bin": {
|
|
12
13
|
"stably": "dist/index.js"
|
|
@@ -24,9 +25,38 @@
|
|
|
24
25
|
"format": "prettier --write \"src/**/*.ts\""
|
|
25
26
|
},
|
|
26
27
|
"keywords": [
|
|
28
|
+
"ai",
|
|
29
|
+
"testing",
|
|
30
|
+
"playwright",
|
|
31
|
+
"automation",
|
|
32
|
+
"e2e",
|
|
33
|
+
"end-to-end",
|
|
34
|
+
"qa",
|
|
35
|
+
"test-automation",
|
|
36
|
+
"browser-testing",
|
|
37
|
+
"ai-testing",
|
|
38
|
+
"llm",
|
|
39
|
+
"natural-language",
|
|
40
|
+
"codegen",
|
|
41
|
+
"test-generation",
|
|
42
|
+
"web-testing",
|
|
43
|
+
"ui-testing",
|
|
44
|
+
"regression-testing",
|
|
27
45
|
"cli"
|
|
28
46
|
],
|
|
29
|
-
"
|
|
47
|
+
"homepage": "https://stably.ai",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/stablyai/stably"
|
|
51
|
+
},
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/stablyai/stably/issues"
|
|
54
|
+
},
|
|
55
|
+
"license": "UNLICENSED",
|
|
56
|
+
"author": "Stably AI <support@stably.ai>",
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=20"
|
|
59
|
+
},
|
|
30
60
|
"dependencies": {
|
|
31
61
|
"@anthropic-ai/claude-agent-sdk": "^0.1.62",
|
|
32
62
|
"@clack/prompts": "^0.11.0",
|