better-dsh 0.3.0-e → 0.3.0-f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/cordis.patch.yml +1 -29
- package/lib/BrowserWebSocketTransport-CgnU0Bka.js +4 -0
- package/lib/{BrowserWebSocketTransport-wm99h94r.js → BrowserWebSocketTransport-CokhVKFw.js} +2 -2
- package/lib/LaunchOptions-DljEj6Vd.js +4 -0
- package/lib/{LaunchOptions-DXdeJis3.js → LaunchOptions-NT3-rzpY.js} +2 -2
- package/lib/NodeWebSocketTransport-5Wqr0cTX.js +4 -0
- package/lib/{NodeWebSocketTransport-D9ysYGLM.js → NodeWebSocketTransport-DtNdogd8.js} +29 -29
- package/lib/{bidi-CwtLGgcA.js → bidi-CXUoxww0.js} +99 -99
- package/lib/client/index.js +25 -2
- package/lib/fs-aware/sandbox-plugin.js +1 -1
- package/lib/{index-browser-Bp3vxHC3.js → index-browser-DkpQrcIm.js} +104 -104
- package/lib/{main-CKFNYpqT.js → main-CspJGYxD.js} +14 -14
- package/lib/{main-BXwPLuYr.js → main-jPcGHA-q.js} +1 -1
- package/lib/mobile/plugin.d.ts +1 -1
- package/lib/{puppeteer-core-Bliv_vNf.js → puppeteer-core-D29koPVJ.js} +17 -17
- package/lib/url-schemes/index.d.ts +11 -11
- package/lib/url-schemes/index.js +16 -16
- package/lib/{util-BHL_dfV_.js → util-CdSJv4Yr.js} +9 -9
- package/lib/{wasm_bg-CNXhHjVg.js → wasm_bg-C8T5tUKB.js} +2 -2
- package/lib/web-password.d.ts +7 -7
- package/lib/{web-tree-sitter-CPrPD4J2.js → web-tree-sitter-BUIVjOZV.js} +1 -1
- package/lib/{web-trust-C_Y6o8Z2.d.ts → web-trust-Dej_RI2B.d.ts} +11 -11
- package/lib/web-trust.d.ts +2 -1
- package/lib/welcome-notice.d.ts +5 -7
- package/lib/welcome-notice.js +9 -48
- package/package.json +2 -14
- package/lib/BrowserWebSocketTransport-D1aFReu_.js +0 -4
- package/lib/LaunchOptions-3peHoOAx.js +0 -4
- package/lib/NodeWebSocketTransport-BRLjmu2R.js +0 -4
- package/lib/hmr.d.ts +0 -32
- package/lib/hmr.js +0 -49
- package/lib/webserver.d.ts +0 -10
- package/lib/webserver.js +0 -19
|
@@ -11,7 +11,7 @@ import { EventEmitter } from "node:events";
|
|
|
11
11
|
import * as http from "node:http";
|
|
12
12
|
import * as https from "node:https";
|
|
13
13
|
|
|
14
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/types.js
|
|
14
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/types.js
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2023 Google Inc.
|
|
@@ -76,7 +76,7 @@ var ChromeReleaseChannel;
|
|
|
76
76
|
})(ChromeReleaseChannel || (ChromeReleaseChannel = {}));
|
|
77
77
|
|
|
78
78
|
//#endregion
|
|
79
|
-
//#region node_modules/@puppeteer/browsers/lib/httpUtil.js
|
|
79
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/httpUtil.js
|
|
80
80
|
async function httpRequest(url, method, response, keepAlive = true) {
|
|
81
81
|
let agent;
|
|
82
82
|
try {
|
|
@@ -137,7 +137,7 @@ function getText(url) {
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
//#endregion
|
|
140
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/chrome.js
|
|
140
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/chrome.js
|
|
141
141
|
function folder$3(platform) {
|
|
142
142
|
switch (platform) {
|
|
143
143
|
case BrowserPlatform.LINUX_ARM:
|
|
@@ -345,7 +345,7 @@ function compareVersions$2(a, b) {
|
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
//#endregion
|
|
348
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/chrome-headless-shell.js
|
|
348
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/chrome-headless-shell.js
|
|
349
349
|
function folder$2(platform) {
|
|
350
350
|
switch (platform) {
|
|
351
351
|
case BrowserPlatform.LINUX_ARM:
|
|
@@ -378,7 +378,7 @@ function relativeExecutablePath$3(platform, _buildId) {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
//#endregion
|
|
381
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/chromedriver.js
|
|
381
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/chromedriver.js
|
|
382
382
|
function folder$1(platform) {
|
|
383
383
|
switch (platform) {
|
|
384
384
|
case BrowserPlatform.LINUX_ARM:
|
|
@@ -411,7 +411,7 @@ function relativeExecutablePath$2(platform, _buildId) {
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
//#endregion
|
|
414
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/chromium.js
|
|
414
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/chromium.js
|
|
415
415
|
function archive$1(platform, buildId) {
|
|
416
416
|
switch (platform) {
|
|
417
417
|
case BrowserPlatform.LINUX_ARM:
|
|
@@ -460,7 +460,7 @@ function compareVersions$1(a, b) {
|
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
//#endregion
|
|
463
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/firefox.js
|
|
463
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/firefox.js
|
|
464
464
|
function getFormat(buildId) {
|
|
465
465
|
return Number(buildId.split(".").shift()) >= 135 ? "xz" : "bz2";
|
|
466
466
|
}
|
|
@@ -696,7 +696,7 @@ function compareVersions(a, b) {
|
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
//#endregion
|
|
699
|
-
//#region node_modules/@puppeteer/browsers/lib/browser-data/browser-data.js
|
|
699
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/browser-data/browser-data.js
|
|
700
700
|
const downloadUrls = {
|
|
701
701
|
[Browser.CHROMEDRIVER]: resolveDownloadUrl$2,
|
|
702
702
|
[Browser.CHROMEHEADLESSSHELL]: resolveDownloadUrl$3,
|
|
@@ -856,14 +856,14 @@ function getVersionComparator(browser) {
|
|
|
856
856
|
}
|
|
857
857
|
|
|
858
858
|
//#endregion
|
|
859
|
-
//#region node_modules/@puppeteer/browsers/lib/debug.js
|
|
859
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/debug.js
|
|
860
860
|
const debug = (prefix) => {
|
|
861
861
|
const log = debuglog(prefix);
|
|
862
862
|
return log.enabled ? log : void 0;
|
|
863
863
|
};
|
|
864
864
|
|
|
865
865
|
//#endregion
|
|
866
|
-
//#region node_modules/@puppeteer/browsers/lib/detectPlatform.js
|
|
866
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/detectPlatform.js
|
|
867
867
|
/**
|
|
868
868
|
* @public
|
|
869
869
|
*/
|
|
@@ -893,7 +893,7 @@ function isWindows11(version) {
|
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
//#endregion
|
|
896
|
-
//#region node_modules/@puppeteer/browsers/lib/Cache.js
|
|
896
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/Cache.js
|
|
897
897
|
const debugCache = debug("puppeteer:browsers:cache");
|
|
898
898
|
/**
|
|
899
899
|
* @public
|
|
@@ -1058,7 +1058,7 @@ function parseFolderPath(folderPath) {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
1060
|
//#endregion
|
|
1061
|
-
//#region node_modules/@puppeteer/browsers/lib/launch.js
|
|
1061
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/launch.js
|
|
1062
1062
|
const debugLaunch = debug("puppeteer:browsers:launcher");
|
|
1063
1063
|
/**
|
|
1064
1064
|
* @public
|
|
@@ -1403,12 +1403,12 @@ var TimeoutError = class extends Error {
|
|
|
1403
1403
|
};
|
|
1404
1404
|
|
|
1405
1405
|
//#endregion
|
|
1406
|
-
//#region node_modules/@puppeteer/browsers/lib/fileUtil.js
|
|
1406
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/fileUtil.js
|
|
1407
1407
|
const execFileAsync = promisify(execFile);
|
|
1408
1408
|
const debugFileUtil = debug("puppeteer:browsers:fileUtil");
|
|
1409
1409
|
|
|
1410
1410
|
//#endregion
|
|
1411
|
-
//#region node_modules/@puppeteer/browsers/lib/install.js
|
|
1411
|
+
//#region ../../../better-dsh/node_modules/@puppeteer/browsers/lib/install.js
|
|
1412
1412
|
const debugInstall = debug("puppeteer:browsers:install");
|
|
1413
1413
|
/**
|
|
1414
1414
|
*
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as Browser, a as TimeoutError, b as ChromeReleaseChannel, c as computeSystemExecutablePath, d as InstalledBrowser, f as detectBrowserPlatform, g as resolveDefaultUserDataDir, h as resolveBuildId, i as Process, l as launch, m as getVersionComparator, n as uninstall, o as WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, p as createProfile, r as CDP_WEBSOCKET_ENDPOINT_REGEX, s as computeExecutablePath, t as getInstalledBrowsers, u as Cache, v as BrowserPlatform, y as BrowserTag } from "./main-
|
|
1
|
+
import { _ as Browser, a as TimeoutError, b as ChromeReleaseChannel, c as computeSystemExecutablePath, d as InstalledBrowser, f as detectBrowserPlatform, g as resolveDefaultUserDataDir, h as resolveBuildId, i as Process, l as launch, m as getVersionComparator, n as uninstall, o as WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, p as createProfile, r as CDP_WEBSOCKET_ENDPOINT_REGEX, s as computeExecutablePath, t as getInstalledBrowsers, u as Cache, v as BrowserPlatform, y as BrowserTag } from "./main-CspJGYxD.js";
|
|
2
2
|
|
|
3
3
|
export { Browser, BrowserPlatform, BrowserTag, CDP_WEBSOCKET_ENDPOINT_REGEX, Cache, ChromeReleaseChannel, InstalledBrowser, Process, TimeoutError, WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, computeExecutablePath, computeSystemExecutablePath, createProfile, detectBrowserPlatform, getInstalledBrowsers, getVersionComparator, launch, resolveBuildId, resolveDefaultUserDataDir, uninstall };
|
package/lib/mobile/plugin.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as Browser$1, a as TimeoutError$1, c as computeSystemExecutablePath, f as detectBrowserPlatform, h as resolveBuildId, l as launch$1, n as uninstall, o as WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, p as createProfile, r as CDP_WEBSOCKET_ENDPOINT_REGEX, s as computeExecutablePath, t as getInstalledBrowsers } from "./main-
|
|
2
|
-
import { C as unitToPixels, Ct as getCapturedLogs, E as paperFormats, F as bufferCount, J as fromEvent, K as firstValueFrom, M as assert, Q as map, S as timeout, St as debug, T as withSourcePuppeteerURLIfNone, Tt as environment, W as filter, Z as lastValueFrom, _ as isNumber, _t as PuppeteerError, a as UTILITY_WORLD_NAME, at as race, b as isString, bt as TouchError, c as evaluationString, d as fromEmitterEvent, dt as takeUntil, f as getReadableAsTypedArray, ft as tap, g as isDate, gt as ProtocolError, h as getSourceUrlComment, ht as ConnectionClosedError, i as SOURCE_URL_REGEX, l as filterAsync, m as getSourcePuppeteerURLIfAvailable, mt as timer, n as NETWORK_IDLE_TIME, o as debugCatchError, p as getReadableFromProtocolStream, q as from, r as PuppeteerURL, s as debugError, t as DEFAULT_VIEWPORT, u as fromAbortSignal, v as isPlainObject, vt as TargetCloseError, w as validateDialogType, wt as setLogCapture, x as parsePDFOptions, xt as UnsupportedOperation, y as isRegExp, yt as TimeoutError, z as concatMap } from "./util-
|
|
3
|
-
import { $ as pageBindingInitString, $n as Deferred, $t as scriptInjector, A as NetworkManager, An as guarded, At as DEFAULT_INTERCEPT_RESOLUTION_PRIORITY, B as MAIN_WORLD, Bn as AsyncDisposableStack, Bt as throwIfDetached, C as WebMCPToolCall, Cn as NodeLocator, Ct as WebWorkerEvent, D as CdpTouchscreen, Dn as DeviceRequestPrompt, Dt as normalizeHeaderValue, E as CdpTouchHandle, En as TimeoutSettings, Et as WaitTask, F as CdpFrame, Fn as Browser, Ft as headersArray, G as CdpJSHandle, Gn as asyncDisposeSymbol, Gt as XPathQueryHandler, H as FrameManagerEvent, Hn as DisposableStack, Ht as bindIsolatedHandle, I as referrerPolicyToProtocol, In as WEB_PERMISSION_TO_PROTOCOL_PERMISSION, It as Dialog, J as addPageBinding, Jn as CallbackRegistry, Jt as PQueryHandler, K as releaseObject, Kn as disposeSymbol, Kt as TextQueryHandler, L as LifecycleWatcher, Ln as CDPSession, Lt as Accessibility, M as CdpHTTPResponse, Mt as InterceptResolutionAction, N as CdpHTTPRequest, Nt as STATUS_TEXTS, O as _keyDefinitions, On as BrowserContext, Ot as SecurityDetails, P as FrameTree, Pn as Mutex, Pt as handleError, Q as createEvaluationError, Qn as rewriteError, Qt as ScriptInjector, R as IsolatedWorld, Rn as CDPSessionEvent, Rt as Frame, S as WebMCPTool, Sn as MappedLocator, St as WebWorker, T as CdpMouse, Tn as RaceLocator, Tt as TaskManager, U as ExecutionContext, Un as DisposableStackPolyfill, Ut as JSHandle, V as PUPPETEER_WORLD, Vn as AsyncDisposableStackPolyfill, Vt as ElementHandle, W as CdpElementHandle, Wn as SuppressedError, Wt as getQueryHandlerAndSelector, X as createClientError, Xn as isErrnoException, Xt as CustomQueryHandlerRegistry, Y as convertConsoleMessageLevel, Yn as createProtocolErrorMessage, Yt as PierceQueryHandler, Z as createConsoleMessage, Zn as isErrorLike, Zt as customQueryHandlers, _ as CdpBrowserContext, _n as DelegatedLocator, _t as Mouse, a as KnownDevices, at as CdpPreloadScript, b as convertSameSiteFromPuppeteerToCdp, bn as Locator, bt as createIncrementalIdGenerator, c as _connectToCdpBrowser, cn as Tracing, ct as isTargetClosedError, d as CdpTarget, dn as CSSCoverage, dt as ConsoleMessage, en as ARIAQueryHandler, et as valueFromJSHandle, f as DevToolsTarget, fn as Coverage, ft as CdpBluetoothEmulation, g as WorkerTarget, gn as supportedMetrics, gt as Keyboard, h as PageTarget, hn as setDefaultScreenshotOptions, ht as TargetType, i as assertSupportedUrlRestrictions, it as CdpDeviceRequestPromptManager, j as NetworkEventManager, jt as HTTPRequest, k as FrameManager, kt as HTTPResponse, l as CdpBrowser, ln as EmulatedState, lt as CdpCDPSession, m as OtherTarget, mn as Page, mt as Target, n as TaskQueue, nn as LazyArg, nt as valueFromRemoteObjectReference, o as PredefinedNetworkConditions, on as AsyncIterableUtil, ot as CdpDialog, p as InitializationStatus, pn as JSCoverage, pt as Binding, q as CDP_BINDING_PREFIX, qn as Callback, qt as parsePSelectors, r as Puppeteer, rn as transposeIterableHandle, rt as CdpDeviceRequestPrompt, s as ExtensionTransport, sn as FileChooser, st as Connection, t as PUPPETEER_REVISIONS, tn as QueryHandler, tt as valueFromPrimitiveRemoteObject, u as TargetManager, un as EmulationManager, ut as NetworkManagerEvent, v as CdpPage, vn as FilteredLocator, vt as MouseButton, w as CdpKeyboard, wn as RETRY_DELAY, wt as Realm, x as WebMCP, xn as LocatorEvent, xt as Extension, y as convertCookiesPartitionKeyFromPuppeteerToCdp, yn as FunctionLocator, yt as Touchscreen, z as CdpWebWorker, zn as EventEmitter, zt as FrameEvent } from "./index-browser-
|
|
4
|
-
import { t as BrowserWebSocketTransport } from "./BrowserWebSocketTransport-
|
|
5
|
-
import { t as convertPuppeteerChannelToBrowsersChannel } from "./LaunchOptions-
|
|
6
|
-
import { t as NodeWebSocketTransport } from "./NodeWebSocketTransport-
|
|
1
|
+
import { _ as Browser$1, a as TimeoutError$1, c as computeSystemExecutablePath, f as detectBrowserPlatform, h as resolveBuildId, l as launch$1, n as uninstall, o as WEBDRIVER_BIDI_WEBSOCKET_ENDPOINT_REGEX, p as createProfile, r as CDP_WEBSOCKET_ENDPOINT_REGEX, s as computeExecutablePath, t as getInstalledBrowsers } from "./main-CspJGYxD.js";
|
|
2
|
+
import { C as unitToPixels, Ct as getCapturedLogs, E as paperFormats, F as bufferCount, J as fromEvent, K as firstValueFrom, M as assert, Q as map, S as timeout, St as debug, T as withSourcePuppeteerURLIfNone, Tt as environment, W as filter, Z as lastValueFrom, _ as isNumber, _t as PuppeteerError, a as UTILITY_WORLD_NAME, at as race, b as isString, bt as TouchError, c as evaluationString, d as fromEmitterEvent, dt as takeUntil, f as getReadableAsTypedArray, ft as tap, g as isDate, gt as ProtocolError, h as getSourceUrlComment, ht as ConnectionClosedError, i as SOURCE_URL_REGEX, l as filterAsync, m as getSourcePuppeteerURLIfAvailable, mt as timer, n as NETWORK_IDLE_TIME, o as debugCatchError, p as getReadableFromProtocolStream, q as from, r as PuppeteerURL, s as debugError, t as DEFAULT_VIEWPORT, u as fromAbortSignal, v as isPlainObject, vt as TargetCloseError, w as validateDialogType, wt as setLogCapture, x as parsePDFOptions, xt as UnsupportedOperation, y as isRegExp, yt as TimeoutError, z as concatMap } from "./util-CdSJv4Yr.js";
|
|
3
|
+
import { $ as pageBindingInitString, $n as Deferred, $t as scriptInjector, A as NetworkManager, An as guarded, At as DEFAULT_INTERCEPT_RESOLUTION_PRIORITY, B as MAIN_WORLD, Bn as AsyncDisposableStack, Bt as throwIfDetached, C as WebMCPToolCall, Cn as NodeLocator, Ct as WebWorkerEvent, D as CdpTouchscreen, Dn as DeviceRequestPrompt, Dt as normalizeHeaderValue, E as CdpTouchHandle, En as TimeoutSettings, Et as WaitTask, F as CdpFrame, Fn as Browser, Ft as headersArray, G as CdpJSHandle, Gn as asyncDisposeSymbol, Gt as XPathQueryHandler, H as FrameManagerEvent, Hn as DisposableStack, Ht as bindIsolatedHandle, I as referrerPolicyToProtocol, In as WEB_PERMISSION_TO_PROTOCOL_PERMISSION, It as Dialog, J as addPageBinding, Jn as CallbackRegistry, Jt as PQueryHandler, K as releaseObject, Kn as disposeSymbol, Kt as TextQueryHandler, L as LifecycleWatcher, Ln as CDPSession, Lt as Accessibility, M as CdpHTTPResponse, Mt as InterceptResolutionAction, N as CdpHTTPRequest, Nt as STATUS_TEXTS, O as _keyDefinitions, On as BrowserContext, Ot as SecurityDetails, P as FrameTree, Pn as Mutex, Pt as handleError, Q as createEvaluationError, Qn as rewriteError, Qt as ScriptInjector, R as IsolatedWorld, Rn as CDPSessionEvent, Rt as Frame, S as WebMCPTool, Sn as MappedLocator, St as WebWorker, T as CdpMouse, Tn as RaceLocator, Tt as TaskManager, U as ExecutionContext, Un as DisposableStackPolyfill, Ut as JSHandle, V as PUPPETEER_WORLD, Vn as AsyncDisposableStackPolyfill, Vt as ElementHandle, W as CdpElementHandle, Wn as SuppressedError, Wt as getQueryHandlerAndSelector, X as createClientError, Xn as isErrnoException, Xt as CustomQueryHandlerRegistry, Y as convertConsoleMessageLevel, Yn as createProtocolErrorMessage, Yt as PierceQueryHandler, Z as createConsoleMessage, Zn as isErrorLike, Zt as customQueryHandlers, _ as CdpBrowserContext, _n as DelegatedLocator, _t as Mouse, a as KnownDevices, at as CdpPreloadScript, b as convertSameSiteFromPuppeteerToCdp, bn as Locator, bt as createIncrementalIdGenerator, c as _connectToCdpBrowser, cn as Tracing, ct as isTargetClosedError, d as CdpTarget, dn as CSSCoverage, dt as ConsoleMessage, en as ARIAQueryHandler, et as valueFromJSHandle, f as DevToolsTarget, fn as Coverage, ft as CdpBluetoothEmulation, g as WorkerTarget, gn as supportedMetrics, gt as Keyboard, h as PageTarget, hn as setDefaultScreenshotOptions, ht as TargetType, i as assertSupportedUrlRestrictions, it as CdpDeviceRequestPromptManager, j as NetworkEventManager, jt as HTTPRequest, k as FrameManager, kt as HTTPResponse, l as CdpBrowser, ln as EmulatedState, lt as CdpCDPSession, m as OtherTarget, mn as Page, mt as Target, n as TaskQueue, nn as LazyArg, nt as valueFromRemoteObjectReference, o as PredefinedNetworkConditions, on as AsyncIterableUtil, ot as CdpDialog, p as InitializationStatus, pn as JSCoverage, pt as Binding, q as CDP_BINDING_PREFIX, qn as Callback, qt as parsePSelectors, r as Puppeteer, rn as transposeIterableHandle, rt as CdpDeviceRequestPrompt, s as ExtensionTransport, sn as FileChooser, st as Connection, t as PUPPETEER_REVISIONS, tn as QueryHandler, tt as valueFromPrimitiveRemoteObject, u as TargetManager, un as EmulationManager, ut as NetworkManagerEvent, v as CdpPage, vn as FilteredLocator, vt as MouseButton, w as CdpKeyboard, wn as RETRY_DELAY, wt as Realm, x as WebMCP, xn as LocatorEvent, xt as Extension, y as convertCookiesPartitionKeyFromPuppeteerToCdp, yn as FunctionLocator, yt as Touchscreen, z as CdpWebWorker, zn as EventEmitter, zt as FrameEvent } from "./index-browser-DkpQrcIm.js";
|
|
4
|
+
import { t as BrowserWebSocketTransport } from "./BrowserWebSocketTransport-CokhVKFw.js";
|
|
5
|
+
import { t as convertPuppeteerChannelToBrowsersChannel } from "./LaunchOptions-NT3-rzpY.js";
|
|
6
|
+
import { t as NodeWebSocketTransport } from "./NodeWebSocketTransport-DtNdogd8.js";
|
|
7
7
|
import fs, { existsSync } from "node:fs";
|
|
8
8
|
import path, { dirname, join } from "node:path";
|
|
9
9
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -12,7 +12,7 @@ import { debuglog } from "node:util";
|
|
|
12
12
|
import { mkdtemp, rename, unlink } from "node:fs/promises";
|
|
13
13
|
import { PassThrough } from "node:stream";
|
|
14
14
|
|
|
15
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node-env-setup.js
|
|
15
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node-env-setup.js
|
|
16
16
|
environment.value = {
|
|
17
17
|
fs,
|
|
18
18
|
path,
|
|
@@ -21,7 +21,7 @@ environment.value = {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/PipeTransport.js
|
|
24
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/PipeTransport.js
|
|
25
25
|
/**
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
@@ -74,7 +74,7 @@ var PipeTransport = class {
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
//#endregion
|
|
77
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/BrowserLauncher.js
|
|
77
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/BrowserLauncher.js
|
|
78
78
|
/**
|
|
79
79
|
* @internal
|
|
80
80
|
*/
|
|
@@ -240,7 +240,7 @@ var BrowserLauncher = class {
|
|
|
240
240
|
const bidiOnly = process.env["PUPPETEER_WEBDRIVER_BIDI_ONLY"] === "true";
|
|
241
241
|
const BiDi = await import(
|
|
242
242
|
/* webpackIgnore: true */
|
|
243
|
-
"./bidi-
|
|
243
|
+
"./bidi-CXUoxww0.js"
|
|
244
244
|
);
|
|
245
245
|
const bidiConnection = await BiDi.connectBidiOverCdp(cdpConnection);
|
|
246
246
|
return await BiDi.BidiBrowser.create({
|
|
@@ -262,7 +262,7 @@ var BrowserLauncher = class {
|
|
|
262
262
|
const transport = await NodeWebSocketTransport.create(browserWSEndpoint);
|
|
263
263
|
const BiDi = await import(
|
|
264
264
|
/* webpackIgnore: true */
|
|
265
|
-
"./bidi-
|
|
265
|
+
"./bidi-CXUoxww0.js"
|
|
266
266
|
);
|
|
267
267
|
const bidiConnection = new BiDi.BidiConnection(browserWSEndpoint, transport, opts.idGenerator, opts.slowMo, opts.protocolTimeout);
|
|
268
268
|
return await BiDi.BidiBrowser.create({
|
|
@@ -318,7 +318,7 @@ var BrowserLauncher = class {
|
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
//#endregion
|
|
321
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/util/fs.js
|
|
321
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/util/fs.js
|
|
322
322
|
const rmOptions = {
|
|
323
323
|
force: true,
|
|
324
324
|
recursive: true,
|
|
@@ -332,7 +332,7 @@ async function rm$1(path$1) {
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
//#endregion
|
|
335
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/ChromeLauncher.js
|
|
335
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/ChromeLauncher.js
|
|
336
336
|
/**
|
|
337
337
|
* @internal
|
|
338
338
|
*/
|
|
@@ -519,7 +519,7 @@ function removeMatchingFlags(array, flag) {
|
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
//#endregion
|
|
522
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/FirefoxLauncher.js
|
|
522
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/FirefoxLauncher.js
|
|
523
523
|
/**
|
|
524
524
|
* @internal
|
|
525
525
|
*/
|
|
@@ -634,7 +634,7 @@ var FirefoxLauncher = class FirefoxLauncher extends BrowserLauncher {
|
|
|
634
634
|
};
|
|
635
635
|
|
|
636
636
|
//#endregion
|
|
637
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/PuppeteerNode.js
|
|
637
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/PuppeteerNode.js
|
|
638
638
|
/**
|
|
639
639
|
* Extends the main {@link Puppeteer} class with Node specific behaviour for
|
|
640
640
|
* fetching and downloading browsers.
|
|
@@ -848,7 +848,7 @@ var PuppeteerNode = class extends Puppeteer {
|
|
|
848
848
|
};
|
|
849
849
|
|
|
850
850
|
//#endregion
|
|
851
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/node/ScreenRecorder.js
|
|
851
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/node/ScreenRecorder.js
|
|
852
852
|
/**
|
|
853
853
|
* @license
|
|
854
854
|
* Copyright 2023 Google Inc.
|
|
@@ -1123,7 +1123,7 @@ let ScreenRecorder = (() => {
|
|
|
1123
1123
|
})();
|
|
1124
1124
|
|
|
1125
1125
|
//#endregion
|
|
1126
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/puppeteer-core.js
|
|
1126
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/puppeteer-core.js
|
|
1127
1127
|
environment.value.ScreenRecorder = ScreenRecorder;
|
|
1128
1128
|
/**
|
|
1129
1129
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { t as Schema } from "../index-DTDXUe6m.js";
|
|
1
2
|
import { Context } from "@deepseek-ai/cordis";
|
|
2
3
|
import { ToolDefinition } from "@deepseek-ai/dsh-tools";
|
|
3
|
-
import * as _deepseek_ai_schemastery9 from "@deepseek-ai/schemastery";
|
|
4
4
|
|
|
5
5
|
//#region src/url-schemes/tools/write.d.ts
|
|
6
6
|
|
|
@@ -50,12 +50,12 @@ declare const inject: string[];
|
|
|
50
50
|
* real patch-line config. Schema-level defaults (both ON — the service is
|
|
51
51
|
* opt-out) survive every overlay layer, per the v0.2.2a ruling.
|
|
52
52
|
*/
|
|
53
|
-
declare const Config:
|
|
54
|
-
urlSchemes:
|
|
55
|
-
hashline:
|
|
53
|
+
declare const Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
54
|
+
urlSchemes: Schema<boolean, boolean, "defined">;
|
|
55
|
+
hashline: Schema<boolean, boolean, "defined">;
|
|
56
56
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
57
|
-
urlSchemes:
|
|
58
|
-
hashline:
|
|
57
|
+
urlSchemes: Schema<boolean, boolean, "defined">;
|
|
58
|
+
hashline: Schema<boolean, boolean, "defined">;
|
|
59
59
|
}>>, "plain">;
|
|
60
60
|
/** Register the four URL-aware tools on one agent's own scope layer. */
|
|
61
61
|
/**
|
|
@@ -75,12 +75,12 @@ declare function apply(ctx: Context, config: UrlSchemesConfig | undefined): void
|
|
|
75
75
|
declare const _default: {
|
|
76
76
|
name: string;
|
|
77
77
|
inject: string[];
|
|
78
|
-
Config:
|
|
79
|
-
urlSchemes:
|
|
80
|
-
hashline:
|
|
78
|
+
Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
79
|
+
urlSchemes: Schema<boolean, boolean, "defined">;
|
|
80
|
+
hashline: Schema<boolean, boolean, "defined">;
|
|
81
81
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
82
|
-
urlSchemes:
|
|
83
|
-
hashline:
|
|
82
|
+
urlSchemes: Schema<boolean, boolean, "defined">;
|
|
83
|
+
hashline: Schema<boolean, boolean, "defined">;
|
|
84
84
|
}>>, "plain">;
|
|
85
85
|
apply: typeof apply;
|
|
86
86
|
};
|
package/lib/url-schemes/index.js
CHANGED
|
@@ -3,10 +3,9 @@ import { t as Schema } from "../lib-C8_jXvwA.js";
|
|
|
3
3
|
import { a as PACKAGE_ROOT } from "../kernel-env-BLPZE-I3.js";
|
|
4
4
|
import { n as captureNativeTools } from "../native-capture-BEByDXYM.js";
|
|
5
5
|
import { a as createHttpHandler, c as listDvcDevices, d as UrlResolver, f as UrlSchemesError, h as SCHEME_NAMES, i as HTTP_SCHEMES, l as registerDvcDevice, m as parseUrl, n as wrapFsWithSchemes, o as createDvcHandler, p as applySelector, r as resolveDocsDir, s as dispatchDvcWrite, u as createDshHandler } from "../wrap-0VA0uFx8.js";
|
|
6
|
-
import { n as Parser } from "../web-tree-sitter-
|
|
6
|
+
import { n as Parser } from "../web-tree-sitter-BUIVjOZV.js";
|
|
7
7
|
import { a as primaryServerForFile, c as serversForFile, n as findWorkspaceRoot, o as resolveCommandPath, r as installHintFor, s as serverByName } from "../lsp-server-registry-D4VLs1Sm.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
|
-
import { AsyncLocalStorage } from "node:async_hooks";
|
|
10
9
|
import { createHash, randomUUID } from "node:crypto";
|
|
11
10
|
import { accessSync, constants, existsSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
12
11
|
import * as path$1 from "node:path";
|
|
@@ -23,6 +22,7 @@ import { gunzipSync } from "node:zlib";
|
|
|
23
22
|
import { SessionId } from "@deepseek-ai/dsh-session";
|
|
24
23
|
import { resolveDshHome } from "@deepseek-ai/dsh-home-paths";
|
|
25
24
|
import { DatabaseSync } from "node:sqlite";
|
|
25
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
26
26
|
|
|
27
27
|
//#region src/devices/ast/engine/grammar-manifest.mjs
|
|
28
28
|
/**
|
|
@@ -133,7 +133,7 @@ function astEngine() {
|
|
|
133
133
|
return enginePromise;
|
|
134
134
|
}
|
|
135
135
|
async function boot() {
|
|
136
|
-
const bg = await import("../wasm_bg-
|
|
136
|
+
const bg = await import("../wasm_bg-C8T5tUKB.js");
|
|
137
137
|
const bytes = await readAsset(ASTGREP_WASM.file);
|
|
138
138
|
const { instance } = await WebAssemblyGlobal.instantiate(bytes, { "./wasm_bg.js": bg });
|
|
139
139
|
bg.__wbg_set_wasm(instance.exports);
|
|
@@ -335,8 +335,8 @@ async function findInSource(source, lang, pattern, options) {
|
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
//#endregion
|
|
338
|
-
//#region node_modules/ignore/index.js
|
|
339
|
-
var require_ignore = /* @__PURE__ */ __commonJS({ "node_modules/ignore/index.js": ((exports, module) => {
|
|
338
|
+
//#region ../../../better-dsh/node_modules/ignore/index.js
|
|
339
|
+
var require_ignore = /* @__PURE__ */ __commonJS({ "../../../better-dsh/node_modules/ignore/index.js": ((exports, module) => {
|
|
340
340
|
function makeArray(subject) {
|
|
341
341
|
return Array.isArray(subject) ? subject : [subject];
|
|
342
342
|
}
|
|
@@ -1435,7 +1435,7 @@ const PUPPETEER_CORE_VERSION = "25.3.0";
|
|
|
1435
1435
|
*/
|
|
1436
1436
|
async function loadPuppeteer() {
|
|
1437
1437
|
if (puppeteerModule === void 0) try {
|
|
1438
|
-
puppeteerModule = await import("../puppeteer-core-
|
|
1438
|
+
puppeteerModule = await import("../puppeteer-core-D29koPVJ.js");
|
|
1439
1439
|
} catch {
|
|
1440
1440
|
try {
|
|
1441
1441
|
puppeteerModule = await import(pathToFileURL((await ensureVendored({
|
|
@@ -4833,7 +4833,7 @@ function hashStorePath() {
|
|
|
4833
4833
|
const STALE_TEMP_MS = 3600 * 1e3;
|
|
4834
4834
|
|
|
4835
4835
|
//#endregion
|
|
4836
|
-
//#region node_modules/xxhash-wasm/esm/xxhash-wasm.js
|
|
4836
|
+
//#region ../../../better-dsh/node_modules/xxhash-wasm/esm/xxhash-wasm.js
|
|
4837
4837
|
const t = new Uint8Array([
|
|
4838
4838
|
0,
|
|
4839
4839
|
97,
|
|
@@ -9607,7 +9607,7 @@ function changedRange(original, result) {
|
|
|
9607
9607
|
}
|
|
9608
9608
|
|
|
9609
9609
|
//#endregion
|
|
9610
|
-
//#region node_modules/diff/libesm/diff/base.js
|
|
9610
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/base.js
|
|
9611
9611
|
var Diff = class {
|
|
9612
9612
|
diff(oldStr, newStr, options = {}) {
|
|
9613
9613
|
let callback;
|
|
@@ -9786,12 +9786,12 @@ var Diff = class {
|
|
|
9786
9786
|
};
|
|
9787
9787
|
|
|
9788
9788
|
//#endregion
|
|
9789
|
-
//#region node_modules/diff/libesm/diff/character.js
|
|
9789
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/character.js
|
|
9790
9790
|
var CharacterDiff = class extends Diff {};
|
|
9791
9791
|
const characterDiff = new CharacterDiff();
|
|
9792
9792
|
|
|
9793
9793
|
//#endregion
|
|
9794
|
-
//#region node_modules/diff/libesm/util/string.js
|
|
9794
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/util/string.js
|
|
9795
9795
|
function longestCommonPrefix(str1, str2) {
|
|
9796
9796
|
let i;
|
|
9797
9797
|
for (i = 0; i < str1.length && i < str2.length; i++) if (str1[i] != str2[i]) return str1.slice(0, i);
|
|
@@ -9882,7 +9882,7 @@ function leadingAndTrailingWs(string, segmenter) {
|
|
|
9882
9882
|
}
|
|
9883
9883
|
|
|
9884
9884
|
//#endregion
|
|
9885
|
-
//#region node_modules/diff/libesm/diff/word.js
|
|
9885
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/word.js
|
|
9886
9886
|
const extendedWordChars = "a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}";
|
|
9887
9887
|
const tokenizeIncludingWhitespace = new RegExp(`[${extendedWordChars}]+|\\s+|[^${extendedWordChars}]`, "ug");
|
|
9888
9888
|
var WordDiff = class extends Diff {
|
|
@@ -9989,7 +9989,7 @@ var WordsWithSpaceDiff = class extends Diff {
|
|
|
9989
9989
|
const wordsWithSpaceDiff = new WordsWithSpaceDiff();
|
|
9990
9990
|
|
|
9991
9991
|
//#endregion
|
|
9992
|
-
//#region node_modules/diff/libesm/diff/line.js
|
|
9992
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/line.js
|
|
9993
9993
|
var LineDiff = class extends Diff {
|
|
9994
9994
|
constructor() {
|
|
9995
9995
|
super(...arguments);
|
|
@@ -10023,7 +10023,7 @@ function tokenize(value, options) {
|
|
|
10023
10023
|
}
|
|
10024
10024
|
|
|
10025
10025
|
//#endregion
|
|
10026
|
-
//#region node_modules/diff/libesm/diff/sentence.js
|
|
10026
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/sentence.js
|
|
10027
10027
|
function isSentenceEndPunct(char) {
|
|
10028
10028
|
return char == "." || char == "!" || char == "?";
|
|
10029
10029
|
}
|
|
@@ -10051,7 +10051,7 @@ var SentenceDiff = class extends Diff {
|
|
|
10051
10051
|
const sentenceDiff = new SentenceDiff();
|
|
10052
10052
|
|
|
10053
10053
|
//#endregion
|
|
10054
|
-
//#region node_modules/diff/libesm/diff/css.js
|
|
10054
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/css.js
|
|
10055
10055
|
var CssDiff = class extends Diff {
|
|
10056
10056
|
tokenize(value) {
|
|
10057
10057
|
return value.split(/([{}:;,]|\s+)/);
|
|
@@ -10060,7 +10060,7 @@ var CssDiff = class extends Diff {
|
|
|
10060
10060
|
const cssDiff = new CssDiff();
|
|
10061
10061
|
|
|
10062
10062
|
//#endregion
|
|
10063
|
-
//#region node_modules/diff/libesm/diff/json.js
|
|
10063
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/json.js
|
|
10064
10064
|
var JsonDiff = class extends Diff {
|
|
10065
10065
|
constructor() {
|
|
10066
10066
|
super(...arguments);
|
|
@@ -10116,7 +10116,7 @@ function canonicalize(obj, stack, replacementStack, replacer, key) {
|
|
|
10116
10116
|
}
|
|
10117
10117
|
|
|
10118
10118
|
//#endregion
|
|
10119
|
-
//#region node_modules/diff/libesm/diff/array.js
|
|
10119
|
+
//#region ../../../better-dsh/node_modules/diff/libesm/diff/array.js
|
|
10120
10120
|
var ArrayDiff = class extends Diff {
|
|
10121
10121
|
tokenize(value) {
|
|
10122
10122
|
return value.slice();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/environment.js
|
|
1
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/environment.js
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2020 Google Inc.
|
|
@@ -24,7 +24,7 @@ const environment = { value: {
|
|
|
24
24
|
} };
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/common/Debug.js
|
|
27
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/common/Debug.js
|
|
28
28
|
/**
|
|
29
29
|
* A debug function that can be used in any environment.
|
|
30
30
|
*
|
|
@@ -102,7 +102,7 @@ function getCapturedLogs() {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
//#endregion
|
|
105
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/common/Errors.js
|
|
105
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/common/Errors.js
|
|
106
106
|
/**
|
|
107
107
|
* @license
|
|
108
108
|
* Copyright 2018 Google Inc.
|
|
@@ -193,7 +193,7 @@ var TargetCloseError = class extends ProtocolError {};
|
|
|
193
193
|
var ConnectionClosedError = class extends ProtocolError {};
|
|
194
194
|
|
|
195
195
|
//#endregion
|
|
196
|
-
//#region node_modules/puppeteer-core/lib/third_party/rxjs/rxjs.js
|
|
196
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/third_party/rxjs/rxjs.js
|
|
197
197
|
/**
|
|
198
198
|
Apache License
|
|
199
199
|
Version 2.0, January 2004
|
|
@@ -2425,7 +2425,7 @@ function tap(observerOrNext, error, complete) {
|
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
2427
|
//#endregion
|
|
2428
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/util/assert.js
|
|
2428
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/util/assert.js
|
|
2429
2429
|
/**
|
|
2430
2430
|
* @license
|
|
2431
2431
|
* Copyright 2020 Google Inc.
|
|
@@ -2443,7 +2443,7 @@ const assert = (value, message) => {
|
|
|
2443
2443
|
};
|
|
2444
2444
|
|
|
2445
2445
|
//#endregion
|
|
2446
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/util/encoding.js
|
|
2446
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/util/encoding.js
|
|
2447
2447
|
/**
|
|
2448
2448
|
* @license
|
|
2449
2449
|
* Copyright 2024 Google Inc.
|
|
@@ -2497,7 +2497,7 @@ function mergeUint8Arrays(items) {
|
|
|
2497
2497
|
}
|
|
2498
2498
|
|
|
2499
2499
|
//#endregion
|
|
2500
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/util/version.js
|
|
2500
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/util/version.js
|
|
2501
2501
|
/**
|
|
2502
2502
|
* @license
|
|
2503
2503
|
* Copyright 2025 Google Inc.
|
|
@@ -2506,7 +2506,7 @@ function mergeUint8Arrays(items) {
|
|
|
2506
2506
|
const packageVersion = "25.3.0";
|
|
2507
2507
|
|
|
2508
2508
|
//#endregion
|
|
2509
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/common/PDFOptions.js
|
|
2509
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/common/PDFOptions.js
|
|
2510
2510
|
/**
|
|
2511
2511
|
* @license
|
|
2512
2512
|
* Copyright 2020 Google Inc.
|
|
@@ -2632,7 +2632,7 @@ const paperFormats = {
|
|
|
2632
2632
|
};
|
|
2633
2633
|
|
|
2634
2634
|
//#endregion
|
|
2635
|
-
//#region node_modules/puppeteer-core/lib/puppeteer/common/util.js
|
|
2635
|
+
//#region ../../../better-dsh/node_modules/puppeteer-core/lib/puppeteer/common/util.js
|
|
2636
2636
|
/**
|
|
2637
2637
|
* @internal
|
|
2638
2638
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as Parser, t as Language } from "./web-tree-sitter-
|
|
1
|
+
import { n as Parser, t as Language } from "./web-tree-sitter-BUIVjOZV.js";
|
|
2
2
|
|
|
3
|
-
//#region node_modules/@ast-grep/wasm/wasm_bg.js
|
|
3
|
+
//#region ../../../better-dsh/node_modules/@ast-grep/wasm/wasm_bg.js
|
|
4
4
|
var Pos = class Pos {
|
|
5
5
|
static __wrap(ptr) {
|
|
6
6
|
const obj = Object.create(Pos.prototype);
|
package/lib/web-password.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { t as Schema } from "./index-DTDXUe6m.js";
|
|
1
2
|
import { Context } from "@deepseek-ai/cordis";
|
|
2
3
|
import { CredentialRecord } from "@deepseek-ai/dsh-credentials";
|
|
3
4
|
import { IncomingMessage } from "node:http";
|
|
4
|
-
import * as _deepseek_ai_schemastery19 from "@deepseek-ai/schemastery";
|
|
5
5
|
|
|
6
6
|
//#region src/web-password.d.ts
|
|
7
7
|
|
|
@@ -123,10 +123,10 @@ interface WebPasswordConfig {
|
|
|
123
123
|
/** Absolute browser-session lifetime in days. Default: 30 (the native default). */
|
|
124
124
|
cookieMaxAgeDays?: number;
|
|
125
125
|
}
|
|
126
|
-
declare const Config:
|
|
127
|
-
cookieMaxAgeDays:
|
|
126
|
+
declare const Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
127
|
+
cookieMaxAgeDays: Schema<number, number, "defined">;
|
|
128
128
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
129
|
-
cookieMaxAgeDays:
|
|
129
|
+
cookieMaxAgeDays: Schema<number, number, "defined">;
|
|
130
130
|
}>>, "plain">;
|
|
131
131
|
/** Cordis plugin name; also the scope of this row's credential record. */
|
|
132
132
|
declare const name = "dashr-web-password";
|
|
@@ -145,10 +145,10 @@ declare function apply(ctx: Context, config?: WebPasswordConfig): void;
|
|
|
145
145
|
declare const _default: {
|
|
146
146
|
name: string;
|
|
147
147
|
inject: string[];
|
|
148
|
-
Config:
|
|
149
|
-
cookieMaxAgeDays:
|
|
148
|
+
Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
149
|
+
cookieMaxAgeDays: Schema<number, number, "defined">;
|
|
150
150
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
151
|
-
cookieMaxAgeDays:
|
|
151
|
+
cookieMaxAgeDays: Schema<number, number, "defined">;
|
|
152
152
|
}>>, "plain">;
|
|
153
153
|
apply: typeof apply;
|
|
154
154
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { t as Schema } from "./index-DTDXUe6m.js";
|
|
1
2
|
import { Context } from "@deepseek-ai/cordis";
|
|
2
|
-
import * as _deepseek_ai_schemastery0 from "@deepseek-ai/schemastery";
|
|
3
3
|
|
|
4
4
|
//#region src/web-trust.d.ts
|
|
5
5
|
|
|
@@ -76,12 +76,12 @@ interface TrustConfig {
|
|
|
76
76
|
trustedPageAuthorities?: readonly string[];
|
|
77
77
|
}
|
|
78
78
|
/** Row config schema (schema-level default derives from `DSH_TRUSTED_HOSTS`). */
|
|
79
|
-
declare const Config:
|
|
80
|
-
trustAllHosts:
|
|
81
|
-
trustedPageAuthorities:
|
|
79
|
+
declare const Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
80
|
+
trustAllHosts: Schema<boolean, boolean, "defined">;
|
|
81
|
+
trustedPageAuthorities: Schema<string[], string[], "defined">;
|
|
82
82
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
83
|
-
trustAllHosts:
|
|
84
|
-
trustedPageAuthorities:
|
|
83
|
+
trustAllHosts: Schema<boolean, boolean, "defined">;
|
|
84
|
+
trustedPageAuthorities: Schema<string[], string[], "defined">;
|
|
85
85
|
}>>, "plain">;
|
|
86
86
|
/** Cordis plugin name. */
|
|
87
87
|
declare const name = "dashr-web-trust";
|
|
@@ -100,12 +100,12 @@ declare function apply(ctx: Context, config: TrustConfig | undefined): void;
|
|
|
100
100
|
declare const _default: {
|
|
101
101
|
name: string;
|
|
102
102
|
inject: string[];
|
|
103
|
-
Config:
|
|
104
|
-
trustAllHosts:
|
|
105
|
-
trustedPageAuthorities:
|
|
103
|
+
Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
104
|
+
trustAllHosts: Schema<boolean, boolean, "defined">;
|
|
105
|
+
trustedPageAuthorities: Schema<string[], string[], "defined">;
|
|
106
106
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
107
|
-
trustAllHosts:
|
|
108
|
-
trustedPageAuthorities:
|
|
107
|
+
trustAllHosts: Schema<boolean, boolean, "defined">;
|
|
108
|
+
trustedPageAuthorities: Schema<string[], string[], "defined">;
|
|
109
109
|
}>>, "plain">;
|
|
110
110
|
apply: typeof apply;
|
|
111
111
|
};
|
package/lib/web-trust.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./index-DTDXUe6m.js";
|
|
2
|
+
import { a as _default, c as buildTrustScript, d as name, i as TrustConfig, l as deriveDefaultPageAuthorities, n as Config, o as apply, r as MobileConfig, s as buildMobileScript, t as BootScriptRow, u as inject } from "./web-trust-Dej_RI2B.js";
|
|
2
3
|
export { BootScriptRow, Config, MobileConfig, TrustConfig, apply, buildMobileScript, buildTrustScript, _default as default, deriveDefaultPageAuthorities, inject, name };
|
package/lib/welcome-notice.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
+
import { t as Schema } from "./index-DTDXUe6m.js";
|
|
1
2
|
import { Context } from "@deepseek-ai/cordis";
|
|
2
3
|
|
|
3
4
|
//#region src/welcome-notice.d.ts
|
|
4
5
|
declare const name = "dashr-welcome-notice";
|
|
5
6
|
declare const inject: string[];
|
|
6
|
-
|
|
7
|
-
declare function
|
|
8
|
-
/** Resolve from the owning DSH installation, never from this plugin's build dependencies. */
|
|
9
|
-
declare function readHostWelcomeVersion(installAnchor: string): string;
|
|
10
|
-
/** Keep the original settings namespace and native UI; project policy before startup settles. */
|
|
11
|
-
declare function apply(ctx: Context): Promise<(() => Promise<void>) | undefined>;
|
|
7
|
+
declare const Config: Schema<NoInfer<Schemastery.ObjectS<{}>>, NoInfer<Schemastery.ObjectT<{}>>, "volatile">;
|
|
8
|
+
declare function apply(ctx: Context): void;
|
|
12
9
|
declare const _default: {
|
|
13
10
|
name: string;
|
|
14
11
|
inject: string[];
|
|
12
|
+
Config: Schema<NoInfer<Schemastery.ObjectS<{}>>, NoInfer<Schemastery.ObjectT<{}>>, "volatile">;
|
|
15
13
|
apply: typeof apply;
|
|
16
14
|
};
|
|
17
15
|
//#endregion
|
|
18
|
-
export { apply, _default as default, inject, name
|
|
16
|
+
export { Config, apply, _default as default, inject, name };
|