@enricai/barnacle 1.5.0 → 1.6.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.
Files changed (62) hide show
  1. package/README.md +29 -0
  2. package/dist/api/errors.d.ts +2 -1
  3. package/dist/api/errors.d.ts.map +1 -1
  4. package/dist/api/errors.js +3 -2
  5. package/dist/api/errors.js.map +1 -1
  6. package/dist/lib/llm/judge.d.ts +1 -1
  7. package/dist/lib/llm/judge.js +1 -1
  8. package/dist/recon/capture-filters.d.ts +40 -0
  9. package/dist/recon/capture-filters.d.ts.map +1 -0
  10. package/dist/recon/capture-filters.js +106 -0
  11. package/dist/recon/capture-filters.js.map +1 -0
  12. package/dist/recon/form-schema.d.ts +51 -0
  13. package/dist/recon/form-schema.d.ts.map +1 -0
  14. package/dist/recon/form-schema.js +20 -0
  15. package/dist/recon/form-schema.js.map +1 -0
  16. package/dist/recon/load-form-schema.d.ts +24 -0
  17. package/dist/recon/load-form-schema.d.ts.map +1 -0
  18. package/dist/recon/load-form-schema.js +66 -0
  19. package/dist/recon/load-form-schema.js.map +1 -0
  20. package/dist/scraper/errors.d.ts +14 -14
  21. package/dist/scraper/errors.d.ts.map +1 -1
  22. package/dist/scraper/errors.js +15 -15
  23. package/dist/scraper/errors.js.map +1 -1
  24. package/dist/scraper/flow-runner.d.ts.map +1 -1
  25. package/dist/scraper/flow-runner.js +9 -8
  26. package/dist/scraper/flow-runner.js.map +1 -1
  27. package/dist/scraper/http-client.d.ts +12 -0
  28. package/dist/scraper/http-client.d.ts.map +1 -1
  29. package/dist/scraper/http-client.js +11 -15
  30. package/dist/scraper/http-client.js.map +1 -1
  31. package/dist/scraper/parse-json-response.d.ts +7 -5
  32. package/dist/scraper/parse-json-response.d.ts.map +1 -1
  33. package/dist/scraper/parse-json-response.js +9 -8
  34. package/dist/scraper/parse-json-response.js.map +1 -1
  35. package/dist/scraper/rate-limited-json-client.d.ts +8 -1
  36. package/dist/scraper/rate-limited-json-client.d.ts.map +1 -1
  37. package/dist/scraper/rate-limited-json-client.js +6 -1
  38. package/dist/scraper/rate-limited-json-client.js.map +1 -1
  39. package/dist/scraper/session-browserbase.d.ts +6 -0
  40. package/dist/scraper/session-browserbase.d.ts.map +1 -1
  41. package/dist/scraper/session-browserbase.js +6 -0
  42. package/dist/scraper/session-browserbase.js.map +1 -1
  43. package/dist/scripts/recon-browser.d.ts.map +1 -1
  44. package/dist/scripts/recon-browser.js +3 -4
  45. package/dist/scripts/recon-browser.js.map +1 -1
  46. package/dist/scripts/recon-generate.d.ts +50 -21
  47. package/dist/scripts/recon-generate.d.ts.map +1 -1
  48. package/dist/scripts/recon-generate.js +190 -182
  49. package/dist/scripts/recon-generate.js.map +1 -1
  50. package/dist/scripts/recon-http.d.ts +5 -2
  51. package/dist/scripts/recon-http.d.ts.map +1 -1
  52. package/dist/scripts/recon-http.js +16 -4
  53. package/dist/scripts/recon-http.js.map +1 -1
  54. package/dist/testing/persona-fixture.d.ts +2 -2
  55. package/dist/testing/persona-fixture.d.ts.map +1 -1
  56. package/dist/testing/persona-fixture.js +2 -2
  57. package/dist/testing/persona-fixture.js.map +1 -1
  58. package/package.json +5 -1
  59. package/dist/scraper/oracle-sentinels.d.ts +0 -22
  60. package/dist/scraper/oracle-sentinels.d.ts.map +0 -1
  61. package/dist/scraper/oracle-sentinels.js +0 -40
  62. package/dist/scraper/oracle-sentinels.js.map +0 -1
@@ -15,6 +15,7 @@
15
15
  * /tmp/recon/aux/*.json — static fixture files
16
16
  * src/sites/<siteId>/recon-flow.json — plain-English flow steps
17
17
  */
18
+ import type { ReconFormSchema } from "../recon/form-schema";
18
19
  import { type ReconVocabulary } from "../recon/vocabulary";
19
20
  import { type Capture } from "../scripts/recon-shared";
