tamash-playwright 0.13.0-beta.2 → 0.13.0
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 +20 -0
- package/CHANGELOG.md +474 -477
- package/README.md +222 -635
- package/RELEASE-TESTING.md +406 -402
- package/dist/bindings/index.d.ts +1 -0
- package/dist/bindings/index.d.ts.map +1 -1
- package/dist/bindings/index.js +17 -0
- package/dist/bindings/index.js.map +1 -1
- package/dist/healer/failure-analysis.d.ts +3 -0
- package/dist/healer/failure-analysis.d.ts.map +1 -0
- package/dist/healer/failure-analysis.js +179 -0
- package/dist/healer/failure-analysis.js.map +1 -0
- package/dist/healer/failure-log.d.ts +11 -0
- package/dist/healer/failure-log.d.ts.map +1 -0
- package/dist/healer/failure-log.js +90 -0
- package/dist/healer/failure-log.js.map +1 -0
- package/dist/healer/index.d.ts +2 -0
- package/dist/healer/index.d.ts.map +1 -1
- package/dist/healer/index.js +15 -0
- package/dist/healer/index.js.map +1 -1
- package/dist/healer/providers/anthropic.d.ts.map +1 -1
- package/dist/healer/providers/anthropic.js +29 -0
- package/dist/healer/providers/anthropic.js.map +1 -1
- package/dist/healer/providers/claude-subscription.d.ts.map +1 -1
- package/dist/healer/providers/claude-subscription.js +18 -0
- package/dist/healer/providers/claude-subscription.js.map +1 -1
- package/dist/healer/providers/codex-subscription.d.ts.map +1 -1
- package/dist/healer/providers/codex-subscription.js +15 -0
- package/dist/healer/providers/codex-subscription.js.map +1 -1
- package/dist/healer/providers/copilot-subscription.d.ts.map +1 -1
- package/dist/healer/providers/copilot-subscription.js +18 -0
- package/dist/healer/providers/copilot-subscription.js.map +1 -1
- package/dist/healer/providers/cursor-subscription.d.ts.map +1 -1
- package/dist/healer/providers/cursor-subscription.js +15 -0
- package/dist/healer/providers/cursor-subscription.js.map +1 -1
- package/dist/healer/providers/gemini.d.ts.map +1 -1
- package/dist/healer/providers/gemini.js +45 -0
- package/dist/healer/providers/gemini.js.map +1 -1
- package/dist/healer/providers/kiro-subscription.d.ts.map +1 -1
- package/dist/healer/providers/kiro-subscription.js +15 -0
- package/dist/healer/providers/kiro-subscription.js.map +1 -1
- package/dist/healer/providers/ollama-local.d.ts.map +1 -1
- package/dist/healer/providers/ollama-local.js +52 -0
- package/dist/healer/providers/ollama-local.js.map +1 -1
- package/dist/healer/providers/ollama.d.ts.map +1 -1
- package/dist/healer/providers/ollama.js +55 -0
- package/dist/healer/providers/ollama.js.map +1 -1
- package/dist/healer/providers/openai.d.ts.map +1 -1
- package/dist/healer/providers/openai.js +45 -0
- package/dist/healer/providers/openai.js.map +1 -1
- package/dist/healer/providers/prompt.d.ts +7 -1
- package/dist/healer/providers/prompt.d.ts.map +1 -1
- package/dist/healer/providers/prompt.js +63 -1
- package/dist/healer/providers/prompt.js.map +1 -1
- package/dist/healer/providers/tamash-rule-based.d.ts.map +1 -1
- package/dist/healer/providers/tamash-rule-based.js +5 -0
- package/dist/healer/providers/tamash-rule-based.js.map +1 -1
- package/dist/healer/providers/types.d.ts +24 -0
- package/dist/healer/providers/types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/usage.md +157 -5
package/.env.example
CHANGED
|
@@ -95,3 +95,23 @@ OLLAMA_API_KEY=
|
|
|
95
95
|
# no vision fallback, no action-recovery tactics. A fast, free, deterministic first line of
|
|
96
96
|
# defense, not a full replacement for an AI provider. Just set:
|
|
97
97
|
# HEALER_PROVIDER=tamash
|
|
98
|
+
|
|
99
|
+
# --- Failure analysis: classify a genuinely-failed expect() assertion ---
|
|
100
|
+
# A separate capability from healing above — never fixes anything, only explains a test failure
|
|
101
|
+
# that already happened after every retry was exhausted: likely-defect vs. likely-wrong-locator
|
|
102
|
+
# vs. likely-timing-or-environment vs. inconclusive, with a short explanation. Covers any final
|
|
103
|
+
# failure, not just expect() -- an action (click/fill/etc.) healing already tried and reported on
|
|
104
|
+
# is analyzed too, with healing's own diagnosis folded in as extra context rather than skipped.
|
|
105
|
+
# Reuses whichever HEALER_PROVIDER is already configured above (tamash always declines — no
|
|
106
|
+
# reasoning capability). No reporter to add to playwright.config.ts, runs automatically the same
|
|
107
|
+
# way healing does.
|
|
108
|
+
#
|
|
109
|
+
# On by default, same polarity as HEALER_ENABLED above (unset or anything other than false/0
|
|
110
|
+
# leaves it on) -- independent of HEALER_ENABLED, though: turning healing off does not also turn
|
|
111
|
+
# this off, they check two separate flags. Costs a real AI call on every genuinely-failed test
|
|
112
|
+
# (unlike healing, which only spends when an action fails and is opportunistic about it), so a
|
|
113
|
+
# suite with several broken tests means several calls, every run, until each is fixed. Each
|
|
114
|
+
# call's token usage shows up as its own `failure-analysis-tokens-used` annotation in the report
|
|
115
|
+
# -- deliberately a different annotation type from healing's own `llm-tokens-used`, so the two
|
|
116
|
+
# costs can be weighed against each other, not just healing's. Set to false to turn it off:
|
|
117
|
+
# FAILURE_ANALYSIS_ENABLED=false
|