From 6be764ec6ef0a864bad6271e772d5808cbc0ad3e Mon Sep 17 00:00:00 2001 From: cyph3rasi Date: Sun, 12 Jul 2026 02:17:01 -0700 Subject: [PATCH] Bind prompt history to Gitea's server-rendered session identity without an API token Hop-State: A_06FNB7D05ZQ3AHD1V0GY5P8 Hop-Proposal: R_06FNB7CDK6ZKM505CPR2DY8 Hop-Task: T_06FNB715NCG0M3SVDJAGHY8 Hop-Attempt: AT_06FNB715NCK5MKAVH59TE0G --- deploy/gitea/templates/custom/header.tmpl | 4 +++ docs/production-deployment.md | 6 ++-- .../control-plane/internal/gitea/client.go | 29 ++++++++++--------- .../internal/gitea/client_test.go | 21 +++++--------- 4 files changed, 29 insertions(+), 31 deletions(-) diff --git a/deploy/gitea/templates/custom/header.tmpl b/deploy/gitea/templates/custom/header.tmpl index 8bc6bfb..7edbac3 100644 --- a/deploy/gitea/templates/custom/header.tmpl +++ b/deploy/gitea/templates/custom/header.tmpl @@ -1,3 +1,7 @@ +{{if .IsSigned}} + + +{{end}}