@amaster.ai/employee-runtime-connector 0.1.1-beta.90 → 0.1.1-beta.91

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.
@@ -3229,6 +3229,7 @@ function createManagedPiMcpProfileApi(options = {}) {
3229
3229
  const chownSyncImpl = typeof options.chownSync === "function" ? options.chownSync : chownSync2;
3230
3230
  const ownershipStatSyncImpl = typeof options.ownershipStatSync === "function" ? options.ownershipStatSync : statSync2;
3231
3231
  const nowImpl = typeof options.now === "function" ? options.now : Date.now;
3232
+ const warnImpl = typeof options.warn === "function" ? options.warn : console.warn;
3232
3233
  const SUPPORTED_SCHEMA_VERSION2 = "amaster.governed-mcp.v1";
3233
3234
  const SUPPORTED_SERVER_NAME2 = "amaster";
3234
3235
  const DIRECT_CATALOG_SCHEMA_VERSION = "amaster.governed-mcp-direct-catalog.v1";
@@ -4157,6 +4158,14 @@ function createManagedPiMcpProfileApi(options = {}) {
4157
4158
  (Array.isArray(input.skillProfiles) ? input.skillProfiles : []).filter((value) => typeof value === "string" && value.trim()).map((value) => value.trim())
4158
4159
  )];
4159
4160
  }
4161
+ function roleSkillProfilesForRun(input) {
4162
+ const skillProfiles = requestedSkillProfiles(input);
4163
+ if (!input.sourceAcquisition) return skillProfiles;
4164
+ if (skillProfiles.length > 0) {
4165
+ warnImpl(`pi_source_skill_profiles_ignored count=${skillProfiles.length}`);
4166
+ }
4167
+ return [];
4168
+ }
4160
4169
  function skillProfilesAttestation(skillProfiles, enabledSkills) {
4161
4170
  if (skillProfiles.length === 0) return {};
4162
4171
  return {
@@ -4648,7 +4657,7 @@ ${result3.stderr ?? ""}`, "Pi", MINIMUM_PI_VERSION);
4648
4657
  };
4649
4658
  }
4650
4659
  let enabledRoleSkills = null;
4651
- const skillProfiles = requestedSkillProfiles(input);
4660
+ const skillProfiles = roleSkillProfilesForRun(input);
4652
4661
  if (skillProfiles.length > 0) {
4653
4662
  const roleSkills = resolveManagedRoleSkills(sharedRuntime.home, skillProfiles);
4654
4663
  writeProfileExtension(
@@ -4998,7 +5007,7 @@ ${result3.stderr ?? ""}`, "Pi", MINIMUM_PI_VERSION);
4998
5007
  writePrivateFile2(configPath, `${JSON.stringify(config, null, 2)}
4999
5008
  `);
5000
5009
  const extensionArgs = [];
5001
- const skillProfiles = requestedSkillProfiles(input);
5010
+ const skillProfiles = roleSkillProfilesForRun(input);
5002
5011
  let enabledRoleSkills = null;
5003
5012
  if (skillProfiles.length > 0) {
5004
5013
  const roleSkills = resolveManagedRoleSkills(sourcePiHome, skillProfiles);
@@ -11837,7 +11846,7 @@ var source_acquisition_compatibility_default = {
11837
11846
  };
11838
11847
 
11839
11848
  // src/amaster-runtime-daemon.mjs
11840
- var CONNECTOR_VERSION = "0.1.1-beta.90";
11849
+ var CONNECTOR_VERSION = "0.1.1-beta.91";
11841
11850
  var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
11842
11851
  var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
11843
11852
  var daemonRequire = createRequire(import.meta.url);
@@ -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.90";
9
+ const CONNECTOR_VERSION = "0.1.1-beta.91";
10
10
 
11
11
  const CAPABILITIES = [
12
12
  "remote_registration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/employee-runtime-connector",
3
- "version": "0.1.1-beta.90",
3
+ "version": "0.1.1-beta.91",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",