@amaster.ai/employee-runtime-connector 0.1.1-beta.104 → 0.1.1-beta.106
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.
|
@@ -12474,7 +12474,7 @@ var source_acquisition_compatibility_default = {
|
|
|
12474
12474
|
};
|
|
12475
12475
|
|
|
12476
12476
|
// src/amaster-runtime-daemon.mjs
|
|
12477
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
12477
|
+
var CONNECTOR_VERSION = "0.1.1-beta.106";
|
|
12478
12478
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
12479
12479
|
var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
|
|
12480
12480
|
var daemonRequire = createRequire(import.meta.url);
|
|
@@ -12931,12 +12931,12 @@ function executorReadinessFor(config, executor) {
|
|
|
12931
12931
|
function buildExecutorReadiness(config) {
|
|
12932
12932
|
return config.executors.filter((executor) => executor.kind === "codex" || executor.kind === "pi").map((executor) => executorReadinessFor(config, executor));
|
|
12933
12933
|
}
|
|
12934
|
-
function sourceAcquisitionPackageMetadata(packageName) {
|
|
12935
|
-
const
|
|
12936
|
-
if (!
|
|
12934
|
+
function sourceAcquisitionPackageMetadata(packageName, location = "pi-config") {
|
|
12935
|
+
const packageBase = location === "runtime" ? readString(process.env.PI_RUNTIME_ROOT) : readString(process.env.PI_CODING_AGENT_DIR ?? process.env.PI_AGENT_HOME);
|
|
12936
|
+
if (!packageBase) return null;
|
|
12937
12937
|
const packagePath = join15(
|
|
12938
|
-
resolve11(expandHomePath(
|
|
12939
|
-
"npm",
|
|
12938
|
+
resolve11(expandHomePath(packageBase)),
|
|
12939
|
+
...location === "runtime" ? [] : ["npm"],
|
|
12940
12940
|
"node_modules",
|
|
12941
12941
|
...packageName.split("/"),
|
|
12942
12942
|
"package.json"
|
|
@@ -12970,7 +12970,10 @@ function sourceAcquisitionV2Cohort(extensionDigest) {
|
|
|
12970
12970
|
];
|
|
12971
12971
|
if (names.every((name) => !readString(process.env[name]))) return null;
|
|
12972
12972
|
const incompatible = (reason) => ({ state: "incompatible", reason });
|
|
12973
|
-
const piMetadata = sourceAcquisitionPackageMetadata(
|
|
12973
|
+
const piMetadata = sourceAcquisitionPackageMetadata(
|
|
12974
|
+
"@earendil-works/pi-coding-agent",
|
|
12975
|
+
"runtime"
|
|
12976
|
+
);
|
|
12974
12977
|
const piVersion = readString(process.env.AMASTER_SOURCE_ACQUISITION_PI_CODING_AGENT_VERSION);
|
|
12975
12978
|
const piDigest = readString(process.env.AMASTER_SOURCE_ACQUISITION_PI_CODING_AGENT_DIGEST);
|
|
12976
12979
|
const sourceExtensionDigest = readString(process.env.AMASTER_SOURCE_ACQUISITION_SOURCE_EXTENSION_DIGEST);
|
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.106";
|
|
10
10
|
|
|
11
11
|
const CAPABILITIES = [
|
|
12
12
|
"remote_registration",
|