@amaster.ai/employee-runtime-connector 0.1.1-beta.222 → 0.1.1-beta.223
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 +8 -0
- package/dist/amaster-runtime-daemon.mjs +13 -1
- package/dist/amaster-runtime.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,14 @@ Do not use `latest`, `^`, or `~` in a runtime image. The image tag and connector
|
|
|
20
20
|
|
|
21
21
|
Immutable images should pin an exact package version as their baseline. The current connector does not download or replace runtime code while running; package upgrades and rollbacks belong to the image build and rollout.
|
|
22
22
|
|
|
23
|
+
The governed MCP cache identity follows the installed `pi-mcp-adapter` version.
|
|
24
|
+
Adapter 2.26+ includes `requestHeadersCommand` even when it is unset; older
|
|
25
|
+
versions must retain their previous identity. Upgrade the connector together
|
|
26
|
+
with the adapter and verify the actual version pair using the Pi MCP contract
|
|
27
|
+
tests. A cache identity mismatch can reject all governed tools before execution;
|
|
28
|
+
deleting user configuration, credentials, sessions, or connector state cannot
|
|
29
|
+
repair this mismatch. Each run generates its own governed cache.
|
|
30
|
+
|
|
23
31
|
Connector capability declaration is automatic. The exact package build declares
|
|
24
32
|
what it implements, and runtime readiness removes dynamic capabilities when their
|
|
25
33
|
executor or supporting runtime is unavailable. Operators restrict what the Server
|
|
@@ -19382,6 +19382,7 @@ function resolvePiRunModelContext(agentDir, providerId, modelId) {
|
|
|
19382
19382
|
|
|
19383
19383
|
// src/amaster-runtime-daemon/pi-mcp-adapter-config.mjs
|
|
19384
19384
|
var CONFIG_HASH_V2_24_MINIMUM = [2, 24, 0];
|
|
19385
|
+
var CONFIG_HASH_V2_26_MINIMUM = [2, 26, 0];
|
|
19385
19386
|
function piMcpAdapterVersionAtLeast(version, minimum) {
|
|
19386
19387
|
const actual = version.split(/[.-]/, 3).map(Number);
|
|
19387
19388
|
for (let index = 0; index < minimum.length; index += 1) {
|
|
@@ -19400,6 +19401,17 @@ function piMcpAdapterServerConfigIdentity(definition, adapterVersion) {
|
|
|
19400
19401
|
cwd: definition.cwd,
|
|
19401
19402
|
url: definition.url,
|
|
19402
19403
|
headers: definition.headers,
|
|
19404
|
+
// Adapter 2.26 added this key to its stable hash, including when undefined.
|
|
19405
|
+
// Keep the older identity intact so upgrading does not invalidate either
|
|
19406
|
+
// generation's freshly generated governed tool cache.
|
|
19407
|
+
...piMcpAdapterVersionAtLeast(adapterVersion, CONFIG_HASH_V2_26_MINIMUM) ? {
|
|
19408
|
+
requestHeadersCommand: definition.requestHeadersCommand ? {
|
|
19409
|
+
command: definition.requestHeadersCommand.command,
|
|
19410
|
+
args: definition.requestHeadersCommand.args,
|
|
19411
|
+
env: definition.requestHeadersCommand.env,
|
|
19412
|
+
timeoutMs: definition.requestHeadersCommand.timeoutMs
|
|
19413
|
+
} : void 0
|
|
19414
|
+
} : {},
|
|
19403
19415
|
auth: definition.auth,
|
|
19404
19416
|
...supportsV224Config ? { protocolVersion: definition.protocolVersion } : {},
|
|
19405
19417
|
bearerToken: definition.bearerToken,
|
|
@@ -29559,7 +29571,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
|
|
|
29559
29571
|
}
|
|
29560
29572
|
|
|
29561
29573
|
// src/amaster-runtime-daemon.mjs
|
|
29562
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
29574
|
+
var CONNECTOR_VERSION = "0.1.1-beta.223";
|
|
29563
29575
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
29564
29576
|
var daemonRequire = createRequire(import.meta.url);
|
|
29565
29577
|
var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { homedir, hostname } from "node:os";
|
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { BUILD_SUPPORTED_CAPABILITIES } from "./amaster-runtime-daemon/capability-registry.mjs";
|
|
9
9
|
|
|
10
|
-
const CONNECTOR_VERSION = "0.1.1-beta.
|
|
10
|
+
const CONNECTOR_VERSION = "0.1.1-beta.223";
|
|
11
11
|
|
|
12
12
|
const CONFIG_KEY_MAP = new Map([
|
|
13
13
|
["server_url", "AMASTER_EMPLOYEE_SERVER_URL"],
|