tamash-playwright 0.7.0 → 0.8.0-beta.1
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/.env.example +19 -1
- package/README.md +484 -431
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +3 -1
- package/dist/cli/doctor.js.map +1 -1
- package/dist/healer/providers/claude-cli.d.ts +3 -0
- package/dist/healer/providers/claude-cli.d.ts.map +1 -0
- package/dist/healer/providers/claude-cli.js +122 -0
- package/dist/healer/providers/claude-cli.js.map +1 -0
- package/dist/healer/providers/claude-subscription.d.ts +3 -0
- package/dist/healer/providers/claude-subscription.d.ts.map +1 -0
- package/dist/healer/providers/claude-subscription.js +122 -0
- package/dist/healer/providers/claude-subscription.js.map +1 -0
- package/dist/healer/providers/copilot-cli.d.ts +3 -0
- package/dist/healer/providers/copilot-cli.d.ts.map +1 -0
- package/dist/healer/providers/copilot-cli.js +115 -0
- package/dist/healer/providers/copilot-cli.js.map +1 -0
- package/dist/healer/providers/copilot-subscription.d.ts +3 -0
- package/dist/healer/providers/copilot-subscription.d.ts.map +1 -0
- package/dist/healer/providers/copilot-subscription.js +118 -0
- package/dist/healer/providers/copilot-subscription.js.map +1 -0
- package/dist/healer/providers/index.d.ts.map +1 -1
- package/dist/healer/providers/index.js +12 -1
- package/dist/healer/providers/index.js.map +1 -1
- package/package.json +17 -3
package/.env.example
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# Master on/off switch for self-healing. Unset or anything other than false/0 leaves it on.
|
|
2
2
|
HEALER_ENABLED=true
|
|
3
3
|
|
|
4
|
-
# Which AI provider backs self-healing: ollama | openai | anthropic | gemini
|
|
4
|
+
# Which AI provider backs self-healing: ollama | openai | anthropic | gemini | claude-subscription | copilot-subscription
|
|
5
5
|
# Unset, unknown, or a provider whose key/model below is missing disables self-healing —
|
|
6
6
|
# a failed action just fails normally, since there's no AI model configured to recover it.
|
|
7
|
+
# claude-subscription/copilot-subscription don't need an API key at all — they use an existing
|
|
8
|
+
# Claude/GitHub Copilot subscription login instead. See the sections near the bottom of this file
|
|
9
|
+
# for setup.
|
|
7
10
|
HEALER_PROVIDER=ollama
|
|
8
11
|
|
|
9
12
|
# Optional, off by default. If a locator gets healed but the action on it still fails (e.g. the
|
|
@@ -29,3 +32,18 @@ OLLAMA_API_KEY=
|
|
|
29
32
|
# GEMINI_MODEL= # check https://ai.google.dev/gemini-api/docs/models for the current model id
|
|
30
33
|
# GEMINI_API_KEY=
|
|
31
34
|
# GEMINI_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
|
|
35
|
+
|
|
36
|
+
# --- Claude subscription (no API key — uses your existing Claude Pro/Max/Team/Enterprise subscription) ---
|
|
37
|
+
# Requires: npm install @anthropic-ai/claude-agent-sdk
|
|
38
|
+
# Locally: run `claude login` once — no other setup needed.
|
|
39
|
+
# In CI: run `claude setup-token` once to mint a 12-month token, then set it as a CI secret below.
|
|
40
|
+
# CLAUDE_SUBSCRIPTION_MODEL=haiku
|
|
41
|
+
# CLAUDE_CODE_OAUTH_TOKEN=
|
|
42
|
+
|
|
43
|
+
# --- GitHub Copilot subscription (no API key — uses your existing Copilot subscription or free tier) ---
|
|
44
|
+
# Requires: npm install @github/copilot-sdk, and the `copilot` CLI installed and authenticated.
|
|
45
|
+
# Locally: sign in with the `copilot` CLI once — no other setup needed.
|
|
46
|
+
# In GitHub Actions CI: no secret needed — add `permissions: { copilot-requests: write }` to the
|
|
47
|
+
# workflow job and the ambient GITHUB_TOKEN is used automatically.
|
|
48
|
+
# In other CI systems: set GITHUB_TOKEN to a PAT with the "Copilot Requests" scope.
|
|
49
|
+
# COPILOT_SUBSCRIPTION_MODEL=mai-code-1-flash-picker
|