diff options
Diffstat (limited to 'src/integration')
| -rw-r--r-- | src/integration/assets/devin/herdr-agent-state.sh | 4 | ||||
| -rw-r--r-- | src/integration/mod.rs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/integration/assets/devin/herdr-agent-state.sh b/src/integration/assets/devin/herdr-agent-state.sh index 83f8c190..86249b88 100644 --- a/src/integration/assets/devin/herdr-agent-state.sh +++ b/src/integration/assets/devin/herdr-agent-state.sh @@ -3,7 +3,7 @@ # managed by herdr; reinstalling or updating the integration overwrites this file. # add custom hooks beside this file instead of editing it. # HERDR_INTEGRATION_ID=devin -# HERDR_INTEGRATION_VERSION=1 +# HERDR_INTEGRATION_VERSION=2 set -eu @@ -23,6 +23,8 @@ esac command -v python3 >/dev/null 2>&1 || exit 0 HERDR_HOOK_INPUT_FILE="$hook_input_file" python3 - <<'PY' +from __future__ import annotations + import json import os import random diff --git a/src/integration/mod.rs b/src/integration/mod.rs index 14d88e19..d08ad32e 100644 --- a/src/integration/mod.rs +++ b/src/integration/mod.rs @@ -93,7 +93,7 @@ const COPILOT_REMOVED_LIFECYCLE_HOOK_EVENTS: [&str; 9] = [ ]; const DEVIN_HOOK_INSTALL_NAME: &str = "herdr-agent-state.sh"; const DEVIN_HOOK_ASSET: &str = include_str!("assets/devin/herdr-agent-state.sh"); -const DEVIN_INTEGRATION_VERSION: u32 = 1; +const DEVIN_INTEGRATION_VERSION: u32 = 2; const DEVIN_HOOK_EVENTS: [(&str, &str); 6] = [ ("SessionStart", "session"), ("UserPromptSubmit", "session"), |
