Unify product version at 1.4.0, add ruff gate, drop stale GitHub workflow
CI / automation-js (vitest + real Chromium) (pull_request) Successful in 1m15s
CI / Lint + tests (pull_request) Successful in 10m42s

- One version (1.4.0) across extension/manifest.json, automation/pyproject.toml,
  automation-js/package.json (+lockfile); README documents the bump-together policy
- Delete .github/workflows/ci.yml (behind the Gitea copy; CI runs on Gitea Actions)
- CURSOR_PROMPT.md: replace personal paths with <path-to-context-extractor>
- Add ruff (E4,E7,E9,F,I, line-length 120) to automation/ dev extras, Makefile lint,
  and the Gitea CI Lint + tests job as a hard gate
This commit is contained in:
2026-07-26 15:47:37 -04:00
parent 8dec923061
commit d26d1aaa4e
10 changed files with 30 additions and 89 deletions
+5 -5
View File
@@ -1,15 +1,15 @@
# Cursor consumer prompt
Paste this into another Cursor chat when that project should use Context Extractor
(path below — adjust if you moved the repo).
Paste this into another Cursor chat when that project should use Context Extractor.
Replace `<path-to-context-extractor>` with wherever you cloned this repo.
---
```text
Use Context Extractor from ~/Documents/code/context-extractor for browser capture / scrape debugging.
Use Context Extractor from <path-to-context-extractor> for browser capture / scrape debugging.
Setup (once):
cd ~/Documents/code/context-extractor/automation && python3 -m venv .venv && source .venv/bin/activate
cd <path-to-context-extractor>/automation && python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
playwright install chromium
# optional anti-detect: pip install -e ".[camoufox]"
@@ -29,7 +29,7 @@ Python scrape / CI loop:
CLI: context-extractor URL --selector CSS --engine chromium|camoufox --out prompt.md
Manual / interactive (Brave or Chrome):
Load unpacked: ~/Documents/code/context-extractor/extension
Load unpacked: <path-to-context-extractor>/extension
Then use "Copy" on the broken page.
When debugging scrapers or flaky pages in THIS project: