@wenathlan/extension 1.1.64 → 1.1.65

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.
Files changed (49) hide show
  1. package/README.md +4 -3
  2. package/dist/datagrid.d.ts +46 -0
  3. package/dist/datagrid.d.ts.map +1 -0
  4. package/dist/evidenceviews.d.ts +45 -0
  5. package/dist/evidenceviews.d.ts.map +1 -0
  6. package/dist/index.d.ts +9 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +752 -1
  9. package/dist/index.js.map +4 -4
  10. package/dist/memory.d.ts +38 -1
  11. package/dist/memory.d.ts.map +1 -1
  12. package/dist/pickerviews.d.ts +72 -0
  13. package/dist/pickerviews.d.ts.map +1 -0
  14. package/dist/policy.d.ts +59 -1
  15. package/dist/policy.d.ts.map +1 -1
  16. package/dist/portability.d.ts +35 -0
  17. package/dist/portability.d.ts.map +1 -0
  18. package/dist/protocol.d.ts +114 -1
  19. package/dist/protocol.d.ts.map +1 -1
  20. package/dist/quickactions.d.ts +46 -0
  21. package/dist/quickactions.d.ts.map +1 -0
  22. package/dist/siteprefs.d.ts +45 -0
  23. package/dist/siteprefs.d.ts.map +1 -0
  24. package/dist/statusviews.d.ts +65 -0
  25. package/dist/statusviews.d.ts.map +1 -0
  26. package/dist/tourviews.d.ts +28 -0
  27. package/dist/tourviews.d.ts.map +1 -0
  28. package/dist/types.d.ts +252 -4
  29. package/dist/types.d.ts.map +1 -1
  30. package/dist/version.d.ts +1 -1
  31. package/extension/dist/background.js +900 -2
  32. package/extension/dist/background.js.map +4 -4
  33. package/extension/dist/dashboardpage.html +1 -0
  34. package/extension/dist/dashboardpage.js +18 -0
  35. package/extension/dist/dashboardpage.js.map +2 -2
  36. package/extension/dist/manifest.json +1 -1
  37. package/extension/dist/optionspage.html +4 -0
  38. package/extension/dist/optionspage.js +149 -0
  39. package/extension/dist/optionspage.js.map +2 -2
  40. package/extension/dist/pagebridge.js.map +1 -1
  41. package/extension/dist/popup.html +2 -2
  42. package/extension/dist/popup.js +90 -0
  43. package/extension/dist/popup.js.map +2 -2
  44. package/extension/dist/sidepanel.html +2 -2
  45. package/extension/dist/sidepanel.js +84 -3
  46. package/extension/dist/sidepanel.js.map +2 -2
  47. package/extension/dist/style.css +3 -1
  48. package/extension/manifest.json +1 -1
  49. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export declare const protocolversion: "1.1.64";
1
+ export declare const protocolversion: "1.1.65";
2
2
  /** Every reviewed action kind. Read kinds observe, interaction kinds move focus, sensitive kinds change page or browser state. */
