@engineeros/connector 1.67.15 → 1.67.17

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
@@ -9,27 +9,26 @@ Connect a local coding agent or Bug Hunter host to EngineerOS.
9
9
  - Git when connecting a code repository.
10
10
  - Protected credential storage: Windows Credential Manager/Data Protection, macOS Keychain, or Linux Secret Service. On Linux, install `secret-tool` (`libsecret-tools`) and run an unlocked keyring such as GNOME Keyring or KWallet.
11
11
 
12
- ## Install
12
+ ## Run without a global install
13
13
 
14
14
  ```sh
15
- npm install --global @engineeros/connector@latest
16
- engineeros-connector version
15
+ npx --yes "@engineeros/connector@latest" version
17
16
  ```
18
17
 
19
- To run without a global install, replace `engineeros-connector` in the commands below with `npx --yes @engineeros/connector@latest`.
18
+ All commands below use npm's launcher; the connector binary does not need to be on your PATH.
20
19
 
21
20
  ## Connect a workspace
22
21
 
23
22
  In EngineerOS, open **Project steering → Connect workspace** and copy the pairing command. Run it inside your project folder. For example, with Codex:
24
23
 
25
24
  ```sh
26
- engineeros-connector agent codex-acp install
27
- engineeros-connector pair PAIRING_CODE --url https://your-engineeros.example --workspace . --onboard --agent codex-acp
25
+ npx --yes "@engineeros/connector@latest" agent codex-acp install
26
+ npx --yes "@engineeros/connector@latest" pair PAIRING_CODE --url https://your-engineeros.example --workspace . --onboard --agent codex-acp
28
27
  ```
29
28
 
30
29
  Replace the code and server URL with the values from EngineerOS. Sign in to the agent when prompted; for Codex, run `codex login` in another terminal. Keep the connector terminal open.
31
30
 
32
- Run `engineeros-connector agents` to list supported agents. Use the chosen agent's ID in both commands above; for Claude, use `claude-acp`.
31
+ Run `npx --yes "@engineeros/connector@latest" agents` to list supported agents. Use the chosen agent's ID in both commands above; for Claude, use `claude-acp`.
33
32
 
34
33
  Auto onboarding requires connector 1.61.0 or newer and the backend's explicit Auto pairing acknowledgement. Deploy the matching backend before enabling the Auto setup command:
35
34
 
@@ -39,14 +38,14 @@ npx --yes "@engineeros/connector@latest" pair PAIRING_CODE --url https://your-en
39
38
 
40
39
  Only the selected installed agents are inspected. `codex-cli` selects native Codex; `forge` selects native Forge. Add exact registry IDs such as `claude-acp` only when their adapters are already installed and signed in. Auto does not install adapters, sign in, or ask models questions during selection. The normal session readiness question runs after pairing succeeds. Unavailable selected peers are reported while healthy selected agents remain usable; a fresh pairing uses the first usable selection. Auto and manual agent launch flags cannot be combined.
41
40
 
42
- Stop the running connector before re-pairing an existing folder. Auto retains its primary agent, native sessions, runtime IDs and retired identities. Include that primary in the selection and restore its installation if unavailable; changing it requires the explicit manual agent-change flow. Unselected peers are disabled with their records retained. An uncached npx adapter remains unavailable. Python adapters require an exact `package==version` already installed through `uv tool install`; Auto verifies the installed distribution and launches its executable directly. A uvx temporary cache alone is insufficient. Auto never downloads adapters during discovery, later execution or maintenance. Install a selected adapter explicitly with `engineeros-connector agent AGENT_ID install`, sign in locally, then refresh.
41
+ Stop the running connector before re-pairing an existing folder. Auto retains its primary agent, native sessions, runtime IDs and retired identities. Include that primary in the selection and restore its installation if unavailable; changing it requires the explicit manual agent-change flow. Unselected peers are disabled with their records retained. An uncached npx adapter remains unavailable. Python adapters require an exact `package==version` already installed through `uv tool install`; Auto verifies the installed distribution and launches its executable directly. A uvx temporary cache alone is insufficient. Auto never downloads adapters during discovery, later execution or maintenance. Install a selected adapter explicitly with `npx --yes "@engineeros/connector@latest" agent AGENT_ID install` (replace `AGENT_ID` with its exact registry ID), sign in locally, then refresh.
43
42
 
