shiplightai 0.1.105 → 0.1.106
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/CHANGELOG.md +13 -0
- package/README.md +18 -9
- package/dist/cjs/debugger-pw.cjs +44 -44
- package/dist/cjs/fixture.cjs +58 -58
- package/dist/cjs/index.cjs +50 -50
- package/dist/cjs/reporter.cjs +1 -1
- package/dist/cli.js +72 -72
- package/dist/debugger-pw.js +44 -44
- package/dist/fixture.js +58 -58
- package/dist/index.js +51 -51
- package/dist/reporter.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `shiplightai` are documented here. This file is generated automatically at release time from the commits that touch the published package and its bundled SDK.
|
|
4
4
|
|
|
5
|
+
## 0.1.106 (2026-09-28)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **sdk-core:** send thinkingLevel, not thinkingBudget, to Gemini 3 models (5818e0f)
|
|
10
|
+
- address round-2 review findings (724b5b8)
|
|
11
|
+
- address local multi-lens review findings (fd94a40)
|
|
12
|
+
|
|
13
|
+
### Other Changes
|
|
14
|
+
|
|
15
|
+
- **cli:** cover the token half of the cloud-upload gate (237db60)
|
|
16
|
+
- document the Cloud shutdown and add a self-hosting guide (e3794ac)
|
|
17
|
+
|
|
5
18
|
## 0.1.105 (2026-09-21)
|
|
6
19
|
|
|
7
20
|
### Features
|
package/README.md
CHANGED
|
@@ -11,13 +11,20 @@ Scaffold a new test project in under a minute:
|
|
|
11
11
|
```bash
|
|
12
12
|
npx shiplightai@latest create ./my-tests
|
|
13
13
|
cd my-tests
|
|
14
|
-
cp .env.example .env
|
|
14
|
+
cp .env.example .env
|
|
15
|
+
$EDITOR .env # required: every key in the template is commented out
|
|
15
16
|
npm install
|
|
16
|
-
npx shiplight setup-api-token # writes SHIPLIGHT_API_TOKEN; skip if using a provider key
|
|
17
17
|
npx playwright install chromium
|
|
18
|
-
npx shiplight test
|
|
18
|
+
npx shiplight test # runs the scaffolded starter test
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
> Any one provider key works — `GOOGLE_API_KEY`, `ANTHROPIC_API_KEY`,
|
|
22
|
+
> `OPENAI_API_KEY`, or `OPENROUTER_API_KEY` (OpenRouter additionally needs an
|
|
23
|
+
> explicit `WEB_AGENT_MODEL`; the others derive a default model from the key).
|
|
24
|
+
> Without one, `shiplight test` exits with `No AI model configured`.
|
|
25
|
+
> `SHIPLIGHT_API_TOKEN` also works today but stops on **October 31, 2026**,
|
|
26
|
+
> when Shiplight Cloud shuts down.
|
|
27
|
+
|
|
21
28
|
The scaffolder writes `package.json`, `playwright.config.ts`, `.env.example`, `.gitignore`, and a runnable `tests/example.test.yaml` that exercises a live site. Open `shiplight-report/index.html` after the run to see per-step screenshots, videos, and traces.
|
|
22
29
|
|
|
23
30
|
Or add Shiplight to an existing Playwright project:
|
|
@@ -32,7 +39,7 @@ Every command is invoked via `npx shiplight <command>` from inside a project tha
|
|
|
32
39
|
|
|
33
40
|
| Command | Purpose |
|
|
34
41
|
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
35
|
-
| `shiplight setup-api-token` |
|
|
42
|
+
| `shiplight setup-api-token` | **Retiring October 31, 2026** — authenticate with Shiplight and write `SHIPLIGHT_API_TOKEN` to the current project's `.env`. Use a provider API key instead; see [self-hosting](./docs/self-hosting.md) |
|
|
36
43
|
| `shiplight create <path>` | Scaffold a new test project |
|
|
37
44
|
| `shiplight test [args]` | Run your YAML and Playwright test suite (forwards all Playwright flags) |
|
|
38
45
|
| `shiplight debug <file>` | Launch the interactive visual debugger for a YAML test. The server picks a free port automatically; the chosen URL is printed on startup. Pass `--port N` for a stable URL (CI, bookmarks). Multiple concurrent `shiplight debug` invocations work without any port coordination. |
|
|
@@ -101,18 +108,20 @@ For the YAML statement language, authentication, variables, templates, and custo
|
|
|
101
108
|
|
|
102
109
|
## Environment variables
|
|
103
110
|
|
|
104
|
-
|
|
105
|
-
at least one provider API key in `.env` before running tests:
|
|
111
|
+
Set at least one provider API key in `.env` before running tests:
|
|
106
112
|
|
|
107
113
|
```
|
|
108
|
-
SHIPLIGHT_API_TOKEN=...
|
|
109
|
-
# or
|
|
110
114
|
GOOGLE_API_KEY=...
|
|
111
115
|
# or ANTHROPIC_API_KEY=sk-ant-...
|
|
112
116
|
# or OPENAI_API_KEY=sk-...
|
|
113
117
|
# or OPENROUTER_API_KEY=sk-or-v1-... # also set WEB_AGENT_MODEL=openrouter:<provider>/<model>
|
|
114
118
|
```
|
|
115
119
|
|
|
120
|
+
> **Shiplight Cloud shuts down on October 31, 2026.** After that date
|
|
121
|
+
> `SHIPLIGHT_API_TOKEN` stops working — the hosted LLM proxy, the cloud action
|
|
122
|
+
> cache, and report upload all go with it. Set a provider API key instead and
|
|
123
|
+
> keep the action cache local: see [self-hosting](./docs/self-hosting.md).
|
|
124
|
+
|
|
116
125
|
The AI model is auto-selected from the first key set. Override with `WEB_AGENT_MODEL=<model>`.
|
|
117
126
|
OpenRouter requires an explicit upstream-qualified model, for example
|
|
118
127
|
`WEB_AGENT_MODEL=openrouter:openai/gpt-4o`.
|
|
@@ -146,4 +155,4 @@ DO_NOT_TRACK=1
|
|
|
146
155
|
|
|
147
156
|
- **Documentation:** [docs.shiplight.ai](https://docs.shiplight.ai)
|
|
148
157
|
- **VS Code extension:** [github.com/ShiplightAI/vscode-extension](https://github.com/ShiplightAI/vscode-extension)
|
|
149
|
-
- **Cloud platform:** [shiplight.ai](https://www.shiplight.ai)
|
|
158
|
+
- **Cloud platform:** [shiplight.ai](https://www.shiplight.ai) — shutting down October 31, 2026
|