@nowcrew/daemon 0.6.99-beta.2 → 0.6.99-beta.4
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 +9 -4
- package/dist/computer-main.js +0 -0
- package/dist/main.js +0 -0
- package/package.json +10 -8
package/README.md
CHANGED
|
@@ -68,10 +68,15 @@ on stderr and the final result on stdout. On Windows shells that block npm.ps1/n
|
|
|
68
68
|
the package entry; the setup arguments and workflow are unchanged.
|
|
69
69
|
|
|
70
70
|
Deployment requires `CREW_PUBLIC_URL` (or `CREW_SERVER_URL`) and
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
a compatible published installer (beta >= 0.6.98-beta.5; stable >= 0.6.99).
|
|
72
|
+
`CREW_COMPUTER_TOKEN_SETUP_VERSION` is an optional exact-version pin, not a feature switch.
|
|
73
|
+
When unset or blank, the server selects the latest beta for dev or stable for production from its refreshed release catalog.
|
|
74
|
+
Both the two-step installation command and the one-step npx command pin that exact version.
|
|
75
|
+
An explicit pin must be published, compatible and in the same channel; invalid pins do not fall back.
|
|
76
|
+
The command keeps `--machine` for target validation and `--setup-token` for the short-lived, one-time preapproval.
|
|
77
|
+
The server checks its published release catalog and channel before issuing a Token command. If no
|
|
78
|
+
compatible published version is available, it returns `computer_token_setup_unavailable` instead of
|
|
79
|
+
generating a command for an unsupported package. Existing clients retain browser setup.
|
|
75
80
|
|
|
76
81
|
## Browser-Approved Computer Setup (Compatibility)
|
|
77
82
|
|
package/dist/computer-main.js
CHANGED
|
File without changes
|
package/dist/main.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nowcrew/daemon",
|
|
3
|
-
"version": "0.6.99-beta.
|
|
3
|
+
"version": "0.6.99-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "crew daemon — 运行在用户机器:拉起/管理 agent 进程,注入 crew CLI,归一化 runtime 事件",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"daemon": "pnpm --filter @nowcrew/cli build && tsx src/main.ts",
|
|
23
|
+
"build": "tsc -p tsconfig.json",
|
|
24
|
+
"prepublishOnly": "pnpm build && node ../scripts/daemon-release-artifact.mjs --strict-registry",
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"test:release-critical": "vitest run test/automatic-daemon-installer.test.ts test/automatic-install-target.test.ts test/automatic-service-migration.test.ts test/computer-cli.test.ts test/computer-service.test.ts test/computer-setup-client.test.ts test/computer-setup-orchestration.test.ts test/computer-setup.test.ts test/daemon-release-version.test.ts test/daemon-update-controller.test.ts test/daemon-update-eligibility.test.ts test/daemon-updater.test.ts test/execution-protocol.test.ts test/machine-info.test.ts --maxWorkers=2 --minWorkers=1",
|
|
27
|
+
"typecheck": "tsc --noEmit"
|
|
28
|
+
},
|
|
21
29
|
"dependencies": {
|
|
22
30
|
"@agentclientprotocol/sdk": "1.2.1",
|
|
23
31
|
"@nowcrew/cli": "0.4.17",
|
|
@@ -39,11 +47,5 @@
|
|
|
39
47
|
"tsx": "^4.19.0",
|
|
40
48
|
"typescript": "^5.6.0",
|
|
41
49
|
"vitest": "^2.1.0"
|
|
42
|
-
},
|
|
43
|
-
"scripts": {
|
|
44
|
-
"daemon": "pnpm --filter @nowcrew/cli build && tsx src/main.ts",
|
|
45
|
-
"build": "tsc -p tsconfig.json",
|
|
46
|
-
"test": "vitest run",
|
|
47
|
-
"typecheck": "tsc --noEmit"
|
|
48
50
|
}
|
|
49
|
-
}
|
|
51
|
+
}
|