@agent-pattern-labs/leads-rig 0.1.3 → 0.1.5
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/.codex/config.toml +1 -1
- package/.cursor/rules/main.mdc +2 -2
- package/.opencode/skills/lead-harness.md +2 -2
- package/.opencode/skills/public-leads.md +2 -2
- package/.pi/iso-route.md +15 -0
- package/.pi/prompts/lead-harness.md +2 -2
- package/.pi/prompts/public-leads.md +2 -2
- package/.pi/settings.json +9 -0
- package/AGENTS.md +2 -2
- package/CLAUDE.md +2 -2
- package/README.md +23 -6
- package/bin/create-leads-harness.mjs +2 -2
- package/bin/lead-harness.mjs +75 -75
- package/config/profile.example.yml +8 -5
- package/docs/ARCHITECTURE.md +3 -3
- package/docs/CONSTRUCTION.md +2 -2
- package/docs/SETUP.md +23 -5
- package/iso/commands/lead-harness.md +2 -2
- package/iso/commands/public-leads.md +2 -2
- package/iso/instructions.md +2 -2
- package/lib/leadharness-crawler.mjs +17 -13
- package/lib/leadharness-ingest.mjs +23 -6
- package/lib/leadharness-leads.mjs +277 -4
- package/modes/_shared.md +4 -2
- package/modes/batch.md +1 -1
- package/modes/ingest.md +6 -3
- package/modes/pipeline.md +1 -1
- package/modes/setup.md +3 -2
- package/package.json +25 -25
- package/scripts/batch-orchestrator.mjs +1 -1
- package/scripts/ingest.mjs +2 -2
- package/scripts/pipeline.mjs +2 -2
|
@@ -6,7 +6,7 @@ import { existsSync } from 'fs';
|
|
|
6
6
|
import { mkdir, readFile, rm, writeFile } from 'fs/promises';
|
|
7
7
|
import { dirname, join, resolve } from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
9
|
-
import { runWorkflow } from '@
|
|
9
|
+
import { runWorkflow } from '@agent-pattern-labs/iso-orchestrator';
|
|
10
10
|
|
|
11
11
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
12
12
|
const PKG_ROOT = resolve(__dirname, '..');
|
package/scripts/ingest.mjs
CHANGED
|
@@ -9,7 +9,7 @@ Usage:
|
|
|
9
9
|
public-leads ingest --input <file> [--api <base-url>] [--ingest-path </path>]
|
|
10
10
|
[--operator-email <email>] [--operator-email-header <header>]
|
|
11
11
|
[--auth-header <header>] [--auth-scheme <scheme>]
|
|
12
|
-
[--token <token>] [--token-env
|
|
12
|
+
[--token <token>] [--token-env PUBLIC_LEADS_API_TOKEN]
|
|
13
13
|
[--target-project /path/to/cold-agent-leads]
|
|
14
14
|
[--job-id <id>] [--out data/ingest-response.json] [--dry-run]
|
|
15
15
|
|
|
@@ -18,7 +18,7 @@ Defaults are read from config/profile.yml when present:
|
|
|
18
18
|
api.auth_header, api.auth_scheme, api.auth_token_env, api.target_project
|
|
19
19
|
|
|
20
20
|
Compatibility fallbacks are still accepted:
|
|
21
|
-
--admin-email, api.admin_email, api.admin_token_env, $
|
|
21
|
+
--admin-email, api.admin_email, api.admin_token_env, $ADMIN_API_TOKEN, --target-project
|
|
22
22
|
`;
|
|
23
23
|
|
|
24
24
|
const opts = parseArgs(process.argv.slice(2));
|
package/scripts/pipeline.mjs
CHANGED
|
@@ -23,11 +23,11 @@ Usage:
|
|
|
23
23
|
[--manifest data/lead-manifest.json]
|
|
24
24
|
[--max-pages 10] [--min-confidence 30]
|
|
25
25
|
[--ingest | --upload] [--dry-run]
|
|
26
|
-
[--
|
|
26
|
+
[--api https://cold-agent-leads.example.com]
|
|
27
27
|
|
|
28
28
|
Examples:
|
|
29
29
|
public-leads pipeline --domains example.com,example.org
|
|
30
|
-
public-leads pipeline --input data/domains.tsv --ingest
|
|
30
|
+
PUBLIC_LEADS_API=https://cold-agent-leads.example.com public-leads pipeline --input data/domains.tsv --ingest
|
|
31
31
|
`;
|
|
32
32
|
|
|
33
33
|
const opts = parseArgs(process.argv.slice(2));
|