From 8a6bb9bbe9363599a76f5778e86106973ec29e20 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 25 Feb 2026 18:53:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0createLiveData?= =?UTF-8?q?=E5=87=BD=E6=95=B0=EF=BC=8C=E4=BF=AE=E6=94=B9pm2Name=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E4=BB=A5=E5=8C=85=E5=90=AB=E5=89=8D=E7=BC=80"keep=5F"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/workspace/keep-file-live.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 51cee99..f0882bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kevisual/cnb", - "version": "0.0.31", + "version": "0.0.32", "description": "", "main": "index.js", "scripts": { diff --git a/src/workspace/keep-file-live.ts b/src/workspace/keep-file-live.ts index f544b33..d0e4cca 100644 --- a/src/workspace/keep-file-live.ts +++ b/src/workspace/keep-file-live.ts @@ -108,7 +108,7 @@ export const createLiveData = (data: { cookie: string, repo: string, pipelineId: const { cookie, repo, pipelineId } = data; const createdTime = Date.now(); const wsUrl = `wss://${pipelineId}.cnb.space:443?skipWebSocketFrames=false`; - const pm2Name = `${repo}__${pipelineId}`.replace(/\//g, '__'); + const pm2Name = `keep_${repo}__${pipelineId}`.replace(/\//g, '__'); const filePath = path.join(os.homedir(), '.cnb', `${pm2Name}.json`); const _newData = { wss: wsUrl, wsUrl, cookie, repo, pipelineId, createdTime, filePath, pm2Name }; if (!fs.existsSync(path.dirname(filePath))) {