shiplightai 0.1.104 → 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 +32 -0
- package/README.md +21 -9
- package/dist/cjs/debugger-pw.cjs +55 -55
- package/dist/cjs/fixture.cjs +65 -65
- package/dist/cjs/index.cjs +63 -63
- package/dist/cjs/reporter.cjs +3 -3
- package/dist/cli.js +90 -88
- package/dist/debugger-pw.js +54 -54
- package/dist/fixture.d.ts +4 -2
- package/dist/fixture.js +65 -65
- package/dist/index.js +63 -63
- package/dist/reporter.js +3 -3
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
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
|
+
|
|
18
|
+
## 0.1.105 (2026-09-21)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- **cli:** allow explicit action cache backend selection (32ddd0f)
|
|
23
|
+
- **cli:** add native OpenRouter support (272538d)
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
- **deps:** upgrade sharp to patch libheif vulnerabilities (c9cceea)
|
|
28
|
+
- **cli:** keep OpenRouter provider external to bundles (1135a95)
|
|
29
|
+
- **llm:** use OpenRouter dotted Claude model identifiers (7775aee)
|
|
30
|
+
|
|
31
|
+
## Unreleased
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
- **llm:** add native OpenRouter routing with `OPENROUTER_API_KEY` and `openrouter:<provider>/<model>`
|
|
36
|
+
|
|
5
37
|
## 0.1.104 (2026-09-08)
|
|
6
38
|
|
|
7
39
|
### Other Changes
|
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,23 @@ 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-...
|
|
117
|
+
# or OPENROUTER_API_KEY=sk-or-v1-... # also set WEB_AGENT_MODEL=openrouter:<provider>/<model>
|
|
113
118
|
```
|
|
114
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
|
+
|
|
115
125
|
The AI model is auto-selected from the first key set. Override with `WEB_AGENT_MODEL=<model>`.
|
|
126
|
+
OpenRouter requires an explicit upstream-qualified model, for example
|
|
127
|
+
`WEB_AGENT_MODEL=openrouter:openai/gpt-4o`.
|
|
116
128
|
|
|
117
129
|
Shiplight uses an **explicit env var allowlist**: only the vars it forwards into its internal SDK config are accessible to the agent. Any env var not on the list is invisible to the SDK by design. Full list (`OPENAI_BASE_URL`, Vertex AI routing, Mailgun keys, etc.): **[docs.shiplight.ai/local/cli-reference#environment-variables](https://docs.shiplight.ai/local/cli-reference)**.
|
|
118
130
|
|
|
@@ -143,4 +155,4 @@ DO_NOT_TRACK=1
|
|
|
143
155
|
|
|
144
156
|
- **Documentation:** [docs.shiplight.ai](https://docs.shiplight.ai)
|
|
145
157
|
- **VS Code extension:** [github.com/ShiplightAI/vscode-extension](https://github.com/ShiplightAI/vscode-extension)
|
|
146
|
-
- **Cloud platform:** [shiplight.ai](https://www.shiplight.ai)
|
|
158
|
+
- **Cloud platform:** [shiplight.ai](https://www.shiplight.ai) — shutting down October 31, 2026
|