44
43
  If an older backend rotates the credential without confirming Auto, the new credential is saved securely and execution stays blocked, including after restart. Saved sessions for the same connector are retained. Update the backend or resolve its routing policy, then explicitly pair again; an ordinary reconnect cannot confirm Auto.
45
44
 
46
45
  Restart an already paired workspace with:
47
46
 
48
47
  ```sh
49
- engineeros-connector start --workspace .
48
+ npx --yes "@engineeros/connector@latest" start --workspace .
50
49
  ```
51
50
 
52
51
  ## Enable multiple agent runtimes
@@ -68,18 +67,19 @@ Changes queue until all active work finishes, then save and refresh discovery in
68
67
  The paired agent remains the primary runtime, named `default`. Enable additional local runtimes for Auto routing or explicit runtime/model choices:
69
68
 
70
69
  ```sh
71
- engineeros-connector agent claude-acp install
72
- engineeros-connector runtime add claude --agent claude-acp --workspace .
73
- engineeros-connector runtime add codex-native --agent-protocol codex --workspace .
74
- engineeros-connector runtime add forge --agent-protocol forge --workspace .
75
- engineeros-connector runtime list --workspace .
70
+ npx --yes "@engineeros/connector@latest" agent claude-acp install
71
+ npx --yes "@engineeros/connector@latest" runtime add claude --agent claude-acp --workspace .
72
+ npx --yes "@engineeros/connector@latest" runtime add codex-native --agent-protocol codex --workspace .
73
+ npx --yes "@engineeros/connector@latest" runtime add forge --agent-protocol forge --workspace .
74
+ npx --yes "@engineeros/connector@latest" runtime list --workspace .
75
+ npx --yes "@engineeros/connector@latest" runtime refresh --workspace .
76
76
  ```
77
77
 
78
78
  Use `--agent opencode` or another supported registry ID for additional ACP agents. Install the chosen agent and complete its provider sign-in locally. `runtime list` and `runtime refresh` inspect enabled agents and report their discovered models, reasoning settings and readiness; they do not ask models to complete engineering work. Credentials and executable configuration remain on this machine.
79
79
 
80
80
  Existing organization and environment agent restrictions apply to every runtime using its local registry identity. Native Codex and Forge use their canonical identities. An unregistered ACP adapter cannot satisfy a restricted agent policy; display names do not grant agent access.
81
81
 
82
- The running connector applies configuration changes at its next idle refresh; no restart or pairing command is needed. A missing or signed-out runtime does not hide healthy peers. A pinned unavailable runtime blocks until its prerequisite is restored; it never silently becomes another provider. Remove an additional entry with `engineeros-connector runtime remove claude --workspace .`.
82
+ The running connector applies configuration changes at its next idle refresh; no restart or pairing command is needed. A missing or signed-out runtime does not hide healthy peers. A pinned unavailable runtime blocks until its prerequisite is restored; it never silently becomes another provider. Remove an additional entry with `npx --yes "@engineeros/connector@latest" runtime remove claude --workspace .`.
83
83
 
84
84
  Runtime IDs identify stable installations/accounts. Removing an additional runtime retires its ID permanently within this pairing and removes only its native session mappings; choose a fresh ID for another installation/account. Use `runtime refresh` for sign-in recovery. Saved work, evidence, memory and execution budgets remain retained. Idle ACP resources for retired entries are released when the connector next refreshes safely; active work is not cancelled.
85
85
 
@@ -94,7 +94,7 @@ Direct test automation freezes one approved writing profile for implementation,
94
94
  Provider and model-family tags come from discovery when available. Configure missing tags and normalized reasoning levels locally, using exact model IDs and native settings that the runtime actually advertises:
