@kevisual/cnb 0.0.31 → 0.0.32
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/opencode.js +1 -1
- package/dist/routes.js +1 -1
- package/package.json +1 -1
- package/src/workspace/keep-file-live.ts +1 -1
package/dist/opencode.js
CHANGED
|
@@ -33905,7 +33905,7 @@ var createLiveData = (data) => {
|
|
|
33905
33905
|
const { cookie, repo: repo2, pipelineId } = data;
|
|
33906
33906
|
const createdTime = Date.now();
|
|
33907
33907
|
const wsUrl = `wss://${pipelineId}.cnb.space:443?skipWebSocketFrames=false`;
|
|
33908
|
-
const pm2Name =
|
|
33908
|
+
const pm2Name = `keep_${repo2}__${pipelineId}`.replace(/\//g, "__");
|
|
33909
33909
|
const filePath = path2.join(os.homedir(), ".cnb", `${pm2Name}.json`);
|
|
33910
33910
|
const _newData = { wss: wsUrl, wsUrl, cookie, repo: repo2, pipelineId, createdTime, filePath, pm2Name };
|
|
33911
33911
|
if (!fs2.existsSync(path2.dirname(filePath))) {
|
package/dist/routes.js
CHANGED
|
@@ -33905,7 +33905,7 @@ var createLiveData = (data) => {
|
|
|
33905
33905
|
const { cookie, repo: repo2, pipelineId } = data;
|
|
33906
33906
|
const createdTime = Date.now();
|
|
33907
33907
|
const wsUrl = `wss://${pipelineId}.cnb.space:443?skipWebSocketFrames=false`;
|
|
33908
|
-
const pm2Name =
|
|
33908
|
+
const pm2Name = `keep_${repo2}__${pipelineId}`.replace(/\//g, "__");
|
|
33909
33909
|
const filePath = path2.join(os.homedir(), ".cnb", `${pm2Name}.json`);
|
|
33910
33910
|
const _newData = { wss: wsUrl, wsUrl, cookie, repo: repo2, pipelineId, createdTime, filePath, pm2Name };
|
|
33911
33911
|
if (!fs2.existsSync(path2.dirname(filePath))) {
|
package/package.json
CHANGED
|
@@ -108,7 +108,7 @@ export const createLiveData = (data: { cookie: string, repo: string, pipelineId:
|
|
|
108
108
|
const { cookie, repo, pipelineId } = data;
|
|
109
109
|
const createdTime = Date.now();
|
|
110
110
|
const wsUrl = `wss://${pipelineId}.cnb.space:443?skipWebSocketFrames=false`;
|
|
111
|
-
const pm2Name =
|
|
111
|
+
const pm2Name = `keep_${repo}__${pipelineId}`.replace(/\//g, '__');
|
|
112
112
|
const filePath = path.join(os.homedir(), '.cnb', `${pm2Name}.json`);
|
|
113
113
|
const _newData = { wss: wsUrl, wsUrl, cookie, repo, pipelineId, createdTime, filePath, pm2Name };
|
|
114
114
|
if (!fs.existsSync(path.dirname(filePath))) {
|