20
21
  /**
@@ -115,21 +116,20 @@ interface ErrorSignals {
115
116
  }>;
116
117
  }
117
118
  /**
118
- * Map from form-schema FieldId UUIDs to PascalCase payload field names. Used
119
- * by emitMultiStepExecuteHttp to substitute Responses[].Value literals with
119
+ * Map from form-schema field-id UUIDs to PascalCase payload field names. Used
120
+ * by emitMultiStepExecuteHttp to substitute the submitted-value literals with
120
121
  * caller payload references. Empty when the recon doesn't include a form
121
122
  * schema (no-op for those sites).
122
123
  */
123
124
  type FieldNameMap = Map<string, string>;
124
125
  /**
125
- * Per-OptionId-using field: an ordered list of {semanticValue, optionId}
126
- * pairs derived from the form schema's FieldOptions[]. The generator emits
127
- * each as an OPT_<FieldName> constant + z.enum payload field; the body emit
128
- * pass rewrites `OptionId: "<uuid>"` slots to `OptionId: ${OPT_X[payload.X]}`.
126
+ * Per-option-using field: an ordered list of {semanticValue, optionId}
127
+ * pairs derived from the form schema's options array. The generator emits
128
+ * each as an OPT_<Name> constant + z.enum payload field; the body emit
129
+ * pass rewrites the submitted option-id slots to `${OPT_X[payload.X]}`.
129
130
  *
130
- * Only populated for fields whose options all have a non-empty Value (i.e.
131
- * SystemFieldOption-tagged options). Custom options without a semantic
132
- * label are skipped — the field's OptionIds stay baked.
131
+ * Only populated for fields whose options all have a non-empty label. Options
132
+ * without a semantic label are skipped — the field's option ids stay baked.
133
133
  */
134
134
  interface FieldOptionsMapping {
135
135
  semanticName: string;
@@ -139,6 +139,25 @@ interface FieldOptionsMapping {
139
139
  }>;
140
140
  }
141
141
  type FieldOptionsMap = Map<string, FieldOptionsMapping>;
142
+ /**
143
+ * Recon-driven detection of form-schema captures. Scans all response bodies
144
+ * for arrays whose objects look like form fields (a UUID-shaped field-id key
145
+ * plus at least one of the schema's name keys). Builds field-id → PascalCase
146
+ * name map.
147
+ *
148
+ * Site-agnostic: identifies form-schema captures by structural fingerprint
149
+ * against the consumer-supplied keys, not by URL or site name. Any ATS exposing
150
+ * a matching schema would match.
151
+ *
152
+ * Exported for unit testing — lets tests prove the rewiring: the same field is
153
+ * recovered whether the supplied keys are one vendor's names or a differing
154
+ * vendor's, and that a null schema recovers nothing.
155
+ */
156
+ export declare function detectFormSchemaFieldNames(captures: Capture[], formSchema: ReconFormSchema | null): {
157
+ fieldNameMap: FieldNameMap;
158
+ fieldOptionsMap: FieldOptionsMap;
159
+ allSchemaUuids: Set<string>;
160
+ };
142
161
  /**
143
162
  * Walks every capture's response (including GETs — formHistoryId-style values
144
163
  * may originate in a state-load GET, not a POST). Indexes every string leaf
@@ -209,7 +228,7 @@ interface ActionStep {
209
228
  export declare function compileActionSteps(actions: ActionCapture[], stateIndex: Map<string, StateValue>): ActionStep[];
210
229
  /**
211
230
  * Maps a site's screening-question prompts to the payload field that answers
212
- * them, as `{ FieldName: [keyword, …] }`.
231
+ * them, as `{ payloadField: [keyword, …] }`.
213
232
  *
214
233
  * Empty by default and supplied by the operator via `RECON_QUESTION_KEYWORDS`
215
234
  * (JSON) — the engine cannot know what any site asks or what a caller's payload
@@ -219,7 +238,7 @@ export declare function compileActionSteps(actions: ActionCapture[], stateIndex:
219
238
  export declare function loadQuestionPromptKeywords(): Record<string, string[]>;
220
239
  /** Exported for unit testing — lets tests drive the multipart-upload code path directly
221
240
  * without going through the full emitContractTs pipeline. */
222
- export declare function emitMultiStepExecuteHttp(actions: ActionStep[], inputBody: unknown, errorSignals: ErrorSignals, fieldNameMap: FieldNameMap, outDiscoveredFields: Set<string>, fieldOptionsMap: FieldOptionsMap, outDiscoveredOptionFields: Set<string>, outDiscoveredRawOptionFields: Map<string, string>, outDiscoveredAdditionalBodyKeys: Map<string, "string" | "number" | "boolean">, baseUrl: string, baseUrlDerivedHeaders: Map<string, string>, tenantSubdomainHeaders: Map<string, string>, base64PatchOverride?: Map<string, string>): string;
241
+ export declare function emitMultiStepExecuteHttp(actions: ActionStep[], inputBody: unknown, errorSignals: ErrorSignals, fieldNameMap: FieldNameMap, outDiscoveredFields: Set<string>, fieldOptionsMap: FieldOptionsMap, outDiscoveredOptionFields: Set<string>, outDiscoveredRawOptionFields: Map<string, string>, outDiscoveredAdditionalBodyKeys: Map<string, "string" | "number" | "boolean">, baseUrl: string, baseUrlDerivedHeaders: Map<string, string>, tenantSubdomainHeaders: Map<string, string>, base64PatchOverride?: Map<string, string>, formSchema?: ReconFormSchema | null): string;
223
242
  /** Generates a complete contract.ts source string for a plugin — exported so
224
243
  * unit tests can drive the emitter directly without spawning the CLI. */
