@enricai/barnacle 1.7.5 → 1.9.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/dist/config.d.ts +2 -2
- package/dist/scraper/behavioral-signals.d.ts +1 -1
- package/dist/scraper/behavioral-signals.js +1 -1
- package/dist/scraper/deep-locator-candidates.d.ts +1 -1
- package/dist/scraper/deep-locator-candidates.js +1 -1
- package/dist/scraper/deep-locator-click.d.ts +1 -1
- package/dist/scraper/deep-locator-click.js +1 -1
- package/dist/scraper/deep-locator-fake.d.ts +2 -2
- package/dist/scraper/deep-locator-fake.d.ts.map +1 -1
- package/dist/scraper/deep-locator-fake.js +2 -2
- package/dist/scraper/deep-locator-fake.js.map +1 -1
- package/dist/scraper/flow-runner.d.ts +56 -3
- package/dist/scraper/flow-runner.d.ts.map +1 -1
- package/dist/scraper/flow-runner.js +256 -20
- package/dist/scraper/flow-runner.js.map +1 -1
- package/dist/scraper/frame-target.d.ts +1 -1
- package/dist/scraper/frame-target.js +2 -2
- package/dist/scraper/http-client.d.ts +1 -1
- package/dist/scripts/recon-browser.d.ts +7 -4
- package/dist/scripts/recon-browser.d.ts.map +1 -1
- package/dist/scripts/recon-browser.js +37 -10
- package/dist/scripts/recon-browser.js.map +1 -1
- package/dist/scripts/recon-generate-multicall-fixture.d.ts +1 -1
- package/dist/scripts/recon-generate-multicall-fixture.js +1 -1
- package/dist/scripts/recon-generate.d.ts +2 -2
- package/dist/scripts/recon-generate.d.ts.map +1 -1
- package/dist/scripts/recon-generate.js +29 -4
- package/dist/scripts/recon-generate.js.map +1 -1
- package/dist/scripts/recon-replay-jobs.js +2 -2
- package/dist/scripts/recon-replay-jobs.js.map +1 -1
- package/dist/testing/resume-fixture.d.ts +7 -0
- package/dist/testing/resume-fixture.d.ts.map +1 -1
- package/dist/testing/resume-fixture.js +9 -1
- package/dist/testing/resume-fixture.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RESUME_FIXTURE_PATH = void 0;
|
|
3
4
|
exports.loadTestResume = loadTestResume;
|
|
4
5
|
exports.resumePayloadFields = resumePayloadFields;
|
|
5
6
|
const node_fs_1 = require("node:fs");
|
|
6
7
|
const node_path_1 = require("node:path");
|
|
7
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Absolute path to the shared persona résumé PDF, resolved against this module's
|
|
10
|
+
* location so it is found regardless of the process's CWD. Exposed so CWD-sensitive
|
|
11
|
+
* callers (e.g. recon-browser's upload-fixture default) reuse the one robust
|
|
12
|
+
* resolution instead of a fragile CWD-relative literal.
|
|
13
|
+
*/
|
|
14
|
+
exports.RESUME_FIXTURE_PATH = (0, node_path_1.resolve)(__dirname, "./fixtures/resume.pdf");
|
|
15
|
+
const RESUME_PATH = exports.RESUME_FIXTURE_PATH;
|
|
8
16
|
/**
|
|
9
17
|
* Read the shared persona PDF once and return its bytes + the per-call
|
|
10
18
|
* metadata fields the plugins expect. Centralised so the integration tests
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resume-fixture.js","sourceRoot":"","sources":["../../src/testing/resume-fixture.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resume-fixture.js","sourceRoot":"","sources":["../../src/testing/resume-fixture.ts"],"names":[],"mappings":";;;;;AAAA,qCAAuC;AACvC,yCAAoC;AA2BpC;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,IAAA,mBAAO,EAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAE/E,MAAM,WAAW,GAAG,QAAA,mBAAmB,CAAC;AAExC;;;;;;GAMG;AACH;IACE,MAAM,MAAM,GAAG,IAAA,sBAAY,EAAC,WAAW,CAAC,CAAC;IACzC,OAAO;QACL,MAAM;QACN,WAAW,EAAE,iBAAiB;QAC9B,QAAQ,EAAE,wBAAwB;QAClC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;KAClC,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,6BAAoC,MAAkB;IACpD,OAAO;QACL,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,iBAAiB,EAAE,MAAM,CAAC,WAAW;QACrC,cAAc,EAAE,MAAM,CAAC,QAAQ;QAC/B,YAAY,EAAE,MAAM,CAAC,MAAM;KAC5B,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enricai/barnacle",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Site-agnostic browser automation engine. POST a structured payload to a typed endpoint; Barnacle drives a Steel + Stagehand session through the target site and returns a structured result.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Enricai",
|