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
1 change: 1 addition & 0 deletions .github/workflows/fast-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ jobs:
python3 ci/sessions-pipeline-scrub-engine/test_scrub_engine.py -v
python3 ci/pipeline-analytics/test_chart.py -v
python3 ci/control-analytics/test_chart.py -v
python3 ci/control-sharing/test_chart.py -v
python3 ci/operator-session-erase/test_chart.py -v
python3 ci/sessions-pipeline-s3-ledger/test_chart.py -v
python3 ci/history-upload/test_chart.py -v
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ jobs:
python3 ci/sessions-pipeline-scrub-engine/test_scrub_engine.py -v
python3 ci/pipeline-analytics/test_chart.py -v
python3 ci/control-analytics/test_chart.py -v
python3 ci/control-sharing/test_chart.py -v
python3 ci/operator-session-erase/test_chart.py -v
python3 ci/sessions-pipeline-s3-ledger/test_chart.py -v
python3 ci/history-upload/test_chart.py -v
Expand Down
6 changes: 3 additions & 3 deletions charts/agent-relay/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
version: 0.8.52
- name: relay-control
repository: file://../relay-control
version: 0.4.22
version: 0.4.23
- name: relay-webapp
repository: file://../relay-webapp
version: 0.2.8
Expand All @@ -35,5 +35,5 @@ dependencies:
- name: relaygate
repository: file://../relaygate
version: 0.1.10
digest: sha256:ad3504a7f5e142fccd57d6512c8936dbfd9ce0647d8a65b647c5ab88ede640ea
generated: "2026-11-19T19:13:06.938977005Z"
digest: sha256:d7d43773a7cb4cdc235a7d085185d7c85c78c64b7ea86e6ad0fd35bc8a927c08
generated: "2026-11-21T00:39:20.725542992-08:00"
4 changes: 2 additions & 2 deletions charts/agent-relay/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: agent-relay
description: Self-hosted Agent Relay messaging and sessions suite
type: application
version: 0.7.67
version: 0.7.68
appVersion: "0.1.0"
kubeVersion: ">=1.28.0-0"
annotations:
Expand All @@ -29,7 +29,7 @@ dependencies:
repository: file://../sessions-pipeline
condition: components.sessionsPipeline
- name: relay-control
version: 0.4.22
version: 0.4.23
repository: file://../relay-control
condition: components.control
- name: relay-webapp
Expand Down
10 changes: 5 additions & 5 deletions charts/agent-relay/values-eks-rds-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ sessions-pipeline:

