@wenathlan/extension 1.1.39 → 1.1.40
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/README.md +5 -4
- package/dist/capture.d.ts +161 -0
- package/dist/capture.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +360 -4
- package/dist/index.js.map +3 -3
- package/dist/memory.d.ts +17 -1
- package/dist/memory.d.ts.map +1 -1
- package/dist/policy.d.ts +19 -1
- package/dist/policy.d.ts.map +1 -1
- package/dist/protocol.d.ts +18 -2
- package/dist/protocol.d.ts.map +1 -1
- package/dist/types.d.ts +89 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/extension/dist/background.js +841 -50
- package/extension/dist/background.js.map +4 -4
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/pagebridge.js +53 -2
- package/extension/dist/pagebridge.js.map +2 -2
- package/extension/dist/popup.html +1 -1
- package/extension/dist/popup.js +9 -1
- package/extension/dist/popup.js.map +2 -2
- package/extension/dist/sidepanel.html +1 -1
- package/extension/dist/sidepanel.js +138 -1
- package/extension/dist/sidepanel.js.map +2 -2
- package/extension/dist/style.css +2 -0
- package/extension/manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Devthink is a **consent-first browser-agent bridge** distributed as a TypeScript library and a Chromium Manifest V3 extension. It turns a user-provided browser objective into a bounded, reviewable plan. The user must start the active-tab session and approve the plan before any page action reaches the browser.
|
|
4
4
|
|
|
5
|
-
Version: **1.1.
|
|
5
|
+
Version: **1.1.40**. License: **GPL-3.0-only**. The repository is `wenathlan/extension`; the npm-compatible scoped package identifier is `@wenathlan/extension`.
|
|
6
6
|
|
|
7
7
|
## What it does
|
|
8
8
|
|
|
9
|
-
| Capability | Behavior in 1.1.
|
|
9
|
+
| Capability | Behavior in 1.1.40 |
|
|
10
10
|
| --- | --- |
|
|
11
11
|
| Active-tab session | The user starts a short-lived session for one HTTPS tab and one origin; the session records its origin grants. |
|
|
12
12
|
| Page observation | The extension captures the complete semantic inventory: every interactive element, every form control, every select option and the full page text. |
|
|
13
13
|
| Plan proposal | A local plan can be created immediately; an optional user-configured HTTPS endpoint can return a typed plan proposal of any length. |
|
|
14
14
|
| Review gate | Every remote proposal starts in `pending`; it cannot reach the page bridge before explicit approval. |
|
|
15
|
-
| Browser tools | Reviewed plans cover two hundred thirty
|
|
15
|
+
| Browser tools | Reviewed plans cover two hundred thirty six action kinds: pointer paths and coordinate clicks, text, aria, name, xpath, index and point target resolution, timed typing, key holds, sliders, dates, colors, shadow dom piercing, iframe entry, dialog answering, retry rules, a complete read vocabulary with clickable maps and verification reads, page mutation under review, and browser-level tab, window, zoom, snapshot and download commands. |
|
|
16
16
|
| Forms and data | The agent fills forms with review: `fillform` fills from a structured record of field matches, kinds and values, `filllabel` and `fillplaceholder` match controls by label, placeholder or aria label, `detectfields` reports the form map with field kinds, `generatevalues` seeds locale aware values per field kind while real looking card numbers and personal identifiers are refused, `saveprofiles` stores profiles behind origin grants, `asksubmit` opens the submission prompt with the values diff, `submitform` submits only under an approved consent ref, `readerrors` associates inline validation messages with fields, `retryform` retries with reviewed backoff windows, `runwizard`, `selectchain`, `picktypeahead` and `pickdate` drive wizards, dependent selects, typeaheads and calendars, `attachfile` attaches run store artifacts, `fillcard`, `fillcode` and `consentpassword` handle payment and secret fields behind explicit consent, `skiphoneypot` skips trap fields, `detectlogin` and `detecttemplate` flag login, signup and checkout shapes, and `handoffcaptcha` pauses the plan and hands control back to the user. |
|
|
17
|
+
| Media capture | The agent sees the page as evidence: `shotview` captures the visible viewport in the reviewed format, quality and pixel ratio, `shotfullpage` stitches viewport tiles on an offscreencanvas with linear overlap blending, fixed header skipping, hidden capture scrollbars and a stitching scroll budget kept inside the reviewed wait window, `shotelement` crops the pixel ratio scaled element rect with a tiled fallback when the element crosses the viewport edge, `shotregion` requires the explicit reviewed flag for every reviewed region rectangle and walks scrollable containers in reviewed steps, `contactsheet` tiles element captures into one labeled grid, annotated captures carry the step number marker, the target outline and a time and url footer, beforeafter capture pairs a before and after shot around every page moving action with the dom snapshot id of the same moment, capture names stamp from run, step, sequence and kind segments with per run counters, and export routing stays consent layered: memory keeps the bytes under the user configured capture retention window while the metadata survives, clipboard export needs clipboardwrite and download export runs through the reviewed download flow. |
|
|
17
18
|
| Files and downloads | The agent moves bytes with review: `batchdownload` downloads reviewed url lists in waves under a user configured concurrent window with per file states and sequence suffixes for filename conflicts, `pausedownload` and `resumedownload` walk the queue through the downloads api, `verifydownload` compares state, size and checksum against reviewed expectations, `interceptmime` arms include, exclude and deny default mime filters that reroute matching downloads into quarantine, `exportnetlog` exports the step correlated network log with every header value redacted, `readclipboard` needs an approved single use consent prompt per read and never persists the payload text, `writeclipboard` writes reviewed text through the page bridge with payload hashes for audit, `copyscreen` copies the visible tab to the clipboard, `quarantinedownload` and `scanvirus` keep files outside the downloads folder until a clean scan verdict releases them, `namecaptures` stamps task, step and sequence filenames with per task counters, and `cleanupartifacts` sweeps artifacts by reviewed age and kind rules while keeping open review references. |
|
|
18
19
|
| Datasets and exports | The agent turns pages into data with audit: `scrapetable` reads tables into normalized column keys with rowspan and colspan expansion and nested child datasets, `paginateextract` follows next controls while waiting for fresh rows, `mergepages` aligns columns across pages, `transformvalues` applies reviewed expressions with per rule error surfacing, `deduperows` deduplicates by reviewed keys, `stamplerows` stamps every row with its source url, timestamp and step ref, `previewgrid` previews the grid before export, `importcsv` parses quoted csv with column mappings for fill loops, `looprows` interpolates `{{column}}` row variables into the wrapped inner step, `exportcsv`, `exportjson` and `exportexcel` write checksummed artifacts into the task artifact store with provenance records, `copytable` uses the clipboard under the optional clipboardWrite capability, `pushsheets` pushes only to a reviewed HTTPS endpoint behind its origin grant and the explicit reviewed flag, `streamdisk` streams chunk by chunk with backpressure and a persisted resume state, `resumeextract` continues an interrupted extraction from its stored cursor, and `logprovenance` logs provenance for audit; exports refuse to leave local memory while the session origin grants do not cover the active origin. |
|
|
19
20
|
| Tabs and windows command | The agent commands the whole browser surface with review: `querytabs` resolves reviewed url, title, id and pattern matchers against the live tab set, `closepattern` closes matching tabs only under the explicit reviewed flag, `pintab`, `mutetab`, `movetab`, `movetabwindow`, `duplicatetab`, `reloadtabs`, `discardtab`, `zoomin`, `zoomout` and `switchtab` mutate tabs, `grouptabs`, `colorgroup` and `collapsegroup` keep group registries, `savelayout` and `restorelayout` save and restore named tab layouts with window bounds, `snapshotsession` and `reopenrun` capture and reopen whole runs, `watchtab` observes title, activation and closure events, `findclones`, `searchtabs` and `listaudio` enumerate the surface read only, `badgetab` and `attachmeta` route task state per tab, and `maximizewindow`, `minimizewindow`, `restorewindow`, `focuswindow`, `scratchwindow` and `incognitowindow` command windows with incognito separated from grant inheritance. |
|
|
@@ -53,7 +54,7 @@ The endpoint field intentionally has no default URL. Enter a URL such as `https:
|
|
|
53
54
|
|
|
54
55
|
```json
|
|
55
56
|
{
|
|
56
|
-
"version": "1.1.
|
|
57
|
+
"version": "1.1.40",
|
|
57
58
|
"objective": "User supplied objective",
|
|
58
59
|
"session": { "id": "uuid", "tabid": 1, "origin": "https://example.com" },
|
|
59
60
|
"observation": { "schemaversion": 3, "url": "https://example.com/path", "interactive": [] },
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import type { captureexport, captureformat, capturenaming, captureoptions, regionrect, sheetlayout, shotpair, shotrecord, stitchplan } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Media capture logics for the 1.1.40 family.
|
|
4
|
+
* Every correlated rule for the capture options defaults, the stitch tiling and seam blending, the fixed header skip, the pixel ratio scaling, the element crop and viewport fallback, the region container steps, the contact sheet grid, the annotation plan, the capture naming rule and the before and after state pairing lives in this file.
|
|
5
|
+
*/
|
|
6
|
+
/** Formats every capture kind may produce; the policy grammar refuses anything outside this set. */
|
|
7
|
+
export declare const captureformats: captureformat[];
|
|
8
|
+
/** Export targets a reviewed capture may route to; disk writes stay inside the reviewed download flow. */
|
|
9
|
+
export declare const capturetargets: captureexport[];
|
|
10
|
+
/** The capture kinds of the 1.1.40 family, listed among the available capabilities of every proposal request. */
|
|
11
|
+
export declare const capturekinds: string[];
|
|
12
|
+
/** Normalizes reviewed capture options with png, pixel ratio one and the memory export target as defaults. */
|
|
13
|
+
export declare function captureoptionsof(value: unknown): captureoptions;
|
|
14
|
+
/** Builds one shotrecord for a visible viewport capture with the reviewed geometry and byte size. */
|
|
15
|
+
export declare function capturevisible(input: {
|
|
16
|
+
runid: string;
|
|
17
|
+
stepid: string;
|
|
18
|
+
options: captureoptions;
|
|
19
|
+
viewport: {
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
};
|
|
23
|
+
dataurl: string;
|
|
24
|
+
at: number;
|
|
25
|
+
id: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
target?: string;
|
|
28
|
+
}): shotrecord;
|
|
29
|
+
/** Builds one shotrecord for a stitched full page capture from the tile plan geometry. */
|
|
30
|
+
export declare function capturestitched(input: {
|
|
31
|
+
runid: string;
|
|
32
|
+
stepid: string;
|
|
33
|
+
options: captureoptions;
|
|
34
|
+
plan: stitchplan;
|
|
35
|
+
dataurl: string;
|
|
36
|
+
at: number;
|
|
37
|
+
id: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
}): shotrecord;
|
|
40
|
+
/** Builds one shotrecord for an element capture cropped to the pixel ratio scaled element bounds. */
|
|
41
|
+
export declare function captureelement(input: {
|
|
42
|
+
runid: string;
|
|
43
|
+
stepid: string;
|
|
44
|
+
options: captureoptions;
|
|
45
|
+
rect: regionrect;
|
|
46
|
+
dataurl: string;
|
|
47
|
+
at: number;
|
|
48
|
+
id: string;
|
|
49
|
+
name?: string;
|
|
50
|
+
target?: string;
|
|
51
|
+
}): shotrecord;
|
|
52
|
+
/** Builds one shotrecord for a region capture of one reviewed rectangle or scrollable container. */
|
|
53
|
+
export declare function captureregion(input: {
|
|
54
|
+
runid: string;
|
|
55
|
+
stepid: string;
|
|
56
|
+
options: captureoptions;
|
|
57
|
+
rect: regionrect;
|
|
58
|
+
dataurl: string;
|
|
59
|
+
at: number;
|
|
60
|
+
id: string;
|
|
61
|
+
name?: string;
|
|
62
|
+
target?: string;
|
|
63
|
+
}): shotrecord;
|
|
64
|
+
/** Links a before and an after shot into one shotpair with the action context and the dom snapshot id of the same moment; a missing after shot skips the pair. */
|
|
65
|
+
export declare function pairstates(before: shotrecord | undefined, after: shotrecord | undefined, action: {
|
|
66
|
+
kind: string;
|
|
67
|
+
target?: string;
|
|
68
|
+
domsnapshotid?: string;
|
|
69
|
+
}, at: number, id: string): {
|
|
70
|
+
pair?: shotpair;
|
|
71
|
+
skipped?: "before" | "after";
|
|
72
|
+
reason: string;
|
|
73
|
+
};
|
|
74
|
+
/** Applies the capture policy around one action: beforeafter pairs wrap the action, every other mode leaves the pair to the manual capture kinds. */
|
|
75
|
+
export declare function capturestates(input: {
|
|
76
|
+
policy: string;
|
|
77
|
+
before?: shotrecord | undefined;
|
|
78
|
+
after?: shotrecord | undefined;
|
|
79
|
+
actionkind: string;
|
|
80
|
+
target?: string | undefined;
|
|
81
|
+
domsnapshotid?: string | undefined;
|
|
82
|
+
at: number;
|
|
83
|
+
id: string;
|
|
84
|
+
}): {
|
|
85
|
+
pair?: shotpair;
|
|
86
|
+
skipped?: "before" | "after";
|
|
87
|
+
reason: string;
|
|
88
|
+
};
|
|
89
|
+
/** Builds the viewport tiling of one full page capture: a tile grid of scroll offsets with overlap rows; the last tile clamps to the page end. */
|
|
90
|
+
export declare function buildstitchplan(input: {
|
|
91
|
+
scrollwidth: number;
|
|
92
|
+
scrollheight: number;
|
|
93
|
+
viewportwidth: number;
|
|
94
|
+
viewportheight: number;
|
|
95
|
+
overlap?: number;
|
|
96
|
+
}): stitchplan;
|
|
97
|
+
/** Linear cross fade weights across one overlap band: the first row keeps the existing content, the last row adopts the new tile. */
|
|
98
|
+
export declare function seamweights(overlap: number): number[];
|
|
99
|
+
/** Blends one overlap band of equal length row arrays with the linear seam weights so tile seams never hard cut. */
|
|
100
|
+
export declare function blendrows(upper: number[], lower: number[]): number[];
|
|
101
|
+
/** True when a tile band repeats the first tile band, so the stitcher skips it and fixed headers never repeat across tiles. */
|
|
102
|
+
export declare function fixedheadermatch(band: number[], firstband: number[]): boolean;
|
|
103
|
+
/** Scales one css pixel rectangle by the reviewed pixel ratio; ratios of one, two and three scale every edge. */
|
|
104
|
+
export declare function scaledrect(rect: regionrect, pixelratio: number): regionrect;
|
|
105
|
+
/** Clamps one rectangle to the visible part of the viewport, never returning negative geometry. */
|
|
106
|
+
export declare function croprect(rect: regionrect, viewport: {
|
|
107
|
+
width: number;
|
|
108
|
+
height: number;
|
|
109
|
+
}): regionrect;
|
|
110
|
+
/** True when an element rectangle crosses any viewport edge and the capture falls back to tiled capture. */
|
|
111
|
+
export declare function crossesviewport(rect: regionrect, viewport: {
|
|
112
|
+
width: number;
|
|
113
|
+
height: number;
|
|
114
|
+
}): boolean;
|
|
115
|
+
/** Scroll tops that walk a scrollable container in reviewed steps; every step clamps so the last window ends at the container end. */
|
|
116
|
+
export declare function regionsteps(containerheight: number, viewportstep: number): number[];
|
|
117
|
+
/** One placed cell of a contact sheet grid with its caption stamped from the reviewed label style. */
|
|
118
|
+
export interface sheetcell {
|
|
119
|
+
index: number;
|
|
120
|
+
column: number;
|
|
121
|
+
row: number;
|
|
122
|
+
selector: string;
|
|
123
|
+
label: string;
|
|
124
|
+
caption: string;
|
|
125
|
+
}
|
|
126
|
+
/** Places the element captures of a contact sheet on a labeled grid; the cell count stays a user choice with no code ceiling. */
|
|
127
|
+
export declare function buildsheet(cells: Array<{
|
|
128
|
+
selector: string;
|
|
129
|
+
label?: string;
|
|
130
|
+
}>, layout: sheetlayout): {
|
|
131
|
+
columns: number;
|
|
132
|
+
rows: number;
|
|
133
|
+
cells: sheetcell[];
|
|
134
|
+
};
|
|
135
|
+
/** Builds one capture filename from the reviewed naming rule segments; the sequence counter keeps every name unique inside a run. */
|
|
136
|
+
export declare function buildname(rule: capturenaming, parts: {
|
|
137
|
+
run: string;
|
|
138
|
+
step: string;
|
|
139
|
+
sequence: number;
|
|
140
|
+
kind: string;
|
|
141
|
+
}, extension: string): string;
|
|
142
|
+
/** One annotation plan for a captured image: the step number marker, the optional target outline and the footer with capture time and page url. */
|
|
143
|
+
export interface annotationplan {
|
|
144
|
+
marker: {
|
|
145
|
+
x: number;
|
|
146
|
+
y: number;
|
|
147
|
+
number: number;
|
|
148
|
+
};
|
|
149
|
+
outline?: regionrect;
|
|
150
|
+
footer: string;
|
|
151
|
+
}
|
|
152
|
+
/** Plans the annotations of one capture: the step number marker position, the expanded target rect outline and the footer text with capture time and url. */
|
|
153
|
+
export declare function annotationplanof(input: {
|
|
154
|
+
step: number;
|
|
155
|
+
width: number;
|
|
156
|
+
height: number;
|
|
157
|
+
rect?: regionrect;
|
|
158
|
+
url: string;
|
|
159
|
+
at: number;
|
|
160
|
+
}): annotationplan;
|
|
161
|
+
//# sourceMappingURL=capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capture.d.ts","sourceRoot":"","sources":["../capture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEzJ;;;GAGG;AAEH,oGAAoG;AACpG,eAAO,MAAM,cAAc,EAAE,aAAa,EAA4B,CAAC;AAEvE,0GAA0G;AAC1G,eAAO,MAAM,cAAc,EAAE,aAAa,EAAwC,CAAC;AAEnF,iHAAiH;AACjH,eAAO,MAAM,YAAY,EAAE,MAAM,EAA8E,CAAC;AAEhH,8GAA8G;AAC9G,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAU/D;AAED,qGAAqG;AACrG,wBAAg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jI,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,MAAM,EAAE,WAAW,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,CAWzJ;AAOD,qIAAqI;AACrI,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAQ9I;AAED,mJAAmJ;AACnJ,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,6JAA6J;AAC7J,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,UAAU,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAWnJ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./capture.js";
|
|
1
2
|
export * from "./memory.js";
|
|
2
3
|
export { actionrisk as deriveactionrisk, canexecute, generatedvalueallowed, hostpattern, isformkind, iswatchkind, normalizeendpoint, observationmodeof, passwordconsentgranted, profilegrantgranted, resolutionverdict, submitreviewgranted, validatefieldmatch, validateformrecord, validatestep, validatetargetref, validatevaluegen } from "./policy.js";
|
|
3
4
|
export * from "./protocol.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,UAAU,EAAE,qBAAqB,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC5V,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,UAAU,EAAE,qBAAqB,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC5V,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC"}
|