3
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" | "capturepdf" | "recordscreen" | "captureaudio" | "captureframe" | "downloadimages" | "shotcanvas" | "probestream" | "readmedia" | "readassets" | "timelapse" | "convertimage" | "makethumbs" | "fetchurl" | "parsejson" | "parsehtml" | "callrest" | "callgraphql" | "opensocket" | "sendmessage" | "waitmessage" | "watchrequests" | "readheaders" | "capturebodies" | "subscribesse" | "longpoll" | "mapapi" | "extractapi" | "blockrequest" | "mockresponse" | "rewriteheaders" | "setcookies" | "readcookies" | "clearcookies" | "authflow" | "saveapikey" | "routeproxy" | "postform" | "postfiles" | "watchconsole" | "watcherrors" | "watchtasks" | "attachcdp" | "detachcdp" | "cdpcmd" | "watchcdp" | "setbreakpoint" | "stepcode" | "watchexpr" | "overridescript" | "measureflow" | "heapshot" | "trackmemory" | "profilecpu" | "watchshifts" | "traceload" | "annotatetrace" | "replaytrace" | "capturesourcemaps" | "emulatedevice" | "emulatenetwork" | "emulatelocate" | "setuseragent" | "overridepermission" | "blackboxscripts" | "persiststate" | "capturesession" | "restoresession" | "namedsessions" | "diffsessions" | "searchsessions" | "exportsessions" | "importsessions" | "composeworkflow" | "savetemplate" | "runworkflow" | "dryrun" | "delay" | "waitelement" | "compute" | "extractvars" | "listruns" | "condition" | "branch" | "loop" | "repeatuntil" | "whileloop" | "foreach" | "parallel" | "trycatch" | "visitrule" | "urlrule" | "menurule" | "keyrule" | "buttonrule" | "cronrule" | "intervalrule" | "urllistrule" | "webhookrule" | "eventrule";
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" | "intercept" | "clipboard" | "quarantine" | "cleanup" | "capture" | "media" | "call" | "socket" | "replay" | "control" | "timeline" | "debugger" | "profile" | "emulation" | "workflow" | "trigger" | "protocol" | "tool" | "model" | "swarm" | "environment" | "worker" | "sandbox" | "grant" | "expiry" | "revoke" | "deny" | "seal" | "mask" | "vault" | "gate" | "phish" | "defer" | "schema" | "inbound" | "transparency" | "notes" | "scratchpad" | "summary" | "recall" | "correction" | "consentmemory" | "cancel" | "search" | "palette" | "surface" | "onboarding" | "logstream";
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" | "media" | "call" | "socket" | "replay" | "control" | "timeline" | "debugger" | "profile" | "emulation" | "workflow" | "trigger" | "protocol" | "tool" | "model" | "swarm" | "environment" | "worker" | "sandbox" | "grant" | "expiry" | "revoke" | "deny" | "seal" | "mask" | "vault" | "gate" | "phish" | "defer" | "schema" | "inbound" | "transparency" | "notes" | "scratchpad" | "summary" | "recall" | "correction" | "consentmemory" | "cancel" | "search" | "palette" | "surface" | "onboarding" | "logstream" | "datagrid" | "quickaction" | "shortcut" | "omnibox" | "notify" | "picker" | "shotpanel" | "compare" | "siteprofile" | "theme" | "locale" | "importexport" | "tour" | "a11y" | "pagechip" | "toast" | "recent" | "dropimport";
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 {
@@ -254,6 +254,18 @@ export interface runsettings {
254
254
  paletteshortcut?: string;
255
255
  /** The byte ceiling above which diffpreview generation offloads to the offscreen worker pool when the user granted the offscreen capability; an absent ceiling keeps every diff inline. */
256
256
  diffpreviewbytes?: number;
257
+ /** The recenttray depth: the number of latest runs the popup tray keeps; an absent depth keeps every run. */
258
+ recenttraydepth?: number;
259
+ /** True when the user consents to notifications that carry page content; an absent value keeps every notification body content free so no consent is needed. */
260
+ notifyconsent?: boolean;
261
+ /** True when the user turns the done and attention notifications on; an absent value keeps them on with content free bodies only. */
262
+ notifyenabled?: boolean;
263
+ /** The manual darklight override: dark or light forces the theme while system follows the os preference; an absent value follows the os preference alone. */
264
+ themepreference?: "dark" | "light" | "system";
265
+ /** The language of the interface strings; an absent value keeps english with the locale fallback. */
266
+ uilanguage?: string;
267
+ /** The steteoast live count: the number of newest step toasts the live stack keeps while the full history stays queryable; an absent count keeps every toast live. */
268
+ toastlivecount?: number;
257
269
  }
258
270
  export interface proposalrequest {
259
271
  objective: string;
@@ -4805,8 +4817,8 @@ export interface tabsessionref {
4805
4817
  * The interface becomes a family of five surfaces here: the popup grows into a command surface, the sidepanel becomes the workspace with plan, run and review tabs, the dashboardpage opens a full page view in a new tab, the optionspage gathers every setting in one place and the onboarding walks a first run. The commandpalette registers entries from every module at startup, lists only the actions the current capability set allows and ranks fuzzy matches with the recent commands first; the taskinput submits natural language goals through the same proposal flow as the api with the active origin and page outline attached; plancards render one card per proposed step with kind, risk class, environment and options grouped by risk class with the sensitive classes expanded by default; stepapprove resolves one step per human action with approve, reject and edit provenance written into the immutable log; diffpreview compares the observed before state with the predicted after state of write class steps only with masked values carrying their mask verdicts; the stepstimeline derives its nodes from progress records with no new state; and the logstream renders live events with level, source and step ref while the single broadcast channel carries run state to every surface.
4806
4818
  * The consent gates do not move: every surface action rides the same policy gates, the command bus records each routing in the audit trail, and no interface surface ever bypasses the human review.
4807
4819
  */
4808
- /** The five interface surfaces of the 1.1.64 family: the popup command surface, the sidepanel workspace, the dashboardpage, the optionspage and the onboarding walkthrough. */
4809
- export type uisurface = "popup" | "sidepanel" | "dashboardpage" | "optionspage" | "onboarding";
4820
+ /** The interface surfaces of the 1.1.64 and 1.1.65 families: the popup command surface, the sidepanel workspace, the dashboardpage, the optionspage, the onboarding walkthrough, the omnibox entry point and the inline page surface of the pagechips. */
4821
+ export type uisurface = "popup" | "sidepanel" | "dashboardpage" | "optionspage" | "onboarding" | "omnibox" | "page";
4810
4822
  /** One commandpalette action: the command it routes, the surface it opens on, the optional permission it needs granted and whether it needs an active session. */
4811
4823
  export interface paletteaction {
4812
4824
  command: string;
@@ -4968,4 +4980,240 @@ export interface paletteuserecord {
4968
4980
  count: number;
4969
4981
  lastusedat: number;
4970
4982
  }
4983
+ /**
4984
+ * Interface surface contracts of the 1.1.65 family, part two.
4985
+ * This family finishes the interface layer: the datagrid arranges extraction results into columns and rows with inferred types and the exportmenu ships them as csv, json or clipboard in masked form only; quickactions, shortcutkeys and the omniboxtask shorten the path to a run behind the same gates; the statusbadge, the done and attention notifications, the recenttray and the stetoasts keep the user informed without watching; the pickeroverlay, the targethalo, the guidedtips, the shotpanel, the compareviewer and the pagechips cover selection and evidence; and the siteprofiles, the darklight theme tokens, the locale bundles, the importexport payloads, the dropimport sessions, the featuretour stops and the a11ylabels round out the surface.
4986
+ * The consent gates do not move: every quickaction rides the origin allowlist of the clicked tab, every omnibox goal routes through the proposal flow, every notification with page content needs its consent, every picker read stays inside the granted origin, no bundle ever ships a secretvault value or an unmasked log, and no interface element ever bypasses the human review.
4987
+ */
4988
+ /** One datagrid column with its type inferred from the observed values: text, number, boolean, date or an all empty column. */
4989
+ export interface datagridcolumn {
4990
+ field: string;
4991
+ label: string;
4992
+ type: "text" | "number" | "boolean" | "date" | "empty";
4993
+ /** True when the type was inferred from the values rather than declared by the extraction. */
4994
+ inferred: boolean;
4995
+ }
4996
+ /** One datagrid row: its original order as index, its field values and its selected mark of a partial export range. */
4997
+ export interface datagridrow {
4998
+ index: number;
4999
+ values: Record<string, string>;
5000
+ /** True when the row sits inside the selected range of a partial export. */
5001
+ selected?: boolean;
5002
+ }
5003
+ /** One datagrid view of an extraction result: the title, the origin, the run, the inferred columns, the rows and the build time. */
5004
+ export interface datagridview {
5005
+ id: string;
5006
+ title: string;
5007
+ origin: string;
5008
+ runid: string;
5009
+ columns: datagridcolumn[];
5010
+ rows: datagridrow[];
5011
+ at: number;
5012
+ }
5013
+ /** One exportmenu descriptor: the csv, json or clipboard format, the selection, step or run scope and the download, clipboard or memory destination. */
5014
+ export interface exportmenudescriptor {
5015
+ format: "csv" | "json" | "clipboard";
5016
+ scope: "selection" | "step" | "run";
5017
+ destination: "download" | "clipboard" | "memory";
5018
+ }
5019
+ /** One quickaction bound to a context menu entry: the command it routes, the surface it opens on, the optional permission it needs granted and whether it needs an active session. */
5020
+ export interface quickaction {
5021
+ id: string;
5022
+ label: string;
5023
+ command: string;
5024
+ surface: uisurface;
5025
+ /** The optional capability the quickaction needs granted before it registers; an absent permission needs none. */
5026
+ permission?: string;
5027
+ /** True when the quickaction needs an active browser session before it registers. */
5028
+ session?: boolean;
5029
+ }
5030
+ /** One shortcutkeys binding: the command it triggers, the key, the modifiers, the user editable mark and the surface it binds on; the palette command binds on every surface. */
5031
+ export interface shortcutbinding {
5032
+ command: string;
5033
+ key: string;
5034
+ modifiers: string[];
5035
+ editable: boolean;
5036
+ surface: uisurface;
5037
+ }
5038
+ /** One omniboxtask submission parsed from the omnibox keyword: the natural language goal after the keyword, the active origin and the time. */
5039
+ export interface omniboxtasksubmission {
5040
+ id: string;
5041
+ text: string;
5042
+ origin: string;
5043
+ surface: "omnibox";
5044
+ at: number;
5045
+ }
5046
+ /** One statusbadge state of the toolbar icon: idle, running, waiting or attention with the count of waiting gates that need a human. */
5047
+ export interface statusbadgestate {
5048
+ state: "idle" | "running" | "waiting" | "attention";
5049
+ waitingcount: number;
5050
+ runid?: string;
5051
+ }
5052
+ /** One notification payload: the done or attention kind, the title, the body, the deep link, the optional step ref and whether the body carries page content that needs its consent. */
5053
+ export interface notificationpayload {
5054
+ id: string;
5055
+ kind: "done" | "attention";
5056
+ title: string;
5057
+ body: string;
5058
+ deeplink: string;
5059
+ runid?: string;
5060
+ stepid?: string;
5061
+ /** True when the notification body carries page content; the content consent gate must allow before it shows. */
5062
+ content: boolean;
5063
+ at: number;
5064
+ }
5065
+ /** One recenttray entry: the run id, the origin, the outcome, the title, the time and the resume and reopen offers. */
5066
+ export interface recenttrayentry {
5067
+ runid: string;
5068
+ origin: string;
5069
+ outcome: "running" | "completed" | "halted" | "failed";
5070
+ title: string;
5071
+ at: number;
5072
+ resumable: boolean;
5073
+ reopenable: boolean;
5074
+ }
5075
+ /** One pickeroverlay candidate: the selector, the optional text and role anchors, the stability score and the plain language reason the score stands. */
5076
+ export interface pickercandidate {
5077
+ selector: string;
5078
+ text?: string;
5079
+ role?: string;
5080
+ stabilityscore: number;
5081
+ reason: string;
5082
+ }
5083
+ /** One pickeroverlay session: the granted origin it reads, the ranked candidates, the locked step and selector and the start time. */
5084
+ export interface pickersession {
5085
+ id: string;
5086
+ origin: string;
5087
+ candidates: pickercandidate[];
5088
+ /** The step the locked candidate binds to; one session locks one candidate. */
5089
+ lockedstepid?: string;
5090
+ lockedselector?: string;
5091
+ startedat: number;
5092
+ }
5093
+ /** One targethalo geometry descriptor: the step it outlines, the target selector, the pixel rect and the step state that colors the outline. */
5094
+ export interface targethalo {
5095
+ stepid: string;
5096
+ selector: string;
5097
+ rect: {
5098
+ x: number;
5099
+ y: number;
5100
+ width: number;
5101
+ height: number;
5102
+ };
5103
+ state: "pending" | "running" | "waiting" | "done" | "failed" | "halted";
5104
+ }
5105
+ /** One guidedtip: the surface it teaches, the title, the body and the picker step it binds to. */
5106
+ export interface guidedtip {
5107
+ id: string;
5108
+ surface: uisurface;
5109
+ title: string;
5110
+ body: string;
5111
+ pickerstep?: string;
5112
+ }
5113
+ /** One shotpanel view: the step, the run, the capture id, the capture provenance, the origin, the redaction verdicts, the zoom and pan the user set and the build time. */
5114
+ export interface shotpanelview {
5115
+ id: string;
5116
+ stepid: string;
5117
+ runid: string;
5118
+ captureid: string;
5119
+ provenance: "viewport" | "fullpage" | "element" | "region";
5120
+ origin: string;
5121
+ redactions: Array<{
5122
+ region: string;
5123
+ verdict: string;
5124
+ }>;
5125
+ zoom: number;
5126
+ pan: {
5127
+ x: number;
5128
+ y: number;
5129
+ };
5130
+ at: number;
5131
+ }
5132
+ /** One compareviewer pair: the step it compares, the before capture, the after capture and the slider position of the overlay. */
5133
+ export interface compareviewerpair {
5134
+ id: string;
5135
+ stepid: string;
5136
+ beforecaptureid: string;
5137
+ aftercaptureid: string;
5138
+ slidervalue: number;
5139
+ }
5140
+ /** One siteprofile: the per site interface preferences (the theme, the shortcutkeys and the default view) stored beside the originprofiles policy preferences of its origin. */
5141
+ export interface siteprofile {
5142
+ origin: string;
5143
+ theme?: "dark" | "light" | "system";
5144
+ shortcuts?: shortcutbinding[];
5145
+ defaultview?: string;
5146
+ updatedat: number;
5147
+ }
5148
+ /** One darklight theme token set: the mode and the token values every surface, including the dashboardpage, reads; the source names whether the os preference, the user override or the siteprofile decided. */
5149
+ export interface darklighttokens {
5150
+ mode: "dark" | "light";
5151
+ tokens: Record<string, string>;
5152
+ source?: "os" | "user" | "site";
5153
+ }
5154
+ /** One locale bundle: the language and its interface strings; english ships as the fallback base. */
5155
+ export interface localebundle {
5156
+ language: string;
5157
+ strings: Record<string, string>;
5158
+ }
5159
+ /** One importexport payload: the settings and data bundle of one profile with its originprofiles, siteprofiles, notes and preferences and the honest exclusion list; secretvault values and unmasked logs never enter any bundle under any flag. */
5160
+ export interface importexportpayload {
5161
+ version: number;
5162
+ kind: "settings" | "data";
5163
+ profile: string;
5164
+ exportedat: number;
5165
+ contents: {
5166
+ originprofiles: Array<Record<string, unknown>>;
5167
+ siteprofiles: Array<Record<string, unknown>>;
5168
+ notes: Array<Record<string, unknown>>;
5169
+ preferences: Record<string, unknown>;
5170
+ /** Present only when a bundle wrongly carries log entries; the validation refuses such bundles in full. */
5171
+ unmaskedlogs?: Array<Record<string, unknown>>;
5172
+ };
5173
+ exclusions: string[];
5174
+ }
5175
+ /** One dropimport session: the dropped filename, the detected csv, json or workflow kind, the byte size, the accepted mark and the time. */
5176
+ export interface dropimportsession {
5177
+ id: string;
5178
+ filename: string;
5179
+ kind: "csv" | "json" | "workflow";
5180
+ bytes: number;
5181
+ accepted: boolean;
5182
+ at: number;
5183
+ }
5184
+ /** One featuretour stop: the surface it walks, the focus selector it highlights, the title, the body and the stop order. */
5185
+ export interface featuretourstop {
5186
+ id: string;
5187
+ surface: uisurface;
5188
+ focus: string;
5189
+ title: string;
5190
+ body: string;
5191
+ order: number;
5192
+ }
5193
+ /** One a11ylabel: the control it names, its role, its accessible name and its optional state and value for screen readers, resolved through the locale bundles so labels follow the language of the interface. */
5194
+ export interface a11ylabel {
5195
+ control: string;
5196
+ role: "button" | "textbox" | "tab" | "table" | "list" | "slider" | "switch" | "radiogroup" | "combobox" | "group" | "region" | "search" | "dialog";
5197
+ name: string;
5198
+ state?: string;
5199
+ value?: string;
5200
+ }
5201
+ /** One pagechip confirmation: the gated step, the anchor selector, the origin, the approve or reject resolution, the resolved time and the build time. */
5202
+ export interface pagechipconfirmation {
5203
+ id: string;
5204
+ stepid: string;
5205
+ selector: string;
5206
+ origin: string;
5207
+ resolution?: "approve" | "reject";
5208
+ resolvedat?: number;
5209
+ at: number;
5210
+ }
5211
+ /** One steteoast: the step completion confirmation with the step kind, its duration in milliseconds and the time. */
5212
+ export interface stetoast {
5213
+ id: string;
5214
+ stepid: string;
5215
+ kind: string;
5216
+ durationms: number;
5217
+ at: number;
5218
+ }
4971
5219
  //# sourceMappingURL=types.d.ts.map