IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved
Replaced by an explicit list of forms only (ten exported names, runtime env names, project file names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are not touched. package.json keeps the five old bin names beside the five new ones. The old names stop working in this commit and come back as aliases in the next; docs follow. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
414a4702df
commit
0a4f001797
@@ -6,7 +6,7 @@
|
||||
// The crawl runs in the background; the result is POSTed to callbackUrl with the
|
||||
// same bearer token.
|
||||
//
|
||||
// Env: IPAL_CRAWLER_SITES="acme.pl=TOKEN,shop.example.com=TOKEN2" (required), PORT (3000),
|
||||
// Env: IAPL_CRAWLER_SITES="acme.pl=TOKEN,shop.example.com=TOKEN2" (required), PORT (3000),
|
||||
// CRAWLER_CONCURRENCY (1), CRAWLER_QUEUE_MAX (20), CRAWLER_JOB_TIMEOUT_MS (600000),
|
||||
// CRAWLER_WAIT_MS (3000), CRAWLER_ALLOW_HTTP (unset; "1" only for local tests).
|
||||
import { createServer } from 'node:http'
|
||||
@@ -139,9 +139,9 @@ export function createCrawlerServer({
|
||||
|
||||
// Run directly: `node server.mjs`
|
||||
if (import.meta.url === pathToFileURL(process.argv[1] ?? '').href) {
|
||||
const sites = parseSites(process.env.IPAL_CRAWLER_SITES)
|
||||
const sites = parseSites(process.env.IAPL_CRAWLER_SITES)
|
||||
if (!sites.length) {
|
||||
console.error('[crawler] IPAL_CRAWLER_SITES is empty — set "host=token" pairs (token ≥ 16 chars).')
|
||||
console.error('[crawler] IAPL_CRAWLER_SITES is empty — set "host=token" pairs (token ≥ 16 chars).')
|
||||
process.exit(1)
|
||||
}
|
||||
const { chromium } = await import('playwright')
|
||||
|
||||
Reference in New Issue
Block a user