@trawlme/skills 1.2.4 → 1.3.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/package.json
CHANGED
|
@@ -91,11 +91,25 @@ trawl scraps update <id> --params-file ./params.json # bulk params from f
|
|
|
91
91
|
|
|
92
92
|
### Run / trigger / watch
|
|
93
93
|
|
|
94
|
-
- `trawl scraps run <id>` — synchronous run, blocks until done
|
|
94
|
+
- `trawl scraps run <id>` — synchronous run via the load endpoint, blocks until done
|
|
95
95
|
- `trawl scraps run <id> --watch` — same but streams activity logs
|
|
96
|
-
- `trawl scraps trigger <id>` —
|
|
96
|
+
- `trawl scraps trigger <id>` — **async by default**: queues the worker run and returns immediately (no waiting on the 30-250s run)
|
|
97
|
+
- `trawl scraps trigger <id> --wait` — synchronous: block until the run completes (legacy behaviour)
|
|
98
|
+
- `trawl scraps trigger <id> --watch` — queue, then stream the activity log
|
|
97
99
|
- `trawl scraps watch <id>` — attach to an in-progress run's activity stream
|
|
98
100
|
|
|
101
|
+
### Inspect past runs
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
trawl scraps history <id> # table of recent runs (status, time, tier, failureKind)
|
|
105
|
+
trawl scraps history <id> --json # JSON array, newest first
|
|
106
|
+
trawl scraps history <id> --limit 50 # cap rows (default 20)
|
|
107
|
+
trawl scraps run-info <hid> # one run's detail by its history id (status, tier, failureKind, error + selector)
|
|
108
|
+
trawl scraps run-info <hid> --json
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
`doctor`/`autofix` (below) inspect the **last** run; `history` + `run-info` reach **any** run: list with `history`, then pass a run's `hid` to `run-info` for the full diagnosis. `run-info` hits `/api/historys/:hid`, which returns the proxy tier + `failureKind` to the scrap owner. (In `history`'s embedded list those columns may be blank — drill into `run-info <hid>` for them.)
|
|
112
|
+
|
|
99
113
|
### Delete
|
|
100
114
|
|
|
101
115
|
```bash
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: trawl-scrap-banner
|
|
3
|
-
description: Generate + upload a brand-aware banner (1200x630 PNG) for a Trawl scrap.
|
|
3
|
+
description: Generate + upload a brand-aware banner (1200x630 PNG) for a Trawl scrap. Triggers on "make banner for my scrap", "generate scrap banner", "upload banner for {site}", or after a scrap ships to prod. Does NOT cover scrap script generation (see trawl-scrap-design) or CLI account management (see trawl-cli).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Trawl Scrap Banner
|
|
7
7
|
|
|
8
|
-
Generate + upload a brand-aware 1200x630 banner for a Trawl scrap.
|
|
8
|
+
Generate + upload a brand-aware 1200x630 banner for a Trawl scrap. See the Examples table for validated brands (eBay, Reddit, GitHub).
|
|
9
9
|
|
|
10
10
|
## When to use
|
|
11
11
|
|
|
@@ -15,6 +15,8 @@ Local testing intentionally uses vanilla `puppeteer-core` — no fingerprint pol
|
|
|
15
15
|
|
|
16
16
|
## Quick-start
|
|
17
17
|
|
|
18
|
+
Paths below assume the default install location (`~/.claude/skills/`); adjust if the skill lives elsewhere (project `.claude/skills/`, a plugin cache, etc.).
|
|
19
|
+
|
|
18
20
|
```bash
|
|
19
21
|
# Install puppeteer-core once (it's a peer dependency, not bundled with the skill).
|
|
20
22
|
npm install -g puppeteer-core
|