@vforsh/argus-core 0.1.5 → 0.1.7

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 (60) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/auth/cookies.d.ts +20 -0
  3. package/dist/auth/cookies.d.ts.map +1 -1
  4. package/dist/auth/cookies.js +56 -0
  5. package/dist/auth/cookies.js.map +1 -1
  6. package/dist/auth/state.d.ts +31 -0
  7. package/dist/auth/state.d.ts.map +1 -0
  8. package/dist/auth/state.js +189 -0
  9. package/dist/auth/state.js.map +1 -0
  10. package/dist/index.d.ts +3 -0
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +3 -0
  13. package/dist/index.js.map +1 -1
  14. package/dist/protocol/http/auth.d.ts +140 -0
  15. package/dist/protocol/http/auth.d.ts.map +1 -1
  16. package/dist/protocol/http/auth.js +2 -1
  17. package/dist/protocol/http/auth.js.map +1 -1
  18. package/dist/protocol/http/code.d.ts +23 -0
  19. package/dist/protocol/http/code.d.ts.map +1 -1
  20. package/dist/protocol/http/dialog.d.ts +28 -0
  21. package/dist/protocol/http/dialog.d.ts.map +1 -0
  22. package/dist/protocol/http/dialog.js +2 -0
  23. package/dist/protocol/http/dialog.js.map +1 -0
  24. package/dist/protocol/http/dom.d.ts +26 -13
  25. package/dist/protocol/http/dom.d.ts.map +1 -1
  26. package/dist/protocol/http/dom.js +58 -1
  27. package/dist/protocol/http/dom.js.map +1 -1
  28. package/dist/protocol/http/eval.d.ts +5 -0
  29. package/dist/protocol/http/eval.d.ts.map +1 -1
  30. package/dist/protocol/http/extension.d.ts +12 -0
  31. package/dist/protocol/http/extension.d.ts.map +1 -0
  32. package/dist/protocol/http/extension.js +2 -0
  33. package/dist/protocol/http/extension.js.map +1 -0
  34. package/dist/protocol/http/locate.d.ts +46 -0
  35. package/dist/protocol/http/locate.d.ts.map +1 -0
  36. package/dist/protocol/http/locate.js +2 -0
  37. package/dist/protocol/http/locate.js.map +1 -0
  38. package/dist/protocol/http/net.d.ts +173 -0
  39. package/dist/protocol/http/net.d.ts.map +1 -1
  40. package/dist/protocol/http/screenshot.d.ts +9 -0
  41. package/dist/protocol/http/screenshot.d.ts.map +1 -1
  42. package/dist/protocol/http/snapshot.d.ts +2 -0
  43. package/dist/protocol/http/snapshot.d.ts.map +1 -1
  44. package/dist/protocol/http/status.d.ts +4 -0
  45. package/dist/protocol/http/status.d.ts.map +1 -1
  46. package/dist/protocol/http/storage.d.ts +48 -25
  47. package/dist/protocol/http/storage.d.ts.map +1 -1
  48. package/dist/protocol/http/visibility.d.ts +30 -0
  49. package/dist/protocol/http/visibility.d.ts.map +1 -0
  50. package/dist/protocol/http/visibility.js +2 -0
  51. package/dist/protocol/http/visibility.js.map +1 -0
  52. package/dist/protocol/http.d.ts +7 -1
  53. package/dist/protocol/http.d.ts.map +1 -1
  54. package/dist/protocol/http.js +4 -1
  55. package/dist/protocol/http.js.map +1 -1
  56. package/dist/protocol/schema.d.ts +35 -0
  57. package/dist/protocol/schema.d.ts.map +1 -0
  58. package/dist/protocol/schema.js +14 -0
  59. package/dist/protocol/schema.js.map +1 -0
  60. package/package.json +2 -2
