@uniteverses/shared 1.0.74 → 1.0.76

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.
@@ -9,4 +9,5 @@ export * from "./org_property_research_workflow_run/constants";
9
9
  export * from "./org_property_research_workflow_step_progress/types";
10
10
  export * from "./org_property_research_workflow_task_progress/types";
11
11
  export * from "./org_property_research_workflow_scenario_check/types";
12
+ export * from "./org_property_research_workflow_scenario_resolution/types";
12
13
  export * from "./org_property_research_workflow_instruction_check/types";
@@ -25,4 +25,5 @@ __exportStar(require("./org_property_research_workflow_run/constants"), exports)
25
25
  __exportStar(require("./org_property_research_workflow_step_progress/types"), exports);
26
26
  __exportStar(require("./org_property_research_workflow_task_progress/types"), exports);
27
27
  __exportStar(require("./org_property_research_workflow_scenario_check/types"), exports);
28
+ __exportStar(require("./org_property_research_workflow_scenario_resolution/types"), exports);
28
29
  __exportStar(require("./org_property_research_workflow_instruction_check/types"), exports);
@@ -0,0 +1,12 @@
1
+ export type LawyersRealEstateAssistantsResearchOrgPropertyResearchWorkflowScenarioResolutionInput = {
2
+ scraped: Record<string, string>;
3
+ };
4
+ export type LawyersRealEstateAssistantsResearchOrgPropertyResearchWorkflowScenarioResolution = {
5
+ results: {
6
+ scenarioId: string;
7
+ condition: string;
8
+ applies: boolean;
9
+ reason: string;
10
+ checkedAt: string | null;
11
+ }[];
12
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // scenario resolution: the extension POSTs the data it scraped for a task; the backend asks the LLM
3
+ // which of that task's scenario conditions the data satisfies, writes the matching ScenarioChecks,
4
+ // and returns the per-scenario verdicts.
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,4 +4,5 @@ export declare const LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_T
4
4
  readonly NAVIGATE: "navigate";
5
5
  readonly WAIT_FOR: "waitFor";
6
6
  readonly EXTRACT: "extract";
7
+ readonly COUNT: "count";
7
8
  };
@@ -9,4 +9,5 @@ exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_TYPES = {
9
9
  NAVIGATE: "navigate",
10
10
  WAIT_FOR: "waitFor",
11
11
  EXTRACT: "extract",
12
+ COUNT: "count",
12
13
  };
@@ -1,4 +1,4 @@
1
- export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationActionType = "click" | "type" | "navigate" | "waitFor" | "extract";
1
+ export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationActionType = "click" | "type" | "navigate" | "waitFor" | "extract" | "count";
2
2
  export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction = {
3
3
  action: "click";
4
4
  selector: string;
@@ -20,4 +20,8 @@ export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskI
20
20
  selector: string;
21
21
  as: string;
22
22
  attribute?: string;
23
+ } | {
24
+ action: "count";
25
+ selector: string;
26
+ as: string;
23
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [