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

getsober

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getsober - npm Package Compare versions

Comparing version
2.1.0
to
2.1.1
+2
-10
.sober/scripts/codex-hooks/tool-failure-log.sh

@@ -14,14 +14,6 @@ #!/bin/bash

STATUS=$(printf '%s' "$INPUT" | jq -r '
.tool_response.exit_code //
.tool_response.exitCode //
.tool_response.status //
.tool_response.code //
empty
(.tool_response | objects | .exit_code // .exitCode // .status // .code) // empty
')
STDERR_MSG=$(printf '%s' "$INPUT" | jq -r '
.tool_response.stderr //
.tool_response.error //
.tool_response.message //
.error //
empty
((.tool_response | objects | .stderr // .error // .message) // .error) // empty
')

@@ -28,0 +20,0 @@

+5
-1

@@ -14,3 +14,7 @@ #!/bin/bash

FILE_PATH=$(printf '%s\n' "$INPUT" | jq -r '.tool_input.file_path // .tool_response.filePath // empty')
FILE_PATH=$(printf '%s\n' "$INPUT" | jq -r '
.tool_input.file_path //
((.tool_response | objects | .filePath // .file_path)) //
empty
')

@@ -17,0 +21,0 @@ # Skip if file path is missing or file does not exist

{
"name": "getsober",
"version": "2.1.0",
"version": "2.1.1",
"description": "Sober: a shared rules-and-tools harness for Claude Code Pro and Codex Plus that cuts wasted AI quota.",

@@ -5,0 +5,0 @@ "author": "donghoon <move-hoon@users.noreply.github.com>",