@dianshuv/hapi 0.27.15 → 0.27.17
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/bin/hapi.cjs +0 -7
- package/package.json +5 -5
package/bin/hapi.cjs
CHANGED
|
@@ -5,7 +5,6 @@ const path = require('path');
|
|
|
5
5
|
|
|
6
6
|
const platform = process.platform;
|
|
7
7
|
const arch = process.arch;
|
|
8
|
-
const RELEASE_URL = 'https://dev.azure.com/feiyuegeng/Common/_git/hapi/releases';
|
|
9
8
|
const OFFICIAL_NPM_REGISTRY = 'https://registry.npmjs.org';
|
|
10
9
|
const SUPPORTED_PLATFORMS = [
|
|
11
10
|
{
|
|
@@ -86,9 +85,6 @@ function reportUnsupportedPlatform(platformName = platform, archName = arch, log
|
|
|
86
85
|
for (const item of SUPPORTED_PLATFORMS) {
|
|
87
86
|
log(` - ${item.label}`);
|
|
88
87
|
}
|
|
89
|
-
log('');
|
|
90
|
-
log('You can download the binary manually from:');
|
|
91
|
-
log(` ${RELEASE_URL}`);
|
|
92
88
|
}
|
|
93
89
|
|
|
94
90
|
function reportMissingPlatformPackage(platformName = platform, archName = arch, log = console.error) {
|
|
@@ -100,9 +96,6 @@ function reportMissingPlatformPackage(platformName = platform, archName = arch,
|
|
|
100
96
|
log('');
|
|
101
97
|
log('Try reinstalling with the official npm registry:');
|
|
102
98
|
log(` npm install -g @dianshuv/hapi --registry=${OFFICIAL_NPM_REGISTRY}`);
|
|
103
|
-
log('');
|
|
104
|
-
log('Or download the binary manually from:');
|
|
105
|
-
log(` ${RELEASE_URL}`);
|
|
106
99
|
}
|
|
107
100
|
|
|
108
101
|
function main() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dianshuv/hapi",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.17",
|
|
4
4
|
"description": "App for agentic coding - access coding agent anywhere",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"NOTICE"
|
|
13
13
|
],
|
|
14
14
|
"optionalDependencies": {
|
|
15
|
-
"@dianshuv/hapi-darwin-arm64": "0.27.
|
|
16
|
-
"@dianshuv/hapi-linux-arm64": "0.27.
|
|
17
|
-
"@dianshuv/hapi-linux-x64": "0.27.
|
|
18
|
-
"@dianshuv/hapi-win32-x64": "0.27.
|
|
15
|
+
"@dianshuv/hapi-darwin-arm64": "0.27.17",
|
|
16
|
+
"@dianshuv/hapi-linux-arm64": "0.27.17",
|
|
17
|
+
"@dianshuv/hapi-linux-x64": "0.27.17",
|
|
18
|
+
"@dianshuv/hapi-win32-x64": "0.27.17"
|
|
19
19
|
}
|
|
20
20
|
}
|