@amaster.ai/employee-runtime-connector 0.1.1-beta.36 → 0.1.1-beta.38
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
CHANGED
|
@@ -21,12 +21,13 @@ Do not use `latest`, `^`, or `~` in a runtime image. The image tag and connector
|
|
|
21
21
|
|
|
22
22
|
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.
|
|
23
23
|
|
|
24
|
-
The publish workflow verifies that npm records the publishing commit as the package `gitHead`, then updates the repository deployment pin. Remote deployment accepts that package only when its `gitHead` is an ancestor of the target source commit and the connector
|
|
24
|
+
The publish workflow verifies that npm records the publishing commit as the package `gitHead`, then updates the repository deployment pin. Remote deployment accepts that package only when its `gitHead` is an ancestor of the target source commit and the connector runtime build inputs are unchanged between them. Those inputs are the package path plus `packages/shared/src/source-acquisition-compatibility.json`, which is copied into the published package and bundled into the daemon. If another workspace source becomes a runtime build input, expand the provenance scope and tests before release. After restart, deployment also verifies the package CLI version inside the container. Do not update the deployment pin manually to bypass either provenance check.
|
|
25
25
|
|
|
26
26
|
## Package Contents
|
|
27
27
|
|
|
28
28
|
- `dist/amaster-runtime.mjs`: configuration, pairing, workspace, diagnostics, and daemon lifecycle CLI.
|
|
29
29
|
- `dist/amaster-runtime-daemon.mjs`: standalone daemon bundle for connector registration, heartbeat, command execution, and result ingestion.
|
|
30
|
+
- `dist/source-acquisition-compatibility.json`: versioned Source Acquisition compatibility manifest. Runner image builds must read this file from the exact installed connector package and fail before publishing when their Source Acquisition profile, adapter, or required package versions do not match it.
|
|
30
31
|
|
|
31
32
|
The source of truth lives under this package's `src/` directory. The package build copies the CLI and bundles the daemon modules into publishable output; do not edit generated files under `dist/`.
|
|
32
33
|
|
|
@@ -6471,7 +6471,8 @@ var CAPABILITIES = [
|
|
|
6471
6471
|
"model_call_output_contract_v1",
|
|
6472
6472
|
"run_cancel",
|
|
6473
6473
|
"run_terminate",
|
|
6474
|
-
"logs_cost_workspace_status"
|
|
6474
|
+
"logs_cost_workspace_status",
|
|
6475
|
+
"source_acquisition_v1"
|
|
6475
6476
|
];
|
|
6476
6477
|
var RUNNER_KIND_CLOUD_MANAGED = "cloud_managed";
|
|
6477
6478
|
var RUNNER_KIND_DESKTOP_DELEGATED = "desktop_delegated";
|
|
@@ -9651,18 +9652,33 @@ function assertSourceAcquisitionRuntimeAuthority({
|
|
|
9651
9652
|
}
|
|
9652
9653
|
}
|
|
9653
9654
|
|
|
9655
|
+
// ../shared/src/source-acquisition-compatibility.json
|
|
9656
|
+
var source_acquisition_compatibility_default = {
|
|
9657
|
+
schemaVersion: "mirrorx.source-acquisition-compatibility.v1",
|
|
9658
|
+
profileVersion: "source_acquisition_v1",
|
|
9659
|
+
retentionVersion: "source_summary_only_v1",
|
|
9660
|
+
actionVersion: "complete_source_acquisition_v1",
|
|
9661
|
+
policyVersion: "browser_read_policy_v1",
|
|
9662
|
+
adapters: [
|
|
9663
|
+
"pi_browser_use_headless_v1"
|
|
9664
|
+
],
|
|
9665
|
+
requiredPackages: {
|
|
9666
|
+
"@amaster.ai/pi-browser-use": "0.1.2-beta.59"
|
|
9667
|
+
}
|
|
9668
|
+
};
|
|
9669
|
+
|
|
9654
9670
|
// src/amaster-runtime-daemon.mjs
|
|
9655
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
9671
|
+
var CONNECTOR_VERSION = "0.1.1-beta.38";
|
|
9656
9672
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
9657
|
-
var SOURCE_ACQUISITION_CAPABILITY =
|
|
9658
|
-
var SOURCE_ACQUISITION_PROFILE_VERSION =
|
|
9659
|
-
var SOURCE_ACQUISITION_RETENTION_VERSION =
|
|
9660
|
-
var SOURCE_ACQUISITION_ACTION_VERSION =
|
|
9661
|
-
var SOURCE_ACQUISITION_HEADLESS_ADAPTER =
|
|
9673
|
+
var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
|
|
9674
|
+
var SOURCE_ACQUISITION_PROFILE_VERSION = source_acquisition_compatibility_default.profileVersion;
|
|
9675
|
+
var SOURCE_ACQUISITION_RETENTION_VERSION = source_acquisition_compatibility_default.retentionVersion;
|
|
9676
|
+
var SOURCE_ACQUISITION_ACTION_VERSION = source_acquisition_compatibility_default.actionVersion;
|
|
9677
|
+
var SOURCE_ACQUISITION_HEADLESS_ADAPTER = source_acquisition_compatibility_default.adapters[0];
|
|
9662
9678
|
var SOURCE_ACQUISITION_DESKTOP_ADAPTER = "browser_skill_desktop_v1";
|
|
9663
|
-
var SOURCE_ACQUISITION_PACKAGE_VERSIONS = Object.freeze(
|
|
9664
|
-
|
|
9665
|
-
|
|
9679
|
+
var SOURCE_ACQUISITION_PACKAGE_VERSIONS = Object.freeze(
|
|
9680
|
+
source_acquisition_compatibility_default.requiredPackages
|
|
9681
|
+
);
|
|
9666
9682
|
var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
|
|
9667
9683
|
var CHECKPOINT_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
9668
9684
|
var AMASTER_PI_PROHIBITED_EXTRA_ARGS = /* @__PURE__ */ new Set(["--no-extensions", "--no-skills", "--no-tools", "--no-session"]);
|
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.38";
|
|
10
10
|
|
|
11
11
|
const CAPABILITIES = [
|
|
12
12
|
"remote_registration",
|
|
@@ -20,6 +20,7 @@ const CAPABILITIES = [
|
|
|
20
20
|
"run_cancel",
|
|
21
21
|
"run_terminate",
|
|
22
22
|
"logs_cost_workspace_status",
|
|
23
|
+
"source_acquisition_v1",
|
|
23
24
|
];
|
|
24
25
|
|
|
25
26
|
const CONFIG_KEY_MAP = new Map([
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "mirrorx.source-acquisition-compatibility.v1",
|
|
3
|
+
"profileVersion": "source_acquisition_v1",
|
|
4
|
+
"retentionVersion": "source_summary_only_v1",
|
|
5
|
+
"actionVersion": "complete_source_acquisition_v1",
|
|
6
|
+
"policyVersion": "browser_read_policy_v1",
|
|
7
|
+
"adapters": [
|
|
8
|
+
"pi_browser_use_headless_v1"
|
|
9
|
+
],
|
|
10
|
+
"requiredPackages": {
|
|
11
|
+
"@amaster.ai/pi-browser-use": "0.1.2-beta.59"
|
|
12
|
+
}
|
|
13
|
+
}
|