225
244
  export declare function emitContractTs(opts: {
@@ -241,21 +260,21 @@ export declare function emitContractTs(opts: {
241
260
  /** Whether the flow has a multipart upload step — derived from actionSteps at the call site. */
242
261
  hasMultipartStep?: boolean;
243
262
  /** PascalCase payload-field names discovered by walking the form schema and
244
- * substituting Responses[].Value literals. Added to the payload schema so
263
+ * substituting the submitted-value literals. Added to the payload schema so
245
264
  * the caller can supply real values for them. */
246
265
  discoveredFormFields?: Set<string>;
247
- /** Full FieldOptions map (FieldId → semanticName + options). Only the
266
+ /** Full field-options map (field-id → semanticName + options). Only the
248
267
  * entries whose semanticName is in `discoveredOptionFields` will get emitted
249
268
  * — those are the fields where applyFormSchemaOptionIdSubstitutions actually
250
- * rewrote an OptionId slot. */
269
+ * rewrote an option-id slot. */
251
270
  fieldOptionsMap?: FieldOptionsMap;
252
- /** Semantic names whose OptionId slots were rewritten by the generator —
271
+ /** Semantic names whose option-id slots were rewritten by the generator —
253
272
  * each gets an OPT_<Name> constant and a z.enum payload field. */
254
273
  discoveredOptionFields?: Set<string>;
255
- /** Map of FieldName-derived raw-option payload field name (e.g.
256
- * `WereYouReferredOptionId`) → recon-observed OptionId UUID. Each becomes
274
+ /** Map of label-derived raw-option payload field name (e.g.
275
+ * `WereYouReferredOptionId`) → recon-observed option-id UUID. Each becomes
257
276
  * a `<name>: z.string()` payload field with the recon-observed UUID
258
- * documented in a TSDoc comment. Used for FieldOptions with empty Values
277
+ * documented in a TSDoc comment. Used for options with empty labels
259
278
  * where T3's structured enum can't be emitted. */
260
279
  discoveredRawOptionFields?: Map<string, string>;
261
280
  /** Phase F: top-level keys observed in action POST bodies beyond r0
@@ -293,9 +312,13 @@ type FlowStepInput = string | {
293
312
  * `recovered` carries the request contract the `.ts` path infers from real
294
313
  * captures — the first POST body's fields plus form-schema discoveries — so
295
314
  * `--emit config` no longer throws that away and emit a request schema built
296
- * only from the handful of flow-step splice hints. The direct-HTTP hot path is
297
- * still omitted; a site that needs it keeps the `.ts` path or wires
298
- * `spec.httpModule` by hand.
315
+ * only from the handful of flow-step splice hints.
316
+ *
317
+ * When the site has a direct-HTTP path (a submission flow whose `.ts` emit would
318
+ * carry an `executeHttp`), `httpModulePath` emits a `spec.httpModule` reference
319
+ * to a compiled module the operator drops in — the config plugin's escape hatch
320
+ * for the imperative hot path a JSON manifest cannot express. Absent that, the
321
+ * browser `flow` is the only execution path, and the field is omitted.
299
322
  */
300
323
  export declare function emitConfigManifest(opts: {
301
324
  siteId: string;
@@ -307,6 +330,12 @@ export declare function emitConfigManifest(opts: {
307
330
  inputBody?: unknown;
308
331
  /** Form-schema fields the recon recovered, added as caller-supplied strings. */
309
332
  recoveredFields?: Iterable<string>;
333
+ /**
334
+ * Relative path to the compiled `executeHttp` module for a site with a
335
+ * direct-HTTP path. Emitted as `spec.httpModule`; omitted when the site is
336
+ * browser-only.
337
+ */
338
+ httpModulePath?: string;
310
339
  }): string;
311
340
  /**
312
341
  * Emit the generated browser-flow module and return the accumulated set of
@@ -1 +1 @@
1
- {"version":3,"file":"recon-generate.d.ts","sourceRoot":"","sources":["../../src/scripts/recon-generate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAiBH,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAGL,KAAK,OAAO,EAKb,MAAM,wBAAwB,CAAC;AA2EhC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,OAAO,EACnB,UAAU,GAAE,eAAmD,GAC9D,MAAM,GAAG,IAAI,CAoBf;AAUD,UAAU,SAAS;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,C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