@mcpjam/inspector 3.3.3 → 3.3.4
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/dist/client/assets/{dead-clicks-autocapture-C1--ppeo.js → dead-clicks-autocapture-BN_CNzfJ.js} +2 -2
- package/dist/client/assets/{exception-autocapture-LRiNUMGK.js → exception-autocapture-UNbdAMIN.js} +2 -2
- package/dist/client/assets/{highlighted-body-OFNGDK62-B8VHP1FT.js → highlighted-body-OFNGDK62-BeJGRkh1.js} +2 -2
- package/dist/client/assets/{index-Zx11jRUd.js → index-BCYq7eSL.js} +426 -426
- package/dist/client/assets/{jszip.min-CkfvkWAM.js → jszip.min-Dby9iLAe.js} +2 -2
- package/dist/client/assets/{posthog-recorder-Dpif_SxL.js → posthog-recorder-Dxir8QCJ.js} +2 -2
- package/dist/client/assets/{surveys-e6Nvnf-d.js → surveys-C-oT4BI3.js} +2 -2
- package/dist/client/assets/{web-vitals-ABvfcCWm.js → web-vitals-CJvzm1wu.js} +2 -2
- package/dist/client/index.html +1 -1
- package/dist/server/index.js +25 -10
- package/package.json +2 -2
package/dist/server/index.js
CHANGED
|
@@ -77,7 +77,7 @@ function resolveEnvironment() {
|
|
|
77
77
|
}
|
|
78
78
|
return "dev";
|
|
79
79
|
}
|
|
80
|
-
var BAKED_VERSION = "3.3.
|
|
80
|
+
var BAKED_VERSION = "3.3.4";
|
|
81
81
|
function blankToNull(value) {
|
|
82
82
|
return value === void 0 || value.trim() === "" ? null : value;
|
|
83
83
|
}
|
|
@@ -19652,7 +19652,7 @@ var noopPosthog = {
|
|
|
19652
19652
|
var posthog = isTelemetryDisabled ? noopPosthog : new PostHog("phc_dTOPniyUNU2kD8Jx8yHMXSqiZHM8I91uWopTMX6EBE9", {
|
|
19653
19653
|
host: "https://us.i.posthog.com"
|
|
19654
19654
|
});
|
|
19655
|
-
var SDK_VERSION = "8.5.
|
|
19655
|
+
var SDK_VERSION = "8.5.1";
|
|
19656
19656
|
var SDK_RELEASE = `@mcpjam/sdk@${SDK_VERSION}`;
|
|
19657
19657
|
var CAPTURED_ERROR_SYMBOL = Symbol.for("@mcpjam/sdk/captured-eval-error");
|
|
19658
19658
|
init_internal();
|
|
@@ -19931,7 +19931,7 @@ var MCP_TASKS_CHECK_IDS = [
|
|
|
19931
19931
|
"tasks-undeclared-capability-names-requirements"
|
|
19932
19932
|
];
|
|
19933
19933
|
function readSdkVersion() {
|
|
19934
|
-
return "8.5.
|
|
19934
|
+
return "8.5.1";
|
|
19935
19935
|
}
|
|
19936
19936
|
var CONFORMANCE_CHECKER_VERSION = readSdkVersion();
|
|
19937
19937
|
var MCP_PROTOCOL_PROFILE = {
|
|
@@ -75044,7 +75044,7 @@ var NEGATIVE_TEST_MODE_DETAILS = {
|
|
|
75044
75044
|
}
|
|
75045
75045
|
};
|
|
75046
75046
|
function readSdkVersion2() {
|
|
75047
|
-
return "8.5.
|
|
75047
|
+
return "8.5.1";
|
|
75048
75048
|
}
|
|
75049
75049
|
var CONFORMANCE_CHECKER_VERSION2 = readSdkVersion2();
|
|
75050
75050
|
var MUST_POINTS2 = 95;
|
|
@@ -115750,8 +115750,8 @@ var PlatformApiClient = class {
|
|
|
115750
115750
|
}
|
|
115751
115751
|
/**
|
|
115752
115752
|
* Only the fields you pass change. Pass `null` for `serverAttachmentId`,
|
|
115753
|
-
* `modelId`, `skillSelection`,
|
|
115754
|
-
* a field leaves it alone.
|
|
115753
|
+
* `modelId`, `skillSelection`, `secretSelection`, `pluginVersionIds`, or
|
|
115754
|
+
* `sandboxImageId` to CLEAR them; omitting a field leaves it alone.
|
|
115755
115755
|
*/
|
|
115756
115756
|
updateEnvironment(params, options) {
|
|
115757
115757
|
return this.request(
|
|
@@ -130903,6 +130903,14 @@ var resolveEnvironmentOperation = {
|
|
|
130903
130903
|
var pluginVersionIdsInput = z18.array(z18.string().trim().min(1)).min(1).describe(
|
|
130904
130904
|
"Plugin VERSION IDs to pin. Narrow by design: the plugin must be installed and enabled, the version must be ready, at most one version per plugin, and none of its skills may carry supporting files."
|
|
130905
130905
|
);
|
|
130906
|
+
var secretSelectionInput = z18.object({
|
|
130907
|
+
mode: z18.literal("explicit"),
|
|
130908
|
+
secretIds: z18.array(z18.string().trim().min(1)).min(1).describe(
|
|
130909
|
+
'Project SECRET ids this environment grants. The environment is the GRANT BOUNDARY: no selection means a run receives no secrets, and there is no "all of them" mode. A `sharing: "user"` secret still reaches only sessions its owner started.'
|
|
130910
|
+
)
|
|
130911
|
+
}).describe(
|
|
130912
|
+
"Which project secrets runs launched from this environment receive."
|
|
130913
|
+
);
|
|
130906
130914
|
var createEnvironmentInput = z18.object({
|
|
130907
130915
|
project: z18.string().trim().min(1).optional().describe(PROJECT_SELECTOR_DESCRIPTION),
|
|
130908
130916
|
name: z18.string().trim().min(1).describe(
|
|
@@ -130917,6 +130925,7 @@ var createEnvironmentInput = z18.object({
|
|
|
130917
130925
|
`Model this environment runs, overriding the model pinned on its host. Omit to inherit the host's. The id is stored verbatim \u2014 no alias canonicalization \u2014 so pass exactly the id you want the provider request to carry (e.g. "anthropic/claude-sonnet-4-5").`
|
|
130918
130926
|
),
|
|
130919
130927
|
skillSelection: skillSelectionInput.optional(),
|
|
130928
|
+
secretSelection: secretSelectionInput.optional(),
|
|
130920
130929
|
pluginVersionIds: pluginVersionIdsInput.optional(),
|
|
130921
130930
|
sandboxImageId: z18.string().trim().min(1).optional().describe(
|
|
130922
130931
|
"Optional sandbox image (see the images operations) to pin: eval runs in this environment boot a fresh sandbox from it. Must be project-shared; personal drafts are rejected \u2014 promote first."
|
|
@@ -130925,7 +130934,7 @@ var createEnvironmentInput = z18.object({
|
|
|
130925
130934
|
var createEnvironmentOperation = {
|
|
130926
130935
|
name: "create_project_environment",
|
|
130927
130936
|
title: "Create an MCPJam project environment",
|
|
130928
|
-
description: "Create a project environment: a named execution bundle of one host plus an optional standalone server group, pinned skills, and pinned plugin versions. Requires project admin.",
|
|
130937
|
+
description: "Create a project environment: a named execution bundle of one host plus an optional standalone server group, pinned skills, granted project secrets, and pinned plugin versions. Requires project admin.",
|
|
130929
130938
|
readOnly: false,
|
|
130930
130939
|
permalink: derivePermalinks((result) => [environmentRef(result)]),
|
|
130931
130940
|
inputSchema: createEnvironmentInput,
|
|
@@ -130944,6 +130953,7 @@ var createEnvironmentOperation = {
|
|
|
130944
130953
|
...input.serverAttachmentId !== void 0 ? { serverAttachmentId: input.serverAttachmentId } : {},
|
|
130945
130954
|
...input.modelId !== void 0 ? { modelId: input.modelId } : {},
|
|
130946
130955
|
...input.skillSelection !== void 0 ? { skillSelection: input.skillSelection } : {},
|
|
130956
|
+
...input.secretSelection !== void 0 ? { secretSelection: input.secretSelection } : {},
|
|
130947
130957
|
...input.pluginVersionIds !== void 0 ? { pluginVersionIds: input.pluginVersionIds } : {},
|
|
130948
130958
|
...input.sandboxImageId !== void 0 ? { sandboxImageId: input.sandboxImageId } : {}
|
|
130949
130959
|
}
|
|
@@ -131170,6 +131180,9 @@ var updateEnvironmentInput = z18.object({
|
|
|
131170
131180
|
skillSelection: skillSelectionInput.nullable().optional().describe(
|
|
131171
131181
|
"New pinned skill selection, or null to clear it. Omit to leave unchanged."
|
|
131172
131182
|
),
|
|
131183
|
+
secretSelection: secretSelectionInput.nullable().optional().describe(
|
|
131184
|
+
"New credential grant, or null to REVOKE it entirely. Omit to leave unchanged. An empty `secretIds` is rejected \u2014 it is not a way to revoke."
|
|
131185
|
+
),
|
|
131173
131186
|
pluginVersionIds: pluginVersionIdsInput.nullable().optional().describe(
|
|
131174
131187
|
"New pinned plugin versions, or null to clear them. Omit to leave unchanged."
|
|
131175
131188
|
),
|
|
@@ -131177,15 +131190,15 @@ var updateEnvironmentInput = z18.object({
|
|
|
131177
131190
|
"New sandbox-image pin (project-shared image id), or null to clear it and use the default image. Omit to leave unchanged."
|
|
131178
131191
|
)
|
|
131179
131192
|
}).refine(
|
|
131180
|
-
(value) => value.name !== void 0 || value.description !== void 0 || value.hostId !== void 0 || value.serverAttachmentId !== void 0 || value.modelId !== void 0 || value.skillSelection !== void 0 || value.pluginVersionIds !== void 0 || value.sandboxImageId !== void 0,
|
|
131193
|
+
(value) => value.name !== void 0 || value.description !== void 0 || value.hostId !== void 0 || value.serverAttachmentId !== void 0 || value.modelId !== void 0 || value.skillSelection !== void 0 || value.secretSelection !== void 0 || value.pluginVersionIds !== void 0 || value.sandboxImageId !== void 0,
|
|
131181
131194
|
{
|
|
131182
|
-
message: "Provide at least one of `name`, `description`, `hostId`, `serverAttachmentId`, `modelId`, `skillSelection`, `pluginVersionIds`, or `sandboxImageId` to update."
|
|
131195
|
+
message: "Provide at least one of `name`, `description`, `hostId`, `serverAttachmentId`, `modelId`, `skillSelection`, `secretSelection`, `pluginVersionIds`, or `sandboxImageId` to update."
|
|
131183
131196
|
}
|
|
131184
131197
|
);
|
|
131185
131198
|
var updateEnvironmentOperation = {
|
|
131186
131199
|
name: "update_project_environment",
|
|
131187
131200
|
title: "Update an MCPJam project environment",
|
|
131188
|
-
description: "Edit a project environment. Only the fields you pass change; pass null for serverAttachmentId, modelId, skillSelection,
|
|
131201
|
+
description: "Edit a project environment. Only the fields you pass change; pass null for serverAttachmentId, modelId, skillSelection, secretSelection, pluginVersionIds, or sandboxImageId to clear them. Requires `expectedRevision` (read it first with get_project_environment) and project admin.",
|
|
131189
131202
|
readOnly: false,
|
|
131190
131203
|
permalink: derivePermalinks((result) => [environmentRef(result)]),
|
|
131191
131204
|
inputSchema: updateEnvironmentInput,
|
|
@@ -131211,6 +131224,8 @@ var updateEnvironmentOperation = {
|
|
|
131211
131224
|
if (input.modelId !== void 0) body.modelId = input.modelId;
|
|
131212
131225
|
if (input.skillSelection !== void 0)
|
|
131213
131226
|
body.skillSelection = input.skillSelection;
|
|
131227
|
+
if (input.secretSelection !== void 0)
|
|
131228
|
+
body.secretSelection = input.secretSelection;
|
|
131214
131229
|
if (input.pluginVersionIds !== void 0)
|
|
131215
131230
|
body.pluginVersionIds = input.pluginVersionIds;
|
|
131216
131231
|
if (input.sandboxImageId !== void 0)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcpjam/inspector",
|
|
3
3
|
"productName": "MCPJam Inspector",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=22.0.0"
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"@hookform/resolvers": "^3.10.0",
|
|
137
137
|
"@lezer/highlight": "^1.2.3",
|
|
138
138
|
"@mcp-ui/client": "^5.9.0",
|
|
139
|
-
"@mcpjam/sdk": "^8.5.
|
|
139
|
+
"@mcpjam/sdk": "^8.5.1",
|
|
140
140
|
"@modelcontextprotocol/client": "2.0.0",
|
|
141
141
|
"@modelcontextprotocol/ext-apps": "^1.7.4",
|
|
142
142
|
"@openrouter/ai-sdk-provider": "^2.0.2",
|