@wenathlan/extension 1.1.38 → 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 +6 -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 +574 -6
- package/dist/index.js.map +3 -3
- package/dist/memory.d.ts +65 -1
- package/dist/memory.d.ts.map +1 -1
- package/dist/policy.d.ts +35 -1
- package/dist/policy.d.ts.map +1 -1
- package/dist/protocol.d.ts +39 -2
- package/dist/protocol.d.ts.map +1 -1
- package/dist/types.d.ts +202 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/extension/dist/background.js +1594 -52
- package/extension/dist/background.js.map +4 -4
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/pagebridge.js +66 -3
- package/extension/dist/pagebridge.js.map +3 -3
- package/extension/dist/popup.html +1 -1
- package/extension/dist/popup.js +39 -2
- package/extension/dist/popup.js.map +2 -2
- package/extension/dist/sidepanel.html +1 -1
- package/extension/dist/sidepanel.js +306 -2
- 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/dist/memory.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { a11ycapture, agentplan, agentsession, artifactrecord, auditevent, authrecord, bannerreport, capabilityreport, captchahandoff, clickablemap, closedtab, controltabstate, curatedlist, dataset, derivedselector, detectionrecord, diagnosticreport, dialogdecision, dialogpolicy, endpointconfig, errorreport, exportedartifact, extractsession, focusevent, formprofile, keyholdstate, mutationevent, navcontrol, navintentrecord, navqueues, navrecord, observationrecord, pagesignals, planprogress, provenancerecord, ratelimitstate, readercapture, recenttab, resolutionsummary, retryoutcome, runsettings, safetyverdict, sessionsnapshot, sheetendpoint, snapshotdiff, stepoutcome, streamstate, submitticket, tabbadge, tabgrouprecord, tablayout, tabmeta, tabwatchevent, taskrules, templateprofile, trailentry, typeaheadpick, waitprofilerecord, watchregistration, wizardstate } from "./types.js";
|
|
1
|
+
import type { a11ycapture, agentplan, agentsession, artifactinventoryentry, artifactrecord, auditevent, authrecord, bannerreport, capabilityreport, captchahandoff, capturecounter, clipboardconsentrecord, cleanuprule, cleanuprun, clipentry, clickablemap, closedtab, controltabstate, curatedlist, dataset, derivedselector, detectionrecord, diagnosticreport, dialogdecision, dialogpolicy, downloadrecord, endpointconfig, errorreport, exportedartifact, extractsession, focusevent, formprofile, keyholdstate, mimefilter, mutationevent, navcontrol, navintentrecord, navqueues, navrecord, netlogrecord, observationrecord, pagesignals, planprogress, provenancerecord, quarantineentry, ratelimitstate, readercapture, recenttab, resolutionsummary, retryoutcome, runsettings, safetyverdict, scanhookconfig, sessionsnapshot, sheetendpoint, shotpair, shotrecord, snapshotdiff, stepoutcome, streamstate, submitticket, tabbadge, tabgrouprecord, tablayout, tabmeta, tabwatchevent, taskrules, templateprofile, trailentry, typeaheadpick, waitprofilerecord, watchregistration, wizardstate } from "./types.js";
|
|
2
2
|
/** Provides a small storage seam that works in browser, tests and future adapters. */
|
|
3
3
|
export interface memoryadapter {
|
|
4
4
|
get<T>(key: string): Promise<T | undefined>;
|
|
@@ -269,6 +269,70 @@ export declare class sessionmemory {
|
|
|
269
269
|
addexport(artifact: exportedartifact): Promise<void>;
|
|
270
270
|
/** Returns every exported data artifact with its content and checksum, newest first. */
|
|
271
271
|
getexports(): Promise<exportedartifact[]>;
|
|
272
|
+
/** Removes one exported data artifact by id and reports whether it existed. */
|
|
273
|
+
removeexport(id: string): Promise<boolean>;
|
|
274
|
+
/** Removes one run store artifact by id and reports whether it existed. */
|
|
275
|
+
removeartifact(id: string): Promise<boolean>;
|
|
276
|
+
/** Stores one batch download file record with its state, path and checksum, replacing the previous record of that id. */
|
|
277
|
+
setdownload(record: downloadrecord): Promise<void>;
|
|
278
|
+
/** Returns every batch download file record with its state, path and checksum, newest first. */
|
|
279
|
+
getdownloads(): Promise<downloadrecord[]>;
|
|
280
|
+
/** Records one captured network log record; netlog retention is a user setting and an absent value keeps every record. */
|
|
281
|
+
addnetlog(record: netlogrecord): Promise<void>;
|
|
282
|
+
/** Returns the captured network log of the run with its step correlation, newest first. */
|
|
283
|
+
getnetlog(): Promise<netlogrecord[]>;
|
|
284
|
+
/** Stores one clipboard consent record with its prompt and origin, replacing the previous record of that id. */
|
|
285
|
+
setclipconsent(record: clipboardconsentrecord): Promise<void>;
|
|
286
|
+
/** Returns every clipboard consent record with its prompt and origin, newest first. */
|
|
287
|
+
getclipconsents(): Promise<clipboardconsentrecord[]>;
|
|
288
|
+
/** Records one clipboard entry hash with its origin provenance; the payload text itself never persists. */
|
|
289
|
+
addclip(entry: clipentry): Promise<void>;
|
|
290
|
+
/** Returns every clipboard entry hash with its kind and origin provenance, newest first. */
|
|
291
|
+
getclips(): Promise<clipentry[]>;
|
|
292
|
+
/** Stores one quarantine entry with its scan verdict, replacing the previous entry of that id. */
|
|
293
|
+
setquarantine(entry: quarantineentry): Promise<void>;
|
|
294
|
+
/** Returns every quarantine entry with its scan verdict and release ref, newest first. */
|
|
295
|
+
getquarantines(): Promise<quarantineentry[]>;
|
|
296
|
+
/** Stores the reviewed cleanup rule set of the run, replacing the previous set. */
|
|
297
|
+
setcleanuprules(rules: cleanuprule[]): Promise<void>;
|
|
298
|
+
/** Returns the reviewed cleanup rule set of the run. */
|
|
299
|
+
getcleanuprules(): Promise<cleanuprule[]>;
|
|
300
|
+
/** Records one cleanup run in the run history. */
|
|
301
|
+
addcleanuprun(run: cleanuprun): Promise<void>;
|
|
302
|
+
/** Returns every cleanup run history record with removed and kept counts, newest first. */
|
|
303
|
+
getcleanupruns(): Promise<cleanuprun[]>;
|
|
304
|
+
/** Stores the capture naming counters of one task, replacing the previous counters of that task. */
|
|
305
|
+
setcapturecounter(counter: capturecounter): Promise<void>;
|
|
306
|
+
/** Returns every stored capture naming counter per task, newest first. */
|
|
307
|
+
getcapturecounters(): Promise<capturecounter[]>;
|
|
308
|
+
/** Replaces the artifact inventory the cleanup sweeper plans against. */
|
|
309
|
+
setinventory(entries: artifactinventoryentry[]): Promise<void>;
|
|
310
|
+
/** Returns the artifact inventory with sizes and ages for the cleanup sweeper. */
|
|
311
|
+
getinventory(): Promise<artifactinventoryentry[]>;
|
|
312
|
+
/** Stores one user configured virus scanning hook, replacing the previous hook of that scanner name. */
|
|
313
|
+
setscanhook(config: scanhookconfig): Promise<void>;
|
|
314
|
+
/** Returns every configured virus scanning hook, newest first. */
|
|
315
|
+
getscanhooks(): Promise<scanhookconfig[]>;
|
|
316
|
+
/** Stores the armed mime interception filters of the run, newest first. */
|
|
317
|
+
setmimefilters(filters: mimefilter[]): Promise<void>;
|
|
318
|
+
/** Returns the armed mime interception filters of the run, newest first. */
|
|
319
|
+
getmimefilters(): Promise<mimefilter[]>;
|
|
320
|
+
/** Stores one capture record with its bytes and step linkage, replacing the previous record of that id; the user configured capture retention window expires the oldest bytes while the metadata always survives for the audit trail. */
|
|
321
|
+
addcapture(record: shotrecord): Promise<void>;
|
|
322
|
+
/** Returns every stored capture record with its metadata, newest first. */
|
|
323
|
+
getcaptures(): Promise<shotrecord[]>;
|
|
324
|
+
/** Returns one capture record with its bytes by its id. */
|
|
325
|
+
getcapture(id: string): Promise<shotrecord | undefined>;
|
|
326
|
+
/** Returns the capture records filtered by run, step and kind. */
|
|
327
|
+
listcaptures(filter: {
|
|
328
|
+
runid?: string;
|
|
329
|
+
stepid?: string;
|
|
330
|
+
kind?: string;
|
|
331
|
+
}): Promise<shotrecord[]>;
|
|
332
|
+
/** Records one before and after shotpair of the run with its action context. */
|
|
333
|
+
addpair(pair: shotpair): Promise<void>;
|
|
334
|
+
/** Returns the shotpairs of one run resolved through their before records, newest first; an absent run returns every pair. */
|
|
335
|
+
getpairs(runid?: string): Promise<shotpair[]>;
|
|
272
336
|
}
|
|
273
337
|
/** Creates identifiers locally without a network dependency. */
|
|
274
338
|
export declare function randomid(): string;
|
package/dist/memory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE73B,sFAAsF;AACtF,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IAC5C,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED;;;GAGG;AACH,qBAAa,aAAa;IACZ,OAAO,CAAC,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AAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAGpG;IAED,gFAAgF;IAC1E,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAG3C;IAED,8HAA8H;IACxH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAMlD;CACF;AASD,gEAAgE;AAChE,wBAAgB,QAAQ,IAAI,MAAM,CAEjC"}
|
package/dist/policy.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { actionkind, agentplan, agentsession, endpointconfig, formprofile, observationmode, policyevaluation, runsettings, safetyverdict, toolstep } from "./types.js";
|
|
1
|
+
import type { actionkind, agentplan, agentsession, captureexport, endpointconfig, formprofile, observationmode, policyevaluation, quarantineentry, runsettings, safetyverdict, toolstep } from "./types.js";
|
|
2
2
|
/** Normalizes a user supplied HTTPS endpoint without preserving a provider lock-in. */
|
|
3
3
|
export declare function normalizeendpoint(value: string): endpointconfig;
|
|
4
4
|
/** Creates the exact optional host pattern requested from Chromium. */
|
|
@@ -25,6 +25,26 @@ export declare function isformkind(kind: actionkind): boolean;
|
|
|
25
25
|
export declare function isdatasetkind(kind: actionkind): boolean;
|
|
26
26
|
/** True when the kind exports extracted data out of local memory to disk, the clipboard or a reviewed sheet endpoint. */
|
|
27
27
|
export declare function isexportkind(kind: actionkind): boolean;
|
|
28
|
+
/** True when the kind belongs to the files, clipboard and downloads family. */
|
|
29
|
+
export declare function isfileskind(kind: actionkind): boolean;
|
|
30
|
+
/** True when the kind belongs to the media capture family of viewport, full page, element, region and contact sheet shots. */
|
|
31
|
+
export declare function iscapturekind(kind: actionkind): boolean;
|
|
32
|
+
/** Requires the active tab grant of the live session before any capture kind runs: the session tab and origin must match and the origin grant must cover the active origin. */
|
|
33
|
+
export declare function capturegate(session: agentsession | undefined, tabid: number, origin: string, now: number): policyevaluation;
|
|
34
|
+
/** Validates one reviewed capture options payload: format inside the png, jpeg and webp set, quality bounded only by the format range, pixel ratio from one up with no code ceiling, and a known export target. */
|
|
35
|
+
export declare function validatecaptureoptions(value: unknown): policyevaluation;
|
|
36
|
+
/** Validates one reviewed region rectangle in css pixels; negative coordinates and non positive sizes are refused. */
|
|
37
|
+
export declare function validateregionrect(value: unknown): policyevaluation;
|
|
38
|
+
/** Validates one reviewed capture naming rule against the allowed segment set: run, step, sequence and kind flags only. */
|
|
39
|
+
export declare function validatecapturenaming(value: unknown): policyevaluation;
|
|
40
|
+
/** Routes the capture export target: memory stays local, clipboard needs the clipboardwrite grant and disk writes only run through the reviewed download flow. */
|
|
41
|
+
export declare function captureexportgranted(target: captureexport | undefined): policyevaluation;
|
|
42
|
+
/** Keeps the stitching scroll budget inside the reviewed wait window: the settle windows of every tile must fit the reviewed wait window with no code ceiling on either side. */
|
|
43
|
+
export declare function stitchbudgetallowed(tiles: number, settle: number, wait: number): policyevaluation;
|
|
44
|
+
/** Allows beforeafter state capture to wrap any existing action kind except the capture kinds themselves; pixel evidence around sensitive actions grades as reviewable evidence. */
|
|
45
|
+
export declare function beforeafterwrapallowed(kind: actionkind): boolean;
|
|
46
|
+
/** Exposes the capture retention window as a user configured choice; an absent value keeps every capture byte forever with no code ceiling. */
|
|
47
|
+
export declare function captureretentionwindow(settings: runsettings | undefined): number | undefined;
|
|
28
48
|
/** Refuses any export that would leave local memory while the session origin grants do not cover the active origin. */
|
|
29
49
|
export declare function exportgranted(session: agentsession | undefined, origin: string): policyevaluation;
|
|
30
50
|
/** Validates the reviewed fieldmatch grammar of one form field entry. */
|
|
@@ -35,6 +55,20 @@ export declare function validateformrecord(value: unknown): policyevaluation;
|
|
|
35
55
|
export declare function validatevaluegen(value: unknown): policyevaluation;
|
|
36
56
|
/** Validates one reviewed transform rule: a supported expression, source columns and a target column. */
|
|
37
57
|
export declare function validatetransformrule(value: unknown): policyevaluation;
|
|
58
|
+
/** Validates a reviewed batch download specification: a non-empty HTTPS url list, an optional filename rule and an optional completion criterion. */
|
|
59
|
+
export declare function validatedownloadspec(value: unknown): policyevaluation;
|
|
60
|
+
/** Validates a reviewed mime interception filter: include and exclude patterns plus the deny default for unlisted mime types. */
|
|
61
|
+
export declare function validatemimefilter(value: unknown): policyevaluation;
|
|
62
|
+
/** Validates one reviewed cleanup rule: a positive age window with no code ceiling, an artifact kind and a keep policy. */
|
|
63
|
+
export declare function validatecleanuprule(value: unknown): policyevaluation;
|
|
64
|
+
/** Requires an approved consent prompt before any clipboard read; every read consumes its own prompt. */
|
|
65
|
+
export declare function clipboardconsentgranted(step: toolstep): policyevaluation;
|
|
66
|
+
/** Refuses to release any quarantined file before a clean scan verdict exists. */
|
|
67
|
+
export declare function quarantinereleasegranted(entry: quarantineentry): policyevaluation;
|
|
68
|
+
/** Refuses downloads and download interception that fall outside the session origin grants. */
|
|
69
|
+
export declare function downloadgranted(session: agentsession | undefined, url: string): policyevaluation;
|
|
70
|
+
/** Masks a clipboard payload for every log line; the full text never persists anywhere. */
|
|
71
|
+
export declare function maskclipboard(payload: string): string;
|
|
38
72
|
/** Requires an asksubmit review step before every form submission step. */
|
|
39
73
|
export declare function submitreviewgranted(steps: toolstep[], submitid: string): policyevaluation;
|
|
40
74
|
/** Requires a reviewed consent ref before any password field is filled. */
|
package/dist/policy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAa,WAAW,
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAA2E,cA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AO,EAAE,YAAY,GAAG,SAAS,CAAC;IAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAA;CAAE,GAAG,gBAAgB,CA0D/M;AAED,0EAA0E;AAC1E,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;IAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,gBAAgB,CAUnL"}
|
package/dist/protocol.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { protocolversion, type agentplan, type bannerreport, type clickablemap, type dataset, type errorreport, type extractsession, type focusevent, type formreport, type keyholdstate, type mutationevent, type navstate, type observation, type pagesignals, type planproposal, type proposalrequest, type provenancerecord, type resolvedtarget, type safetyverdict, type selectorcandidate, type snapshotdiff, type stepoutcome, type tablayout, type tabreport, type trailentry, type transformrule, type typeaheadpick, type wizardstate } from "./types.js";
|
|
1
|
+
import { protocolversion, type agentplan, type bannerreport, type clickablemap, type dataset, type downloadrecord, type errorreport, type extractsession, type focusevent, type formreport, type keyholdstate, type mutationevent, type navstate, type netlogrecord, type observation, type pagesignals, type planproposal, type proposalrequest, type provenancerecord, type quarantineentry, type resolvedtarget, type safetyverdict, type selectorcandidate, type shotpair, type shotrecord, type snapshotdiff, type stepoutcome, type tablayout, type tabreport, type trailentry, type transformrule, type typeaheadpick, type wizardstate } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* Reviewed options grammar shared by every step kind.
|
|
4
4
|
*
|
|
@@ -25,6 +25,10 @@ import { protocolversion, type agentplan, type bannerreport, type clickablemap,
|
|
|
25
25
|
* - form steps attach structured evidence to step details: form reports with detected fields, kinds and matched controls, error reports with field refs and messages, wizard states with step history, typeahead picks, honeypot flags, login detections with session link markers and signup or checkout template detections.
|
|
26
26
|
* - the forms and data part two family adds its parameter grammar: `scrapetable` and `paginateextract` carry an optional dataset `name`, an optional positive integer `rowlimit` (never capped in code), a reviewed `next` control selector, an optional positive integer `pages` count (never capped in code) and an optional `wait` row freshness window; the export kinds (`exportcsv`, `exportjson`, `exportexcel`, `copytable`, `streamdisk`, `pushsheets`) carry a reviewed `dataset` id, an optional artifact `name`, an optional single character csv `delimiter`, a reviewed positive integer streaming `chunk` size (never capped in code) and, for sheet pushes, a reviewed HTTPS `sheet` endpoint plus the explicit `reviewed` flag; `importcsv` carries reviewed `csv` text with an optional `name` and a `mapping` object of csv headers to target keys; `looprows` carries a reviewed `dataset` id, an optional row `variable` name and a wrapped inner step by `stepid` or inline; `transformvalues` carries reviewed `rules` of `{ expression, sources, target }` where the expression is `trim`, `upper`, `lower`, `number`, `prefix:x`, `suffix:x` or `replace:from=>to`; `deduperows` carries reviewed dedupe `keys`; `mergepages` carries a reviewed `datasets` id list; `stamplerows` carries a reviewed `dataset` id with an optional `url`; `previewgrid` carries a reviewed `dataset` id with an optional `sample` row count (never capped in code); `resumeextract` carries a reviewed `session` id; and `logprovenance` carries a reviewed `artifact` id or name.
|
|
27
27
|
* - data steps attach structured evidence to step details: scraped grids with normalized column specs, span filled rows and nested child datasets, pagination page counts with remaining next controls, dataset previews with sampled rows, dedupe removed counts, transform error lists, stream chunk states and provenance records with checksums and row ranges.
|
|
28
|
+
* - the files, clipboard and downloads family adds its parameter grammar: `batchdownload` carries a reviewed `downloadspec` with a non-empty `urls` list, an optional `filename` rule and an optional `complete` criterion (`size` or `checksum`) plus an optional positive integer `concurrent` window (never capped in code); `pausedownload`, `resumedownload`, `verifydownload`, `quarantinedownload` and `scanvirus` carry a reviewed download or quarantine reference with optional `checksum`, `bytes`, `scanner` and `reason` fields; `interceptmime` carries a reviewed `mimefilter` with non-empty `include` patterns, optional `exclude` patterns and the `deny` or `allow` default for unlisted mime types; `readclipboard` carries a reviewed `consentref` plus an optional `prompt`; `exportnetlog` carries an optional `stepid` filter; `namecaptures` carries a reviewed `task` with optional `steps` and `extension`; and `cleanupartifacts` carries reviewed `rules` of `{ age, kind, keep }` where the age window carries no code ceiling and the keep policy is `none`, `latest` or `all`.
|
|
29
|
+
* - files steps attach structured evidence to step details: batch download reports with per file states, resolved paths and checksums, verification match results, netlog records correlated with steps through request ids, clipboard entries with payload hashes and origin provenance (the payload text never appears), quarantine entries with scan verdicts and release refs, capture names stamped from task, step and sequence parts, and cleanup run outcomes with removed and kept counts.
|
|
30
|
+
* - the media capture family adds its parameter grammar: every capture kind (`shotview`, `shotfullpage`, `shotelement`, `shotregion`, `contactsheet`) carries a reviewed `capture` options object with `format` (`png`, `jpeg` or `webp`), `quality` between zero and one hundred, `pixelratio` from one up with no code ceiling, an `annotate` flag and an `exporttarget` of `memory`, `download` or `clipboard`; `shotfullpage` adds reviewed `settle`, `overlap` and `wait` windows that keep the stitching scroll budget inside the reviewed wait window; `shotelement` addresses its element through the step target; `shotregion` requires a reviewed `regionrect` of `x`, `y`, `width` and `height` in css pixels plus the explicit `reviewed` flag, with an optional scrollable `container` selector and `steps` count; `contactsheet` carries reviewed `elements` selectors with an optional `sheet` layout of `cellsize`, `columns` and `label` (`none`, `index`, `selector` or `both`); and a reviewed `naming` rule of `run`, `step`, `sequence` and `kind` segment flags extends the 1.1.39 capture naming rule with the capture kind segment.
|
|
31
|
+
* - capture steps attach structured evidence to step details: shotrecords with record id, run, step, kind, format, geometry and byte size, the stitch tile count of full page captures, shotpair ids of before and after state captures with their action kind, target selector and dom snapshot id, and contact sheet cells with selector labels; the response envelope gains a capture block with the record id, format and byte size, and the capture report carries every stored record and pair.
|
|
28
32
|
*
|
|
29
33
|
* Ambiguous text, aria or name resolutions are refused at execution time with the candidate list so the user can choose.
|
|
30
34
|
*/
|
|
@@ -32,11 +36,16 @@ import { protocolversion, type agentplan, type bannerreport, type clickablemap,
|
|
|
32
36
|
export declare function parseproposal(value: unknown, origin: string): planproposal;
|
|
33
37
|
/** Shapes the only data that may be sent to a user-configured agent endpoint. */
|
|
34
38
|
export declare function requestbody(input: proposalrequest): string;
|
|
35
|
-
/** Wraps one executed step outcome in the versioned response envelope for callers, attaching the matched element summary for review. */
|
|
39
|
+
/** Wraps one executed step outcome in the versioned response envelope for callers, attaching the matched element summary and the capture block of capture steps for review. */
|
|
36
40
|
export declare function outcomeresponse(input: {
|
|
37
41
|
outcome: stepoutcome;
|
|
38
42
|
plan: agentplan;
|
|
39
43
|
resolvedtarget?: resolvedtarget;
|
|
44
|
+
capture?: {
|
|
45
|
+
id: string;
|
|
46
|
+
format: string;
|
|
47
|
+
bytes: number;
|
|
48
|
+
};
|
|
40
49
|
}): string;
|
|
41
50
|
/** Wraps a clickable map payload with numbered entries in the versioned response envelope. */
|
|
42
51
|
export declare function mapresponse(input: {
|
|
@@ -156,4 +165,32 @@ export declare function provenancereport(input: {
|
|
|
156
165
|
};
|
|
157
166
|
/** Documents the reviewed transform rule grammar shared by transformvalues steps and the task rules store. */
|
|
158
167
|
export declare function transformgrammar(rules: transformrule[]): string;
|
|
168
|
+
/** Wraps the batch download queue with per file states, resolved paths and checksums in the versioned response envelope. */
|
|
169
|
+
export declare function downloadreport(input: {
|
|
170
|
+
downloads: downloadrecord[];
|
|
171
|
+
plan: agentplan;
|
|
172
|
+
}): string;
|
|
173
|
+
/** Carries the captured network log records with their step correlation through request ids in the session context envelope. */
|
|
174
|
+
export declare function netlogreport(input: {
|
|
175
|
+
records: netlogrecord[];
|
|
176
|
+
}): {
|
|
177
|
+
version: typeof protocolversion;
|
|
178
|
+
records: netlogrecord[];
|
|
179
|
+
};
|
|
180
|
+
/** Carries the quarantine entries with their scan verdicts and release refs in the session context envelope. */
|
|
181
|
+
export declare function quarantinereport(input: {
|
|
182
|
+
entries: quarantineentry[];
|
|
183
|
+
}): {
|
|
184
|
+
version: typeof protocolversion;
|
|
185
|
+
entries: quarantineentry[];
|
|
186
|
+
};
|
|
187
|
+
/** Carries every stored capture record with its metadata and the before and after shotpairs of the run in the session context envelope. */
|
|
188
|
+
export declare function capturereport(input: {
|
|
189
|
+
records: shotrecord[];
|
|
190
|
+
pairs: shotpair[];
|
|
191
|
+
}): {
|
|
192
|
+
version: typeof protocolversion;
|
|
193
|
+
records: shotrecord[];
|
|
194
|
+
pairs: shotpair[];
|
|
195
|
+
};
|
|
159
196
|
//# sourceMappingURL=protocol.d.ts.map
|
package/dist/protocol.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../protocol.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAiB,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../protocol.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,KAAK,YAA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AE,GAAG;IAAE,OAAO,EAAE,OAAO,eAAe,CAAC;IAAC,OAAO,EAAE,eAAe,EAAE,CAAA;CAAE,CAEvI;AAED,2IAA2I;AAC3I,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,KAAK,EAAE,QAAQ,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,OAAO,eAAe,CAAC;IAAC,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,KAAK,EAAE,QAAQ,EAAE,CAAA;CAAE,CAEhK"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const protocolversion: "1.1.
|
|
1
|
+
export declare const protocolversion: "1.1.40";
|
|
2
2
|
/** Every reviewed action kind. Read kinds observe, interaction kinds move focus, sensitive kinds change page or browser state. */
|
|
3
|
-
export type actionkind = "observe" | "inspect" | "extract" | "wait" | "waitfor" | "waittext" | "readattribute" | "readstyle" | "readgeometry" | "readvalue" | "readtext" | "readhtml" | "countelements" | "readtable" | "readlinks" | "readimages" | "readmeta" | "readforms" | "readstorage" | "highlight" | "tablist" | "windowlist" | "tabsnapshot" | "focus" | "scroll" | "hover" | "clickdeep" | "rightclick" | "doubleclick" | "scrollpage" | "scrollby" | "scrollend" | "scrolltop" | "fullscreen" | "zoomset" | "click" | "type" | "navigate" | "select" | "presskey" | "drag" | "drop" | "upload" | "clear" | "check" | "uncheck" | "toggle" | "submit" | "reload" | "back" | "forward" | "writestorage" | "setattribute" | "removeattribute" | "evaluate" | "tabcreate" | "tabactivate" | "tabclose" | "tabreload" | "windowcreate" | "windowclose" | "windowresize" | "downloadfile" | "movepointer" | "clickpoint" | "shiftclick" | "clicktext" | "clickaria" | "clickname" | "resolvexpath" | "typetime" | "appendtext" | "setvalue" | "typeedit" | "keyhold" | "keyrelease" | "submitsearch" | "selectmulti" | "chooseradio" | "setslider" | "setdate" | "setcolor" | "expanddetails" | "dismissdialog" | "pierceshadow" | "enterframe" | "retryaction" | "mapclicks" | "verifyvisible" | "verifyenabled" | "a11ytree" | "readvisible" | "readertree" | "detectlists" | "detecttables" | "readjson" | "watchmutate" | "waitquiet" | "watchbanner" | "detectinfinitescroll" | "detectvirtual" | "detectlazy" | "readscrollpos" | "readlang" | "readoutline" | "countpages" | "listshadow" | "listframes" | "classifypage" | "fingerprintsection" | "diffsnapshots" | "readselection" | "watchfocus" | "detectsticky" | "detectscrolllock" | "readopengraph" | "detectlanguage" | "deriveselector" | "openlink" | "openprivate" | "reloadcache" | "stopnav" | "waitload" | "waiturl" | "followlink" | "spanav" | "spawait" | "rewritequery" | "setfragment" | "navlist" | "navprofile" | "detecthttp" | "readredirects" | "readfinalurl" | "handleauth" | "printpdf" | "prefetch" | "preconnect" | "deeplink" | "reopentab" | "trailaudit" | "pausenav" | "navintent" | "navrate" | "openclipboard" | "checksafe" | "batchopen" | "querytabs" | "duplicatetab" | "closepattern" | "pintab" | "mutetab" | "movetab" | "movetabwindow" | "grouptabs" | "colorgroup" | "collapsegroup" | "discardtab" | "reloadtabs" | "zoomin" | "zoomout" | "watchtab" | "switchtab" | "maximizewindow" | "minimizewindow" | "restorewindow" | "focuswindow" | "scratchwindow" | "incognitowindow" | "restoretab" | "savelayout" | "restorelayout" | "findclones" | "searchtabs" | "badgetab" | "attachmeta" | "listaudio" | "reopenrun" | "snapshotsession" | "fillform" | "filllabel" | "fillplaceholder" | "detectfields" | "generatevalues" | "saveprofiles" | "asksubmit" | "submitform" | "readerrors" | "retryform" | "runwizard" | "selectchain" | "picktypeahead" | "pickdate" | "attachfile" | "handoffcaptcha" | "fillcard" | "fillcode" | "consentpassword" | "skiphoneypot" | "detectlogin" | "detecttemplate" | "scrapetable" | "exportcsv" | "exportjson" | "exportexcel" | "copytable" | "pushsheets" | "importcsv" | "looprows" | "transformvalues" | "deduperows" | "paginateextract" | "mergepages" | "stamplerows" | "previewgrid" | "streamdisk" | "resumeextract" | "logprovenance";
|
|
3
|
+
export type actionkind = "observe" | "inspect" | "extract" | "wait" | "waitfor" | "waittext" | "readattribute" | "readstyle" | "readgeometry" | "readvalue" | "readtext" | "readhtml" | "countelements" | "readtable" | "readlinks" | "readimages" | "readmeta" | "readforms" | "readstorage" | "highlight" | "tablist" | "windowlist" | "tabsnapshot" | "focus" | "scroll" | "hover" | "clickdeep" | "rightclick" | "doubleclick" | "scrollpage" | "scrollby" | "scrollend" | "scrolltop" | "fullscreen" | "zoomset" | "click" | "type" | "navigate" | "select" | "presskey" | "drag" | "drop" | "upload" | "clear" | "check" | "uncheck" | "toggle" | "submit" | "reload" | "back" | "forward" | "writestorage" | "setattribute" | "removeattribute" | "evaluate" | "tabcreate" | "tabactivate" | "tabclose" | "tabreload" | "windowcreate" | "windowclose" | "windowresize" | "downloadfile" | "movepointer" | "clickpoint" | "shiftclick" | "clicktext" | "clickaria" | "clickname" | "resolvexpath" | "typetime" | "appendtext" | "setvalue" | "typeedit" | "keyhold" | "keyrelease" | "submitsearch" | "selectmulti" | "chooseradio" | "setslider" | "setdate" | "setcolor" | "expanddetails" | "dismissdialog" | "pierceshadow" | "enterframe" | "retryaction" | "mapclicks" | "verifyvisible" | "verifyenabled" | "a11ytree" | "readvisible" | "readertree" | "detectlists" | "detecttables" | "readjson" | "watchmutate" | "waitquiet" | "watchbanner" | "detectinfinitescroll" | "detectvirtual" | "detectlazy" | "readscrollpos" | "readlang" | "readoutline" | "countpages" | "listshadow" | "listframes" | "classifypage" | "fingerprintsection" | "diffsnapshots" | "readselection" | "watchfocus" | "detectsticky" | "detectscrolllock" | "readopengraph" | "detectlanguage" | "deriveselector" | "openlink" | "openprivate" | "reloadcache" | "stopnav" | "waitload" | "waiturl" | "followlink" | "spanav" | "spawait" | "rewritequery" | "setfragment" | "navlist" | "navprofile" | "detecthttp" | "readredirects" | "readfinalurl" | "handleauth" | "printpdf" | "prefetch" | "preconnect" | "deeplink" | "reopentab" | "trailaudit" | "pausenav" | "navintent" | "navrate" | "openclipboard" | "checksafe" | "batchopen" | "querytabs" | "duplicatetab" | "closepattern" | "pintab" | "mutetab" | "movetab" | "movetabwindow" | "grouptabs" | "colorgroup" | "collapsegroup" | "discardtab" | "reloadtabs" | "zoomin" | "zoomout" | "watchtab" | "switchtab" | "maximizewindow" | "minimizewindow" | "restorewindow" | "focuswindow" | "scratchwindow" | "incognitowindow" | "restoretab" | "savelayout" | "restorelayout" | "findclones" | "searchtabs" | "badgetab" | "attachmeta" | "listaudio" | "reopenrun" | "snapshotsession" | "fillform" | "filllabel" | "fillplaceholder" | "detectfields" | "generatevalues" | "saveprofiles" | "asksubmit" | "submitform" | "readerrors" | "retryform" | "runwizard" | "selectchain" | "picktypeahead" | "pickdate" | "attachfile" | "handoffcaptcha" | "fillcard" | "fillcode" | "consentpassword" | "skiphoneypot" | "detectlogin" | "detecttemplate" | "scrapetable" | "exportcsv" | "exportjson" | "exportexcel" | "copytable" | "pushsheets" | "importcsv" | "looprows" | "transformvalues" | "deduperows" | "paginateextract" | "mergepages" | "stamplerows" | "previewgrid" | "streamdisk" | "resumeextract" | "logprovenance" | "batchdownload" | "pausedownload" | "resumedownload" | "verifydownload" | "interceptmime" | "exportnetlog" | "readclipboard" | "writeclipboard" | "copyscreen" | "quarantinedownload" | "scanvirus" | "namecaptures" | "cleanupartifacts" | "shotview" | "shotfullpage" | "shotelement" | "shotregion" | "contactsheet";
|
|
4
4
|
export type actionrisk = "read" | "interaction" | "sensitive";
|
|
5
5
|
export type planstate = "draft" | "pending" | "approved" | "rejected" | "expired" | "completed" | "cancelled";
|
|
6
|
-
export type auditkind = "configure" | "session" | "observe" | "proposal" | "approval" | "action" | "error" | "stop" | "pause" | "resume" | "complete" | "capability" | "tab" | "window" | "download" | "pointer" | "dialog" | "hold" | "retry" | "observation" | "watch" | "diff" | "navigation" | "redirect" | "auth" | "prefetch" | "rate" | "group" | "layout" | "discard" | "badge" | "fill" | "submit" | "consent" | "handoff" | "scrape" | "export" | "stream" | "provenance" | "resume";
|
|
6
|
+
export type auditkind = "configure" | "session" | "observe" | "proposal" | "approval" | "action" | "error" | "stop" | "pause" | "resume" | "complete" | "capability" | "tab" | "window" | "download" | "pointer" | "dialog" | "hold" | "retry" | "observation" | "watch" | "diff" | "navigation" | "redirect" | "auth" | "prefetch" | "rate" | "group" | "layout" | "discard" | "badge" | "fill" | "submit" | "consent" | "handoff" | "scrape" | "export" | "stream" | "provenance" | "resume" | "intercept" | "clipboard" | "quarantine" | "cleanup" | "capture";
|
|
7
7
|
/** Observation mode classes: passive capture, watched lifetimes and diffing passes. */
|
|
8
8
|
export type observationmode = "passive" | "watching" | "diffing";
|
|
9
9
|
export interface toolstep {
|
|
@@ -96,12 +96,14 @@ export interface diagnosticreport {
|
|
|
96
96
|
formcount: number;
|
|
97
97
|
bridgeavailable: boolean;
|
|
98
98
|
}
|
|
99
|
-
/** Live report of the optional browser capabilities the user has granted. */
|
|
99
|
+
/** Live report of the optional browser capabilities the user has granted, with the capture kinds the active tab grant already covers. */
|
|
100
100
|
export interface capabilityreport {
|
|
101
101
|
tabs: boolean;
|
|
102
102
|
downloads: boolean;
|
|
103
103
|
clipboardread: boolean;
|
|
104
104
|
clipboardwrite: boolean;
|
|
105
|
+
/** Capture kinds listed among the available capabilities because they need no optional permission beyond the active tab. */
|
|
106
|
+
captures?: string[];
|
|
105
107
|
reportedat: number;
|
|
106
108
|
}
|
|
107
109
|
/** Structured result of one executed step, kept with configurable retention. */
|
|
@@ -122,6 +124,12 @@ export interface runsettings {
|
|
|
122
124
|
tasktabceiling?: number;
|
|
123
125
|
/** Retention window for exported data artifacts; an absent value keeps every artifact. */
|
|
124
126
|
artifactretention?: number;
|
|
127
|
+
/** Retention window for captured network log records; an absent value keeps every record. */
|
|
128
|
+
netlogretention?: number;
|
|
129
|
+
/** Retention window for stored capture bytes; an absent value keeps every byte and the metadata always survives. */
|
|
130
|
+
captureretention?: number;
|
|
131
|
+
/** Capture policy of the run: off, manual, annotated or beforeafter state pairs around actions. */
|
|
132
|
+
capturepolicy?: capturepolicy;
|
|
125
133
|
/** True when the pinned control tab with the live task feed stays open. */
|
|
126
134
|
controltab?: boolean;
|
|
127
135
|
}
|
|
@@ -865,4 +873,194 @@ export interface taskrules {
|
|
|
865
873
|
dedupekeys: string[];
|
|
866
874
|
at: number;
|
|
867
875
|
}
|
|
876
|
+
/** One reviewed batch download specification with its url list, filename rule and completion criteria. */
|
|
877
|
+
export interface downloadspec {
|
|
878
|
+
urls: string[];
|
|
879
|
+
filename?: string;
|
|
880
|
+
complete?: "size" | "checksum";
|
|
881
|
+
}
|
|
882
|
+
/** Per file states of the batch download queue. */
|
|
883
|
+
export type downloadstate = "queued" | "running" | "paused" | "complete" | "failed";
|
|
884
|
+
/** One batch download file record with its state, resolved path and checksum; concurrent windows stay user configured with no code ceiling. */
|
|
885
|
+
export interface downloadrecord {
|
|
886
|
+
id: string;
|
|
887
|
+
url: string;
|
|
888
|
+
filename: string;
|
|
889
|
+
state: downloadstate;
|
|
890
|
+
downloadid?: number;
|
|
891
|
+
path?: string;
|
|
892
|
+
bytes?: number;
|
|
893
|
+
checksum?: string;
|
|
894
|
+
at: number;
|
|
895
|
+
updatedat: number;
|
|
896
|
+
}
|
|
897
|
+
/** Reviewed mime interception filter with include and exclude patterns and a deny default for unlisted mime types. */
|
|
898
|
+
export interface mimefilter {
|
|
899
|
+
include: string[];
|
|
900
|
+
exclude: string[];
|
|
901
|
+
default: "deny" | "allow";
|
|
902
|
+
}
|
|
903
|
+
/** One captured network log record with url, method, status, timing and step correlation through its request id. */
|
|
904
|
+
export interface netlogrecord {
|
|
905
|
+
url: string;
|
|
906
|
+
method: string;
|
|
907
|
+
status: number;
|
|
908
|
+
timing: number;
|
|
909
|
+
requestid?: string;
|
|
910
|
+
stepid: string;
|
|
911
|
+
at: number;
|
|
912
|
+
/** Captured header names; exported netlogs always carry their values redacted. */
|
|
913
|
+
headers?: Record<string, string>;
|
|
914
|
+
}
|
|
915
|
+
/** One clipboard entry with its kind, payload hash and origin provenance; the payload text never persists. */
|
|
916
|
+
export interface clipentry {
|
|
917
|
+
kind: "read" | "write" | "screen";
|
|
918
|
+
hash: string;
|
|
919
|
+
length: number;
|
|
920
|
+
origin: string;
|
|
921
|
+
stepid: string;
|
|
922
|
+
at: number;
|
|
923
|
+
}
|
|
924
|
+
/** Verdicts of the configured virus scanning hooks. */
|
|
925
|
+
export type scanverdict = "pending" | "clean" | "flagged" | "error";
|
|
926
|
+
/** One quarantined download kept outside the downloads folder with its reason, scan state and release ref. */
|
|
927
|
+
export interface quarantineentry {
|
|
928
|
+
id: string;
|
|
929
|
+
path: string;
|
|
930
|
+
reason: string;
|
|
931
|
+
scan: scanverdict;
|
|
932
|
+
release?: string;
|
|
933
|
+
at: number;
|
|
934
|
+
updatedat: number;
|
|
935
|
+
}
|
|
936
|
+
/** One consistent capture filename stamped from task, step and sequence parts. */
|
|
937
|
+
export interface capturename {
|
|
938
|
+
task: string;
|
|
939
|
+
step: string;
|
|
940
|
+
sequence: number;
|
|
941
|
+
}
|
|
942
|
+
/** One reviewed artifact cleanup rule with an age window, an artifact kind and a keep policy. */
|
|
943
|
+
export interface cleanuprule {
|
|
944
|
+
age: number;
|
|
945
|
+
kind: string;
|
|
946
|
+
keep: "none" | "latest" | "all";
|
|
947
|
+
}
|
|
948
|
+
/** One clipboard consent record with its prompt, origin and single use approval state; every clipboard read needs its own approved prompt. */
|
|
949
|
+
export interface clipboardconsentrecord {
|
|
950
|
+
id: string;
|
|
951
|
+
prompt: string;
|
|
952
|
+
origin: string;
|
|
953
|
+
stepid: string;
|
|
954
|
+
approved?: boolean;
|
|
955
|
+
usedat?: number;
|
|
956
|
+
at: number;
|
|
957
|
+
}
|
|
958
|
+
/** One user configured virus scanning hook endpoint stored behind its origin grant. */
|
|
959
|
+
export interface scanhookconfig {
|
|
960
|
+
scanner: string;
|
|
961
|
+
endpoint: string;
|
|
962
|
+
origin: string;
|
|
963
|
+
configuredat: number;
|
|
964
|
+
}
|
|
965
|
+
/** One stored capture naming counter per task and step base. */
|
|
966
|
+
export interface capturecounter {
|
|
967
|
+
taskid: string;
|
|
968
|
+
counters: Record<string, number>;
|
|
969
|
+
at: number;
|
|
970
|
+
}
|
|
971
|
+
/** One artifact inventory entry for the cleanup sweeper with its size and capture time. */
|
|
972
|
+
export interface artifactinventoryentry {
|
|
973
|
+
id: string;
|
|
974
|
+
kind: string;
|
|
975
|
+
name: string;
|
|
976
|
+
size: number;
|
|
977
|
+
at: number;
|
|
978
|
+
}
|
|
979
|
+
/** One cleanup run history record with the applied rule count and the removed and kept artifact counts. */
|
|
980
|
+
export interface cleanuprun {
|
|
981
|
+
id: string;
|
|
982
|
+
rules: number;
|
|
983
|
+
removed: number;
|
|
984
|
+
kept: number;
|
|
985
|
+
at: number;
|
|
986
|
+
}
|
|
987
|
+
/** Formats a reviewed capture may produce; anything outside this set is refused. */
|
|
988
|
+
export type captureformat = "png" | "jpeg" | "webp";
|
|
989
|
+
/** Export targets a reviewed capture may route to: session memory, the reviewed download flow or the clipboard. */
|
|
990
|
+
export type captureexport = "memory" | "download" | "clipboard";
|
|
991
|
+
/** Capture policy modes: captures off, manual shots only, annotated evidence or before and after state pairs around actions. */
|
|
992
|
+
export type capturepolicy = "off" | "manual" | "annotated" | "beforeafter";
|
|
993
|
+
/** Reviewed capture options: format, quality, pixel ratio, annotation flag and export target; every bound stays a user choice. */
|
|
994
|
+
export interface captureoptions {
|
|
995
|
+
format?: captureformat;
|
|
996
|
+
/** Jpeg and webp quality between zero and one hundred; any value in the format range is a user choice with no code cap. */
|
|
997
|
+
quality?: number;
|
|
998
|
+
/** Output scale from one up to any user configured ceiling with no code ceiling. */
|
|
999
|
+
pixelratio?: number;
|
|
1000
|
+
annotate?: boolean;
|
|
1001
|
+
exporttarget?: captureexport;
|
|
1002
|
+
}
|
|
1003
|
+
/** One reviewed rectangle of the page in css pixels. */
|
|
1004
|
+
export interface regionrect {
|
|
1005
|
+
x: number;
|
|
1006
|
+
y: number;
|
|
1007
|
+
width: number;
|
|
1008
|
+
height: number;
|
|
1009
|
+
}
|
|
1010
|
+
/** One planned viewport tiling of a full page capture: tile grid, scroll offsets and overlap rows. */
|
|
1011
|
+
export interface stitchplan {
|
|
1012
|
+
columns: number;
|
|
1013
|
+
rows: number;
|
|
1014
|
+
tiles: Array<{
|
|
1015
|
+
x: number;
|
|
1016
|
+
y: number;
|
|
1017
|
+
}>;
|
|
1018
|
+
overlap: number;
|
|
1019
|
+
scrollwidth: number;
|
|
1020
|
+
scrollheight: number;
|
|
1021
|
+
viewportwidth: number;
|
|
1022
|
+
viewportheight: number;
|
|
1023
|
+
}
|
|
1024
|
+
/** Reviewed contact sheet layout: cell size, column count and label style; cell counts stay user choice only. */
|
|
1025
|
+
export interface sheetlayout {
|
|
1026
|
+
cellsize: number;
|
|
1027
|
+
columns: number;
|
|
1028
|
+
label: "none" | "index" | "selector" | "both";
|
|
1029
|
+
}
|
|
1030
|
+
/** Reviewed capture naming rule choosing which filename segments participate. */
|
|
1031
|
+
export interface capturenaming {
|
|
1032
|
+
run: boolean;
|
|
1033
|
+
step: boolean;
|
|
1034
|
+
sequence: boolean;
|
|
1035
|
+
kind: boolean;
|
|
1036
|
+
}
|
|
1037
|
+
/** One stored screen capture record with its run, step, kind, format, geometry and capture time. */
|
|
1038
|
+
export interface shotrecord {
|
|
1039
|
+
id: string;
|
|
1040
|
+
runid: string;
|
|
1041
|
+
stepid: string;
|
|
1042
|
+
kind: string;
|
|
1043
|
+
format: captureformat;
|
|
1044
|
+
width: number;
|
|
1045
|
+
height: number;
|
|
1046
|
+
capturedat: number;
|
|
1047
|
+
/** Stored image bytes as a data url while the retention window still covers the record. */
|
|
1048
|
+
bytes?: string;
|
|
1049
|
+
name?: string;
|
|
1050
|
+
annotated?: boolean;
|
|
1051
|
+
exporttarget?: captureexport;
|
|
1052
|
+
target?: string;
|
|
1053
|
+
/** True once the retention window expired the bytes; the metadata stays for the audit trail. */
|
|
1054
|
+
bytesexpired?: boolean;
|
|
1055
|
+
}
|
|
1056
|
+
/** One before and after state pair linked to the action it wraps, with the dom snapshot id of the same moment. */
|
|
1057
|
+
export interface shotpair {
|
|
1058
|
+
id: string;
|
|
1059
|
+
beforeid: string;
|
|
1060
|
+
afterid: string;
|
|
1061
|
+
actionkind: string;
|
|
1062
|
+
target?: string;
|
|
1063
|
+
domsnapshotid?: string;
|
|
1064
|
+
at: number;
|
|
1065
|
+
}
|
|
868
1066
|
//# sourceMappingURL=types.d.ts.map
|