mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #77] [CLOSED] [2/4] feat(web): Gateway connection settings and session cookies #161
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/77
Author: @immanuel-peter
Created: 7/29/2026
Status: ❌ Closed
Base:
main← Head:feat/web-2-connection📝 Commits (3)
30fdc56feat(web): scaffold control-plane console and deploy wiringdf423f4feat(web): add Gateway connection settings and session cookies46bed27fix(web): harden Gateway connection credential handling📊 Changes
77 files changed (+11156 additions, -1 deletions)
View changed files
📝
.gitignore(+5 -0)📝
Makefile(+5 -0)📝
deploy/docker-compose.yml(+16 -0)➕
deploy/docker/Dockerfile.web(+32 -0)📝
deploy/k8s/base/kustomization.yaml(+5 -0)➕
deploy/k8s/base/web-deployment.yaml(+50 -0)➕
deploy/k8s/base/web-service.yaml(+13 -0)📝
docs/src/SUMMARY.md(+1 -0)📝
docs/src/deployment/docker-compose.md(+1 -0)📝
docs/src/deployment/kubernetes.md(+10 -1)➕
docs/src/getting-started/web-ui.md(+50 -0)➕
web/.dockerignore(+13 -0)➕
web/.gitignore(+41 -0)➕
web/README.md(+31 -0)➕
web/components.json(+25 -0)➕
web/eslint.config.mjs(+18 -0)➕
web/next.config.ts(+13 -0)➕
web/package.json(+34 -0)➕
web/pnpm-lock.yaml(+6008 -0)➕
web/pnpm-workspace.yaml(+3 -0)...and 57 more files
📄 Description
What
Add Gateway connection Settings: httpOnly session cookies for Gateway URL / API key / optional admin token, connection validate API routes, and the shared
gatewayFetchclient foundation.Why
Credential handling is the highest-scrutiny part of the Web UI and should be reviewable without the full resource-page surface area.
Related issue
Part of #6.
Scope and non-goals
In scope
web/src/lib/session.tsand connection API routesgatewayFetch, errors, paging, shared typesNon-goals
Design and behavior changes
maxAge(cleared on logout / browser session end)AENV_DEFAULT_GATEWAY_URLprefills the Gateway field when setCompatibility and operations
AENV_DEFAULT_GATEWAY_URLValidation
Commands and results:
Skipped checks and reasons:
Risks and reviewer notes
web/src/lib/session.ts,web/src/lib/api/connection*.ts,web/src/app/api/connection/**Stack
Merge order: #76 → #77 → #78 → #79
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.