Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

cloudctx

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudctx - npm Package Compare versions

Comparing version
0.1.7
to
0.1.8
+4
-5
lib/install.js

@@ -34,14 +34,13 @@ import { readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync } from 'fs';

function getCloudctxBinPath() {
// Find where cloudctx is installed globally
// Quote paths so they survive shells that split on spaces (Windows usernames
// like "Charles Needham" → "/c/Users/Charles Needham/..." otherwise breaks).
try {
const result = execSync('which cloudctx', { encoding: 'utf-8' }).trim();
if (result) return result;
if (result) return `"${result}"`;
} catch {}
// Fallback: try node with the package path
try {
const result = execSync('npm root -g', { encoding: 'utf-8' }).trim();
const globalBin = join(result, 'cloudctx', 'bin', 'cloudctx.js');
if (existsSync(globalBin)) return `node ${globalBin}`;
if (existsSync(globalBin)) return `node "${globalBin}"`;
} catch {}
// Last resort: npx (will work once published to npm)
return 'npx cloudctx';

@@ -48,0 +47,0 @@ }

{
"name": "cloudctx",
"version": "0.1.7",
"version": "0.1.8",
"description": "Persistent memory for Claude Code. One command, full recall.",

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