@@ -1,2 +1,59 @@
1
- export {};
1
+ import { defineProtocolSchema, invalidProtocolPayload, isProtocolObject, validProtocolPayload } from '../schema.js';
2
+ /** Runtime list of mouse buttons accepted by click commands. */
3
+ export const MOUSE_BUTTONS = ['left', 'middle', 'right'];
4
+ /** Schema for POST /dom/click request payloads. */
5
+ export const domClickRequestSchema = defineProtocolSchema((value) => {
6
+ if (!isProtocolObject(value)) {
7
+ return invalidProtocolPayload('request body must be an object');
8
+ }
9
+ const selector = optionalString(value, 'selector');
10
+ const ref = optionalString(value, 'ref');
11
+ const hasSelector = selector != null && selector.length > 0;
12
+ const hasRef = ref != null && ref.length > 0;
13
+ const hasCoords = value.x != null || value.y != null;
14
+ if (!hasSelector && !hasRef && !hasCoords) {
15
+ return invalidProtocolPayload('selector, ref, or x,y coordinates are required');
16
+ }
17
+ if (hasSelector && hasRef) {
18
+ return invalidProtocolPayload('selector and ref are mutually exclusive');
19
+ }
20
+ if (hasCoords && (!isFiniteNumber(value.x) || !isFiniteNumber(value.y))) {
21
+ return invalidProtocolPayload('both x and y must be finite numbers');
22
+ }
23
+ if (value.all != null && typeof value.all !== 'boolean') {
24
+ return invalidProtocolPayload('all must be a boolean');
25
+ }
26
+ if (value.button != null && !isMouseButton(value.button)) {
27
+ return invalidProtocolPayload(`button must be one of: ${MOUSE_BUTTONS.join(', ')}`);
28
+ }
29
+ if (value.wait != null && (!isFiniteNumber(value.wait) || value.wait < 0)) {
30
+ return invalidProtocolPayload('wait must be a non-negative number (ms)');
31
+ }
32
+ if (value.text != null && typeof value.text !== 'string') {
33
+ return invalidProtocolPayload('text must be a string');
34
+ }
35
+ const request = {
36
+ all: value.all ?? false,
37
+ button: value.button ?? 'left',
38
+ wait: value.wait ?? 0,
39
+ };
40
+ if (hasSelector)
41
+ request.selector = selector;
42
+ if (hasRef)
43
+ request.ref = ref;
44
+ if (hasCoords) {
45
+ request.x = value.x;
46
+ request.y = value.y;
47
+ }
48
+ if (typeof value.text === 'string') {
49
+ request.text = value.text;
50
+ }
51
+ return validProtocolPayload(request);
52
+ });
53
+ const optionalString = (value, key) => {
54
+ const field = value[key];
55
+ return typeof field === 'string' ? field : undefined;
56
+ };
57
+ const isFiniteNumber = (value) => typeof value === 'number' && Number.isFinite(value);
58
+ const isMouseButton = (value) => typeof value === 'string' && MOUSE_BUTTONS.includes(value);
2
59
  //# sourceMappingURL=dom.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dom.js","sourceRoot":"","sources":["../../../src/protocol/http/dom.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dom.js","sourceRoot":"","sources":["../../../src/protocol/http/dom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CA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AO,oBAAoB,CAAC,OAAO,CAAC,CAAA;AACrC,CAAC,CAAC,CAAA;AAaF,MAAM,cAAc,GAAG,CAAC,KAA8B,EAAE,GAAW,EAAsB,EAAE;IAC1F,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;IACxB,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAA;AACrD,CAAC,CAAA;AAED,MAAM,cAAc,GAAG,CAAC,KAAc,EAAmB,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAE/G,MAAM,aAAa,GAAG,CAAC,KAAc,EAAwB,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,aAAa,CAAC,QAAQ,CAAC,KAAoB,CAAC,CAAA"}
@@ -1,6 +1,11 @@
1
1
  /** Request payload for POST /eval. */
