Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(community): use pnpm daemon for local dev pairing command

Gus3c56efea2c64
diff --git a/src/web/src/components/community/machines/pair-machine-sheet.tsx b/src/web/src/components/community/machines/pair-machine-sheet.tsx
index 41c61fba4..ee5b27ecd 100644
--- a/src/web/src/components/community/machines/pair-machine-sheet.tsx
+++ b/src/web/src/components/community/machines/pair-machine-sheet.tsx
@@ -31,7 +31,8 @@ function buildPairCommand(machineKey: string): string {
const wsUrl = isLocal
? `ws://localhost:${WS_DO_PORT_DEFAULT}`
: `${location.origin.replace("http", "ws")}/api/ws/community-daemon`
- return `npx @alook/daemon daemon start --machine-key ${machineKey} --server-url ${location.origin} --ws-url ${wsUrl}`
+ const bin = isLocal ? "pnpm daemon" : "npx @alook/daemon"
+ return `${bin} start --machine-key ${machineKey} --server-url ${location.origin} --ws-url ${wsUrl}`
}
export type PairMachineSheetMode =