@lmcc-dev/mult-fetch-mcp-server 1.0.3 → 1.1.0
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 +3 -1
- package/README.zh.md +3 -2
- package/dist/src/client.d.ts +6 -0
- package/dist/src/client.js +26 -28
- package/dist/src/client.js.map +1 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/lib/BrowserFetcher.d.ts +175 -0
- package/dist/src/lib/BrowserFetcher.js.map +1 -0
- package/dist/src/lib/NodeFetcher.d.ts +92 -0
- package/dist/src/lib/NodeFetcher.js +143 -84
- package/dist/src/lib/NodeFetcher.js.map +1 -0
- package/dist/src/lib/i18n/index.js.map +1 -0
- package/dist/src/lib/i18n/keys.js +135 -0
- package/dist/src/lib/i18n/locales/en/browser.d.ts +61 -0
- package/dist/src/lib/i18n/locales/en/browser.js +68 -54
- package/dist/src/lib/i18n/locales/en/browser.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/client.d.ts +39 -0
- package/dist/src/lib/i18n/locales/en/client.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/errors.d.ts +17 -0
- package/dist/src/lib/i18n/locales/en/errors.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/fetcher.d.ts +66 -0
- package/dist/src/lib/i18n/locales/en/fetcher.js +60 -59
- package/dist/src/lib/i18n/locales/en/fetcher.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/index.d.ts +344 -0
- package/dist/src/lib/i18n/locales/en/index.js +1 -1
- package/dist/src/lib/i18n/locales/en/index.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/node.d.ts +41 -0
- package/dist/src/lib/i18n/locales/en/node.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/prompts.d.ts +65 -0
- package/dist/src/lib/i18n/locales/en/prompts.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/resources.d.ts +41 -0
- package/dist/src/lib/i18n/locales/en/resources.js +30 -15
- package/dist/src/lib/i18n/locales/en/resources.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/server.d.ts +30 -0
- package/dist/src/lib/i18n/locales/en/server.js.map +1 -0
- package/dist/src/lib/i18n/locales/en/tools.d.ts +24 -0
- package/dist/src/lib/i18n/locales/en/tools.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/browser.d.ts +61 -0
- package/dist/src/lib/i18n/locales/zh/browser.js +68 -54
- package/dist/src/lib/i18n/locales/zh/browser.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/client.d.ts +38 -0
- package/dist/src/lib/i18n/locales/zh/client.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/errors.d.ts +17 -0
- package/dist/src/lib/i18n/locales/zh/errors.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/fetcher.d.ts +66 -0
- package/dist/src/lib/i18n/locales/zh/fetcher.js +60 -59
- package/dist/src/lib/i18n/locales/zh/fetcher.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/index.d.ts +343 -0
- package/dist/src/lib/i18n/locales/zh/index.js +1 -1
- package/dist/src/lib/i18n/locales/zh/index.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/node.d.ts +41 -0
- package/dist/src/lib/i18n/locales/zh/node.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/prompts.d.ts +65 -0
- package/dist/src/lib/i18n/locales/zh/prompts.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/resources.d.ts +41 -0
- package/dist/src/lib/i18n/locales/zh/resources.js +28 -13
- package/dist/src/lib/i18n/locales/zh/resources.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/server.d.ts +30 -0
- package/dist/src/lib/i18n/locales/zh/server.js.map +1 -0
- package/dist/src/lib/i18n/locales/zh/tools.d.ts +24 -0
- package/dist/src/lib/i18n/locales/zh/tools.js.map +1 -0
- package/dist/src/lib/i18n/logger.d.ts +38 -0
- package/dist/src/lib/i18n/logger.js.map +1 -0
- package/dist/src/lib/logger.d.ts +32 -0
- package/dist/src/lib/logger.js.map +1 -0
- package/dist/src/lib/server/browser.d.ts +34 -0
- package/dist/src/lib/server/browser.js +10 -16
- package/dist/src/lib/server/browser.js.map +1 -0
- package/dist/src/lib/server/fetcher.d.ts +20 -0
- package/dist/src/lib/server/fetcher.js.map +1 -0
- package/dist/src/lib/server/index.d.ts +10 -0
- package/dist/src/lib/server/index.js.map +1 -0
- package/dist/src/lib/server/prompts.d.ts +11 -0
- package/dist/src/lib/server/prompts.js.map +1 -0
- package/dist/src/lib/server/resources.d.ts +11 -0
- package/dist/src/lib/server/resources.js.map +1 -0
- package/dist/src/lib/server/tools.d.ts +12 -0
- package/dist/src/lib/server/tools.js +369 -309
- package/dist/src/lib/server/tools.js.map +1 -0
- package/dist/src/lib/server/types.d.ts +71 -0
- package/dist/src/lib/server/types.js.map +1 -0
- package/dist/src/lib/types.d.ts +119 -0
- package/dist/src/lib/types.js.map +1 -0
- package/dist/src/lib/utils/errorDetection.js +41 -0
- package/dist/src/lib/utils/errors.js +279 -0
- package/dist/src/mcp-server.d.ts +6 -0
- package/dist/src/mcp-server.js.map +1 -0
- package/dist/tests/BrowserFetcher.test.js +951 -0
- package/dist/tests/NodeFetcher.test.js +263 -0
- package/dist/tests/client.test.js +250 -0
- package/dist/tests/i18n.test.js +179 -0
- package/dist/tests/jest.setup.d.ts +6 -0
- package/dist/tests/jest.setup.js +30 -0
- package/dist/tests/jest.setup.js.map +1 -0
- package/dist/tests/logger.test.js +99 -0
- package/dist/tests/mcp-server.test.js +113 -0
- package/dist/tests/server/browser.test.js +197 -0
- package/dist/tests/server/fetcher.test.js +216 -0
- package/dist/tests/server/index.test.js +122 -0
- package/dist/tests/server/prompts.test.js +243 -0
- package/dist/tests/server/resources.test.js +359 -0
- package/dist/tests/server/tools.test.js +222 -0
- package/dist/tests/test-direct-client.d.ts +6 -0
- package/dist/tests/test-direct-client.js.map +1 -0
- package/dist/tests/test-mcp-methods.d.ts +6 -0
- package/dist/tests/test-mcp-methods.js.map +1 -0
- package/dist/tests/test-mcp.d.ts +6 -0
- package/dist/tests/test-mcp.js.map +1 -0
- package/dist/tests/test-mini4k.d.ts +6 -0
- package/dist/tests/test-mini4k.js.map +1 -0
- package/dist/tests/types.test.js +57 -0
- package/package.json +11 -2
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Author: Martin <lmccc.dev@gmail.com>
|
|
3
|
+
* Co-Author: AI Assistant (Claude)
|
|
4
|
+
* Description: This code was collaboratively developed by Martin and AI Assistant.
|
|
5
|
+
*/
|
|
6
|
+
export declare const client: {
|
|
7
|
+
connecting: string;
|
|
8
|
+
connected: string;
|
|
9
|
+
disconnecting: string;
|
|
10
|
+
disconnected: string;
|
|
11
|
+
error: string;
|
|
12
|
+
callTool: string;
|
|
13
|
+
callToolSuccess: string;
|
|
14
|
+
callToolError: string;
|
|
15
|
+
statusCodeDetected: string;
|
|
16
|
+
usageInfo: string;
|
|
17
|
+
exampleUsage: string;
|
|
18
|
+
invalidJson: string;
|
|
19
|
+
usingCommandLineProxy: string;
|
|
20
|
+
invalidProxyFormat: string;
|
|
21
|
+
usingEnvProxy: string;
|
|
22
|
+
usingShellProxy: string;
|
|
23
|
+
noShellProxy: string;
|
|
24
|
+
systemProxyDisabled: string;
|
|
25
|
+
usingSystemProxy: string;
|
|
26
|
+
noSystemProxy: string;
|
|
27
|
+
requestFailed: string;
|
|
28
|
+
fatalError: string;
|
|
29
|
+
startingServer: string;
|
|
30
|
+
fetchingUrl: string;
|
|
31
|
+
usingMode: string;
|
|
32
|
+
fetchFailed: string;
|
|
33
|
+
fetchSuccess: string;
|
|
34
|
+
browserModeNeeded: string;
|
|
35
|
+
retryingWithBrowser: string;
|
|
36
|
+
browserModeFetchFailed: string;
|
|
37
|
+
browserModeFetchSuccess: string;
|
|
38
|
+
serverClosed: string;
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../src/lib/i18n/locales/en/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oCAAoC;AACpC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,UAAU,EAAE,6BAA6B;IACzC,SAAS,EAAE,yBAAyB;IACpC,aAAa,EAAE,kCAAkC;IACjD,YAAY,EAAE,8BAA8B;IAC5C,KAAK,EAAE,yBAAyB;IAChC,QAAQ,EAAE,wBAAwB;IAClC,eAAe,EAAE,gCAAgC;IACjD,aAAa,EAAE,8CAA8C;IAC7D,kBAAkB,EAAE,qCAAqC;IACzD,SAAS,EAAE,sDAAsD;IACjE,YAAY,EAAE,uFAAuF;IACrG,WAAW,EAAE,yBAAyB;IACtC,qBAAqB,EAAE,qCAAqC;IAC5D,kBAAkB,EAAE,iCAAiC;IACrD,aAAa,EAAE,6CAA6C;IAC5D,eAAe,EAAE,8BAA8B;IAC/C,YAAY,EAAE,sBAAsB;IACpC,mBAAmB,EAAE,iCAAiC;IACtD,gBAAgB,EAAE,+BAA+B;IACjD,aAAa,EAAE,uBAAuB;IACtC,aAAa,EAAE,2BAA2B;IAC1C,UAAU,EAAE,wBAAwB;IACpC,cAAc,EAAE,mCAAmC;IACnD,WAAW,EAAE,uBAAuB;IACpC,SAAS,EAAE,sCAAsC;IACjD,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,oDAAoD;IAClE,iBAAiB,EAAE,sCAAsC;IACzD,mBAAmB,EAAE,6CAA6C;IAClE,sBAAsB,EAAE,sCAAsC;IAC9D,uBAAuB,EAAE,iEAAiE;IAC1F,YAAY,EAAE,eAAe;CAC9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Author: Martin <lmccc.dev@gmail.com>
|
|
3
|
+
* Co-Author: AI Assistant (Claude)
|
|
4
|
+
* Description: This code was collaboratively developed by Martin and AI Assistant.
|
|
5
|
+
*/
|
|
6
|
+
export declare const errors: {
|
|
7
|
+
missingUrl: string;
|
|
8
|
+
invalidUrl: string;
|
|
9
|
+
timeout: string;
|
|
10
|
+
networkError: string;
|
|
11
|
+
browserError: string;
|
|
12
|
+
unexpectedError: string;
|
|
13
|
+
forbidden: string;
|
|
14
|
+
cloudflareProtection: string;
|
|
15
|
+
captchaRequired: string;
|
|
16
|
+
connectionProblem: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../../../src/lib/i18n/locales/en/errors.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,iCAAiC;AACjC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,UAAU,EAAE,iCAAiC;IAC7C,UAAU,EAAE,sBAAsB;IAClC,OAAO,EAAE,uCAAuC;IAChD,YAAY,EAAE,0BAA0B;IACxC,YAAY,EAAE,0BAA0B;IACxC,eAAe,EAAE,6BAA6B;IAC9C,SAAS,EAAE,0CAA0C;IACrD,oBAAoB,EAAE,+BAA+B;IACrD,eAAe,EAAE,0BAA0B;IAC3C,iBAAiB,EAAE,4BAA4B;CAChD,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Author: Martin <lmccc.dev@gmail.com>
|
|
3
|
+
* Co-Author: AI Assistant (Claude)
|
|
4
|
+
* Description: This code was collaboratively developed by Martin and AI Assistant.
|
|
5
|
+
*/
|
|
6
|
+
export declare const fetcher: {
|
|
7
|
+
addingDelay: string;
|
|
8
|
+
delayCompleted: string;
|
|
9
|
+
usingProxy: string;
|
|
10
|
+
usingSpecifiedProxy: string;
|
|
11
|
+
attemptingToUseSystemProxy: string;
|
|
12
|
+
notUsingProxy: string;
|
|
13
|
+
finalProxyUsed: string;
|
|
14
|
+
noProxy: string;
|
|
15
|
+
fetchingUrl: string;
|
|
16
|
+
usingUserAgent: string;
|
|
17
|
+
usingHttpsProxy: string;
|
|
18
|
+
usingHttpProxy: string;
|
|
19
|
+
requestOptions: string;
|
|
20
|
+
startingFetch: string;
|
|
21
|
+
fetchCompleted: string;
|
|
22
|
+
responseStatus: string;
|
|
23
|
+
redirectingTo: string;
|
|
24
|
+
constructedFullRedirectUrl: string;
|
|
25
|
+
requestSuccess: string;
|
|
26
|
+
errorResponse: string;
|
|
27
|
+
errorResponseBody: string;
|
|
28
|
+
errorReadingBody: string;
|
|
29
|
+
fetchError: string;
|
|
30
|
+
requestAborted: string;
|
|
31
|
+
networkError: string;
|
|
32
|
+
requestTimeout: string;
|
|
33
|
+
fetchFailed: string;
|
|
34
|
+
tooManyRedirects: string;
|
|
35
|
+
startingHtmlFetch: string;
|
|
36
|
+
readingText: string;
|
|
37
|
+
htmlContentLength: string;
|
|
38
|
+
startingJsonFetch: string;
|
|
39
|
+
parsingJson: string;
|
|
40
|
+
jsonParsed: string;
|
|
41
|
+
jsonParseError: string;
|
|
42
|
+
startingTxtFetch: string;
|
|
43
|
+
textContentLength: string;
|
|
44
|
+
startingMarkdownFetch: string;
|
|
45
|
+
creatingTurndown: string;
|
|
46
|
+
convertingToMarkdown: string;
|
|
47
|
+
markdownContentLength: string;
|
|
48
|
+
checkingProxyEnv: string;
|
|
49
|
+
envVarValue: string;
|
|
50
|
+
foundSystemProxy: string;
|
|
51
|
+
systemCommandProxySettings: string;
|
|
52
|
+
foundProxyFromCommand: string;
|
|
53
|
+
errorGettingProxyFromCommand: string;
|
|
54
|
+
checkingSystemEnvVars: string;
|
|
55
|
+
windowsEnvVars: string;
|
|
56
|
+
foundWindowsEnvProxy: string;
|
|
57
|
+
errorGettingWindowsEnvVars: string;
|
|
58
|
+
unixEnvVars: string;
|
|
59
|
+
foundUnixEnvProxy: string;
|
|
60
|
+
errorGettingUnixEnvVars: string;
|
|
61
|
+
errorGettingSystemEnvVars: string;
|
|
62
|
+
noSystemProxyFound: string;
|
|
63
|
+
notSet: string;
|
|
64
|
+
debug: string;
|
|
65
|
+
none: string;
|
|
66
|
+
};
|
|
@@ -3,65 +3,66 @@
|
|
|
3
3
|
* Co-Author: AI Assistant (Claude)
|
|
4
4
|
* Description: This code was collaboratively developed by Martin and AI Assistant.
|
|
5
5
|
*/
|
|
6
|
+
import { FETCHER_KEYS } from '../../keys.js';
|
|
6
7
|
// 获取器相关消息 (Fetcher related messages)
|
|
7
8
|
export const fetcher = {
|
|
8
|
-
addingDelay: "Adding random delay",
|
|
9
|
-
delayCompleted: "Delay completed after {{delay}}ms",
|
|
10
|
-
usingProxy: "Using proxy: {{proxy}}",
|
|
11
|
-
usingSpecifiedProxy: "Using specified proxy: {{proxy}}",
|
|
12
|
-
attemptingToUseSystemProxy: "Attempting to use system proxy",
|
|
13
|
-
notUsingProxy: "Not using any proxy",
|
|
14
|
-
finalProxyUsed: "Final proxy used: {{proxy}}",
|
|
15
|
-
noProxy: "No proxy will be used",
|
|
16
|
-
fetchingUrl: "Fetching URL: {{url}} (Redirect: {{redirect}})",
|
|
17
|
-
usingUserAgent: "Using User-Agent: {{userAgent}}",
|
|
18
|
-
usingHttpsProxy: "Using HTTPS proxy",
|
|
19
|
-
usingHttpProxy: "Using HTTP proxy",
|
|
20
|
-
requestOptions: "Request options: {{options}}",
|
|
21
|
-
startingFetch: "Starting fetch",
|
|
22
|
-
fetchCompleted: "Fetch completed in {{duration}}ms",
|
|
23
|
-
responseStatus: "Response status: {{status}} {{statusText}}",
|
|
24
|
-
redirectingTo: "Redirecting to: {{location}}",
|
|
25
|
-
constructedFullRedirectUrl: "Constructed full redirect URL: {{redirectUrl}}",
|
|
26
|
-
requestSuccess: "Request successful",
|
|
27
|
-
errorResponse: "Error response: {{status}} {{statusText}}",
|
|
28
|
-
errorResponseBody: "Error response body (first 200 chars): {{body}}",
|
|
29
|
-
errorReadingBody: "Error reading response body: {{error}}",
|
|
30
|
-
fetchError: "Fetch error: {{error}}",
|
|
31
|
-
requestAborted: "Request aborted after {{duration}}ms",
|
|
32
|
-
networkError: "Network error ({{code}}), might retry with browser mode",
|
|
33
|
-
requestTimeout: "Request timeout after {{duration}}ms",
|
|
34
|
-
fetchFailed: "Failed to fetch: {{error}}",
|
|
35
|
-
tooManyRedirects: "Too many redirects ({{redirects}})",
|
|
36
|
-
startingHtmlFetch: "Starting HTML fetch",
|
|
37
|
-
readingText: "Reading text content",
|
|
38
|
-
htmlContentLength: "HTML content length: {{length}} bytes",
|
|
39
|
-
startingJsonFetch: "Starting JSON fetch",
|
|
40
|
-
parsingJson: "Parsing JSON",
|
|
41
|
-
jsonParsed: "JSON parsed successfully",
|
|
42
|
-
jsonParseError: "JSON parse error: {{error}}. Text preview: \"{{textPreview}}\", length: {{textLength}} bytes",
|
|
43
|
-
startingTxtFetch: "Starting text fetch",
|
|
44
|
-
textContentLength: "Text content length: {{length}} bytes",
|
|
45
|
-
startingMarkdownFetch: "Starting Markdown fetch",
|
|
46
|
-
creatingTurndown: "Creating Turndown service",
|
|
47
|
-
convertingToMarkdown: "Converting to Markdown",
|
|
48
|
-
markdownContentLength: "Markdown content length: {{length}} bytes",
|
|
49
|
-
checkingProxyEnv: "Checking proxy environment variables",
|
|
50
|
-
envVarValue: "Environment variable {{envVar}} value: {{value}}",
|
|
51
|
-
foundSystemProxy: "Found system proxy: {{proxy}}",
|
|
52
|
-
systemCommandProxySettings: "System command proxy settings: {{output}}",
|
|
53
|
-
foundProxyFromCommand: "Found proxy from command: {{proxy}}",
|
|
54
|
-
errorGettingProxyFromCommand: "Error getting proxy from command: {{error}}",
|
|
55
|
-
checkingSystemEnvVars: "Checking system environment variables for proxy settings on platform: {{platform}}",
|
|
56
|
-
windowsEnvVars: "Windows environment variables output: {{output}}",
|
|
57
|
-
foundWindowsEnvProxy: "Found Windows environment proxy: {{proxy}}",
|
|
58
|
-
errorGettingWindowsEnvVars: "Error getting Windows environment variables: {{error}}",
|
|
59
|
-
unixEnvVars: "Unix environment variables output: {{output}}",
|
|
60
|
-
foundUnixEnvProxy: "Found Unix environment proxy: {{proxy}}",
|
|
61
|
-
errorGettingUnixEnvVars: "Error getting Unix environment variables: {{error}}",
|
|
62
|
-
errorGettingSystemEnvVars: "Error getting system environment variables: {{error}}",
|
|
63
|
-
noSystemProxyFound: "No system proxy found",
|
|
64
|
-
notSet: "not set",
|
|
65
|
-
debug: "{{message}}",
|
|
66
|
-
none: "none"
|
|
9
|
+
[FETCHER_KEYS.addingDelay]: "Adding random delay",
|
|
10
|
+
[FETCHER_KEYS.delayCompleted]: "Delay completed after {{delay}}ms",
|
|
11
|
+
[FETCHER_KEYS.usingProxy]: "Using proxy: {{proxy}}",
|
|
12
|
+
[FETCHER_KEYS.usingSpecifiedProxy]: "Using specified proxy: {{proxy}}",
|
|
13
|
+
[FETCHER_KEYS.attemptingToUseSystemProxy]: "Attempting to use system proxy",
|
|
14
|
+
[FETCHER_KEYS.notUsingProxy]: "Not using any proxy",
|
|
15
|
+
[FETCHER_KEYS.finalProxyUsed]: "Final proxy used: {{proxy}}",
|
|
16
|
+
[FETCHER_KEYS.noProxy]: "No proxy will be used",
|
|
17
|
+
[FETCHER_KEYS.fetchingUrl]: "Fetching URL: {{url}} (Redirect: {{redirect}})",
|
|
18
|
+
[FETCHER_KEYS.usingUserAgent]: "Using User-Agent: {{userAgent}}",
|
|
19
|
+
[FETCHER_KEYS.usingHttpsProxy]: "Using HTTPS proxy",
|
|
20
|
+
[FETCHER_KEYS.usingHttpProxy]: "Using HTTP proxy",
|
|
21
|
+
[FETCHER_KEYS.requestOptions]: "Request options: {{options}}",
|
|
22
|
+
[FETCHER_KEYS.startingFetch]: "Starting fetch",
|
|
23
|
+
[FETCHER_KEYS.fetchCompleted]: "Fetch completed in {{duration}}ms",
|
|
24
|
+
[FETCHER_KEYS.responseStatus]: "Response status: {{status}} {{statusText}}",
|
|
25
|
+
[FETCHER_KEYS.redirectingTo]: "Redirecting to: {{location}}",
|
|
26
|
+
[FETCHER_KEYS.constructedFullRedirectUrl]: "Constructed full redirect URL: {{redirectUrl}}",
|
|
27
|
+
[FETCHER_KEYS.requestSuccess]: "Request successful",
|
|
28
|
+
[FETCHER_KEYS.errorResponse]: "Error response: {{status}} {{statusText}}",
|
|
29
|
+
[FETCHER_KEYS.errorResponseBody]: "Error response body (first 200 chars): {{body}}",
|
|
30
|
+
[FETCHER_KEYS.errorReadingBody]: "Error reading response body: {{error}}",
|
|
31
|
+
[FETCHER_KEYS.fetchError]: "Fetch error: {{error}}",
|
|
32
|
+
[FETCHER_KEYS.requestAborted]: "Request aborted after {{duration}}ms",
|
|
33
|
+
[FETCHER_KEYS.networkError]: "Network error ({{code}}), might retry with browser mode",
|
|
34
|
+
[FETCHER_KEYS.requestTimeout]: "Request timeout after {{duration}}ms",
|
|
35
|
+
[FETCHER_KEYS.fetchFailed]: "Failed to fetch: {{error}}",
|
|
36
|
+
[FETCHER_KEYS.tooManyRedirects]: "Too many redirects ({{redirects}})",
|
|
37
|
+
[FETCHER_KEYS.startingHtmlFetch]: "Starting HTML fetch",
|
|
38
|
+
[FETCHER_KEYS.readingText]: "Reading text content",
|
|
39
|
+
[FETCHER_KEYS.htmlContentLength]: "HTML content length: {{length}} bytes",
|
|
40
|
+
[FETCHER_KEYS.startingJsonFetch]: "Starting JSON fetch",
|
|
41
|
+
[FETCHER_KEYS.parsingJson]: "Parsing JSON",
|
|
42
|
+
[FETCHER_KEYS.jsonParsed]: "JSON parsed successfully",
|
|
43
|
+
[FETCHER_KEYS.jsonParseError]: "JSON parse error: {{error}}. Text preview: \"{{textPreview}}\", length: {{textLength}} bytes",
|
|
44
|
+
[FETCHER_KEYS.startingTxtFetch]: "Starting text fetch",
|
|
45
|
+
[FETCHER_KEYS.textContentLength]: "Text content length: {{length}} bytes",
|
|
46
|
+
[FETCHER_KEYS.startingMarkdownFetch]: "Starting Markdown fetch",
|
|
47
|
+
[FETCHER_KEYS.creatingTurndown]: "Creating Turndown service",
|
|
48
|
+
[FETCHER_KEYS.convertingToMarkdown]: "Converting to Markdown",
|
|
49
|
+
[FETCHER_KEYS.markdownContentLength]: "Markdown content length: {{length}} bytes",
|
|
50
|
+
[FETCHER_KEYS.checkingProxyEnv]: "Checking proxy environment variables",
|
|
51
|
+
[FETCHER_KEYS.envVarValue]: "Environment variable {{envVar}} value: {{value}}",
|
|
52
|
+
[FETCHER_KEYS.foundSystemProxy]: "Found system proxy: {{proxy}}",
|
|
53
|
+
[FETCHER_KEYS.systemCommandProxySettings]: "System command proxy settings: {{output}}",
|
|
54
|
+
[FETCHER_KEYS.foundProxyFromCommand]: "Found proxy from command: {{proxy}}",
|
|
55
|
+
[FETCHER_KEYS.errorGettingProxyFromCommand]: "Error getting proxy from command: {{error}}",
|
|
56
|
+
[FETCHER_KEYS.checkingSystemEnvVars]: "Checking system environment variables for proxy settings on platform: {{platform}}",
|
|
57
|
+
[FETCHER_KEYS.windowsEnvVars]: "Windows environment variables output: {{output}}",
|
|
58
|
+
[FETCHER_KEYS.foundWindowsEnvProxy]: "Found Windows environment proxy: {{proxy}}",
|
|
59
|
+
[FETCHER_KEYS.errorGettingWindowsEnvVars]: "Error getting Windows environment variables: {{error}}",
|
|
60
|
+
[FETCHER_KEYS.unixEnvVars]: "Unix environment variables output: {{output}}",
|
|
61
|
+
[FETCHER_KEYS.foundUnixEnvProxy]: "Found Unix environment proxy: {{proxy}}",
|
|
62
|
+
[FETCHER_KEYS.errorGettingUnixEnvVars]: "Error getting Unix environment variables: {{error}}",
|
|
63
|
+
[FETCHER_KEYS.errorGettingSystemEnvVars]: "Error getting system environment variables: {{error}}",
|
|
64
|
+
[FETCHER_KEYS.noSystemProxyFound]: "No system proxy found",
|
|
65
|
+
[FETCHER_KEYS.notSet]: "not set",
|
|
66
|
+
[FETCHER_KEYS.debug]: "{{message}}",
|
|
67
|
+
[FETCHER_KEYS.none]: "none"
|
|
67
68
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetcher.js","sourceRoot":"","sources":["../../../../../../src/lib/i18n/locales/en/fetcher.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,WAAW,EAAE,qBAAqB;IAClC,cAAc,EAAE,mCAAmC;IACnD,UAAU,EAAE,wBAAwB;IACpC,mBAAmB,EAAE,kCAAkC;IACvD,0BAA0B,EAAE,gCAAgC;IAC5D,aAAa,EAAE,qBAAqB;IACpC,cAAc,EAAE,6BAA6B;IAC7C,OAAO,EAAE,uBAAuB;IAChC,WAAW,EAAE,gDAAgD;IAC7D,cAAc,EAAE,iCAAiC;IACjD,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,kBAAkB;IAClC,cAAc,EAAE,8BAA8B;IAC9C,aAAa,EAAE,gBAAgB;IAC/B,cAAc,EAAE,mCAAmC;IACnD,cAAc,EAAE,4CAA4C;IAC5D,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,gDAAgD;IAC5E,cAAc,EAAE,oBAAoB;IACpC,aAAa,EAAE,2CAA2C;IAC1D,iBAAiB,EAAE,iDAAiD;IACpE,gBAAgB,EAAE,wCAAwC;IAC1D,UAAU,EAAE,wBAAwB;IACpC,cAAc,EAAE,sCAAsC;IACtD,YAAY,EAAE,yDAAyD;IACvE,cAAc,EAAE,sCAAsC;IACtD,WAAW,EAAE,4BAA4B;IACzC,gBAAgB,EAAE,oCAAoC;IACtD,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,sBAAsB;IACnC,iBAAiB,EAAE,uCAAuC;IAC1D,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,0BAA0B;IACtC,cAAc,EAAE,8FAA8F;IAC9G,gBAAgB,EAAE,qBAAqB;IACvC,iBAAiB,EAAE,uCAAuC;IAC1D,qBAAqB,EAAE,yBAAyB;IAChD,gBAAgB,EAAE,2BAA2B;IAC7C,oBAAoB,EAAE,wBAAwB;IAC9C,qBAAqB,EAAE,2CAA2C;IAClE,gBAAgB,EAAE,sCAAsC;IACxD,WAAW,EAAE,kDAAkD;IAC/D,gBAAgB,EAAE,+BAA+B;IACjD,0BAA0B,EAAE,2CAA2C;IACvE,qBAAqB,EAAE,qCAAqC;IAC5D,4BAA4B,EAAE,6CAA6C;IAC3E,qBAAqB,EAAE,oFAAoF;IAC3G,cAAc,EAAE,kDAAkD;IAClE,oBAAoB,EAAE,4CAA4C;IAClE,0BAA0B,EAAE,wDAAwD;IACpF,WAAW,EAAE,+CAA+C;IAC5D,iBAAiB,EAAE,yCAAyC;IAC5D,uBAAuB,EAAE,qDAAqD;IAC9E,yBAAyB,EAAE,uDAAuD;IAClF,kBAAkB,EAAE,uBAAuB;IAC3C,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,MAAM;CACb,CAAC"}
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Author: Martin <lmccc.dev@gmail.com>
|
|
3
|
+
* Co-Author: AI Assistant (Claude)
|
|
4
|
+
* Description: This code was collaboratively developed by Martin and AI Assistant.
|
|
5
|
+
*/
|
|
6
|
+
export declare const enTranslation: {
|
|
7
|
+
server: {
|
|
8
|
+
starting: string;
|
|
9
|
+
connecting: string;
|
|
10
|
+
started: string;
|
|
11
|
+
stopping: string;
|
|
12
|
+
stopped: string;
|
|
13
|
+
error: string;
|
|
14
|
+
receivedRequest: string;
|
|
15
|
+
processingRequest: string;
|
|
16
|
+
requestCompleted: string;
|
|
17
|
+
requestFailed: string;
|
|
18
|
+
receivedInterruptSignal: string;
|
|
19
|
+
receivedTerminateSignal: string;
|
|
20
|
+
uncaughtException: string;
|
|
21
|
+
debug: string;
|
|
22
|
+
initializingBrowser: string;
|
|
23
|
+
closingBrowser: string;
|
|
24
|
+
receivedToolRequest: string;
|
|
25
|
+
processingToolRequestError: string;
|
|
26
|
+
usingBrowserMode: string;
|
|
27
|
+
usingAutoDetectMode: string;
|
|
28
|
+
switchingToBrowserMode: string;
|
|
29
|
+
fetchError: string;
|
|
30
|
+
connectionError: string;
|
|
31
|
+
};
|
|
32
|
+
client: {
|
|
33
|
+
connecting: string;
|
|
34
|
+
connected: string;
|
|
35
|
+
disconnecting: string;
|
|
36
|
+
disconnected: string;
|
|
37
|
+
error: string;
|
|
38
|
+
callTool: string;
|
|
39
|
+
callToolSuccess: string;
|
|
40
|
+
callToolError: string;
|
|
41
|
+
statusCodeDetected: string;
|
|
42
|
+
usageInfo: string;
|
|
43
|
+
exampleUsage: string;
|
|
44
|
+
invalidJson: string;
|
|
45
|
+
usingCommandLineProxy: string;
|
|
46
|
+
invalidProxyFormat: string;
|
|
47
|
+
usingEnvProxy: string;
|
|
48
|
+
usingShellProxy: string;
|
|
49
|
+
noShellProxy: string;
|
|
50
|
+
systemProxyDisabled: string;
|
|
51
|
+
usingSystemProxy: string;
|
|
52
|
+
noSystemProxy: string;
|
|
53
|
+
requestFailed: string;
|
|
54
|
+
fatalError: string;
|
|
55
|
+
startingServer: string;
|
|
56
|
+
fetchingUrl: string;
|
|
57
|
+
usingMode: string;
|
|
58
|
+
fetchFailed: string;
|
|
59
|
+
fetchSuccess: string;
|
|
60
|
+
browserModeNeeded: string;
|
|
61
|
+
retryingWithBrowser: string;
|
|
62
|
+
browserModeFetchFailed: string;
|
|
63
|
+
browserModeFetchSuccess: string;
|
|
64
|
+
serverClosed: string;
|
|
65
|
+
};
|
|
66
|
+
fetcher: {
|
|
67
|
+
addingDelay: string;
|
|
68
|
+
delayCompleted: string;
|
|
69
|
+
usingProxy: string;
|
|
70
|
+
usingSpecifiedProxy: string;
|
|
71
|
+
attemptingToUseSystemProxy: string;
|
|
72
|
+
notUsingProxy: string;
|
|
73
|
+
finalProxyUsed: string;
|
|
74
|
+
noProxy: string;
|
|
75
|
+
fetchingUrl: string;
|
|
76
|
+
usingUserAgent: string;
|
|
77
|
+
usingHttpsProxy: string;
|
|
78
|
+
usingHttpProxy: string;
|
|
79
|
+
requestOptions: string;
|
|
80
|
+
startingFetch: string;
|
|
81
|
+
fetchCompleted: string;
|
|
82
|
+
responseStatus: string;
|
|
83
|
+
redirectingTo: string;
|
|
84
|
+
constructedFullRedirectUrl: string;
|
|
85
|
+
requestSuccess: string;
|
|
86
|
+
errorResponse: string;
|
|
87
|
+
errorResponseBody: string;
|
|
88
|
+
errorReadingBody: string;
|
|
89
|
+
fetchError: string;
|
|
90
|
+
requestAborted: string;
|
|
91
|
+
networkError: string;
|
|
92
|
+
requestTimeout: string;
|
|
93
|
+
fetchFailed: string;
|
|
94
|
+
tooManyRedirects: string;
|
|
95
|
+
startingHtmlFetch: string;
|
|
96
|
+
readingText: string;
|
|
97
|
+
htmlContentLength: string;
|
|
98
|
+
startingJsonFetch: string;
|
|
99
|
+
parsingJson: string;
|
|
100
|
+
jsonParsed: string;
|
|
101
|
+
jsonParseError: string;
|
|
102
|
+
startingTxtFetch: string;
|
|
103
|
+
textContentLength: string;
|
|
104
|
+
startingMarkdownFetch: string;
|
|
105
|
+
creatingTurndown: string;
|
|
106
|
+
convertingToMarkdown: string;
|
|
107
|
+
markdownContentLength: string;
|
|
108
|
+
checkingProxyEnv: string;
|
|
109
|
+
envVarValue: string;
|
|
110
|
+
foundSystemProxy: string;
|
|
111
|
+
systemCommandProxySettings: string;
|
|
112
|
+
foundProxyFromCommand: string;
|
|
113
|
+
errorGettingProxyFromCommand: string;
|
|
114
|
+
checkingSystemEnvVars: string;
|
|
115
|
+
windowsEnvVars: string;
|
|
116
|
+
foundWindowsEnvProxy: string;
|
|
117
|
+
errorGettingWindowsEnvVars: string;
|
|
118
|
+
unixEnvVars: string;
|
|
119
|
+
foundUnixEnvProxy: string;
|
|
120
|
+
errorGettingUnixEnvVars: string;
|
|
121
|
+
errorGettingSystemEnvVars: string;
|
|
122
|
+
noSystemProxyFound: string;
|
|
123
|
+
notSet: string;
|
|
124
|
+
debug: string;
|
|
125
|
+
none: string;
|
|
126
|
+
};
|
|
127
|
+
browser: {
|
|
128
|
+
closing: string;
|
|
129
|
+
closed: string;
|
|
130
|
+
starting: string;
|
|
131
|
+
startingFailed: string;
|
|
132
|
+
waiting: string;
|
|
133
|
+
startupSuccess: string;
|
|
134
|
+
navigating: string;
|
|
135
|
+
waitingForSelector: string;
|
|
136
|
+
waitingForTimeout: string;
|
|
137
|
+
scrolling: string;
|
|
138
|
+
scrollCompleted: string;
|
|
139
|
+
gettingContent: string;
|
|
140
|
+
savingCookies: string;
|
|
141
|
+
contentLength: string;
|
|
142
|
+
contentTruncated: string;
|
|
143
|
+
pageClosed: string;
|
|
144
|
+
fetchError: string;
|
|
145
|
+
highMemory: string;
|
|
146
|
+
closingDueToMemory: string;
|
|
147
|
+
closingError: string;
|
|
148
|
+
forcingGC: string;
|
|
149
|
+
memoryCheckError: string;
|
|
150
|
+
usingCookies: string;
|
|
151
|
+
usingProxy: string;
|
|
152
|
+
checkingCloudflare: string;
|
|
153
|
+
cloudflareDetected: string;
|
|
154
|
+
simulatingHuman: string;
|
|
155
|
+
simulatingHumanError: string;
|
|
156
|
+
stillOnCloudflare: string;
|
|
157
|
+
bypassFailed: string;
|
|
158
|
+
cloudflareError: string;
|
|
159
|
+
continuingWithoutBypass: string;
|
|
160
|
+
fetchingWithRetry: string;
|
|
161
|
+
memoryUsage: string;
|
|
162
|
+
memoryTooHigh: string;
|
|
163
|
+
unableToBypassCloudflare: string;
|
|
164
|
+
contentTooLarge: string;
|
|
165
|
+
failedToParseJSON: string;
|
|
166
|
+
startingBrowserFetchForMarkdown: string;
|
|
167
|
+
errorInBrowserFetchForMarkdown: string;
|
|
168
|
+
fetchRequest: string;
|
|
169
|
+
usingStoredCookies: string;
|
|
170
|
+
closingInstance: string;
|
|
171
|
+
fetchErrorWithAttempt: string;
|
|
172
|
+
retryingAfterDelay: string;
|
|
173
|
+
browserStartupSuccess: string;
|
|
174
|
+
browserStartupFailed: string;
|
|
175
|
+
usingCustomChromePath: string;
|
|
176
|
+
browserDisconnected: string;
|
|
177
|
+
waitingForBrowserStart: string;
|
|
178
|
+
reusingExistingBrowser: string;
|
|
179
|
+
startingBrowser: string;
|
|
180
|
+
browserStarted: string;
|
|
181
|
+
browserStartError: string;
|
|
182
|
+
};
|
|
183
|
+
node: {
|
|
184
|
+
addingDelay: string;
|
|
185
|
+
noProxy: string;
|
|
186
|
+
usingProxy: string;
|
|
187
|
+
usingHttpsProxy: string;
|
|
188
|
+
usingHttpProxy: string;
|
|
189
|
+
usingUserAgent: string;
|
|
190
|
+
requestDetails: string;
|
|
191
|
+
requestOptions: string;
|
|
192
|
+
startingFetch: string;
|
|
193
|
+
fetchingUrl: string;
|
|
194
|
+
responseStatus: string;
|
|
195
|
+
redirectingTo: string;
|
|
196
|
+
constructedFullRedirectUrl: string;
|
|
197
|
+
requestSuccess: string;
|
|
198
|
+
errorResponse: string;
|
|
199
|
+
errorResponseBody: string;
|
|
200
|
+
errorReadingBody: string;
|
|
201
|
+
fetchError: string;
|
|
202
|
+
requestAborted: string;
|
|
203
|
+
networkError: string;
|
|
204
|
+
tooManyRedirects: string;
|
|
205
|
+
startingHtmlFetch: string;
|
|
206
|
+
readingText: string;
|
|
207
|
+
htmlContentLength: string;
|
|
208
|
+
htmlFetchError: string;
|
|
209
|
+
startingJsonFetch: string;
|
|
210
|
+
parsingJson: string;
|
|
211
|
+
jsonParsed: string;
|
|
212
|
+
jsonParseError: string;
|
|
213
|
+
jsonFetchError: string;
|
|
214
|
+
startingTxtFetch: string;
|
|
215
|
+
startingMarkdownFetch: string;
|
|
216
|
+
creatingTurndown: string;
|
|
217
|
+
convertingToMarkdown: string;
|
|
218
|
+
};
|
|
219
|
+
tools: {
|
|
220
|
+
fetchHtml: {
|
|
221
|
+
description: string;
|
|
222
|
+
error: string;
|
|
223
|
+
};
|
|
224
|
+
fetchJson: {
|
|
225
|
+
description: string;
|
|
226
|
+
error: string;
|
|
227
|
+
invalidJson: string;
|
|
228
|
+
};
|
|
229
|
+
fetchTxt: {
|
|
230
|
+
description: string;
|
|
231
|
+
error: string;
|
|
232
|
+
};
|
|
233
|
+
fetchMarkdown: {
|
|
234
|
+
description: string;
|
|
235
|
+
error: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
errors: {
|
|
239
|
+
missingUrl: string;
|
|
240
|
+
invalidUrl: string;
|
|
241
|
+
timeout: string;
|
|
242
|
+
networkError: string;
|
|
243
|
+
browserError: string;
|
|
244
|
+
unexpectedError: string;
|
|
245
|
+
forbidden: string;
|
|
246
|
+
cloudflareProtection: string;
|
|
247
|
+
captchaRequired: string;
|
|
248
|
+
connectionProblem: string;
|
|
249
|
+
};
|
|
250
|
+
resources: {
|
|
251
|
+
list: {
|
|
252
|
+
request: string;
|
|
253
|
+
};
|
|
254
|
+
read: {
|
|
255
|
+
request: string;
|
|
256
|
+
error: string;
|
|
257
|
+
};
|
|
258
|
+
fileReadError: string;
|
|
259
|
+
invalidUri: string;
|
|
260
|
+
notFound: string;
|
|
261
|
+
readme: {
|
|
262
|
+
description: string;
|
|
263
|
+
};
|
|
264
|
+
package: {
|
|
265
|
+
description: string;
|
|
266
|
+
};
|
|
267
|
+
index: {
|
|
268
|
+
description: string;
|
|
269
|
+
};
|
|
270
|
+
client: {
|
|
271
|
+
description: string;
|
|
272
|
+
};
|
|
273
|
+
sourceFile: {
|
|
274
|
+
name: string;
|
|
275
|
+
description: string;
|
|
276
|
+
};
|
|
277
|
+
docFile: {
|
|
278
|
+
name: string;
|
|
279
|
+
description: string;
|
|
280
|
+
};
|
|
281
|
+
filename: {
|
|
282
|
+
description: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
prompts: {
|
|
286
|
+
list: {
|
|
287
|
+
request: string;
|
|
288
|
+
};
|
|
289
|
+
get: {
|
|
290
|
+
request: string;
|
|
291
|
+
};
|
|
292
|
+
notFound: string;
|
|
293
|
+
missingRequiredArg: string;
|
|
294
|
+
useBrowserValue: string;
|
|
295
|
+
generic: {
|
|
296
|
+
result: string;
|
|
297
|
+
message: string;
|
|
298
|
+
args: string;
|
|
299
|
+
};
|
|
300
|
+
yes: string;
|
|
301
|
+
no: string;
|
|
302
|
+
url: {
|
|
303
|
+
description: string;
|
|
304
|
+
};
|
|
305
|
+
format: {
|
|
306
|
+
description: string;
|
|
307
|
+
};
|
|
308
|
+
useBrowser: {
|
|
309
|
+
description: string;
|
|
310
|
+
};
|
|
311
|
+
selector: {
|
|
312
|
+
description: string;
|
|
313
|
+
};
|
|
314
|
+
dataType: {
|
|
315
|
+
description: string;
|
|
316
|
+
};
|
|
317
|
+
error: {
|
|
318
|
+
description: string;
|
|
319
|
+
};
|
|
320
|
+
fetchWebsite: {
|
|
321
|
+
description: string;
|
|
322
|
+
result: string;
|
|
323
|
+
message: string;
|
|
324
|
+
response: string;
|
|
325
|
+
instruction: string;
|
|
326
|
+
formatInstruction: string;
|
|
327
|
+
browserInstruction: string;
|
|
328
|
+
};
|
|
329
|
+
extractContent: {
|
|
330
|
+
description: string;
|
|
331
|
+
result: string;
|
|
332
|
+
message: string;
|
|
333
|
+
selectorInstruction: string;
|
|
334
|
+
dataTypeInstruction: string;
|
|
335
|
+
};
|
|
336
|
+
debugFetch: {
|
|
337
|
+
description: string;
|
|
338
|
+
result: string;
|
|
339
|
+
message: string;
|
|
340
|
+
errorDetails: string;
|
|
341
|
+
instruction: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
@@ -10,7 +10,7 @@ import { browser } from './browser.js';
|
|
|
10
10
|
import { node } from './node.js';
|
|
11
11
|
import { tools } from './tools.js';
|
|
12
12
|
import { errors } from './errors.js';
|
|
13
|
-
import resources from './resources.js';
|
|
13
|
+
import { resources } from './resources.js';
|
|
14
14
|
import prompts from './prompts.js';
|
|
15
15
|
// 英文翻译资源 (English translation resources)
|
|
16
16
|
export const enTranslation = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/i18n/locales/en/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,yCAAyC;AACzC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,IAAI;IACJ,KAAK;IACL,MAAM;IACN,SAAS;IACT,OAAO;CACR,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Author: Martin <lmccc.dev@gmail.com>
|
|
3
|
+
* Co-Author: AI Assistant (Claude)
|
|
4
|
+
* Description: This code was collaboratively developed by Martin and AI Assistant.
|
|
5
|
+
*/
|
|
6
|
+
export declare const node: {
|
|
7
|
+
addingDelay: string;
|
|
8
|
+
noProxy: string;
|
|
9
|
+
usingProxy: string;
|
|
10
|
+
usingHttpsProxy: string;
|
|
11
|
+
usingHttpProxy: string;
|
|
12
|
+
usingUserAgent: string;
|
|
13
|
+
requestDetails: string;
|
|
14
|
+
requestOptions: string;
|
|
15
|
+
startingFetch: string;
|
|
16
|
+
fetchingUrl: string;
|
|
17
|
+
responseStatus: string;
|
|
18
|
+
redirectingTo: string;
|
|
19
|
+
constructedFullRedirectUrl: string;
|
|
20
|
+
requestSuccess: string;
|
|
21
|
+
errorResponse: string;
|
|
22
|
+
errorResponseBody: string;
|
|
23
|
+
errorReadingBody: string;
|
|
24
|
+
fetchError: string;
|
|
25
|
+
requestAborted: string;
|
|
26
|
+
networkError: string;
|
|
27
|
+
tooManyRedirects: string;
|
|
28
|
+
startingHtmlFetch: string;
|
|
29
|
+
readingText: string;
|
|
30
|
+
htmlContentLength: string;
|
|
31
|
+
htmlFetchError: string;
|
|
32
|
+
startingJsonFetch: string;
|
|
33
|
+
parsingJson: string;
|
|
34
|
+
jsonParsed: string;
|
|
35
|
+
jsonParseError: string;
|
|
36
|
+
jsonFetchError: string;
|
|
37
|
+
startingTxtFetch: string;
|
|
38
|
+
startingMarkdownFetch: string;
|
|
39
|
+
creatingTurndown: string;
|
|
40
|
+
convertingToMarkdown: string;
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../../../../src/lib/i18n/locales/en/node.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,8CAA8C;AAC9C,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,WAAW,EAAE,wBAAwB;IACrC,OAAO,EAAE,uBAAuB;IAChC,UAAU,EAAE,wBAAwB;IACpC,eAAe,EAAE,yBAAyB;IAC1C,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,iCAAiC;IACjD,cAAc,EAAE,kEAAkE;IAClF,cAAc,EAAE,8BAA8B;IAC9C,aAAa,EAAE,2BAA2B;IAC1C,WAAW,EAAE,uBAAuB;IACpC,cAAc,EAAE,4CAA4C;IAC5D,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,gDAAgD;IAC5E,cAAc,EAAE,oBAAoB;IACpC,aAAa,EAAE,2CAA2C;IAC1D,iBAAiB,EAAE,iDAAiD;IACpE,gBAAgB,EAAE,+CAA+C;IACjE,UAAU,EAAE,wBAAwB;IACpC,cAAc,EAAE,sCAAsC;IACtD,YAAY,EAAE,yDAAyD;IACvE,gBAAgB,EAAE,oCAAoC;IACtD,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,4BAA4B;IACzC,iBAAiB,EAAE,uCAAuC;IAC1D,cAAc,EAAE,6BAA6B;IAC7C,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,4BAA4B;IACzC,UAAU,EAAE,0BAA0B;IACtC,cAAc,EAAE,6BAA6B;IAC7C,cAAc,EAAE,6BAA6B;IAC7C,gBAAgB,EAAE,oBAAoB;IACtC,qBAAqB,EAAE,yBAAyB;IAChD,gBAAgB,EAAE,mCAAmC;IACrD,oBAAoB,EAAE,6BAA6B;CACpD,CAAC"}
|