relay-control:
image:
# Release image (public GHCR, relay-control 0.5.24, edad6432: #134 desktop
# enrollment keys (migration 0050), #136 Grok Bot wake-ups (0051), #137 sender
# receipts and grant-bound OAuth launches, #138 optional Ed25519 file feed
# signer; publish run 43673082170).
# Release image (public GHCR, relay-control 0.5.35, b985c6f; publish run
# 44492248387, GitHub build-provenance attestation; FSL-1.1-ALv2). Adds
# Control migrations 0052-0077 over 0.5.24 (no operator step) and optional
# env only, including the deployment default sharing mode (#232).
repository: ghcr.io/agentworkforce/relay-control
digest: sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc
digest: sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9
existingSecret: agent-relay-secrets
bootstrap:
# REQUIRED OVERRIDE: customer display name and first owner role mailbox.
Expand Down
10 changes: 5 additions & 5 deletions charts/agent-relay/values-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,15 @@ sessions-pipeline:
relay-control:
fullnameOverride: relay-control
image:
# Release image (public GHCR, relay-control 0.5.24, edad6432: #134 desktop
# enrollment keys (migration 0050), #136 Grok Bot wake-ups (0051), #137 sender
# receipts and grant-bound OAuth launches, #138 optional Ed25519 file feed
# signer; publish run 43673082170).
# Release image (public GHCR, relay-control 0.5.35, b985c6f; publish run
# 44492248387, GitHub build-provenance attestation; FSL-1.1-ALv2). Adds
# Control migrations 0052-0077 over 0.5.24 (no operator step) and optional
# env only, including the deployment default sharing mode (#232).
# Reads EKS Pod Identity / IRSA credentials (Desktop-feed role) and
# supports the setup key and password sign-in without SMTP. Mirror it by
# digest to your registry and override repository.
repository: ghcr.io/agentworkforce/relay-control
digest: sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc
digest: sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9
# The customer profile opts into the owner-only Usage page and qualified
# MCP agent launch. Remove launch if the enrolled owner/admin Desktop target
# fails its install-time lifecycle check; Usage remains independent.
Expand Down
4 changes: 2 additions & 2 deletions charts/agent-relay/values-gcp-proof-live.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ relay-control:
nameOverride: relay-cloud-api
fullnameOverride: relay-cloud-api
image:
# relay-control 0.5.24, edad6432 (publish run 43673082170). The session
# relay-control 0.5.35, b985c6f (publish run 44492248387). The session
# read handoff needs 0.5.1 or later and stays off unless enabled below.
# The earlier 17bdc78 proof build was only in the private proof registry.
digest: sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc
digest: sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9
resources:
requests: { cpu: 25m, memory: 128Mi }
limits: { memory: 512Mi }
Expand Down
10 changes: 5 additions & 5 deletions charts/agent-relay/values-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,13 @@ sessions-pipeline:
relay-control:
fullnameOverride: relay-control
image:
# Release image (public GHCR, relay-control 0.5.24, edad6432: #134 desktop
# enrollment keys (migration 0050), #136 Grok Bot wake-ups (0051), #137 sender
# receipts and grant-bound OAuth launches, #138 optional Ed25519 file feed
# signer; publish run 43673082170).
# Release image (public GHCR, relay-control 0.5.35, b985c6f; publish run
# 44492248387, GitHub build-provenance attestation; FSL-1.1-ALv2). Adds
# Control migrations 0052-0077 over 0.5.24 (no operator step) and optional
# env only, including the deployment default sharing mode (#232).
# Mirror it by digest to your registry and override repository.
repository: ghcr.io/agentworkforce/relay-control
digest: sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc
digest: sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9
database:
runtimeRole: control_api_runtime
# Non-secret id of the encryption key (SELFHOST_ENCRYPTION_KEY_ID), stored
Expand Down
4 changes: 2 additions & 2 deletions charts/agent-relay/values-kind-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ global:
relay-control:
fullnameOverride: relay-control
image:
# relay-control 0.5.24, edad6432 (publish run 43673082170).
# relay-control 0.5.35, b985c6f (publish run 44492248387).
repository: ghcr.io/agentworkforce/relay-control
digest: sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc
digest: sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9
existingSecret: kind-control
publicUrl: https://relay.kind.agentrelay.com:8443
dashboardUrl: https://relay.kind.agentrelay.com:8443
Expand Down
2 changes: 1 addition & 1 deletion charts/relay-control/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: relay-control
description: Self-hosted Agent Relay control-plane API for messaging and sessions
type: application
version: 0.4.22
version: 0.4.23
appVersion: "0.1.0"
kubeVersion: ">=1.28.0-0"
annotations:
Expand Down
2 changes: 1 addition & 1 deletion charts/relay-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The image must contain the compiled `relay-control` package. The server runs
built before the rename, set `server.args` and `migrations.args` to its
`node_modules/@cloud/selfhost-api/dist/` paths.

