@mcpjam/inspector 3.12.9 → 3.13.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/bin/start.js +32 -6
- package/dist/client/assets/OAuthDesktopReturnNotice-BZEaGzn6.css +2 -0
- package/dist/client/assets/{OAuthDesktopReturnNotice-DlTJhJwy.js → OAuthDesktopReturnNotice-D5tJNqny.js} +2 -2
- package/dist/client/assets/{app-bootstrap-BtbHLWDU.js → app-bootstrap-baadQQNk.js} +351 -368
- package/dist/client/assets/{button-12hqsTUk.js → button-DHPqnOj6.js} +2 -2
- package/dist/client/assets/chunk-D32TOXHM-BPB6AqSK.js +160 -0
- package/dist/client/assets/dead-clicks-autocapture-Cbczl2El.js +3 -0
- package/dist/client/assets/{error-reporting-D3byeSLw.js → error-reporting-B4hGM_ob.js} +1 -1
- package/dist/client/assets/error-reporting-CORfsjyM.js +120 -0
- package/dist/client/assets/{exception-autocapture-CzpTtsxv.js → exception-autocapture-CMOUrnel.js} +4 -4
- package/dist/client/assets/{failed-request-tracker-CmHxaDPF.js → failed-request-tracker-DoQRXuIy.js} +2 -2
- package/dist/client/assets/highlighted-body-KQOG7T2V-_ljE4u1k.js +3 -0
- package/dist/client/assets/{index-C0SfPmai.js → index-BBr8TZVx.js} +3 -3
- package/dist/client/assets/{jszip.min-BmAHHtmZ.js → jszip.min-C-vIQbxH.js} +2 -2
- package/dist/client/assets/mermaid-MCJ5UELQ-DTJaEEBm.js +1 -0
- package/dist/client/assets/posthog-recorder-Dby9Z8HR.js +110 -0
- package/dist/client/assets/{preload-helper-B22rzauv.js → preload-helper-Dvt1a6xa.js} +2 -2
- package/dist/client/assets/{react-BzkNdoI5.js → react-CD7Pk4KS.js} +2 -2
- package/dist/client/assets/{rolldown-runtime-BNuWddGb.js → rolldown-runtime-mzU9SaVm.js} +1 -1
- package/dist/client/assets/surveys-DYqpu8xl.js +3 -0
- package/dist/client/assets/trace-timeline-PnE1ouRj.js +71 -0
- package/dist/client/assets/{trace-timeline-Bg58ukyI.js → trace-timeline-WXINST5z.js} +1 -1
- package/dist/client/assets/{web-vitals-D4bU8W1t.js → web-vitals-BLq6M5vx.js} +2 -2
- package/dist/client/index.html +8 -8
- package/dist/server/{chunk-DGAFFBDM.js → chunk-2FVSBJQF.js} +1470 -890
- package/dist/server/chunk-I7ZVTBZP.js +3100 -0
- package/dist/server/{chunk-SH24KJBI.js → chunk-MBS3EZ3U.js} +13 -2
- package/dist/server/{chunk-4PYR7GMQ.js → chunk-QHYREDE3.js} +4 -4
- package/dist/server/{consent-lifetime-M7PS6RUU.js → consent-lifetime-TYLDY64H.js} +3 -3
- package/dist/server/harness-install-cli.js +23 -6
- package/dist/server/index.js +21146 -18727
- package/dist/server/{local-turn-ZWMMQGV3.js → local-turn-VQDSTY6T.js} +4 -4
- package/package.json +38 -38
- package/dist/client/assets/OAuthDesktopReturnNotice-FnFv52Ym.css +0 -2
- package/dist/client/assets/chunk-YOKDWASO--Bd-6XAf.js +0 -145
- package/dist/client/assets/dead-clicks-autocapture-RCao2exY.js +0 -3
- package/dist/client/assets/error-reporting-StyhxjHz.js +0 -102
- package/dist/client/assets/highlighted-body-KPVGNVTW-BweERQbm.js +0 -3
- package/dist/client/assets/mermaid-HWGCJPDP-C6s_jIuz.js +0 -1
- package/dist/client/assets/posthog-recorder-wc41pimR.js +0 -110
- package/dist/client/assets/surveys-D-NcCeqw.js +0 -3
- package/dist/client/assets/trace-timeline-CxoCCEiW.js +0 -137
- package/dist/server/chunk-WZVZ6LQX.js +0 -2876
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
var WEB_CONNECT_TIMEOUT_MS = 1e4;
|
|
3
3
|
var WEB_CALL_TIMEOUT_MS = 3e4;
|
|
4
4
|
var WEB_STREAM_TIMEOUT_MS = 12e4;
|
|
5
|
+
var WEB_CHAT_TOOL_LISTING_TIMEOUT_MS = 3e4;
|
|
6
|
+
var WEB_SERVER_CHECK_DEADLINE_MS = 45e3;
|
|
5
7
|
|
|
6
8
|
// server/config.ts
|
|
7
9
|
var SERVER_PORT = process.env.SERVER_PORT ? parseInt(process.env.SERVER_PORT, 10) : 6274;
|
|
@@ -51,7 +53,14 @@ var CORS_ORIGINS = HOSTED_MODE && WEB_ALLOWED_ORIGINS.length > 0 ? WEB_ALLOWED_O
|
|
|
51
53
|
var CORS_OPTIONS = {
|
|
52
54
|
origin: CORS_ORIGINS,
|
|
53
55
|
credentials: true,
|
|
54
|
-
|
|
56
|
+
// `x-mcpjam-failure-captured`: Ask MCPJam's browser reporter reads it to
|
|
57
|
+
// skip what the server already sent to Sentry; hidden, it double-reports.
|
|
58
|
+
exposeHeaders: [
|
|
59
|
+
"x-request-id",
|
|
60
|
+
"x-mcpjam-error-origin",
|
|
61
|
+
"X-MCPJam-Session",
|
|
62
|
+
"x-mcpjam-failure-captured"
|
|
63
|
+
]
|
|
55
64
|
};
|
|
56
65
|
var ELICITATION_FORM_TTL_MS = 5 * 6e4;
|
|
57
66
|
var ELICITATION_URL_CONSENT_TTL_MS = 2 * 6e4;
|
|
@@ -144,6 +153,8 @@ export {
|
|
|
144
153
|
WEB_CONNECT_TIMEOUT_MS,
|
|
145
154
|
WEB_CALL_TIMEOUT_MS,
|
|
146
155
|
WEB_STREAM_TIMEOUT_MS,
|
|
156
|
+
WEB_CHAT_TOOL_LISTING_TIMEOUT_MS,
|
|
157
|
+
WEB_SERVER_CHECK_DEADLINE_MS,
|
|
147
158
|
SERVER_PORT,
|
|
148
159
|
SERVER_HOSTNAME,
|
|
149
160
|
LOCAL_SERVER_ADDR,
|
|
@@ -191,4 +202,4 @@ export {
|
|
|
191
202
|
createCapabilityMutationLock,
|
|
192
203
|
persistCapabilityState
|
|
193
204
|
};
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
205
|
+
//# sourceMappingURL=chunk-MBS3EZ3U.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createCapabilityMutationLock,
|
|
7
7
|
mintCapabilityToken,
|
|
8
8
|
persistCapabilityState
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MBS3EZ3U.js";
|
|
10
10
|
|
|
11
11
|
// server/utils/computers/browser-consent.ts
|
|
12
12
|
import { watch } from "fs";
|
|
@@ -98,7 +98,7 @@ var consent = createDeviceConsent(
|
|
|
98
98
|
);
|
|
99
99
|
async function grantLocalBrowserConsent() {
|
|
100
100
|
const grant = await consent.grant();
|
|
101
|
-
const { invalidateBrowserConsentLifetimes: invalidateBrowserConsentLifetimes2 } = await import("./consent-lifetime-
|
|
101
|
+
const { invalidateBrowserConsentLifetimes: invalidateBrowserConsentLifetimes2 } = await import("./consent-lifetime-TYLDY64H.js");
|
|
102
102
|
await invalidateBrowserConsentLifetimes2(await consent.fingerprint());
|
|
103
103
|
return grant;
|
|
104
104
|
}
|
|
@@ -107,7 +107,7 @@ var getBrowserConsentFingerprint = consent.fingerprint;
|
|
|
107
107
|
var verifyAndFingerprintBrowserConsent = consent.verifyAndFingerprint;
|
|
108
108
|
async function revokeLocalBrowserConsent(token) {
|
|
109
109
|
await consent.revoke(token);
|
|
110
|
-
const { invalidateBrowserConsentLifetimes: invalidateBrowserConsentLifetimes2 } = await import("./consent-lifetime-
|
|
110
|
+
const { invalidateBrowserConsentLifetimes: invalidateBrowserConsentLifetimes2 } = await import("./consent-lifetime-TYLDY64H.js");
|
|
111
111
|
await invalidateBrowserConsentLifetimes2(await consent.fingerprint());
|
|
112
112
|
}
|
|
113
113
|
function watchBrowserConsentChanges(changed) {
|
|
@@ -506,4 +506,4 @@ export {
|
|
|
506
506
|
createBrowserConsentLifetime,
|
|
507
507
|
invalidateBrowserConsentLifetimes
|
|
508
508
|
};
|
|
509
|
-
//# sourceMappingURL=chunk-
|
|
509
|
+
//# sourceMappingURL=chunk-QHYREDE3.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createBrowserConsentLifetime,
|
|
3
3
|
invalidateBrowserConsentLifetimes
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QHYREDE3.js";
|
|
5
|
+
import "./chunk-MBS3EZ3U.js";
|
|
6
6
|
import "./chunk-PZ5AY32C.js";
|
|
7
7
|
export {
|
|
8
8
|
createBrowserConsentLifetime,
|
|
9
9
|
invalidateBrowserConsentLifetimes
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=consent-lifetime-
|
|
11
|
+
//# sourceMappingURL=consent-lifetime-TYLDY64H.js.map
|
|
@@ -1,21 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
|
+
SUPPORTED_LOCAL_HARNESS_IDS,
|
|
2
3
|
installRuntimePack,
|
|
3
4
|
readRuntimeInstallStatus
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I7ZVTBZP.js";
|
|
5
6
|
import "./chunk-PZ5AY32C.js";
|
|
6
7
|
|
|
7
8
|
// server/harness-install-cli.ts
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
var supportedHarnessIds = SUPPORTED_LOCAL_HARNESS_IDS;
|
|
10
|
+
var harnessDisplayNames = {
|
|
11
|
+
"claude-code": "Claude Code",
|
|
12
|
+
codex: "Codex"
|
|
13
|
+
};
|
|
14
|
+
function harnessIdOf(value) {
|
|
15
|
+
const id = value ?? "claude-code";
|
|
16
|
+
if (!SUPPORTED_LOCAL_HARNESS_IDS.includes(id)) {
|
|
17
|
+
throw new Error(
|
|
18
|
+
`unknown harness ${JSON.stringify(id)} (expected one of ${SUPPORTED_LOCAL_HARNESS_IDS.join(", ")})`
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
return id;
|
|
22
|
+
}
|
|
23
|
+
async function harnessStatus(harnessId) {
|
|
24
|
+
return readRuntimeInstallStatus({ harnessId: harnessIdOf(harnessId) });
|
|
10
25
|
}
|
|
11
|
-
async function harnessInstall(onProgress) {
|
|
26
|
+
async function harnessInstall(onProgress, harnessId) {
|
|
12
27
|
return installRuntimePack({
|
|
13
|
-
harnessId:
|
|
28
|
+
harnessId: harnessIdOf(harnessId),
|
|
14
29
|
...onProgress ? { onProgress } : {}
|
|
15
30
|
});
|
|
16
31
|
}
|
|
17
32
|
export {
|
|
33
|
+
harnessDisplayNames,
|
|
18
34
|
harnessInstall,
|
|
19
|
-
harnessStatus
|
|
35
|
+
harnessStatus,
|
|
36
|
+
supportedHarnessIds
|
|
20
37
|
};
|
|
21
38
|
//# sourceMappingURL=harness-install-cli.js.map
|