@vibecodr/cli 1.0.2 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  Pre-1.0.0 history for the `@vibecodr/cli@0.2.x` and `0.1.x` lines lives at [`docs/legacy/CHANGELOG-mcp-cli.md`](docs/legacy/CHANGELOG-mcp-cli.md). The `@vibecodr/vc-tools@0.1.x` line was the other half of the May 2026 merge; its source history is preserved in the archived [`BradenHartsell/vc-tools`](https://github.com/BradenHartsell/vc-tools) repository.
4
4
 
5
+ ## 1.0.3
6
+
7
+ Closes a Windows-CI flake in the hosted Browser Agent Workflow's idle-timeout closure path. No behavior change to the dispatcher or any CLI surface; the fix lives entirely inside `src/hosted/worker.ts` and matters only for the worker test suite plus the deployed Cloudflare Worker.
8
+
9
+ The worker's post-wait idle check measured `Date.now() - lastMeaningfulAt` after a `setTimeout` whose duration was capped at `idleTimeoutMs`. On Windows the OS system clock has ~15.6 ms tick resolution while Node's `setTimeout` uses a higher-resolution wakeup, so a `setTimeout(1_000)` could complete and a subsequent `Date.now()` read could still report 985-999 ms of elapsed wall clock — causing `>= idleTimeoutMs` to fall through and leave `closureReason` as `"completed"` when the workflow had clearly consumed its entire idle window.
10
+
11
+ The fix accounts for waits against the idle budget using the planned sleep duration (`performed.ms`) — the value the worker already requested from `setTimeout` — rather than measuring `Date.now()` across the sleep. This is the deterministic source of truth for "did this wait consume the idle window," matches the existing semantic that wait actions consume idle budget by their requested duration, and preserves all existing behavior for the happy `"completed"` path and for explicit sub-budget waits.
12
+
13
+ - `src/hosted/worker.ts`: switch post-wait idle accounting from wall-clock delta to planned-sleep duration.
14
+
5
15
  ## 1.0.2
6
16
 
7
17
  Hardens `preinstall-check.mjs` to also catch the **orphan-bin-shim** case that the 1.0.1 check missed.
@@ -1,3 +1,3 @@
1
- export declare const CLI_VERSION = "1.0.2";
2
- export declare const VC_TOOLS_VERSION = "1.0.2";
1
+ export declare const CLI_VERSION = "1.0.3";
2
+ export declare const VC_TOOLS_VERSION = "1.0.3";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
- export const CLI_VERSION = "1.0.2";
1
+ export const CLI_VERSION = "1.0.3";
2
2
  export const VC_TOOLS_VERSION = CLI_VERSION;
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibecodr/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "The official Vibecodr CLI: hosted browser, hosted computer, capsule uploads, Pulse operations, and agent-client MCP setup under one command.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -70,5 +70,8 @@
70
70
  "tsx": "^4.21.0",
71
71
  "typescript": "^5.9.3",
72
72
  "wrangler": "^4.90.0"
73
+ },
74
+ "overrides": {
75
+ "ws@<8.20.1": "^8.20.1"
73
76
  }
74
77
  }