The default image is `ghcr.io/agentworkforce/relay-control` 0.5.24. The session
The default image is `ghcr.io/agentworkforce/relay-control` 0.5.35. The session
read handoff and MCP reads (`services.sessionReadApi*`,
`secretKeys.sessionReadApiSecret`) need 0.5.1 or later, which this pin
satisfies; they still stay off by default. `secretKeys.introspectSecret` and
Expand Down
15 changes: 15 additions & 0 deletions charts/relay-control/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@ check what is rendered, including the gate-only SESSION_READ_API_URL. */ -}}
{{- if ne (len .Values.selectedFeatures) (len (uniq .Values.selectedFeatures)) }}{{ fail "selectedFeatures must not contain duplicates" }}{{ end -}}
{{- range .Values.selectedFeatures }}{{ if not (has . (list "flows" "relayfile" "chief" "usage" "launch" "usage_people")) }}{{ fail "selectedFeatures contains an unknown optional component" }}{{ end }}{{ end -}}
{{- end -}}
{{- $sharing := .Values.sharing -}}
{{- if kindIs "invalid" $sharing }}{{ $sharing = dict }}{{ end -}}
{{- if not (kindIs "map" $sharing) }}{{ fail "sharing must be a map" }}{{ end -}}
{{- /* Type checks come before any default: Sprig's default treats false, 0 and empty values as absent. */ -}}
{{- $mode := $sharing.defaultMode -}}
{{- if kindIs "invalid" $mode }}{{ $mode = "" }}{{ end -}}
{{- if not (kindIs "string" $mode) }}{{ fail "sharing.defaultMode must be a string: all, new or selected" }}{{ end -}}
{{- if and $mode (not (has $mode (list "all" "new" "selected"))) }}{{ fail (printf "sharing.defaultMode must be all, new or selected, not %q" $mode) }}{{ end -}}
{{- $roles := $sharing.overrideRoles -}}
{{- if kindIs "invalid" $roles }}{{ $roles = list }}{{ end -}}
{{- if not (kindIs "slice" $roles) }}{{ fail "sharing.overrideRoles must be a list of roles: owner, admin" }}{{ end -}}
{{- if ne (len $roles) (len (uniq $roles)) }}{{ fail "sharing.overrideRoles must not contain duplicates" }}{{ end -}}
{{- range $roles }}{{ if not (has . (list "owner" "admin")) }}{{ fail (printf "sharing.overrideRoles: %v is not owner or admin" .) }}{{ end }}{{ end -}}
{{- if ne (int .Values.replicaCount) 1 }}{{ fail "replicaCount must be 1: the self-host API pilot has process-local login/device rate limits and is not HA" }}{{ end -}}
{{- if not .Values.existingSecret }}{{ fail "existingSecret is required; inline credentials are not supported" }}{{ end -}}
{{- if not (kindIs "bool" .Values.services.relayauthEnabled) }}{{ fail "services.relayauthEnabled must be a boolean" }}{{ end -}}
Expand Down Expand Up @@ -130,6 +143,8 @@ the chart already sets, including duplicates inside extraEnv. */ -}}
"RELAYHISTORY_BACKEND" "SESSION_ERASE_API_URL" "SESSION_ERASE_API_SECRET" -}}
{{- if not (kindIs "invalid" .Values.selectedFeatures) }}{{ $managed = append $managed "SELFHOST_FEATURES" }}{{ end -}}
{{- if .Values.services.relayhistoryReadApiUrl }}{{ $managed = concat $managed (list "RELAYHISTORY_READ_API_URL" "RELAYHISTORY_READ_API_EVENTS") }}{{ end -}}
{{- /* The sharing.* values own these names whether or not they are set, so extraEnv cannot shadow or duplicate them. */ -}}
{{- $managed = concat $managed (list "SELFHOST_DEFAULT_SHARING_MODE" "SELFHOST_SHARING_MODE_OVERRIDE_ROLES") -}}
{{- if (.Values.postgresCa | default dict).enabled }}{{ $managed = append $managed "NODE_EXTRA_CA_CERTS" }}{{ end -}}
{{- if .Values.desktopFeed.signingKeys.existingSecret }}{{ $managed = concat $managed (list "SELFHOST_DESKTOP_FEED_SIGNER" "SELFHOST_DESKTOP_FEED_KEY_FILES") }}{{ end -}}
{{- range $name := $managed }}{{ if hasSuffix "_FILE" $name }}{{ $managed = append $managed (trimSuffix "_FILE" $name) }}{{ end }}{{ end -}}
Expand Down
8 changes: 8 additions & 0 deletions charts/relay-control/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ spec:
{{- if .Values.sessionErasureApi.enabled }}
{{- include "relay-control.sessionErasureApiEnv" . | nindent 12 }}
{{- end }}
{{- with (.Values.sharing | default dict) }}
{{- with .defaultMode }}
- { name: SELFHOST_DEFAULT_SHARING_MODE, value: {{ . | quote }} }
{{- end }}
{{- with .overrideRoles }}
- { name: SELFHOST_SHARING_MODE_OVERRIDE_ROLES, value: {{ join "," . | quote }} }
Comment thread
khaliqgant marked this conversation as resolved.
Resolved
{{- end }}
{{- end }}
Comment thread
khaliqgant marked this conversation as resolved.
Resolved
{{- if .Values.introspection.existingSecret }}
- { name: RELAYCONTROL_INTROSPECT_SECRET_FILE, value: /var/run/agent-relay/introspection/secret }
{{- end }}
Expand Down
22 changes: 16 additions & 6 deletions charts/relay-control/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# replica is enforced; this chart does not claim HA.
replicaCount: 1
image:
# relay-control 0.5.24, edad6432 (#134 desktop enrollment keys/migration
# 0050, #136 Grok Bot wake-ups/0051, #137 sender receipts and grant-bound
# OAuth launches, #138 optional Ed25519 file feed signer). Published at
# ghcr.io/agentworkforce/relay-control:0.5.24 by publish run 43673082170 with
# a GitHub build-provenance attestation; never pin a digest that is not
# relay-control 0.5.35, b985c6f (migrations 0052-0077 over 0.5.24, no
# operator step; #232 deployment default sharing mode, see sharing below;
# optional env only). Published at ghcr.io/agentworkforce/relay-control:0.5.35
# by publish run 44492248387 with a GitHub build-provenance attestation.
# License FSL-1.1-ALv2 from 0.5.28 on. Never pin a digest that is not
# published under this name. Mirror by digest to your registry and override
# repository if needed.
repository: ghcr.io/agentworkforce/relay-control
digest: sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc
digest: sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -362,6 +362,16 @@ sessionErasureApi:
existingSecret: ""
secretKey: SESSION_ERASE_API_SECRET

