@uniteverses/shared 1.0.70 → 1.0.71
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/domains/lawyers/real_estate/assistants/research/index.d.ts +2 -0
- package/dist/domains/lawyers/real_estate/assistants/research/index.js +2 -0
- package/dist/domains/lawyers/real_estate/assistants/research/org_property_research_workflow_run/constants.d.ts +1 -0
- package/dist/domains/lawyers/real_estate/assistants/research/org_property_research_workflow_run/constants.js +5 -1
- package/dist/domains/lawyers/real_estate/assistants/research/org_property_research_workflow_run/types.d.ts +2 -1
- package/dist/domains/lawyers/real_estate/assistants/research/property_research_workflow_step_task_instruction/constants.d.ts +7 -0
- package/dist/domains/lawyers/real_estate/assistants/research/property_research_workflow_step_task_instruction/constants.js +12 -0
- package/dist/domains/lawyers/real_estate/assistants/research/property_research_workflow_step_task_instruction/types.d.ts +23 -0
- package/dist/domains/lawyers/real_estate/assistants/research/property_research_workflow_step_task_instruction/types.js +9 -0
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@ export * from "./organization/types";
|
|
|
2
2
|
export * from "./organization_membership/types";
|
|
3
3
|
export * from "./org_property/types";
|
|
4
4
|
export * from "./property_research_workflow/types";
|
|
5
|
+
export * from "./property_research_workflow_step_task_instruction/types";
|
|
6
|
+
export * from "./property_research_workflow_step_task_instruction/constants";
|
|
5
7
|
export * from "./org_property_research_workflow_run/types";
|
|
6
8
|
export * from "./org_property_research_workflow_run/constants";
|
|
7
9
|
export * from "./org_property_research_workflow_step_progress/types";
|
|
@@ -18,6 +18,8 @@ __exportStar(require("./organization/types"), exports);
|
|
|
18
18
|
__exportStar(require("./organization_membership/types"), exports);
|
|
19
19
|
__exportStar(require("./org_property/types"), exports);
|
|
20
20
|
__exportStar(require("./property_research_workflow/types"), exports);
|
|
21
|
+
__exportStar(require("./property_research_workflow_step_task_instruction/types"), exports);
|
|
22
|
+
__exportStar(require("./property_research_workflow_step_task_instruction/constants"), exports);
|
|
21
23
|
__exportStar(require("./org_property_research_workflow_run/types"), exports);
|
|
22
24
|
__exportStar(require("./org_property_research_workflow_run/constants"), exports);
|
|
23
25
|
__exportStar(require("./org_property_research_workflow_step_progress/types"), exports);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TOGGLE_SEGMENTS = void 0;
|
|
3
|
+
exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_EXTENSION_RUN_HASH_KEY = exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TOGGLE_SEGMENTS = void 0;
|
|
4
4
|
exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_ORG_PROPERTY_RUN_TOGGLE_SEGMENTS = {
|
|
5
5
|
STEPS: "steps",
|
|
6
6
|
TASKS: "tasks",
|
|
7
7
|
SCENARIOS: "scenarios",
|
|
8
8
|
INSTRUCTIONS: "instructions",
|
|
9
9
|
};
|
|
10
|
+
// the URL hash key the website writes the run id under when opening the research site
|
|
11
|
+
// in a new tab (`database.url#lrarRunId=<id>`). the extension's content script reads it
|
|
12
|
+
// to learn which run to drive. only the id travels here — never a token.
|
|
13
|
+
exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_EXTENSION_RUN_HASH_KEY = "lrarRunId";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction } from "../property_research_workflow_step_task_instruction/types";
|
|
1
2
|
export type LawyersRealEstateAssistantsResearchOrgPropertyResearchWorkflowRun = {
|
|
2
3
|
id: string;
|
|
3
4
|
propertyId: string;
|
|
@@ -56,7 +57,7 @@ export type LawyersRealEstateAssistantsResearchOrgPropertyResearchWorkflowRunDet
|
|
|
56
57
|
id: string;
|
|
57
58
|
position: number;
|
|
58
59
|
humanInstructions: string;
|
|
59
|
-
|
|
60
|
+
navigationInstructions: LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction[] | null;
|
|
60
61
|
checkedAt: string | null;
|
|
61
62
|
}[];
|
|
62
63
|
}[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_TYPES = void 0;
|
|
4
|
+
// the action discriminator values — referenced as TS literals by the extension runner
|
|
5
|
+
// (to branch on action kind) and any authoring UI. named once here so a rename propagates.
|
|
6
|
+
exports.LAWYERS_REAL_ESTATE_ASSISTANTS_RESEARCH_NAVIGATION_ACTION_TYPES = {
|
|
7
|
+
CLICK: "click",
|
|
8
|
+
TYPE: "type",
|
|
9
|
+
NAVIGATE: "navigate",
|
|
10
|
+
WAIT_FOR: "waitFor",
|
|
11
|
+
EXTRACT: "extract",
|
|
12
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationActionType = "click" | "type" | "navigate" | "waitFor" | "extract";
|
|
2
|
+
export type LawyersRealEstateAssistantsResearchPropertyResearchWorkflowStepTaskInstructionNavigationAction = {
|
|
3
|
+
action: "click";
|
|
4
|
+
selector: string;
|
|
5
|
+
optional?: boolean;
|
|
6
|
+
} | {
|
|
7
|
+
action: "type";
|
|
8
|
+
selector: string;
|
|
9
|
+
value: string;
|
|
10
|
+
optional?: boolean;
|
|
11
|
+
} | {
|
|
12
|
+
action: "navigate";
|
|
13
|
+
url: string;
|
|
14
|
+
} | {
|
|
15
|
+
action: "waitFor";
|
|
16
|
+
selector: string;
|
|
17
|
+
timeoutMs?: number;
|
|
18
|
+
} | {
|
|
19
|
+
action: "extract";
|
|
20
|
+
selector: string;
|
|
21
|
+
as: string;
|
|
22
|
+
attribute?: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// the structured content of an instruction's `navigationInstructions` column.
|
|
3
|
+
// each instruction row carries an ordered array of these deterministic DOM actions;
|
|
4
|
+
// the browser extension executes them top-to-bottom. these are NOT prompts for an LLM —
|
|
5
|
+
// the extension is a scripted runner. the LLM only judges scraped data afterwards.
|
|
6
|
+
//
|
|
7
|
+
// `value` and `url` may contain `{{path}}` template tokens (e.g. `{{property.bbl}}`)
|
|
8
|
+
// which the extension substitutes from the run context before acting.
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|