patchright-core 1.56.1 → 1.58.2
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/ThirdPartyNotices.txt +3134 -560
- package/bin/install_webkit_wsl.ps1 +1 -3
- package/browsers.json +21 -22
- package/lib/cli/program.js +16 -60
- package/lib/client/api.js +3 -3
- package/lib/client/browser.js +3 -5
- package/lib/client/browserContext.js +62 -8
- package/lib/client/browserType.js +4 -3
- package/lib/client/connection.js +4 -0
- package/lib/client/consoleMessage.js +5 -1
- package/lib/client/electron.js +1 -1
- package/lib/client/elementHandle.js +3 -0
- package/lib/client/events.js +5 -1
- package/lib/client/fetch.js +3 -4
- package/lib/client/frame.js +10 -1
- package/lib/client/locator.js +12 -1
- package/lib/client/network.js +5 -1
- package/lib/client/page.js +31 -6
- package/lib/client/pageAgent.js +64 -0
- package/lib/client/platform.js +3 -0
- package/lib/client/playwright.js +1 -5
- package/lib/client/tracing.js +7 -5
- package/lib/client/worker.js +22 -0
- package/lib/generated/clockSource.js +1 -1
- package/lib/generated/injectedScriptSource.js +1 -1
- package/lib/generated/pollingRecorderSource.js +1 -1
- package/lib/inProcessFactory.js +0 -2
- package/lib/mcpBundle.js +84 -0
- package/lib/mcpBundleImpl/index.js +147 -0
- package/lib/protocol/serializers.js +5 -0
- package/lib/protocol/validator.js +112 -50
- package/lib/remote/playwrightServer.js +1 -2
- package/lib/server/agent/actionRunner.js +335 -0
- package/lib/server/agent/actions.js +128 -0
- package/lib/server/agent/codegen.js +111 -0
- package/lib/server/agent/context.js +150 -0
- package/lib/server/agent/expectTools.js +156 -0
- package/lib/server/agent/pageAgent.js +204 -0
- package/lib/server/agent/performTools.js +262 -0
- package/lib/server/agent/tool.js +109 -0
- package/lib/server/android/android.js +1 -1
- package/lib/server/artifact.js +1 -1
- package/lib/server/bidi/bidiBrowser.js +81 -22
- package/lib/server/bidi/bidiChromium.js +9 -13
- package/lib/server/bidi/bidiConnection.js +1 -0
- package/lib/server/bidi/bidiDeserializer.js +116 -0
- package/lib/server/bidi/bidiExecutionContext.js +75 -29
- package/lib/server/bidi/bidiFirefox.js +7 -9
- package/lib/server/bidi/bidiNetworkManager.js +1 -1
- package/lib/server/bidi/bidiPage.js +61 -30
- package/lib/server/bidi/third_party/bidiProtocolCore.js +1 -0
- package/lib/server/browserContext.js +43 -36
- package/lib/server/browserType.js +12 -4
- package/lib/server/chromium/chromium.js +26 -21
- package/lib/server/chromium/chromiumSwitches.js +12 -3
- package/lib/server/chromium/crBrowser.js +30 -12
- package/lib/server/chromium/crConnection.js +0 -5
- package/lib/server/chromium/crCoverage.js +13 -1
- package/lib/server/chromium/crDevTools.js +0 -2
- package/lib/server/chromium/crNetworkManager.js +107 -18
- package/lib/server/chromium/crPage.js +68 -124
- package/lib/server/chromium/crServiceWorker.js +14 -1
- package/lib/server/codegen/javascript.js +6 -29
- package/lib/server/console.js +5 -1
- package/lib/server/deviceDescriptorsSource.json +56 -56
- package/lib/server/dispatchers/browserContextDispatcher.js +26 -8
- package/lib/server/dispatchers/dispatcher.js +6 -13
- package/lib/server/dispatchers/frameDispatcher.js +1 -1
- package/lib/server/dispatchers/jsHandleDispatcher.js +2 -2
- package/lib/server/dispatchers/pageAgentDispatcher.js +96 -0
- package/lib/server/dispatchers/pageDispatcher.js +14 -22
- package/lib/server/dispatchers/playwrightDispatcher.js +0 -4
- package/lib/server/dom.js +12 -3
- package/lib/server/electron/electron.js +6 -3
- package/lib/server/firefox/ffBrowser.js +10 -20
- package/lib/server/firefox/ffConnection.js +0 -5
- package/lib/server/firefox/ffNetworkManager.js +2 -2
- package/lib/server/firefox/ffPage.js +18 -24
- package/lib/server/firefox/firefox.js +18 -9
- package/lib/server/frameSelectors.js +18 -8
- package/lib/server/frames.js +257 -87
- package/lib/server/input.js +7 -3
- package/lib/server/instrumentation.js +3 -0
- package/lib/server/javascript.js +8 -4
- package/lib/server/launchApp.js +2 -1
- package/lib/server/localUtils.js +4 -8
- package/lib/server/network.js +50 -12
- package/lib/server/page.js +112 -126
- package/lib/server/playwright.js +2 -4
- package/lib/server/progress.js +26 -6
- package/lib/server/recorder/recorderApp.js +80 -101
- package/lib/server/recorder.js +3 -2
- package/lib/server/registry/browserFetcher.js +6 -4
- package/lib/server/registry/index.js +278 -189
- package/lib/server/registry/oopDownloadBrowserMain.js +9 -2
- package/lib/server/screencast.js +190 -0
- package/lib/server/screenshotter.js +6 -0
- package/lib/server/socksClientCertificatesInterceptor.js +1 -1
- package/lib/server/trace/recorder/snapshotter.js +17 -8
- package/lib/server/trace/recorder/snapshotterInjected.js +30 -72
- package/lib/server/trace/recorder/tracing.js +31 -21
- package/lib/server/trace/viewer/traceParser.js +72 -0
- package/lib/server/trace/viewer/traceViewer.js +45 -40
- package/lib/server/utils/comparators.js +3 -25
- package/lib/server/utils/expectUtils.js +87 -2
- package/lib/server/utils/hostPlatform.js +30 -3
- package/lib/server/utils/httpServer.js +5 -20
- package/lib/server/utils/imageUtils.js +141 -0
- package/lib/server/utils/network.js +55 -40
- package/lib/server/utils/nodePlatform.js +6 -0
- package/lib/server/{chromium/videoRecorder.js → videoRecorder.js} +35 -24
- package/lib/server/webkit/webkit.js +5 -16
- package/lib/server/webkit/wkBrowser.js +2 -6
- package/lib/server/webkit/wkConnection.js +1 -6
- package/lib/server/webkit/wkInterceptableRequest.js +29 -1
- package/lib/server/webkit/wkPage.js +76 -51
- package/lib/server/webkit/wkWorkers.js +2 -1
- package/lib/utils/isomorphic/ariaSnapshot.js +63 -0
- package/lib/utils/isomorphic/locatorGenerators.js +24 -8
- package/lib/utils/isomorphic/lruCache.js +51 -0
- package/lib/utils/isomorphic/mimeType.js +1 -1
- package/lib/utils/isomorphic/protocolFormatter.js +3 -0
- package/lib/utils/isomorphic/protocolMetainfo.js +11 -2
- package/lib/utils/isomorphic/stringUtils.js +49 -0
- package/lib/utils/isomorphic/trace/entries.js +16 -0
- package/lib/utils/isomorphic/trace/snapshotRenderer.js +499 -0
- package/lib/utils/isomorphic/trace/snapshotServer.js +120 -0
- package/lib/utils/isomorphic/trace/snapshotStorage.js +89 -0
- package/lib/utils/isomorphic/trace/traceLoader.js +131 -0
- package/lib/utils/isomorphic/trace/traceModel.js +365 -0
- package/lib/utils/isomorphic/trace/traceModernizer.js +400 -0
- package/lib/utils/isomorphic/trace/versions/traceV3.js +16 -0
- package/lib/utils/isomorphic/trace/versions/traceV4.js +16 -0
- package/lib/utils/isomorphic/trace/versions/traceV5.js +16 -0
- package/lib/utils/isomorphic/trace/versions/traceV6.js +16 -0
- package/lib/utils/isomorphic/trace/versions/traceV7.js +16 -0
- package/lib/utils/isomorphic/trace/versions/traceV8.js +16 -0
- package/lib/utils/isomorphic/urlMatch.js +19 -5
- package/lib/utils/isomorphic/yaml.js +84 -0
- package/lib/utils.js +4 -0
- package/lib/utilsBundle.js +1 -1
- package/lib/utilsBundleImpl/index.js +124 -124
- package/lib/vite/htmlReport/index.html +21 -21
- package/lib/vite/recorder/assets/codeMirrorModule-CFUTFUO7.js +32 -0
- package/lib/vite/recorder/assets/{codeMirrorModule-C3UTv-Ge.css → codeMirrorModule-DYBRYzYX.css} +1 -1
- package/lib/vite/recorder/assets/{index-Ri0uHF7I.css → index-BSjZa4pk.css} +1 -1
- package/lib/vite/recorder/assets/index-CVkBxsGf.js +193 -0
- package/lib/vite/recorder/index.html +2 -2
- package/lib/vite/traceViewer/assets/codeMirrorModule-BVA4h_ZY.js +32 -0
- package/lib/vite/traceViewer/assets/defaultSettingsView-CjfmcdOz.js +266 -0
- package/lib/vite/traceViewer/{codeMirrorModule.C3UTv-Ge.css → codeMirrorModule.DYBRYzYX.css} +1 -1
- package/lib/vite/traceViewer/defaultSettingsView.7ch9cixO.css +1 -0
- package/lib/vite/traceViewer/index.BVu7tZDe.css +1 -0
- package/lib/vite/traceViewer/index.BtyWtaE-.js +2 -0
- package/lib/vite/traceViewer/index.html +6 -6
- package/lib/vite/traceViewer/manifest.webmanifest +16 -0
- package/lib/vite/traceViewer/snapshot.html +3 -3
- package/lib/vite/traceViewer/sw.bundle.js +5 -3
- package/lib/vite/traceViewer/uiMode.fyrXARf2.js +5 -0
- package/lib/vite/traceViewer/uiMode.html +3 -3
- package/package.json +2 -1
- package/types/protocol.d.ts +939 -245
- package/types/types.d.ts +143 -153
- package/lib/client/accessibility.js +0 -49
- package/lib/server/accessibility.js +0 -69
- package/lib/server/bidi/third_party/bidiDeserializer.js +0 -98
- package/lib/server/chromium/crAccessibility.js +0 -263
- package/lib/server/firefox/ffAccessibility.js +0 -238
- package/lib/server/trace/test/inMemorySnapshotter.js +0 -87
- package/lib/server/webkit/wkAccessibility.js +0 -237
- package/lib/server/webkit/wsl/webkit-wsl-transport-client.js +0 -74
- package/lib/server/webkit/wsl/webkit-wsl-transport-server.js +0 -113
- package/lib/vite/recorder/assets/codeMirrorModule-RJCXzfmE.js +0 -24
- package/lib/vite/recorder/assets/index-Y-X2TGJv.js +0 -193
- package/lib/vite/traceViewer/assets/codeMirrorModule-rbQPefq7.js +0 -24
- package/lib/vite/traceViewer/assets/defaultSettingsView-CLbol9XR.js +0 -265
- package/lib/vite/traceViewer/defaultSettingsView.TQ8_7ybu.css +0 -1
- package/lib/vite/traceViewer/index.I8N9v4jT.css +0 -1
- package/lib/vite/traceViewer/index.zIVi6mN9.js +0 -2
- package/lib/vite/traceViewer/uiMode.B_CpmIpF.js +0 -5
|
@@ -19,6 +19,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
var serializers_exports = {};
|
|
20
20
|
__export(serializers_exports, {
|
|
21
21
|
parseSerializedValue: () => parseSerializedValue,
|
|
22
|
+
serializePlainValue: () => serializePlainValue,
|
|
22
23
|
serializeValue: () => serializeValue
|
|
23
24
|
});
|
|
24
25
|
module.exports = __toCommonJS(serializers_exports);
|
|
@@ -90,6 +91,9 @@ function innerParseSerializedValue(value, handles, refs, accessChain) {
|
|
|
90
91
|
function serializeValue(value, handleSerializer) {
|
|
91
92
|
return innerSerializeValue(value, handleSerializer, { lastId: 0, visited: /* @__PURE__ */ new Map() }, []);
|
|
92
93
|
}
|
|
94
|
+
function serializePlainValue(arg) {
|
|
95
|
+
return serializeValue(arg, (value) => ({ fallThrough: value }));
|
|
96
|
+
}
|
|
93
97
|
function innerSerializeValue(value, handleSerializer, visitorInfo, accessChain) {
|
|
94
98
|
const handle = handleSerializer(value);
|
|
95
99
|
if ("fallThrough" in handle)
|
|
@@ -188,5 +192,6 @@ const constructorToTypedArrayKind = new Map(Object.entries(typedArrayKindToConst
|
|
|
188
192
|
// Annotate the CommonJS export names for ESM import in node:
|
|
189
193
|
0 && (module.exports = {
|
|
190
194
|
parseSerializedValue,
|
|
195
|
+
serializePlainValue,
|
|
191
196
|
serializeValue
|
|
192
197
|
});
|
|
@@ -103,35 +103,6 @@ import_validatorPrimitives.scheme.SelectorEngine = (0, import_validatorPrimitive
|
|
|
103
103
|
source: import_validatorPrimitives.tString,
|
|
104
104
|
contentScript: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
105
105
|
});
|
|
106
|
-
import_validatorPrimitives.scheme.AXNode = (0, import_validatorPrimitives.tObject)({
|
|
107
|
-
role: import_validatorPrimitives.tString,
|
|
108
|
-
name: import_validatorPrimitives.tString,
|
|
109
|
-
valueString: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
110
|
-
valueNumber: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat),
|
|
111
|
-
description: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
112
|
-
keyshortcuts: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
113
|
-
roledescription: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
114
|
-
valuetext: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
115
|
-
disabled: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
116
|
-
expanded: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
117
|
-
focused: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
118
|
-
modal: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
119
|
-
multiline: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
120
|
-
multiselectable: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
121
|
-
readonly: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
122
|
-
required: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
123
|
-
selected: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
124
|
-
checked: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["checked", "unchecked", "mixed"])),
|
|
125
|
-
pressed: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["pressed", "released", "mixed"])),
|
|
126
|
-
level: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
127
|
-
valuemin: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat),
|
|
128
|
-
valuemax: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat),
|
|
129
|
-
autocomplete: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
130
|
-
haspopup: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
131
|
-
invalid: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
132
|
-
orientation: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
133
|
-
children: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("AXNode")))
|
|
134
|
-
});
|
|
135
106
|
import_validatorPrimitives.scheme.SetNetworkCookie = (0, import_validatorPrimitives.tObject)({
|
|
136
107
|
name: import_validatorPrimitives.tString,
|
|
137
108
|
value: import_validatorPrimitives.tString,
|
|
@@ -351,7 +322,8 @@ import_validatorPrimitives.scheme.LocalUtilsConnectResult = (0, import_validator
|
|
|
351
322
|
});
|
|
352
323
|
import_validatorPrimitives.scheme.LocalUtilsTracingStartedParams = (0, import_validatorPrimitives.tObject)({
|
|
353
324
|
tracesDir: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
354
|
-
traceName: import_validatorPrimitives.tString
|
|
325
|
+
traceName: import_validatorPrimitives.tString,
|
|
326
|
+
live: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
355
327
|
});
|
|
356
328
|
import_validatorPrimitives.scheme.LocalUtilsTracingStartedResult = (0, import_validatorPrimitives.tObject)({
|
|
357
329
|
stacksId: import_validatorPrimitives.tString
|
|
@@ -383,8 +355,6 @@ import_validatorPrimitives.scheme.PlaywrightInitializer = (0, import_validatorPr
|
|
|
383
355
|
chromium: (0, import_validatorPrimitives.tChannel)(["BrowserType"]),
|
|
384
356
|
firefox: (0, import_validatorPrimitives.tChannel)(["BrowserType"]),
|
|
385
357
|
webkit: (0, import_validatorPrimitives.tChannel)(["BrowserType"]),
|
|
386
|
-
_bidiChromium: (0, import_validatorPrimitives.tChannel)(["BrowserType"]),
|
|
387
|
-
_bidiFirefox: (0, import_validatorPrimitives.tChannel)(["BrowserType"]),
|
|
388
358
|
android: (0, import_validatorPrimitives.tChannel)(["Android"]),
|
|
389
359
|
electron: (0, import_validatorPrimitives.tChannel)(["Electron"]),
|
|
390
360
|
utils: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["LocalUtils"])),
|
|
@@ -542,7 +512,6 @@ import_validatorPrimitives.scheme.BrowserTypeLaunchParams = (0, import_validator
|
|
|
542
512
|
timeout: import_validatorPrimitives.tFloat,
|
|
543
513
|
env: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("NameValue"))),
|
|
544
514
|
headless: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
545
|
-
devtools: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
546
515
|
proxy: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({
|
|
547
516
|
server: import_validatorPrimitives.tString,
|
|
548
517
|
bypass: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
@@ -572,7 +541,6 @@ import_validatorPrimitives.scheme.BrowserTypeLaunchPersistentContextParams = (0,
|
|
|
572
541
|
timeout: import_validatorPrimitives.tFloat,
|
|
573
542
|
env: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("NameValue"))),
|
|
574
543
|
headless: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
575
|
-
devtools: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
576
544
|
proxy: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({
|
|
577
545
|
server: import_validatorPrimitives.tString,
|
|
578
546
|
bypass: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
@@ -640,6 +608,7 @@ import_validatorPrimitives.scheme.BrowserTypeLaunchPersistentContextParams = (0,
|
|
|
640
608
|
serviceWorkers: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["allow", "block"])),
|
|
641
609
|
selectorEngines: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("SelectorEngine"))),
|
|
642
610
|
testIdAttributeName: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
611
|
+
focusControl: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
643
612
|
userDataDir: import_validatorPrimitives.tString,
|
|
644
613
|
slowMo: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat)
|
|
645
614
|
});
|
|
@@ -651,7 +620,8 @@ import_validatorPrimitives.scheme.BrowserTypeConnectOverCDPParams = (0, import_v
|
|
|
651
620
|
endpointURL: import_validatorPrimitives.tString,
|
|
652
621
|
headers: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("NameValue"))),
|
|
653
622
|
slowMo: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat),
|
|
654
|
-
timeout: import_validatorPrimitives.tFloat
|
|
623
|
+
timeout: import_validatorPrimitives.tFloat,
|
|
624
|
+
isLocal: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
655
625
|
});
|
|
656
626
|
import_validatorPrimitives.scheme.BrowserTypeConnectOverCDPResult = (0, import_validatorPrimitives.tObject)({
|
|
657
627
|
browser: (0, import_validatorPrimitives.tChannel)(["Browser"]),
|
|
@@ -732,6 +702,7 @@ import_validatorPrimitives.scheme.BrowserNewContextParams = (0, import_validator
|
|
|
732
702
|
serviceWorkers: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["allow", "block"])),
|
|
733
703
|
selectorEngines: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("SelectorEngine"))),
|
|
734
704
|
testIdAttributeName: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
705
|
+
focusControl: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
735
706
|
proxy: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({
|
|
736
707
|
server: import_validatorPrimitives.tString,
|
|
737
708
|
bypass: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
@@ -803,6 +774,7 @@ import_validatorPrimitives.scheme.BrowserNewContextForReuseParams = (0, import_v
|
|
|
803
774
|
serviceWorkers: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["allow", "block"])),
|
|
804
775
|
selectorEngines: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("SelectorEngine"))),
|
|
805
776
|
testIdAttributeName: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
777
|
+
focusControl: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
806
778
|
proxy: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({
|
|
807
779
|
server: import_validatorPrimitives.tString,
|
|
808
780
|
bypass: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
@@ -847,15 +819,19 @@ import_validatorPrimitives.scheme.EventTargetWaitForEventInfoParams = (0, import
|
|
|
847
819
|
});
|
|
848
820
|
import_validatorPrimitives.scheme.BrowserContextWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
849
821
|
import_validatorPrimitives.scheme.PageWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
822
|
+
import_validatorPrimitives.scheme.WorkerWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
850
823
|
import_validatorPrimitives.scheme.WebSocketWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
851
824
|
import_validatorPrimitives.scheme.ElectronApplicationWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
852
825
|
import_validatorPrimitives.scheme.AndroidDeviceWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
826
|
+
import_validatorPrimitives.scheme.PageAgentWaitForEventInfoParams = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoParams");
|
|
853
827
|
import_validatorPrimitives.scheme.EventTargetWaitForEventInfoResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
854
828
|
import_validatorPrimitives.scheme.BrowserContextWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
855
829
|
import_validatorPrimitives.scheme.PageWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
830
|
+
import_validatorPrimitives.scheme.WorkerWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
856
831
|
import_validatorPrimitives.scheme.WebSocketWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
857
832
|
import_validatorPrimitives.scheme.ElectronApplicationWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
858
833
|
import_validatorPrimitives.scheme.AndroidDeviceWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
834
|
+
import_validatorPrimitives.scheme.PageAgentWaitForEventInfoResult = (0, import_validatorPrimitives.tType)("EventTargetWaitForEventInfoResult");
|
|
859
835
|
import_validatorPrimitives.scheme.BrowserContextInitializer = (0, import_validatorPrimitives.tObject)({
|
|
860
836
|
isChromium: import_validatorPrimitives.tBoolean,
|
|
861
837
|
requestContext: (0, import_validatorPrimitives.tChannel)(["APIRequestContext"]),
|
|
@@ -916,7 +892,8 @@ import_validatorPrimitives.scheme.BrowserContextInitializer = (0, import_validat
|
|
|
916
892
|
strictSelectors: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
917
893
|
serviceWorkers: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["allow", "block"])),
|
|
918
894
|
selectorEngines: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("SelectorEngine"))),
|
|
919
|
-
testIdAttributeName: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString)
|
|
895
|
+
testIdAttributeName: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
896
|
+
focusControl: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
920
897
|
})
|
|
921
898
|
});
|
|
922
899
|
import_validatorPrimitives.scheme.BrowserContextBindingCallEvent = (0, import_validatorPrimitives.tObject)({
|
|
@@ -931,7 +908,8 @@ import_validatorPrimitives.scheme.BrowserContextConsoleEvent = (0, import_valida
|
|
|
931
908
|
lineNumber: import_validatorPrimitives.tInt,
|
|
932
909
|
columnNumber: import_validatorPrimitives.tInt
|
|
933
910
|
}),
|
|
934
|
-
page: (0, import_validatorPrimitives.tChannel)(["Page"])
|
|
911
|
+
page: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["Page"])),
|
|
912
|
+
worker: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["Worker"]))
|
|
935
913
|
});
|
|
936
914
|
import_validatorPrimitives.scheme.BrowserContextCloseEvent = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
937
915
|
import_validatorPrimitives.scheme.BrowserContextDialogEvent = (0, import_validatorPrimitives.tObject)({
|
|
@@ -1102,6 +1080,8 @@ import_validatorPrimitives.scheme.BrowserContextEnableRecorderParams = (0, impor
|
|
|
1102
1080
|
import_validatorPrimitives.scheme.BrowserContextEnableRecorderResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1103
1081
|
import_validatorPrimitives.scheme.BrowserContextDisableRecorderParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1104
1082
|
import_validatorPrimitives.scheme.BrowserContextDisableRecorderResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1083
|
+
import_validatorPrimitives.scheme.BrowserContextExposeConsoleApiParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1084
|
+
import_validatorPrimitives.scheme.BrowserContextExposeConsoleApiResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1105
1085
|
import_validatorPrimitives.scheme.BrowserContextNewCDPSessionParams = (0, import_validatorPrimitives.tObject)({
|
|
1106
1086
|
page: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["Page"])),
|
|
1107
1087
|
frame: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["Frame"]))
|
|
@@ -1433,13 +1413,6 @@ import_validatorPrimitives.scheme.PageTouchscreenTapParams = (0, import_validato
|
|
|
1433
1413
|
y: import_validatorPrimitives.tFloat
|
|
1434
1414
|
});
|
|
1435
1415
|
import_validatorPrimitives.scheme.PageTouchscreenTapResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1436
|
-
import_validatorPrimitives.scheme.PageAccessibilitySnapshotParams = (0, import_validatorPrimitives.tObject)({
|
|
1437
|
-
interestingOnly: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
1438
|
-
root: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tChannel)(["ElementHandle"]))
|
|
1439
|
-
});
|
|
1440
|
-
import_validatorPrimitives.scheme.PageAccessibilitySnapshotResult = (0, import_validatorPrimitives.tObject)({
|
|
1441
|
-
rootAXNode: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tType)("AXNode"))
|
|
1442
|
-
});
|
|
1443
1416
|
import_validatorPrimitives.scheme.PagePageErrorsParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1444
1417
|
import_validatorPrimitives.scheme.PagePageErrorsResult = (0, import_validatorPrimitives.tObject)({
|
|
1445
1418
|
errors: (0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("SerializedError"))
|
|
@@ -1473,10 +1446,12 @@ import_validatorPrimitives.scheme.PageRequestsResult = (0, import_validatorPrimi
|
|
|
1473
1446
|
requests: (0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tChannel)(["Request"]))
|
|
1474
1447
|
});
|
|
1475
1448
|
import_validatorPrimitives.scheme.PageSnapshotForAIParams = (0, import_validatorPrimitives.tObject)({
|
|
1449
|
+
track: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1476
1450
|
timeout: import_validatorPrimitives.tFloat
|
|
1477
1451
|
});
|
|
1478
1452
|
import_validatorPrimitives.scheme.PageSnapshotForAIResult = (0, import_validatorPrimitives.tObject)({
|
|
1479
|
-
|
|
1453
|
+
full: import_validatorPrimitives.tString,
|
|
1454
|
+
incremental: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString)
|
|
1480
1455
|
});
|
|
1481
1456
|
import_validatorPrimitives.scheme.PageStartJSCoverageParams = (0, import_validatorPrimitives.tObject)({
|
|
1482
1457
|
resetOnNavigation: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
@@ -1522,6 +1497,25 @@ import_validatorPrimitives.scheme.PageUpdateSubscriptionParams = (0, import_vali
|
|
|
1522
1497
|
enabled: import_validatorPrimitives.tBoolean
|
|
1523
1498
|
});
|
|
1524
1499
|
import_validatorPrimitives.scheme.PageUpdateSubscriptionResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1500
|
+
import_validatorPrimitives.scheme.PageAgentParams = (0, import_validatorPrimitives.tObject)({
|
|
1501
|
+
api: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1502
|
+
apiKey: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1503
|
+
apiEndpoint: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1504
|
+
apiTimeout: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
1505
|
+
apiCacheFile: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1506
|
+
cacheFile: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1507
|
+
cacheOutFile: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1508
|
+
doNotRenderActive: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
1509
|
+
maxActions: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
1510
|
+
maxActionRetries: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
1511
|
+
maxTokens: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
1512
|
+
model: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
1513
|
+
secrets: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("NameValue"))),
|
|
1514
|
+
systemPrompt: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString)
|
|
1515
|
+
});
|
|
1516
|
+
import_validatorPrimitives.scheme.PageAgentResult = (0, import_validatorPrimitives.tObject)({
|
|
1517
|
+
agent: (0, import_validatorPrimitives.tChannel)(["PageAgent"])
|
|
1518
|
+
});
|
|
1525
1519
|
import_validatorPrimitives.scheme.FrameInitializer = (0, import_validatorPrimitives.tObject)({
|
|
1526
1520
|
url: import_validatorPrimitives.tString,
|
|
1527
1521
|
name: import_validatorPrimitives.tString,
|
|
@@ -1608,7 +1602,8 @@ import_validatorPrimitives.scheme.FrameClickParams = (0, import_validatorPrimiti
|
|
|
1608
1602
|
button: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["left", "right", "middle"])),
|
|
1609
1603
|
clickCount: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
1610
1604
|
timeout: import_validatorPrimitives.tFloat,
|
|
1611
|
-
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
1605
|
+
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
1606
|
+
steps: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
1612
1607
|
});
|
|
1613
1608
|
import_validatorPrimitives.scheme.FrameClickResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1614
1609
|
import_validatorPrimitives.scheme.FrameContentParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
@@ -1623,7 +1618,8 @@ import_validatorPrimitives.scheme.FrameDragAndDropParams = (0, import_validatorP
|
|
|
1623
1618
|
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
1624
1619
|
sourcePosition: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tType)("Point")),
|
|
1625
1620
|
targetPosition: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tType)("Point")),
|
|
1626
|
-
strict: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
1621
|
+
strict: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
1622
|
+
steps: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
1627
1623
|
});
|
|
1628
1624
|
import_validatorPrimitives.scheme.FrameDragAndDropResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1629
1625
|
import_validatorPrimitives.scheme.FrameDblclickParams = (0, import_validatorPrimitives.tObject)({
|
|
@@ -1635,7 +1631,8 @@ import_validatorPrimitives.scheme.FrameDblclickParams = (0, import_validatorPrim
|
|
|
1635
1631
|
delay: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat),
|
|
1636
1632
|
button: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["left", "right", "middle"])),
|
|
1637
1633
|
timeout: import_validatorPrimitives.tFloat,
|
|
1638
|
-
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
1634
|
+
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
1635
|
+
steps: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
1639
1636
|
});
|
|
1640
1637
|
import_validatorPrimitives.scheme.FrameDblclickResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1641
1638
|
import_validatorPrimitives.scheme.FrameDispatchEventParams = (0, import_validatorPrimitives.tObject)({
|
|
@@ -1958,6 +1955,11 @@ import_validatorPrimitives.scheme.WorkerEvaluateExpressionHandleParams = (0, imp
|
|
|
1958
1955
|
import_validatorPrimitives.scheme.WorkerEvaluateExpressionHandleResult = (0, import_validatorPrimitives.tObject)({
|
|
1959
1956
|
handle: (0, import_validatorPrimitives.tChannel)(["ElementHandle", "JSHandle"])
|
|
1960
1957
|
});
|
|
1958
|
+
import_validatorPrimitives.scheme.WorkerUpdateSubscriptionParams = (0, import_validatorPrimitives.tObject)({
|
|
1959
|
+
event: (0, import_validatorPrimitives.tEnum)(["console"]),
|
|
1960
|
+
enabled: import_validatorPrimitives.tBoolean
|
|
1961
|
+
});
|
|
1962
|
+
import_validatorPrimitives.scheme.WorkerUpdateSubscriptionResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
1961
1963
|
import_validatorPrimitives.scheme.JSHandleInitializer = (0, import_validatorPrimitives.tObject)({
|
|
1962
1964
|
preview: import_validatorPrimitives.tString
|
|
1963
1965
|
});
|
|
@@ -2056,7 +2058,8 @@ import_validatorPrimitives.scheme.ElementHandleClickParams = (0, import_validato
|
|
|
2056
2058
|
button: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["left", "right", "middle"])),
|
|
2057
2059
|
clickCount: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2058
2060
|
timeout: import_validatorPrimitives.tFloat,
|
|
2059
|
-
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
2061
|
+
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
2062
|
+
steps: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
2060
2063
|
});
|
|
2061
2064
|
import_validatorPrimitives.scheme.ElementHandleClickResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2062
2065
|
import_validatorPrimitives.scheme.ElementHandleContentFrameParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
@@ -2070,7 +2073,8 @@ import_validatorPrimitives.scheme.ElementHandleDblclickParams = (0, import_valid
|
|
|
2070
2073
|
delay: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tFloat),
|
|
2071
2074
|
button: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["left", "right", "middle"])),
|
|
2072
2075
|
timeout: import_validatorPrimitives.tFloat,
|
|
2073
|
-
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean)
|
|
2076
|
+
trial: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
2077
|
+
steps: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
2074
2078
|
});
|
|
2075
2079
|
import_validatorPrimitives.scheme.ElementHandleDblclickResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2076
2080
|
import_validatorPrimitives.scheme.ElementHandleDispatchEventParams = (0, import_validatorPrimitives.tObject)({
|
|
@@ -2807,6 +2811,7 @@ import_validatorPrimitives.scheme.AndroidDeviceLaunchBrowserParams = (0, import_
|
|
|
2807
2811
|
serviceWorkers: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tEnum)(["allow", "block"])),
|
|
2808
2812
|
selectorEngines: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)((0, import_validatorPrimitives.tType)("SelectorEngine"))),
|
|
2809
2813
|
testIdAttributeName: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
2814
|
+
focusControl: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tBoolean),
|
|
2810
2815
|
pkg: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
2811
2816
|
args: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tArray)(import_validatorPrimitives.tString)),
|
|
2812
2817
|
proxy: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({
|
|
@@ -2910,6 +2915,63 @@ import_validatorPrimitives.scheme.JsonPipeSendParams = (0, import_validatorPrimi
|
|
|
2910
2915
|
import_validatorPrimitives.scheme.JsonPipeSendResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2911
2916
|
import_validatorPrimitives.scheme.JsonPipeCloseParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2912
2917
|
import_validatorPrimitives.scheme.JsonPipeCloseResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2918
|
+
import_validatorPrimitives.scheme.PageAgentInitializer = (0, import_validatorPrimitives.tObject)({
|
|
2919
|
+
page: (0, import_validatorPrimitives.tChannel)(["Page"])
|
|
2920
|
+
});
|
|
2921
|
+
import_validatorPrimitives.scheme.PageAgentTurnEvent = (0, import_validatorPrimitives.tObject)({
|
|
2922
|
+
role: import_validatorPrimitives.tString,
|
|
2923
|
+
message: import_validatorPrimitives.tString,
|
|
2924
|
+
usage: (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({
|
|
2925
|
+
inputTokens: import_validatorPrimitives.tInt,
|
|
2926
|
+
outputTokens: import_validatorPrimitives.tInt
|
|
2927
|
+
}))
|
|
2928
|
+
});
|
|
2929
|
+
import_validatorPrimitives.scheme.PageAgentPerformParams = (0, import_validatorPrimitives.tObject)({
|
|
2930
|
+
task: import_validatorPrimitives.tString,
|
|
2931
|
+
maxActions: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2932
|
+
maxActionRetries: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2933
|
+
maxTokens: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2934
|
+
cacheKey: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
2935
|
+
timeout: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
2936
|
+
});
|
|
2937
|
+
import_validatorPrimitives.scheme.PageAgentPerformResult = (0, import_validatorPrimitives.tObject)({
|
|
2938
|
+
usage: (0, import_validatorPrimitives.tType)("AgentUsage")
|
|
2939
|
+
});
|
|
2940
|
+
import_validatorPrimitives.scheme.PageAgentExpectParams = (0, import_validatorPrimitives.tObject)({
|
|
2941
|
+
expectation: import_validatorPrimitives.tString,
|
|
2942
|
+
maxActions: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2943
|
+
maxActionRetries: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2944
|
+
maxTokens: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2945
|
+
cacheKey: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
2946
|
+
timeout: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
2947
|
+
});
|
|
2948
|
+
import_validatorPrimitives.scheme.PageAgentExpectResult = (0, import_validatorPrimitives.tObject)({
|
|
2949
|
+
usage: (0, import_validatorPrimitives.tType)("AgentUsage")
|
|
2950
|
+
});
|
|
2951
|
+
import_validatorPrimitives.scheme.PageAgentExtractParams = (0, import_validatorPrimitives.tObject)({
|
|
2952
|
+
query: import_validatorPrimitives.tString,
|
|
2953
|
+
schema: import_validatorPrimitives.tAny,
|
|
2954
|
+
maxActions: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2955
|
+
maxActionRetries: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2956
|
+
maxTokens: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt),
|
|
2957
|
+
cacheKey: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tString),
|
|
2958
|
+
timeout: (0, import_validatorPrimitives.tOptional)(import_validatorPrimitives.tInt)
|
|
2959
|
+
});
|
|
2960
|
+
import_validatorPrimitives.scheme.PageAgentExtractResult = (0, import_validatorPrimitives.tObject)({
|
|
2961
|
+
result: import_validatorPrimitives.tAny,
|
|
2962
|
+
usage: (0, import_validatorPrimitives.tType)("AgentUsage")
|
|
2963
|
+
});
|
|
2964
|
+
import_validatorPrimitives.scheme.PageAgentDisposeParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2965
|
+
import_validatorPrimitives.scheme.PageAgentDisposeResult = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2966
|
+
import_validatorPrimitives.scheme.PageAgentUsageParams = (0, import_validatorPrimitives.tOptional)((0, import_validatorPrimitives.tObject)({}));
|
|
2967
|
+
import_validatorPrimitives.scheme.PageAgentUsageResult = (0, import_validatorPrimitives.tObject)({
|
|
2968
|
+
usage: (0, import_validatorPrimitives.tType)("AgentUsage")
|
|
2969
|
+
});
|
|
2970
|
+
import_validatorPrimitives.scheme.AgentUsage = (0, import_validatorPrimitives.tObject)({
|
|
2971
|
+
turns: import_validatorPrimitives.tInt,
|
|
2972
|
+
inputTokens: import_validatorPrimitives.tInt,
|
|
2973
|
+
outputTokens: import_validatorPrimitives.tInt
|
|
2974
|
+
});
|
|
2913
2975
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2914
2976
|
0 && (module.exports = {
|
|
2915
2977
|
ValidationError,
|