@engineeros/connector 1.49.0 → 1.52.0

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
@@ -2,26 +2,59 @@
2
2
 
3
3
  The connector uses an authenticated EngineerOS WebSocket for pairing, workspace identity, run lifecycle, and evidence. Coding work can run through any agent in the official ACP registry, a custom ACP v1-compatible command over stdio, or the Forge command line. Direct Codex CLI remains available as the compatibility path.
4
4
 
5
+ ## Hunt a running app without a repository
6
+
7
+ Choose **Find bugs in a running app** in EngineerOS, register a preview or staging URL, and copy its command:
8
+
9
+ ```sh
10
+ npx --yes @engineeros/connector@latest hunt-host CODE --url https://your-backend.example --project PROJECT_UUID --agent codex-acp
11
+ ```
12
+
13
+ Use `claude-acp` for Claude. This installs the selected agent, pairs immediately, sets up Playwright and checks a browser
14
+ and agent session. It uses `~/.engineeros/hunt-hosts/PROJECT_UUID`; it never initializes or inspects a repository,
15
+ submits workspace snapshots, or starts a Goal runner. Keep this terminal open.
16
+
17
+ If prompted, run `codex login`, or run `claude` and `/login`, in another terminal on this machine. The host checks again
18
+ every 30 seconds for 30 minutes, then every five minutes. EngineerOS shows the same sign-in instructions.
19
+ If auto-start was selected, the first public-page hunt starts once readiness passes. Writing is limited to 10 minutes;
20
+ proving failures and reviewing them follow. Continuous hunting stays off, and failures are never retried automatically.
21
+
22
+ Restart a paired host with:
23
+
24
+ ```sh
25
+ npx --yes @engineeros/connector@latest hunt-host --project PROJECT_UUID
26
+ ```
27
+
28
+ Add test accounts in Bug Hunter Setup to go deeper. **Connect your code** opens the existing Steering connection flow
29
+ and pairs a separate connector in your repository. `hunt-host` refuses `--workspace` and `--onboard`.
30
+
5
31
  ## Independent Goal runner
6
32
 
7
33
  Connector 1.2.0 hands Goal jobs to a separate local runner. Closing the connector terminal or losing its WebSocket does not stop an executing Goal. Progress and final results use HTTP; undelivered results remain on disk for retry. Windows supervisors and workers use a windowless launcher; Goal runs and agent commands do not open new terminals.
8
34
 
9
- Install from a permanent global installation or repository checkout, then run:
35
+ Install explicitly, or let the first Goal dispatch install and start the runner:
10
36
 
11
37
  ```text
12
38
  engineeros-connector runner install --workspace D:\Puli\work\workspaces\caresched
13
39
  engineeros-connector runner status --workspace D:\Puli\work\workspaces\caresched
14
40
  ```
15
41
 
16
- The first Goal dispatch also installs/starts the runner when using a permanent executable path. Temporary `npx` cache paths cannot host a persistent service: install the connector globally first. Update the backend for the HTTP claim endpoint before dispatching Goals.
42
+ When started through `npx`, the connector installs that exact version into `~/.engineeros/connector/versions/<version>` with lifecycle scripts disabled, SHA-512 lockfile verification, npm registry signature checks and a version smoke test. Global installations and repository checkouts use their existing entry. A version change reinstalls the service; existing workers keep their code. Registry or verification failures leave Goals queued with a setup remedy. Update the backend for the HTTP claim endpoint before dispatching Goals.
17
43
 
18
44
  Windows uses Task Scheduler under your current user, restarts after failure, and resumes saved jobs at sign-in following reboot. Linux uses a systemd user service; enable user lingering separately if recovery must start before login. Existing running jobs stay with their current process; resume an interrupted run to hand it to the new service.
19
45
 
46
+ On macOS, the runner is a per-user launchd agent in your GUI login session. It starts at login, retains your installer PATH and uses your signed-in coding agent and login Keychain. Expect a **Background Items Added** notice; manage it in **System Settings > General > Login Items**. A disabled runner stays queued until you enable it with `engineeros-connector runner start --workspace PATH`. `doctor` reports disabled, unloaded and failed services; startup output is in `.engineeros/runner/launchd.log`.
47
+
48
+ macOS can deny a background Node process access to Desktop, Documents, Downloads or iCloud Drive even when your terminal has access. Move the workspace elsewhere, or allow `node` in **Privacy & Security > Files and Folders**. During each Goal, `caffeinate -i -w <worker pid>` prevents idle sleep; it does not prevent lid-close sleep. Inactivity and heartbeat monitoring allow time to resume after sleep. To disable keep-awake for this workspace, run `engineeros-connector runner install --workspace PATH --keep-awake off` (use `on` to restore it). This saves `runner_keep_awake` in the paired connector configuration.
49
+
50
+ Remove the background service on any platform with `engineeros-connector runner uninstall --workspace PATH`. Queued jobs, checkpoints and results stay on disk and resume after installation. Running workers are independent of the service. Verified releases used by the runner are retained across updates until uninstall.
51
+
20
52
  Files under your project's `.engineeros` directory:
21
53
 
22
54
  - `runner/inbox/`: durable job dispatch requests.
23
55
  - `runner/service.json`: supervisor PID and heartbeat.
24
56
  - `runner/service.log`: supervisor startup and cleanup diagnostics.
57
+ - `runner/launchd.log`: macOS output before service logging starts.
25
58
  - `runs/<run-id>/job.json`: execution/delivery status, saved assignment, pending result or failure.
26
59
  - `runs/<run-id>/state.json`: coding session and implementation/verification checkpoints.
27
60
  - `runs/<run-id>/activity.log`: timestamped activity and periodic inactivity status.