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

@dashclaw/cli

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashclaw/cli - npm Package Compare versions

Comparing version
0.7.4
to
0.7.6
+10
-0
lib/claude/install.js

@@ -50,2 +50,8 @@ // cli/lib/claude/install.js

];
// Shipped when present in the bundle, skipped otherwise — a newer CLI must
// keep installing against an older hosted bundle. enforcement_liveness_probe
// (v8.2) is not wired as a hook here (the CLI does not install the
// SessionStart digest that auto-spawns it), but travels with the hooks so
// `python .claude/hooks/enforcement_liveness_probe.py` works out of the box.
const OPTIONAL_HOOK_FILES = ['enforcement_liveness_probe.py'];
const HOOK_INTEL_DIR = 'dashclaw_agent_intel';

@@ -140,2 +146,6 @@ const HOOKS_BUNDLE_PATH = '/downloads/dashclaw-claude-code-hooks.zip';

}
for (const name of OPTIONAL_HOOK_FILES) {
const sp = join(hooksSrc, name);
if (existsSync(sp)) copyFileSync(sp, join(hooksDst, name));
}
const intelSrc = join(hooksSrc, HOOK_INTEL_DIR);

@@ -142,0 +152,0 @@ if (!existsSync(intelSrc) || !statSync(intelSrc).isDirectory()) {

@@ -128,2 +128,15 @@ // cli/lib/up/db.js

/**
* Extra embedded-postgres options when running as root on POSIX (the fresh
* root-VPS case, caught live by the first `drill:fresh-linux --as-root` run):
* postgres refuses to run as root, and embedded-postgres's escape hatch is
* `createPostgresUser: true` (it provisions a `postgres` system user and runs
* the cluster as that user). No-op everywhere else — including Windows, where
* the elevated-token case is handled by the pg_ctl lifecycle instead.
*/
export function rootPostgresOptions({ platform = process.platform, getuid = process.getuid } = {}) {
if (platform === 'win32' || typeof getuid !== 'function') return {};
return getuid() === 0 ? { createPostgresUser: true } : {};
}
export const DEFAULT_DB_PORT = 5433;

@@ -413,2 +426,3 @@ // Scan window when the preferred port is taken: preferred+1 .. preferred+10.

initdbFlags: INITDB_FLAGS,
...rootPostgresOptions(),
});

@@ -415,0 +429,0 @@ try {

+1
-1
{
"name": "@dashclaw/cli",
"version": "0.7.4",
"version": "0.7.6",
"description": "DashClaw terminal client — approve agent actions and diagnose your instance",

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