@buda-ai/connector 0.1.20 → 0.1.22
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/dist/cli.js +13 -4
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -517,7 +517,7 @@ import path2 from "path";
|
|
|
517
517
|
// package.json
|
|
518
518
|
var package_default = {
|
|
519
519
|
name: "@buda-ai/connector",
|
|
520
|
-
version: "0.1.
|
|
520
|
+
version: "0.1.22",
|
|
521
521
|
private: false,
|
|
522
522
|
type: "module",
|
|
523
523
|
publishConfig: {
|
|
@@ -544,7 +544,7 @@ var package_default = {
|
|
|
544
544
|
"lint:err": "biome format . --write && biome check . --write --diagnostic-level=error"
|
|
545
545
|
},
|
|
546
546
|
dependencies: {
|
|
547
|
-
"@bunny-agent/daemon": "0.9.
|
|
547
|
+
"@bunny-agent/daemon": "0.9.55",
|
|
548
548
|
"@clack/prompts": "^1.0.0",
|
|
549
549
|
"playwright-core": "^1.52.0",
|
|
550
550
|
ws: "^8.21.0"
|
|
@@ -4400,6 +4400,11 @@ import {
|
|
|
4400
4400
|
writeFile as writeFile4
|
|
4401
4401
|
} from "fs/promises";
|
|
4402
4402
|
import path11 from "path";
|
|
4403
|
+
|
|
4404
|
+
// src/directory-link.ts
|
|
4405
|
+
var directoryLinkType = (platform4 = process.platform) => platform4 === "win32" ? "junction" : "dir";
|
|
4406
|
+
|
|
4407
|
+
// src/workspace-volume-lifecycle.ts
|
|
4403
4408
|
var MOUNT_DIRECTORY = "mount";
|
|
4404
4409
|
var ARCHIVE_MARKER = "archived.json";
|
|
4405
4410
|
var AGENT_CONTEXT_TEMPLATE_FILES = [
|
|
@@ -4551,7 +4556,7 @@ var ensureVolumeLink = async (target, linkPath) => {
|
|
|
4551
4556
|
} catch (error) {
|
|
4552
4557
|
if (!isMissingFile(error)) throw error;
|
|
4553
4558
|
try {
|
|
4554
|
-
await symlink2(target, linkPath,
|
|
4559
|
+
await symlink2(target, linkPath, directoryLinkType());
|
|
4555
4560
|
} catch (createError) {
|
|
4556
4561
|
if (!isAlreadyExists3(createError)) throw createError;
|
|
4557
4562
|
const info = await lstat2(linkPath);
|
|
@@ -5191,7 +5196,7 @@ async function ensureSymlink(target, linkPath) {
|
|
|
5191
5196
|
} catch {
|
|
5192
5197
|
}
|
|
5193
5198
|
await mkdir10(path13.dirname(linkPath), { recursive: true });
|
|
5194
|
-
await symlink3(target, linkPath,
|
|
5199
|
+
await symlink3(target, linkPath, directoryLinkType());
|
|
5195
5200
|
}
|
|
5196
5201
|
|
|
5197
5202
|
// src/workspace-registry.ts
|
|
@@ -5819,6 +5824,10 @@ async function runConnectorDaemon(launchConfig, options = {}) {
|
|
|
5819
5824
|
process.once("SIGINT", () => void shutdown());
|
|
5820
5825
|
process.once("SIGTERM", () => void shutdown());
|
|
5821
5826
|
} catch (error) {
|
|
5827
|
+
await writeLog(
|
|
5828
|
+
"error",
|
|
5829
|
+
`daemon startup failed: ${error instanceof Error ? error.stack || error.message : String(error)}`
|
|
5830
|
+
).catch(() => void 0);
|
|
5822
5831
|
if (bunnyDaemon) await stopEmbeddedBunnyDaemon(bunnyDaemon);
|
|
5823
5832
|
await daemonLock.release();
|
|
5824
5833
|
await restoreConsole?.();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buda-ai/connector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"lint:err": "biome format . --write && biome check . --write --diagnostic-level=error"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@bunny-agent/daemon": "0.9.
|
|
30
|
+
"@bunny-agent/daemon": "0.9.55",
|
|
31
31
|
"@clack/prompts": "^1.0.0",
|
|
32
32
|
"playwright-core": "^1.52.0",
|
|
33
33
|
"ws": "^8.21.0"
|