@probelabs/probe 0.6.0-rc114 → 0.6.0-rc116
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/probe +3 -3
- package/build/agent/index.js +3452 -27
- package/build/agent/schemaUtils.js +3 -1
- package/build/mcp/index.js +5 -5
- package/build/mcp/index.ts +5 -5
- package/cjs/agent/ProbeAgent.cjs +3450 -25
- package/cjs/index.cjs +3450 -25
- package/package.json +2 -2
- package/src/agent/index.js +2 -2
- package/src/agent/schemaUtils.js +3 -1
- package/src/mcp/index.ts +5 -5
package/bin/probe
CHANGED
|
@@ -29,12 +29,12 @@ async function ensureBinary(binaryPath) {
|
|
|
29
29
|
try {
|
|
30
30
|
// Try to import the downloader and download the binary
|
|
31
31
|
const { downloadProbeBinary } = await import('../src/downloader.js');
|
|
32
|
-
console.
|
|
32
|
+
console.error('Probe binary not found, downloading...');
|
|
33
33
|
await downloadProbeBinary();
|
|
34
34
|
|
|
35
35
|
// Check if the binary now exists and is executable
|
|
36
36
|
if (await isExecutable(binaryPath)) {
|
|
37
|
-
console.
|
|
37
|
+
console.error('Binary downloaded successfully.');
|
|
38
38
|
|
|
39
39
|
// On macOS, try to remove quarantine attributes that might prevent execution
|
|
40
40
|
if (process.platform === 'darwin') {
|
|
@@ -133,7 +133,7 @@ async function main() {
|
|
|
133
133
|
|
|
134
134
|
// Check if binary exists and is executable
|
|
135
135
|
if (!(await isExecutable(binaryPath))) {
|
|
136
|
-
console.
|
|
136
|
+
console.error('Probe binary not found or not executable, attempting to download...');
|
|
137
137
|
const downloadSuccess = await ensureBinary(binaryPath);
|
|
138
138
|
if (!downloadSuccess) {
|
|
139
139
|
console.error('Failed to download probe binary. Please try installing again or check your internet connection.');
|