@amaster.ai/employee-runtime-connector 0.1.1-beta.36 → 0.1.1-beta.37

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 package path is unchanged between them. This path-only comparison is valid because the published connector is self-contained; if runtime code starts importing workspace source outside this package, 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.
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
 
@@ -9651,18 +9651,33 @@ function assertSourceAcquisitionRuntimeAuthority({
9651
9651
  }
9652
9652
  }
9653
9653
 
9654
+ // ../shared/src/source-acquisition-compatibility.json
9655
+ var source_acquisition_compatibility_default = {
9656
+ schemaVersion: "mirrorx.source-acquisition-compatibility.v1",
9657
+ profileVersion: "source_acquisition_v1",
9658
+ retentionVersion: "source_summary_only_v1",
9659
+ actionVersion: "complete_source_acquisition_v1",
9660
+ policyVersion: "browser_read_policy_v1",
9661
+ adapters: [
9662
+ "pi_browser_use_headless_v1"
9663
+ ],
9664
+ requiredPackages: {
9665
+ "@amaster.ai/pi-browser-use": "0.1.2-beta.59"
9666
+ }
9667
+ };
9668
+
9654
9669
  // src/amaster-runtime-daemon.mjs
9655
- var CONNECTOR_VERSION = "0.1.1-beta.36";
9670
+ var CONNECTOR_VERSION = "0.1.1-beta.37";
9656
9671
  var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
9657
- var SOURCE_ACQUISITION_CAPABILITY = "source_acquisition_v1";
9658
- var SOURCE_ACQUISITION_PROFILE_VERSION = "source_acquisition_v1";
9659
- var SOURCE_ACQUISITION_RETENTION_VERSION = "source_summary_only_v1";
9660
- var SOURCE_ACQUISITION_ACTION_VERSION = "complete_source_acquisition_v1";
9661
- var SOURCE_ACQUISITION_HEADLESS_ADAPTER = "pi_browser_use_headless_v1";
9672
+ var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
9673
+ var SOURCE_ACQUISITION_PROFILE_VERSION = source_acquisition_compatibility_default.profileVersion;
9674
+ var SOURCE_ACQUISITION_RETENTION_VERSION = source_acquisition_compatibility_default.retentionVersion;
9675
+ var SOURCE_ACQUISITION_ACTION_VERSION = source_acquisition_compatibility_default.actionVersion;
9676
+ var SOURCE_ACQUISITION_HEADLESS_ADAPTER = source_acquisition_compatibility_default.adapters[0];
9662
9677
  var SOURCE_ACQUISITION_DESKTOP_ADAPTER = "browser_skill_desktop_v1";
9663
- var SOURCE_ACQUISITION_PACKAGE_VERSIONS = Object.freeze({
9664
- "@amaster.ai/pi-browser-use": "0.1.2-beta.52"
9665
- });
9678
+ var SOURCE_ACQUISITION_PACKAGE_VERSIONS = Object.freeze(
9679
+ source_acquisition_compatibility_default.requiredPackages
9680
+ );
9666
9681
  var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
9667
9682
  var CHECKPOINT_TTL_MS = 24 * 60 * 60 * 1e3;
9668
9683
  var AMASTER_PI_PROHIBITED_EXTRA_ARGS = /* @__PURE__ */ new Set(["--no-extensions", "--no-skills", "--no-tools", "--no-session"]);
@@ -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.36";
9
+ const CONNECTOR_VERSION = "0.1.1-beta.37";
10
10
 
11
11
  const CAPABILITIES = [
12
12
  "remote_registration",
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/employee-runtime-connector",
3
- "version": "0.1.1-beta.36",
3
+ "version": "0.1.1-beta.37",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",