@scrappycoco/cli 0.7.0 → 0.8.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/README.md +3 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,8 +56,9 @@ From a repository checkout, use `npm ci`, `npm run build`, and
|
|
|
56
56
|
`node dist/index.js <command>` instead.
|
|
57
57
|
|
|
58
58
|
Discover is optional. Use Run directly when the current capability, provider,
|
|
59
|
-
and native options are already clear. The CLI does not expose legacy
|
|
60
|
-
|
|
59
|
+
and native options are already clear. The CLI does not expose legacy assistant,
|
|
60
|
+
agent, general workflow, or scheduler commands. For repeated checks, callers
|
|
61
|
+
schedule ordinary Runs and pass each returned cursor into the next Run.
|
|
61
62
|
|
|
62
63
|
Node.js 20 or newer is required. Interactive use authenticates with Clerk OAuth Authorization Code + PKCE. CI can set `SCRAPPYCOCO_API_KEY`.
|
|
63
64
|
|
package/dist/index.js
CHANGED
|
@@ -1219,7 +1219,7 @@ function executionSummary(response) {
|
|
|
1219
1219
|
return route;
|
|
1220
1220
|
});
|
|
1221
1221
|
}
|
|
1222
|
-
for (const field of ["cursor", "
|
|
1222
|
+
for (const field of ["cursor", "snapshot"]) {
|
|
1223
1223
|
if (summary[field] === null) delete summary[field];
|
|
1224
1224
|
}
|
|
1225
1225
|
return summary;
|
|
@@ -1391,7 +1391,7 @@ program.command("doctor").description("Check the CLI, authentication, installed
|
|
|
1391
1391
|
if (!ok) process.exitCode = authentication.configured ? EXIT.api : EXIT.auth;
|
|
1392
1392
|
});
|
|
1393
1393
|
var scrapers = program.command("scrapers", { hidden: true }).description("Legacy scraper commands");
|
|
1394
|
-
scrapers.command("list").option("--source <source>", "filter by web, x, reddit, or filings").option("--provider <provider>", "filter by provider implementation").option("--available", "only include available providers").action(async (options, command) => {
|
|
1394
|
+
scrapers.command("list").option("--source <source>", "filter by web, x, reddit, instagram, tiktok, or filings").option("--provider <provider>", "filter by provider implementation").option("--available", "only include available providers").action(async (options, command) => {
|
|
1395
1395
|
const query = new URLSearchParams();
|
|
1396
1396
|
if (options.source) query.set("source", options.source);
|
|
1397
1397
|
if (options.provider) query.set("provider", options.provider);
|
|
@@ -1409,7 +1409,7 @@ scrapers.command("inspect <scraper-id>").action(async (scraperId, _options, comm
|
|
|
1409
1409
|
);
|
|
1410
1410
|
});
|
|
1411
1411
|
var catalog = program.command("catalog").description("Inspect capabilities, provider schemas, options, and pricing");
|
|
1412
|
-
catalog.command("list").option("--source <source>", "filter by web, x, reddit, or filings").option("--provider <provider>", "filter by provider implementation").option("--available", "only include configured providers; this is not a live health check").option("--full", "include input/output and provider option schemas in JSON output").action(async (options, command) => {
|
|
1412
|
+
catalog.command("list").option("--source <source>", "filter by web, x, reddit, instagram, tiktok, or filings").option("--provider <provider>", "filter by provider implementation").option("--available", "only include configured providers; this is not a live health check").option("--full", "include input/output and provider option schemas in JSON output").action(async (options, command) => {
|
|
1413
1413
|
const query = new URLSearchParams();
|
|
1414
1414
|
if (options.source) query.set("source", options.source);
|
|
1415
1415
|
if (options.provider) query.set("provider", options.provider);
|