# Deployment default for session sharing. Both unset by default, which keeps
# Control's built-in behaviour. Needs a Control image that implements them;
# an image without it ignores the variables.
sharing:
# SELFHOST_DEFAULT_SHARING_MODE: "" (unset) | all | new | selected.
defaultMode: ""
# SELFHOST_SHARING_MODE_OVERRIDE_ROLES: workspace roles that may change the
# mode, from [owner, admin], e.g. [owner]. Empty: unset.
overrideRoles: []

# Token introspection audiences (SELFHOST_INTROSPECT_AUDIENCES): http(s)
# origins a token may be introspected for. Empty uses
# services.relayhistoryPublicUrl. Add the read API's exact READ_API_ORIGIN when
Expand Down
8 changes: 4 additions & 4 deletions ci/agent-relay/subdomain-golden.sha256
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# helm v4.3.1
c71a7948f27bd5a9df7dd91ec77bd0e4bb6da2144672f3d63af49e35138f2e93 eks-rds-native.yaml
144ca65adee66eade341241629904deb2333d07d6e6a73020229fb3ee29ef600 gcp-durable-actors.yaml
941bb496b6157cb53fe7cec6d741e6bc33a911ad5285c654472201d21610e300 eks-rds-native.yaml
f871b9f52ccd0219b908829864db2efb1ac737a0daae529c5ed7c1d61d7f41b9 gcp-durable-actors.yaml
0fafdd5840024ad47d585d159cc9d691f257bccbafa465aec99cbb6e2f598a3e gcp-proof-flows.yaml
6f23e1d3e9eae71754aa5c8ed0a9f67372a5ce1819a969e163684baaa6c43b32 gcp-proof-live.yaml
66912be89079b82f54baf9252f143e82fab8cc38062c12052985f70471d120f6 gcp-proof.yaml
27d9fdb88972af2ea6a12e5fcc4350a0ab05bdaa786e608af835202b79a05663 gcp-supported-100.yaml
746894290d46885f64616f7c6e7e22e9a50386f7e6776f62828103e5075e9eae gcp.yaml
095fe8be4c537265648994a239a66b347a990856352eed9eab650dfd308c2d83 gcp-supported-100.yaml
1912d2850db9d3101b5e1c9c319a65ed895c02adc81e92f251bd2215657d341f gcp.yaml
3e3f87fde30fafb454dad5c0d4d935cde221ef8e2d3210ed242e77f04da94f56 kind-durable-actors.yaml
fdc618e39628ef38a9cdb1f323a7e92d167573b84872079f986c01a7dc4fc963 relay-control.yaml
dfb644a6f10249294131293d9764e2384dd9a1f366425ee5d25d970feb111d32 relay-webapp.yaml
4 changes: 2 additions & 2 deletions ci/agent-relay/test_native_no_relayauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def test_gcp_native_profile_routes_reader_ingest_and_postgres_search(self):
self.assertIn('agent-relay-read-api', services)
self.assertEqual(
deployments['relay-control']['spec']['template']['spec']['containers'][0]['image'],
'ghcr.io/agentworkforce/relay-control@sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc')
'ghcr.io/agentworkforce/relay-control@sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9')
self.assertEqual(
deployments['relay-webapp']['spec']['template']['spec']['containers'][0]['image'],
'ghcr.io/agentworkforce/relay-webapp@sha256:da0cc80476eac734299c0c6ceb94e2bca7dae7913cce56a8ca8592cf086dd02e')
Expand Down Expand Up @@ -369,7 +369,7 @@ def test_umbrella_overlay_renders_without_relayauth_or_history(self):
webapp_deploy = next(doc for doc in docs if doc.get('kind') == 'Deployment' and doc['metadata']['name'] == 'relay-webapp')
self.assertEqual(
control_deploy['spec']['template']['spec']['containers'][0]['image'],
'ghcr.io/agentworkforce/relay-control@sha256:d1b6ca95fab240a9d41208d83de3b1f4245408b0765038762f1c419ee60f43bc')
'ghcr.io/agentworkforce/relay-control@sha256:1cb5bd714e7c9f326cfe107544b8b7125207c80a7e556ab8debf78a8b2167ad9')
self.assertEqual(
webapp_deploy['spec']['template']['spec']['containers'][0]['image'],
'ghcr.io/agentworkforce/relay-webapp@sha256:da0cc80476eac734299c0c6ceb94e2bca7dae7913cce56a8ca8592cf086dd02e')
Expand Down
Loading
Loading