@easonwumac/computer-linker 0.1.4 → 0.1.6

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
@@ -5,6 +5,27 @@ All notable changes to Computer Linker will be documented in this file.
5
5
  This project follows a small pre-1.0 changelog: breaking contract changes are
6
6
  called out even when the package version is still `0.x`.
7
7
 
8
+ ## 0.1.6 - 2026-06-27
9
+
10
+ ### Changed
11
+
12
+ - The local npm release wrapper now loads `NODE_AUTH_TOKEN` from the Windows
13
+ User environment when the current shell process has not inherited it, avoiding
14
+ a false `npm whoami` 401 after saving a token with `setx` or the Windows
15
+ environment UI.
16
+ - README and release checklist now document that Windows release token
17
+ hydration behavior.
18
+
19
+ ## 0.1.5 - 2026-06-27
20
+
21
+ ### Changed
22
+
23
+ - `quickstart --json` now exposes `commands.check` as the productized install
24
+ check command while preserving `commands.selfTest` as a compatibility alias
25
+ for older agents.
26
+ - README and release/manual test docs now use `computer-linker check` as the
27
+ primary isolated install check command.
28
+
8
29
  ## 0.1.4 - 2026-06-27
9
30
 
10
31
  ### Added
package/README.md CHANGED
@@ -70,10 +70,14 @@ directories. Keep real secrets outside exposed folders.
70
70
  config and workspace, starts a loopback HTTP MCP server, verifies `/healthz`,
71
71
  the local JSON API, MCP initialize, tools/list, `get_computer_info`, and one
72
72
  read-only `computer_operation`, then removes the temporary files.
73
-
74
- There is no web dashboard in the product path. Human setup and management are
75
- CLI-first; MCP and the JSON API are only protocol surfaces for clients,
76
- automation, and smoke checks. The default help output is intentionally short;
73
+
74
+ `quickstart --json` exposes `commands.check` for the optional isolated install
75
+ check. `commands.selfTest` remains as a compatibility alias for older agents
76
+ that already consumed the previous JSON field.
77
+
78
+ There is no web dashboard in the product path. Human setup and management are
79
+ CLI-first; MCP and the JSON API are only protocol surfaces for clients,
80
+ automation, and smoke checks. The default help output is intentionally short;
77
81
  use `computer-linker help advanced` for service, config, API, and compatibility
78
82
  commands. ChatGPT-specific setup exports are compatibility helpers under
79
83
  `computer-linker help chatgpt`; prefer the generic MCP client commands first.
@@ -487,9 +491,12 @@ release tag after a successful npm publish. After npm accepts the publish, the
487
491
  wrapper waits for registry metadata, verifies the npm dist-tag, and runs the
488
492
  published CLI from a clean temporary directory. Use `npm run release:verify` to
489
493
  repeat that post-publish check for the current `package.json` version.
490
-
491
- For a public alpha from this private dogfooding checkout, use the fresh public
492
- snapshot path:
494
+ On Windows, if `NODE_AUTH_TOKEN` is saved in the User environment but the
495
+ current shell has not picked it up yet, the release wrapper loads it only into
496
+ the current release process before running `npm whoami` or `npm publish`.
497
+
498
+ For a public alpha from this private dogfooding checkout, use the fresh public
499
+ snapshot path:
493
500
 