95
95
 
96
96
  ```sh
97
- engineeros-connector runtime configure claude --model-metadata ./model-metadata.json --workspace .
97
+ npx --yes "@engineeros/connector@latest" runtime configure claude --model-metadata ./model-metadata.json --workspace .
98
98
  ```
99
99
 
100
100
  The JSON object maps each raw model ID to optional `provider_id`, `model_family` and `reasoning_levels`. For example, a model that advertises `xhigh` can explicitly map `"max": {"reasoning_effort": "xhigh"}` under `reasoning_levels`. The connector does not infer this mapping or a model's family. Configured tags are labeled as configured and cannot grant tool, write, cancellation or data permissions. Runtime/model refresh changes discovery only; it does not change provider sign-in. Requested reasoning settings remain separate from provider-reported actual settings; missing observations stay unknown.
@@ -107,7 +107,23 @@ ACP agents may report cumulative session currency costs. A compatible backend re
107
107
 
108
108
  The Linux background Goal runner requires systemd and a working user session bus. If setup reports `Failed to connect to bus`, check `systemctl --user show-environment` as the same user running the connector. On WSL, enable `[boot]` / `systemd=true` in `/etc/wsl.conf`, preserving existing settings, then save other work before restarting the distribution and reopening its user session. See [Microsoft's WSL systemd instructions](https://learn.microsoft.com/en-us/windows/wsl/systemd).
109
109
 
110
- After the user bus works, run `engineeros-connector runner start --workspace .` in the paired checkout. Existing queued jobs are retained. For immediate processing without systemd, run `engineeros-connector runner serve --workspace .` in a second terminal in that checkout. Keep it open; output goes to `.engineeros/runner/service.log` and the runner exits after five idle minutes. This command does not install a background service.
110
+ After the user bus works, run `npx --yes "@engineeros/connector@latest" runner start --workspace .` in the paired checkout. Existing queued jobs are retained. For immediate processing without systemd, run `npx --yes "@engineeros/connector@latest" runner serve --workspace .` in a second terminal in that checkout. Keep it open; output goes to `.engineeros/runner/service.log` and the runner exits after five idle minutes. This command does not install a background service.
111
+
112
+ If an older connector reports npm `EALLOWSCRIPTS` while installing its verified
113
+ runner, do not enable dependency scripts or change global npm configuration.
114
+ Some npm versions re-export `.npmrc` policy into the connector's environment, so
115
+ unsetting it before `npx` is insufficient. From the original paired workspace in
116
+ a Linux/WSL terminal, clear it inside the package-scoped command:
117
+
118
+ ```sh
119
+ npx --yes --ignore-scripts --package="@engineeros/connector@latest" \
120
+ --call 'env -u npm_config_allow_scripts -u NPM_CONFIG_ALLOW_SCRIPTS engineeros-connector runner install --workspace .'
121
+ ```
122
+
123
+ The explicit package supplies the executable; no global installation is required.
124
+ This repairs runner setup for the existing dispatch; it is not a request for a
125
+ new Goal or another plan review. Other prerequisites, active-work drain and
126
+ archive/signature verification still apply.
111
127
 
112
128
  Paired Goal execution uses contract 5 and needs the matching EngineerOS backend. The server issues an attempt-bound execution window of at most 60 seconds and renews it through progress heartbeats. Expired or unknown authority stops execution and requires explicit Resume/recovery; saved results remain deliverable. Drain active Goal workers and deploy backend support before updating the connector. Legacy external token runners are not qualified by this protocol.
113
129
 
@@ -122,7 +138,7 @@ Runs created before server repair accounting retain their evidence and saved hea
122
138
  Choose **Find bugs in a running app** in EngineerOS, add your target and copy its host command:
123
139
 
124
140
  ```sh
125
- engineeros-connector hunt-host PAIRING_CODE --url https://your-engineeros.example --project PROJECT_UUID --agent codex-acp
141
+ npx --yes "@engineeros/connector@latest" hunt-host PAIRING_CODE --url https://your-engineeros.example --project PROJECT_UUID --agent codex-acp
126
142
  ```
127
143
 
128
144
  The command prepares the agent and automatically installs the connector's pinned Playwright runtime and matching managed Chromium when missing. Workspace `pair` and `start`, hunts and recorded sign-ins use the same browser setup path. Complete the requested agent sign-in and keep the terminal open. No separate Playwright setup command is needed.
@@ -144,7 +160,7 @@ Screenshots and live frames are off by default. Setup's **Allow screenshots in n
144
160
  Restart the host with:
145
161
 
146
162
  ```sh
147
- engineeros-connector hunt-host --project PROJECT_UUID
163
+ npx --yes "@engineeros/connector@latest" hunt-host --project PROJECT_UUID
148
164
  ```
149
165
 
150
166
  ## Connector agent defaults
@@ -164,7 +180,7 @@ These controls apply only to connector launches. They do not edit the coding age
164
180
  ## Troubleshoot and update
165
181
 
166
182
  ```sh
167
- engineeros-connector doctor --workspace .
183
+ npx --yes "@engineeros/connector@latest" doctor --workspace .
168
184
  npm install --global @engineeros/connector@latest
169
185
  ```
170
186
 
@@ -179,8 +195,8 @@ npm install --global @engineeros/connector@latest
179
195
  Pair the workspace first. Prepare a local JSON runtime configuration with `kind: docker-readonly-tmpfs-v1`, immutable digest-pinned `image` and `proxy_image`, `connector_entry: /opt/engineeros/bin/engineeros-connector.mjs`, and the installed adapter's `agent_config` (`agent_protocol`, optional `agent_command`, `agent_args`, `agent_name`). Keep provider credentials in individual local files. Each explicit `credentials` entry names an absolute regular-file `source`, a unique `/run/credentials/<name>` target and `readonly: true`; directories and symlinks are refused. Never put credential values or environment secrets in the JSON.
180
196
 
181
197
  ```sh
182
- engineeros-connector delivery configure --profile /absolute/path/runtime.json --workspace .
183
- engineeros-connector delivery status --workspace .
198
+ npx --yes "@engineeros/connector@latest" delivery configure --profile /absolute/path/runtime.json --workspace .
199
+ npx --yes "@engineeros/connector@latest" delivery status --workspace .
184
200
  ```
185
201
 
186
202
  Restart the connector to advertise the configured isolation identity. Retain the real isolation, process, resource, recovery, provider-bound and scope measurements and obtain environment approval before executing a governed plan. Configuration and `delivery probe` alone do not qualify a runtime. Changed credentials, images or capability hashes require requalification. Native scope uses a complete measured CLI bundle and filesystem ownership; it does not implement per-tool filtering. Missing prerequisites refuse work before launch and retain existing evidence/accounting.
@@ -195,4 +211,4 @@ The [EngineerOS Connector Binary Use License](LICENSE) permits personal and comm
195
211
 
196
212
  ### Retained job history
197
213
 
198
- `engineeros-connector history compact --workspace <folder>` combines acknowledged terminal report files while retaining every encrypted evidence body, acknowledgement and execution identity. Pending or rejected reports, locally retained evidence and interrupted/uncertain work stay untouched. New terminal reports compact automatically. Stop older connector versions before this storage-layout cutover; they cannot read compacted archives. The command uses local protected storage without contacting EngineerOS. See the [retention contract](../../docs/architecture/connector-history-retention.md).
214
+ `npx --yes "@engineeros/connector@latest" history compact --workspace <folder>` combines acknowledged terminal report files while retaining every encrypted evidence body, acknowledgement and execution identity. Pending or rejected reports, locally retained evidence and interrupted/uncertain work stay untouched. New terminal reports compact automatically. Stop older connector versions before this storage-layout cutover; they cannot read compacted archives. The command uses local protected storage without contacting EngineerOS. See the [retention contract](../../docs/architecture/connector-history-retention.md).