@_xtribe/cli 2.2.71 → 2.2.72
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/install-tribe.js +15 -0
- package/package.json +1 -1
package/install-tribe.js
CHANGED
|
@@ -182,6 +182,18 @@ async function installTribeCLIQuiet() {
|
|
|
182
182
|
}
|
|
183
183
|
fs.chmodSync(tutorCollectorDest, '755');
|
|
184
184
|
|
|
185
|
+
// Download realtime-sync binary (for tribe realtime command)
|
|
186
|
+
const realtimeSyncDest = path.join(tribeBinDir, 'realtime-sync');
|
|
187
|
+
const realtimeSyncUrl = `https://github.com/${githubRepo}/releases/latest/download/realtime-sync-${platform}-${arch}`;
|
|
188
|
+
|
|
189
|
+
try {
|
|
190
|
+
await downloadFile(realtimeSyncUrl, realtimeSyncDest);
|
|
191
|
+
fs.chmodSync(realtimeSyncDest, '755');
|
|
192
|
+
} catch (error) {
|
|
193
|
+
// realtime-sync is optional, don't fail install if missing
|
|
194
|
+
console.log('Note: realtime-sync not available in this release');
|
|
195
|
+
}
|
|
196
|
+
|
|
185
197
|
// Remove macOS quarantine if needed
|
|
186
198
|
if (platform === 'darwin') {
|
|
187
199
|
try {
|
|
@@ -189,6 +201,9 @@ async function installTribeCLIQuiet() {
|
|
|
189
201
|
if (fs.existsSync(tutorCollectorDest)) {
|
|
190
202
|
execSync(`xattr -d com.apple.quarantine "${tutorCollectorDest}"`, { stdio: 'ignore' });
|
|
191
203
|
}
|
|
204
|
+
if (fs.existsSync(realtimeSyncDest)) {
|
|
205
|
+
execSync(`xattr -d com.apple.quarantine "${realtimeSyncDest}"`, { stdio: 'ignore' });
|
|
206
|
+
}
|
|
192
207
|
} catch {
|
|
193
208
|
// Not critical
|
|
194
209
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_xtribe/cli",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.72",
|
|
4
4
|
"description": "TRIBE - Privacy-first AI development analytics. Self-host your telemetry, skip authentication, or run completely offline. Your data stays on your machine.",
|
|
5
5
|
"main": "install-tribe.js",
|
|
6
6
|
"bin": {
|