context-drop 0.0.0-stage → 0.2.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/MIT-LICENSE +21 -0
- package/README.md +709 -2
- package/app/assets/javascripts/context_drop/context_drop.js +8936 -0
- package/dist/app/javascript/context_drop/api-client.d.ts +41 -0
- package/dist/app/javascript/context_drop/api-client.js +279 -0
- package/dist/app/javascript/context_drop/element-picker.d.ts +111 -0
- package/dist/app/javascript/context_drop/element-picker.js +1428 -0
- package/dist/app/javascript/context_drop/icons.d.ts +32 -0
- package/dist/app/javascript/context_drop/icons.js +32 -0
- package/dist/app/javascript/context_drop/index.d.ts +7 -0
- package/dist/app/javascript/context_drop/index.js +9 -0
- package/dist/app/javascript/context_drop/markdown.d.ts +7 -0
- package/dist/app/javascript/context_drop/markdown.js +129 -0
- package/dist/app/javascript/context_drop/sanitizer.d.ts +38 -0
- package/dist/app/javascript/context_drop/sanitizer.js +769 -0
- package/dist/app/javascript/context_drop/screenshot.d.ts +21 -0
- package/dist/app/javascript/context_drop/screenshot.js +245 -0
- package/dist/app/javascript/context_drop/styles.d.ts +1 -0
- package/dist/app/javascript/context_drop/styles.js +2015 -0
- package/dist/app/javascript/context_drop/types.d.ts +239 -0
- package/dist/app/javascript/context_drop/types.js +1 -0
- package/dist/app/javascript/context_drop/widget.d.ts +188 -0
- package/dist/app/javascript/context_drop/widget.js +3227 -0
- package/dist/src/cli.d.ts +3 -0
- package/dist/src/cli.js +207 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.js +5 -0
- package/dist/src/mcp/dispatcher.d.ts +42 -0
- package/dist/src/mcp/dispatcher.js +869 -0
- package/dist/src/mcp/environment-router.d.ts +38 -0
- package/dist/src/mcp/environment-router.js +174 -0
- package/dist/src/mcp/index.d.ts +24 -0
- package/dist/src/mcp/index.js +75 -0
- package/dist/src/mcp/remote-client.d.ts +25 -0
- package/dist/src/mcp/remote-client.js +98 -0
- package/dist/src/next/index.d.ts +13 -0
- package/dist/src/next/index.js +25 -0
- package/dist/src/next/server.d.ts +1 -0
- package/dist/src/next/server.js +1 -0
- package/dist/src/react/index.d.ts +90 -0
- package/dist/src/react/index.js +124 -0
- package/dist/src/server/handler.d.ts +42 -0
- package/dist/src/server/handler.js +677 -0
- package/dist/src/server/index.d.ts +8 -0
- package/dist/src/server/index.js +8 -0
- package/dist/src/server/sanitizer.d.ts +15 -0
- package/dist/src/server/sanitizer.js +201 -0
- package/dist/src/server/storage/local.d.ts +22 -0
- package/dist/src/server/storage/local.js +574 -0
- package/dist/src/server/storage/memory.d.ts +5 -0
- package/dist/src/server/storage/memory.js +221 -0
- package/dist/src/server/storage/postgres.d.ts +27 -0
- package/dist/src/server/storage/postgres.js +446 -0
- package/dist/src/server/types.d.ts +190 -0
- package/dist/src/server/types.js +7 -0
- package/dist/src/server/upload-validator.d.ts +16 -0
- package/dist/src/server/upload-validator.js +196 -0
- package/dist/src/widget/index.d.ts +1 -0
- package/dist/src/widget/index.js +1 -0
- package/package.json +99 -4
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
export type WidgetPosition = "bottom_right" | "bottom_left" | "top_right" | "top_left";
|
|
2
|
+
export type WidgetSurfaceMode = "agent" | "feedback";
|
|
3
|
+
export type SelectionMode = "smart" | "verbose";
|
|
4
|
+
export interface BoundingRectSnapshot {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ViewportSnapshot {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
}
|
|
14
|
+
export interface ElementReferenceSnapshot {
|
|
15
|
+
client_ref: string;
|
|
16
|
+
tag_name: string;
|
|
17
|
+
selector: string;
|
|
18
|
+
dom_path: string;
|
|
19
|
+
text_content: string | null;
|
|
20
|
+
attributes_snapshot: Record<string, string>;
|
|
21
|
+
bounding_rect: BoundingRectSnapshot;
|
|
22
|
+
viewport: ViewportSnapshot;
|
|
23
|
+
metadata: Record<string, unknown>;
|
|
24
|
+
captured_at: string;
|
|
25
|
+
}
|
|
26
|
+
export type ElementCandidateRelation = "target" | "overlap" | "ancestor" | "child";
|
|
27
|
+
export interface ElementCandidateInfo {
|
|
28
|
+
element: Element;
|
|
29
|
+
tagName: string;
|
|
30
|
+
selector: string;
|
|
31
|
+
domPath: string;
|
|
32
|
+
textPreview: string | null;
|
|
33
|
+
friendlyLabel?: string;
|
|
34
|
+
componentKind?: string;
|
|
35
|
+
rect: BoundingRectSnapshot;
|
|
36
|
+
relation: ElementCandidateRelation;
|
|
37
|
+
depth: number;
|
|
38
|
+
}
|
|
39
|
+
export interface SmartComponentDescription {
|
|
40
|
+
element: Element;
|
|
41
|
+
label: string;
|
|
42
|
+
kind: string;
|
|
43
|
+
name: string | null;
|
|
44
|
+
promotedFromLeaf: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface PendingAttachmentItem {
|
|
47
|
+
id: string;
|
|
48
|
+
attachment_type: "image" | "screenshot";
|
|
49
|
+
label: string;
|
|
50
|
+
preview_url: string;
|
|
51
|
+
blob?: Blob;
|
|
52
|
+
signed_blob_id?: string;
|
|
53
|
+
data_url?: string;
|
|
54
|
+
filename: string;
|
|
55
|
+
element_reference_ref?: string;
|
|
56
|
+
metadata: Record<string, unknown>;
|
|
57
|
+
}
|
|
58
|
+
export interface SessionFeedbackEntry {
|
|
59
|
+
id: number | string;
|
|
60
|
+
message: string;
|
|
61
|
+
createdAt: string;
|
|
62
|
+
elements: ElementReferenceSnapshot[];
|
|
63
|
+
attachments: Array<{
|
|
64
|
+
id: string;
|
|
65
|
+
label: string;
|
|
66
|
+
preview_url: string;
|
|
67
|
+
attachment_type: "image" | "screenshot";
|
|
68
|
+
}>;
|
|
69
|
+
}
|
|
70
|
+
export interface ContextDropApiClientOptions {
|
|
71
|
+
credentials?: RequestCredentials;
|
|
72
|
+
headers?: Record<string, string>;
|
|
73
|
+
}
|
|
74
|
+
export interface WidgetConfig {
|
|
75
|
+
enabled: boolean;
|
|
76
|
+
environment?: string;
|
|
77
|
+
position: WidgetPosition;
|
|
78
|
+
placeholder: string;
|
|
79
|
+
csrf_token?: string | null;
|
|
80
|
+
agent?: {
|
|
81
|
+
enabled: boolean;
|
|
82
|
+
};
|
|
83
|
+
features: {
|
|
84
|
+
element_selection: boolean;
|
|
85
|
+
selection_mode?: SelectionMode;
|
|
86
|
+
screenshot_capture: boolean;
|
|
87
|
+
element_capture_padding: number;
|
|
88
|
+
smart_capture_padding?: number;
|
|
89
|
+
};
|
|
90
|
+
limits: {
|
|
91
|
+
max_attachments: number;
|
|
92
|
+
max_element_references: number;
|
|
93
|
+
max_attachment_size: number;
|
|
94
|
+
allowed_content_types: string[];
|
|
95
|
+
max_image_dimensions: [number, number];
|
|
96
|
+
};
|
|
97
|
+
privacy: {
|
|
98
|
+
excluded_selectors: string[];
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export interface FeedbackSubmissionPayload {
|
|
102
|
+
message: string;
|
|
103
|
+
page_url: string;
|
|
104
|
+
user_agent: string;
|
|
105
|
+
metadata: Record<string, unknown>;
|
|
106
|
+
element_references: ElementReferenceSnapshot[];
|
|
107
|
+
attachments: Array<{
|
|
108
|
+
attachment_type: "image" | "screenshot";
|
|
109
|
+
filename: string;
|
|
110
|
+
signed_blob_id?: string;
|
|
111
|
+
data_url?: string;
|
|
112
|
+
element_reference_ref?: string;
|
|
113
|
+
metadata: Record<string, unknown>;
|
|
114
|
+
}>;
|
|
115
|
+
}
|
|
116
|
+
export interface FeedbackSubmissionResponse {
|
|
117
|
+
id: number;
|
|
118
|
+
environment?: string;
|
|
119
|
+
status: string;
|
|
120
|
+
attachments_count: number;
|
|
121
|
+
element_references_count: number;
|
|
122
|
+
created_at: string;
|
|
123
|
+
}
|
|
124
|
+
export interface AgentProviderInfo {
|
|
125
|
+
id: string;
|
|
126
|
+
label: string;
|
|
127
|
+
configured: boolean;
|
|
128
|
+
source: "vault" | "env" | "local_no_key" | null;
|
|
129
|
+
env_var_hint: string;
|
|
130
|
+
masked_key: string | null;
|
|
131
|
+
model: string;
|
|
132
|
+
default_model: string;
|
|
133
|
+
models: string[];
|
|
134
|
+
supports_base_url: boolean;
|
|
135
|
+
base_url?: string | null;
|
|
136
|
+
}
|
|
137
|
+
export interface AgentEnvironmentInfo {
|
|
138
|
+
name: string;
|
|
139
|
+
type: string;
|
|
140
|
+
host_env?: string;
|
|
141
|
+
url?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface AgentStatusResponse {
|
|
144
|
+
enabled: boolean;
|
|
145
|
+
environment: string;
|
|
146
|
+
workspace_name: string;
|
|
147
|
+
mcp_environments: AgentEnvironmentInfo[];
|
|
148
|
+
active_provider: string;
|
|
149
|
+
providers: AgentProviderInfo[];
|
|
150
|
+
}
|
|
151
|
+
export interface AgentKeysUpdatePayload {
|
|
152
|
+
provider: string;
|
|
153
|
+
api_key?: string;
|
|
154
|
+
model?: string;
|
|
155
|
+
base_url?: string;
|
|
156
|
+
make_active?: boolean;
|
|
157
|
+
}
|
|
158
|
+
export interface AgentKeysUpdateResponse {
|
|
159
|
+
active_provider: string;
|
|
160
|
+
providers: AgentProviderInfo[];
|
|
161
|
+
}
|
|
162
|
+
export interface AgentToolTrace {
|
|
163
|
+
name: string;
|
|
164
|
+
summary: string;
|
|
165
|
+
status: "ok" | "error";
|
|
166
|
+
}
|
|
167
|
+
export interface ProposedFileEdit {
|
|
168
|
+
id: string;
|
|
169
|
+
path: string;
|
|
170
|
+
summary: string;
|
|
171
|
+
is_new_file: boolean;
|
|
172
|
+
diff: string;
|
|
173
|
+
added_lines: number;
|
|
174
|
+
removed_lines: number;
|
|
175
|
+
status: "pending" | "applied" | "rejected" | "reverted";
|
|
176
|
+
created_at: string;
|
|
177
|
+
}
|
|
178
|
+
export interface AgentChatTurnInput {
|
|
179
|
+
role: "user" | "assistant";
|
|
180
|
+
content: string;
|
|
181
|
+
}
|
|
182
|
+
export interface AgentChatRequestPayload {
|
|
183
|
+
messages: AgentChatTurnInput[];
|
|
184
|
+
page_url: string;
|
|
185
|
+
element_references: ElementReferenceSnapshot[];
|
|
186
|
+
attachments: Array<{
|
|
187
|
+
attachment_type: "image" | "screenshot";
|
|
188
|
+
filename: string;
|
|
189
|
+
data_url?: string;
|
|
190
|
+
}>;
|
|
191
|
+
provider?: string;
|
|
192
|
+
model?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface AgentChatResponse {
|
|
195
|
+
reply: string;
|
|
196
|
+
provider: string;
|
|
197
|
+
model: string;
|
|
198
|
+
tool_calls: AgentToolTrace[];
|
|
199
|
+
proposed_edits: ProposedFileEdit[];
|
|
200
|
+
}
|
|
201
|
+
export interface AgentChatMessage {
|
|
202
|
+
id: string;
|
|
203
|
+
role: "user" | "assistant";
|
|
204
|
+
content: string;
|
|
205
|
+
createdAt: string;
|
|
206
|
+
elements?: ElementReferenceSnapshot[];
|
|
207
|
+
attachments?: Array<{
|
|
208
|
+
id: string;
|
|
209
|
+
label: string;
|
|
210
|
+
preview_url: string;
|
|
211
|
+
attachment_type: "image" | "screenshot";
|
|
212
|
+
}>;
|
|
213
|
+
toolCalls?: AgentToolTrace[];
|
|
214
|
+
proposedEdits?: ProposedFileEdit[];
|
|
215
|
+
provider?: string;
|
|
216
|
+
model?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface CrossEnvFeedbackItem {
|
|
219
|
+
id: number | string;
|
|
220
|
+
qualified_id?: string;
|
|
221
|
+
environment: string;
|
|
222
|
+
message: string;
|
|
223
|
+
page_url: string;
|
|
224
|
+
status: string;
|
|
225
|
+
primary_selector?: string | null;
|
|
226
|
+
element_references_count: number;
|
|
227
|
+
attachments_count: number;
|
|
228
|
+
created_at: string;
|
|
229
|
+
}
|
|
230
|
+
export interface CrossEnvFeedbackListResponse {
|
|
231
|
+
environment_filter?: string;
|
|
232
|
+
total_count: number;
|
|
233
|
+
environments_queried?: string[];
|
|
234
|
+
errors?: Array<{
|
|
235
|
+
environment: string;
|
|
236
|
+
error: string;
|
|
237
|
+
}>;
|
|
238
|
+
feedbacks: CrossEnvFeedbackItem[];
|
|
239
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { AgentChatMessage, ContextDropApiClientOptions, ElementReferenceSnapshot, PendingAttachmentItem, SessionFeedbackEntry, WidgetConfig, WidgetPosition, WidgetSurfaceMode } from "./types.js";
|
|
2
|
+
export declare const DEFAULT_SIDEBAR_WIDTH = 560;
|
|
3
|
+
declare const BaseHTMLElement: typeof HTMLElement;
|
|
4
|
+
export declare class ContextDropWidgetElement extends BaseHTMLElement {
|
|
5
|
+
static get observedAttributes(): string[];
|
|
6
|
+
shadow: ShadowRoot | null;
|
|
7
|
+
private config;
|
|
8
|
+
private customMetadata;
|
|
9
|
+
private customHeaders;
|
|
10
|
+
private apiClient;
|
|
11
|
+
private picker;
|
|
12
|
+
private isOpen;
|
|
13
|
+
private isMinimized;
|
|
14
|
+
private isSubmitting;
|
|
15
|
+
private isAgentBusy;
|
|
16
|
+
private surfaceMode;
|
|
17
|
+
private sidebarSide;
|
|
18
|
+
private sidebarWidth;
|
|
19
|
+
private currentTheme;
|
|
20
|
+
private composerThemeToggleBtn;
|
|
21
|
+
private sidebarThemeToggleBtn;
|
|
22
|
+
private pushPageLayout;
|
|
23
|
+
private freePos;
|
|
24
|
+
private isPeelDragging;
|
|
25
|
+
private customPlaceholderSet;
|
|
26
|
+
private pendingSmartCaptures;
|
|
27
|
+
private elementReferences;
|
|
28
|
+
private elementDomNodes;
|
|
29
|
+
private attachments;
|
|
30
|
+
private sessionHistory;
|
|
31
|
+
private agentStatusLoaded;
|
|
32
|
+
private agentWorkspaceName;
|
|
33
|
+
private agentMcpEnvironments;
|
|
34
|
+
private agentProviders;
|
|
35
|
+
private activeProviderId;
|
|
36
|
+
private selectedVaultProviderId;
|
|
37
|
+
private isByokDrawerOpen;
|
|
38
|
+
private isFeedbacksDrawerOpen;
|
|
39
|
+
private feedbacksEnvFilter;
|
|
40
|
+
private crossEnvFeedbacks;
|
|
41
|
+
private isLoadingFeedbacks;
|
|
42
|
+
private agentMessages;
|
|
43
|
+
private rootContainer;
|
|
44
|
+
private bookCornerBtn;
|
|
45
|
+
private bookCornerCountEl;
|
|
46
|
+
private bookCornerAgentDotEl;
|
|
47
|
+
private bookCornerHintEl;
|
|
48
|
+
private dragPinEl;
|
|
49
|
+
private cornerSnapGhostEl;
|
|
50
|
+
private compactBarEl;
|
|
51
|
+
private compactStatusEl;
|
|
52
|
+
private compactStepGroupEl;
|
|
53
|
+
private compactLayerUpBtn;
|
|
54
|
+
private compactLayerDownBtn;
|
|
55
|
+
private compactDoneBtn;
|
|
56
|
+
private compactPinBtn;
|
|
57
|
+
private composerEl;
|
|
58
|
+
private composerTitleEl;
|
|
59
|
+
private composerMinBtn;
|
|
60
|
+
private cornerPinBtn;
|
|
61
|
+
private composerModeSwitchWrap;
|
|
62
|
+
private composerToolbarPickBtn;
|
|
63
|
+
private composerToolbarScreenshotBtn;
|
|
64
|
+
private composerToolbarUploadBtn;
|
|
65
|
+
private chatThreadEl;
|
|
66
|
+
private textareaEl;
|
|
67
|
+
private trayEl;
|
|
68
|
+
private statusEl;
|
|
69
|
+
private fileInputEl;
|
|
70
|
+
private submitBtn;
|
|
71
|
+
private agentSidebarEl;
|
|
72
|
+
private sidebarPinBtn;
|
|
73
|
+
private sidebarEnvPillEl;
|
|
74
|
+
private sidebarPushBtn;
|
|
75
|
+
private keyDotEl;
|
|
76
|
+
private providerPillLabelEl;
|
|
77
|
+
private keysToggleBtn;
|
|
78
|
+
private feedbacksToggleBtn;
|
|
79
|
+
private byokDrawerEl;
|
|
80
|
+
private byokProviderSelect;
|
|
81
|
+
private byokModelInput;
|
|
82
|
+
private byokModelPresetsSelect;
|
|
83
|
+
private byokBaseUrlField;
|
|
84
|
+
private byokBaseUrlInput;
|
|
85
|
+
private byokKeySourceBadge;
|
|
86
|
+
private byokKeyInput;
|
|
87
|
+
private feedbacksDrawerEl;
|
|
88
|
+
private feedbacksTabsEl;
|
|
89
|
+
private feedbacksListEl;
|
|
90
|
+
private agentStreamEl;
|
|
91
|
+
private agentTrayEl;
|
|
92
|
+
private agentStatusEl;
|
|
93
|
+
private agentTextareaEl;
|
|
94
|
+
private agentSendBtn;
|
|
95
|
+
private lastPointerX;
|
|
96
|
+
private lastPointerY;
|
|
97
|
+
private boundTrackPointer;
|
|
98
|
+
private boundGlobalKeyDown;
|
|
99
|
+
private cancelActivePeelDrag;
|
|
100
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
101
|
+
connectedCallback(): void;
|
|
102
|
+
disconnectedCallback(): void;
|
|
103
|
+
getConfig(): WidgetConfig;
|
|
104
|
+
setEndpoint(endpoint: string, options?: ContextDropApiClientOptions): void;
|
|
105
|
+
setHeaders(headers: Record<string, string>): void;
|
|
106
|
+
setCredentials(credentials: RequestCredentials): void;
|
|
107
|
+
setCustomMetadata(metadata: Record<string, unknown>): void;
|
|
108
|
+
private emitWidgetEvent;
|
|
109
|
+
setWidgetConfig(partial: Partial<WidgetConfig>): void;
|
|
110
|
+
getSurfaceMode(): WidgetSurfaceMode;
|
|
111
|
+
setSurfaceMode(mode: WidgetSurfaceMode): void;
|
|
112
|
+
getElementReferences(): ElementReferenceSnapshot[];
|
|
113
|
+
getAttachments(): PendingAttachmentItem[];
|
|
114
|
+
getSessionHistory(): SessionFeedbackEntry[];
|
|
115
|
+
getAgentMessages(): AgentChatMessage[];
|
|
116
|
+
isAgentModeActive(): boolean;
|
|
117
|
+
isSmartSelectionMode(): boolean;
|
|
118
|
+
private getElementFriendlyLabel;
|
|
119
|
+
openComposer(): void;
|
|
120
|
+
closeComposer(): void;
|
|
121
|
+
toggleComposer(): void;
|
|
122
|
+
minimizeToCompactBar(): void;
|
|
123
|
+
expandFromCompactBar(): void;
|
|
124
|
+
startPinSelection(): void;
|
|
125
|
+
togglePinSelection(): void;
|
|
126
|
+
getTheme(): "light" | "dark";
|
|
127
|
+
setTheme(theme: "light" | "dark"): void;
|
|
128
|
+
toggleTheme(): void;
|
|
129
|
+
private initTheme;
|
|
130
|
+
private applyTheme;
|
|
131
|
+
private buildThemeToggleBtn;
|
|
132
|
+
private updateThemeToggleBtn;
|
|
133
|
+
setCornerPosition(position: WidgetPosition): void;
|
|
134
|
+
setFreePosition(left: number, top: number): void;
|
|
135
|
+
addElementReference(snapshot: ElementReferenceSnapshot, elementNode?: Element): boolean;
|
|
136
|
+
removeElementReference(clientRef: string): void;
|
|
137
|
+
removeAttachment(attachmentId: string): void;
|
|
138
|
+
private focusActiveInput;
|
|
139
|
+
private hydrateConfigFromServer;
|
|
140
|
+
private readDataAttributes;
|
|
141
|
+
private detectViewportSnapCorner;
|
|
142
|
+
private isOutsideCornerZone;
|
|
143
|
+
private attachBookCornerLauncher;
|
|
144
|
+
private attachDragHandle;
|
|
145
|
+
private attachSidebarResizer;
|
|
146
|
+
private syncHostPagePushMargin;
|
|
147
|
+
private renderShadowDom;
|
|
148
|
+
private buildCompactBarDom;
|
|
149
|
+
private buildModeSwitchDom;
|
|
150
|
+
private buildFeedbackComposerDom;
|
|
151
|
+
private buildPromptToolbarActions;
|
|
152
|
+
private buildAgentSidebarDom;
|
|
153
|
+
private buildByokDrawerDom;
|
|
154
|
+
private buildFeedbacksDrawerDom;
|
|
155
|
+
private getShortEnvironmentSlug;
|
|
156
|
+
private toggleByokDrawer;
|
|
157
|
+
private toggleFeedbacksDrawer;
|
|
158
|
+
private ensureAgentStatusLoaded;
|
|
159
|
+
private getActiveProviderInfo;
|
|
160
|
+
private syncProviderControls;
|
|
161
|
+
private syncByokDrawerFields;
|
|
162
|
+
private handleSaveByokSettings;
|
|
163
|
+
private handleClearByokKey;
|
|
164
|
+
private loadCrossEnvFeedbacks;
|
|
165
|
+
private renderFeedbacksDrawerContent;
|
|
166
|
+
private renderAgentStream;
|
|
167
|
+
private buildDiffCardDom;
|
|
168
|
+
private handleEditDecision;
|
|
169
|
+
handleAgentSubmit(): Promise<void>;
|
|
170
|
+
private syncPinActiveIndicators;
|
|
171
|
+
private getVisibleContextCount;
|
|
172
|
+
private syncUiStates;
|
|
173
|
+
private renderCompactCoachBar;
|
|
174
|
+
private renderChatThread;
|
|
175
|
+
private renderTray;
|
|
176
|
+
private populateTrayElement;
|
|
177
|
+
private handleFilesSelected;
|
|
178
|
+
private handlePaste;
|
|
179
|
+
private readFileAsDataUrl;
|
|
180
|
+
private handleViewportScreenshot;
|
|
181
|
+
private handleElementScreenshot;
|
|
182
|
+
private captureSmartSurroundingContext;
|
|
183
|
+
handleSubmit(): Promise<void>;
|
|
184
|
+
private hideStatus;
|
|
185
|
+
private showStatus;
|
|
186
|
+
}
|
|
187
|
+
export declare function registerContextDropWidget(): void;
|
|
188
|
+
export {};
|