Sign In

session-intelligence-cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

session-intelligence-cli - npm Package Compare versions

Comparing version
0.1.4
to
0.1.5
+9
-6
dist/setup.js

@@ -15,9 +15,12 @@ import { createInterface } from "node:readline";

}
// Use the direct binary name — after `npm install -g`, `session-intelligence`
// is in PATH. Avoids npx cold-start overhead that causes SessionEnd hooks to
// be killed before they can spawn the detached background process.
const HOOKS_CONFIG = {
SessionStart: [{ hooks: [{ type: "command", command: "npx session-intelligence-cli report session-start" }] }],
Stop: [{ hooks: [{ type: "command", command: "npx session-intelligence-cli report stop" }] }],
SessionEnd: [{ hooks: [{ type: "command", command: "npx session-intelligence-cli report session-end" }] }],
PostToolUse: [{ hooks: [{ type: "command", command: "npx session-intelligence-cli report tool-use", timeout: 3000 }] }],
Notification: [{ hooks: [{ type: "command", command: "npx session-intelligence-cli report notification" }] }],
SubagentStop: [{ hooks: [{ type: "command", command: "npx session-intelligence-cli report subagent-stop", timeout: 3000 }] }],
SessionStart: [{ hooks: [{ type: "command", command: "session-intelligence report session-start" }] }],
Stop: [{ hooks: [{ type: "command", command: "session-intelligence report stop" }] }],
SessionEnd: [{ hooks: [{ type: "command", command: "session-intelligence report session-end" }] }],
PostToolUse: [{ hooks: [{ type: "command", command: "session-intelligence report tool-use", timeout: 3000 }] }],
Notification: [{ hooks: [{ type: "command", command: "session-intelligence report notification" }] }],
SubagentStop: [{ hooks: [{ type: "command", command: "session-intelligence report subagent-stop", timeout: 3000 }] }],
};

@@ -24,0 +27,0 @@ export async function setup() {

+1
-1
{
"name": "session-intelligence-cli",
"version": "0.1.4",
"version": "0.1.5",
"description": "Real-time dashboard for Claude Code sessions — track activity, git changes, token usage, and session history across all your projects",

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