@trawlme/cli 3.12.2 → 3.12.3
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/dist/commands/doctor.js
CHANGED
|
@@ -73,7 +73,7 @@ export function formatDoctor(scrapTitle, run, fix = null, scrapId) {
|
|
|
73
73
|
if (conflictingSignals) {
|
|
74
74
|
lines.push(chalk.dim(' Error: ') + chalk.yellow(`conflicting signals — the server reported ${wallVendor} on this run, but also classified it as a login wall; can't tell which is true here`));
|
|
75
75
|
lines.push(chalk.dim(scrapId
|
|
76
|
-
? ` → cookies might help, but this may still be a genuine ${wallVendor} block: trawl scraps account session set ${scrapId} -c cookies.json`
|
|
76
|
+
? ` → cookies might help, but this may still be a genuine ${wallVendor} block: trawl scraps account session capture ${scrapId} (headless/CI: trawl scraps account session set ${scrapId} -c cookies.json) or app Settings → Account`
|
|
77
77
|
: ` → cookies might help, but this may still be a genuine ${wallVendor} block (see app Settings → Account)`));
|
|
78
78
|
}
|
|
79
79
|
else if (wallVendor) {
|
|
@@ -96,7 +96,9 @@ export function formatDoctor(scrapTitle, run, fix = null, scrapId) {
|
|
|
96
96
|
if (authHintWillRender && !conflictingSignals) {
|
|
97
97
|
lines.push('');
|
|
98
98
|
lines.push(chalk.yellow(' Login wall (hypothesis): ') + 'this looks like a login redirect — your own session cookies are the likely fix.');
|
|
99
|
-
lines.push(chalk.dim(` → trawl scraps account session
|
|
99
|
+
lines.push(chalk.dim(` → trawl scraps account session capture ${scrapId}`));
|
|
100
|
+
lines.push(chalk.dim(` headless/CI: trawl scraps account session set ${scrapId} -c cookies.json`));
|
|
101
|
+
lines.push(chalk.dim(' or app Settings → Account'));
|
|
100
102
|
}
|
|
101
103
|
if (run.statusDetail === 'regression') {
|
|
102
104
|
lines.push(chalk.dim(' Regression: ') + `length ${run.length ?? '?'} vs baseline ${run.baselineLength ?? '?'}`);
|
package/docs/agent-quickstart.md
CHANGED
|
@@ -38,7 +38,7 @@ trawl list --json
|
|
|
38
38
|
**What a key cannot do.** Of the twelve core commands below, a scoped key
|
|
39
39
|
covers all of them except `whoami`. Outside the core tier, a key also can't
|
|
40
40
|
reach `scraps update`/`delete`, `scraps account set`/`delete`/`clear-session`,
|
|
41
|
-
`scraps account session set`, `scraps banner`, or `scraps snapshot` (its
|
|
41
|
+
`scraps account session set`/`capture`, `scraps banner`, or `scraps snapshot` (its
|
|
42
42
|
underlying `html-snapshot` route is JWT-only even though the scrap lookup it
|
|
43
43
|
starts from isn't) — nor the standalone SSE **command** `scraps watch`.
|
|
44
44
|
Those, plus `whoami`, stay JWT-only. `scraps account status`, `scraps
|