🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@leynier/ccst

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leynier/ccst - npm Package Compare versions

Comparing version
0.5.0
to
0.5.1
+2
-2
package.json
{
"name": "@leynier/ccst",
"version": "0.5.0",
"version": "0.5.1",
"description": "Claude Code Switch Tools for managing contexts",

@@ -59,2 +59,2 @@ "keywords": [

}
}
}

@@ -50,8 +50,14 @@ import { spawn } from "node:child_process";

// Spawn detached process
const child = spawn(ccsPath, ["config"], {
detached: true,
stdio: ["ignore", logFd, logFd],
// On Windows, need shell: true for proper detachment and windowsHide to hide console
...(process.platform === "win32" ? { shell: true, windowsHide: true } : {}),
});
// On Windows, use "start /B" to run without a visible console window
const child =
process.platform === "win32"
? spawn("cmd", ["/c", "start", "/B", ccsPath, "config"], {
detached: true,
stdio: ["ignore", logFd, logFd],
windowsHide: true,
})
: spawn(ccsPath, ["config"], {
detached: true,
stdio: ["ignore", logFd, logFd],
});
if (!child.pid) {

@@ -58,0 +64,0 @@ console.log(pc.red("Failed to start CCS config daemon"));