494
501
  ```bash
495
502
  npm run public:release-ready
package/dist/cli.js CHANGED
@@ -3495,6 +3495,7 @@ function buildQuickstartReport(options) {
3495
3495
  if (options.tunnelProvider) {
3496
3496
  nextActions.push("Use tunnel status and connection history to confirm traffic reaches /mcp only.");
3497
3497
  }
3498
+ const checkCommand = formatCliCommand([...commandParts, "check"]);
3498
3499
  return {
3499
3500
  kind: "computer-linker-quickstart",
3500
3501
  schemaVersion: 1,
@@ -3513,7 +3514,8 @@ function buildQuickstartReport(options) {
3513
3514
  openaiTunnelId: options.tunnelProvider === "openai" ? options.openaiTunnelId ?? "tunnel_..." : null,
3514
3515
  },
3515
3516
  commands: {
3516
- selfTest: formatCliCommand([...commandParts, "check"]),
3517
+ check: checkCommand,
3518
+ selfTest: checkCommand,
3517
3519
  start: formatCliCommand(startParts),
3518
3520
  status: formatCliCommand([...commandParts, "status"]),
3519
3521
  token: formatCliCommand([...commandParts, "client", "setup", "--show-token"]),
@@ -3574,7 +3576,7 @@ function printQuickstartReport(report) {
3574
3576
  console.log(` ${report.commands.tunnelStatus}`);
3575
3577
  if (report.commands.historyConnections)
3576
3578
  console.log(` ${report.commands.historyConnections}`);
3577
- console.log(` optional isolated install check: ${report.commands.selfTest}`);
3579
+ console.log(` optional isolated install check: ${report.commands.check}`);
3578
3580
  }
3579
3581
  function quickstartCommandParts() {
3580
3582
  return invocationCommandParts();
@@ -20,10 +20,10 @@ manually before a wider release. The local and CI release gate is
20
20
  the progress-reporting test runner, build, and package smoke.
21
21
  The package smoke uses `npm pack --dry-run` to verify packed files, CLI bins,
22
22
  SDK exports, release docs, security policy, and the published
23
- `computer_operation` schema, then creates a real `.tgz`, installs it into a
24
- temporary consumer project, runs the installed `computer-linker` bin, verifies
25
- installed `self-test`, `setup`, and `status` against isolated config
26
- directories, and imports the installed SDK entrypoint. The package build uses
23
+ `computer_operation` schema, then creates a real `.tgz`, installs it into a
24
+ temporary consumer project, runs the installed `computer-linker` bin, verifies
25
+ installed `check`, `setup`, and `status` against isolated config
26
+ directories, and imports the installed SDK entrypoint. The package build uses
27
27
  `tsconfig.build.json` so tests are typechecked but are not emitted into the
28
28
  runtime package.
29
29
 
@@ -414,9 +414,10 @@ surface for the same config file used by the MCP server:
414
414
  mode, local MCP URL, auth summary, workspace/tunnel summary, user-facing
415
415
  readiness, and the next few actions. `status --details` prints the full
416
416
  workspace rows, warnings, running tunnel rows, and all next actions.
417
- - `computer-linker self-test` creates an isolated temporary config/workspace,
418
- starts the loopback HTTP MCP server, runs the generic MCP SDK smoke flow, and
419
- exits non-zero when the installed CLI/server/tool flow is not working.
417
+ - `computer-linker check` creates an isolated temporary config/workspace,
418
+ starts the loopback HTTP MCP server, runs the generic MCP SDK smoke flow, and
419
+ exits non-zero when the installed CLI/server/tool flow is not working.
420
+ `computer-linker self-test` remains available as a compatibility command.
420
421
  - `computer-linker doctor` shows full runtime diagnostics, startup readiness,
421
422
  local MCP/API URLs, security findings, tool availability, release readiness,
422
423
  and next actions.
@@ -11,26 +11,26 @@ installed package instead, replace `npm run dev --` with `computer-linker`.
11
11
 
12
12
  ```bash
13
13
  npm ci
14
- npm run product:check
15
- npm run alpha:check
16
- npm run public:mirror -- --dry-run --remote <github-owner>/<public-repo>
17
- npm run dev -- self-test
14
+ npm run product:check
15
+ npm run alpha:check
16
+ npm run public:mirror -- --dry-run --remote <github-owner>/<public-repo>
17
+ npm run dev -- check
18
18
  ```
19
19
 
20
20
  Expected:
21
21
 
22
- - typecheck, tests, build, release validation, and package smoke pass
23
- - package smoke reports `computer-linker-<version>.tgz` and verifies a
24
- temporary consumer install, installed CLI execution, installed self-test,
25
- isolated setup/status, and SDK import
22
+ - typecheck, tests, build, release validation, and package smoke pass
23
+ - package smoke reports `computer-linker-<version>.tgz` and verifies a
24
+ temporary consumer install, installed CLI execution, installed check,
25
+ isolated setup/status, and SDK import
26
26
  - alpha readiness reports `status: ready`, or `status: needs_attention` only
27
27
  because preserved Git history must be published through `public:mirror`
28
28
  - `public:mirror -- --dry-run --remote ...` reports the mirror dry-run is
29
29
  publishable when the fresh public mirror path is accepted and the other gates
30
30
  pass; before a real mirror release, resolve any `release tag check: blocked
