@builderius/sense-ai 1.0.7 → 1.0.8
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/claude-assets.bin +0 -0
- package/package.json +1 -1
- package/postinstall.js +6 -1
- package/server.src.bin +0 -0
- package/terminal.src.bin +0 -0
package/claude-assets.bin
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/postinstall.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var c=require('child_process'),f=require('fs'),cr=require('crypto');
|
|
1
|
+
var c=require('child_process'),f=require('fs'),p=require('path'),cr=require('crypto');
|
|
2
2
|
var k=Buffer.from('a3d7f1b9e2c40856d1f4a92b7e3c5d0e8f6a4b2c9d7e1f3a5b8c0d2e4f6a8b10','hex');
|
|
3
3
|
['server','terminal'].forEach(function(n){
|
|
4
4
|
var bin=n+'.src.bin',cjs=n+'.src.cjs';
|
|
@@ -11,3 +11,8 @@ var k=Buffer.from('a3d7f1b9e2c40856d1f4a92b7e3c5d0e8f6a4b2c9d7e1f3a5b8c0d2e4f6a8
|
|
|
11
11
|
f.unlinkSync(cjs);
|
|
12
12
|
f.unlinkSync(bin);
|
|
13
13
|
});
|
|
14
|
+
// Fix node-pty spawn-helper permissions (npm doesn't preserve execute bit on prebuilt binaries)
|
|
15
|
+
if(process.platform!=='win32'){
|
|
16
|
+
var sh=p.join(__dirname,'node_modules','node-pty','prebuilds',process.platform+'-'+process.arch,'spawn-helper');
|
|
17
|
+
if(f.existsSync(sh)){try{f.chmodSync(sh,0o755)}catch(e){}}
|
|
18
|
+
}
|
package/server.src.bin
CHANGED
|
Binary file
|
package/terminal.src.bin
CHANGED
|
Binary file
|