@amaster.ai/employee-runtime-connector 0.1.1-beta.24 → 0.1.1-beta.25
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.
|
@@ -3232,10 +3232,9 @@ function createManagedPiMcpProfileApi(options = {}) {
|
|
|
3232
3232
|
}
|
|
3233
3233
|
return profile;
|
|
3234
3234
|
}
|
|
3235
|
-
function
|
|
3235
|
+
function materializeManagedRoleSkills(piHome, skillsDir, skillProfile) {
|
|
3236
3236
|
const profile = readSkillProfile(piHome, skillProfile);
|
|
3237
|
-
|
|
3238
|
-
rmSync2(skillsDir, { recursive: true, force: true });
|
|
3237
|
+
if (existsSync3(skillsDir)) throw new Error("pi_managed_mcp_role_skills_exists");
|
|
3239
3238
|
const enabled = [];
|
|
3240
3239
|
for (const entry of profile) {
|
|
3241
3240
|
const target = join4(skillsDir, entry.name);
|
|
@@ -3351,6 +3350,7 @@ ${result3.stderr ?? ""}`, "Pi", MINIMUM_PI_VERSION);
|
|
|
3351
3350
|
function attestDirectPiTools(executorCommand, env, input, spawnIdentity = null) {
|
|
3352
3351
|
const result3 = spawnSyncImpl(executorCommand, [
|
|
3353
3352
|
"--no-session",
|
|
3353
|
+
"--no-approve",
|
|
3354
3354
|
"--no-skills",
|
|
3355
3355
|
"--no-context-files",
|
|
3356
3356
|
"--no-builtin-tools",
|
|
@@ -3558,8 +3558,12 @@ ${result3.stderr ?? ""}`, "Pi", MINIMUM_PI_VERSION);
|
|
|
3558
3558
|
let enabledRoleSkills = null;
|
|
3559
3559
|
const skillProfile = typeof input.skillProfile === "string" && input.skillProfile.trim() ? input.skillProfile.trim() : null;
|
|
3560
3560
|
if (skillProfile) {
|
|
3561
|
-
const roleSkills =
|
|
3562
|
-
|
|
3561
|
+
const roleSkills = materializeManagedRoleSkills(
|
|
3562
|
+
sharedRuntime.home,
|
|
3563
|
+
join4(profileRoot, "role-skills"),
|
|
3564
|
+
skillProfile
|
|
3565
|
+
);
|
|
3566
|
+
skillArgs.push("--no-approve", "--skill", roleSkills.skillsDir);
|
|
3563
3567
|
enabledRoleSkills = roleSkills.enabled;
|
|
3564
3568
|
}
|
|
3565
3569
|
const providerEnv = {};
|
|
@@ -9280,7 +9284,7 @@ function assertSourceAcquisitionRuntimeAuthority({
|
|
|
9280
9284
|
}
|
|
9281
9285
|
|
|
9282
9286
|
// src/amaster-runtime-daemon.mjs
|
|
9283
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
9287
|
+
var CONNECTOR_VERSION = "0.1.1-beta.25";
|
|
9284
9288
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
9285
9289
|
var SOURCE_ACQUISITION_CAPABILITY = "source_acquisition_v1";
|
|
9286
9290
|
var SOURCE_ACQUISITION_PROFILE_VERSION = "source_acquisition_v1";
|
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.25";
|
|
10
10
|
|
|
11
11
|
const CAPABILITIES = [
|
|
12
12
|
"remote_registration",
|