@onecrew/pro 0.1.16 → 0.1.18-win-test.2
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 +10 -12
- package/bin/onecrew-pro.cjs +3 -2
- package/package.json +12 -25
package/README.md
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
# OneCrew Pro
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Windows x64 preview of the application updater. The application reports version 0.1.18. The npm entry and Windows platform package use version 0.1.18-win-test.2.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
npm install --global @onecrew/pro@0.1.16 --registry=https://registry.npmjs.org/
|
|
7
|
-
onecrew-pro --version
|
|
8
|
-
onecrew-pro start
|
|
9
|
-
onecrew-pro status
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
The service uses the existing OneCrewConnect data directory. Complete sign-in in the local URL printed by start/status.
|
|
5
|
+
Install with Node.js 20 or newer:
|
|
13
6
|
|
|
14
|
-
|
|
7
|
+
```powershell
|
|
8
|
+
npm.cmd install --global "@onecrew/pro@0.1.18-win-test.2" --registry=https://registry.npmjs.org/ --include=optional --ignore-scripts
|
|
9
|
+
onecrew-pro.cmd --print-binary-path
|
|
10
|
+
onecrew-pro.cmd start
|
|
11
|
+
onecrew-pro.cmd status
|
|
12
|
+
```
|
|
15
13
|
|
|
16
|
-
|
|
14
|
+
Use `onecrew-pro.cmd stop` to stop the service. The npm entry supports `--print-binary-path`; pass the returned native executable and `mcp` arguments to MCP clients. Preserve the service's data directory when updating or connecting a client.
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
This preview uses the normal application commands and data directory. The stable npm `latest` tag remains unchanged. Application updates are available when Access publishes a newer application version.
|
package/bin/onecrew-pro.cjs
CHANGED
|
@@ -12,8 +12,9 @@ if (!Object.hasOwn(manifest.optionalDependencies, platformPackage)) {
|
|
|
12
12
|
}
|
|
13
13
|
const platformManifestPath = require.resolve(`${platformPackage}/package.json`);
|
|
14
14
|
const platformManifest = require(platformManifestPath);
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
const platformVersion = manifest.optionalDependencies[platformPackage];
|
|
16
|
+
if (platformManifest.version !== platformVersion) {
|
|
17
|
+
throw new Error(`OneCrew Pro requires ${platformPackage}@${platformVersion}. Reinstall it.`);
|
|
17
18
|
}
|
|
18
19
|
const binary = path.join(
|
|
19
20
|
path.dirname(platformManifestPath),
|
package/package.json
CHANGED
|
@@ -1,33 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecrew/pro",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18-win-test.2",
|
|
4
|
+
"description": "OneCrew Pro local service and MCP bridge",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"homepage": "https://onecrewai.io",
|
|
7
|
+
"engines": {"node": ">=20"},
|
|
8
|
+
"os": ["win32"],
|
|
9
|
+
"cpu": ["x64"],
|
|
10
|
+
"bin": {"onecrew-pro": "bin/onecrew-pro.cjs"},
|
|
11
|
+
"files": ["bin/"],
|
|
12
|
+
"optionalDependencies": {
|
|
13
|
+
"@onecrew/pro-win32-x64": "0.1.18-win-test.2"
|
|
14
|
+
},
|
|
6
15
|
"publishConfig": {
|
|
7
16
|
"access": "public",
|
|
8
|
-
"registry": "https://registry.npmjs.org/"
|
|
9
|
-
|
|
10
|
-
"description": "OneCrew Pro local service and MCP bridge",
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=20"
|
|
13
|
-
},
|
|
14
|
-
"os": [
|
|
15
|
-
"darwin",
|
|
16
|
-
"win32"
|
|
17
|
-
],
|
|
18
|
-
"cpu": [
|
|
19
|
-
"arm64",
|
|
20
|
-
"x64"
|
|
21
|
-
],
|
|
22
|
-
"bin": {
|
|
23
|
-
"onecrew-pro": "bin/onecrew-pro.cjs"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"bin/"
|
|
27
|
-
],
|
|
28
|
-
"optionalDependencies": {
|
|
29
|
-
"@onecrew/pro-darwin-arm64": "0.1.16",
|
|
30
|
-
"@onecrew/pro-darwin-x64": "0.1.16",
|
|
31
|
-
"@onecrew/pro-win32-x64": "0.1.16"
|
|
17
|
+
"registry": "https://registry.npmjs.org/",
|
|
18
|
+
"tag": "win-test"
|
|
32
19
|
}
|
|
33
20
|
}
|