31
31
  for real run` changelog warning
32
- - `self-test` reports `ready: yes` and verifies the local MCP SDK tool flow
33
- without touching real user workspaces
32
+ - `check` reports `ready: yes` and verifies the local MCP SDK tool flow
33
+ without touching real user workspaces
34
34
  - external MCP client/tunnel evidence is still pending until the later tunnel
35
35
  smoke step writes `.computer-linker-alpha-evidence.json`
36
36
 
@@ -129,10 +129,10 @@ npm run dev -- start . --id app
129
129
  Terminal B:
130
130
 
131
131
  ```bash
132
- npm run dev -- doctor
133
- npm run dev -- status
134
- npm run dev -- self-test
135
- npm run dev -- profile
132
+ npm run dev -- doctor
133
+ npm run dev -- status
134
+ npm run dev -- check
135
+ npm run dev -- profile
136
136
  npm run dev -- client setup
137
137
  npm run dev -- client setup --details
138
138
  npm run dev -- client setup --show-token
@@ -779,7 +779,7 @@ Auth rules:
779
779
 
780
780
  Smoke tests:
781
781
 
782
- - installed CLI self-test using a temporary config and workspace.
782
+ - installed CLI check using a temporary config and workspace.
783
783
  - local MCP initialize, tools/list, `get_computer_info`, and read-only
784
784
  `computer_operation` through the MCP SDK.
785
785
  - HTTP `/healthz`.
@@ -17,10 +17,10 @@ This performs:
17
17
  - Release metadata validation.
18
18
  - TypeScript typecheck.
19
19
  - Full test suite.
20
- - Runtime build.
21
- - Package smoke check with `npm pack --dry-run`, real `.tgz` creation,
22
- temporary consumer install, installed CLI execution, isolated installed
23
- `self-test`, `setup` / `status` config smoke, and installed SDK import.
20
+ - Runtime build.
21
+ - Package smoke check with `npm pack --dry-run`, real `.tgz` creation,
22
+ temporary consumer install, installed CLI execution, isolated installed
23
+ `check`, `setup` / `status` config smoke, and installed SDK import.
24
24
 
25
25
  Before publishing a public npm/package artifact, run:
26
26
 
@@ -56,8 +56,10 @@ release tag automatically before publishing, `--otp <code>` for npm 2FA, and
56
56
  version metadata, verifies the configured npm dist-tag, and runs the published
57
57
  CLI from a clean temporary directory. `release:verify` repeats only that
58
58
  post-publish registry check for the current `package.json` version.
59
-
60
- For the one-command local alpha readiness gate, run:
59
+ On Windows, a `NODE_AUTH_TOKEN` saved in the User environment is loaded into
60
+ the release process automatically when the current shell has not inherited it.
61
+
62
+ For the one-command local alpha readiness gate, run:
61
63
 
62
64
  ```bash
63
65
  npm run alpha:check
@@ -237,10 +239,11 @@ For each shell or Codex-enabled scope, verify:
237
239
 
238
240
  ## Smoke Commands
239
241
 
240
- ```bash
241
- computer-linker init
242
- computer-linker self-test
243
- computer-linker status
242
+ ```bash
243
+ computer-linker init
244
+ computer-linker check
245
+ computer-linker self-test
246
+ computer-linker status
244
247
  computer-linker status --details
245
248
  computer-linker status --json
246
249
  computer-linker doctor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easonwumac/computer-linker",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "One computer, one permissioned MCP linker for local workspaces.",
5
5
  "type": "module",
6
6
  "main": "dist/client.js",