From 0a0988376fc7b6568c6efd050ba2bcd578ccf9a8 Mon Sep 17 00:00:00 2001 From: twi-devel Date: Mon, 17 Aug 2026 18:15:20 +0200 Subject: [PATCH] Adds entire env --- .entire/.gitignore | 5 ++++ .entire/settings.json | 8 +++++ .github/hooks/entire.json | 61 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 .entire/.gitignore create mode 100644 .entire/settings.json create mode 100644 .github/hooks/entire.json diff --git a/.entire/.gitignore b/.entire/.gitignore new file mode 100644 index 000000000..e66987d2b --- /dev/null +++ b/.entire/.gitignore @@ -0,0 +1,5 @@ +tmp/ +settings.local.json +metadata/ +logs/ +redactors/local/ diff --git a/.entire/settings.json b/.entire/settings.json new file mode 100644 index 000000000..09b1b2cc7 --- /dev/null +++ b/.entire/settings.json @@ -0,0 +1,8 @@ +{ + "enabled": true, + "checkpoints": { + "primary": { + "type": "git-refs" + } + } +} diff --git a/.github/hooks/entire.json b/.github/hooks/entire.json new file mode 100644 index 000000000..19e54f3e1 --- /dev/null +++ b/.github/hooks/entire.json @@ -0,0 +1,61 @@ +{ + "hooks": { + "agentStop": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli agent-stop'", + "comment": "Entire CLI" + } + ], + "errorOccurred": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli error-occurred'", + "comment": "Entire CLI" + } + ], + "postToolUse": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli post-tool-use'", + "comment": "Entire CLI" + } + ], + "preToolUse": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli pre-tool-use'", + "comment": "Entire CLI" + } + ], + "sessionEnd": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli session-end'", + "comment": "Entire CLI" + } + ], + "sessionStart": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli session-start'", + "comment": "Entire CLI" + } + ], + "subagentStop": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli subagent-stop'", + "comment": "Entire CLI" + } + ], + "userPromptSubmitted": [ + { + "type": "command", + "bash": "sh -c 'if ! command -v entire >/dev/null 2>&1; then exit 0; fi; exec entire hooks copilot-cli user-prompt-submitted'", + "comment": "Entire CLI" + } + ] + }, + "version": 1 +}