@amaster.ai/employee-runtime-connector 0.1.1-beta.47 → 0.1.1-beta.48
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.
|
@@ -3017,6 +3017,7 @@ function createManagedPiMcpProfileApi(options = {}) {
|
|
|
3017
3017
|
if (mcpToolMode === MANAGED_PI_DIRECT_TYPED_MCP_TOOL_MODE && !sourceAcquisitionCatalog && !diagnosisCatalog && !fullCatalog) {
|
|
3018
3018
|
throw new Error("pi_managed_mcp_invalid: direct tool catalog size mismatch");
|
|
3019
3019
|
}
|
|
3020
|
+
const catalogKind = sourceAcquisitionCatalog ? "source_acquisition" : diagnosisCatalog ? "diagnosis" : "full";
|
|
3020
3021
|
const admittedToolNames = sourceAcquisitionCatalog ? SOURCE_ACQUISITION_DIRECT_TYPED_V1_TOOL_NAMES : diagnosisCatalog ? /* @__PURE__ */ new Set([...DIRECT_TYPED_V1_TOOL_NAMES, ...DIAGNOSIS_WIKI_READ_DIRECT_TYPED_V1_TOOL_NAMES]) : FULL_DIRECT_TYPED_V1_TOOL_NAMES;
|
|
3021
3022
|
const names = /* @__PURE__ */ new Set();
|
|
3022
3023
|
const exposedNames = /* @__PURE__ */ new Set();
|
|
@@ -3066,7 +3067,7 @@ function createManagedPiMcpProfileApi(options = {}) {
|
|
|
3066
3067
|
if (catalog.setHash !== setHash) {
|
|
3067
3068
|
throw new Error("pi_managed_mcp_invalid: direct tool catalog set hash mismatch");
|
|
3068
3069
|
}
|
|
3069
|
-
return { setHash, tools: normalized.sort((left, right) => left.name.localeCompare(right.name)) };
|
|
3070
|
+
return { setHash, tools: normalized.sort((left, right) => left.name.localeCompare(right.name)), kind: catalogKind };
|
|
3070
3071
|
}
|
|
3071
3072
|
function resolvePiExecutablePath(executorCommand, env) {
|
|
3072
3073
|
if (isAbsolute2(executorCommand) || executorCommand.includes("/") || executorCommand.includes("\\")) {
|
|
@@ -3832,7 +3833,10 @@ ${result3.stderr ?? ""}`, "Pi", MINIMUM_PI_VERSION);
|
|
|
3832
3833
|
skillArgs,
|
|
3833
3834
|
spawnIdentity,
|
|
3834
3835
|
workspaceMcpConfigPath,
|
|
3835
|
-
|
|
3836
|
+
// Only narrowed specialized catalogs (diagnosis/source-acquisition) pin
|
|
3837
|
+
// the run to the governed tool set. The full catalog is additive: an
|
|
3838
|
+
// ordinary run keeps Pi's native tools plus the direct governed tools.
|
|
3839
|
+
toolAllowlist: mcpToolMode === MANAGED_PI_DIRECT_TYPED_MCP_TOOL_MODE && directCatalog.kind !== "full" ? [...directToolNames] : null,
|
|
3836
3840
|
protectedValues: [.../* @__PURE__ */ new Set([
|
|
3837
3841
|
sessionToken,
|
|
3838
3842
|
...sharedRuntime.protectedValues,
|
|
@@ -10122,7 +10126,7 @@ var source_acquisition_compatibility_default = {
|
|
|
10122
10126
|
};
|
|
10123
10127
|
|
|
10124
10128
|
// src/amaster-runtime-daemon.mjs
|
|
10125
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
10129
|
+
var CONNECTOR_VERSION = "0.1.1-beta.48";
|
|
10126
10130
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
10127
10131
|
var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
|
|
10128
10132
|
var SOURCE_ACQUISITION_PROFILE_VERSION = source_acquisition_compatibility_default.profileVersion;
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { basename, dirname, join, resolve } from "node:path";
|
|
|
6
6
|
import { homedir, hostname } from "node:os";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
|
|
9
|
-
const CONNECTOR_VERSION = "0.1.1-beta.
|
|
9
|
+
const CONNECTOR_VERSION = "0.1.1-beta.48";
|
|
10
10
|
|
|
11
11
|
const CAPABILITIES = [
|
|
12
12
|
"remote_registration",
|