Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/warp/scripts/build-payload.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Builds a structured JSON notification payload for warp://cli-agent.
#
# Usage: source this file, then call build_payload with event-specific fields.
Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/legacy/on-notification.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code Notification event
# Sends a Warp notification when Claude needs user input

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/legacy/on-session-start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code SessionStart event
# Shows welcome message and Warp detection status

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/legacy/on-stop.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code Stop event
# Sends a Warp notification when Claude completes a task

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/legacy/warp-notify.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Warp notification utility using OSC escape sequences
# Usage: warp-notify.sh <title> <body>

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/on-notification.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code Notification event (idle_prompt only)
# Sends a structured Warp notification when Claude has been idle

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/on-permission-request.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code PermissionRequest event
# Sends a structured Warp notification when Claude needs permission to run a tool

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/on-post-tool-use.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code PostToolUse event
# Sends a structured Warp notification after a tool call completes,
# transitioning the session status from Blocked back to Running.
Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/on-prompt-submit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code UserPromptSubmit event
# Sends a structured Warp notification when the user submits a prompt,
# transitioning the session status from idle/blocked back to running.
Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/on-session-start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code SessionStart event
# Shows welcome message, Warp detection status, and emits plugin version

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/on-stop.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Hook script for Claude Code Stop event
# Sends a structured Warp notification when Claude completes a task

Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/should-use-structured.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Determines whether the current Warp build supports structured CLI agent notifications.
#
# Usage:
Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/scripts/warp-notify.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Warp notification utility using OSC escape sequences
# Usage: warp-notify.sh <title> <body>
#
Expand Down
2 changes: 1 addition & 1 deletion plugins/warp/tests/test-hooks.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Tests for the Warp Claude Code plugin hook scripts.
#
# Validates that each hook script produces correctly structured JSON payloads
Expand Down