@enricai/barnacle 1.7.4 → 1.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/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 +3 -3
- package/dist/scraper/flow-runner.js +8 -8
- 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 +6 -3
- package/dist/scripts/recon-browser.d.ts.map +1 -1
- package/dist/scripts/recon-browser.js +34 -9
- 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 +3 -3
|
@@ -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.8.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",
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"dependencies": {
|
|
267
267
|
"@ai-sdk/amazon-bedrock": "^3.0.112",
|
|
268
268
|
"@ai-sdk/anthropic": "^2.0.92",
|
|
269
|
-
"@anthropic-ai/sdk": "^0.
|
|
269
|
+
"@anthropic-ai/sdk": "^0.115.0",
|
|
270
270
|
"@aws-sdk/client-s3": "^3.1085.0",
|
|
271
271
|
"@browserbasehq/sdk": "^2.16.0",
|
|
272
272
|
"@browserbasehq/stagehand": "^3.6.0",
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
"@fastify/rate-limit": "^11.1.0",
|
|
277
277
|
"@fastify/swagger": "^9.8.0",
|
|
278
278
|
"@fastify/swagger-ui": "^6.1.0",
|
|
279
|
-
"ai": "^
|
|
279
|
+
"ai": "^7.0.46",
|
|
280
280
|
"bcryptjs": "^3.0.3",
|
|
281
281
|
"bottleneck": "^2.19.5",
|
|
282
282
|
"date-fns": "^4.4.0",
|