🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cc-channel-patch

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc-channel-patch - npm Package Compare versions

Comparing version
0.5.0
to
0.5.1
+8
-0
index.mjs

@@ -408,2 +408,6 @@ #!/usr/bin/env node

fs.writeFileSync(exePath, buf);
// 保留执行权限(Linux/macOS)
if (process.platform !== 'win32') {
try { fs.chmodSync(exePath, 0o755); } catch { /* ignore */ }
}
console.log('\n ✅ 补丁已直接写入,立即生效!\n');

@@ -413,2 +417,6 @@ } catch {

fs.writeFileSync(tmpPath, buf);
// 保留执行权限(Linux/macOS)
if (process.platform !== 'win32') {
try { fs.chmodSync(tmpPath, 0o755); } catch { /* ignore */ }
}
console.log(`\n ⚠️ Claude Code 正在运行,无法直接写入。`);

@@ -415,0 +423,0 @@ console.log(` 补丁已保存到: ${tmpPath}\n`);

+1
-1
{
"name": "cc-channel-patch",
"version": "0.5.0",
"version": "0.5.1",
"description": "One-command patch to enable Claude Code Channels (bypasses tengu_harbor feature flag)",

@@ -5,0 +5,0 @@ "type": "module",