mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
fix(recording): using unified geometry
This commit is contained in:
1 parent
21476c3884
commit
87cdcfe5ca
35 files changed
+1952
-2087
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Build a semantic TargetDescriptor for an interacted element.
|
||||
* Build a semantic capture descriptor for an interacted element.
|
||||
*
|
||||
* Trace steps are an LLM *textbook*: each click must say what to look for
|
||||
* on screen (usually a short visible name). Tag-only noise like
|
||||
@@ -16,9 +16,6 @@ export interface CaptureTargetDescriptor {
|
||||
nearby_label?: string;
|
||||
}
|
||||
|
||||
/** @deprecated Capture-time alias retained until the recorder integration migrates. */
|
||||
export type TargetDescriptor = CaptureTargetDescriptor;
|
||||
|
||||
/** Max length for a label that is still a useful “find this on screen” hint. */
|
||||
const ACTIONABLE_LABEL_MAX = 48;
|
||||
|
||||
|
||||
Reference in new issue
Block a user