@wenathlan/extension 1.1.37 → 1.1.39
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/index.js +440 -8
- package/dist/index.js.map +2 -2
- package/dist/memory.d.ts +83 -1
- package/dist/memory.d.ts.map +1 -1
- package/dist/policy.d.ts +25 -1
- package/dist/policy.d.ts.map +1 -1
- package/dist/protocol.d.ts +46 -1
- package/dist/protocol.d.ts.map +1 -1
- package/dist/types.d.ts +209 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/extension/dist/background.js +1540 -14
- package/extension/dist/background.js.map +4 -4
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/pagebridge.js +199 -2
- package/extension/dist/pagebridge.js.map +4 -4
- package/extension/dist/popup.html +1 -1
- package/extension/dist/popup.js +41 -2
- package/extension/dist/popup.js.map +2 -2
- package/extension/dist/sidepanel.html +1 -1
- package/extension/dist/sidepanel.js +340 -2
- package/extension/dist/sidepanel.js.map +4 -4
- 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, derivedselector, detectionrecord, diagnosticreport, dialogdecision, dialogpolicy, endpointconfig, errorreport, focusevent, formprofile, keyholdstate, mutationevent, navcontrol, navintentrecord, navqueues, navrecord, observationrecord, pagesignals, planprogress, ratelimitstate, readercapture, recenttab, resolutionsummary, retryoutcome, runsettings, safetyverdict, sessionsnapshot, snapshotdiff, stepoutcome, submitticket, tabbadge, tabgrouprecord, tablayout, tabmeta, tabwatchevent, 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, 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>;
|
|
@@ -235,6 +235,88 @@ export declare class sessionmemory {
|
|
|
235
235
|
setcodevalue(value: string): Promise<void>;
|
|
236
236
|
/** Returns the reviewed one time code, if the user stored one behind the consent gate. */
|
|
237
237
|
getcodevalue(): Promise<string | undefined>;
|
|
238
|
+
/** Stores one dataset with its column specs and rows, replacing the previous record of that id. */
|
|
239
|
+
setdataset(value: dataset): Promise<void>;
|
|
240
|
+
/** Returns one stored dataset by its id with its column specs and row count. */
|
|
241
|
+
getdataset(id: string): Promise<dataset | undefined>;
|
|
242
|
+
/** Returns every stored dataset id, newest first. */
|
|
243
|
+
getdatasets(): Promise<dataset[]>;
|
|
244
|
+
/** Stores one imported csv dataset for fill loops beside the dataset store. */
|
|
245
|
+
addimport(value: dataset): Promise<void>;
|
|
246
|
+
/** Returns every imported csv dataset for fill loops, newest first. */
|
|
247
|
+
getimports(): Promise<dataset[]>;
|
|
248
|
+
/** Stores one extraction session with its cursor and page history, replacing the previous session of that id. */
|
|
249
|
+
setextractsession(value: extractsession): Promise<void>;
|
|
250
|
+
/** Returns every extraction session with its cursor and page history, newest first. */
|
|
251
|
+
getextractsessions(): Promise<extractsession[]>;
|
|
252
|
+
/** Records one provenance record of an exported artifact. */
|
|
253
|
+
addprovenance(record: provenancerecord): Promise<void>;
|
|
254
|
+
/** Returns every provenance record per exported artifact, newest first. */
|
|
255
|
+
getprovenances(): Promise<provenancerecord[]>;
|
|
256
|
+
/** Stores the transform rules and dedupe keys of one task, replacing the previous record of that task. */
|
|
257
|
+
settaskrules(value: taskrules): Promise<void>;
|
|
258
|
+
/** Returns the transform rules and dedupe keys per task, newest first. */
|
|
259
|
+
gettaskrules(): Promise<taskrules[]>;
|
|
260
|
+
/** Stores one stream chunk state for resume, replacing the previous state of that dataset. */
|
|
261
|
+
setstream(state: streamstate): Promise<void>;
|
|
262
|
+
/** Returns every stream chunk state persisted for resume, newest first. */
|
|
263
|
+
getstreams(): Promise<streamstate[]>;
|
|
264
|
+
/** Stores one reviewed sheet endpoint config behind its origin grant, replacing the previous config of that origin. */
|
|
265
|
+
setsheetendpoint(config: sheetendpoint): Promise<void>;
|
|
266
|
+
/** Returns every reviewed sheet endpoint config, newest first. */
|
|
267
|
+
getsheetendpoints(): Promise<sheetendpoint[]>;
|
|
268
|
+
/** Records one exported data artifact; artifact retention is a user setting and an absent setting keeps every artifact. */
|
|
269
|
+
addexport(artifact: exportedartifact): Promise<void>;
|
|
270
|
+
/** Returns every exported data artifact with its content and checksum, newest first. */
|
|
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[]>;
|
|
238
320
|
}
|
|
239
321
|
/** Creates identifiers locally without a network dependency. */
|
|
240
322
|
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,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE,YAAY,EAAE,WAAW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AAI,OAAO,CAAC,UAAU,EAAE,CAAC,CAAwE;CACtH;AAED,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, 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. */
|
|
@@ -21,12 +21,36 @@ export declare function istabscommandkind(kind: actionkind): boolean;
|
|
|
21
21
|
export declare function islayoutkind(kind: actionkind): boolean;
|
|
22
22
|
/** True when the kind belongs to the forms and data family. */
|
|
23
23
|
export declare function isformkind(kind: actionkind): boolean;
|
|
24
|
+
/** True when the kind belongs to the extraction, transform, export and provenance family. */
|
|
25
|
+
export declare function isdatasetkind(kind: actionkind): boolean;
|
|
26
|
+
/** True when the kind exports extracted data out of local memory to disk, the clipboard or a reviewed sheet endpoint. */
|
|
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
|
+
/** Refuses any export that would leave local memory while the session origin grants do not cover the active origin. */
|
|
31
|
+
export declare function exportgranted(session: agentsession | undefined, origin: string): policyevaluation;
|
|
24
32
|
/** Validates the reviewed fieldmatch grammar of one form field entry. */
|
|
25
33
|
export declare function validatefieldmatch(value: unknown): policyevaluation;
|
|
26
34
|
/** Validates a reviewed structured form record; password entries are refused because passwords need the explicit consentpassword consent. */
|
|
27
35
|
export declare function validateformrecord(value: unknown): policyevaluation;
|
|
28
36
|
/** Validates the reviewed valuegen grammar of a generatevalues step. */
|
|
29
37
|
export declare function validatevaluegen(value: unknown): policyevaluation;
|
|
38
|
+
/** Validates one reviewed transform rule: a supported expression, source columns and a target column. */
|
|
39
|
+
export declare function validatetransformrule(value: unknown): policyevaluation;
|
|
40
|
+
/** Validates a reviewed batch download specification: a non-empty HTTPS url list, an optional filename rule and an optional completion criterion. */
|
|
41
|
+
export declare function validatedownloadspec(value: unknown): policyevaluation;
|
|
42
|
+
/** Validates a reviewed mime interception filter: include and exclude patterns plus the deny default for unlisted mime types. */
|
|
43
|
+
export declare function validatemimefilter(value: unknown): policyevaluation;
|
|
44
|
+
/** Validates one reviewed cleanup rule: a positive age window with no code ceiling, an artifact kind and a keep policy. */
|
|
45
|
+
export declare function validatecleanuprule(value: unknown): policyevaluation;
|
|
46
|
+
/** Requires an approved consent prompt before any clipboard read; every read consumes its own prompt. */
|
|
47
|
+
export declare function clipboardconsentgranted(step: toolstep): policyevaluation;
|
|
48
|
+
/** Refuses to release any quarantined file before a clean scan verdict exists. */
|
|
49
|
+
export declare function quarantinereleasegranted(entry: quarantineentry): policyevaluation;
|
|
50
|
+
/** Refuses downloads and download interception that fall outside the session origin grants. */
|
|
51
|
+
export declare function downloadgranted(session: agentsession | undefined, url: string): policyevaluation;
|
|
52
|
+
/** Masks a clipboard payload for every log line; the full text never persists anywhere. */
|
|
53
|
+
export declare function maskclipboard(payload: string): string;
|
|
30
54
|
/** Requires an asksubmit review step before every form submission step. */
|
|
31
55
|
export declare function submitreviewgranted(steps: toolstep[], submitid: string): policyevaluation;
|
|
32
56
|
/** 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,
|
|
1
|
+
{"version":3,"file":"policy.d.ts","s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AgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAKlG;AAkED,mGAAmG;AACnG,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAWnE;AAmBD,0HAA0H;AAC1H,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAUjE;AA+FD,kFAAkF;AAClF,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,CA4N7E;AAWD,qFAAqF;AACrF,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,CAAC;IAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAA;CAAE,GAAG,gBAAgB,CAkD/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 errorreport, type focusevent, type formreport, type keyholdstate, type mutationevent, type navstate, type observation, type pagesignals, type planproposal, type proposalrequest, type resolvedtarget, type safetyverdict, type selectorcandidate, type snapshotdiff, type stepoutcome, type tablayout, type tabreport, type trailentry, 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 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
|
*
|
|
@@ -23,6 +23,10 @@ import { protocolversion, type agentplan, type bannerreport, type clickablemap,
|
|
|
23
23
|
* - tab command steps attach structured evidence to step details: tab reports with matched tabs carrying audio state and metadata, group registries, badge states, layout snapshots, clone warnings, discard candidates and watchtab event records.
|
|
24
24
|
* - the forms and data family adds its parameter grammar: `formrecord` with an optional `form` selector and non-empty `entries` of `{ match, kind, value }` where `match` is a `fieldmatch` with `mode` one of `label`, `placeholder`, `arialabel` or `name`; `valuegen` with a field `kind`, an optional `locale` and an optional numeric `seed`; `fields` lists of label or placeholder value pairs for filllabel and fillplaceholder; a reviewed `name` plus `formrecord` for saveprofiles; a reviewed `consentref` for submitform and consentpassword; a reviewed `backoff` rule with `wait` and `factor` plus an optional `attempts` for retryform with no code ceiling; a reviewed `child` selector, `pick` entry, `pause` and `timeout` for chains, typeaheads and card typing; reviewed card `segments`; and a reviewed `source` for fillcode; password entries inside form records are refused because passwords need the explicit consentpassword consent.
|
|
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
|
+
* - 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
|
+
* - 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.
|
|
26
30
|
*
|
|
27
31
|
* Ambiguous text, aria or name resolutions are refused at execution time with the candidate list so the user can choose.
|
|
28
32
|
*/
|
|
@@ -132,4 +136,45 @@ export declare function wizardreport(input: {
|
|
|
132
136
|
wizards: wizardstate[];
|
|
133
137
|
picks: typeaheadpick[];
|
|
134
138
|
};
|
|
139
|
+
/** Wraps one dataset payload with its column specs and a sampled row list in the versioned response envelope. */
|
|
140
|
+
export declare function datasetresponse(input: {
|
|
141
|
+
dataset: dataset;
|
|
142
|
+
plan: agentplan;
|
|
143
|
+
sample?: number;
|
|
144
|
+
}): string;
|
|
145
|
+
/** Carries the extraction progress with visited page counts, collected row counts and resume cursors in the session context envelope. */
|
|
146
|
+
export declare function extractionreport(input: {
|
|
147
|
+
sessions: extractsession[];
|
|
148
|
+
}): {
|
|
149
|
+
version: typeof protocolversion;
|
|
150
|
+
sessions: extractsession[];
|
|
151
|
+
};
|
|
152
|
+
/** Reports the provenance records of every exported artifact with its source url, step ref, row range and checksum in the session context envelope. */
|
|
153
|
+
export declare function provenancereport(input: {
|
|
154
|
+
records: provenancerecord[];
|
|
155
|
+
}): {
|
|
156
|
+
version: typeof protocolversion;
|
|
157
|
+
records: provenancerecord[];
|
|
158
|
+
};
|
|
159
|
+
/** Documents the reviewed transform rule grammar shared by transformvalues steps and the task rules store. */
|
|
160
|
+
export declare function transformgrammar(rules: transformrule[]): string;
|
|
161
|
+
/** Wraps the batch download queue with per file states, resolved paths and checksums in the versioned response envelope. */
|
|
162
|
+
export declare function downloadreport(input: {
|
|
163
|
+
downloads: downloadrecord[];
|
|
164
|
+
plan: agentplan;
|
|
165
|
+
}): string;
|
|
166
|
+
/** Carries the captured network log records with their step correlation through request ids in the session context envelope. */
|
|
167
|
+
export declare function netlogreport(input: {
|
|
168
|
+
records: netlogrecord[];
|
|
169
|
+
}): {
|
|
170
|
+
version: typeof protocolversion;
|
|
171
|
+
records: netlogrecord[];
|
|
172
|
+
};
|
|
173
|
+
/** Carries the quarantine entries with their scan verdicts and release refs in the session context envelope. */
|
|
174
|
+
export declare function quarantinereport(input: {
|
|
175
|
+
entries: quarantineentry[];
|
|
176
|
+
}): {
|
|
177
|
+
version: typeof protocolversion;
|
|
178
|
+
entries: quarantineentry[];
|
|
179
|
+
};
|
|
135
180
|
//# 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,WAAW,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,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,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,YAAY,EAAE,KAAK,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAA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C,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAIrG;AAED,yIAAyI;AACzI,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,cAAc,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,OAAO,eAAe,CAAC;IAAC,QAAQ,EAAE,cAAc,EAAE,CAAA;CAAE,CAEvI;AAED,uJAAuJ;AACvJ,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,OAAO,eAAe,CAAC;IAAC,OAAO,EAAE,gBAAgB,EAAE,CAAA;CAAE,CAEzI;AAED,8GAA8G;AAC9G,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,MAAM,CAE/D;AAED,4HAA4H;AAC5H,wBAAgB,cAAc,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,cAAc,EAAE,CAAC;IAAC,IAAI,EAAE,SAAS,CAAA;CAAE,GAAG,MAAM,CAE9F;AAED,gIAAgI;AAChI,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,YAAY,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,OAAO,eAAe,CAAC;IAAC,OAAO,EAAE,YAAY,EAAE,CAAA;CAAE,CAE7H;AAED,gHAAgH;AAChH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,eAAe,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,OAAO,eAAe,CAAC;IAAC,OAAO,EAAE,eAAe,EAAE,CAAA;CAAE,CAEvI"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const protocolversion: "1.1.
|
|
1
|
+
export declare const protocolversion: "1.1.39";
|
|
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";
|
|
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";
|
|
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";
|
|
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";
|
|
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 {
|
|
@@ -120,6 +120,10 @@ export interface runsettings {
|
|
|
120
120
|
observationretention?: number;
|
|
121
121
|
/** User configured ceiling on concurrent task tabs; an absent value never refuses a tab. */
|
|
122
122
|
tasktabceiling?: number;
|
|
123
|
+
/** Retention window for exported data artifacts; an absent value keeps every artifact. */
|
|
124
|
+
artifactretention?: number;
|
|
125
|
+
/** Retention window for captured network log records; an absent value keeps every record. */
|
|
126
|
+
netlogretention?: number;
|
|
123
127
|
/** True when the pinned control tab with the live task feed stays open. */
|
|
124
128
|
controltab?: boolean;
|
|
125
129
|
}
|
|
@@ -772,4 +776,206 @@ export interface formreport {
|
|
|
772
776
|
matched: boolean;
|
|
773
777
|
}>;
|
|
774
778
|
}
|
|
779
|
+
/** One scraped or imported dataset column with a stable key, its label, its value kind and the normalized name. */
|
|
780
|
+
export interface columnspec {
|
|
781
|
+
key: string;
|
|
782
|
+
label: string;
|
|
783
|
+
kind: "text" | "number";
|
|
784
|
+
normalized: string;
|
|
785
|
+
}
|
|
786
|
+
/** One dataset row keyed by column keys. */
|
|
787
|
+
export type datasetrow = Record<string, string>;
|
|
788
|
+
/** One source reference attaching a row index to its url, timestamp and step ref. */
|
|
789
|
+
export interface sourceref {
|
|
790
|
+
row: number;
|
|
791
|
+
url: string;
|
|
792
|
+
at: number;
|
|
793
|
+
stepid?: string;
|
|
794
|
+
}
|
|
795
|
+
/** One structured dataset with column specs, rows and source refs; row counts stay user configured with no code ceiling. */
|
|
796
|
+
export interface dataset {
|
|
797
|
+
id: string;
|
|
798
|
+
name: string;
|
|
799
|
+
columns: columnspec[];
|
|
800
|
+
rows: datasetrow[];
|
|
801
|
+
sources: sourceref[];
|
|
802
|
+
at: number;
|
|
803
|
+
}
|
|
804
|
+
/** One reviewed transform rule applying an expression to source columns and writing the target column. */
|
|
805
|
+
export interface transformrule {
|
|
806
|
+
expression: string;
|
|
807
|
+
sources: string[];
|
|
808
|
+
target: string;
|
|
809
|
+
}
|
|
810
|
+
/** One extraction session tracking visited pages, collected rows and the resume cursor. */
|
|
811
|
+
export interface extractsession {
|
|
812
|
+
id: string;
|
|
813
|
+
datasetid: string;
|
|
814
|
+
name: string;
|
|
815
|
+
target: string;
|
|
816
|
+
next: string;
|
|
817
|
+
planned: number;
|
|
818
|
+
pages: string[];
|
|
819
|
+
rows: number;
|
|
820
|
+
cursor: number;
|
|
821
|
+
done?: boolean;
|
|
822
|
+
startedat: number;
|
|
823
|
+
updatedat: number;
|
|
824
|
+
}
|
|
825
|
+
/** One provenance record of an exported artifact with its url, timestamp, step ref, row range and checksum. */
|
|
826
|
+
export interface provenancerecord {
|
|
827
|
+
artifact: string;
|
|
828
|
+
name: string;
|
|
829
|
+
url: string;
|
|
830
|
+
stepid: string;
|
|
831
|
+
rowstart: number;
|
|
832
|
+
rowend: number;
|
|
833
|
+
checksum: string;
|
|
834
|
+
at: number;
|
|
835
|
+
}
|
|
836
|
+
/** One exported data artifact kept in the task artifact store with its content and checksum. */
|
|
837
|
+
export interface exportedartifact {
|
|
838
|
+
id: string;
|
|
839
|
+
kind: "csv" | "json" | "excel";
|
|
840
|
+
name: string;
|
|
841
|
+
stepid: string;
|
|
842
|
+
rowcount: number;
|
|
843
|
+
content: string;
|
|
844
|
+
checksum: string;
|
|
845
|
+
at: number;
|
|
846
|
+
}
|
|
847
|
+
/** One streaming export state with chunk and written row counters persisted for resume. */
|
|
848
|
+
export interface streamstate {
|
|
849
|
+
datasetid: string;
|
|
850
|
+
name: string;
|
|
851
|
+
chunk: number;
|
|
852
|
+
chunks: number;
|
|
853
|
+
written: number;
|
|
854
|
+
done?: boolean;
|
|
855
|
+
at: number;
|
|
856
|
+
}
|
|
857
|
+
/** One reviewed sheet endpoint configuration stored behind its origin grant. */
|
|
858
|
+
export interface sheetendpoint {
|
|
859
|
+
endpoint: string;
|
|
860
|
+
origin: string;
|
|
861
|
+
configuredat: number;
|
|
862
|
+
}
|
|
863
|
+
/** Transform rules and dedupe keys remembered per task between extraction and export. */
|
|
864
|
+
export interface taskrules {
|
|
865
|
+
taskid: string;
|
|
866
|
+
transforms: transformrule[];
|
|
867
|
+
dedupekeys: string[];
|
|
868
|
+
at: number;
|
|
869
|
+
}
|
|
870
|
+
/** One reviewed batch download specification with its url list, filename rule and completion criteria. */
|
|
871
|
+
export interface downloadspec {
|
|
872
|
+
urls: string[];
|
|
873
|
+
filename?: string;
|
|
874
|
+
complete?: "size" | "checksum";
|
|
875
|
+
}
|
|
876
|
+
/** Per file states of the batch download queue. */
|
|
877
|
+
export type downloadstate = "queued" | "running" | "paused" | "complete" | "failed";
|
|
878
|
+
/** One batch download file record with its state, resolved path and checksum; concurrent windows stay user configured with no code ceiling. */
|
|
879
|
+
export interface downloadrecord {
|
|
880
|
+
id: string;
|
|
881
|
+
url: string;
|
|
882
|
+
filename: string;
|
|
883
|
+
state: downloadstate;
|
|
884
|
+
downloadid?: number;
|
|
885
|
+
path?: string;
|
|
886
|
+
bytes?: number;
|
|
887
|
+
checksum?: string;
|
|
888
|
+
at: number;
|
|
889
|
+
updatedat: number;
|
|
890
|
+
}
|
|
891
|
+
/** Reviewed mime interception filter with include and exclude patterns and a deny default for unlisted mime types. */
|
|
892
|
+
export interface mimefilter {
|
|
893
|
+
include: string[];
|
|
894
|
+
exclude: string[];
|
|
895
|
+
default: "deny" | "allow";
|
|
896
|
+
}
|
|
897
|
+
/** One captured network log record with url, method, status, timing and step correlation through its request id. */
|
|
898
|
+
export interface netlogrecord {
|
|
899
|
+
url: string;
|
|
900
|
+
method: string;
|
|
901
|
+
status: number;
|
|
902
|
+
timing: number;
|
|
903
|
+
requestid?: string;
|
|
904
|
+
stepid: string;
|
|
905
|
+
at: number;
|
|
906
|
+
/** Captured header names; exported netlogs always carry their values redacted. */
|
|
907
|
+
headers?: Record<string, string>;
|
|
908
|
+
}
|
|
909
|
+
/** One clipboard entry with its kind, payload hash and origin provenance; the payload text never persists. */
|
|
910
|
+
export interface clipentry {
|
|
911
|
+
kind: "read" | "write" | "screen";
|
|
912
|
+
hash: string;
|
|
913
|
+
length: number;
|
|
914
|
+
origin: string;
|
|
915
|
+
stepid: string;
|
|
916
|
+
at: number;
|
|
917
|
+
}
|
|
918
|
+
/** Verdicts of the configured virus scanning hooks. */
|
|
919
|
+
export type scanverdict = "pending" | "clean" | "flagged" | "error";
|
|
920
|
+
/** One quarantined download kept outside the downloads folder with its reason, scan state and release ref. */
|
|
921
|
+
export interface quarantineentry {
|
|
922
|
+
id: string;
|
|
923
|
+
path: string;
|
|
924
|
+
reason: string;
|
|
925
|
+
scan: scanverdict;
|
|
926
|
+
release?: string;
|
|
927
|
+
at: number;
|
|
928
|
+
updatedat: number;
|
|
929
|
+
}
|
|
930
|
+
/** One consistent capture filename stamped from task, step and sequence parts. */
|
|
931
|
+
export interface capturename {
|
|
932
|
+
task: string;
|
|
933
|
+
step: string;
|
|
934
|
+
sequence: number;
|
|
935
|
+
}
|
|
936
|
+
/** One reviewed artifact cleanup rule with an age window, an artifact kind and a keep policy. */
|
|
937
|
+
export interface cleanuprule {
|
|
938
|
+
age: number;
|
|
939
|
+
kind: string;
|
|
940
|
+
keep: "none" | "latest" | "all";
|
|
941
|
+
}
|
|
942
|
+
/** One clipboard consent record with its prompt, origin and single use approval state; every clipboard read needs its own approved prompt. */
|
|
943
|
+
export interface clipboardconsentrecord {
|
|
944
|
+
id: string;
|
|
945
|
+
prompt: string;
|
|
946
|
+
origin: string;
|
|
947
|
+
stepid: string;
|
|
948
|
+
approved?: boolean;
|
|
949
|
+
usedat?: number;
|
|
950
|
+
at: number;
|
|
951
|
+
}
|
|
952
|
+
/** One user configured virus scanning hook endpoint stored behind its origin grant. */
|
|
953
|
+
export interface scanhookconfig {
|
|
954
|
+
scanner: string;
|
|
955
|
+
endpoint: string;
|
|
956
|
+
origin: string;
|
|
957
|
+
configuredat: number;
|
|
958
|
+
}
|
|
959
|
+
/** One stored capture naming counter per task and step base. */
|
|
960
|
+
export interface capturecounter {
|
|
961
|
+
taskid: string;
|
|
962
|
+
counters: Record<string, number>;
|
|
963
|
+
at: number;
|
|
964
|
+
}
|
|
965
|
+
/** One artifact inventory entry for the cleanup sweeper with its size and capture time. */
|
|
966
|
+
export interface artifactinventoryentry {
|
|
967
|
+
id: string;
|
|
968
|
+
kind: string;
|
|
969
|
+
name: string;
|
|
970
|
+
size: number;
|
|
971
|
+
at: number;
|
|
972
|
+
}
|
|
973
|
+
/** One cleanup run history record with the applied rule count and the removed and kept artifact counts. */
|
|
974
|
+
export interface cleanuprun {
|
|
975
|
+
id: string;
|
|
976
|
+
rules: number;
|
|
977
|
+
removed: number;
|
|
978
|
+
kept: number;
|
|
979
|
+
at: number;
|
|
980
|
+
}
|
|
775
981
|
//# sourceMappingURL=types.d.ts.map
|