2
2
  export type EvalRequest = {
3
3
  expression: string;
4
+ /**
5
+ * String-only values exposed to evaluated code as `args`.
6
+ * Watchers install them for the duration of the eval without rewriting source.
7
+ */
8
+ args?: Record<string, string>;
4
9
  awaitPromise?: boolean;
5
10
  /**
6
11
  * Enable Chrome's REPL evaluation mode.
@@ -1 +1 @@
1
- {"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/eval.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,MAAM,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,uCAAuC;AACvC,MAAM,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,IAAI,CAAA;IACR,MAAM,EAAE,OAAO,CAAA;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;CACrD,CAAA"}
1
+ {"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/eval.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,MAAM,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,uCAAuC;AACvC,MAAM,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,IAAI,CAAA;IACR,MAAM,EAAE,OAAO,CAAA;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;CACrD,CAAA"}
@@ -0,0 +1,12 @@
1
+ export type ExtensionBrowserTab = {
2
+ tabId: number;
3
+ url: string;
4
+ title: string;
5
+ faviconUrl?: string;
6
+ attached: boolean;
7
+ };
8
+ export type ExtensionTabsResponse = {
9
+ ok: true;
10
+ tabs: ExtensionBrowserTab[];
11
+ };
12
+ //# sourceMappingURL=extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/extension.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,mBAAmB,EAAE,CAAA;CAC3B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../src/protocol/http/extension.ts"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ import type { ElementRef } from './dom.js';
2
+ /** Common matching options for semantic element lookup commands. */
3
+ export type LocateMatchOptions = {
4
+ /** Allow multiple matches. If false and >1 match, the route returns an ambiguity error. */
5
+ all?: boolean;
6
+ /** Require an exact normalized string match instead of substring matching. */
7
+ exact?: boolean;
8
+ };
9
+ /** Element summary returned by semantic locator routes. */
10
+ export type LocatedElement = {
11
+ /** Stable element ref that can be reused by ref-aware commands. */
12
+ ref: ElementRef;
13
+ /** Accessibility role used for semantic lookup. */
14
+ role: string;
15
+ /** Accessible name / label for the element. */
16
+ name: string;
17
+ /** Current accessible value when relevant. */
18
+ value?: string;
19
+ /** Lower-cased DOM tag name when it can be resolved. */
20
+ tag?: string;
21
+ /** Selected DOM attributes useful for quick inspection. */
22
+ attributes?: Record<string, string>;
23
+ };
24
+ export type LocateRoleRequest = LocateMatchOptions & {
25
+ /** Accessibility role to match (e.g. "button", "textbox", "link"). */
26
+ role: string;
27
+ /** Optional accessible name to match against the role result set. */
28
+ name?: string;
29
+ };
30
+ export type LocateTextRequest = LocateMatchOptions & {
31
+ /** Visible/accessible text to match against element names/values. */
32
+ text: string;
33
+ };
34
+ export type LocateLabelRequest = LocateMatchOptions & {
35
+ /** Form label / accessible name to match. */
36
+ label: string;
37
+ };
38
+ /** Shared response payload for `/locate/*` routes. */
39
+ export type LocateResponse = {
40
+ ok: true;
41
+ /** Number of matched semantic elements before any `all=false` truncation. */
42
+ matches: number;
43
+ /** Element summaries for the resolved matches. */
44
+ elements: LocatedElement[];
45
+ };
46
+ //# sourceMappingURL=locate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locate.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/locate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C,oEAAoE;AACpE,MAAM,MAAM,kBAAkB,GAAG;IAChC,2FAA2F;IAC3F,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,8EAA8E;IAC9E,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,2DAA2D;AAC3D,MAAM,MAAM,cAAc,GAAG;IAC5B,mEAAmE;IACnE,GAAG,EAAE,UAAU,CAAA;IACf,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAA;IACZ,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wDAAwD;IACxD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAAG;IACpD,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAA;IACZ,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAAG;IACpD,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,GAAG;IACrD,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED,sDAAsD;AACtD,MAAM,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,IAAI,CAAA;IACR,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAA;IACf,kDAAkD;IAClD,QAAQ,EAAE,cAAc,EAAE,CAAA;CAC1B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=locate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locate.js","sourceRoot":"","sources":["../../../src/protocol/http/locate.ts"],"names":[],"mappings":""}
@@ -5,20 +5,88 @@ export type NetworkRequestSummary = {
5
5
  requestId: string;
6
6
  url: string;
7
7
  method: string;
8
+ documentUrl: string | null;
8
9
  /** Captured auth-related request headers with sensitive values redacted. */
9
10
  requestHeaders?: Record<string, string>;
10
11
  resourceType: string | null;
12
+ mimeType: string | null;
13
+ frameId: string | null;
11
14
  status: number | null;
12
15
  encodedDataLength: number | null;
13
16
  errorText: string | null;
14
17
  durationMs: number | null;
15
18
  };
19
+ /** Single stack frame from a network initiator trace. */
20
+ export type NetworkInitiatorStackFrame = {
21
+ functionName: string | null;
22
+ url: string;
23
+ lineNumber: number | null;
24
+ columnNumber: number | null;
25
+ };
26
+ /** Why a request started, when CDP can attribute it. */
27
+ export type NetworkInitiator = {
28
+ type: string | null;
29
+ url: string | null;
30
+ lineNumber: number | null;
31
+ columnNumber: number | null;
32
+ requestId: string | null;
33
+ stack: NetworkInitiatorStackFrame[];
34
+ };
35
+ /** Redirect hop observed before the final request URL. */
36
+ export type NetworkRedirectHop = {
37
+ fromUrl: string;
38
+ toUrl: string;
39
+ status: number | null;
40
+ statusText: string | null;
41
+ };
42
+ /** High-signal request timing breakdown derived from CDP response timing. */
43
+ export type NetworkTimingPhases = {
44
+ totalMs: number | null;
45
+ blockedMs: number | null;
46
+ dnsMs: number | null;
47
+ connectMs: number | null;
48
+ sslMs: number | null;
49
+ sendMs: number | null;
50
+ waitMs: number | null;
51
+ downloadMs: number | null;
52
+ };
53
+ /** Whether Argus expects request/response bodies to be fetchable for a buffered entry. */
54
+ export type NetworkBodyAvailability = {
55
+ request: boolean;
56
+ response: boolean;
57
+ };
58
+ /** Full request record used by `net show`. */
59
+ export type NetworkRequestDetail = NetworkRequestSummary & {
60
+ requestHeaders?: Record<string, string>;
61
+ responseHeaders?: Record<string, string>;
62
+ statusText: string | null;
63
+ loaderId: string | null;
64
+ initiator: NetworkInitiator | null;
65
+ redirects: NetworkRedirectHop[];
66
+ servedFromCache: boolean;
67
+ fromDiskCache: boolean;
68
+ fromPrefetchCache: boolean;
69
+ fromServiceWorker: boolean;
70
+ serviceWorkerResponseSource: string | null;
71
+ remoteAddress: string | null;
72
+ remotePort: number | null;
73
+ protocol: string | null;
74
+ priority: string | null;
75
+ timingPhases: NetworkTimingPhases | null;
76
+ body: NetworkBodyAvailability;
77
+ };
16
78
  /** Response payload for GET /net. */
17
79
  export type NetResponse = {
18
80
  ok: true;
19
81
  requests: NetworkRequestSummary[];
20
82
  nextAfter: number;
21
83
  };
84
+ /** Response payload for GET /net/requests. */
85
+ export type NetRequestsResponse = {
86
+ ok: true;
87
+ requests: NetworkRequestDetail[];
88
+ nextAfter: number;
89
+ };
22
90
  /** Response payload for GET /net/tail. */
23
91
  export type NetTailResponse = {
24
92
  ok: true;
@@ -26,4 +94,109 @@ export type NetTailResponse = {
26
94
  nextAfter: number;
27
95
  timedOut: boolean;
28
96
  };
97
+ /** Response payload for POST /net/clear. */
98
+ export type NetClearResponse = {
99
+ ok: true;
100
+ /** Number of buffered requests removed. */
101
+ cleared: number;
102
+ };
103
+ /** Response payload for GET /net/request. */
104
+ export type NetRequestResponse = {
105
+ ok: true;
106
+ request: NetworkRequestDetail;
107
+ };
108
+ /** Which body payload to fetch for a buffered request. */
109
+ export type NetRequestBodyPart = 'request' | 'response';
110
+ /** Response payload for GET /net/request/body. */
111
+ export type NetRequestBodyResponse = {
112
+ ok: true;
113
+ id: number;
114
+ requestId: string;
115
+ part: NetRequestBodyPart;
116
+ mimeType: string | null;
117
+ body: string;
118
+ base64Encoded: boolean;
119
+ };
120
+ /** Direction for a captured WebSocket frame preview. */
121
+ export type NetWebSocketFrameDirection = 'sent' | 'received';
122
+ /** Bounded preview of a WebSocket frame payload. */
123
+ export type NetWebSocketFramePreview = {
124
+ ts: number;
125
+ direction: NetWebSocketFrameDirection;
126
+ opcode: number | null;
127
+ mask: boolean | null;
128
+ payloadLength: number;
129
+ preview: string | null;
130
+ base64Encoded: boolean;
131
+ error: string | null;
132
+ };
133
+ /** Compact WebSocket connection record for `net ws`. */
134
+ export type NetWebSocketSummary = {
135
+ id: number;
136
+ ts: number;
137
+ requestId: string;
138
+ url: string;
139
+ documentUrl: string | null;
140
+ frameId: string | null;
141
+ state: 'created' | 'open' | 'closed' | 'error';
142
+ status: number | null;
143
+ statusText: string | null;
144
+ createdAt: number;
145
+ openedAt: number | null;
146
+ closedAt: number | null;
147
+ durationMs: number | null;
148
+ sentFrames: number;
149
+ receivedFrames: number;
150
+ sentBytes: number;
151
+ receivedBytes: number;
152
+ closeCode: number | null;
153
+ closeReason: string | null;
154
+ errorText: string | null;
155
+ };
156
+ /** Detailed WebSocket connection record for `net ws show`. */
157
+ export type NetWebSocketDetail = NetWebSocketSummary & {
158
+ requestHeaders?: Record<string, string>;
159
+ responseHeaders?: Record<string, string>;
160
+ recentFrames: NetWebSocketFramePreview[];
161
+ };
162
+ /** Request-level SSE/EventSource visibility record. */
163
+ export type NetSseSummary = {
164
+ id: number;
165
+ ts: number;
166
+ requestId: string;
167
+ url: string;
168
+ method: string;
169
+ documentUrl: string | null;
170
+ frameId: string | null;
171
+ status: number | null;
172
+ statusText: string | null;
173
+ mimeType: string | null;
174
+ state: 'open' | 'closed' | 'error';
175
+ openedAt: number;
176
+ closedAt: number | null;
177
+ durationMs: number | null;
178
+ encodedDataLength: number | null;
179
+ eventCount: number;
180
+ lastEventId: string | null;
181
+ lastEventName: string | null;
182
+ lastDataPreview: string | null;
183
+ errorText: string | null;
184
+ };
185
+ /** Response payload for GET /net/ws. */
186
+ export type NetWebSocketsResponse = {
187
+ ok: true;
188
+ connections: NetWebSocketSummary[];
189
+ nextAfter: number;
190
+ };
191
+ /** Response payload for GET /net/ws/connection. */
192
+ export type NetWebSocketResponse = {
193
+ ok: true;
194
+ connection: NetWebSocketDetail;
195
+ };
196
+ /** Response payload for GET /net/sse. */
197
+ export type NetSseResponse = {
198
+ ok: true;
199
+ streams: NetSseSummary[];
200
+ nextAfter: number;
201
+ };
29
202
  //# sourceMappingURL=net.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"net.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/net.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,MAAM,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAEzB,CAAA;AAED,qCAAqC;AACrC,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,IAAI,CAAA;IACR,QAAQ,EAAE,qBAAqB,EAAE,CAAA;IACjC,SAAS,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,0CAA0C;AAC1C,MAAM,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,IAAI,CAAA;IACR,QAAQ,EAAE,qBAAqB,EAAE,CAAA;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;CACjB,CAAA"}
1
+ {"version":3,"file":"net.d.ts","sourceRoot":"","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M,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,IAAI,CAAA;IACR,WAAW,EAAE,mBAAmB,EAAE,CAAA;IAClC,SAAS,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,mDAAmD;AACnD,MAAM,MAAM,oBAAoB,GAAG;IAClC,EAAE,EAAE,IAAI,CAAA;IACR,UAAU,EAAE,kBAAkB,CAAA;CAC9B,CAAA;AAED,yCAAyC;AACzC,MAAM,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,IAAI,CAAA;IACR,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;CACjB,CAAA"}
@@ -1,7 +1,16 @@
1
+ /** Rectangle crop in CSS pixels relative to the selected target viewport. */
2
+ export type ScreenshotClipRegion = {
3
+ x: number;
4
+ y: number;
5
+ width: number;
6
+ height: number;
7
+ };
1
8
  /** Request payload for POST /screenshot. */
2
9
  export type ScreenshotRequest = {
3
10
  outFile?: string;
4
11
  selector?: string;
12
+ /** Viewport-relative crop rectangle in CSS pixels. Mutually exclusive with `selector`. */
13
+ clip?: ScreenshotClipRegion;
5
14
  format?: 'png';
6
15
  };
7
16
  /** Response payload for POST /screenshot. */
@@ -1 +1 @@
1
- {"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/screenshot.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,MAAM,MAAM,iBAAiB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAED,6CAA6C;AAC7C,MAAM,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,IAAI,CAAA;IACR,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;CAChB,CAAA"}
1
+ {"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/screenshot.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,MAAM,MAAM,oBAAoB,GAAG;IAClC,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACd,CAAA;AAED,4CAA4C;AAC5C,MAAM,MAAM,iBAAiB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0FAA0F;IAC1F,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAED,6CAA6C;AAC7C,MAAM,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,IAAI,CAAA;IACR,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;CAChB,CAAA"}
@@ -3,6 +3,8 @@
3
3
  * Reconstructed from CDP's flat AXNode array into a nested structure.
4
4
  */
5
5
  export type AXTreeNode = {
6
+ /** Stable element ref for actionable DOM-backed nodes (e.g. "e12"). */
7
+ ref?: string;
6
8
  /** Accessibility role (e.g. "button", "textbox", "heading", "link"). */
7
9
  role: string;
8
10
  /** Accessible name (visible label or aria-label). */
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/snapshot.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACxB,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAA;IACZ,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;IACtD,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACv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IAC5C,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,8CAA8C;IAC9C,UAAU,EAAE,MAAM,CAAA;IAClB,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAA;CACrB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { WatcherRecord } from '../../registry/types.js';
2
+ import type { DialogStatus } from './dialog.js';
2
3
  import type { ArgusProtocolVersion } from '../version.js';
3
4
  /** Response payload for GET /status. */
4
5
  export type StatusResponse = {
@@ -6,10 +7,13 @@ export type StatusResponse = {
6
7
  id: string;
7
8
  pid: number;
8
9
  attached: boolean;
10
+ /** Whether the currently selected target is ready for frame-scoped commands. */
11
+ targetReady?: boolean | null;
9
12
  target: {
10
13
  title: string | null;
11
14
  url: string | null;
12
15
  } | null;
16
+ dialog?: DialogStatus | null;
13
17
  buffer: {
14
18
  size: number;
15
19
  count: number;
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAEzD,wCAAwC;AACxC,MAAM,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,IAAI,CAAA;IACR,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE;QACP,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAClB,GAAG,IAAI,CAAA;IACR,MAAM,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;KACpB,CAAA;IACD,OAAO,EAAE,aAAa,CAAA;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AE,aAAa,CAAA;IACtB,kDAAkD;IAClD,eAAe,CAAC,EAAE,oBAAoB,CAAA;IACtC,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,2CAA2C;AAC3C,MAAM,MAAM,gBAAgB,GAAG;IAC9B,EAAE,EAAE,IAAI,CAAA;CACR,CAAA;AAED,wCAAwC;AACxC,MAAM,MAAM,aAAa,GAAG;IAC3B,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,yCAAyC;AACzC,MAAM,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,IAAI,CAAA;CACR,CAAA"}
@@ -1,7 +1,11 @@
1
- /** Request payload for POST /storage/local. */
2
- export type StorageLocalRequest = {
1
+ /** Storage areas exposed by the watcher API. */
2
+ export type StorageArea = 'local' | 'session';
3
+ /** Supported operations for POST /storage/<area>. */
4
+ export type StorageAction = 'get' | 'set' | 'remove' | 'list' | 'clear';
5
+ /** Request payload for POST /storage/<area>. */
6
+ export type StorageRequest = {
3
7
  /** The operation to perform. */
4
- action: 'get' | 'set' | 'remove' | 'list' | 'clear';
8
+ action: StorageAction;
5
9
  /** Key for get/set/remove operations. */
6
10
  key?: string;
7
11
  /** Value for set operation. */
@@ -9,38 +13,57 @@ export type StorageLocalRequest = {
9
13
  /** Optional origin to validate against page's current origin. */
10
14
  origin?: string;
11
15
  };
12
- /** Response payload for POST /storage/local (get). */
13
- export type StorageLocalGetResponse = {
16
+ type StorageResponseBase = {
14
17
  ok: true;
15
18
  origin: string;
19
+ };
20
+ /** Response payload for POST /storage/<area> (get). */
21
+ export type StorageGetResponse = StorageResponseBase & {
16
22
  key: string;
17
23
  exists: boolean;
18
24
  value: string | null;
19
25
  };
20
- /** Response payload for POST /storage/local (set). */
21
- export type StorageLocalSetResponse = {
22
- ok: true;
23
- origin: string;
26
+ /** Response payload for POST /storage/<area> (set/remove). */
27
+ export type StorageKeyMutationResponse = StorageResponseBase & {
24
28
  key: string;
25
29
  };
26
- /** Response payload for POST /storage/local (remove). */
27
- export type StorageLocalRemoveResponse = {
28
- ok: true;
29
- origin: string;
30
- key: string;
31
- };
32
- /** Response payload for POST /storage/local (list). */
33
- export type StorageLocalListResponse = {
34
- ok: true;
35
- origin: string;
30
+ /** Response payload for POST /storage/<area> (list). */
31
+ export type StorageListResponse = StorageResponseBase & {
36
32
  keys: string[];
37
33
  };
38
- /** Response payload for POST /storage/local (clear). */
39
- export type StorageLocalClearResponse = {
40
- ok: true;
41
- origin: string;
34
+ /** Response payload for POST /storage/<area> (clear). */
35
+ export type StorageClearResponse = StorageResponseBase & {
42
36
  cleared: number;
43
37
  };
44
- /** Union of all storage local responses. */
45
- export type StorageLocalResponse = StorageLocalGetResponse | StorageLocalSetResponse | StorageLocalRemoveResponse | StorageLocalListResponse | StorageLocalClearResponse;
38
+ /** Union of all storage responses. */
39
+ export type StorageResponse = StorageGetResponse | StorageKeyMutationResponse | StorageListResponse | StorageClearResponse;
40
+ /** Back-compat alias for the localStorage endpoint request. */
41
+ export type StorageLocalRequest = StorageRequest;
42
+ /** Back-compat alias for the localStorage endpoint get response. */
43
+ export type StorageLocalGetResponse = StorageGetResponse;
44
+ /** Back-compat alias for the localStorage endpoint set response. */
45
+ export type StorageLocalSetResponse = StorageKeyMutationResponse;
46
+ /** Back-compat alias for the localStorage endpoint remove response. */
47
+ export type StorageLocalRemoveResponse = StorageKeyMutationResponse;
48
+ /** Back-compat alias for the localStorage endpoint list response. */
49
+ export type StorageLocalListResponse = StorageListResponse;
50
+ /** Back-compat alias for the localStorage endpoint clear response. */
51
+ export type StorageLocalClearResponse = StorageClearResponse;
52
+ /** Back-compat alias for the localStorage endpoint response union. */
53
+ export type StorageLocalResponse = StorageResponse;
54
+ /** Alias for the sessionStorage endpoint request. */
55
+ export type StorageSessionRequest = StorageRequest;
56
+ /** Alias for the sessionStorage endpoint get response. */
57
+ export type StorageSessionGetResponse = StorageGetResponse;
58
+ /** Alias for the sessionStorage endpoint set response. */
59
+ export type StorageSessionSetResponse = StorageKeyMutationResponse;
60
+ /** Alias for the sessionStorage endpoint remove response. */
61
+ export type StorageSessionRemoveResponse = StorageKeyMutationResponse;
62
+ /** Alias for the sessionStorage endpoint list response. */
63
+ export type StorageSessionListResponse = StorageListResponse;
64
+ /** Alias for the sessionStorage endpoint clear response. */
65
+ export type StorageSessionClearResponse = StorageClearResponse;
66
+ /** Alias for the sessionStorage endpoint response union. */
67
+ export type StorageSessionResponse = StorageResponse;
68
+ export {};
46
69
  //# sourceMappingURL=storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/storage.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,MAAM,MAAM,mBAAmB,GAAG;IACjC,gCAAgC;IAChC,MAAM,EAAE,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;IACnD,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,sDAAsD;AACtD,MAAM,MAAM,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI,CAAA;IACR,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB,CAAA;AAED,sDAAsD;AACtD,MAAM,MAAM,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI,CAAA;IACR,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;CACX,CAAA;AAED,yDAAyD;AACzD,MAAM,MAAM,0BAA0B,GAAG;IACxC,EAAE,EAAE,IAAI,CAAA;IACR,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MA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AAM,sBAAsB,GAAG,eAAe,CAAA"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Visibility lock controls whether the attached page should behave as if
3
+ * visible/focused even when the Chrome window is backgrounded or covered.
4
+ *
5
+ * - `shown`: the watcher is actively keeping the page "visible+focused" via
6
+ * CDP focus emulation (and best-effort window raise on each apply).
7
+ * Unthrottles rAF/timers and prevents visibility-hidden stalls in
8
+ * game/preview boot flows.
9
+ * - `default`: no override. The page honors Chrome's real visibility/focus
10
+ * state (may throttle when backgrounded).
11
+ */
12
+ export type VisibilityLock = 'shown' | 'default';
13
+ /** POST /visibility request payload. */
14
+ export type VisibilityRequest = {
15
+ /** `show` locks the page shown+focused; `hide` releases the lock. */
16
+ action: 'show' | 'hide';
17
+ };
18
+ /**
19
+ * POST /visibility response. Desired lock is sticky across detach/reattach —
20
+ * it is remembered by the watcher and re-applied on the next attach when
21
+ * `attached` is `false`.
22
+ */
23
+ export type VisibilityResponse = {
24
+ ok: true;
25
+ /** Whether the watcher was attached to a CDP target at response time. */
26
+ attached: boolean;
27
+ /** Current desired visibility lock. */
28
+ state: VisibilityLock;
29
+ };
30
+ //# sourceMappingURL=visibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../../src/protocol/http/visibility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAA;AAEhD,wCAAwC;AACxC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,qEAAqE;IACrE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,IAAI,CAAA;IACR,yEAAyE;IACzE,QAAQ,EAAE,OAAO,CAAA;IACjB,uCAAuC;IACvC,KAAK,EAAE,cAAc,CAAA;CACrB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=visibility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visibility.js","sourceRoot":"","sources":["../../../src/protocol/http/visibility.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ export * from './schema.js';
1
2
  export type * from './http/status.js';
2
3
  export type * from './http/logs.js';
3
4
  export type * from './http/net.js';
@@ -5,11 +6,16 @@ export type * from './http/eval.js';
5
6
  export type * from './http/trace.js';
6
7
  export type * from './http/screenshot.js';
7
8
  export type * from './http/snapshot.js';
9
+ export type * from './http/locate.js';
8
10
  export type * from './http/code.js';
9
- export type * from './http/dom.js';
11
+ export * from './http/dom.js';
10
12
  export type * from './http/storage.js';
11
13
  export type * from './http/auth.js';
14
+ export { AUTH_STATE_METADATA_SCHEMA_VERSION } from './http/auth.js';
12
15
  export type * from './http/emulation.js';
13
16
  export type * from './http/throttle.js';
17
+ export type * from './http/dialog.js';
18
+ export type * from './http/visibility.js';
19
+ export type * from './http/extension.js';
14
20
  export type * from './http/errors.js';
15
21
  //# sourceMappingURL=http.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/protocol/http.ts"],"names":[],"mappings":"AACA,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,oBAAoB,CAAA;AACvC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,mBAAmB,CAAA;AACtC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,oBAAoB,CAAA;AACvC,mBAAmB,kBAAkB,CAAA"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/protocol/http.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAA;AAC3B,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,eAAe,CAAA;AAClC,mBAAmB,gBAAgB,CAAA;AACnC,mBAAmB,iBAAiB,CAAA;AACpC,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,oBAAoB,CAAA;AACvC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,gBAAgB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,mBAAmB,mBAAmB,CAAA;AACtC,mBAAmB,gBAAgB,CAAA;AACnC,OAAO,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAA;AACnE,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,oBAAoB,CAAA;AACvC,mBAAmB,kBAAkB,CAAA;AACrC,mBAAmB,sBAAsB,CAAA;AACzC,mBAAmB,qBAAqB,CAAA;AACxC,mBAAmB,kBAAkB,CAAA"}